/* V23 FAST adventure: crisp pixel scene, natural dialogue, minimal text per step */
.v23-pixel-game{position:fixed;inset:0;z-index:120;display:flex;flex-direction:column;box-sizing:border-box;color:#f0f1e7;background:#091923;font-family:system-ui,-apple-system,'Microsoft YaHei',sans-serif}
.v23-pixel-game[hidden]{display:none!important}
.v23-pixel-game button{cursor:pointer;font-family:inherit}
.v23-top{height:68px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:9px clamp(14px,3vw,42px);border-bottom:2px solid #355865;background:#102b37;box-sizing:border-box}
.v23-kicker{font-size:10px;color:#efcb8a;letter-spacing:.12em;font-weight:800}.v23-top h2{font-size:20px;line-height:1.3;margin:3px 0 0;letter-spacing:.03em}.v23-top-right{display:flex;align-items:center;gap:16px;font-size:12px;color:#b9d8d9}.v23-top-right button,.v23-story-top button{border:1px solid #517783;background:#183846;color:#e5f1ec;border-radius:8px;padding:9px 13px}
.v23-panel{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:clamp(10px,2vw,24px);box-sizing:border-box;background:radial-gradient(circle at 30% 2%,#20475a,#081821 75%)}
.v23-choose{max-width:1040px;width:100%;margin:auto}.v23-intro{text-align:center;margin:10px auto 29px;max-width:680px}.v23-intro>span{color:#e8ce94;font-size:12px;letter-spacing:.15em}.v23-intro h3{font-size:clamp(23px,3vw,36px);margin:12px 0}.v23-intro p{font-size:13px;color:#c3d7d8;line-height:1.7}
.v23-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.v23-role{background:#14343f;color:#eaf2e8;border:2px solid #386674;border-radius:13px;text-align:left;display:flex;flex-direction:column;gap:9px;padding:22px 20px;min-height:244px;transition:transform .14s,border-color .14s}.v23-role:hover,.v23-role:focus-visible{transform:translateY(-3px);border-color:#e9cb8c;outline-offset:3px}.v23-role-icon{display:grid;place-items:center;border-radius:11px;width:54px;height:54px;background:#456b6e;color:#ffe1a9;font-size:32px}.v23-role b{font-size:22px}.v23-role small{font-size:12px;color:#bfd1d0}.v23-role>span:nth-last-child(2){font-size:13px;color:#e0d7b9}.v23-role em{font-style:normal;font-size:12px;color:#ffda91;margin-top:auto}.v23-honesty{font-size:11px;line-height:1.8;color:#9ab7c0;text-align:center;margin-top:24px}
.v23-game-layout{width:min(1230px,100%);display:grid;grid-template-columns:minmax(0,1.62fr) minmax(280px,.84fr);align-items:stretch;gap:16px;margin:auto;min-height:520px}.v23-world-wrap{display:flex;flex-direction:column;min-width:0;border:2px solid #477785;background:#0d2a37;border-radius:12px;overflow:hidden}.v23-stagebar{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:8px 16px;background:#163844}.v23-stagebar>div:first-child{display:grid;gap:5px}.v23-stagebar b{font-size:15px}.v23-stagebar span{font-size:11px;color:#c0d8d8}.v23-tokens{display:flex;gap:5px}.v23-tokens span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #416a6e;background:#244751;border-radius:6px;color:#839da5}.v23-tokens span.filled{color:#f7d590;background:#445b53;border-color:#bc9959}
.v23-canvas-wrap{position:relative;flex:1;display:flex;align-items:center;justify-content:center;background:#395e6d;min-height:240px;overflow:hidden}.v23-canvas-wrap canvas{display:block;width:100%;height:auto;max-height:100%;aspect-ratio:16/9;object-fit:contain;image-rendering:pixelated;cursor:pointer;outline-offset:-4px}.v23-canvas-hint{position:absolute;left:50%;transform:translateX(-50%);top:8px;background:#102c39e8;border:1px solid #628e8e;border-radius:16px;padding:7px 12px;font-size:11px;white-space:nowrap;pointer-events:none;color:#ffe2a9}.v23-locations{background:#0e2935;min-height:58px;padding:8px 11px;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin}.v23-locations span{font-size:10px;white-space:nowrap;color:#719b9d;border:1px solid #2e5162;border-radius:6px;padding:6px}.v23-locations .passed{color:#aee5cf}.v23-locations .current{color:#f5d58b;border-color:#bd9f68;background:#344b51}
.v23-story{border:2px solid #4b727b;border-radius:12px;background:#102c38;display:flex;flex-direction:column;min-width:0;min-height:400px;overflow:hidden}.v23-story-top{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#183844;padding:11px 14px;border-bottom:1px solid #426573}.v23-story-top span{font-size:11px;color:#e6c789;letter-spacing:.07em}.v23-story-top button{font-size:11px;padding:6px 9px}.v23-story-body{flex:1;padding:20px 22px;display:flex;flex-direction:column;justify-content:center;gap:12px}.v23-chapter{color:#e8c889;font-size:11px}.v23-story-body h3{font-size:clamp(18px,2vw,24px);margin:0;line-height:1.4}.v23-story-body p{font-size:13px;color:#c4d9d9;line-height:1.7;margin:0}.v23-main-btn,.v23-soft-btn{display:block;border:1px solid #e4c685;color:#213947!important;background:#f0d296!important;padding:12px 15px;border-radius:8px;font-size:14px!important;font-weight:800;text-align:center;min-height:44px;margin-top:12px}.v23-main-btn:hover{background:#ffe1ad!important}.v23-soft-btn{color:#e2efea!important;background:#1b4552!important;border-color:#6b8b91;margin-top:3px}.v23-npc-row{display:flex;align-items:center;gap:13px;margin-bottom:7px}.v23-npc-row small{font-size:11px;color:#f0cb89}.v23-npc-row h3{margin-top:4px}.v23-mini-avatar{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border:2px solid #8ab5ac;background:#416776;font-size:23px;color:#ffd997;border-radius:7px}.v23-dialogue{background:#203f4b;border-left:4px solid #edcc8d;padding:17px 15px;margin:0;font-size:16px;font-weight:600;line-height:1.65;color:#f8f0db}.v23-question{font-weight:700;color:#edf0e5!important;font-size:15px!important}.v23-answers{display:grid;gap:8px}.v23-answers button{display:flex;align-items:flex-start;gap:11px;line-height:1.5;text-align:left;background:#1d4552;color:#ebf4eb;border:1px solid #55818b;border-radius:8px;padding:10px;font-size:12px}.v23-answers button:hover,.v23-answers button:focus-visible{border-color:#f1d18c;background:#285564}.v23-answers span{font-weight:900;color:#f0d18b}.v23-error{border:1px solid #c79c72;padding:10px;border-radius:8px;background:#60443d;color:#fff4e1!important}.v23-good{font-size:12px;color:#a8ebc6;font-weight:800}.v23-reward{display:flex;gap:7px;flex-wrap:wrap}.v23-reward span{font-size:11px;padding:7px;color:#e8d198;border:1px solid #927e5b;border-radius:8px}.v23-story-foot{font-size:10px;color:#82a9b3;padding:11px 14px;border-top:1px solid #365b6b;line-height:1.5}.v23-loading{color:#d8c18d;letter-spacing:.3em}
body.v23-pixel-active .chrome,body.v23-pixel-active .v21-toggle,body.v23-pixel-active .game-hub-launch{visibility:hidden!important;pointer-events:none!important}
@media(max-width:850px){.v23-game-layout{display:flex;flex-direction:column;gap:10px;min-height:0}.v23-world-wrap{flex:0 0 auto}.v23-canvas-wrap{min-height:0}.v23-story{min-height:245px;flex:1}.v23-story-body{padding:15px 17px;gap:9px}.v23-top{height:58px}.v23-panel{align-items:flex-start;overflow:auto}.v23-roles{gap:9px}.v23-role{min-height:210px;padding:14px}.v23-role b{font-size:17px}.v23-role-icon{height:41px;width:41px;font-size:24px}.v23-intro{margin:5px auto 18px}}
@media(max-width:620px){.v23-top h2{font-size:15px}.v23-top-right{gap:8px}.v23-top-right span{font-size:10px}.v23-top-right button{padding:7px 9px;font-size:11px}.v23-roles{grid-template-columns:1fr;gap:9px}.v23-role{min-height:0;padding:14px;gap:6px;display:grid;grid-template-columns:48px 1fr;align-items:center}.v23-role-icon{grid-row:span 4}.v23-role small,.v23-role em,.v23-role>span:nth-last-child(2){grid-column:2}.v23-intro h3{font-size:21px}.v23-stagebar{min-height:48px;padding:7px 10px}.v23-tokens span{width:19px;height:21px;font-size:11px}.v23-canvas-hint{font-size:10px;padding:5px 9px}.v23-locations{min-height:36px}.v23-locations span{font-size:9px}.v23-story{min-height:0}.v23-story-body{min-height:190px}.v23-story-body h3{font-size:17px}.v23-story-body p{font-size:12px}.v23-dialogue{font-size:14px;padding:11px}.v23-answers button{padding:9px;font-size:11px}.v23-story-foot{display:none}.v23-npc-row{margin-bottom:2px}.v23-mini-avatar{width:39px;height:39px;flex-basis:39px}.v23-main-btn{margin-top:4px}}
@media(prefers-reduced-motion:reduce){.v23-role{transition:none}}
