.touch-help{background:rgba(0,0,0,.72)}
.touch-help:not([hidden]){animation:touchHelpBackdropIn 220ms cubic-bezier(.4,0,.2,1) both}
.touch-help-window{width:min(560px,calc(100vw - 40px));max-height:min(92svh,820px);overflow:auto;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#191a17;color:#eee9e1;box-shadow:0 25px 50px -12px rgba(0,0,0,.72);scrollbar-width:thin;scrollbar-color:#555b52 #191a17;transform-origin:50% 42%}
.touch-help:not([hidden]) .touch-help-window{animation:touchHelpPanelIn 260ms cubic-bezier(.4,0,.2,1) both}
.touch-help-window::-webkit-scrollbar{width:7px}.touch-help-window::-webkit-scrollbar-track{background:#191a17}.touch-help-window::-webkit-scrollbar-thumb{border:2px solid #191a17;border-radius:999px;background:#555b52}
.touch-help-window>.touch-help-bar{position:sticky;z-index:9;top:0;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px 10px 16px;border-bottom:1px solid rgba(255,255,255,.1);background:#191a17}
.touch-help-heading{min-width:0;display:grid;gap:3px}.touch-help-heading strong{color:rgba(255,255,255,.86);font:700 15px/1.2 var(--ui-font);letter-spacing:.02em}.touch-help-heading small{color:rgba(255,255,255,.42);font:9px/1.2 var(--ui-font);letter-spacing:.03em}
.touch-help-window>.touch-help-bar>button{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:rgba(255,255,255,.56);display:grid;place-items:center;cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .1s ease}.touch-help-window>.touch-help-bar>button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.touch-help-window>.touch-help-bar>button:hover,.touch-help-window>.touch-help-bar>button:focus-visible{background:#292c27;color:#fff;outline:none}.touch-help-window>.touch-help-bar>button:focus-visible{box-shadow:0 0 0 2px rgba(217,77,85,.32)}.touch-help-window>.touch-help-bar>button:active{transform:scale(.94)}
.touch-guide{padding:10px;background:#121311;font-family:var(--ui-font)}
.help-mobile-only{display:none!important}
.guide-panels{display:grid;place-items:center;gap:8px}.guide-scene{position:relative;width:min(660px,100%);overflow:hidden;border:0;border-radius:12px;background:#151714;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}
.guide-tab-card{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;padding:10px 14px;border:0;border-radius:0;background:transparent;color:rgba(255,255,255,.72);text-align:left;cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .1s ease}.guide-tab-card>span{display:flex;flex-direction:column;gap:5px}.guide-tab-card strong{color:rgba(255,255,255,.82);font:700 14px/1 var(--ui-font);letter-spacing:.04em}.guide-tab-card small{color:rgba(255,255,255,.46);font:12px/1.45 var(--ui-font)}.guide-tab-card .guide-tab-arrow{margin-left:10px}.guide-tab-card:hover,.guide-tab-card:focus-visible{background:#242720;color:#fff;outline:none}.guide-tab-card:active{transform:scale(.995)}.guide-tab-card[aria-expanded="true"]{background:rgba(217,77,85,.08)}.guide-tab-card[aria-expanded="true"] strong{color:#ff9aa3}.guide-tab-card[aria-expanded="true"] .guide-tab-arrow{transform:rotate(180deg)}
.guide-demo-body{border-top:1px solid rgba(255,255,255,.07)}.guide-panel.is-playing .guide-demo-body{animation:guideOpen .18s ease-out both}.guide-replay{display:none;margin:8px 8px 8px auto;min-height:32px;padding:0 12px;border:0;border-radius:8px;background:#242720;color:rgba(255,255,255,.78);font:700 10px/1 var(--ui-font);box-shadow:0 2px 7px rgba(0,0,0,.28);cursor:pointer;transition:background-color .15s ease,color .15s ease,transform .1s ease}.guide-replay:hover,.guide-replay:focus-visible{background:#30332d;color:#fff;outline:none}.guide-replay:active{transform:scale(.97)}.guide-panel.is-finished .guide-replay{display:block}
.orientation-guide{background:#0d0e0c}.orientation-guide-copy{padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.07);background:#171916}.orientation-guide-copy p{margin:0;color:rgba(255,255,255,.62);font:12px/1.65 var(--ui-font)}.orientation-steps{margin:0;padding:0 0 0 1.55em;color:rgba(255,255,255,.68);font:12px/1.7 var(--ui-font)}.orientation-steps li+li{margin-top:7px}.orientation-guide img{display:block;width:min(360px,72%);height:auto;margin:10px auto 12px;border-radius:10px;background:#000;box-shadow:0 6px 20px rgba(0,0,0,.32)}
.guide-info{padding:12px 14px 14px;background:#10120f}.guide-info-lead,.guide-info-note{margin:0;color:rgba(255,255,255,.62);font:11px/1.65 var(--ui-font)}.guide-info-lead{margin-bottom:10px}.guide-info-note{margin-top:10px;padding:9px 10px;border-radius:9px;background:rgba(217,77,85,.07);color:rgba(255,255,255,.54)}.guide-key-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.guide-key-row{min-width:0;min-height:38px;display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px;padding:7px 9px;border-radius:9px;background:#171a16;color:rgba(255,255,255,.68);font:10px/1.35 var(--ui-font)}.guide-key-row kbd{justify-self:start;min-width:38px;max-width:72px;box-sizing:border-box;padding:5px 7px;border:0;border-radius:7px;background:#242720;color:#ff9aa3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.045);font:700 9px/1 var(--art-font);text-align:center;white-space:nowrap}.guide-key-row span{min-width:0;overflow-wrap:anywhere}.guide-key-grid-thprac .guide-key-row:first-child{grid-column:1/-1}
@keyframes touchHelpBackdropIn{from{opacity:0}to{opacity:1}}@keyframes touchHelpPanelIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.focus-stage,.menu-stage{position:relative;height:211px;overflow:hidden;background-image:repeating-linear-gradient(0deg,transparent 0 23px,#ffffff08 24px),repeating-linear-gradient(90deg,transparent 0 23px,#ffffff08 24px)}
.focus-stage{background-color:#0a0a0c;background-image:radial-gradient(circle at 60% 62%,#24202a,#09090a 64%),repeating-linear-gradient(0deg,transparent 0 23px,#ffffff08 24px),repeating-linear-gradient(90deg,transparent 0 23px,#ffffff08 24px)}
.demo-finger{position:absolute;z-index:7;width:30px;height:30px;border:2px solid #eee7dc;border-radius:50%;background:#ddd5ca20;box-shadow:2px 2px 0 #000}
.demo-finger:after{content:"";position:absolute;inset:8px;border-radius:50%;background:#f7f1e9}
.demo-player{position:absolute;z-index:5;left:44%;top:61%;width:18px;height:18px;border:2px solid #f1e9df;transform:rotate(45deg);background:#b9232e;box-shadow:0 0 0 3px #b9232e33}
.demo-player:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.finger-move{left:70%;top:66%}.finger-focus{left:14%;top:68%;border-color:#e85c64;opacity:0}.focus-demo[data-focus-mode="two-finger"] .finger-focus{left:13%;top:18%}.focus-mode-control{position:absolute;z-index:6;left:8%;bottom:13%;width:58px;min-height:40px;box-sizing:border-box;display:grid;place-items:center;padding:5px 7px;border-radius:10px;background:#20231e;color:#eee9e1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 4px 12px rgba(0,0,0,.3);font-family:var(--ui-font)}.focus-mode-control strong{font-size:10px;line-height:1}.focus-mode-control small{margin-top:3px;color:rgba(255,255,255,.46);font-size:7px;line-height:1}.focus-demo[data-focus-mode="two-finger"] .focus-mode-control{display:none}
.move-trace{position:absolute;left:35%;top:38%;width:48%;height:44%;border:1px dashed #ffffff26;border-radius:50%;transform:rotate(-13deg)}
.demo-hitbox{position:absolute;z-index:4;left:calc(44% - 7px);top:calc(61% - 7px);width:34px;height:34px;border:2px solid #5caeff;border-radius:50%;opacity:0}
.focus-label{position:absolute;z-index:8;left:calc(8% + 64px);bottom:17%;padding:4px 6px;border:0;border-radius:7px;background:#171916;color:#ef777d;font:8px/1 var(--ui-font);letter-spacing:.04em;white-space:nowrap;opacity:0}.focus-demo[data-focus-mode="two-finger"] .focus-label{left:calc(13% - 29px);top:calc(18% + 39px);bottom:auto}
.shot-stream{position:absolute;z-index:3;inset:0;overflow:hidden;pointer-events:none}.demo-shot{position:absolute;width:6px;height:9px;border:1px solid #ffd5d7;background:#e63a45;box-shadow:0 0 5px #ef343e;will-change:transform,opacity}
.menu-stage{background-color:#0c0b0a}.menu-question{position:absolute;top:18px;left:0;right:0;text-align:center;color:#a7a097;font:9px/1 var(--ui-font);letter-spacing:.16em}.menu-choices{position:absolute;top:55px;left:50%;width:176px;transform:translateX(-50%);display:flex;justify-content:space-between}.menu-choices span{width:76px;padding:8px 0;border:1px solid #4f4a45;text-align:center;color:#706b65;font:700 11px/1 var(--ui-font)}.choice-yes{color:#fff;border-color:#e45a62;background:#551218}.menu-result{position:absolute;top:55px;left:50%;display:flex;align-items:center;width:176px;height:35px;transform:translateX(-50%);border:1px solid #a89f96;background:#151310;opacity:0}.menu-result small{padding:0 9px;color:#706b65;font-size:7px}.menu-result b{flex:1;border-left:1px solid #4f4a45;color:#eee;text-align:center;font-size:11px}
.menu-finger-one{left:58%;top:67%;opacity:0;transform:scale(.78)}.menu-finger-two{left:28%;top:70%;border-color:#e85c64;opacity:0;transform:scale(.78)}
.menu-phase{position:absolute;left:0;right:0;bottom:13px;text-align:center;color:#d9d1c7;font:8px/1 var(--ui-font);opacity:0}.phase-back{color:#ef777d}
.dialogue-stage{position:relative;height:110px;padding:18px 68px 18px 84px;background:linear-gradient(90deg,#14110f,#090909)}.dialogue-portrait{position:absolute;left:18px;bottom:12px;display:grid;place-items:center;width:50px;height:64px;border:1px solid #655d55;background:#201b19;color:#8e837a;font:26px/1 Georgia}.dialogue-box{height:62px;overflow:hidden;border:1px solid #655d55;background:#080808;padding:8px 10px}.dialogue-ticker{display:flex;flex-direction:column;gap:8px;color:#d8d0c6;font:9px/1.1 var(--ui-font)}.dialogue-ticker span{height:10px;white-space:nowrap}.dialogue-finger{right:24px;top:29px;transform:scale(.7)}.hold-ring{position:absolute;right:19px;top:24px;width:42px;height:42px;border:2px solid #e45a62;border-radius:50%;opacity:0}
@keyframes guideOpen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.focus-demo.is-playing .demo-player{animation:playerOrbit 7s linear 1 both}.focus-demo.is-playing .finger-move{animation:fingerOrbit 7s linear 1 both}.focus-demo.is-playing[data-focus-mode="two-finger"] .finger-focus{animation:focusDown 7s ease-in-out 1 both}.focus-demo.is-playing[data-focus-mode="hold-button"] .finger-focus{animation:focusButtonHold 7s ease-in-out 1 both}.focus-demo.is-playing[data-focus-mode="toggle-button"] .finger-focus{animation:focusButtonTap 7s ease-in-out 1 both}.focus-demo.is-playing[data-focus-mode="hold-button"] .focus-mode-control{animation:focusControlHold 7s ease-in-out 1 both}.focus-demo.is-playing[data-focus-mode="toggle-button"] .focus-mode-control{animation:focusControlToggle 7s steps(1) 1 both}.focus-demo.is-playing .demo-hitbox{animation:hitboxOrbit 7s linear 1 both}.focus-demo.is-playing .focus-label{animation:focusText 7s steps(1) 1 both}
.menu-demo.is-playing .menu-choices{animation:choicesVisible 12s steps(1) 1 both}.menu-demo.is-playing .choice-yes{animation:yesChoice 12s steps(1) 1 both}.menu-demo.is-playing .choice-no{animation:noChoice 12s steps(1) 1 both}.menu-demo.is-playing .result-yes{animation:resultYes 12s steps(1) 1 both}.menu-demo.is-playing .result-no{animation:resultNo 12s steps(1) 1 both}.menu-demo.is-playing .menu-finger-one{animation:menuFingerOne 12s linear 1 both}.menu-demo.is-playing .menu-finger-two{animation:menuFingerTwo 12s linear 1 both}.menu-demo.is-playing .phase-confirm{animation:phaseConfirm 12s steps(1) 1 both}.menu-demo.is-playing .phase-select{animation:phaseSelect 12s steps(1) 1 both}.menu-demo.is-playing .phase-back{animation:phaseBack 12s steps(1) 1 both}
.dialogue-demo.is-playing .dialogue-ticker{animation:dialogueSkip 4s steps(1,end) 1 both}.dialogue-demo.is-playing .dialogue-finger{animation:holdFinger 4s ease-in-out 1 both}.dialogue-demo.is-playing .hold-ring{animation:holdRing 4s linear 1 both}
@keyframes fingerOrbit{0%,7%{transform:translate(0,0)}13%{transform:translate(46px,-24px)}19%{transform:translate(12px,-61px)}25%{transform:translate(-48px,-31px)}31%,52%{transform:translate(0,0)}63%{transform:translate(46px,-24px)}74%{transform:translate(12px,-61px)}85%{transform:translate(-48px,-31px)}96%,100%{transform:translate(0,0)}}
@keyframes playerOrbit{0%,7%{transform:translate(0,0) rotate(45deg)}13%{transform:translate(46px,-24px) rotate(45deg)}19%{transform:translate(12px,-61px) rotate(45deg)}25%{transform:translate(-48px,-31px) rotate(45deg)}31%,52%{transform:translate(0,0) rotate(45deg)}63%{transform:translate(46px,-24px) rotate(45deg)}74%{transform:translate(12px,-61px) rotate(45deg)}85%{transform:translate(-48px,-31px) rotate(45deg)}96%,100%{transform:translate(0,0) rotate(45deg)}}
@keyframes focusDown{0%,47%,100%{opacity:0;transform:scale(.7)}52%,94%{opacity:1;transform:scale(1)}}@keyframes focusButtonHold{0%,47%,100%{opacity:0;transform:translate(0,4px) scale(.78)}52%,94%{opacity:1;transform:translate(0,0) scale(.68)}}@keyframes focusButtonTap{0%,49%,67%,100%{opacity:0;transform:translate(0,4px) scale(.8)}52%,57%{opacity:1;transform:translate(0,0) scale(.82)}59%,62%{opacity:1;transform:translate(0,0) scale(.58)}64%,66%{opacity:1;transform:translate(0,0) scale(.82)}}@keyframes focusControlHold{0%,51%,95%,100%{background:#20231e;color:#eee9e1}52%,94%{background:#5b1b25;color:#fff}}@keyframes focusControlToggle{0%,58%{background:#20231e;color:#eee9e1}59%,100%{background:#5b1b25;color:#fff}}@keyframes focusText{0%,51%,96%,100%{opacity:0}52%,95%{opacity:1}}
@keyframes hitboxOrbit{0%,49%,100%{opacity:0;transform:translate(0,0)}52%{opacity:1;transform:translate(0,0)}63%{opacity:1;transform:translate(46px,-24px)}74%{opacity:1;transform:translate(12px,-61px)}85%{opacity:1;transform:translate(-48px,-31px)}96%{opacity:1;transform:translate(0,0)}97%{opacity:0}}
@keyframes choicesVisible{0%,13%,25%,40%,51%,79%{opacity:1}14%,24%,41%,50%,80%,100%{opacity:0}}@keyframes yesChoice{0%,29.9%,80%,100%{color:#fff;border-color:#e45a62;background:#551218}30%,79%{color:#706b65;border-color:#4f4a45;background:transparent}}@keyframes noChoice{0%,29.9%,80%,100%{color:#706b65;border-color:#4f4a45;background:transparent}30%,79%{color:#fff;border-color:#e45a62;background:#551218}}
@keyframes resultYes{0%,13%,25%,100%{opacity:0}14%,24%{opacity:1}}@keyframes resultNo{0%,36%,51%,100%{opacity:0}37%,50%{opacity:1}}
@keyframes menuFingerOne{0%,7%{opacity:0;transform:translate(0,5px) scale(.82)}9%,11%{opacity:1;transform:translate(0,0) scale(.82)}12%,13%{opacity:1;transform:translate(1px,1px) scale(.58)}15%,27.9%{opacity:0}28%{opacity:1;transform:translate(-18px,8px) scale(.82)}32%{opacity:1;transform:translate(43px,-3px) scale(.82)}32.1%,33.9%{opacity:0;transform:translate(43px,-3px) scale(.82)}34%{opacity:1;transform:translate(43px,-3px) scale(.82)}35%,36%{opacity:1;transform:translate(43px,-3px) scale(.58)}37%{opacity:0;transform:translate(43px,-3px) scale(.82)}37.1%,69.9%{opacity:0}70%,71.9%{opacity:1;transform:translate(-8px,2px) scale(.78)}72%,74%{opacity:1;transform:translate(-8px,2px) scale(.58)}76%,100%{opacity:0;transform:translate(-8px,2px) scale(.78)}}
@keyframes menuFingerTwo{0%,69.9%{opacity:0;transform:translate(0,5px) scale(.82)}70%,71.9%{opacity:1;transform:translate(0,0) scale(.78)}72%,74%{opacity:1;transform:translate(1px,1px) scale(.58)}76%,100%{opacity:0;transform:translate(0,0) scale(.78)}}
@keyframes phaseConfirm{0%,24%{opacity:1}25%,100%{opacity:0}}@keyframes phaseSelect{0%,25%,62%,100%{opacity:0}26%,61%{opacity:1}}@keyframes phaseBack{0%,62%{opacity:0}63%,100%{opacity:1}}
@keyframes dialogueSkip{0%,27%{transform:translateY(0)}29%{transform:translateY(-18px)}31%{transform:translateY(-36px)}33%{transform:translateY(-54px)}35%{transform:translateY(-72px)}37%{transform:translateY(0)}39%{transform:translateY(-36px)}41%{transform:translateY(-72px)}43%{transform:translateY(-18px)}45%{transform:translateY(-54px)}47%{transform:translateY(0)}49%{transform:translateY(-72px)}51%{transform:translateY(-36px)}53%{transform:translateY(-18px)}55%{transform:translateY(-54px)}57%{transform:translateY(0)}59%{transform:translateY(-36px)}61%{transform:translateY(-72px)}63%{transform:translateY(-18px)}65%,100%{transform:translateY(0)}}@keyframes holdFinger{0%,7%,72%,100%{transform:scale(.7)}10%,69%{transform:scale(.6)}}@keyframes holdRing{0%{transform:scale(.4);opacity:0}8%{opacity:1}26%,68%{transform:scale(1.05);opacity:1}72%,100%{transform:scale(1.05);opacity:0}}
@media(max-width:760px){.touch-help{padding:6px}.touch-help-window{width:min(520px,88vw);max-height:calc(100svh - 12px);border-radius:14px}.touch-help-window>.touch-help-bar{min-height:52px;padding:8px 8px 8px 12px}.touch-help-heading strong{font-size:14px}.touch-help-heading small{font-size:8px}.touch-guide{padding:6px}.guide-panels{gap:6px}.guide-scene{border-radius:10px}.guide-tab-card{min-height:56px;padding:9px 11px}.guide-tab-card strong{font-size:13px}.guide-tab-card small{font-size:12px}.guide-info{padding:9px 10px 11px}.guide-key-grid{grid-template-columns:1fr}.guide-key-grid-thprac .guide-key-row:first-child{grid-column:auto}.guide-key-row{grid-template-columns:68px minmax(0,1fr);min-height:36px;padding:6px 8px}.guide-info-lead,.guide-info-note{font-size:10px}.focus-stage,.menu-stage{height:190px}.focus-demo{min-width:0}.menu-question{top:13px}.menu-choices,.menu-result{top:47px;width:150px}.menu-choices span{width:65px}.menu-finger-one{top:67%}.menu-finger-two{top:70%}.dialogue-stage{height:94px;padding:12px 54px 12px 66px}.dialogue-portrait{left:9px;bottom:9px;width:43px;height:55px}.dialogue-box{height:54px}.dialogue-finger{right:13px;top:20px}.hold-ring{right:8px;top:15px}}
@media(max-width:560px) and (orientation:portrait){.focus-stage,.menu-stage{height:185px}.dialogue-stage{height:94px}}
@media(max-height:420px) and (min-width:561px){.touch-help{padding:4px}.touch-help-window{max-height:calc(100svh - 8px)}.touch-help-window>.touch-help-bar{min-height:44px;padding:4px 7px 4px 10px}.touch-help-heading small{display:none}.touch-guide{padding:4px}.guide-tab-card{min-height:45px;padding:6px 10px}.focus-stage,.menu-stage{height:178px}.dialogue-stage{height:58px;padding-top:5px;padding-bottom:5px}.dialogue-portrait{height:43px}.dialogue-box{height:38px}}
@media(hover:none) and (pointer:coarse){.help-desktop-only{display:none!important}.help-mobile-only{display:block!important}.touch-help-window{width:min(520px,88vw)}}
@media(max-width:780px),(hover:none),(pointer:coarse){.touch-help:not([hidden]){animation-duration:.16s}.touch-help:not([hidden]) .touch-help-window{animation-duration:.2s}.guide-tab-card:active{transform:scale(.998)}}
@media(prefers-reduced-motion:reduce){.touch-help:not([hidden]),.touch-help:not([hidden]) .touch-help-window{animation:none!important}.touch-guide *{animation-play-state:paused!important}}
