@font-face{font-family:GamePixel;src:url('/assets/supplied/fonts/PixeloidSans.ttf')}@font-face{font-family:GameLabel;src:url('/assets/supplied/fonts/dogicapixel.otf')}
:root{--ink:#344e56;--cream:#f4f9e8;--paper:#e3ebd6;--yellow:#ffdc82;--orange:#d88c54;--green:#70a26a;--muted:#74867a;--line:#c6d8bb;--purple:#a595c7}
body.game-mode,.game-mode .modal-copy,.game-mode .record-line,.game-mode .detail-desc,.game-mode .redemption-info,.game-mode .trade-help,.game-mode .info-step p,.game-mode .collection-note,.game-mode .journal-entry p,.game-mode .modal-foot small{font-family:GamePixel,monospace}.game-mode h1,.game-mode h2,.game-mode h3,.game-mode .name-input,.game-mode .location-hud strong,.game-mode .quest-hud strong,.game-mode .player-hud strong,.game-mode .trade-choice strong,.game-mode .detail-title,.game-mode .empty-state h3,.game-mode #toast,.game-mode .interaction-bubble,.game-mode .wallet-option,.game-mode .filter-button{font-family:GamePixel,monospace}.game-mode .button,.game-mode .field-label,.game-mode .eyebrow,.game-mode .vault-record h3,.game-mode .sample-label,.game-mode .trade-side h3,.game-mode .card-rarity,.game-mode .rank-tag,.game-mode .trade-choice small{font-family:GameLabel,monospace;font-size:8px;line-height:1.7;letter-spacing:0}
.game-mode .location-hud,.game-mode .player-hud,.game-mode .minimap-hud,.game-mode .interaction-hud{background:#f5f9e7f2;border-color:#4a6a5b;box-shadow:4px 5px #23453b55}.game-mode .location-hud{padding-right:16px}.game-mode .location-hud img{image-rendering:pixelated;border-radius:5px;border-color:#68877a;background:#d8ecbf;padding:3px}.game-mode .location-hud strong{color:#345951;font-size:23px;line-height:1.15}.game-mode .location-hud small,.game-mode .location-hud em{font-family:GamePixel;font-size:9px;color:#6b8a72;letter-spacing:.4px}.game-mode .quest-hud{background:#294f4ce8;border-color:#d5dca8;color:#f4f8dc}.game-mode .quest-hud small{font-family:GamePixel;font-size:9px;color:#c2d9b6}.game-mode .quest-hud strong{font-size:18px}.game-mode .quest-hud em{font:11px GamePixel;color:#c7debc}.game-mode .quest-star{color:#f6d687}.game-mode .hud-square{background:#f6f9e8;border-color:#4a6b61;color:#3c675d}.game-mode .hud-square span{font:8px GamePixel}.game-mode .chain-tag{background:#264e49e8;border-color:#94b5a4}.game-mode .player-hud strong{font-size:22px;color:#34574d}.game-mode .player-hud small{font:9px GamePixel;color:#799175}.game-mode .player-hud em{font:9px GamePixel;background:#dce9c8;color:#5f805d}.game-mode .player-portrait{background:#b8dca4;border-color:#6e9a79}.game-mode .game-toolbar{background:#2b514be8;border-color:#567b69}.game-mode .game-toolbar button{background:#f4f9e7;border-color:#8eac87}.game-mode .game-toolbar button:hover{background:#d6ecc0}.game-mode .game-toolbar button>span{color:#527b6b}.game-mode .game-toolbar small{font:9px GamePixel;color:#57775c}.game-mode .game-toolbar button>b{color:#6f9368}.game-mode .game-toolbar kbd{color:#608261;background:#dce9cd}.game-mode .interaction-hud{font:11px GamePixel;color:#3a6259}.game-mode .interaction-hud kbd{background:#d4e7bf;border-color:#709077;color:#52745b}.game-mode .interaction-hud.available{background:#f7e6a3}.game-mode .interaction-bubble{background:#f6f8dcf5;border-color:#6c9878;color:#375f53;font-size:16px}.game-mode .interaction-bubble:after{background:#f6f8dc;border-color:#6c9878}.game-mode .minimap-hud>div{font:9px GamePixel;color:#5b7d67}.game-mode .minimap-hud p{font:10px GamePixel;color:#6f8c76}.game-mode .game-controls{font:9px GamePixel;color:#e6f2d7;letter-spacing:0;background:#254735d6}.game-mode .game-controls span{color:#fff6ca}.game-mode .dpad button{background:#f2f8e1dd;border-color:#62876b;color:#507863}.game-mode #mobile-map{background:#edf7dd;border-color:#60846c;color:#50745a}.game-mode dialog{background:#f6f9e9;border-color:#42675e;box-shadow:7px 8px #173d3966}.game-mode dialog::backdrop{background:#1c3b3da3}.game-mode .modal-head{background:#d9e9c8;border-color:#4c6f61}.game-mode .modal-head h2{font-size:25px;color:#3f6558}.game-mode .modal-foot{background:#e8efd5;border-color:#c9d8b9}.game-mode .modal-copy,.game-mode .detail-desc,.game-mode .redemption-info,.game-mode .info-step p{font-size:14px;line-height:1.7;color:#718472}.game-mode .button{border-color:#527565;box-shadow:3px 3px #b7cba6;background:#edf4d8;color:#3d6051}.game-mode .button.yellow{background:#ffe29a}.game-mode .button.dark{background:#385f59;color:#fff7dc}.game-mode .close{border-color:#638370;background:#f7f9e8;color:#52705f}.game-mode .tcg-card{background:#f7f8e7;border-color:#7d9981;box-shadow:3px 4px #bbcdb0;padding:8px}.game-mode .card-top{padding-bottom:8px}.game-mode .card-top h3{font-size:18px;color:#3a5f55}.game-mode .card-art{border:2px solid #668c81;background:#dbebce;aspect-ratio:1.07}.game-mode .card-rarity{font-size:6px;padding:10px 1px 7px}.game-mode .card-bottom{font:9px GamePixel;color:#79907c;border-color:#cfdbc1}.game-mode .grade{font:10px GamePixel;background:#f8f4d7ed;border-color:#87a194;color:#567266}.game-mode .owned-label{background:#6b9b77;border-color:#4f7b60;font:7px GamePixel}.game-mode .vault-record{background:#edf3dc;border-color:#b5caa8}.game-mode .record-line{font-size:13px}.game-mode .record-line span{color:#819374}.game-mode .record-line b{color:#52705d}.game-mode .sample-label{font-size:6px;background:#dce8c9;color:#6a845e}.game-mode .trade-help{background:#e3eed8;color:#6a846e;font-size:13px}.game-mode .trade-choice{background:#edf2da;border-color:#b1c69e}.game-mode .trade-choice.selected{background:#f7e5ac;border-color:#698b73;box-shadow:3px 3px #d1c59b}.game-mode .trade-choice canvas{border-color:#8aa58a}.game-mode .trade-choice strong{font-size:18px}.game-mode .trade-choice small{font-size:6px;color:#8a9069}.game-mode .modal-foot small{font-size:12px;color:#839172}.game-mode .name-input{font-size:20px;background:#fbfcea;border-color:#a5b99a}.game-mode .filter-button{font-size:12px;background:#e8efda;border-color:#b2c5a5}.game-mode .filter-button.active{background:#f8dfa0;border-color:#739476}.game-mode .wallet-option{background:#e3ebdc;border-color:#9eb49d;color:#5b7865}.game-mode .journal-entry{background:#f2f6e4;border-color:#b5c8a7;box-shadow:2px 3px #d3dfc3}.game-mode .empty-state{background:#edf3df;border-color:#b5cba8}.new-creator{grid-template-columns:140px 1fr;gap:20px}.new-creator .creator-preview{border-color:#82a57b;background:linear-gradient(#cde8da 0 65%,#a3c876 65%);min-height:270px;max-height:325px;box-shadow:inset 0 0 0 5px #e6f2da}.new-creator .creator-preview canvas{width:128px;height:154px}.new-creator .creator-preview span{font:12px GamePixel;color:#53785b;bottom:23px;letter-spacing:0}.hero-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.hero-choice{background:#e9f0d9;border:2px solid #b4c8a5;box-shadow:2px 2px #d3dfc1;padding:3px;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:0}.hero-choice canvas{width:44px;height:44px}.hero-choice span{font:9px/1.2 GamePixel;min-height:22px;color:#6d8b70}.hero-choice.selected{background:#ffe5a3;border-color:#719475;box-shadow:2px 2px #d6bf81}.game-mode .creator-layout .field-label{color:#7e9271;margin-top:14px}.game-mode .creator-layout .field-label:first-child{margin-top:0}.game-mode .field-label{font-size:7px}.game-mode #toast{font-family:GamePixel;background:#294e47;border-color:#c7d8a3;color:#faf7db}#loading-screen{position:absolute;inset:0;z-index:20;background:#294e47;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:#f4f5d5;pointer-events:auto}#loading-screen span{font:32px GamePixel;letter-spacing:4px}#loading-screen small{font:15px GamePixel;color:#b9d3ae}#loading-screen i{width:150px;height:7px;background:linear-gradient(90deg,#d4e6a1 70%,#597c63 70%);border:1px solid #8daf82}
@media(max-width:1150px){.game-mode .location-hud strong{font-size:21px}.game-mode .location-hud small,.game-mode .location-hud em{font-size:8px}.game-mode .quest-hud small{font-size:8px}.game-mode .quest-hud strong{font-size:17px}.game-mode .game-toolbar small{font-size:8px}.game-mode .player-hud small,.game-mode .player-hud em{font-size:8px}.game-mode .game-controls{font-size:8px}.game-mode .interaction-hud{font-size:10px}}
@media(max-width:780px){.game-mode .location-hud strong{font-size:18px}.game-mode .location-hud small,.game-mode .location-hud em{font-size:7px}.game-mode .location-hud{gap:7px;max-width:260px}.game-mode .quest-hud small{font-size:7px}.game-mode .quest-hud strong{font-size:16px}.game-mode .quest-hud em{font:10px GamePixel}.game-mode .player-hud strong{font-size:20px}.game-mode .player-hud small,.game-mode .player-hud em{font-size:7px}.game-mode .game-toolbar small{font-size:8px}.game-mode .minimap-hud>div{font-size:7px}.game-mode .minimap-hud p{font-size:8px}.game-mode .game-controls{font-size:7px}.game-mode .interaction-hud{font-size:9px}.game-mode .interaction-bubble{font-size:14px}.game-mode .modal-head h2{font-size:22px}.new-creator{grid-template-columns:90px 1fr;gap:13px}.new-creator .creator-preview{min-height:280px;max-height:370px}.new-creator .creator-preview canvas{width:90px;height:108px}.new-creator .creator-preview span{font-size:10px;text-align:center;left:3px;right:3px;bottom:16px}.hero-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hero-choice canvas{width:38px;height:38px}.hero-choice span{font-size:8px}.game-mode .button{font-size:7px}.game-mode .card-top h3{font-size:17px}.game-mode .card-rarity{font-size:5px}.game-mode .modal-copy{font-size:13px}.game-mode .sample-label{font-size:5px}.game-mode .trade-choice strong{font-size:16px}}
@media(max-height:530px) and (min-width:600px){.game-mode .game-toolbar small{font-size:7px}.game-mode .player-hud small{font-size:7px}.game-mode .game-controls{font-size:6px}.game-mode .location-hud small{font-size:7px}}

/* Timber frames and small hand-drawn pixel icons match the market's wood and canvas. */
.game-mode button{border-radius:0!important;touch-action:manipulation}
.game-mode .pixel-icon{display:block;width:24px;height:26px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.game-mode .game-toolbar,.game-mode .minimap-hud{background:#72563e;border:3px solid #493d31;box-shadow:inset 0 2px #b58d5c,4px 5px #283e3655}
.game-mode .minimap-hud>div,.game-mode .minimap-hud p,.game-mode .minimap-hud>div button{color:#f2dfad}
.game-mode .game-toolbar button,.game-mode .hud-square,.game-mode .dpad button,.game-mode #mobile-map,.game-mode .button,.game-mode .nearby-list button,.game-mode .close{background:#efdeb1;border:2px solid #68513a;box-shadow:inset 2px 2px #fff1cd,inset -2px -3px #bd9961,2px 3px #263e354d;color:#534936}
.game-mode .game-toolbar button:hover,.game-mode .hud-square:hover,.game-mode .button:hover,.game-mode .nearby-list button:hover{background:#ffe7a2}
.game-mode button:active{box-shadow:inset 2px 2px #ad874f!important;translate:0 1px}
.game-mode button:focus-visible{outline:3px solid #f5c86e;outline-offset:3px}
.game-mode .button.yellow{background:#f1cd76;box-shadow:inset 2px 2px #fff0ae,inset -2px -3px #bd874f,2px 3px #263e354d}
.game-mode .game-toolbar small,.game-mode .game-toolbar button>b{color:#625435}
.game-mode .game-toolbar kbd{background:#d5bc84;color:#695333}
.game-mode .location-hud,.game-mode .player-hud,.game-mode .interaction-hud{border-color:#66523b;background:#f3e8c8;box-shadow:inset 2px 2px #fff6dc,inset -2px -2px #c6ad78,3px 4px #283e3655}
.game-mode .location-hud img,.game-mode .player-portrait{border-radius:0}
.game-mode .hud-square{display:flex;align-items:center;justify-content:center}
.game-mode .hud-square .pixel-icon{width:21px;height:23px}
.game-mode .dpad button,#mobile-map{align-items:center;justify-content:center}
.game-mode .dpad .pixel-icon,.game-mode #mobile-map .pixel-icon{width:19px;height:21px;margin:auto}
.game-mode .close{font-family:GamePixel}
#ball-hud{position:absolute;top:124px;bottom:auto;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;z-index:3;background:#463e31ed;border:3px solid #b89a62;box-shadow:3px 4px #1e3e3955;padding:7px 12px;color:#f8e8bb;max-width:94vw}
#ball-hud[hidden]{display:none}
#equip-ball{display:flex;align-items:center;gap:8px;background:#eddbad;border:2px solid #816b45;box-shadow:inset 2px 2px #fff4d0,inset -2px -2px #b7955c;color:#514630;padding:6px 10px;white-space:nowrap;font:12px GamePixel}
#equip-ball[aria-pressed=true]{background:#f5c975;border-color:#f7e7b1}
#equip-ball kbd{font:10px GamePixel;background:#d7b97a;padding:3px}
#ball-hint{font:12px GamePixel;max-width:230px;line-height:1.5}
.is-throwing .game-header,.is-throwing .game-bottom,.is-throwing .dpad,.is-throwing #mobile-map,.is-throwing #equip-ball{pointer-events:none;opacity:.65}
.quest-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quest-row{display:flex;align-items:center;gap:10px;background:#e6ebcd;border:2px solid #a8b48b;padding:10px}.quest-row img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.quest-row span{flex:1}.quest-row strong{display:block;font:17px GamePixel}.quest-row small{display:block;font:10px GamePixel;margin-top:5px}.quest-row b{color:#6b8e54}.appraisal-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
@media(max-width:780px){#ball-hud{top:152px;bottom:auto;gap:6px;padding:5px 7px}#equip-ball{font-size:10px;padding:5px}#ball-hint{font-size:10px;max-width:155px}#ball-hud .pixel-icon{width:20px;height:22px}.game-mode .game-toolbar .pixel-icon{width:21px;height:23px}.quest-list{grid-template-columns:1fr}}
.profile-summary{display:flex;align-items:center;gap:26px}.profile-summary>canvas{width:100px;height:110px;image-rendering:pixelated;background:#d5e5bd;border:3px solid #8ba379}
.rewards-header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#5e704d;font:15px GamePixel}.social-quests{display:grid;gap:10px;margin:18px 0}.social-quests article{display:flex;align-items:center;gap:14px;border:2px solid #b6bf98;background:#e9ecd4;padding:14px}.social-quests article>div{flex:1}.social-quests article>b{font:24px GamePixel;color:#8c996b}.social-quests h3{font-size:20px}.social-quests p{font:13px GamePixel;color:#748168;margin:7px 0 0}.social-quests .button{max-width:170px}.spin-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin-top:24px}.spin-scene{display:flex;align-items:center;flex-direction:column;gap:18px;position:relative}.spin-pointer{position:absolute;top:-13px;z-index:2;color:#624936;font:26px GamePixel}#prize-wheel{position:relative;width:220px;height:220px;border:8px solid #775438;box-shadow:0 0 0 3px #e0bd76,5px 6px #493e3333;border-radius:50%;background:conic-gradient(#ecbc66 0deg 60deg,#b4ce91 60deg 120deg,#94b8a7 120deg 180deg,#d3b2bf 180deg 240deg,#d8c99a 240deg 300deg,#c8b8d6 300deg);transition:transform 3s cubic-bezier(.12,.65,.12,1)}#prize-wheel:after{content:'✦';display:grid;place-items:center;background:#fff0c3;border:5px solid #775438;position:absolute;left:77px;top:77px;width:36px;height:36px;border-radius:50%;color:#8b6e42}#prize-wheel>span{position:absolute;left:80px;top:87px;width:44px;text-align:center;font:19px GamePixel;transform:rotate(calc(var(--slice)*60deg + 30deg)) translateY(-69px) rotate(calc(var(--slice)*-60deg - 30deg));color:#514735}.local-leaderboard{border:3px solid #a7b890;background:#e7edcf;padding:18px}.local-leaderboard>div{display:flex;align-items:center;gap:14px;padding:16px 0;border-block:1px solid #bac69f}.local-leaderboard strong{flex:1;font:21px GamePixel}.local-leaderboard>div span{font:15px GamePixel;color:#62834e}.market-banner{padding:15px;background:#e3e9cd;border:2px solid #a9b996;margin-bottom:18px}.market-banner p{font:14px GamePixel;line-height:1.6}.market-banner .button{display:inline-block;margin-top:10px;text-decoration:none}.market-filters{display:flex;gap:10px;align-items:center;margin-bottom:16px}.market-filters input{flex:1;min-width:100px;font:15px GamePixel}.market-filters select{font:14px GamePixel;background:#efdfb6;border:2px solid #8d7750;color:#534b37;padding:10px;max-width:170px}.market-status{font:13px GamePixel;color:#76816a;margin:12px 0 18px}.live-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.live-card{display:flex;flex-direction:column;text-align:left;background:#eee8cd;border:2px solid #8fa37a;padding:12px;gap:10px;color:#4a604e;box-shadow:3px 4px #64765322}.live-card img{width:100%;height:220px;object-fit:contain;image-rendering:auto;background:#dce4c7}.live-card>span{font:11px GamePixel;color:#6c805d}.live-card h3{font:16px/1.4 GamePixel!important;flex:1}.live-card strong{font:21px GamePixel}.live-card small{font:9px GamePixel;color:#8b7951}.live-card:hover{background:#f9ecc0;border-color:#c59b50}.market-pages{display:flex;justify-content:space-between;margin-top:20px}.live-detail{display:grid;grid-template-columns:minmax(180px,1fr) 1fr;gap:24px;align-items:center}.live-detail>img{width:100%;max-height:470px;object-fit:contain;image-rendering:auto}.live-detail .button{display:inline-block;margin-top:20px;text-decoration:none}.game-mode dialog:has(.live-card-grid){width:min(1100px,96vw)}.game-mode dialog:has(.new-creator){width:min(900px,96vw)}
@media(max-width:780px){.game-mode .game-toolbar button{width:46px}.game-mode .game-toolbar small{font-size:7px}.social-quests article{flex-wrap:wrap;padding:12px}.social-quests article>div{min-width:160px}.social-quests .button{margin-left:auto;max-width:none}.spin-layout{grid-template-columns:1fr}.live-card-grid{grid-template-columns:repeat(2,1fr);gap:10px}.live-card{padding:7px}.live-card img{height:170px}.live-card h3{font-size:13px!important}.market-filters{flex-wrap:wrap}.market-filters input{flex-basis:60%}.market-filters select{max-width:none;width:100%}.live-detail{grid-template-columns:1fr}.live-detail>img{max-height:300px}.profile-summary{gap:16px;align-items:flex-start}.rewards-header{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#prize-wheel{transition-duration:.3s}}
#hall-market{position:absolute;top:124px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;z-index:3}#hall-market[hidden]{display:none}.is-throwing #hall-market{pointer-events:none}@media(max-width:780px){#hall-market{top:150px;font-size:8px;padding:8px}}
.wallet-choices{display:grid;gap:12px}.wallet-connected{background:#e3ebce;border:2px solid #a4b38c;padding:18px;display:grid;gap:16px}.wallet-connected code{overflow-wrap:anywhere;font:13px GamePixel}.market-actions{display:flex;gap:9px;flex-wrap:wrap}.sell-preview{display:grid;grid-template-columns:180px 1fr;gap:22px;margin-top:20px;align-items:center}.sell-preview img{width:100%;max-height:280px;object-fit:contain}.sell-preview h3{font:20px GamePixel;margin-bottom:20px}.sell-preview .button{margin-top:15px}#transaction-status,#wallet-status{font:14px GamePixel;line-height:1.6;color:#7b694f;overflow-wrap:anywhere}.region-atlas{position:relative;width:100%;aspect-ratio:2/1;border:5px solid #6d573d;box-shadow:inset 0 0 0 3px #ddc68b;background:#acc274;overflow:hidden;margin:18px 0 20px;min-height:260px}.atlas-land{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.atlas-compass{position:absolute;right:15px;top:12px;text-align:center;font:18px GamePixel;color:#4f6740}.atlas-node{position:absolute;display:flex;align-items:center;flex-direction:column;gap:5px;background:none!important;border:0;box-shadow:none!important;padding:0;transform:translate(-50%,-50%);width:32%;z-index:2;cursor:pointer}.atlas-node img{width:100px;height:95px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(3px 5px 0 #35523c44)}.atlas-node strong{background:#f2e1ae;border:2px solid #76613f;padding:5px 8px;font:17px GamePixel;color:#514830;box-shadow:2px 3px #334d3333}.atlas-node small{font:9px GamePixel;color:#45613b;background:#f5e9b9db;padding:4px 6px}.atlas-node.current strong{border-color:#b4743b;background:#ffe6a2}.atlas-node:hover img{filter:drop-shadow(0 0 4px #fff3b2)}.atlas-hall{left:29%;top:23%}.atlas-square{left:29%;top:74%}.atlas-field{left:78%;top:49%}.atlas-tree{position:absolute;width:45px;height:66px;image-rendering:pixelated}.tree-one{left:8%;top:12%}.tree-two{left:44%;top:9%}.tree-three{right:7%;bottom:8%}.area-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.area-card{text-align:left;background:#e8e6c6;border:2px solid #a5ad82;padding:14px;color:#536549;display:flex;flex-direction:column;gap:10px}.area-card.current{background:#f5e6b7;border-color:#af8b4f}.area-card small{font:9px GamePixel;color:#8b805a}.area-card h3{font:20px GamePixel}.area-card p{font:13px/1.5 GamePixel;flex:1}.area-card span{font:10px GamePixel;color:#5b8050}.game-mode dialog:has(.region-atlas){width:min(1000px,96vw)}#toggle-chat{position:absolute;left:24px;bottom:135px;z-index:3;padding:8px 15px;font:12px GamePixel}#chat-panel{position:absolute;left:24px;bottom:180px;width:320px;z-index:5;background:#f0e3bd;border:3px solid #745d3e;box-shadow:4px 5px #2e493755;padding:10px;color:#556145}#chat-panel[hidden]{display:none}.chat-title{display:flex;justify-content:space-between;align-items:center;font:14px GamePixel}.chat-title button{border:1px solid #8c7952;background:#e8d4a1;color:#5e513a;font:18px GamePixel}.chat-scope{font:10px GamePixel;color:#887652;margin:6px 0}#chat-channel{width:100%;background:#e5d4a3;border:1px solid #a38c60;color:#5a5d3e;font:12px GamePixel;padding:5px}#chat-log{height:140px;overflow:auto;background:#fff4d6;border:1px solid #c5b685;margin:8px 0;padding:8px}#chat-log p{font:12px/1.5 GamePixel;margin:0 0 8px;overflow-wrap:anywhere}#chat-log strong{color:#a07142}.chat-empty{color:#938b6c}#chat-form{display:flex;gap:5px}#chat-message{min-width:0;flex:1;border:1px solid #a38e60;background:#fff5d9;font:13px GamePixel;padding:6px;color:#5a5941}#chat-form button{background:#b6cd90;border:1px solid #738653;font:10px GamePixel;color:#4d613c;padding:7px}.is-throwing #toggle-chat{pointer-events:none}
@media(max-width:780px){.region-atlas{min-height:250px;aspect-ratio:1.4}.atlas-node img{width:65px;height:65px}.atlas-node strong{font-size:12px;padding:4px}.atlas-node small{font-size:7px}.atlas-compass{font-size:14px}.atlas-tree{width:30px;height:43px}.area-cards{grid-template-columns:1fr}.area-card{gap:7px;padding:12px}.area-card h3{font-size:19px}.area-card p{font-size:12px}.sell-preview{grid-template-columns:1fr}.sell-preview img{max-height:200px}#toggle-chat{left:12px;bottom:133px;padding:6px 10px}#chat-panel{left:12px;bottom:177px;width:min(320px,calc(100vw - 24px))}}
/* A trainer terminal: vermilion casing, navy outlines, cream screens, and badge slots. */
.game-mode dialog:has(.trainer-dashboard){width:min(1000px,96vw);background:#f7f3e7;border:5px solid #283a4a;box-shadow:0 0 0 4px #d95650,8px 9px #132e3655}.game-mode dialog:has(.trainer-dashboard) .modal-head{background:#cf514b;border-bottom:4px solid #293c4d;padding:15px 20px;box-shadow:inset 0 3px #ed8a73}.game-mode dialog:has(.trainer-dashboard) .modal-head h2{color:#fff7d8;font-size:27px;text-shadow:2px 2px #9b3d3a}.game-mode dialog:has(.trainer-dashboard) .modal-body{background:#f8f5ea;padding:20px}.game-mode dialog:has(.trainer-dashboard) .modal-foot{background:#dae4e0;border-top:3px solid #293c4d;padding:14px 20px}.game-mode dialog:has(.trainer-dashboard) .close{background:#f8e6c5;border-color:#293c4d;color:#293c4d}.trainer-hero{display:flex;align-items:center;gap:16px;margin-bottom:18px;color:#293e4c}.trainer-ball{width:62px;height:62px;display:grid;place-items:center;background:#e9d7af;border:3px solid #293c4d;box-shadow:3px 3px #c7b893;flex-shrink:0}.trainer-ball img{width:42px;height:44px;image-rendering:pixelated}.trainer-hero .eyebrow{font:9px GamePixel;color:#bd5c4b;margin-bottom:5px}.trainer-hero h3{font:25px GamePixel;margin:0 0 6px}.trainer-hero p{font:13px/1.5 GamePixel;color:#7c8a87}.club-status{margin-left:auto;align-self:flex-start;padding:7px 8px;border:1px solid #a7bdac;background:#e5ecdf;color:#578471;font:9px GamePixel;white-space:nowrap}.trainer-stats{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;background:#2d4552;padding:8px;border:2px solid #203544;box-shadow:3px 4px #b8c6b7;margin-bottom:22px}.trainer-stats>div{padding:10px 14px;background:#f0eddc;box-shadow:inset -2px -2px #c7d2bf}.trainer-stats small{display:block;font:9px GamePixel;color:#85918a;margin-bottom:5px}.trainer-stats strong{font:25px GamePixel;color:#2e4954}.trainer-stats i{font:9px GamePixel;color:#bc6850;font-style:normal}.trainer-dashboard{display:grid;grid-template-columns:1.2fr .85fr;gap:18px;align-items:stretch}.trainer-section-title{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px}.trainer-section-title h3{font:21px GamePixel;color:#304b56}.trainer-section-title>span{font:8px GamePixel;letter-spacing:.3px;color:#879289}.trainer-missions{border:2px solid #b5c1ae;background:#ecefdf;padding:15px}.mission-progress{height:7px;background:#ced7c0;margin-bottom:16px;border:1px solid #b1bfa2}.mission-progress i{display:block;height:100%;background:#cd6352;transition:width .3s}.trainer-mission{display:flex;gap:10px;align-items:center;border:2px solid #bac5af;border-left:5px solid #d2ae65;background:#fcfaf0;padding:13px 10px;margin:0 0 10px;box-shadow:2px 3px #a9b79a26}.trainer-mission.done{border-left-color:#6b9d7a}.mission-badge{width:42px;height:46px;background:#ebe1c5;border:2px solid #b0b99a;display:grid;place-items:center;flex-shrink:0}.mission-badge img{width:32px;height:32px;image-rendering:pixelated}.trainer-mission>div{flex:1}.trainer-mission small{font:8px GamePixel;color:#b98a53}.trainer-mission h3{font:16px/1.3 GamePixel;color:#354e55;margin:4px 0}.trainer-mission p{font:12px GamePixel;color:#7c8a7d;margin:4px 0}.trainer-mission em{font:10px GamePixel;color:#a9ad9e;font-style:normal}.mission-action{font:9px GamePixel;color:#faf0d0;background:#cf5f50;border:2px solid #9a4b40;padding:9px 7px;white-space:nowrap;box-shadow:inset 1px 1px #f59b75}.mission-action:disabled{background:#e2ead8;color:#6c8a70;border-color:#bac9ad;box-shadow:none;opacity:1}.mission-prize{display:flex;align-items:center;gap:9px;background:#e8d8b4;border:2px dashed #ba9a65;padding:11px;margin-top:14px}.mission-prize img{width:26px;height:29px;image-rendering:pixelated}.mission-prize span{flex:1}.mission-prize small{display:block;font:8px GamePixel;color:#a0885a}.mission-prize strong{font:16px GamePixel;color:#5c654e;display:block;margin-top:3px}.mission-prize b{font:8px GamePixel;color:#967650}.spin-station{background:#304c58;border:3px solid #223845;box-shadow:inset 0 3px #52707b,3px 4px #bac6b2;padding:15px}.spin-station .trainer-section-title h3{color:#fff0c8}.spin-station .trainer-section-title>span{color:#bed0bb}.spin-station .spin-scene{margin-top:25px;gap:14px}.spin-station #prize-wheel{width:186px;height:186px;border:7px solid #e7d29f;box-shadow:0 0 0 3px #172e3c,3px 4px #102d3d55;background:conic-gradient(#ebbd69 0deg 60deg,#b9cf93 60deg 120deg,#9ec7c0 120deg 180deg,#e1b49c 180deg 240deg,#b6b6d1 240deg 300deg,#edda99 300deg)}.spin-station #prize-wheel>span{left:59px;top:72px;font:16px GamePixel;transform:rotate(calc(var(--slice)*60deg + 30deg)) translateY(-57px) rotate(calc(var(--slice)*-60deg - 30deg))}.spin-station #prize-wheel:after{content:'';left:57px;top:57px;width:44px;height:44px;border:5px solid #243a48;background:radial-gradient(circle at center,#fff7dc 0 5px,#243a48 6px 10px,transparent 11px),linear-gradient(#d65b50 0 45%,#243a48 45% 56%,#f8efdc 56%)}.spin-station .spin-pointer{color:#f5c772;top:-17px;text-shadow:2px 2px #1b3441}.spin-station #spin-result{font:12px/1.6 GamePixel;color:#e6eed5;text-align:center;min-height:35px;max-width:235px}.game-mode .spin-station .button{background:#d85b4e;border-color:#1c3545;color:#fff3d3;font-size:8px;box-shadow:inset 2px 2px #f6916d,inset -2px -2px #a64742,2px 3px #172d3c}.game-mode .spin-station .button:disabled{background:#72877f;color:#c1d0bf;opacity:1}.trainer-leaderboard{margin-top:20px;border:2px solid #b8c4ad;padding:14px;background:#edf0e0}.trainer-leaderboard .local-leaderboard{border:0;padding:0;background:none;max-height:150px;overflow:auto}.trainer-leaderboard .local-leaderboard>div{border:0;background:#f9f7e9;padding:10px;margin:5px 0}.trainer-leaderboard .local-leaderboard b{color:#bd8d49;font:15px GamePixel;min-width:30px}.trainer-leaderboard .local-leaderboard strong{font-size:17px}.trainer-leaderboard .local-leaderboard>div span{font-size:13px}.game-mode dialog:has(.trainer-dashboard) .modal-foot .button{background:#ca5c50;color:#fff4d4;border-color:#3b4750;box-shadow:inset 2px 2px #ed9a73,inset -2px -2px #aa5148}.game-mode dialog:has(.trainer-dashboard) .modal-foot small{font:10px GamePixel;max-width:400px;color:#7d8e84}.game-mode #fees-counter{cursor:pointer;font:10px GamePixel;padding:9px;display:flex;align-items:center;gap:5px;color:#f5e7b2;background:#304d52;border:2px solid #bbac7d}.game-mode #fees-counter b{background:#e9d598;color:#5c5c3d;padding:3px;font:9px GamePixel}.fee-hero{display:flex;align-items:center;gap:20px;margin-bottom:20px}.fee-hero>span{font:65px GamePixel;color:#c3944d;text-shadow:3px 3px #e7d9ac}.fee-hero h3{font:26px GamePixel}.fee-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px}.fee-stats>div{background:#e2eace;border:2px solid #a1b28c;padding:18px}.fee-stats small{font:9px GamePixel;display:block;color:#849270}.fee-stats strong{font:25px GamePixel;display:block;margin-top:9px}.fee-route{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0;font:13px GamePixel}.fee-route span{background:#eeddaf;border:1px solid #b5a578;padding:10px}.fee-route b{color:#ba8d4d}@media(max-width:780px){.trainer-hero{flex-wrap:wrap;gap:12px}.trainer-hero h3{font-size:20px}.trainer-hero>div:nth-child(2){flex:1;min-width:160px}.trainer-hero p{font-size:12px}.club-status{margin-left:0}.trainer-stats{gap:5px}.trainer-stats>div{padding:8px}.trainer-stats strong{font-size:20px}.trainer-stats small{font-size:7px}.trainer-stats i{font-size:7px}.trainer-dashboard{grid-template-columns:1fr}.trainer-mission{padding:11px 8px;gap:8px}.trainer-mission h3{font-size:15px}.mission-action{font-size:8px;padding:8px 5px}.game-mode dialog:has(.trainer-dashboard) .modal-body{padding:14px}.game-mode dialog:has(.trainer-dashboard) .modal-foot{padding:12px;gap:12px}.game-mode #fees-counter{padding:5px;font-size:8px}.game-mode #fees-counter b{font-size:7px}.fee-stats{grid-template-columns:1fr}.fee-hero>span{font-size:50px}}
@media(max-width:780px){.game-mode #fees-counter{position:absolute;right:0;top:205px;min-height:27px}}

/* Local map: detailed pixel terrain, trainer marker, compact device frame. */
.game-mode .minimap-hud{width:210px;right:24px;top:91px;padding:9px;background:#f6f1df;border:3px solid #263d51;border-radius:9px;box-shadow:0 3px 0 #e25350,4px 7px 0 #182b3940}
.game-mode .minimap-hud>div{font:14px Pixel;color:#263d51;border-bottom:2px solid #cbd3c6;margin-bottom:7px;padding-bottom:6px;letter-spacing:.4px}
.game-mode .minimap-hud canvas{width:100%;height:auto;aspect-ratio:7/4;border:2px solid #526d63;border-radius:3px;image-rendering:pixelated;cursor:pointer;background:#90b761}
.game-mode .minimap-hud p{font:13px Pixel;color:#526d63;margin:7px 0 0;line-height:1.1}.game-mode .minimap-hud p i{background:#df554b;border:1px solid #263d51;width:7px;height:7px;flex-shrink:0}
.reward-target{display:grid;grid-template-columns:140px 1fr;gap:22px;margin:24px 0;padding:20px;background:#edf1e1;border:3px solid #36596a}.reward-target img{width:100%;max-height:210px;object-fit:contain}.reward-target h3{font:28px Pixel;color:#263d51}.reward-target strong{font:27px Pixel;color:#b6403c}.reward-target p{line-height:1.5}.reward-target button{margin-top:8px}
@media(max-width:780px){.game-mode .minimap-hud{width:150px;right:12px;top:145px}.game-mode .minimap-hud>div{font-size:11px}.game-mode .minimap-hud p{font-size:11px}.reward-target{grid-template-columns:90px 1fr;gap:12px;padding:12px}}
@media(max-height:530px){.game-mode .minimap-hud{width:150px;top:78px}.game-mode .minimap-hud p{display:none}}

.reward-funding{margin:16px 0;padding:14px;background:#fff9e9;border:2px solid #36596a}.reward-funding-label{display:flex;justify-content:space-between;gap:12px;font:15px Pixel;color:#36596a;margin-bottom:9px}.reward-progress{height:22px;padding:3px;background:#d4dfd2;border:2px solid #263d51;box-shadow:inset 0 2px #b2c2b5;overflow:hidden}.reward-progress>span{display:block;height:100%;background:repeating-linear-gradient(90deg,#e35850 0,#e35850 12px,#bf3e3e 12px,#bf3e3e 14px);transition:width .4s ease}.reward-funding p{margin:8px 0 4px;font:17px Pixel;color:#36596a}.reward-funding p strong{font:20px Pixel;color:#b6403c}.reward-funding small{display:block;font:12px/1.4 Nunito,sans-serif;color:#607869}

.game-mode .location-hud>img{width:53px;height:53px;border:0;border-radius:0;object-fit:contain;image-rendering:pixelated;background:transparent}.loading-brand-logo{width:150px;height:150px;object-fit:contain;image-rendering:pixelated;margin-bottom:20px}@media(max-width:780px){.game-mode .location-hud>img{width:40px;height:40px}}

.hud-social{display:flex;align-items:center;justify-content:center;gap:6px;min-width:40px;height:40px;padding:5px 9px;background:#fff4dc;border:2px solid #4b3b30;box-shadow:3px 4px #26322955;color:#354e51;text-decoration:none;font:22px Pixel;pointer-events:auto}.hud-social span{font:13px Pixel}.quest-social-link{display:inline-block;color:#36596a;font:14px Pixel;text-decoration:underline;margin-top:8px}.hud-social:hover{background:#ffe7a8}@media(max-width:1150px){.hud-social span{display:none}}

.token-mint{font:13px monospace!important;width:100%;padding:14px!important}#token-info{font-size:14px;cursor:pointer}
