:root{--paper:#f4f2e9;--ink:#1b1d1f;--lime:#d4ff3f;--orange:#ffad62;--purple:#bba3ff;--muted:#73756d;--line:#d6d5c9;--red:#f16e53;--shadow:4px 5px 0 var(--ink);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
.deck-link{font-size:inherit;border:0;background:transparent;padding:2px 0;white-space:nowrap}.deck-link:hover{text-decoration:underline;text-underline-offset:3px}.card-name.upgraded{color:#587a0d}.choice-button:disabled{opacity:.45;cursor:not-allowed;transform:none;background:#e6e6db}.battle-state-strip{display:flex;gap:7px;flex-wrap:wrap;margin:-6px 0 11px;font-size:9px}.battle-state-strip:empty{display:none}.battle-state-strip>span{background:#e4ebd3;border:1px solid #bcc7a3;border-radius:4px;padding:3px 6px;line-height:1.5}.battle-state-strip>.state-negative{background:#f4dfcc;border-color:#d5b293}
*{box-sizing:border-box}body{margin:0;min-width:300px;background-image:radial-gradient(#a6a88c40 .8px,transparent .8px);background-size:9px 9px}button,input{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9072e2;outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button[hidden],[hidden]{display:none!important}.game-shell{width:min(1080px,100%);margin:0 auto;padding:0 28px 28px;min-height:100dvh}.page-top{height:89px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:2px solid var(--ink);margin-bottom:26px}.wordmark{font-size:24px;font-weight:1000;letter-spacing:-1px;white-space:nowrap;display:block;line-height:1}.wordmark span{font-size:9px;letter-spacing:1px;display:block;margin-top:8px;font-weight:700}.top-actions{display:flex;align-items:center;gap:8px}.button{border:2px solid var(--ink);background:var(--paper);border-radius:8px;padding:11px 17px;min-height:44px;font-size:12px;font-weight:850;line-height:1.4;display:inline-flex;justify-content:center;align-items:center;gap:20px;transition:transform .12s,box-shadow .12s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translate(2px,2px)}.button.primary{background:var(--lime);box-shadow:var(--shadow)}.button.primary:hover{box-shadow:5px 7px 0 var(--ink)}.button.secondary{background:#fffdf6;box-shadow:2px 3px 0 var(--ink)}.button.quiet{border-color:transparent;background:transparent;padding:8px 11px;min-height:36px;font-size:11px}.button.quiet:hover{background:#e7e6dc}.button.text-button{border:0;background:transparent;padding:4px 0;min-height:32px;font-size:10px;text-decoration:underline;text-underline-offset:4px}.button:disabled{opacity:.5;box-shadow:none;transform:none}.eyebrow{font-size:9px;font-weight:850;letter-spacing:1.6px;line-height:1.7;display:block;text-transform:uppercase}.page-heading{margin:0 0 22px}.page-heading h1{font-size:33px;line-height:1.4;letter-spacing:-1.2px;font-weight:1000;margin-top:6px}.page-heading .eyebrow{color:#6c6f5f}.face{display:block;object-fit:contain;filter:drop-shadow(2px 3px 0 var(--ink));user-select:none}.face.fallback{display:grid;place-content:center;background:var(--orange);font-size:45px;font-weight:1000;border:3px solid var(--ink);border-radius:40%}.home-poster{display:grid;grid-template-columns:1.05fr 1fr;gap:35px;align-items:center;padding:35px 0 34px;min-height:510px}.poster-copy .eyebrow{font-size:9px;display:flex;gap:8px;align-items:center}.poster-copy .eyebrow i{width:7px;height:7px;background:var(--red);border-radius:50%;box-shadow:0 0 0 4px #f16e531a}.poster-copy h1{font-size:28px;line-height:1.15;margin:25px 0 21px;font-weight:1000;letter-spacing:-1px}.poster-copy h1>span{display:block;font-size:clamp(42px,5.4vw,65px);line-height:1.25;margin-top:8px;position:relative;letter-spacing:-3px}.poster-copy h1 i{position:absolute;bottom:0;margin-left:10px;color:var(--red);font-size:100px;line-height:1;text-shadow:3px 3px 0 var(--ink);-webkit-text-stroke:2px var(--ink);transform:rotate(12deg)}.poster-copy>p{font-size:12px;line-height:1.9;color:#626557}.poster-actions{display:flex;gap:12px;margin-top:27px;flex-wrap:wrap}.poster-actions .primary{font-size:15px;min-width:212px;justify-content:space-between;padding:15px 20px}.poster-tags{display:flex;gap:7px;margin-top:24px}.poster-tags span{font-size:8px;border:1px solid #9ea18f;border-radius:3px;padding:4px 8px;color:#727661}.poster-art{height:430px;position:relative;display:grid;place-items:center}.poster-burst{width:83%;aspect-ratio:1;position:absolute;border-radius:50%;background:var(--lime);background-image:repeating-conic-gradient(from 15deg,transparent 0deg 13deg,#1b1d1f12 13deg 16deg);border:3px solid var(--ink);box-shadow:8px 9px 0 #d5d6c7;transform:rotate(-12deg)}.poster-face{position:relative;z-index:1;width:95%;height:90%;transform:rotate(6deg);filter:drop-shadow(5px 5px 0 #1b1d1f)}.comic-note{position:absolute;z-index:2;background:#fffdf7;border:3px solid var(--ink);box-shadow:3px 3px 0 var(--ink);font-size:20px;line-height:1.2;font-weight:1000;padding:12px 15px;transform:rotate(-9deg);text-align:center}.note-one{top:5px;left:-3px}.note-two{bottom:35px;right:-10px;background:var(--purple);transform:rotate(8deg);font-size:14px}.poster-label{position:absolute;z-index:3;bottom:5px;left:23px;border:2px solid var(--ink);background:#fffef8;padding:8px 13px;font-size:9px;transform:rotate(-5deg)}.poster-label b{font-size:15px;margin-left:12px}.poster-sticker{position:absolute;right:4px;top:42px;z-index:2;transform:rotate(12deg);border:3px solid var(--ink);border-radius:50%;background:var(--orange);font-size:14px;padding:14px 16px;font-weight:1000;text-align:center;line-height:1.25}.home-bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;border-top:2px solid var(--ink);padding-top:20px;margin-top:5px}.home-bottom>span{font-size:10px;line-height:1.8;display:flex;gap:10px}.home-bottom b{font-family:ui-monospace,monospace;font-size:18px;color:#71785b}.page-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);padding-top:22px}.checkpoint-home{font-size:10px;color:var(--muted);margin-top:16px;display:flex;gap:15px;align-items:center;flex-wrap:wrap}.run-bar{border:2px solid var(--ink);border-radius:8px;display:flex;align-items:center;gap:25px;padding:11px 15px;background:#fffdf8;min-height:48px;font-size:11px;box-shadow:2px 3px 0 #d5d6c8}.run-bar b{font-size:14px;margin-left:3px}.run-health{color:#c04b37}.run-health small{color:#8a8a7c}.run-step{margin-left:auto;font-size:9px;color:var(--muted)}.story-strip{display:flex;align-items:center;gap:16px;font-size:10px;padding:12px 2px;flex-wrap:wrap}.story-strip>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.story-strip b{margin-left:3px}.stat-dot{width:7px;height:7px;border-radius:2px;display:inline-block;border:1px solid var(--ink)}.clarity{background:var(--lime)}.love{background:var(--orange)}.authority{background:var(--purple)}.relic-belt{display:flex;gap:6px;align-items:center;min-height:33px;flex-wrap:wrap;font-size:9px;padding:3px 0 12px}.belt-label{color:var(--muted);font-size:9px;margin-right:3px}.relic-chip{font-size:9px;display:flex;align-items:center;gap:4px;border:1px solid #b5b6a8;background:#ebeada;border-radius:5px;padding:4px 7px;min-height:27px;white-space:nowrap}.relic-chip:hover{background:var(--lime)}.relic-chip>span{font-size:13px}.empty-relic{color:#8c8d80;font-size:9px}.map-panel{background:#fffdf5;border:2px solid var(--ink);box-shadow:var(--shadow);border-radius:12px;overflow:hidden;margin-top:5px}.map-caption{padding:22px 24px 0;display:flex;justify-content:space-between;gap:18px}.map-caption h2{font-size:20px;margin-top:5px;font-weight:950}.map-caption p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:6px}.map-stamp{border:2px solid #b9beaa;transform:rotate(9deg);font-size:12px;line-height:1.5;padding:8px 11px;font-weight:900;color:#7d8667;height:57px;white-space:nowrap}.route-map{height:calc(var(--map-rows,8)*98px);min-height:520px;position:relative;margin:12px 26px 0;background-image:radial-gradient(#bfc1ad55 1px,transparent 1px);background-size:14px 14px}.route-lines{position:absolute;width:100%;height:100%;left:0;top:0;overflow:visible}.route-lines line{stroke:#bfc0af;stroke-width:1;stroke-dasharray:2 1.2;vector-effect:non-scaling-stroke}.route-lines .path-active{stroke:var(--ink);stroke-width:3;stroke-dasharray:none}.map-node{border:0;background:transparent;position:absolute;transform:translate(-50%,50%);display:flex;align-items:center;flex-direction:column;padding:0;width:86px;color:#8e9180;z-index:1}.node-circle{height:45px;width:45px;border:2px solid #b8bca9;border-radius:50%;background:#efefe4;display:grid;place-items:center;font-size:18px;font-weight:1000;transition:transform .14s}.node-label{font-size:9px;line-height:1.5;margin-top:5px;background:#fffdf5;padding:0 4px;white-space:nowrap;font-weight:750}.is-available .node-circle{background:var(--lime);border:3px solid var(--ink);color:var(--ink);box-shadow:3px 4px 0 var(--ink)}.is-available{color:var(--ink)}.is-available:hover .node-circle{transform:translateY(-4px) rotate(-6deg)}.node-go{position:absolute;top:-18px;background:var(--ink);color:var(--lime);font-size:8px;padding:3px 6px;transform:rotate(-5deg);border-radius:2px;white-space:nowrap}.is-complete .node-circle{background:#dce0ca;border-color:#8f9876;color:#65764b}.is-current .node-circle{outline:4px solid #d4ff3f99;outline-offset:4px}.node-elite .node-circle,.node-boss .node-circle{border-radius:9px;transform:rotate(5deg)}.node-boss .node-circle{width:56px;height:56px;background:#e5dce8}.node-event .node-circle{background:#ece3ff}.node-rest .node-circle{background:#e1ebdf}.node-treasure .node-circle{background:#f6e5c8}.node-checkpoint .node-circle{background:#e4edcf;border-radius:8px}.node-elite.is-available .node-circle,.node-boss.is-available .node-circle{background:var(--orange)}.node-event.is-available .node-circle{background:var(--purple)}.map-legend{border-top:1px solid #d7d9c9;padding:14px 18px;display:flex;flex-wrap:wrap;gap:13px;font-size:9px;background:#eeefe3}.map-legend>span{display:flex;gap:4px;align-items:center}.legend-icon{font-style:normal;font-size:9px;width:17px;height:17px;display:inline-grid;place-items:center;border:1px solid #9ba38b;border-radius:50%}.battle-shell{max-width:760px;margin:0 auto}.screen-battle .page-top{margin-bottom:15px}.battle-topline{display:flex;justify-content:space-between;align-items:center;font-size:10px;padding-bottom:9px;color:#7a7d6c}.battle-topline b{color:var(--ink)}.screen-battle .relic-belt{min-height:23px;padding-bottom:6px}.enemy-stage{position:relative;min-height:327px;border:2px solid var(--ink);border-radius:12px;background:#ebeede;overflow:hidden;box-shadow:3px 4px 0 #cbd0bd;background-image:radial-gradient(#a7b28e4a 1px,transparent 1px);background-size:7px 7px}.enemy-title{position:absolute;left:20px;top:19px;z-index:3}.enemy-title .eyebrow{font-size:8px;color:#76815d;letter-spacing:1px}.enemy-title h1{font-size:28px;font-weight:1000;line-height:1.3;letter-spacing:-1.5px;margin-top:4px}.intent-banner{position:absolute;z-index:5;right:17px;top:16px;border:2px solid var(--ink);border-radius:7px;display:flex;gap:9px;background:#fffdf4;box-shadow:3px 3px 0 var(--ink);padding:10px 11px;max-width:45%;min-width:145px;transform:rotate(2deg)}.intent-banner>div{min-width:0;display:grid;gap:3px}.intent-symbol{font-size:23px;font-weight:1000;align-self:center}.intent-banner small{font-size:7px;font-weight:700;color:#7b7869}.intent-banner b{font-size:12px}.intent-banner div>span{font-size:9px;line-height:1.5;color:#737461}.intent-attack{background:#ffe0bb}.enemy-illustration{height:280px;position:relative;margin-top:20px;display:flex;justify-content:center;align-items:end;padding-bottom:19px}.enemy-rays{position:absolute;width:250px;aspect-ratio:1;bottom:-12px;background:repeating-conic-gradient(from 0deg,#1b1d1f12 0deg 2deg,transparent 2deg 21deg);border-radius:50%;opacity:.7;mask-image:radial-gradient(circle,#000 35%,transparent 68%)}.enemy-scribble{position:absolute;left:14%;top:110px;font-size:19px;font-weight:1000;line-height:1.1;transform:rotate(-12deg);z-index:2;text-shadow:1px 1px 0 #fffdf8;color:#80876b}.enemy-portrait{position:relative;z-index:2;width:238px;height:230px;transform-origin:center 70%;transition:filter .12s}.enemy-portrait>.face{width:100%;height:100%;filter:drop-shadow(3px 4px 0 var(--ink));object-fit:contain}.enemy-floor{position:absolute;bottom:14px;width:160px;height:21px;border-radius:50%;background:#5b65473b;filter:blur(2px)}.enemy-vitals{position:relative;z-index:4;width:210px;margin:-15px auto 13px;background:var(--paper);border:2px solid var(--ink);border-radius:6px;padding:7px 9px;box-shadow:2px 2px 0 var(--ink)}.health-line{display:flex;justify-content:space-between;gap:7px;font-size:11px;font-weight:900}.health-line small{font-size:9px;color:#7a7d6e;font-weight:600}.shield-badge{font-size:8px;background:var(--purple);border:1px solid var(--ink);border-radius:3px;padding:1px 4px}.health-track{height:6px;background:#d5d6c9;border-radius:2px;margin-top:5px;overflow:hidden}.health-track i{display:block;height:100%;background:var(--red);transition:width .2s}.status-chips{display:flex;gap:5px;flex-wrap:wrap}.status-chips:empty{display:none}.status-chips>span{font-size:8px;background:#e5dcf2;padding:2px 5px;border-radius:3px;margin-top:5px}.player-dashboard{display:grid;grid-template-columns:1fr 1fr auto;gap:25px;align-items:center;background:#fffdf5;border:2px solid var(--ink);border-radius:8px;margin:15px 0;padding:10px 16px;box-shadow:2px 3px 0 #d7d9c8}.dashboard-label{font-size:8px;color:#7b7d6e;display:block;margin-bottom:3px}.player-health strong,.player-shield strong{font-size:19px;line-height:1.25;font-weight:1000}.player-health strong{color:#bc4a36}.player-health small{font-size:10px;color:#92927f;font-weight:600}.mini-health{height:4px;width:115px;background:#d8d9ce;border-radius:2px;margin-top:6px;overflow:hidden}.mini-health i{display:block;height:100%;background:var(--red)}.player-shield{border-left:1px solid #d6d8c9;padding-left:24px}.player-shield strong{font-size:17px}.energy-counter{display:flex;align-items:center;gap:8px}.energy-counter>span{width:43px;height:43px;display:grid;place-content:center;grid-auto-flow:column;align-items:baseline;background:var(--lime);border:2px solid var(--ink);border-radius:50%;box-shadow:2px 2px 0 var(--ink);font-size:20px;font-weight:1000;transform:rotate(7deg)}.energy-counter small{font-size:11px;margin-left:1px}.energy-counter>b{font-size:9px}.hand-section{min-width:0}.hand-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;gap:10px}.hand-heading>span>b{font-size:12px}.hand-heading small{font-size:9px;font-weight:400;color:#7d806d;margin-left:4px}.pile-actions{display:flex;gap:6px}.pile-actions button{border:1px solid #aeb39d;background:#e5e8d9;border-radius:5px;font-size:9px;padding:5px 8px;min-height:30px;white-space:nowrap}.pile-actions b{margin-left:5px}.hand{display:flex;gap:9px;overflow-x:auto;overflow-y:visible;padding:14px 4px 14px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#acb58d transparent;min-height:243px}.playing-card{--card-accent:var(--purple);font:inherit;width:134px;flex:0 0 134px;min-width:0;border:2px solid var(--ink);border-radius:8px;background:#fffdf5;box-shadow:3px 4px 0 var(--ink);padding:7px;display:flex;flex-direction:column;position:relative;text-align:left;color:var(--ink);transform-origin:bottom center;scroll-snap-align:center;transition:transform .15s,box-shadow .15s;min-height:208px;overflow:hidden}.playing-card.type-attack{--card-accent:var(--orange)}.playing-card.type-power{--card-accent:var(--lime)}button.playing-card:hover{transform:translateY(-5px) rotate(-1deg)}button.playing-card.is-selected{transform:translateY(-8px);box-shadow:0 0 0 3px var(--lime),4px 7px 0 var(--ink);z-index:3}button.playing-card:focus-visible{outline-offset:2px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:4px}.card-cost{width:22px;height:22px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:50%;background:var(--card-accent);font-weight:1000;font-size:13px;line-height:1}.card-kind{font-size:7px;letter-spacing:2px;color:#777c65}.card-name{font-size:12px;letter-spacing:-.2px;font-weight:1000;display:block;line-height:1.45;min-height:18px;white-space:normal}.card-name em{color:#6c8e1a;font-style:normal}.card-art{height:69px;width:100%;border:1.5px solid var(--ink);border-radius:3px;background:var(--card-accent);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;margin:7px 0}.art-rays{position:absolute;inset:-25px;background:repeating-conic-gradient(from 5deg,transparent 0deg 16deg,#1b1d1f1b 16deg 22deg)}.art-stamp{font-size:41px;line-height:1;font-weight:1000;display:block;transform:rotate(-15deg);color:#fffdf5;text-shadow:2px 2px 0 var(--ink),-1px -1px 0 var(--ink),1px -1px 0 var(--ink),-1px 1px 0 var(--ink);position:relative}.art-scribble{position:absolute;font-size:8px;font-weight:1000;right:4px;bottom:6px;transform:rotate(-12deg);background:#fffdf5;padding:2px 3px;border:1px solid var(--ink)}.art-stars{position:absolute;left:6px;top:5px;font-size:16px}.card-description{font-size:9px;line-height:1.7;flex:1;display:block;font-weight:600;overflow-wrap:anywhere}.card-bottom{border-top:1px solid #d9dbca;font-size:6px;letter-spacing:1px;color:#8a8e78;display:block;padding-top:4px;margin-top:5px;text-align:center}.card-playbar{display:flex;gap:15px;justify-content:space-between;align-items:center;background:#e8ebdb;border-radius:7px;min-height:57px;margin:0 1px 12px;padding:10px 11px;border:1px solid #cdd2bc}.selected-summary{display:grid;gap:4px;min-width:0}.selected-summary strong{font-size:10px}.selected-summary span{font-size:9px;color:#6f775c;line-height:1.65;overflow-wrap:anywhere}.selected-summary.muted strong{font-size:11px}.play-button{font-size:11px;padding:9px 12px;min-height:38px;gap:4px;flex-shrink:0}.turn-controls{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:0 1px}.last-log{font-size:9px;line-height:1.7;color:#797f66;max-width:65%;overflow-wrap:anywhere}.end-turn{background:var(--ink);color:var(--paper);border:2px solid var(--ink);box-shadow:3px 3px 0 #b2ba99;font-size:11px;padding:10px 14px;white-space:nowrap}.empty-hand{font-size:11px;color:#777e66;padding:65px 20px;text-align:center;width:100%;border:2px dashed #b6bda5;border-radius:8px}.reward-panel{text-align:center;border:2px solid var(--ink);background:#fffdf7;border-radius:12px;padding:28px 20px;box-shadow:var(--shadow);margin-top:8px}.victory-mark{display:inline-block;background:var(--lime);border:3px solid var(--ink);font-size:37px;font-weight:1000;line-height:1;padding:8px 14px;box-shadow:4px 4px 0 var(--ink);transform:rotate(-8deg);margin-bottom:24px}.reward-panel h2{font-size:24px;font-weight:1000;letter-spacing:-1px}.reward-panel>p{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.8}.reward-cards{display:flex;justify-content:center;gap:22px;margin:32px 0 28px;flex-wrap:wrap}.reward-cards .playing-card{width:165px;flex-basis:165px;min-height:256px;padding:10px}.reward-cards .card-name{font-size:14px}.reward-cards .card-art{height:91px}.reward-cards .card-description{font-size:11px}.encounter-panel{display:grid;grid-template-columns:1fr 1.4fr;border:2px solid var(--ink);border-radius:12px;background:#fffdf7;box-shadow:var(--shadow);overflow:hidden;margin-top:8px}.encounter-art{min-height:390px;position:relative;display:grid;place-content:center;border-right:2px solid var(--ink);background-color:var(--purple);background-image:repeating-conic-gradient(from 0deg,#1b1d1f08 0deg 10deg,transparent 10deg 23deg);text-align:center}.encounter-art>span{font-weight:1000;font-size:180px;line-height:1;transform:rotate(-9deg);text-shadow:6px 6px 0 #fffdf7;-webkit-text-stroke:3px var(--ink)}.encounter-art>i{position:absolute;bottom:62px;left:50%;transform:translateX(-50%) rotate(7deg);background:#fffdf7;border:2px solid var(--ink);box-shadow:3px 4px 0 var(--ink);padding:10px 16px;font-size:18px;font-weight:1000;white-space:nowrap;font-style:normal}.rest-art{background-color:#dbeaa9}.rest-art>span{font-size:110px}.encounter-content{padding:35px 28px}.encounter-content h2{font-size:25px;font-weight:1000;line-height:1.45;letter-spacing:-1px;margin:10px 0 13px}.encounter-content>p{font-size:12px;line-height:2;color:#70765f;white-space:pre-line}.choice-list{display:grid;gap:10px;margin-top:24px}.choice-button{border:2px solid var(--ink);border-radius:7px;background:var(--paper);text-align:left;padding:13px 14px;display:flex;align-items:center;gap:13px;box-shadow:2px 3px 0 #d9dbcb;transition:transform .12s}.choice-button:hover{background:#edf4cd;transform:translateX(3px)}.choice-index{font-weight:1000;font-size:17px;color:#858f6e;min-width:24px}.choice-button>span:nth-child(2){display:grid;gap:5px;flex:1}.choice-button b{font-size:12px}.choice-button small{font-size:10px;color:#737b61;line-height:1.6}.choice-button>span:last-child{font-weight:1000;font-size:18px}.single-feature{text-align:center;background:#fffdf7;border:2px solid var(--ink);border-radius:12px;box-shadow:var(--shadow);padding:36px 24px 40px;margin-top:8px}.relic-showcase{display:grid;place-items:center;font-size:65px;width:132px;height:132px;margin:0 auto 28px;background:var(--orange);border:3px solid var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--ink);transform:rotate(-7deg);background-image:repeating-conic-gradient(#ffffff00 0deg 19deg,#ffffff45 19deg 29deg)}.single-feature h2{font-size:31px;font-weight:1000;letter-spacing:-1px;margin:10px 0 16px}.single-feature>p{font-size:12px;color:#6c745d;line-height:2;max-width:470px;margin:0 auto 25px}.checkpoint-symbol{width:110px;height:117px;display:grid;place-items:center;margin:0 auto 30px;position:relative;background:var(--lime);border:3px solid var(--ink);box-shadow:5px 5px 0 var(--ink);border-radius:10px;font-size:57px;font-weight:1000;transform:rotate(-5deg)}.checkpoint-symbol span{position:absolute;font-size:19px;background:var(--ink);color:var(--lime);right:-12px;bottom:-12px;width:38px;height:38px;border:3px solid #fffdf7;border-radius:50%;display:grid;place-items:center}.feature-footnote{display:block;font-size:9px;color:var(--muted);margin-top:22px;line-height:1.7}.ending-panel{display:grid;grid-template-columns:.85fr 1fr;align-items:center;gap:50px;padding:25px 20px 35px}.ending-face{height:330px;position:relative;background:var(--purple);border:3px solid var(--ink);border-radius:25px;box-shadow:7px 8px 0 var(--ink);transform:rotate(-4deg);display:flex;align-items:center;justify-content:center}.ending-face>.face{width:100%;height:95%;transform:rotate(8deg)}.ending-face>span{position:absolute;bottom:-12px;right:-12px;background:var(--lime);font-weight:1000;font-size:22px;transform:rotate(9deg);padding:10px 15px;border:3px solid var(--ink);box-shadow:3px 4px 0 var(--ink)}.ending-copy h2{font-size:34px;line-height:1.4;letter-spacing:-1.5px;font-weight:1000;margin:12px 0 18px}.ending-copy>p{font-size:12px;color:#6c745d;line-height:1.9}.ending-copy>.story-strip{padding-top:22px}.ending-stats{display:flex;gap:20px;padding:8px 0 22px;font-size:9px;color:#747d61}.ending-stats>span{display:grid;gap:7px}.ending-stats b{font-size:24px;color:var(--ink)}.ending-actions{display:flex;gap:12px;flex-wrap:wrap}.settings-panel{max-width:700px;border:2px solid var(--ink);background:#fffdf7;border-radius:12px;padding:27px 28px;box-shadow:var(--shadow)}.settings-panel h2{font-size:17px;font-weight:1000;margin:0 0 12px}.settings-panel h2:not(:first-child){margin-top:28px;padding-top:24px;border-top:1px solid #d7dcc9}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;gap:20px;border-bottom:1px solid #e2e4d5}.setting-row>span{display:grid;gap:6px}.setting-row b{font-size:12px}.setting-row small{font-size:10px;color:#7a8169;line-height:1.7}.toggle{display:flex;align-items:center;gap:5px;background:#e4e6d8;border:2px solid #8d9776;border-radius:6px;min-width:70px;min-height:37px;padding:6px 8px;flex-shrink:0}.toggle>i{height:15px;width:15px;display:block;background:#9da58b;border:1px solid #758260;border-radius:3px}.toggle>span{font-size:9px;font-weight:850}.toggle.is-on{background:var(--lime);border-color:var(--ink)}.toggle.is-on>i{background:var(--ink);border-color:var(--ink)}.toggle.is-on>i:after{content:'✓';color:var(--lime);font-size:11px;display:block;text-align:center;line-height:13px}.settings-note{font-size:11px;line-height:1.9;color:#788164}.save-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.save-time{font-size:9px;color:#91987e;margin-top:17px}.settings-bottom{margin-top:25px}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);z-index:90;background:var(--ink);color:var(--paper);box-shadow:3px 4px 0 var(--lime);border:1px solid #535946;border-radius:7px;padding:13px 20px;font-size:12px;line-height:1.7;text-align:center;animation:toast-in .15s ease-out}.modal-backdrop,.modal-overlay{position:fixed;inset:0;background:#15190ed1;z-index:50;display:grid;place-items:center;padding:25px;backdrop-filter:blur(3px);overflow:auto}.modal,.modal-panel,.dialog-panel{position:relative;width:min(820px,100%);max-height:calc(100dvh - 50px);overflow-y:auto;background:var(--paper);border:3px solid var(--ink);border-radius:13px;padding:27px;box-shadow:7px 8px 0 #d4ff3f8c;overscroll-behavior:contain}.modal h2,.modal-panel h2,.dialog-panel h2{font-size:25px;font-weight:1000;line-height:1.5;margin:0 28px 8px 0}.modal h2 small{font-size:12px;color:var(--muted)}.modal-close{position:absolute;right:13px;top:12px;z-index:2;width:33px;height:33px;border:2px solid var(--ink);background:#fffdf5;border-radius:6px;font-size:19px;display:grid;place-items:center}.modal-note{font-size:11px;line-height:1.8;color:#768062;margin-bottom:22px}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:17px}.collection-grid .playing-card{width:100%;min-height:220px}.codex-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.codex-entry{min-width:0;border:2px solid var(--ink);border-radius:7px;padding:9px;background:#fffdf7;box-shadow:2px 3px 0 #ccd2bb}.codex-entry>div{height:127px;position:relative;background:#e6ead7;border:1px solid #bcc5a6;border-radius:4px;margin-bottom:10px}.codex-entry .face{width:100%;height:100%;filter:drop-shadow(1px 1px 0 var(--ink))}.codex-entry>div>span{position:absolute;right:4px;bottom:4px;font-size:8px;font-weight:850;background:var(--lime);border:1px solid var(--ink);padding:2px 5px;border-radius:3px}.codex-entry h3{font-size:12px;margin:0 0 4px}.codex-entry>small{font-size:8px;color:#85906f}.codex-entry>p{font-size:9px;line-height:1.8;color:#6f7a5c;margin-top:8px}.relic-detail{text-align:center;padding:20px 10px}.relic-detail h2{margin:10px 0!important}.relic-detail p{font-size:13px;line-height:1.9;color:#6c775b}.empty-state{padding:35px 10px;text-align:center;color:var(--muted);font-size:13px}.fx-layer{position:absolute;inset:0;z-index:10;pointer-events:none;overflow:visible}.fx-number,.damage-number,.floating-damage{position:absolute;left:50%;top:35%;font-size:48px;font-weight:1000;color:var(--lime);text-shadow:3px 3px 0 var(--ink),-1px -1px 0 var(--ink);transform:translate(-50%,-50%) rotate(-10deg);animation:damage-float .7s cubic-bezier(.2,.8,.3,1) forwards}.fx-word,.impact-word{position:absolute;left:50%;top:42%;font-size:52px;font-weight:1000;color:var(--orange);-webkit-text-stroke:2px var(--ink);text-shadow:4px 4px 0 #fffdf5;transform:translate(-50%,-50%) rotate(-14deg);animation:comic-pop .6s forwards}.fx-ring{position:absolute;left:50%;top:45%;width:45px;height:45px;border:7px solid var(--lime);border-radius:50%;box-shadow:0 0 0 3px var(--ink);animation:impact-ring .45s ease-out forwards}.enemy-portrait.is-hit{animation:enemy-hit .28s both;filter:brightness(1.25)}.enemy-portrait.is-attacking{animation:enemy-attack .34s both}.enemy-stage.is-hit{animation:stage-shake .24s both}.playing-card.is-dealing{animation:card-deal .32s cubic-bezier(.1,.7,.3,1) both;animation-delay:calc(var(--deal-index,0)*45ms)}.playing-card.is-playing{animation:card-play .28s ease-in both}.is-shaking,.screen-shake{animation:stage-shake .24s both}.no-shake .is-shaking,.no-shake .screen-shake,.no-shake .enemy-stage.is-hit{animation:none}
@keyframes card-deal{from{opacity:0;transform:translate(85px,45px) rotate(18deg) scale(.75)}to{opacity:1;transform:none}}@keyframes card-play{to{opacity:0;transform:translateY(-100px) rotate(-10deg) scale(.8)}}@keyframes enemy-hit{0%,100%{transform:none}20%{transform:translateX(10px) rotate(8deg) scale(.94,1.06)}48%{transform:translateX(-8px) rotate(-7deg) scale(1.04,.96)}75%{transform:translateX(5px) rotate(3deg)}}@keyframes enemy-attack{45%{transform:scale(1.15) translateY(12px)}70%{transform:scale(.97)}}@keyframes stage-shake{20%{transform:translate(5px,2px)}40%{transform:translate(-4px,-2px)}65%{transform:translate(3px,2px)}85%{transform:translate(-2px,0)}}@keyframes damage-float{0%{opacity:0;transform:translate(-50%,-10%) rotate(-10deg) scale(.6)}20%{opacity:1;transform:translate(-50%,-60%) rotate(-10deg) scale(1.25)}100%{opacity:0;transform:translate(-50%,-150%) rotate(-10deg) scale(.95)}}@keyframes comic-pop{0%{opacity:0;transform:translate(-50%,-50%) rotate(-14deg) scale(.3)}20%{opacity:1;transform:translate(-50%,-50%) rotate(-14deg) scale(1.2)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-65%) rotate(-14deg)}}@keyframes impact-ring{to{transform:translate(-50%,-50%) scale(5);opacity:0}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:1000px){.screen-map .map-panel{max-width:740px;margin-left:auto;margin-right:auto}.screen-map .run-bar,.screen-map>.story-strip,.screen-map>.relic-belt{max-width:740px;margin-left:auto;margin-right:auto}.screen-battle .game-shell{max-width:950px}.battle-shell{max-width:760px}.enemy-illustration{height:294px}.enemy-stage{min-height:342px}.enemy-portrait{height:250px;width:260px}.hand{justify-content:center}.hand:has(.playing-card:nth-child(6)){justify-content:flex-start}.playing-card{width:135px;flex-basis:135px}.battle-shell>.relic-belt{padding-bottom:10px}.screen-battle .page-top{margin-bottom:20px}}
@media(max-width:700px){.game-shell{padding:0 15px 24px}.page-top{height:74px;margin-bottom:20px;gap:8px}.wordmark{font-size:21px}.wordmark span{font-size:8px;margin-top:6px;letter-spacing:.5px}.top-actions{gap:0}.button.quiet{font-size:10px;padding:7px 8px}.top-actions .button[data-action="resume"]{display:none}.page-heading{margin-bottom:17px}.page-heading h1{font-size:27px;letter-spacing:-1px}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.home-poster{display:flex;flex-direction:column-reverse;gap:11px;min-height:0;padding:8px 0 25px}.poster-art{height:255px;width:290px;max-width:90%;margin:0 auto}.poster-burst{width:75%;box-shadow:5px 6px 0 #d5d6c7}.poster-face{width:86%;height:96%}.comic-note{font-size:14px;padding:8px 11px;border-width:2px}.note-one{top:7px;left:0}.note-two{right:-4px;bottom:23px;font-size:11px}.poster-label{bottom:0;left:12px;font-size:7px;padding:5px 9px}.poster-label b{font-size:11px;margin-left:8px}.poster-sticker{font-size:10px;top:24px;right:4px;padding:10px 11px;border-width:2px}.poster-copy{width:100%;padding:9px 5px 0}.poster-copy>.eyebrow{font-size:8px;letter-spacing:1px}.poster-copy h1{font-size:19px;margin:15px 0 15px}.poster-copy h1>span{font-size:45px;line-height:1.2;letter-spacing:-2px;margin-top:6px}.poster-copy h1>span>br{display:none}.poster-copy h1 i{font-size:68px;margin-left:6px;bottom:0}.poster-copy>p{font-size:10px;line-height:1.9}.poster-actions{margin-top:20px;gap:10px}.poster-actions .primary{font-size:13px;min-width:170px;padding:12px 15px;flex:1}.poster-actions .secondary{font-size:11px;padding:12px 14px}.poster-tags{margin-top:19px}.home-bottom{grid-template-columns:1fr;gap:8px;padding-top:16px}.home-bottom>span{font-size:9px;align-items:center;gap:10px}.home-bottom b{font-size:14px;line-height:1}.page-footer{font-size:8px;padding-top:13px}.page-footer .text-button{font-size:8px}.run-bar{gap:17px;padding:10px 12px;font-size:9px;min-height:45px}.run-bar b{font-size:13px}.run-health small{font-size:9px}.run-step{display:none}.story-strip{gap:12px;font-size:9px;padding:11px 1px}.story-strip b{margin-left:1px}.stat-dot{height:6px;width:6px}.relic-belt{font-size:8px;gap:5px;padding-bottom:10px}.belt-label{font-size:8px}.relic-chip{font-size:8px;min-height:25px;padding:3px 6px}.relic-chip>span{font-size:11px}.empty-relic{font-size:8px}.map-caption{padding:17px 14px 0;gap:10px}.map-caption h2{font-size:17px;margin-top:5px;letter-spacing:-.5px}.map-caption p{font-size:9px;line-height:1.9}.map-caption .eyebrow{font-size:8px;letter-spacing:1px}.map-stamp{font-size:9px;padding:6px 7px;height:44px;border-width:1.5px}.route-map{height:calc(var(--map-rows,8)*87px);margin:14px 21px 0;min-height:500px}.map-node{width:67px}.node-circle{height:38px;width:38px;font-size:16px}.node-label{font-size:8px;margin-top:4px;letter-spacing:-.2px;padding:0 1px}.node-boss .node-circle{height:45px;width:45px}.node-go{top:-16px;font-size:7px}.map-legend{font-size:8px;gap:10px;padding:12px 13px}.legend-icon{font-size:8px;width:15px;height:15px}.screen-battle .page-top{height:63px;margin-bottom:11px}.screen-battle .wordmark{font-size:18px}.screen-battle .wordmark span{font-size:7px}.screen-battle .top-actions .button{font-size:9px;padding:6px}.battle-topline{font-size:9px;padding-bottom:6px}.screen-battle .relic-belt{padding-bottom:7px;min-height:22px}.enemy-stage{min-height:270px;border-radius:10px}.enemy-title{left:13px;top:12px}.enemy-title .eyebrow{font-size:7px;letter-spacing:.5px;max-width:140px}.enemy-title h1{font-size:23px;line-height:1.4;letter-spacing:-1px;margin-top:3px;max-width:160px}.intent-banner{right:10px;top:12px;gap:5px;padding:7px 8px;max-width:45%;min-width:128px;box-shadow:2px 2px 0 var(--ink)}.intent-symbol{font-size:19px}.intent-banner b{font-size:10px}.intent-banner small{font-size:6px}.intent-banner div>span{font-size:8px;line-height:1.55}.enemy-illustration{height:233px;margin-top:16px;padding-bottom:15px}.enemy-portrait{width:190px;height:195px}.enemy-rays{width:230px;bottom:-20px}.enemy-scribble{font-size:16px;left:6%;top:113px}.enemy-vitals{width:172px;margin-top:-14px;margin-bottom:10px;padding:6px 8px}.health-line{font-size:10px}.health-line small{font-size:8px}.health-track{height:5px;margin-top:4px}.player-dashboard{padding:9px 12px;margin:12px 0 12px;gap:18px}.player-health strong{font-size:17px}.player-health small{font-size:9px}.player-shield{padding-left:14px}.player-shield strong{font-size:15px}.dashboard-label{font-size:7px;margin-bottom:3px}.mini-health{width:97px;height:3px;margin-top:5px}.energy-counter{gap:6px}.energy-counter>span{width:38px;height:38px;font-size:18px}.energy-counter small{font-size:9px}.energy-counter>b{display:none}.hand-heading{font-size:9px;gap:6px}.hand-heading>span>b{font-size:10px}.hand-heading small{font-size:8px;display:block;margin:3px 0 0}.pile-actions{gap:5px}.pile-actions button{font-size:8px;min-height:29px;padding:4px 6px}.hand{gap:8px;margin:0 -2px;padding:14px 4px 12px;min-height:216px}.playing-card{flex-basis:118px;width:118px;min-height:190px;padding:6px;border-radius:7px;box-shadow:2px 3px 0 var(--ink)}.card-top{margin-bottom:3px}.card-cost{width:20px;height:20px;font-size:12px}.card-kind{font-size:6px;letter-spacing:1px}.card-name{font-size:11px;min-height:17px}.card-art{height:59px;margin:6px 0;border-width:1px}.art-stamp{font-size:36px}.art-scribble{font-size:7px;bottom:4px;right:3px}.art-stars{font-size:13px;top:4px;left:4px}.card-description{font-size:8px;line-height:1.7}.card-bottom{font-size:5px;padding-top:4px}.card-playbar{margin-bottom:10px;gap:8px;padding:8px;min-height:54px}.selected-summary{gap:3px}.selected-summary strong{font-size:9px}.selected-summary span{font-size:8px;line-height:1.65}.selected-summary.muted strong{font-size:10px}.play-button{font-size:10px;min-height:36px;padding:8px 10px;box-shadow:2px 3px 0 var(--ink)!important}.turn-controls{gap:10px}.last-log{font-size:8px;line-height:1.7;max-width:60%}.end-turn{font-size:10px;padding:10px 12px;min-height:40px;gap:14px;box-shadow:2px 3px 0 #b2ba99}.reward-panel{padding:24px 12px;border-radius:10px}.victory-mark{font-size:29px;padding:7px 11px;margin-bottom:22px}.reward-panel h2{font-size:20px}.reward-panel>p{font-size:10px}.reward-cards{gap:10px;margin:26px 0}.reward-cards .playing-card{width:calc((100% - 20px)/3);flex-basis:calc((100% - 20px)/3);min-height:205px;padding:6px;box-shadow:2px 3px 0 var(--ink)}.reward-cards .card-name{font-size:10px}.reward-cards .card-art{height:62px}.reward-cards .card-description{font-size:8px}.reward-cards .card-cost{width:20px;height:20px;font-size:11px}.reward-cards .card-kind{font-size:6px}.reward-panel>.button{font-size:10px;min-height:40px}.encounter-panel{grid-template-columns:1fr;border-radius:10px}.encounter-art{min-height:155px;max-height:180px;border-right:0;border-bottom:2px solid var(--ink)}.encounter-art>span{font-size:105px;text-shadow:4px 4px 0 #fffdf7;-webkit-text-stroke:2px var(--ink);transform:rotate(-12deg) translateX(-35px)}.encounter-art>i{bottom:27px;left:62%;font-size:15px;padding:8px 12px}.rest-art>span{font-size:70px}.encounter-content{padding:23px 17px}.encounter-content>.eyebrow{font-size:8px}.encounter-content h2{font-size:22px;line-height:1.4;margin:8px 0 12px}.encounter-content>p{font-size:11px;line-height:2}.choice-list{gap:10px;margin-top:21px}.choice-button{padding:12px 11px;gap:11px}.choice-index{font-size:16px;min-width:21px}.choice-button b{font-size:11px}.choice-button small{font-size:9px}.single-feature{padding:28px 19px 32px}.relic-showcase{font-size:54px;width:110px;height:110px;margin-bottom:26px;box-shadow:4px 5px 0 var(--ink);border-radius:16px}.single-feature h2{font-size:26px;line-height:1.4;margin:10px 0 14px}.single-feature>.eyebrow{font-size:8px}.single-feature>p{font-size:11px;line-height:2}.single-feature .button{font-size:11px}.checkpoint-symbol{font-size:48px;width:94px;height:100px;box-shadow:4px 4px 0 var(--ink);margin-bottom:25px}.feature-footnote{font-size:8px}.ending-panel{display:flex;flex-direction:column;gap:38px;padding:13px 3px 24px}.ending-face{width:235px;height:235px;border-radius:20px;box-shadow:5px 6px 0 var(--ink)}.ending-face>span{font-size:18px;padding:9px 12px}.ending-copy{width:100%;padding:0 5px}.ending-copy>.eyebrow{font-size:8px}.ending-copy h2{font-size:29px;margin:11px 0 15px;letter-spacing:-1px}.ending-copy>p{font-size:11px}.ending-copy>.story-strip{padding-top:20px}.ending-stats{gap:24px;font-size:9px;padding-bottom:22px}.ending-stats b{font-size:22px}.ending-actions{gap:10px}.ending-actions>.button{font-size:11px;padding:10px 13px}.settings-panel{padding:22px 17px;border-radius:10px}.settings-panel h2{font-size:16px}.setting-row{gap:13px;padding:15px 0}.setting-row b{font-size:11px}.setting-row small{font-size:9px}.toggle{min-width:64px;min-height:34px;padding:6px;gap:5px}.toggle>span{font-size:8px}.settings-panel h2:not(:first-child){margin-top:22px;padding-top:20px}.settings-note{font-size:10px}.save-actions{gap:8px}.save-actions>.button{font-size:10px;padding:9px 12px;min-height:39px}.settings-bottom>.button{font-size:11px}.toast{bottom:max(17px,env(safe-area-inset-bottom));padding:11px 16px;font-size:11px;min-width:190px}.modal-backdrop,.modal-overlay{padding:16px}.modal,.modal-panel,.dialog-panel{padding:22px 16px;max-height:calc(100dvh - 32px);border-radius:10px;box-shadow:4px 5px 0 #d4ff3f8c}.modal h2,.modal-panel h2,.dialog-panel h2{font-size:21px;margin-right:28px}.modal-note{font-size:10px;margin-bottom:18px}.modal-close{width:29px;height:29px;right:10px;top:10px;font-size:16px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.collection-grid .playing-card{min-height:230px;padding:8px}.collection-grid .card-name{font-size:13px}.collection-grid .card-art{height:82px}.collection-grid .card-description{font-size:10px}.codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.codex-entry>div{height:124px}.codex-entry{padding:8px}.codex-entry h3{font-size:11px}.codex-entry>small{font-size:8px}.codex-entry>p{font-size:9px}.fx-number,.damage-number,.floating-damage{font-size:40px}.fx-word,.impact-word{font-size:42px}}
@media(max-width:350px){.game-shell{padding:0 11px 20px}.page-top{height:67px;gap:4px}.wordmark{font-size:19px}.wordmark span{font-size:7px}.button.quiet{font-size:9px;padding:6px}.page-heading h1{font-size:24px}.page-heading .eyebrow{font-size:7px}.poster-art{width:260px;height:235px}.poster-copy h1>span{font-size:37px;letter-spacing:-2px}.poster-copy h1 i{font-size:56px;-webkit-text-stroke:1.5px var(--ink)}.poster-copy h1{font-size:17px}.poster-copy>p{font-size:9px}.poster-copy>.eyebrow{font-size:7px}.poster-actions .primary{font-size:12px;min-width:155px;padding:12px}.poster-actions .secondary{font-size:10px;padding:12px 10px}.home-poster{gap:8px;padding-bottom:22px}.poster-tags span{font-size:7px}.run-bar{gap:13px;padding:9px 10px}.run-bar b{font-size:12px}.story-strip{font-size:8px;gap:9px}.story-strip>span{gap:4px}.empty-relic{font-size:7px}.map-caption{padding:15px 11px 0}.map-caption h2{font-size:15px}.map-caption p{font-size:8px}.map-stamp{display:none}.route-map{margin-left:19px;margin-right:19px}.node-label{font-size:7px}.node-circle{height:34px;width:34px;font-size:14px}.node-boss .node-circle{height:41px;width:41px}.map-node{width:60px}.map-legend{gap:8px;font-size:7px}.screen-battle .page-top{height:59px}.screen-battle .wordmark{font-size:17px}.screen-battle .top-actions .button{font-size:8px;padding:5px}.screen-battle .wordmark span{font-size:6px}.battle-topline{font-size:8px}.enemy-stage{min-height:251px}.enemy-title{left:10px;top:11px}.enemy-title h1{font-size:21px;max-width:133px}.enemy-title .eyebrow{font-size:6px;max-width:125px}.intent-banner{right:8px;top:11px;min-width:115px;padding:6px;max-width:45%;gap:4px}.intent-banner b{font-size:9px}.intent-banner div>span{font-size:7px}.intent-symbol{font-size:16px}.enemy-illustration{height:217px;margin-top:13px}.enemy-portrait{height:183px;width:179px}.enemy-scribble{left:5%;font-size:14px;top:105px}.enemy-vitals{width:157px;margin-top:-15px;margin-bottom:9px}.player-dashboard{gap:12px;padding:8px 10px;margin:10px 0}.player-health strong{font-size:15px}.player-health small{font-size:8px}.mini-health{width:85px}.player-shield{padding-left:10px}.player-shield strong{font-size:14px}.energy-counter>span{width:35px;height:35px;font-size:17px}.hand{gap:7px;min-height:205px}.playing-card{width:111px;flex-basis:111px;min-height:181px;padding:5px}.card-name{font-size:10px}.card-art{height:54px;margin:5px 0}.card-description{font-size:7.5px}.art-stamp{font-size:33px}.hand-heading small{font-size:7px}.hand-heading>span>b{font-size:9px}.pile-actions button{font-size:7px;padding:4px 5px}.pile-actions b{margin-left:3px}.card-playbar{padding:7px;gap:7px}.selected-summary strong{font-size:8px}.selected-summary span{font-size:7px}.selected-summary.muted strong{font-size:9px}.play-button{font-size:9px;min-height:34px;padding:7px 8px}.last-log{font-size:7px}.end-turn{font-size:9px;padding:9px 10px;gap:10px}.reward-panel{padding-left:9px;padding-right:9px}.reward-panel h2{font-size:18px}.reward-cards{gap:7px}.reward-cards .playing-card{width:calc((100% - 14px)/3);flex-basis:calc((100% - 14px)/3);padding:4px;min-height:190px}.reward-cards .card-name{font-size:9px;letter-spacing:-.4px}.reward-cards .card-kind{letter-spacing:0;font-size:5px}.reward-cards .card-art{height:52px}.reward-cards .card-description{font-size:7px}.reward-cards .card-cost{width:18px;height:18px;font-size:10px}.reward-cards .card-bottom{letter-spacing:0;font-size:5px}.reward-panel>p{font-size:9px}.encounter-content{padding:20px 14px}.encounter-content h2{font-size:21px}.choice-button{padding:11px 10px;gap:9px}.choice-index{font-size:14px;min-width:18px}.choice-button b{font-size:10px}.choice-button small{font-size:8px}.setting-row{gap:11px}.setting-row small{font-size:8px}.setting-row b{font-size:10px}.settings-panel{padding:20px 14px}.settings-panel h2{font-size:15px}.toggle{min-width:60px}.save-actions>.button{font-size:9px;padding:9px 10px}.ending-copy h2{font-size:26px}.ending-copy>p{font-size:10px}.ending-actions>.button{font-size:10px;padding:10px 11px}.ending-stats{gap:22px}.collection-grid{gap:12px}.collection-grid .playing-card{padding:6px;min-height:208px}.collection-grid .card-name{font-size:11px}.collection-grid .card-art{height:68px}.collection-grid .card-description{font-size:9px}.codex-entry>div{height:105px}.codex-entry h3{font-size:10px}.codex-entry>p{font-size:8px}}
@media(orientation:landscape) and (max-height:520px){.game-shell{padding-left:22px;padding-right:22px}.page-top{height:61px}.home-poster{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;min-height:270px;padding:10px 0 22px}.poster-art{width:235px;height:240px;grid-column:2;grid-row:1}.poster-copy{grid-column:1;grid-row:1}.poster-copy h1>span{font-size:40px}.poster-copy h1>span>br{display:none}.poster-copy h1 i{font-size:60px}.poster-actions .primary{font-size:12px;padding:11px;min-width:160px}.poster-tags{margin-top:15px}.home-bottom{grid-template-columns:repeat(3,1fr);gap:13px}.home-bottom>span{font-size:8px}.battle-shell{max-width:640px}.enemy-stage{min-height:245px}.enemy-illustration{height:212px}.enemy-portrait{height:190px;width:190px}.enemy-title h1{font-size:24px}.enemy-vitals{margin-top:-15px}.hand{justify-content:flex-start}.encounter-panel{grid-template-columns:.8fr 1.2fr}.encounter-art{max-height:none;border-right:2px solid var(--ink);border-bottom:0}.ending-panel{display:grid;grid-template-columns:.8fr 1fr;gap:35px}.ending-face{width:220px;height:230px}.ending-copy h2{font-size:27px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.codex-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.playing-card.is-dealing{opacity:1}.playing-card.is-playing{opacity:0}.fx-number,.damage-number,.floating-damage,.fx-word,.impact-word{animation:reduced-fade .5s linear forwards!important}.fx-ring{display:none}}@keyframes reduced-fade{0%,60%{opacity:1}100%{opacity:0}}
@media(max-width:700px){.enemy-title{width:calc(55% - 28px);max-width:calc(55% - 28px);right:auto}.enemy-title h1{font-size:22px;max-width:100%;line-height:1.35;overflow-wrap:anywhere}.enemy-title .eyebrow{max-width:100%;line-height:1.6}.battle-state-strip{font-size:8px;gap:5px;margin:-4px 0 10px}.battle-state-strip>span{padding:3px 5px}.card-playbar .selected-summary span{font-size:10px;line-height:1.65}.card-playbar .selected-summary strong{font-size:11px}.card-playbar:has(.play-button){align-items:flex-start}.card-description{font-size:9px}.hand .playing-card{min-height:198px}.hand{min-height:224px}}
@media(max-width:350px){.enemy-title{width:calc(55% - 24px);max-width:calc(55% - 24px)}.enemy-title h1{font-size:20px}.card-playbar .selected-summary span{font-size:9px}.card-playbar .selected-summary strong{font-size:10px}.card-description{font-size:8px}.hand .playing-card{min-height:189px}.hand{min-height:215px}.battle-state-strip{font-size:7px}}
.enemy-title h1{display:block;width:max-content;max-width:100%;background:#f4f2e9;border:1.5px solid var(--ink);border-radius:3px;box-shadow:2px 2px 0 var(--ink);padding:3px 6px;overflow-wrap:anywhere}
@media(max-width:700px){.enemy-title h1{font-size:20px;padding:3px 5px}}
@media(max-width:350px){.enemy-title h1{font-size:17px}}
.enemy-name-detail:before{content:' · '}
@media(max-width:700px){.enemy-name-detail{display:block;font-size:17px;line-height:1.4;letter-spacing:-.7px}.enemy-name-detail:before{content:''}}
@media(max-width:350px){.enemy-name-detail{font-size:16px}}
/* Keep the comic layout readable on an actual phone, including reward choices. */
.eyebrow{font-size:11px;letter-spacing:.9px}.wordmark span{font-size:10px}.button,.button.quiet{font-size:12px}.poster-copy>.eyebrow{font-size:11px}.poster-copy>p{font-size:14px}.poster-tags span{font-size:11px}.home-bottom>span{font-size:12px}.page-footer,.page-footer .text-button{font-size:11px}.checkpoint-home{font-size:12px}.run-bar{font-size:12px}.run-bar b{font-size:15px}.run-step{font-size:11px}.story-strip{font-size:12px;gap:15px}.belt-label,.empty-relic{font-size:11px}.relic-chip{font-size:11px;min-height:31px}.relic-chip>span{font-size:15px}.map-caption p{font-size:12px}.map-legend{font-size:11px;gap:13px}.legend-icon{font-size:10px;width:19px;height:19px}.node-label{font-size:11px;margin-top:6px}.node-go{font-size:10px;top:-22px;padding:3px 7px}.map-node{width:95px}.battle-topline{font-size:12px}.enemy-title .eyebrow{font-size:10px;letter-spacing:.2px}.intent-banner small{font-size:10px}.intent-banner b{font-size:13px}.intent-banner div>span{font-size:11px}.intent-banner{max-width:45%;min-width:160px;padding:10px}.health-line{font-size:13px}.health-line small{font-size:11px}.shield-badge{font-size:11px}.status-chips>span{font-size:11px;padding:3px 5px}.dashboard-label{font-size:11px}.player-health small{font-size:12px}.energy-counter>b{font-size:11px}.hand-heading,.hand-heading>span>b{font-size:13px}.hand-heading small{font-size:11px}.pile-actions button{font-size:11px;min-height:34px;padding:5px 9px}.playing-card{width:150px;flex-basis:150px;min-height:254px;padding:8px}.card-cost{height:26px;width:26px;font-size:15px}.card-kind{font-size:10px;letter-spacing:.4px}.card-name{font-size:14px;line-height:1.45;min-height:21px}.card-art{height:78px;margin:8px 0}.card-description{font-size:11px;line-height:1.7}.card-bottom{font-size:10px;letter-spacing:0;padding-top:5px;margin-top:7px}.art-scribble{font-size:10px}.art-stamp{font-size:45px}.hand{gap:11px;min-height:289px;padding:15px 5px 20px}.selected-summary strong,.selected-summary.muted strong{font-size:13px}.selected-summary span{font-size:12px;line-height:1.7}.play-button{font-size:12px;min-height:43px;padding:10px 12px}.card-playbar{padding:11px 12px;min-height:66px}.last-log{font-size:11px;line-height:1.8}.end-turn{font-size:12px;min-height:44px}.battle-state-strip{font-size:11px;gap:7px}.battle-state-strip>span{padding:4px 6px}.reward-panel>p{font-size:12px}.reward-cards .playing-card{width:175px;flex-basis:175px;padding:10px;min-height:285px}.reward-cards .card-name{font-size:15px}.reward-cards .card-description{font-size:12px}.reward-cards .card-art{height:92px}.reward-cards .card-cost{height:26px;width:26px;font-size:15px}.reward-cards .card-kind{font-size:10px;letter-spacing:.3px}.reward-cards .card-bottom{font-size:10px}.encounter-content>p{font-size:14px}.choice-button b{font-size:14px}.choice-button small{font-size:12px;line-height:1.8}.single-feature>p{font-size:14px}.single-feature>.eyebrow{font-size:11px}.feature-footnote{font-size:11px}.ending-copy>p{font-size:14px}.ending-stats{font-size:12px}.setting-row b{font-size:14px}.setting-row small{font-size:12px;line-height:1.8}.toggle{min-width:79px;min-height:42px;padding:7px}.toggle>span{font-size:11px}.settings-note{font-size:12px}.save-time{font-size:11px;line-height:1.7}.save-actions>.button{font-size:12px}.settings-bottom>.button{font-size:13px}.modal-note{font-size:12px}.codex-entry>p{font-size:12px}.codex-entry h3{font-size:14px}.codex-entry>small{font-size:11px}.codex-entry>div>span{font-size:11px}.collection-grid .card-name{font-size:14px}.collection-grid .card-description{font-size:12px}.collection-grid .playing-card{min-height:265px}.empty-state{font-size:13px}
@media(min-width:1000px){.battle-shell{max-width:840px}.playing-card{width:150px;flex-basis:150px}.hand{justify-content:center}}
@media(max-width:700px){.game-shell{padding-left:13px;padding-right:13px}.wordmark span{font-size:9px}.top-actions .button,.screen-battle .top-actions .button{font-size:11px;padding:7px}.poster-copy>.eyebrow{font-size:10px;letter-spacing:.3px}.poster-copy>p{font-size:12px;line-height:1.9}.poster-tags span{font-size:10px}.home-bottom>span{font-size:11px}.page-footer,.page-footer .text-button{font-size:10px}.poster-copy h1>span{font-size:42px}.run-bar{font-size:11px;gap:16px}.run-bar b{font-size:14px}.run-health small{font-size:11px}.story-strip{font-size:11px;gap:13px;line-height:1.8}.belt-label,.empty-relic{font-size:10px}.relic-chip{font-size:10px;min-height:29px}.relic-chip>span{font-size:13px}.map-caption p{font-size:11px}.map-caption .eyebrow,.page-heading .eyebrow{font-size:10px;letter-spacing:.4px}.route-map{height:calc(var(--map-rows,8)*98px);margin-left:24px;margin-right:24px}.node-label{font-size:10px}.node-go{font-size:9px;top:-21px}.map-node{width:82px}.map-legend{font-size:10px;gap:11px}.battle-topline{font-size:11px}.enemy-title{width:calc(53% - 19px);max-width:calc(53% - 19px)}.enemy-title .eyebrow{font-size:9px;line-height:1.6}.intent-banner{min-width:135px;max-width:45%;padding:7px;gap:5px}.intent-banner small{font-size:9px}.intent-banner b{font-size:12px}.intent-banner div>span{font-size:10px;line-height:1.65}.intent-symbol{font-size:19px}.enemy-title h1{font-size:19px}.enemy-name-detail{font-size:17px}.health-line{font-size:12px}.health-line small{font-size:10px}.status-chips>span{font-size:10px}.enemy-vitals{width:190px}.player-dashboard{padding:11px 13px;gap:15px}.dashboard-label{font-size:10px}.player-health strong{font-size:19px}.player-health small{font-size:11px}.player-shield strong{font-size:17px}.energy-counter>span{height:42px;width:42px;font-size:20px}.energy-counter small{font-size:11px}.hand-heading>span>b{font-size:12px}.hand-heading small{font-size:10px;margin-top:4px}.pile-actions button{font-size:10px;min-height:33px;padding:5px 7px}.hand{gap:10px;min-height:286px;padding:16px 5px 19px}.hand .playing-card{width:150px;flex-basis:150px;min-height:251px;padding:8px}.card-name{font-size:13px;min-height:20px}.card-cost{height:25px;width:25px;font-size:14px}.card-kind{font-size:10px;letter-spacing:0}.card-art{height:77px;margin:8px 0}.card-description{font-size:11px;line-height:1.75}.card-bottom{font-size:9px;letter-spacing:0}.art-scribble{font-size:10px}.art-stamp{font-size:44px}.card-playbar .selected-summary strong{font-size:13px}.card-playbar .selected-summary span{font-size:12px}.play-button{font-size:11px;min-height:41px;padding:9px 10px}.selected-summary.muted strong{font-size:12px}.last-log{font-size:10px}.end-turn{font-size:12px;padding:10px 13px;min-height:44px}.battle-state-strip{font-size:10px}.reward-panel h2{font-size:21px}.reward-panel>p{font-size:12px}.reward-cards{flex-wrap:nowrap;justify-content:flex-start;gap:15px;overflow-x:auto;scroll-snap-type:x proximity;margin:20px -5px 22px;padding:8px 7px 19px;scrollbar-width:thin;scrollbar-color:#acb58d transparent}.reward-cards .playing-card{width:170px;flex-basis:170px;min-height:282px;padding:9px}.reward-cards .card-name{font-size:14px}.reward-cards .card-description{font-size:12px}.reward-cards .card-art{height:88px}.reward-cards .card-cost{width:25px;height:25px;font-size:14px}.reward-cards .card-kind{font-size:10px}.reward-cards .card-bottom{font-size:9px}.reward-panel>.button{font-size:12px}.encounter-content>.eyebrow{font-size:10px}.encounter-content>p{font-size:13px}.choice-button b{font-size:13px}.choice-button small{font-size:12px;line-height:1.8}.choice-button{padding:13px 11px;gap:10px}.choice-index{font-size:17px;min-width:21px}.single-feature>p{font-size:13px}.single-feature>.eyebrow{font-size:10px}.single-feature .button{font-size:12px}.feature-footnote{font-size:10px}.ending-copy>.eyebrow{font-size:10px}.ending-copy>p{font-size:13px}.ending-stats{font-size:11px}.ending-actions>.button{font-size:12px}.setting-row b{font-size:13px}.setting-row small{font-size:12px}.settings-note{font-size:12px}.settings-panel .button{font-size:12px}.toggle>span{font-size:11px}.toggle{min-width:76px;min-height:41px}.save-time{font-size:11px}.collection-grid .card-name{font-size:13px}.collection-grid .card-description{font-size:11px}.collection-grid .playing-card{min-height:255px;padding:8px}.collection-grid .card-art{height:82px}.modal-note{font-size:12px}.codex-entry h3{font-size:13px}.codex-entry>p{font-size:11px}.codex-entry>small{font-size:10px}}
@media(max-width:350px){.game-shell{padding-left:11px;padding-right:11px}.wordmark{font-size:18px}.wordmark span,.screen-battle .wordmark span{font-size:8px}.top-actions .button,.screen-battle .top-actions .button{font-size:10px;padding:6px}.poster-copy h1>span{font-size:36px;letter-spacing:-2px}.poster-copy>p{font-size:12px}.run-bar{font-size:11px;gap:13px}.story-strip{font-size:10px;gap:10px}.map-caption h2{font-size:17px}.map-caption p{font-size:11px}.node-label{font-size:10px}.node-circle{width:37px;height:37px;font-size:16px}.map-node{width:77px}.map-legend{font-size:10px;gap:10px}.enemy-title h1{font-size:17px}.enemy-title .eyebrow{font-size:8px}.enemy-name-detail{font-size:15px}.intent-banner{min-width:123px;padding:6px;max-width:44%;gap:4px}.intent-banner small{font-size:8px}.intent-banner b{font-size:11px}.intent-banner div>span{font-size:10px}.enemy-vitals{width:177px}.dashboard-label{font-size:10px}.player-health strong{font-size:17px}.player-health small{font-size:10px}.player-shield strong{font-size:16px}.energy-counter>span{width:39px;height:39px;font-size:19px}.hand-heading>span>b{font-size:12px}.hand-heading small{font-size:10px}.pile-actions button{font-size:10px;padding:5px 6px}.hand{min-height:286px}.hand .playing-card{width:150px;flex-basis:150px;min-height:251px;padding:8px}.card-name{font-size:13px}.card-description{font-size:11px}.card-art{height:77px}.card-kind{font-size:10px}.card-cost{font-size:14px;width:25px;height:25px}.card-bottom{font-size:9px}.card-playbar .selected-summary strong{font-size:12px}.card-playbar .selected-summary span{font-size:12px}.play-button{font-size:11px;padding:9px;min-height:41px}.last-log{font-size:10px}.end-turn{font-size:11px;padding:10px 11px}.reward-cards .playing-card{width:170px;flex-basis:170px;min-height:282px;padding:9px}.reward-cards .card-name{font-size:14px}.reward-cards .card-description{font-size:12px}.reward-cards .card-art{height:88px}.reward-cards .card-cost{width:25px;height:25px;font-size:14px}.reward-cards .card-kind{font-size:10px}.reward-cards .card-bottom{font-size:9px}.reward-panel>p{font-size:12px}.choice-button b{font-size:13px}.choice-button small{font-size:12px}.setting-row b{font-size:13px}.setting-row small{font-size:12px}.settings-panel .button{font-size:12px}.settings-note{font-size:12px}.ending-copy>p{font-size:13px}.ending-actions>.button{font-size:12px}}
/* 选人界面 */
.hero-select{max-width:1120px;margin:38px auto 60px;padding:0 24px}
.hero-hint{font-size:13px;color:#6d6f63;margin:0 0 16px}
.hero-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media(max-width:980px){.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hero-grid{grid-template-columns:minmax(0,1fr)}}
.hero-card{display:flex;flex-direction:column;gap:10px;text-align:left;background:#fffdf5;border:2px solid #1b1d1f;border-radius:16px;padding:13px;box-shadow:5px 6px 0 #1b1d1f;cursor:pointer;transition:transform .12s,box-shadow .12s;font:inherit;color:inherit}
.hero-card:hover{transform:translateY(-3px);box-shadow:7px 9px 0 #1b1d1f}
.hero-card:active{transform:translateY(1px);box-shadow:3px 4px 0 #1b1d1f}
.hero-face img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:2px solid #1b1d1f;background:var(--hero-tint,#d4ff3f)}
.hero-body{display:block}
.hero-body b{display:block;font-size:19px;font-weight:1000;letter-spacing:-.4px}
.hero-body em{font-style:normal;font-size:11px;color:#83857a;letter-spacing:1px}
.hero-stats{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 5px;font-size:11px;font-weight:800}
.hero-stats i{font-style:normal;background:#eef3dc;border:1px solid #cdd6b6;border-radius:5px;padding:2px 6px}
.hero-body p{font-size:12px;line-height:1.65;color:#43453d;margin:0}
.hero-relic{display:inline-block;margin-top:9px;font-size:11px;font-weight:800;background:var(--hero-tint,#d4ff3f);border:1.5px solid #1b1d1f;border-radius:6px;padding:3px 8px}
.hero-back{margin-top:20px}
.card-flavor{display:-webkit-box;margin-top:5px;font-size:9px;font-style:italic;line-height:1.45;opacity:.62;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* ===== 沙雕排版美术：无图片方案 ===== */

/* 选人：大字立绘 */
.hero-glyph{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border:3px solid #1b1d1f;border-radius:14px;overflow:hidden;background:repeating-linear-gradient(45deg,var(--hero-tint,#d4ff3f) 0 14px,#fffdf5 14px 28px)}
.hero-glyph:after{content:'';position:absolute;inset:0;background-image:radial-gradient(#1b1d1f22 1.2px,transparent 1.3px);background-size:6px 6px;pointer-events:none}
.hero-glyph b{position:relative;z-index:1;font-size:clamp(60px,16vw,104px);font-weight:1000;line-height:1;color:#fff;-webkit-text-stroke:4px #1b1d1f;paint-order:stroke fill;transform:rotate(-9deg);text-shadow:6px 7px 0 #1b1d1f}
.hero-glyph em{position:absolute;right:7px;bottom:9px;z-index:2;writing-mode:vertical-rl;font-style:normal;font-size:13px;font-weight:1000;letter-spacing:3px;color:#1b1d1f;background:#fffdf5aa;padding:4px 3px;border-radius:4px}
.hero-glyph i{position:absolute;left:7px;top:7px;z-index:2;font-style:normal;font-size:9px;font-weight:900;letter-spacing:1px;background:#1b1d1f;color:#fff;padding:3px 6px;border-radius:3px;transform:rotate(-4deg)}

/* 事件：场景贴纸横幅 */
.event-art{position:relative}
.event-art b{position:absolute;right:8px;bottom:8px;font-size:12px;font-weight:1000;letter-spacing:2px;background:#d4ff3f;border:2px solid #1b1d1f;box-shadow:3px 3px 0 #1b1d1f;padding:3px 8px;transform:rotate(-4deg);color:#1b1d1f}

/* 遗物：统一贴纸底座，emoji 放大 */
.battle-relic{transition:transform .12s}
.battle-relic:nth-child(odd){transform:rotate(-3deg)}
.battle-relic:nth-child(even){transform:rotate(3deg)}
.battle-relic:hover{transform:rotate(0) scale(1.12)}

/* 道具格：emoji 再放大一点 */
.item-slot > span{font-size:1.25em;line-height:1}
.pick-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:60vh;overflow:auto;padding:4px}
.pick-card{border:0;background:none;padding:0;cursor:pointer}
.pick-card .playing-card{pointer-events:none;transform:scale(.92);transform-origin:top center}
.pick-card:hover .playing-card{transform:scale(.96) rotate(-1deg)}