/* Mobile reading takes precedence over decorative, desktop-sized typography. */
.mobile-world-destinations{display:none}
@media(max-width:760px), (max-width:1024px) and (pointer:coarse){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:20px}
  body{font-size:16px;line-height:1.75;color:#294734}
  body p,body input,body select,body label{font-size:16px!important;line-height:1.75!important}
  body small{font-size:14px!important;line-height:1.65!important}
  body p,body small{overflow-wrap:anywhere}
  body button,body .button,body .text-button{font-size:16px!important;line-height:1.5;min-height:44px}
  input,select{min-height:48px}
  input::placeholder{color:#60705a;opacity:1}
  .container{width:calc(100% - 32px)}
  .eyebrow,.art-caption,.brand small,.game-dialog-header .eyebrow,.world-quest-card small,.marquee-strip,.daily-card>small,.map-locator small,.hero-companions{display:none!important}
  .intro-copy>.eyebrow,.resident-detail>.eyebrow{display:block!important;font-size:14px!important;line-height:1.75!important;letter-spacing:0;color:#405638;margin-bottom:12px}
  .site-header{padding:12px 16px;min-height:76px;flex-wrap:wrap;gap:10px 12px}
  .site-header .brand{margin-right:auto}
  .site-header .brand img{height:40px;width:32px}
  .site-header .brand b{font-size:20px;letter-spacing:1px}
  .site-header .brand-small{display:none}
  .site-header nav{margin:0;order:4;flex-basis:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px solid #dfd8c4;padding-top:5px}
  .site-header nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:16px;padding:0;min-width:0}
  .site-header nav button{display:flex;align-items:center;justify-content:center;padding:0;gap:3px;white-space:nowrap;min-width:0}
  .nav-stamp{height:20px;width:20px;font-size:14px;margin-left:0;flex-shrink:0}
  .wallet-button{gap:7px;min-width:66px;padding:7px 12px;color:#745326}
  .wallet-button b{font-size:16px}.wallet-button .fruit-symbol{font-size:24px}
  .traveler-button{min-height:44px;min-width:44px;padding:5px}
  .traveler-button img{height:33px;width:31px}.traveler-button>span{display:none}
  .world-section{height:auto;min-height:0;display:flex;flex-direction:column;overflow:visible;padding:0 0 20px;background:#f7f0df;border-bottom:2px solid #ded6bd}
  .world-copy{position:relative;inset:auto;order:0;width:auto;max-width:none;margin:80px 20px 24px;padding:0;transform:none;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;text-align:center}
  .world-copy:before{display:none}.world-copy>.eyebrow{display:none}
  .open-pill{font-size:14px;line-height:1.6;letter-spacing:.4px;margin-bottom:16px;color:#47613e;padding:0;border:0}
  .world-copy h1{font-size:36px;line-height:1.4;letter-spacing:1px}
  .world-copy h1 br{display:block}.world-copy h1 .play-word{display:block;font-size:40px;letter-spacing:2px}
  .hero-description{max-width:30ch;margin:16px auto 0;color:#43553d!important;letter-spacing:0}
  .hero-description br{display:block}
  .hero-button{margin-top:22px;gap:20px;padding:13px 20px;min-height:52px}
  .world-visual{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:3/2;min-height:0;padding:0;margin:0;overflow:hidden}
  .world-illustration{inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center}
  .world-visual:after,.world-visual:before{display:none}.ambient-particles{inset:0}
  .world-map{inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0}
  .map-spot{min-height:64px;min-width:58px;padding:4px}
  .map-spot span{display:none}.map-spot img{height:58px;width:52px}
  .map-spot:before{bottom:5px}
  .spot-town{left:51%;top:59%}.spot-forest{left:21%;top:30%}.spot-dessert{left:80%;top:28%}.spot-arena{left:23%;top:78%}.spot-mystery{left:81%;top:78%}
  .world-top-hud{top:16px;left:16px;right:16px;gap:14px}
  .map-locator{font-size:0;letter-spacing:0;gap:8px;padding:7px 10px;background:#fff9ec;color:#3d583d;box-shadow:none}
  .map-locator small{display:inline!important;font-size:14px!important;letter-spacing:0;color:#3d583d;border:0;padding:0}
  .map-locator i{font-size:22px}.world-top-hud>button{font-size:16px!important;min-height:44px;padding:8px 12px;white-space:nowrap;background:#fff9ec;color:#385a3c}
  .mobile-world-destinations{order:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:16px 16px 0}
  .mobile-world-destinations button{display:flex;justify-content:space-between;align-items:center;gap:6px;border:1px solid #aab99b;border-radius:8px;background:#fffcf1;color:#2d4e36;padding:12px;min-height:52px;text-align:left;font-weight:600}
  .mobile-world-destinations button:first-child{grid-column:1/-1;background:#385a42;color:#fff9e5}
  .mobile-world-destinations button span{font-size:16px}
  .world-quest-card{position:relative;inset:auto;order:3;max-width:none;transform:none;margin:18px 16px 0;padding:16px;background:#fffbec;gap:14px;min-height:95px;border:1px solid #d4c8a7;box-shadow:0 3px 0 #e5dcc3;backdrop-filter:none}
  .world-quest-card:hover{transform:none}.world-quest-card b{font-size:20px;line-height:1.5;color:#354e31}
  .world-quest-card em{font-size:14px;line-height:1.7;color:#4a5d3e;margin-top:5px}
  .world-quest-card>i{font-size:21px;margin-left:auto}.quest-envelope{font-size:36px;flex-shrink:0}
  .world-bottom-hud{position:relative;inset:auto;order:4;display:block;max-width:none;margin:16px 16px 0;color:#435b3c;font-size:16px;text-shadow:none}
  .world-bottom-hud>span:first-child,.world-bottom-hud a{display:none}
  .world-bottom-hud>span:nth-child(2){display:block;text-align:center;font-size:16px}
  .journey-bar{margin-top:20px;margin-bottom:16px;padding:18px 16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 12px}
  .journey-level{grid-column:1/-1;white-space:normal;gap:13px}
  .level-seal{width:44px;height:50px;font-size:25px;flex-shrink:0}
  .journey-level>div>span{font-size:18px;color:#2c4a32}.journey-level p{max-width:none;color:#43583e;white-space:normal;margin-top:3px}
  .journey-xp{display:block;grid-column:1/-1;width:100%;min-width:0}.journey-xp>div:first-child{font-size:14px;color:#40583a;margin-bottom:10px}.journey-xp b{font-size:14px;color:#40583a}.journey-xp .xp-track{height:10px}.journey-xp .xp-track>i{height:8px}.journey-bar>button{min-width:0;padding:0;border-left:0;border-top:1px solid #d6d1bb;padding-top:12px;gap:5px;white-space:normal}
  .journey-bar>button>b{font-size:23px;color:#47613a}.journey-bar>button>span{font-size:14px;color:#40583a}
  .journey-bar .fruit-symbol{font-size:23px}
  .daily-section{padding-top:34px;display:block}.daily-heading{width:auto;margin-bottom:18px}
  .daily-heading h2{font-size:26px;line-height:1.5;margin-bottom:10px}.daily-heading p{max-width:none;color:#43553d;margin-bottom:0}
  .daily-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .daily-card,.quest-modal-grid .daily-card{display:block;padding:20px;background:#f2eddb;border-color:#d2ccb4}
  .daily-card h3,.quest-modal-grid .daily-card h3{font-size:19px;line-height:1.5;margin:0 18px 8px 0;color:#304d32}
  .daily-card p,.quest-modal-grid .daily-card p{color:#42563c;margin-bottom:14px}
  .daily-card:before{top:22px;right:15px;width:11px;height:11px}.daily-card.complete:before{font-size:10px}
  .quest-track,.quest-modal-grid .quest-track{height:7px;margin:14px 0}
  .daily-bottom,.quest-modal-grid .daily-bottom{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;font-size:16px;color:#40563a}
  .daily-bottom b{font-size:18px;color:#765728}.claim-button,.quest-modal-grid .claim-button{font-size:16px!important;padding:10px 14px;min-height:46px;white-space:normal;color:#314c2e}
  .claim-button:disabled{opacity:1;color:#566149;background:#e4e4d2;border-color:#bfc5ad}
  .section{padding-block:40px}.games-section{padding-top:38px}.section-heading{display:block;margin-bottom:22px}
  .section-heading h2{font-size:27px;line-height:1.5;letter-spacing:.5px;margin-top:0}.section-heading>p{display:block;margin-top:12px;color:#43553d}
  .game-toolbar{display:block;margin-bottom:22px}.filters{display:flex;gap:8px;flex-wrap:wrap}
  .filters button{min-height:44px;padding:9px 14px;border:1px solid #c7ccb4;background:#fcf9ed;color:#354e30}
  .filters button.active{background:#38583d;color:#fff9e6}.filters span{font-size:14px;opacity:1;margin-left:5px}
  .game-count{display:block;font-size:14px;color:#43583e;margin-top:12px;white-space:normal}
  .game-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .game-card,.game-card:first-child,.game-card:nth-child(-n+2){grid-column:auto;min-width:0;border-radius:12px}
  .game-art,.game-card:first-child .game-art,.game-card:nth-child(-n+2) .game-art{height:210px;background-size:100%,180%}
  .game-art img,.game-card:first-child .game-art img,.game-card:nth-child(-n+2) .game-art img{height:164px;width:150px;left:63%;top:50%}
  .game-art .art-deco,.game-card:first-child .art-deco,.game-card:nth-child(-n+2) .art-deco{font-size:60px;top:62px;left:13%}
  .game-art .art-deco.two,.game-card:first-child .art-deco.two,.game-card:nth-child(-n+2) .art-deco.two{font-size:31px;top:123px;left:34%;right:auto}
  .art-number{height:31px;width:31px;font-size:16px;left:14px;top:14px}.art-badge{font-size:14px;line-height:1.5;right:14px;top:14px;padding:5px 11px;background:#fffbee;color:#364f30;border-color:#e0d3b6}
  .favorite-button,body .favorite-button{height:44px;width:44px;right:14px;bottom:14px;font-size:27px!important;line-height:1;background:#fffcf0;color:#465f3f}
  .game-card-body{padding:20px}.card-tags{font-size:14px;color:#455c3c;gap:8px;line-height:1.65;flex-wrap:wrap}
  .game-card h3,.game-card:first-child h3{font-size:25px;line-height:1.5;letter-spacing:.5px;margin:10px 0}
  .game-card p,.game-card:first-child p{min-height:0;color:#3e5438;line-height:1.8!important;margin-bottom:4px}
  .card-bottom{margin-top:18px;padding-top:16px;gap:14px}.card-mode,.card-stamp{font-size:14px;color:#3e5837;line-height:1.6}.card-stars{font-size:18px;letter-spacing:3px;color:#82612d}
  .card-play{gap:16px;padding:9px 14px;background:#e3e8d4;border-radius:7px;color:#2e4e31;min-height:46px;flex-shrink:0}
  .passport-banner{display:flex;flex-wrap:wrap;gap:22px;padding:25px 22px;min-height:0}
  .passport-banner h2{font-size:26px;line-height:1.5;max-width:none;letter-spacing:.5px}.passport-banner p:not(.eyebrow){max-width:none;color:#fff8e1!important;margin-top:12px}
  .passport-banner>div:nth-child(2){flex:1;min-width:180px}.passport-banner>.button{width:100%;margin:0;min-height:50px;padding:12px 18px}
  .passport-banner .eyebrow{display:none}.passport-illustration{width:69px;height:93px}.passport-illustration>span{width:56px;height:80px;font-size:7px;padding-top:12px}.passport-illustration b{font-size:7px}.passport-illustration i{font-size:28px}
  .residents-section .section-heading{display:block}.residents-section .section-heading h2{font-size:26px}.residents-section .text-button{margin-top:14px;white-space:normal}
  .resident-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.resident-tile{padding:19px 12px 16px}.resident-tile img{width:112px;height:124px;margin-bottom:13px}
  .resident-tile strong{font-size:18px}.resident-tile small{color:#405838;font-size:14px!important}.resident-tile:nth-child(n+5){display:none}
  .closing{padding:30px 4px 38px}.closing h2{font-size:25px;line-height:1.6;letter-spacing:.5px}.closing p{color:#43583e;margin-top:14px;margin-bottom:18px}
  .site-footer{display:flex;align-items:flex-start;flex-direction:column;gap:16px;padding-block:26px}.site-footer .brand b{font-size:20px}.site-footer p{color:#43583e;font-style:normal}
  .site-footer .text-button{font-size:16px!important;color:#2e4c32}
  .game-dialog,.panel-dialog{width:calc(100vw - 12px);max-height:96dvh;max-width:none;border-width:1px;border-radius:12px;overflow:auto}
  .game-dialog-header,.panel-dialog>header{padding:14px 12px;gap:10px;align-items:flex-start}.game-dialog-header>div:first-child,.panel-dialog>header>h2{min-width:0}
  .game-dialog-header h2,.panel-dialog h2{font-size:22px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
  .game-dialog-actions{gap:7px;flex-shrink:0}.icon-button,body .icon-button{width:44px;height:44px;min-height:44px;font-size:26px!important;line-height:1}
  #game-dialog-category{display:none}.game-dialog-header .game-dialog-actions .icon-button{width:44px;min-width:44px}
  .game-intro{display:flex;flex-direction:column;gap:22px;padding:18px 16px;min-height:0}
  .intro-art{width:100%;height:158px;min-height:158px}.intro-art img{height:150px;width:140px}.intro-art:after{display:none}.intro-art .intro-num{font-size:30px}
  .intro-copy{width:100%;min-width:0}.intro-copy h3{font-size:26px;line-height:1.5;margin:0 0 14px;letter-spacing:0}.intro-copy>p{margin-bottom:18px;color:#3e5538}
  .intro-controls{font-size:16px;line-height:1.8;padding:18px 16px;margin:18px 0;background:#edeedc;border-color:#d2d8bd;color:#324d30;overflow-wrap:anywhere}
  .intro-controls b{display:inline-block;font-size:17px;margin-bottom:5px}
  .option-title{display:block;font-size:17px;color:#314e31;margin-bottom:12px;font-weight:600}.option-title b{display:block;font-size:14px;color:#445c3c;margin-top:5px;font-weight:400}
  .intro-options{margin-bottom:24px}.difficulty-options,.loadout-options{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .difficulty-option,.loadout-option{padding:14px 16px;text-align:left;min-height:74px;border-color:#b8c4a6;overflow:visible}
  .difficulty-option b,.loadout-option b{font-size:18px;line-height:1.6;color:#304d2f}.difficulty-option small,.loadout-option small{display:block;font-size:14px!important;color:#43593b;margin-top:4px}
  .loadout-option{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;align-items:center}
  .loadout-option .loadout-symbol{grid-column:1;grid-row:1/3;font-size:28px;color:#6e6638}.loadout-option b,.loadout-option small{grid-column:2}
  .difficulty-option.selected:after,.loadout-option.selected:after{font-size:14px;right:10px;top:8px}
  .intro-copy>.button{width:100%;min-height:52px;padding:13px 20px}.intro-character{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;font-size:16px;color:#3d5836}
  .intro-character img{height:40px;width:36px}.intro-character button{padding:8px;font-size:16px!important}
  .game-result{padding:26px 20px 32px}.game-result h3{font-size:26px;line-height:1.5;margin:18px 0 14px}.game-result>p{color:#3c5436;margin:14px auto}
  .result-character{height:125px;width:120px}.result-stars{font-size:29px;line-height:1.5;letter-spacing:5px;color:#87632b}.result-score{font-size:40px;line-height:1.4;margin:18px 0}.result-score small{color:#40583a}
  .reward-ribbon{display:flex;flex-wrap:wrap;max-width:none;padding:15px;font-size:16px;line-height:1.75;gap:8px 20px;color:#3f5636}.reward-ribbon strong{font-size:18px;color:#36542e}
  .level-up{font-size:16px;line-height:1.7;color:#7e5724;margin-top:15px}
  .result-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px}.result-actions .button{min-height:50px;padding:12px 18px}
  .pause-cover{padding:24px}.pause-cover h3{font-size:25px;line-height:1.5}.pause-cover .button{min-height:50px;padding:12px 20px}
  #panel-body{padding:20px 16px}.panel-note,.about-copy,.reward-note,.stamp-callout{color:#405638;font-size:16px;line-height:1.8}
  .character-controls{display:block;margin-bottom:20px}.character-controls input{width:100%;padding:12px 14px;background:#fffcef}.character-controls>span{display:block;font-size:14px;color:#405638;margin-top:10px}
  .character-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.character-option{padding:14px 6px 12px}.character-option img{height:93px;width:82px}.character-option span{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.character-option.selected:after{font-size:14px}
  .passport-cover-view{align-items:center;gap:16px;margin-bottom:24px}.passport-cover-view>div:last-child{min-width:0}.passport-cover-view h3{font-size:23px;line-height:1.5}.passport-cover-view p{color:#405638;margin-top:10px}.passport-cover-view .text-button{padding:8px 0;margin-top:8px}
  .passport-summary{padding:18px 16px;gap:13px;align-items:flex-start}.passport-summary img{width:58px;height:75px;flex-shrink:0}.passport-summary h3{font-size:22px;line-height:1.5;margin-bottom:10px}.passport-summary p{color:#405638}.passport-summary strong{font-size:25px}
  .passport-stamps{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.passport-stamp{padding:20px 10px}.passport-stamp .stamp-circle{width:75px;height:75px;font-size:14px;color:#4c6040}.passport-stamp.earned .stamp-circle{font-size:15px;color:#38562f}
  .passport-stamp h4{font-size:16px;line-height:1.7;margin:13px 0 5px}.passport-stamp p{color:#405638}
  .panel-subtitle{font-size:24px;line-height:1.5}.record-list li{display:block;font-size:16px;line-height:1.8;padding:18px 0}.record-list small{color:#455a3d}.record-list b{display:block;font-size:17px;white-space:normal;margin-top:8px}
  .reward-header{padding:20px 16px;gap:16px}.reward-header>div{min-width:0}.reward-header h3{font-size:25px;line-height:1.5}.reward-header p{color:#4b5c3c;margin-top:10px}.reward-header strong{font-size:31px}.reward-header>.fruit-symbol{font-size:40px;flex-shrink:0}
  .cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cover-card{padding:20px 12px 16px}.cover-card h4{font-size:18px;line-height:1.6;margin-bottom:10px}.cover-card p{min-height:0;color:#43583b;margin-bottom:16px}.cover-card button{width:100%;font-size:16px!important;line-height:1.6;padding:10px 8px;min-height:48px;white-space:normal;color:#354e30}
  .cover-card.equipped button{color:#fff9e4}.cover-mini{width:72px;height:96px}.cover-mini>small,.cover-mini>b{display:none}.cover-mini>i{font-size:34px}
  .cover-card.equipped button:disabled{opacity:1;background:#3d5e3d;color:#fff9e4;border-color:#3d5e3d}
  .reward-note{margin:18px 0}.quest-modal-grid{gap:16px}.stamp-callout{text-align:left;margin-top:20px;color:#43583b}
  .about-copy p{color:#405638;margin-bottom:22px}.storage-notice{font-size:16px;line-height:1.8;color:#795020}
  .toast{font-size:16px;line-height:1.65;border-radius:12px;max-width:calc(100vw - 32px);width:max-content;padding:13px 18px;bottom:20px}.noscript{font-size:16px}
}
@media(max-width:370px){
  .site-header{padding-inline:12px}.site-header .brand b{font-size:18px}.site-header nav{gap:6px}
  .game-dialog-header h2{font-size:20px}.game-dialog-header .game-dialog-actions{gap:4px}.game-dialog-header .game-dialog-actions .icon-button{width:44px;min-width:44px;height:44px}
  .character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-grid{grid-template-columns:minmax(0,1fr)}
  .mobile-world-destinations button{padding-inline:10px;letter-spacing:0}
  .world-copy{margin-inline:16px}.hero-description{max-width:none}.world-top-hud{left:12px;right:12px}.map-locator{font-size:0;padding-inline:8px}.world-top-hud>button{padding-inline:9px}
  .passport-cover-view{align-items:flex-start}.passport-cover-view .passport-illustration{margin:0 5px}
}
