/* Hakken adventure surfaces: stone, water-blue roof tiles, and lantern gold. */
:root{--ui-paper:#fff8e9;--ui-white:#fffaf0;--ui-blue:#e2f1f6;--ui-blue-strong:#cce7f1;--ui-ink:#173e55;--ui-muted:#507481;--ui-line:#a4c5cc;--ui-sky:#147da9;--ui-gold:#ffcf3f;--ui-gold-light:#ffedaf;--ui-radius:4px;--paper-texture:url('./assets/ui/stone-paper.svg');--cloud-art:url('./assets/ui/cloud.svg');--paper:var(--paper-texture),linear-gradient(100deg,#fff5df,#fffbef 52%,#fff6e3);--gold-button:linear-gradient(#ffe67e 0 8%,#ffda52 8% 82%,#f5bd2c 82%);--frame:#b58b4a;--pixel-heading:HakkenPixel,ui-monospace,monospace}
body{color:var(--ui-ink);background:#e3efd9}
:is(.location-panel,.action-dialog){width:min(1100px,90vw);max-width:calc(100vw - 44px);height:auto;max-height:calc(100dvh - 120px);overflow:visible;border:2px solid var(--frame);border-radius:4px 4px 10px 10px;background:var(--paper);color:var(--ui-ink);box-shadow:inset 0 0 0 3px #f8df9a,0 5px 0 #78582b88,0 13px 25px #172f3e30}
:is(.location-panel,.action-dialog)::backdrop{background:#14352c18}
.panel-roof{position:absolute;z-index:4;left:-15px;right:-15px;top:-41px;height:48px;background:url('./assets/ui/roof-tile.svg') repeat-x center bottom/48px 48px;pointer-events:none}
.panel-roof::before,.panel-roof::after{content:"";position:absolute;width:72px;height:64px;bottom:0;background:url('./assets/ui/roof-cap.svg') no-repeat center/100% 100%}.panel-roof::before{left:-1px}.panel-roof::after{right:-1px;transform:scaleX(-1)}.panel-roof>b{display:block;position:absolute;bottom:0;left:calc(50% - 25px);width:50px;height:64px;background:url('./assets/ui/roof-crest.svg') no-repeat center/100% 100%}
:is(.location-panel,.action-dialog)>.panel-header{min-height:76px;padding:20px 27px 16px!important;gap:22px;background:var(--cloud-art) no-repeat right 82px center/132px 48px;border:0;position:relative}
.panel-header::after{content:"";height:1px;position:absolute;bottom:0;left:25px;right:25px;background:linear-gradient(90deg,#aebfb9,#c4d4ce 55%,#aebfb9);pointer-events:none}
.panel-header :is(h1,h2){font-family:var(--pixel-heading);font-size:21px;font-weight:400;line-height:1.5;color:#183f54;text-shadow:0 2px #fff;letter-spacing:0}
.panel-brand{width:125px;max-height:43px;border-right:1px solid #a2bdbe;padding-right:20px}
:is(.location-panel,.action-dialog) .panel-header .close-button{border:1px solid #ae7b2c;border-radius:3px;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;background:linear-gradient(#fff7d5,#ffe293);color:#17435a;box-shadow:inset 0 0 0 2px #fff7d6,0 2px #a77a3a50;font:750 27px/1 ui-sans-serif,system-ui,sans-serif}.panel-header .close-button:hover{background:#ffe288}
:is(.location-panel,.action-dialog)>.panel-content{padding:22px 27px 26px;background:none;border-radius:0 0 8px 8px;scrollbar-color:#82b7ca #f6edda;overflow:auto}
.panel-content .eyebrow{color:#14799e;font-size:11px;font-weight:800}.panel-content :is(h2,h3),.panel-content strong{color:var(--ui-ink)}.panel-content p{line-height:1.6}.game-icon{stroke-linecap:square;stroke-linejoin:miter}
/* Controls share the shallow bevel of the city's roof trim. */
.pixel-button,.panel-content .pixel-button,.hud-button,.fight-buttons button,.atlas-control,.atlas-place,.atlas-clear{border:1px solid #af7e2d;border-radius:4px;background:var(--gold-button);color:#173c52;box-shadow:inset 0 1px #fff7b5,inset 0 0 0 2px #ffe684,0 2px #9e742c55;font-size:14px;font-weight:800;text-shadow:0 1px #fff3aa66;transition:background-color .12s,filter .12s;min-height:44px}
.pixel-button.green,.panel-content .pixel-button.green{background:var(--gold-button);color:#173c52}.pixel-button:hover,.panel-content .pixel-button:hover,.pixel-button.green:hover,.fight-buttons button:hover{background:linear-gradient(#fff0a0,#ffdc58);box-shadow:inset 0 0 0 2px #fff1a2,0 2px #9e742c55;filter:brightness(1.025)}
.pixel-button:active,.panel-content .pixel-button:active{box-shadow:inset 0 2px #a9742940}
.pixel-button.secondary,.panel-content .pixel-button.secondary{background:linear-gradient(#edf8f8,#d9edf1);border:1px solid #6998a4;color:#20566c;box-shadow:inset 0 0 0 2px #f7fbef,0 2px #668d9233}.pixel-button.secondary:hover,.panel-content .pixel-button.secondary:hover{background:#d6eef3;border-color:#347e9b}
.pixel-button[data-play=track]::after{content:" →";font-size:17px;padding-left:7px}button:disabled{filter:saturate(.55)}
.panel-content :is(input,select,textarea){border-radius:4px;border-color:#93b1af;background:#fffdf5;color:#173f52}.notice,.panel-content .notice{border-left:3px solid #54a1ba;border-radius:0;background:#deeff1;color:#285e70}.play-form-error,.panel-content .play-form-error{border-radius:0;background:#fff0dc;border-left-color:#b75438;color:#984627}.play-ref code{border-radius:2px;background:#e4edf0}
.play-chip,.play-rarity{border-radius:3px;background:#e1f0d8;color:#2c6744}.rarity-Rare{background:#d8eef7;color:#196186}.rarity-Epic{background:#ece1fa;color:#71458d}.rarity-Legendary{background:#ffe9a3;color:#845e15}
.play-row,.play-stat,.play-tile{background:transparent;border-radius:0;border-color:#cad4c5}.play-row{margin-bottom:0;padding:18px 6px}.play-hero{border-radius:4px;background:#e1eef0;border:1px solid #a6c8c9}.play-tabs{gap:9px}.play-tabs button{border-radius:3px;border:1px solid transparent;padding:7px 13px}.play-tabs button:hover{background:#e1eee9}.play-tabs button[aria-pressed=true]{border:1px solid #b1893c;background:var(--gold-button);box-shadow:inset 0 0 0 2px #fff0a0}.game-empty,.play-empty{background:#edf0df;border-radius:3px;border:1px dashed #abc1ad}
/* Journal index, story, and location vignette. */
.location-panel[data-place=missions]{width:min(1280px,88vw);height:min(720px,80dvh);max-height:calc(100dvh - 110px)}.location-panel[data-place=missions]>.panel-content{padding:14px 25px 21px;gap:18px;overflow:hidden}
.pool-strip{padding:10px 16px;min-height:52px;gap:13px;border-radius:2px;background:var(--cloud-art) no-repeat right 150px center/145px 54px,linear-gradient(90deg,#d4eaf1,#e3f3f6 65%,#cde7f0);border:1px solid #87b2c5;box-shadow:inset 0 0 0 2px #f2faf4}.pool-strip>div>span{font-size:14px}.pool-strip strong{font-size:18px}.pool-strip>.game-icon,.quest-reward>.game-icon{color:#c18e16;filter:drop-shadow(0 1px #fff8c7)}.pool-slot-total{border-color:#80afbf;font-size:13px}.reward-info>summary{padding:4px 0;font-size:13px;font-weight:700}.reward-info-content{background:var(--paper);border:1px solid #ac8f51;border-radius:4px;box-shadow:inset 0 0 0 2px #f5e1a9,0 9px 18px #1d3a4b25}.quest-slot-summary article{border-color:#93b9c3}
.quest-browser{grid-template-columns:minmax(235px,.8fr) minmax(0,2fr);gap:28px}.quest-navigation{border-right:1px solid #a8bfbd;padding-right:22px}.quest-navigation h2{font-size:22px;margin:0}.quest-navigation .play-tabs{margin:12px 0 14px;gap:3px}.quest-navigation .play-tabs button{padding:7px 10px}.quest-list{gap:0;scrollbar-color:#89b5c3 transparent}.quest-list>button{border-radius:3px;padding:10px 11px;gap:11px;min-height:79px;border:1px solid transparent;box-shadow:none;background:transparent}.quest-list>button:hover{background:#e5eedf}.quest-list>button[aria-pressed=true]{border:1px solid #e0c66f;background:linear-gradient(90deg,#ffeda9,#fff4cd);box-shadow:inset 0 0 0 1px #fff4cb}.quest-list>button[aria-pressed=true]::before{content:"";top:10px;bottom:auto;left:-1px;height:30px;width:9px;border-radius:0;background:#f5bf35;border:1px solid #b68a28;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}.quest-list strong{font-size:15px}.quest-list small{font-size:12px;margin-top:4px}.quest-list .resident-art{width:42px;height:59px}
.quest-detail{overflow-x:hidden}.quest-story{grid-template-columns:minmax(0,1fr) minmax(180px,33%);gap:9px;align-items:center}.quest-story-copy{padding-top:13px;position:relative;z-index:1}.quest-story-copy>.eyebrow{font-size:12px}.quest-story-copy h2{font-size:clamp(27px,2.5vw,36px);margin:10px 0 19px;letter-spacing:-.025em}.quest-story-copy>p{font-size:16px;margin-bottom:24px}.quest-requirement{margin:20px 0 6px;gap:11px}.quest-story .quest-requirement>.game-icon{display:none}.quest-story .quest-requirement::before{content:"";flex:0 0 47px;width:47px;height:42px;background:url('./assets/ui/dojo-icon.svg') center/contain no-repeat}.quest-story .quest-requirement:is([data-challenge=catch],[data-challenge=combat])::before{display:none}.quest-story .quest-requirement:is([data-challenge=catch],[data-challenge=combat])>.game-icon{display:block;width:32px;height:32px;flex-basis:32px;color:#3184a0}.quest-requirement b{color:#18799e;font-size:16px}.quest-requirement p{font-size:14px}
.quest-portrait{align-self:stretch;position:relative;overflow:hidden;min-height:250px;align-items:flex-end;padding-bottom:20px}.quest-portrait::before,.active-quest-portrait::before{content:"";position:absolute;left:0;width:100%;top:13%;bottom:0;z-index:0;background-image:var(--quest-scene,url('./assets/pixel/district-v3-riverfront.webp'));background-size:auto 120%;background-position:52% 68%;image-rendering:pixelated;mask-image:radial-gradient(ellipse at 62% 75%,#000 18%,#000c 45%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse at 62% 75%,#000 18%,#000c 45%,transparent 75%)}.quest-portrait .resident-art{width:100%;max-width:162px;height:clamp(180px,27dvh,258px);position:relative;z-index:1;filter:drop-shadow(3px 4px 0 #35564c20)}
.quest-footer{border-color:#90bcc8;padding-top:17px;margin-top:13px;min-height:80px;position:relative;z-index:1}.quest-footer::before{content:"";position:absolute;width:22px;height:22px;left:-7px;top:-9px;background:url('./assets/ui/corner.svg') center/contain;pointer-events:none}.quest-reward strong{font-size:21px}.quest-cta .pixel-button{font-size:15px;min-height:46px;padding:11px 22px}.quest-detail .quest-availability{margin-top:8px;font-size:11px}.quest-detail-active{padding-right:30%}.active-quest-portrait{opacity:1;width:29%;bottom:45px;right:0;min-height:260px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.active-quest-portrait .resident-art{position:relative;z-index:1;width:100%;max-width:160px;height:230px}.quest-active{padding-top:15px}.quest-active h3{font-size:29px}.ongoing-quest{border:1px solid #dbc176;border-radius:3px;background:#fff0b9}
[data-scene=arena-quarter]{--quest-scene:url('./assets/pixel/district-v3-arena-quarter.webp')}[data-scene=dojo],[data-scene=dojo-quarter]{--quest-scene:url('./assets/pixel/district-v3-dojo-quarter.webp')}[data-scene=marketplace],[data-scene=market-quarter]{--quest-scene:url('./assets/pixel/district-v3-market-quarter.webp')}[data-scene=waterfall-gardens]{--quest-scene:url('./assets/pixel/district-v3-waterfall-gardens.webp')}[data-scene=old-town]{--quest-scene:url('./assets/pixel/district-v3-old-town.webp')}[data-scene=bamboo-heights]{--quest-scene:url('./assets/pixel/district-v3-bamboo-heights.webp')}[data-scene=residential-quarter],[data-scene=mint]{--quest-scene:url('./assets/pixel/district-v3-residential-quarter.webp')}
/* Profiles, market, and progression share the journal's materials. */
.player-banner,.shop-banner,.arena-intro,.balance-purse{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:3px;background:var(--paper-texture),linear-gradient(100deg,#e1edf0,#f7f7e8);box-shadow:inset 0 1px #fdf9e7,inset 0 -1px #9fbfbd}.player-banner::before,.shop-banner::before,.arena-intro::before{content:"";position:absolute;z-index:-1;right:0;top:0;bottom:0;width:53%;background:url('./assets/pixel/district-v3-dojo-quarter.webp') center/cover;mask-image:linear-gradient(90deg,transparent,#0008);image-rendering:pixelated}.shop-banner::before{background-image:url('./assets/pixel/district-v3-market-quarter.webp')}.arena-intro::before{background-image:url('./assets/pixel/district-v3-arena-quarter.webp')}.player-banner h2{font-size:27px}.fighter-dossier{border:0;border-left:2px solid #98bac2;border-radius:0;background:#e5eee45c;padding:15px 20px}.fighter-traits kbd{border-radius:2px;background:#d3e8ec}.fighter-title{color:#2c7385}.profile-balance{border-radius:3px;border:1px solid #dfc774;background:var(--paper-texture),linear-gradient(90deg,#fff0b6,#fff8d8)}
.adventure-menu,.profile-menu{gap:12px}.adventure-menu>button,.profile-menu>button{border-radius:4px;border:1px solid #9fbcb7;background:linear-gradient(#f8f7e9,#e7efdf);box-shadow:inset 0 0 0 2px #fff9de,0 2px #88988444;color:#224b5b;min-height:91px;font-size:14px}.adventure-menu>button:hover,.profile-menu>button:hover{border-color:#c29938;background:#fff0ba}.adventure-menu .game-icon{color:#267f98;width:29px;height:29px}.profile-account,.journey-step{border-color:#bccabb}.journey-step.current{background:#e1eee8;border-radius:3px;border-left:3px solid #63a5b3}.journey-number{border-radius:3px;border:1px solid #95b7b7;background:#dcecee}.journey-step.complete .journey-number{background:#dcf0d4;color:#327744;border-color:#9dbb8e}.journey-unlocks>div{border-radius:3px;background:#e5eddc}.journey-unlocks .open{background:#e0efda}.title-rack button{border-radius:3px!important}.nearby-fighter{border-radius:3px;background:#e5eee4;border-bottom:1px solid #adbfaa}.emote-rack .pixel-button{border-radius:4px}
/* NPC dialogue: resident, location art and conversation in one scene. */
.location-panel[data-place=npc]{background:var(--paper);border:2px solid var(--frame);border-radius:4px 4px 10px 10px;box-shadow:inset 0 0 0 3px #f8df9a,0 5px #78582b66,0 12px 24px #132d3933;width:min(1080px,90vw);height:fit-content;max-height:calc(100dvh - 125px);bottom:5dvh;overflow:visible}.location-panel[data-place=npc]>.panel-content{border:0;border-radius:0 0 8px 8px;background:none;max-height:calc(100dvh - 130px)}.location-panel[data-place=npc]>.panel-header{top:16px;right:18px;background:none}.location-panel[data-place=npc]>.panel-header::after{display:none}
.conversation-scene{position:relative;padding:54px 28px 25px;gap:25px;min-height:340px;background:none;grid-template-columns:235px minmax(0,1fr)}.conversation-person{position:relative;background:none;border:0;border-radius:0;padding:15px 0 10px;min-height:250px}.conversation-person::before{content:"";position:absolute;left:-35px;right:-28px;top:-15px;bottom:12px;z-index:0;background:var(--npc-scene) center/cover;image-rendering:pixelated;mask-image:radial-gradient(ellipse at 50% 65%,#000 18%,#000a 42%,transparent 72%)}.conversation-person>.resident-art{position:relative;z-index:1;width:150px;height:258px;filter:drop-shadow(3px 4px #34523b33)}.conversation-person>span{position:relative;z-index:1;color:#3c6c73;font-size:11px}.conversation-box{position:relative;z-index:1;padding:12px 0 0;background:none;border:0;box-shadow:none}.conversation-box header h2{font-size:31px}.conversation-line{font-size:17px;color:#214a5a}.conversation-choices{border-color:#9ebfbe;padding-top:17px}.conversation-hint{color:#587a7e}.conversation-detail{scrollbar-color:#9abcc2 transparent}.npc-quest-offer{border-color:#b4c5b8}.training-choices>article{background:#e5eee4;border-radius:3px;border-bottom:1px solid #b8cbb8}.training-choices h3{font-family:inherit;font-size:17px;font-weight:750}
.equipment-belt{border-radius:3px;background:#dfede9;border-bottom:1px solid #9fbdbb}.bag-slot{border-radius:3px;background:linear-gradient(#eaf1e5,#e0ebda);border:1px solid #afc1a7;box-shadow:inset 0 0 0 2px #f9f7df}.bag-slot[aria-pressed=true]{background:#fff0b7;border-color:#c39b35;box-shadow:inset 0 0 0 2px #fff6ca}.bag-slot:hover{background:#f2f3dc}.bag-slot.empty-slot{background:#ecf0df;border-color:#b5c5a9}.bag-detail{border-radius:3px;background:var(--paper-texture),#edf0df;border-left:1px solid #a8c1b7}.shop-item{border-radius:3px;background:var(--paper-texture),linear-gradient(#fff9e9,#edf2e4);border:1px solid #a9c2b2;box-shadow:inset 0 0 0 3px #fff9e1,0 2px #91a58f33}.shop-item .fish-art{filter:drop-shadow(0 3px #4f6b4b1a)}.shop-banner h2,.arena-intro h2{font-size:28px}.lake-invitation{border-radius:3px;background:linear-gradient(90deg,#e3f0ea,#deeff4);border:1px solid #a1bdba}.rival-list>article{background:#e5eee2;border-radius:3px;border-bottom:1px solid #abc0ac}.duel-preview{border-radius:0}.balance-purse{background:var(--cloud-art) no-repeat right 20px top 18px/150px 55px,var(--paper-texture),linear-gradient(100deg,#fff0bb,#fff9dd)}.balance-purse h2{font-size:34px}.receipt-book,.rank-entry,.setting{border-color:#b1c6b7}.rank-number{font-family:var(--pixel-heading);color:#bc8b22;font-size:19px}.guide-pages>article{border-radius:3px;border-top:2px solid #7aadb5;background:#e6eee1}.play-channel,.channel-list button{border-radius:3px;background:#e4eee3;border:1px solid #a3bda8;box-shadow:inset 0 0 0 2px #fbf8dc}.play-channel.current{background:#fff0b6;border-color:#c7a04a}
/* Map and city HUD remain compact, with unboxed player/destination labels. */
.atlas-map{background:var(--paper)}.atlas-toolbar,.atlas-guide,.atlas-caption,.atlas-shortcuts{background:#e6eee2;color:#214c5c;border-color:#a1c0bd}.atlas-control,.atlas-place,.atlas-clear,.atlas-exit{border-radius:3px;border:1px solid #89aead;background:#f6f6e5;box-shadow:inset 0 0 0 1px #fff9dc;color:#214e5d}.atlas-control:hover,.atlas-place:hover,.atlas-exit:hover{background:#e2eff0}.atlas-control[aria-pressed=true]{background:var(--gold-button);border-color:#b58a38}.world-atlas{border-color:#829f9d;background:#d2e3da}.atlas-node{background:transparent;border:0}
.hud-button{border-color:#bc8b38;border-radius:4px;background:var(--paper-texture),linear-gradient(#fff7d9,#ffeab1);box-shadow:inset 0 0 0 2px #fff6d0,0 3px #805e3255}.hud-button:hover{background:#ffedb2}#city-profile,#city-profile:hover,.city-location{background:transparent;border-color:transparent;box-shadow:none}.city-player small{color:#d9f3e6;text-shadow:1px 1px #163d4a,-1px -1px #163d4a}.objective-hud{border:1px solid #b99c62;border-radius:3px 3px 6px 6px;background:var(--paper-texture),#fff6e6f2;box-shadow:inset 0 0 0 2px #fff4ce,0 4px 0 #8c704433}.objective-hud>button{background:var(--cloud-art) right 14px center/76px 30px no-repeat,#dfeff1;padding:10px 12px;font-size:13px;border-bottom:1px solid #a9c5c4}.objective-hud p{padding:0 13px;font-size:13px}.objective-hud #objective-progress{color:#52777d}.objective-hud p button{color:#247f9c}.city-minimap{border-radius:3px;background:#f5f0d7;border:1px solid #b19957;box-shadow:0 3px #8c70444d,inset 0 0 0 2px #fff4c8}.minimap-heading{border-bottom:1px solid #aac2b5;background:#dfede6}.minimap-heading:hover{background:#eaf2dc}.city-minimap>#city-wayfinding{background:#fff3d5}.city-joystick{border-color:#8cb5ad99;background:#f6f0d599;box-shadow:inset 0 0 0 2px #fff8dc66,0 3px #537c7133}.city-joystick #city-stick{background:#d4a832cc;border-color:#fff4c6}.region-loading,.toast{border:1px solid #baa16a;border-radius:3px;background:var(--paper);box-shadow:inset 0 0 0 2px #fff0bd,0 4px 14px #20453922}
.title-wash{background:linear-gradient(90deg,#fff4d500,#fff9e9dc 37%,#fff9e9dc 63%,#fff4d500),linear-gradient(0deg,#e9edcc33,transparent 50%)}.start-button{font-family:var(--pixel-heading);font-size:20px;min-height:58px;padding:16px 42px;border-radius:4px;box-shadow:inset 0 0 0 3px #fff0a1,0 5px #986a2855}.title-core .title-tagline{color:#224d54}.social-username{color:#207b8d}.loading-screen{background:var(--paper-texture),linear-gradient(#e6f2ea,#fff8e7 65%,#c5d8ad 65%,#c5d8ad 66%,#f8f0db 66%)}.loading-heading{font-family:var(--pixel-heading);font-weight:400;font-size:11px}.loading-track{background:#cddcc8;border:1px solid #8aa390;border-radius:3px;box-shadow:inset 0 1px #4a625f33}.loading-track>div{border-radius:1px;background:repeating-linear-gradient(90deg,#4692ad 0 13px,#65b3c9 13px 16px)}.avatar-grid>button{border-radius:3px;background:#e8f0df;border-color:#b2c3ab;box-shadow:inset 0 0 0 2px #fff8e1}.avatar-grid>button[aria-pressed=true],.avatar-grid>button:hover{background:#fff0b8;border-color:#b8913b;box-shadow:inset 0 0 0 2px #fff6d3}
/* Angler's controls leave the public lake in view. */
.public-fishing{border-radius:3px 3px 7px 7px;border:2px solid #b89a57;background:var(--paper);box-shadow:inset 0 0 0 2px #f9e5a9,0 5px #72563244,0 9px 20px #274d3c22}.public-fishing::before{content:"";position:absolute;pointer-events:none;top:-24px;left:-5px;right:-5px;height:28px;background:url('./assets/ui/roof-tile.svg') center bottom/32px 32px;border-bottom:2px solid #e8b62c}.fishing-panel-heading h2{font-family:var(--pixel-heading);font-size:16px;line-height:1.5}.fishing-panel-heading .hud-button{border-radius:3px;width:36px;height:36px;border-color:#bc8b38;background:#fff0bd}.fishing-steps li{border-color:#c4cfb8}.fishing-steps .current{color:#2a7c89;border-color:#4e9da7}.fishing-primary{border-radius:3px;background:var(--gold-button)}.fishing-primary.bite-ready,.fishing-primary.held{background:#ffdc56;box-shadow:inset 0 0 0 2px #fff3b0,0 0 0 3px #efc13f55}.fishing-result{border-radius:3px;background:#e1edcf;border-left:2px solid #81ae69}.vertical-reel{border-radius:3px;border-color:#7cacae;background:#d3e8ec}
/* Combat controls adopt the same materials; simulation is untouched. */
.play-full{background:linear-gradient(#eaf3dd99,#fff5dbe8),url('./assets/pixel/interior-arena.webp') center/cover}.fight-heading h1{font-family:var(--pixel-heading);font-size:20px;line-height:1.5;text-shadow:0 1px #fff6d4}.fight-stage{border-radius:3px;border:2px solid #b99950;box-shadow:0 4px #87663255,inset 0 0 0 2px #f5dca1}.fight-hud{background:linear-gradient(#fff4dadf,#fff4da00)}.health-track{border-radius:2px;background:#29493e;border-color:#a2b59a}.health-track i{border-radius:0;background:linear-gradient(#8cce7a 15%,#54a66b 15% 75%,#397d58 75%)}.fight-health.right .health-track i{background:linear-gradient(#f8b583 15%,#e17d66 15% 75%,#b35447 75%)}.fight-clock{border-radius:3px;background:var(--paper);border-color:#bf9f57;box-shadow:inset 0 0 0 2px #fbe7b3}.fight-call{border-radius:3px;background:#fff0ba;border-color:#caab5c}.fight-buttons button{background:#dbece8;border-color:#86aaa1;box-shadow:inset 0 0 0 2px #fff6db,0 2px #718c7933;border-radius:3px}.fight-buttons button:active,.fight-buttons button.held{background:var(--gold-button);border-color:#b38a36}.fight-keyboard kbd,.fight-buttons kbd{border-radius:2px;background:#f6efd4;color:#467077}.fight-stick{background:#e8ecd8;border-color:#9bb59f}.fight-stick b{border-color:#fff2c7;background:#ecc044}.fight-instruction{background:#e5eddd;border-radius:3px;border-left:2px solid #7ea79b}.fight-result{background:var(--paper-texture),#fff6e8f2}.fight-result h2{font-family:var(--pixel-heading);font-size:24px;color:#24666b}
@media(max-width:1050px){.location-panel[data-place=missions]{width:92vw}.quest-browser{grid-template-columns:minmax(210px,.8fr) minmax(0,1.9fr);gap:21px}.quest-navigation{padding-right:15px}.quest-story{grid-template-columns:minmax(0,1fr) 145px}.quest-story-copy h2{font-size:29px}.quest-portrait .resident-art{height:210px}.quest-portrait{min-height:230px}.quest-story .quest-requirement::before{flex-basis:36px;width:36px;height:33px}.quest-reward strong{font-size:19px}.quest-cta .pixel-button{padding-inline:16px}.panel-header :is(h1,h2){font-size:18px}.panel-brand{width:105px}}
@media(max-width:760px){
:is(.location-panel,.action-dialog){width:calc(100vw - 30px);max-width:calc(100vw - 30px);max-height:calc(100dvh - 82px);border-radius:3px 3px 8px 8px}.panel-roof{top:-27px;height:34px;left:-8px;right:-8px;background-size:34px 34px}.panel-roof::before,.panel-roof::after{width:48px;height:44px}.panel-roof>b{width:34px;height:44px;left:calc(50% - 17px)}
:is(.location-panel,.action-dialog)>.panel-header{min-height:68px;padding:17px 16px 14px!important;gap:10px;background-size:90px 34px;background-position:right 66px center}.panel-header :is(h1,h2){font-size:17px;line-height:1.5}.panel-header::after{left:15px;right:15px}:is(.location-panel,.action-dialog) .panel-header .close-button{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px;font-size:25px}:is(.location-panel,.action-dialog)>.panel-content{padding:18px 16px 21px;border-radius:0 0 6px 6px}
.location-panel[data-place=missions]{width:calc(100vw - 28px);height:calc(100dvh - 84px);max-height:calc(100dvh - 84px)}.location-panel[data-place=missions]>.panel-content{display:block;padding:13px 15px 20px;overflow:auto}.pool-strip{min-height:0;padding:10px 11px;margin-bottom:14px;gap:7px;background-size:90px 38px,auto}.pool-strip>div{gap:5px}.pool-strip>div>span{font-size:11px}.pool-strip strong{font-size:14px}.pool-slot-total{font-size:11px}.reward-info>summary{font-size:12px}.reward-info-content{width:calc(100vw - 68px);max-height:54dvh;padding:16px}.quest-browse-toggle{border-radius:3px;border-color:#8eb5bc;background:#dfedef;font-size:14px}.quest-navigation{border-right:0;padding-right:0}.quest-navigation .play-tabs{margin-top:1px}.quest-list>button{min-height:72px;padding:8px 11px}.quest-story{grid-template-columns:minmax(0,1fr) 105px;gap:5px}.quest-story-copy{padding-top:3px}.quest-story-copy h2{font-size:28px;margin:9px 0 16px}.quest-story-copy>p{font-size:15px;margin-bottom:17px}.quest-portrait{align-self:start;min-height:210px;padding-bottom:8px;margin-top:20px}.quest-portrait .resident-art{height:190px;max-width:100px}.quest-portrait::before{left:0;width:100%;top:5%;background-size:auto 110%}.quest-requirement{display:block;margin-top:18px}.quest-story .quest-requirement::before,.quest-story .quest-requirement:is([data-challenge=catch],[data-challenge=combat])>.game-icon{display:none}.quest-requirement b{font-size:15px}.quest-requirement p{font-size:14px}.quest-footer{margin-top:19px;padding-top:17px;gap:14px;flex-wrap:wrap}.quest-reward strong{font-size:20px}.quest-cta .pixel-button{padding:11px 21px;min-height:46px}.quest-detail .quest-availability{font-size:11px;margin-top:12px}.quest-detail-active{padding-right:0}.active-quest-portrait{position:relative;right:auto;bottom:auto;width:100%;min-height:150px;margin-top:12px}.active-quest-portrait .resident-art{height:155px;width:85px}.active-quest-portrait::before{left:15%;width:70%;top:0}.quest-active h3{font-size:27px}
.player-banner,.shop-banner,.arena-intro{border-radius:3px;padding:17px}.player-banner h2{font-size:24px}.profile-balance,.bag-detail,.bag-slot,.shop-item,.equipment-belt{border-radius:3px}.adventure-menu>button,.profile-menu>button{min-height:85px;border-radius:3px}.location-panel[data-place=npc]{width:calc(100vw - 28px);bottom:4dvh;max-height:calc(100dvh - 95px)}.location-panel[data-place=npc]>.panel-content{border-radius:0 0 6px 6px;max-height:calc(100dvh - 100px);padding:0}.location-panel[data-place=npc]>.panel-header{top:12px;right:12px;padding:0!important;min-height:0}.conversation-scene{display:block;padding:55px 19px 20px;min-height:0}.conversation-person{width:90px;height:130px;min-height:0;padding:0;margin:0 0 10px 12px;float:right}.conversation-person>.resident-art{width:80px;height:125px}.conversation-person::before{top:-8px;bottom:0;left:-30px;right:-6px}.conversation-box{padding:0}.conversation-box header h2{font-size:28px}.conversation-line{font-size:16px}.conversation-detail{max-height:43dvh}.conversation-choices .pixel-button{font-size:13px}.training-choices h3{font-size:16px}.shop-banner h2,.arena-intro h2{font-size:24px}.balance-purse{padding:24px 19px;background-size:100px 40px,96px 96px,auto}.balance-purse h2{font-size:29px}
.hud-top-right .hud-button{min-height:44px;padding:10px 13px!important;font-size:12px!important}.objective-hud{border-radius:3px}.objective-hud>button{padding:9px 10px;font-size:12px}.objective-hud p{font-size:12px;padding:0 11px}.public-fishing{width:min(275px,calc(100vw - 28px));border-radius:3px 3px 6px 6px;max-height:calc(100dvh - 80px);overflow:visible}.fishing-panel-heading h2{font-size:14px}.public-fishing::before{top:-21px;height:25px;background-size:28px 28px}.fight-heading h1{font-size:15px}.fight-stage,.fight-buttons button,.fight-instruction,.fight-clock{border-radius:3px}.fight-result h2{font-size:21px}.start-button{font-size:18px}.title-wash{background:linear-gradient(180deg,#fff8e9ee,#fff8e9dd 34%,#fff5de44 64%,#fff5de11)}.avatar-grid{gap:8px}}
@media(max-width:420px){.panel-header :is(h1,h2){font-size:15px}.panel-header{background-size:65px 27px}.pool-strip strong{font-size:13px}.pool-slot-total{font-size:10px}.pool-strip>div>span{display:none}.quest-story{grid-template-columns:minmax(0,1fr) 78px}.quest-story-copy h2{font-size:26px}.quest-portrait{min-height:180px}.quest-portrait .resident-art{height:170px;width:78px}.quest-reward strong{font-size:18px}.public-fishing{width:250px}.fight-heading h1{font-size:13px}}
@media(max-height:650px) and (min-width:761px){:is(.location-panel,.action-dialog),.location-panel[data-place=missions]{max-height:calc(100dvh - 82px)}.location-panel[data-place=missions]{height:calc(100dvh - 82px)}.panel-roof{height:34px;top:-27px;background-size:35px 35px}.panel-roof::before,.panel-roof::after{width:50px;height:45px}.panel-roof>b{height:45px;width:35px;left:calc(50% - 17px)}:is(.location-panel,.action-dialog)>.panel-header{min-height:61px;padding:12px 24px!important}.panel-header :is(h1,h2){font-size:17px}.location-panel[data-place=missions]>.panel-content{padding-top:10px;padding-bottom:14px;gap:12px}.pool-strip{min-height:43px;padding-block:7px}.quest-story-copy{padding-top:3px}.quest-story-copy h2{font-size:27px;margin-bottom:12px}.quest-story-copy>p{font-size:14px;margin-bottom:10px}.quest-portrait{min-height:180px;padding-bottom:8px}.quest-portrait .resident-art{height:170px}.quest-requirement{margin:10px 0}.quest-requirement p{font-size:13px}.quest-footer{min-height:65px;padding-top:12px;margin-top:8px}.quest-reward strong{font-size:18px}.quest-detail .quest-availability{font-size:10px;margin-top:5px}.conversation-scene{min-height:230px;padding-top:40px}.conversation-person>.resident-art{height:180px}}
@media(max-height:530px) and (orientation:landscape){.fight-heading h1{font-size:13px}.public-fishing{width:235px;bottom:12px;padding:12px}.fishing-panel-heading h2{font-size:13px}.public-reel .vertical-reel{height:90px}.location-panel[data-place=npc]{max-height:calc(100dvh - 65px);bottom:3dvh}.location-panel[data-place=npc]>.panel-content{max-height:calc(100dvh - 70px)}}
