@font-face{font-family:DotGothic16;src:url('./assets/fonts/DotGothic16-Regular.ttf') format('truetype');font-display:swap}
:root{--ink:#f3f5e6;--muted:#a8bfd0;--line:#41516e;--teal:#38c4bc;--cream:#172840;--font:DotGothic16,'Yu Gothic',sans-serif}
html{background:#101d34;color:var(--ink);font-weight:400}body{background:radial-gradient(ellipse at 50% 0,#264465,transparent 70%),#101d34}button{font-weight:400}a{color:#8ee9ed}.icon{stroke-linecap:square;stroke-linejoin:miter}h1,h2,h3,b,strong{font-weight:400}
.topbar{max-width:none;height:74px;background:#14243c;border-bottom:4px solid #678ba1;box-shadow:0 4px #091224;padding:0 30px}.brand{color:white;gap:12px}.brand>.icon{color:#6be4de}.brand b{font-family:'M PLUS Rounded 1c',sans-serif;font-size:23px;font-weight:900;letter-spacing:0;text-shadow:2px 3px #07566c}.brand small{color:#b4dfe9;font-size:9px}.brand i{border-radius:0;color:#ffe186;border-color:#f2c25c;background:#213652;font-size:12px}.topbar nav{gap:12px}.header-hp{color:#ffe9d9}.header-hp .icon{fill:#ff7c8b;color:#ffc6ce}.header-hp small{color:#b7c9da}.header-coins{display:flex;align-items:center;gap:6px;color:#ffe69c;margin-right:10px}.header-coins i{font-style:normal;border:2px solid #efba59;box-shadow:inset 0 0 0 2px #8d5d32;background:#d5993d;color:#fff6c2;width:26px;height:26px;text-align:center;line-height:22px}.header-coins b{font-size:23px}.btn{border-radius:3px;border:2px solid #8297ad;box-shadow:inset 0 0 0 2px #16263b,0 4px #070e21;background:#213b54;color:#f7f4d9;transition:transform .12s,filter .12s;font-size:16px}.btn:hover:not(:disabled){filter:brightness(1.18);transform:translateY(-2px)}.primary{background:#188e89;border-color:#8ae6d7;box-shadow:inset 0 0 0 2px #11635f,0 4px #061e32;color:#fffbdc}.primary:hover{background:#1aa398}.secondary{background:#2a4262;border-color:#a6b5c5}.quiet{background:#172a43;border-color:#697c93}.icon-only{border-radius:2px;background:#1c334e;border-color:#52758e;padding:8px}.nav-button{background:#1b334c;border:1px solid #4f6c86;box-shadow:0 3px #071427;padding:8px 12px}.sound-on{background:#286859}.eyebrow{color:#97bbc9;font-size:11px}.tiny-label{color:#a3bec9}.text-button{color:#d1e6df}.site-footer{border-color:#40546a;color:#9bb2c6}.site-footer .text-button{color:#b7d8df}.sprite{display:inline-block;width:130px;height:137px;line-height:0;vertical-align:middle}.sprite>img{width:100%;height:100%;image-rendering:pixelated!important;object-fit:contain}.sprite.hero{width:220px;height:231px}.sprite.mini{width:84px;height:88px}.sprite.fighter{width:218px;height:229px}.sprite.result-avatar{width:225px;height:237px}
.home-art{height:690px;background:#84d5eb;border-bottom:5px solid #62bccc}.home-art>.diorama{image-rendering:pixelated;object-position:center}.home-vignette{background:linear-gradient(90deg,#163e65c9 0%,#15395f99 38%,transparent 76%),linear-gradient(0deg,#18355bba,transparent 38%)}.home-copy{top:11%;left:6%;max-width:720px;color:white}.home-copy .eyebrow{color:#e9fdff}.edition{background:#ffdb64;color:#254771;padding:7px 17px;border:3px solid white;box-shadow:5px 5px #235184;transform:rotate(-3deg);font-size:15px;font-family:'M PLUS Rounded 1c',sans-serif;font-weight:900}.home-copy h1{font-family:'M PLUS Rounded 1c',sans-serif;font-size:clamp(38px,5.2vw,75px);font-weight:900;line-height:1.25;letter-spacing:-.04em;color:#fffdea;text-shadow:4px 0 #245486,-4px 0 #245486,0 4px #245486,0 -4px #245486,6px 7px #143250;margin:30px 0 20px;transform:rotate(-2deg)}.home-copy h1 span{display:block;color:#ffdf64}.home-description{color:#f1fcff;font-size:17px;text-shadow:1px 2px #254a66}.home-actions .primary{background:#ffcf4e;border-color:#fff5be;color:#283b5e;box-shadow:inset 0 0 0 2px #c88d27,0 6px #234c74;font-size:21px;min-width:290px;min-height:67px;transform:rotate(-2deg)}.home-actions .quiet{background:#1b4468c9;border-color:#b3edf8}.home-tags{color:white;font-size:14px;gap:20px}.home-partner{bottom:8%;right:13%;width:220px;filter:drop-shadow(8px 10px 0 #18294532)}.home-partner>span:not(.sprite){font-size:14px;border-radius:0;background:#143757;color:#fff1bc;border:3px solid #fff0b5;padding:10px 15px;left:-23px}.destination-tag{border-radius:0;background:#fff4cf;color:#284c66;border:4px solid #bb8237;box-shadow:5px 5px #132a4f88}.destination-tag b{font-size:22px}.home-bottom{background:#203953;color:#e5f0e6;border-color:#4d718c}.home-bottom p strong{color:#ffdc7a}.prototype-note{color:#92afc3}
.journey-screen,.room-screen{max-width:1400px;padding:28px 28px 0}.section-top h1{font-size:28px}.save-badge{color:#b1d6c6;border-color:#587b78;background:#203e49}.journey-layout{grid-template-columns:minmax(0,1fr) 345px;gap:25px}.antique-map{height:850px;min-height:850px;aspect-ratio:auto;overflow:hidden;isolation:isolate;border-radius:2px;border:10px solid #86633d;outline:2px solid #dac38f;box-shadow:0 15px 35px #07132688;background:#dabd82}.antique-map>img{width:100%;height:100%;object-fit:cover;opacity:.73;filter:none}.antique-map .map-tint{background:linear-gradient(90deg,#f7dfae3b,#f7dfae77);inset:0}.map-caption{position:absolute;left:22px;top:18px;color:#74532d;display:grid;font-size:21px;gap:4px}.map-caption small{font-size:12px}.map-north{color:#806542;right:20px;top:20px;font-size:22px}.route-lines{inset:38px 0 52px;height:calc(100% - 90px);width:100%;z-index:1}.route-lines path{fill:none;stroke:#7b684d;stroke-width:3;stroke-dasharray:5 7;opacity:.55}.route-lines path.active{stroke:#942d35;stroke-width:5;opacity:1;animation:none}.route-lines path.done{stroke:#4a7866;stroke-width:4;opacity:.7}.antique-map .map-node{top:calc(38px + (100% - 90px)*var(--y));left:var(--x);z-index:2;opacity:1;color:#584128;min-width:100px;transform:translate(-50%,-50%);border:0;background:none}.map-node>i,.map-node.available>i,.map-node.current>i{width:40px;height:40px;background:#e8d3a8;border:3px solid #725637;color:#57412e;box-shadow:2px 3px #b19b76;border-radius:50%}.map-node>i>.icon{width:23px;height:23px}.map-node span{font-family:'M PLUS Rounded 1c',sans-serif;font-size:11px!important;font-weight:900;white-space:nowrap;border-radius:2px;background:#fae9bd;border:1px solid #b3976f;color:#58432c;padding:4px 8px;margin-top:3px;box-shadow:0 2px 2px #68421d22}.map-node.available>i{background:#fff1b3;border:3px solid #bf443b;outline:4px solid #f7e6b0;color:#9b302e;animation:nodepulse 1.5s steps(2) infinite}.map-node.current>i{background:#285f61;color:#ffefb9;border-color:#d6c690}.map-node.visited:not(.current)>i{background:#c9c8a1;color:#386353;border-color:#6d7c5f}.you-marker{position:absolute;font-size:11px;white-space:nowrap;left:50%;transform:translateX(-50%);top:-22px;color:#23595b;text-shadow:1px 1px #fff5d9}.map-node.node-elite>i{color:#712a67;border-color:#712a67;background:#e7c0cc}.map-node.node-boss>i{background:#492d5f;border-color:#e8b85e;color:#ffde8e}.elite-tag{display:none}.map-key{z-index:3;bottom:12px;left:18px;right:18px;display:grid;gap:6px;color:#654c2c;font-size:12px}.map-key small{font-size:10px;color:#735b39;text-align:left;max-width:none}.route-sidebar{color:#eef0d8}.current-place{background:#213d55;border:2px solid #61829a;border-radius:0;box-shadow:inset 0 0 0 3px #10283e;padding:18px}.current-place strong{color:#fff0b6;font-size:24px}.current-place small,.current-place span{color:#adc8d5}.route-sidebar h2{font-size:20px;margin:26px 0 14px}.route-choice{border:2px solid #66839a;border-radius:3px;background:#20384e;color:#f5ecd4;box-shadow:0 4px #09162a;align-items:start;padding:15px 13px}.route-choice:hover{background:#2a4b65;border-color:#b4e1e5}.route-choice b{font-size:17px}.route-choice small{color:#acccd9}.route-choice em{color:#bdd2db;font-size:12px;line-height:1.7}.route-choice>.icon{width:15px}.route-icon{background:#34556a;color:#d3efea;border:1px solid #819fad;border-radius:1px;width:37px;height:37px}.choice-elite{border-color:#bd7aa4;background:#3d2d50}.choice-rest{border-color:#6fba9a}.route-reward{display:block;margin-top:8px;color:#ffe08b;font-size:13px}.route-choice .risk-note{color:#e5a7a6;font-size:10px}.route-advice{background:#14283f;border:1px solid #58728a;padding:15px;margin-top:20px;font-size:13px}.route-advice b{color:#ffdf87}.route-advice p{line-height:1.9;margin-bottom:0;color:#b5cddd}.goal-preview{border-color:#49677c;gap:10px}.goal-preview strong{font-size:16px;color:#f0e5b1}.goal-preview p,.goal-preview small{color:#9cbacd}.journey-footer{color:#adccd2}.journey-footer b{color:#ffdc89}
.room-layout{grid-template-columns:minmax(0,1fr) 285px;gap:24px}.room-stage{border:4px solid #d4b96f;border-radius:0;box-shadow:inset 0 0 0 3px #152637,0 10px 20px #0006;background:#10213b}.room-stage canvas{image-rendering:auto;min-height:0;width:100%;height:auto;aspect-ratio:1000/650}.room-instructions{background:#15283e;border-top:3px solid #ceb472;padding:12px 18px}.room-sidebar h2{font-size:22px;color:#fff2c7}.room-sidebar>p{font-size:16px;color:#b9d0d6;line-height:1.9}.room-sidebar .room-help{color:#7f9eb0;font-size:12px}.room-art-preview{background:#172d43;border:2px solid #98a991;border-radius:0;transform:none;padding:6px}.room-art-preview strong{color:#e8e8c4}.room-actions .btn{font-size:14px}.room-foe small{color:#b0c8cd;font-size:13px}.room-foe strong{color:#ffdf9b;font-size:18px}.dice-result{color:#cde7e6}.dice-result>b{background:#f1dc9f;color:#243349;border:3px solid #9c7649;border-radius:0}.rest-preview{border:2px dashed #77ab9a;padding:25px;display:grid;gap:15px;text-align:center;color:#a4e9c9}.rest-preview .icon{margin:auto;width:50px;height:50px}
.battle-screen{max-width:1500px;padding:15px 24px 0}.battle-heading{margin:0 0 10px;min-height:42px}.battle-heading h1{font-size:19px;margin:2px 0}.battle-heading .eyebrow{font-size:10px;letter-spacing:.07em;margin:0}.phase-track{gap:8px;font-size:12px}.phase-track span{border:1px solid #42657d;background:#1b344b;color:#7f9eaf;padding:5px 12px;border-radius:0}.phase-track span.active{background:#f3cf69;border-color:#ffe8a7;color:#263d5b;box-shadow:2px 3px #0b1b2f}.phase-track i{color:#6b8497}.arena{position:relative;display:block;min-height:0;height:355px;border:3px solid #59809b;border-radius:0;overflow:hidden;background-position:center 62%;background-size:cover;box-shadow:0 6px #08182a;isolation:isolate}.arena:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0f274750,transparent 40%,#1433482e);z-index:-1}.arena:after{display:none}.arena-snow{display:none}.scene-snow{background-image:url('./assets/battle-snow-pixel.webp')}.scene-forest{background-image:url('./assets/battle-forest-pixel.webp')}.scene-festival{background-image:url('./assets/battle-festival-pixel.webp')}.arena-location{position:absolute;left:18px;top:15px;font-size:12px;letter-spacing:.18em;text-shadow:1px 2px #142a44;color:#ffffdd}.elite-arena{border-color:#b788b3}.combatant{position:absolute;bottom:40px;padding:0;width:220px;max-width:none;text-align:center}.combatant.player{left:19%}.combatant.opponent{right:16%}.combatant .sprite.fighter{height:200px;width:190px;max-width:none;filter:drop-shadow(7px 5px #0b1d3822);animation:spriteIdle 2s steps(2) infinite;transform-origin:center bottom}.combatant.opponent .sprite{width:218px;height:229px;margin-bottom:-6px}.combatant-label{position:relative;margin:0 auto 4px;width:max-content;max-width:100%;padding:3px 12px;background:#122337dc;color:#fff5cc;border:1px solid #a4bbbe;font-size:13px;line-height:1.25}.combatant-label b{font-size:13px;white-space:nowrap}.hp-track{border-radius:0;border:2px solid #c8e5dd;box-shadow:0 2px #132643;background:#182b3e;height:20px;margin:0}.hp-track>i{background:linear-gradient(#64d3b0 50%,#2b9a84 50%);border-radius:0;transition:width .25s}.enemy-hp>i{background:linear-gradient(#f47e88 50%,#bc4a69 50%)}.hp-track>span{font-family:'M PLUS Rounded 1c',sans-serif;font-weight:900;color:white;font-size:11px;text-shadow:1px 1px #19304b;line-height:16px}.hp-track .icon{height:12px;width:12px}.overhead{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#101f37eb;border:2px solid #dce9d4;box-shadow:0 3px #06172b;padding:7px 10px;display:grid;grid-template-columns:22px auto;gap:0 4px;align-items:center;min-width:92px;white-space:nowrap;color:#fff1d8;margin-bottom:-20px;z-index:3}.overhead>b{font-family:'M PLUS Rounded 1c',sans-serif;font-size:29px;font-weight:900;line-height:1.1}.overhead>span{grid-column:1/3;font-size:10px}.overhead>small,.overhead>em{grid-column:1/3;white-space:normal;font-size:11px;line-height:1.3;max-width:150px;font-style:normal;padding-top:4px}.overhead>em .icon{width:12px;height:12px}.player-guard{border-color:#93d8ef;color:#d1f2ff}.player-guard>em{color:#9aeeb6}.enemy-intent{border-color:#f8c797;color:#ffe8bc;min-width:120px}.enemy-intent>.icon{color:#ff9c95}.enemy-intent>small{display:none}.arena-center{position:absolute;top:20px;left:50%;transform:translateX(-50%);width:auto;padding:0;align-self:auto}.round-badge{display:grid;gap:3px;background:#14253eac;color:#fff4c6;border:1px solid #bfd1c8;border-radius:0;padding:7px 19px;font-size:12px}.round-badge small{font-size:10px}.arena-summary{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;background:#122741d9;padding:5px 15px;border:1px solid #779baf;color:#e0eff1}.arena-summary .icon{width:14px;height:14px}.arena-summary strong{color:#ffe298}.damage-result{font-size:40px;color:#ffd4d4;background:#15253ccc;border-radius:0;padding:12px 22px}.damage-result.blocked{color:#abf4e1;font-size:24px}.battle-controls{padding-top:10px}.turn-bar{display:flex;gap:18px;align-items:center;padding:5px 0}.turn-instruction{flex:1}.turn-instruction h2{font-size:15px;margin:0}.turn-instruction p{display:none}.energy-display{border:2px solid #74c9cb;background:#173d52;border-radius:0;padding:5px 13px;gap:0;color:#b5fbf1}.energy-display>.icon{width:22px;height:31px}.energy-display>.filled{fill:#41c9d3;stroke:#c9fff5}.energy-display>.empty{fill:#293949;stroke:#496975}.energy-display b{font-family:'M PLUS Rounded 1c';font-weight:900;font-size:24px;margin-left:8px}.energy-display small{color:#7bacae;font-size:13px}.pile-button{display:grid;place-items:center;background:repeating-linear-gradient(45deg,#244760,#244760 4px,#214158 4px,#214158 8px);border:2px solid #8caebd;box-shadow:3px 3px #09172c,6px 6px #4c6c80;padding:4px 14px;border-radius:2px;min-width:64px;height:53px;color:#eef2d4;line-height:1.2}.pile-button b{font-size:19px}.pile-button span{font-size:10px}.discard-pile{background:#342d49;border-color:#8c869e}.selection-bar{display:flex;justify-content:center;align-items:center;gap:24px;min-height:46px;margin:8px 0 0;border-top:1px solid #385c74;background:#172e46;color:#b3c9d6;padding:7px 15px;font-size:13px}.selection-bar.has-selection{border:1px solid #79dbd4;background:#224559;color:white}.selection-bar>span{display:flex;align-items:center;gap:16px}.selection-bar strong{color:#ffe295;font-size:16px}.selection-bar .btn{min-height:35px;font-size:14px;padding:7px 15px}.hand.fan-hand{display:flex;justify-content:center;align-items:flex-start;gap:0;min-height:365px;padding:30px 10px 10px;overflow:visible}.hand-slot{width:205px;flex:0 1 205px;min-width:150px;margin:0 -5px;position:relative;transform:rotate(var(--tilt));transform-origin:50% 120%;transition:transform .16s;z-index:calc(2 + var(--order))}.hand-slot:hover,.hand-slot:focus-within,.hand-slot:has(.selected){transform:translateY(-22px) rotate(0) scale(1.06);z-index:20}.hand .hand-slot .card-wrap{width:100%;max-width:none;min-width:0}.hand .card-under{padding:5px 2px;min-height:27px;color:#bbd2dc;font-size:9px;justify-content:center}.card-under>span{display:none}.info-button{border:1px solid #628196;background:#17364f;color:#bcdee0;border-radius:50%;width:24px;height:24px}.info-button .icon{width:16px;height:16px}.turn-bottom{margin-top:0;padding:12px 0 8px;background:transparent;border-top:1px solid #3b5871}.battle-log{color:#c9dcdf;font-size:13px;line-height:1.7}.battle-log small{display:none}.end-turn{background:#d4a34e;border-color:#ffe3a4;box-shadow:inset 0 0 0 2px #8f5c2c,0 4px #081827;color:#192f47;font-size:18px;min-width:200px}.end-turn:hover{background:#e6b963}.just-hit .sprite{animation:hitFlash .42s steps(3)!important}.just-played .sprite{animation:attackJump .4s steps(4)!important}
.card-wrap{--frame:#a98356;--frame-bright:#e8c899;--card-ink:#583d27;position:relative}.rarity-rare{--frame:#4d8baa;--frame-bright:#b8e9ef;--card-ink:#284d61}.rarity-super{--frame:#b88931;--frame-bright:#fff1b2;--card-ink:#70501e}.game-card{position:relative;width:100%;display:block;padding:7px 7px 6px;overflow:visible;background:linear-gradient(135deg,#fff6df,#f5ebd5 30%,#ddcbaa 100%);border:4px solid var(--frame);border-radius:12px 12px 8px 8px;box-shadow:inset 0 0 0 1px var(--frame-bright),inset 0 0 0 3px #7f65433b,0 4px 0 #141c2a,0 8px 14px #0005;color:var(--card-ink);min-height:335px;text-align:center;font-family:'M PLUS Rounded 1c','Yu Gothic',sans-serif;font-weight:700;transition:box-shadow .15s,filter .15s;isolation:isolate}.rarity-rare .game-card{background:linear-gradient(135deg,#f1f5ee,#e8eff0 48%,#b9d8dc);box-shadow:inset 0 0 0 1px #e4ffff,inset 0 0 0 3px #42677d55,0 4px #102539,0 8px 14px #0005}.rarity-super .game-card{background:linear-gradient(130deg,#fff3bd,#fbf4d7 40%,#e8cb79);border-width:5px;box-shadow:inset 0 0 0 1px #fff5d6,inset 0 0 0 3px #ac7b2a66,0 4px #342826,0 8px 14px #0005}.game-card:hover{transform:none;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px var(--frame-bright),0 10px 25px #0006}.selected .game-card{box-shadow:0 0 0 3px #76f7ed,0 0 22px #44d3cd88,0 10px 20px #0008}.game-card:disabled{opacity:1;filter:saturate(.45) brightness(.74);cursor:not-allowed}.frame-corner{position:absolute;width:15px;height:15px;border:2px solid var(--frame-bright);z-index:4;pointer-events:none;transform:rotate(45deg);background:var(--frame)}.top-left{left:-5px;top:10px}.top-right{right:-5px;top:10px}.bottom-left{left:-5px;bottom:10px}.bottom-right{right:-5px;bottom:10px}.energy-cost{position:absolute;left:-13px;top:-14px;width:51px;height:56px;z-index:7;filter:drop-shadow(1px 3px 1px #233b4866)}.energy-cost>.icon{width:51px;height:56px;fill:#168c9b;stroke:#e6ffef;stroke-width:1.6}.energy-cost b{position:absolute;font-family:'M PLUS Rounded 1c';font-weight:900;color:#ffffea;font-size:32px;top:12px;left:0;width:100%;line-height:1;text-shadow:1px 2px #115666}.card-region{font-size:13px;line-height:1.1;margin:3px 14px 4px 25px;min-height:16px;font-weight:900;letter-spacing:.05em}.region-seal{margin-right:4px;color:var(--frame)}.card-place{font-size:8px;line-height:1.2;margin:0 2px 3px;display:flex;justify-content:center;gap:7px}.card-place>span{font-size:8px;background:#fff7;border:1px solid #7d806a44;border-radius:0;padding:1px 4px}.card-title{height:47px;display:flex;flex-direction:column;justify-content:center;border-top:1px solid #8e785444;border-bottom:1px solid #8e785444;margin-bottom:6px}.card-title small{font-size:8px;line-height:1.3;letter-spacing:.12em;margin:0}.card-title strong{font-size:13px;line-height:1.5;font-weight:900}.card-title em{font-style:normal;color:#bc542b}.card-art{height:142px;border-radius:4px;border:2px solid var(--frame);overflow:hidden;background-color:#17344a}.card-art img{width:100%;height:100%;object-fit:cover;display:block}.card-edition{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:.02em;border-bottom:1px solid #927a4c55;margin-top:5px;padding:0 2px 4px;gap:4px}.card-edition span{font-weight:900}.card-edition small{font-size:7px;opacity:.75}.card-fact{font-size:9px;line-height:1.6;min-height:43px;height:auto;margin:6px 2px 7px;color:#3d4c4c;text-align:left;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-stats{gap:14px;border-top:1px solid #a58f5f77;padding-top:5px;display:flex;justify-content:space-between}.card-stats>div{display:grid;grid-template-columns:19px 1fr;grid-template-rows:11px 31px;align-items:center;gap:0 3px;flex:1;padding:2px 5px 3px;border-radius:3px;border:1px solid #cfab60;background:linear-gradient(#fff1bd,#ebc36d);color:#81512d}.card-stats .def{background:linear-gradient(#dcf4f6,#95c7df);border-color:#74a4ba;color:#2a5b74}.card-stats .icon{grid-row:1/3;width:17px;height:20px}.card-stats span{font-size:7px;font-weight:900;text-align:center}.card-stats b{font-size:29px;font-weight:900;line-height:1}.card-heal{display:grid;grid-template-columns:20px auto;gap:1px 7px;min-height:52px;padding:4px 10px;border:1px solid #79a880;border-radius:3px;background:linear-gradient(#e3f2bd,#b6d68e);color:#417644;margin-top:5px}.card-heal>.icon{grid-row:1/3;width:20px;height:25px;fill:#81b47a}.card-heal span{font-size:11px}.card-heal b{font-size:29px;font-weight:900;margin-left:7px}.card-heal small{font-size:8px;letter-spacing:.12em}.card-effect{font-size:10px;font-weight:900;background:#fff9;border:1px solid #8fa19b;padding:4px 2px;margin:4px 0;color:#35516c}.card-wrap:not(.food-card) .card-effect:empty{display:none}.large .card-art{height:200px}.large .card-title strong{font-size:19px}.large .card-region{font-size:16px}.large .card-place{font-size:10px}.large .card-fact{font-size:12px;min-height:58px}.large .card-edition{font-size:10px}.large .card-title{height:56px}.large .card-stats b{font-size:36px}.large .card-effect{font-size:12px}.reward-cards>div{width:245px}.reward-screen>p{color:#bdced4}.reward-screen h1{color:#ffe49d}.coin-reward{display:inline-grid;padding:12px 26px;margin:10px auto;font-size:32px;border:3px double #efca77;color:#ffe7a2;background:#433f32;box-shadow:0 5px #07182e}.coin-reward small{font-size:13px}.result-screen>p:not(.eyebrow){color:#bcd2dc}.result-screen h1{color:#ffe6a1}.result-stats small{color:#8eacbe}.result-stats b{color:#a6e1df}
.modal-backdrop{background:#071123ba;backdrop-filter:blur(3px);padding:25px}.modal{background:#14283f;color:#edf4df;border:3px solid #d4e2d7;border-radius:2px;box-shadow:inset 0 0 0 4px #2a4c66,0 0 0 3px #0b192c,0 25px 70px #0009}.modal>header{background:#172c43;border-bottom:2px solid #789aa5;padding:13px 22px}.modal h2{font-size:21px;color:#fff2c4}.modal-body{padding:26px}.modal-body>p,.detail-layout p,.encounter-layout p{color:#c8e1e4;font-size:16px;line-height:1.9}.detail-layout h3{color:#ffe096}.notice{border:1px solid #9e9265;background:#384336;color:#ecedbc}.catalog-grid{gap:28px 20px}.catalog-grid .game-card{min-height:350px}.undiscovered{background:repeating-linear-gradient(45deg,#20354b,#20354b 8px,#243a50 8px,#243a50 16px);border:2px dashed #547485;color:#7ea3ae;border-radius:5px;min-height:350px}.collection-intro{color:#ceded7}.friend-badge{background:#254641;border:2px solid #8db8a4;border-radius:1px}.encounter-layout{gap:35px;grid-template-columns:275px minmax(0,1fr)}.encounter-layout h3{font-size:25px;color:#ffe1a4;line-height:1.5}.event-options{gap:13px}.event-options .btn{font-size:16px;width:100%}.event-hint{color:#96bdca!important;font-size:12px!important}.modal-encounter .modal-body{padding:30px}.modal-encounter h3:before,.travel-note h3:before{content:'▶ ';color:#f3cf67}.shop-options{display:grid;gap:9px;border:1px solid #8e9f90;background:#1b3549;padding:12px;margin-top:6px}.shop-options b{color:#ffdd8d}.battle-contract{font-size:14px!important;color:#ecc6b3!important}.travel-note{padding:15px;max-width:700px}.travel-note h3{font-size:26px;color:#ffdf97}.travel-note p{font-size:18px;line-height:2}.quiz-panel{background:#18324a;border:3px solid #deead8;box-shadow:inset 0 0 0 3px #416781,0 5px #081a2e;border-radius:0;padding:24px 30px;margin-top:16px}.quiz-kicker{color:#ffdf95;font-size:14px}.quiz-kicker span{background:#335a63;color:#d7f9d9;border-radius:0}.quiz-panel h2{font-size:26px;color:#f7f8dc;line-height:1.7}.quiz-choice{background:#24435a;border:2px solid #6c96a3;border-radius:0;color:#f6edd6;font-size:20px}.quiz-choice:hover:not(:disabled){background:#365d70;border-color:#a5e5d3}.quiz-choice>span{border-radius:0;background:#18364f;color:#85dbd9;border:1px solid #7e9c9f}.quiz-choice.correct{background:#265a4e;border-color:#8cdcb0;color:#f3ffde}.quiz-choice.wrong{background:#62404d;border-color:#b77d8c;color:#f6dce1}.quiz-explanation{border-radius:0;background:#224b49;border:1px solid #78a99a;color:#e4f3d4}.quiz-explanation.review{background:#4e4536;border-color:#ab946e;color:#f6e7be}.quiz-explanation p{font-size:16px;line-height:1.9}.quiz-note{color:#a3bbc9;font-size:13px}.source-list{font-size:14px}.source-list a{color:#b4e1dc}.help-page{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;min-height:330px}.help-visual{background:linear-gradient(#345d7a,#172e4b);padding:25px;min-height:260px;display:grid;place-items:center;border:3px solid #a8c9c2;position:relative}.help-visual .help-symbol{font-size:45px;color:#ffe4a0}.help-text h3{font-size:25px;color:#ffe3a2;line-height:1.5}.help-text p{font-size:19px;line-height:1.9;color:#e4f3e9}.help-text strong{color:#ffe189}.help-pagination{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #557c8b;padding-top:20px;margin-top:22px}.help-pagination>span{color:#ffde91}.help-visual .sprite{width:140px;height:147px}.tutorial-card{width:170px;transform:rotate(-6deg)}.tutorial-arrow{font-size:32px;color:#ffce63}.help-mini-stats{display:flex;gap:15px;font-size:25px;align-items:center}.help-mini-stats .icon{width:35px;height:35px}.help-mini-stats b{font-size:35px;color:#ffdc89}#toast{background:#1c4357;border:2px solid #b1ddd9;border-radius:0;color:#fff3cb;font-size:16px}
@keyframes nodepulse{50%{outline-color:#d8aa68}}@keyframes spriteIdle{50%{transform:translateY(-3px)}}@keyframes hitFlash{0%,70%{filter:brightness(3);transform:translateX(8px)}40%,100%{filter:none;transform:none}}@keyframes attackJump{40%{transform:translate(24px,-9px)}80%{transform:translate(-4px,0)}}
@media(max-width:1100px){.topbar{padding:0 18px}.brand b{font-size:19px}.journey-layout{grid-template-columns:minmax(0,1fr) 300px}.hand-slot{width:185px;flex-basis:185px}.battle-screen{padding:12px 15px 0}.arena{height:330px}.combatant.player{left:13%}.combatant.opponent{right:12%}.card-title strong{font-size:12px}.card-art{height:128px}.game-card{min-height:325px}.card-stats{gap:6px}.room-layout{grid-template-columns:minmax(0,1fr) 245px}.room-sidebar>p{font-size:14px}.home-copy h1{font-size:57px}.home-partner{right:8%}.home-copy{max-width:670px}}
@media(max-width:760px){.topbar{height:67px;padding:0 10px;gap:6px}.brand{gap:4px;min-width:0}.brand>.icon{display:none}.brand small{font-size:7px}.brand b{font-size:13px;max-width:150px;line-height:1.4}.brand i{display:none}.topbar nav{gap:5px}.header-coins{font-size:12px;gap:2px;margin:0}.header-coins i{width:19px;height:21px;font-size:11px;line-height:17px}.header-coins b{font-size:17px}.header-hp{font-size:12px;margin:0}.header-hp>.icon{width:12px}.header-hp small{font-size:9px}.nav-button{padding:6px;min-width:30px;min-height:32px}.nav-button>.icon{width:17px}.icon-only{padding:5px;min-width:30px;min-height:32px}.topbar nav .btn[data-action="sound"]{display:flex}.topbar nav .btn[data-action="sound"] .icon{width:17px}.topbar .btn[data-action="help"]{border-color:#d6c785}.home-art{height:790px}.home-art>.diorama{height:100%;object-position:65% center}.home-vignette{background:linear-gradient(#153c65ce 0%,#143c6580 45%,transparent 80%)}.home-copy{top:35px;left:7%;right:6%;max-width:none}.home-copy h1{font-size:42px;margin-top:30px}.edition{font-size:12px;padding:6px 9px}.home-description{font-size:14px}.home-actions .primary{font-size:17px;min-width:0;min-height:58px;padding:12px 17px}.home-actions .quiet{font-size:12px;padding:10px}.home-tags{font-size:11px;gap:14px}.home-partner{right:8%;bottom:7%;width:180px}.home-partner .sprite.hero{width:180px;height:189px}.home-partner>span:not(.sprite){font-size:12px;left:-20px}.destination-tag{bottom:27%;top:auto;right:8%;padding:8px 12px;border-width:3px}.destination-tag b{font-size:17px}.home-bottom p{font-size:13px}.home-bottom{gap:14px}.home-bottom b{font-size:24px}.journey-screen,.room-screen{padding:22px 14px 0}.section-top h1{font-size:21px}.journey-layout{display:flex}.antique-map{height:790px;min-height:790px;width:100%;border-width:5px}.map-caption{font-size:17px;left:13px;top:14px}.map-caption small{font-size:10px}.antique-map .map-node{min-width:80px}.map-node>i,.map-node.available>i,.map-node.current>i{width:32px;height:32px}.map-node>i>.icon{width:18px;height:18px}.map-node span{font-size:8px!important;max-width:123px;padding:3px 5px}.map-key{font-size:10px;left:10px;right:10px}.map-key small{font-size:8px;max-width:none}.you-marker{font-size:9px;top:-18px}.route-sidebar{width:100%}.route-sidebar h2{margin-top:20px}.route-choice b{font-size:17px}.route-choice em{font-size:13px}.route-choices{display:grid;gap:14px}.route-advice{display:none}.room-layout{display:flex;flex-direction:column}.room-stage{width:100%;border-width:3px}.room-stage canvas{min-height:0;aspect-ratio:1000/650}.room-sidebar{display:grid;grid-template-columns:1fr 120px;width:100%;padding:0}.room-sidebar>p{font-size:14px}.room-sidebar h2{font-size:20px}.room-art-preview{padding:4px}.room-art-preview .card-art{height:100px}.room-foe .sprite.hero{width:110px;height:115px}.room-foe strong{font-size:12px}.room-actions .btn{font-size:12px}.room-instructions{padding:9px 12px}.room-instructions small{font-size:9px}.room-instructions span{font-size:11px}.battle-screen{padding:10px 8px 0}.battle-heading{display:flex;gap:8px;align-items:center}.battle-heading h1{font-size:14px;line-height:1.5}.battle-heading .eyebrow{font-size:8px}.phase-track{display:none}.arena{height:280px;border-width:2px;background-position:center}.arena-location{font-size:8px;top:10px;left:10px}.combatant{width:130px;bottom:39px}.combatant.player{left:6%}.combatant.opponent{right:5%}.combatant .sprite.fighter{width:125px;height:131px;max-width:none}.combatant.opponent .sprite{width:140px;height:147px}.combatant-label{padding:3px 5px;margin-bottom:4px}.combatant-label b{font-size:9px}.hp-track{height:17px;border-width:1px;margin:0}.hp-track>span{font-size:9px;line-height:14px}.hp-track .icon{width:9px;height:9px}.overhead{padding:5px 8px;grid-template-columns:16px auto;min-width:75px;border-width:1px;margin-bottom:0;bottom:95%;box-shadow:0 2px #08223a}.overhead .icon{width:16px;height:18px}.overhead>b{font-size:24px}.overhead>span{font-size:8px}.overhead>em{font-size:8px;padding-top:3px;max-width:100px}.arena-center{top:38px}.round-badge{padding:5px 7px;font-size:9px}.round-badge small{font-size:7px}.arena-summary{bottom:8px;font-size:9px;padding:4px 9px}.arena-summary .icon{height:10px;width:10px}.turn-bar{gap:10px}.turn-instruction h2{font-size:11px;max-width:135px;line-height:1.5}.energy-display{padding:4px 6px;border-width:1px}.energy-display .icon{width:14px;height:23px}.energy-display b{font-size:20px;margin-left:3px}.energy-display small{font-size:10px}.pile-button{height:43px;min-width:42px;padding:3px 8px;box-shadow:2px 2px #09172c,4px 4px #4c6c80;border-width:1px}.pile-button b{font-size:16px}.pile-button span{font-size:9px}.selection-bar{margin-top:6px;min-height:50px;padding:7px 8px;font-size:11px;gap:8px}.selection-bar>span{display:grid;gap:2px;flex:1}.selection-bar strong{font-size:13px}.selection-bar .btn{font-size:11px;padding:8px;min-height:36px;white-space:nowrap}.hand.fan-hand{display:flex;justify-content:flex-start;gap:13px;overflow-x:auto;overflow-y:visible;padding:26px 16px 18px;margin:0 -8px;min-height:362px;scroll-snap-type:x proximity}.hand-slot{width:175px;min-width:175px;flex:0 0 175px;margin:0;transform:none;scroll-snap-align:center}.hand-slot:hover,.hand-slot:focus-within,.hand-slot:has(.selected){transform:translateY(-10px) scale(1);z-index:20}.game-card{padding:6px 6px 5px;min-height:315px;border-width:3px}.rarity-super .game-card{border-width:4px}.energy-cost{width:43px;height:49px;left:-9px;top:-12px}.energy-cost>.icon{width:43px;height:49px}.energy-cost b{font-size:28px;top:11px}.card-region{font-size:12px;margin:3px 9px 3px 20px}.card-place{font-size:7px;gap:4px}.card-place>span{font-size:7px}.card-title{height:42px;margin-bottom:5px}.card-title strong{font-size:12px}.card-title small{font-size:7px}.card-art{height:119px}.card-edition{font-size:7px;gap:2px}.card-edition small{font-size:6px}.card-fact{font-size:8px;min-height:39px;margin:5px 1px;line-height:1.6}.card-stats{gap:9px;padding-top:4px}.card-stats>div{grid-template-columns:13px 1fr;grid-template-rows:10px 27px;padding:2px 4px}.card-stats .icon{width:12px;height:14px}.card-stats b{font-size:26px}.card-stats span{font-size:6px}.card-heal{min-height:47px}.card-heal b{font-size:27px}.card-heal small{font-size:8px}.card-effect{font-size:9px}.hand .card-under{font-size:9px}.turn-bottom{position:sticky;bottom:0;margin:0 -8px;padding:9px 12px;background:#142a40f7;z-index:23;gap:12px}.turn-bottom .primary{font-size:13px;padding:11px 14px;min-width:145px}.battle-log{font-size:10px;min-height:30px;line-height:1.6}.battle-log p{margin:0}.battle-log p:nth-child(2){display:none}.modal-backdrop{padding:12px}.modal{max-height:94dvh;border-width:2px}.modal>header{padding:12px}.modal h2{font-size:18px}.modal-body{padding:20px 14px}.modal-encounter .modal-body{padding:20px 15px}.encounter-layout{display:flex;gap:20px}.encounter-layout>.card-wrap{width:260px}.encounter-layout h3{font-size:21px}.encounter-layout p{font-size:15px}.event-options .btn{font-size:14px}.detail-layout>.card-wrap{width:280px}.detail-layout p{font-size:15px}.large .card-art{height:190px}.large .card-fact{font-size:12px}.large .card-title strong{font-size:17px}.large .card-region{font-size:16px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px;padding:10px 0}.catalog-grid .game-card{min-height:312px}.catalog-grid .card-art{height:112px}.catalog-grid .card-title strong{font-size:11px}.catalog-grid .card-place{font-size:6px}.undiscovered{min-height:312px}.reward-cards{flex-wrap:wrap;gap:26px 16px}.reward-cards>div{width:calc(50% - 8px);max-width:240px}.reward-cards .game-card{min-height:312px}.reward-cards .card-art{height:112px}.reward-cards .btn{font-size:12px}.quiz-panel{padding:19px 14px;border-width:2px}.quiz-panel h2{font-size:21px;line-height:1.7}.quiz-kicker{font-size:12px}.quiz-choice{font-size:17px;padding:12px;min-height:55px}.quiz-explanation p{font-size:14px}.quiz-note{font-size:12px}.help-page{grid-template-columns:1fr;gap:10px;min-height:0}.help-visual{min-height:200px;padding:16px}.help-text h3{font-size:22px;margin:14px 0}.help-text p{font-size:17px;line-height:1.9}.help-pagination{margin-top:10px;padding-top:15px;gap:10px;font-size:13px}.help-pagination .btn{font-size:13px;padding:10px 16px}.help-visual .sprite{width:110px;height:116px}.tutorial-card{width:145px}.site-footer{padding:14px;font-size:10px}.source-list{font-size:13px}.travel-note{padding:8px}.travel-note h3{font-size:23px}.travel-note p{font-size:16px}.result-stats{gap:22px}.result-stats small{font-size:11px}.result-screen h1{font-size:29px}.result-screen>p:not(.eyebrow){font-size:15px}.result-actions .btn{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.battle-screen .arena-location,.battle-screen .phase-track,.turn-instruction{display:none}.turn-bar .energy-display{margin-right:auto}.arena-summary{display:none}.hand .card-fact{-webkit-line-clamp:2;min-height:30px}.battle-screen .battle-heading h1{font-size:16px}.map-node.node-mystery>i{font-size:26px}.battle-screen .selection-bar:not(.has-selection)>span{visibility:hidden}.game-card .card-fact{font-weight:700}.room-stage canvas:focus-visible{outline-offset:-6px}

.extra-rules{margin-top:20px;color:#aacaCF;font-size:14px;line-height:1.9}.extra-rules summary{cursor:pointer;color:#ffe3a1}.extra-rules p{margin:12px 0}.help-visual .tutorial-card .card-wrap{width:100%}.help-visual:has(.tutorial-card){padding:25px 15px;min-height:380px}.help-visual .tutorial-card{width:185px}

@media(min-width:761px){.battle-screen{padding-top:10px}.battle-heading{min-height:28px;margin-bottom:8px}.arena{height:300px}.combatant{bottom:25px}.combatant .sprite.fighter{width:155px;height:163px}.combatant.opponent .sprite{width:170px;height:179px}.overhead{margin-bottom:-5px;bottom:100%;padding:4px 9px}.overhead>b{font-size:25px}.arena-center{top:15px}.hand.fan-hand{min-height:285px;padding-top:24px;padding-bottom:4px}.hand .game-card{min-height:252px;padding:5px 6px}.hand .card-art{height:100px}.hand .card-title{height:36px;margin-bottom:4px}.hand .card-region{font-size:11px;margin-top:2px}.hand .card-place{font-size:7px}.hand .card-title strong{font-size:12px}.hand .card-title small{font-size:7px}.hand .card-fact{display:none}.hand .card-edition{padding-bottom:2px;margin-top:3px;font-size:7px}.hand .card-stats{padding-top:4px;margin-top:4px}.hand .card-effect{font-size:8px;padding:3px 1px}.hand .card-stats>div{grid-template-rows:9px 25px}.hand .card-stats b{font-size:25px}.hand .card-heal{margin-top:5px;min-height:43px}.hand .card-heal b{font-size:25px}.hand-slot:hover,.hand-slot:focus-within,.hand-slot:has(.selected){transform:translateY(-22px) rotate(0) scale(1.13)}.selection-bar{margin-top:4px;min-height:41px}.turn-bottom{padding:8px 0}.battle-controls{padding-top:8px}.turn-bar{padding:4px 0}.pile-button{height:43px}.energy-display{padding:4px 11px}}

.battle-screen .selection-bar{display:none}.hand .card-under{display:flex;gap:7px;min-height:37px;position:relative}.card-use{font-size:12px;min-height:32px;padding:5px 15px;white-space:nowrap}.hand-slot:has(.selected){z-index:24}.battle-log{max-width:65%}.home-partner>.sprite{background:none;border:0;padding:0;box-shadow:none;left:0;white-space:normal;border-radius:0}.arena .overhead{max-width:155px}.hand-slot{transform-origin:50% 100%}@media(min-width:761px){.hand.fan-hand{padding-top:30px;min-height:302px}.hand-slot:hover,.hand-slot:focus-within,.hand-slot:has(.selected){transform:translateY(-8px) rotate(0) scale(1.06)}}

.hand.fan-hand{flex-wrap:nowrap}.mobile-title-break{display:none}@media(max-width:760px){.hand.fan-hand{min-height:310px;padding-top:22px;padding-bottom:12px;scrollbar-color:#8bb9c2 #152b42;scrollbar-width:thin}.hand .game-card{min-height:263px}.hand .card-fact{display:none}.hand .card-art{height:107px}.hand .card-title{height:35px}.hand .card-region{font-size:11px}.hand .card-effect{font-size:8px}.hand .card-edition{margin-top:3px;padding-bottom:3px}.hand .card-stats{margin-top:4px}.hand .card-under{min-height:33px}.mobile-title-break{display:block}.brand b{font-size:12px;line-height:1.3;white-space:nowrap}.brand small{font-size:6px}.topbar nav{gap:4px}.header-coins{margin-right:1px}.sprite.fighter{max-width:100%}.battle-log{font-size:10px}}

@media(max-width:760px){.arena{height:240px}.combatant{bottom:27px}.combatant .sprite.fighter{width:108px;height:113px}.combatant.opponent .sprite{width:120px;height:126px}.arena-center{top:18px}.overhead{bottom:92%;margin-bottom:0}.hand .card-region{height:14px;min-height:0;padding:0;line-height:14px}.hand .card-place{height:12px;min-height:0;padding:0;line-height:10px}.hand .card-place>span{padding:0 3px;line-height:10px;height:11px}}

/* Keep every combat decision visible on common laptop screens. */
@media(min-width:761px){
 .hand .card-region{height:15px;min-height:0;line-height:15px;padding:0 0 0 24px}
 .hand .card-place{height:13px;line-height:12px;padding:0 0 0 12px}
 .hand .card-place>span{padding:0 3px;line-height:11px;height:12px}
}
@media(min-width:761px) and (max-height:800px){
 .battle-screen{padding-top:6px}.battle-heading{min-height:36px;margin-bottom:5px}
 .arena{height:200px}.combatant{bottom:20px;width:195px}
 .combatant .sprite.fighter{width:125px;height:131px}.combatant.opponent .sprite{width:138px;height:145px}
 .overhead{bottom:91%;margin-bottom:0;padding:4px 9px;min-width:90px}.overhead>b{font-size:24px}.overhead>span{font-size:9px}
 .arena-center{top:12px}.combatant-label{font-size:11px;padding:2px 9px}.combatant-label b{font-size:11px}
 .battle-controls{padding-top:5px}.turn-bar{padding:3px 0}.pile-button{height:42px}.energy-display{padding:2px 10px}
 .hand.fan-hand{min-height:270px;padding-top:24px;padding-bottom:0}
 .hand .game-card{min-height:221px}.hand .card-title{height:28px}.hand .card-art{height:80px}
 .hand .card-effect{line-height:1.4}.hand .card-stats{min-height:40px}.hand .card-under{min-height:33px}
 .turn-bottom{padding:5px 0}.turn-bottom .primary{min-height:40px;padding:8px 18px}
}

@media(min-width:761px) and (max-height:800px){
 .arena{height:240px}.combatant{top:48px;bottom:auto}.overhead{top:-42px;bottom:auto}
 .battle-controls{position:relative}.turn-bottom{position:absolute;top:7px;right:170px;margin:0;padding:0;border:0;z-index:6}
 .turn-bottom .battle-log{display:none}
}
