@font-face{font-family:Cabinet Grotesk;src:url(/lab/yuzi/game/fonts/CabinetGrotesk-Variable.ttf) format("truetype");font-display:swap}:root{font-family:Cabinet Grotesk,system-ui,sans-serif;color:#181915;background:#11120f;font-synthesis:none;letter-spacing:0;--ink: #181915;--paper: #e9e6dc;--paper-deep: #d5d0c2;--red: #a53b2a;--green: #355f4b;--blue: #456072}*{box-sizing:border-box}html{background:#11120f;scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,a{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit;text-decoration:none}.opening-shell,.game-shell{width:100%;max-width:100%;overflow-x:hidden}.opening-shell{min-height:100vh;color:#f5f3eb;background:#11120f}.opening-nav,.game-nav{min-height:64px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.14);font-size:13px}.opening-nav a,.game-nav a{display:inline-flex;align-items:center;gap:8px}.opening-nav .icon-button{border-color:#464741}.opening-scene{min-height:calc(100vh - 64px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:stretch}.opening-copy{padding:clamp(72px,10vw,150px) clamp(24px,7vw,120px);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.opening-copy h1,.game-title-band h1{margin:0;max-width:72rem;font-size:clamp(3rem,5vw,5.5rem);line-height:.92;font-weight:650}.title-inline-image{display:inline-block;width:.72em;height:.34em;margin:0 .12em;vertical-align:.12em;background:url(/lab/yuzi/game/assets/rain-station.webp) 52% 60% / cover;border-radius:999px;filter:grayscale(1) contrast(1.25)}.opening-premise{max-width:34rem;margin:34px 0 56px;font-family:ui-serif,Georgia,serif;font-size:clamp(20px,2.1vw,31px);line-height:1.45;color:#d2d0c8}.opening-goal{display:grid;gap:8px;max-width:520px;padding:20px 0;border-top:1px solid #4d4e48;border-bottom:1px solid #4d4e48}.opening-goal span{color:#92958d;font-size:12px}.opening-goal strong{font-size:18px;font-weight:520}.turnstile-slot{width:min(100%,320px);min-height:70px;margin:28px 0 18px}.opening-image{min-height:720px;margin:0;position:relative;overflow:hidden}.opening-image:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 35% 45%,transparent 10%,rgba(17,18,15,.1) 48%,rgba(17,18,15,.7) 100%)}.opening-image img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.25) brightness(.65)}.opening-image figcaption{position:absolute;z-index:2;right:32px;bottom:28px;font-size:12px;color:#d4d2ca}.opening-next{position:absolute;left:50%;bottom:22px;transform:translate(-50%);z-index:4;display:flex;gap:10px;align-items:center;font-size:12px;color:#a9aaa3}.primary-command{min-height:48px;width:fit-content;border:0;border-radius:4px;padding:0 20px;background:#f5f3eb;color:#151612;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:650}.opening-copy>.primary-command{min-width:180px}.destructive-command{background:var(--red);color:#fff}.error-message{color:#df806d;font-size:13px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.game-shell{min-height:100vh;background-color:var(--paper);background-image:linear-gradient(#e9e6dce6,#e9e6dcf2),url(/lab/yuzi/game/assets/paper-texture.png);background-size:auto,540px}.game-nav{position:sticky;top:0;z-index:20;color:#f3f1e9;background:#11120ff2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.game-nav>div{display:flex;align-items:center;gap:8px}.game-nav .nav-actions{gap:6px}.live-dot{width:7px;height:7px;border-radius:50%;background:#7fa88e;box-shadow:0 0 0 5px #7fa88e1f}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #464741;border-radius:4px;color:#fff;background:transparent}.game-title-band{min-height:240px;padding:62px clamp(20px,4vw,64px) 42px;display:flex;justify-content:space-between;align-items:end;gap:40px;border-bottom:1px solid #b7b1a4}.game-title-band p{max-width:320px;margin:0;font-family:ui-serif,Georgia,serif;font-size:20px;line-height:1.45}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,.72fr);grid-template-rows:minmax(260px,auto) minmax(360px,auto);grid-auto-flow:dense;min-height:740px}.manuscript-panel{grid-column:span 2;grid-row:span 2;min-width:0;padding:30px clamp(24px,4vw,68px) 80px;border-right:1px solid #b7b1a4;overflow:hidden}.objective-panel,.action-panel{min-width:0;padding:30px}.objective-panel{border-bottom:1px solid #b7b1a4}.panel-heading{min-height:34px;display:flex;align-items:center;gap:9px;color:#626056;font-size:12px}.panel-heading span:last-child{margin-left:auto}.objective-route{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:18px;color:#8b867b;font-size:10px}.objective-route span{min-width:34px;padding:5px 0;border-bottom:2px solid #b7b1a4;text-align:center}.objective-route span.is-complete{color:var(--green);border-color:var(--green);font-weight:700}.objective-route i{color:#aaa397;font-style:normal}.manuscript-stack{padding:60px 0 100px}.manuscript-entry{position:sticky;top:100px;min-height:170px;max-width:60rem;margin:0 0 44px;padding:34px clamp(24px,4vw,54px);border:1px solid #bcb6a8;border-radius:4px;background:#f2efe6f0;box-shadow:0 20px 50px #36322a1c;font-family:ui-serif,Songti SC,Georgia,serif;font-size:clamp(22px,2.1vw,34px);line-height:1.85}.manuscript-entry mark{color:var(--red);background:transparent}.forbidden-marquee{width:100%;overflow:hidden;border-top:1px solid #b7b1a4;border-bottom:1px solid #b7b1a4}.forbidden-marquee>div{width:max-content;padding:13px 0;display:flex;gap:38px;animation:marquee 24s linear infinite}.forbidden-marquee span{color:#706d64;font-size:12px}@keyframes marquee{to{transform:translate(-50%)}}.fact-accordion{display:flex;width:100%;min-height:150px;margin-top:24px;overflow:hidden;border:1px solid #b7b1a4}.fact-accordion details{flex:.72;min-width:44px;padding:14px;border-right:1px solid #b7b1a4;transition:flex .45s ease}.fact-accordion details:last-child{border:0}.fact-accordion details[open],.fact-accordion details:hover{flex:2.3}.fact-accordion summary{height:100%;display:flex;flex-direction:column;justify-content:space-between;list-style:none;cursor:pointer;font-size:12px}.fact-accordion summary::-webkit-details-marker{display:none}.fact-accordion summary i{width:8px;height:8px;border-radius:50%;background:#a8a398}.fact-accordion .is-active summary i{background:var(--green)}.fact-accordion p{min-width:110px;margin:12px 0 0;color:#5e5b52;font-size:12px}.compose-workspace,.cut-workspace,.result-copy{display:flex;flex-direction:column;gap:18px}.phase-hint{margin:0;padding:12px 14px;border-left:2px solid var(--blue);background:#45607214;color:#605d54;font-size:12px;line-height:1.55}.phase-hint strong{display:block;margin-bottom:2px;color:var(--ink)}.sentence-line{min-height:82px;padding:20px 0;border-top:1px solid #aaa397;border-bottom:1px solid #aaa397;font-family:ui-serif,Songti SC,serif;font-size:25px;line-height:1.5;overflow-wrap:anywhere}.sentence-line>span{color:#8d887c}.selected-strip{display:flex;flex-wrap:wrap;gap:6px;min-height:34px}.selected-fragment{display:flex;align-items:center;border:1px solid #a9a396;border-radius:4px;background:#ffffff52}.selected-fragment span{padding:0 7px;font-size:13px}.selected-fragment button{width:27px;height:29px;padding:6px;border:0;background:transparent;color:#45443e}.selected-fragment svg{width:13px;height:13px}.fragment-pool,.candidate-pool{display:flex;flex-wrap:wrap;gap:8px}.fragment-button{min-height:40px;padding:8px 12px;border:1px solid #aaa397;border-radius:4px;background:#ffffff47;color:var(--ink);display:flex;align-items:center;gap:8px}.fragment-button small{color:#8e887c;font-size:10px}.fragment-button[aria-pressed=true]{border-color:#1b1c18;background:#1b1c18;color:#fff}.candidate-button{align-items:baseline}.candidate-button em{font-style:normal;font-size:10px;opacity:.65}.punctuation-control{display:inline-flex;width:fit-content;border:1px solid #aaa397;border-radius:4px;overflow:hidden}.punctuation-control button{width:52px;height:40px;border:0;border-right:1px solid #aaa397;background:transparent;font-family:ui-serif,serif;font-size:19px}.punctuation-control button:last-child{border:0}.punctuation-control button[aria-pressed=true]{color:#fff;background:var(--blue)}.punctuation-legend{margin:-10px 0 0;color:#777268;font-size:10px;line-height:1.5}.punctuation-legend strong{color:#3f4f59}.punctuation-legend span{padding:0 3px;color:#aaa397}.cut-warning{margin:0;font-family:ui-serif,Georgia,serif;line-height:1.55}.cut-budget{display:flex;justify-content:space-between;padding:13px 0;border-top:1px solid #aaa397;border-bottom:1px solid #aaa397;font-size:12px}.result-copy>span{color:var(--red);font-size:12px}.result-copy h2{margin:0;font-family:ui-serif,Georgia,serif;font-size:32px}.result-copy p{line-height:1.7}.result-copy blockquote{margin:0;padding:16px 0;border-top:1px solid #aaa397;border-bottom:1px solid #aaa397;font-family:ui-serif,serif;font-size:20px}.game-footer{min-height:100px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid #b7b1a4;color:#6f6c63;font-size:12px}.loading-screen{min-height:100vh;display:grid;place-content:center;gap:14px;justify-items:center;color:#fff;background:#11120f}.guide-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#11120fc7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.guide-dialog{position:relative;width:min(820px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:clamp(28px,5vw,58px);border:1px solid #aaa397;border-radius:4px;background:var(--paper);box-shadow:0 30px 90px #0000005c}.guide-close{position:absolute;top:18px;right:18px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #aaa397;border-radius:4px;color:var(--ink);background:transparent}.guide-heading{max-width:650px}.guide-heading>span{color:var(--red);font-size:11px}.guide-heading h2{max-width:680px;margin:12px 0 16px;font-family:ui-serif,Songti SC,Georgia,serif;font-size:clamp(28px,4vw,46px);font-weight:520;line-height:1.18}.guide-heading p{max-width:590px;margin:0;color:#666258;line-height:1.65}.guide-steps{display:grid;margin:34px 0 24px;padding:0;border-top:1px solid #aaa397;list-style:none}.guide-steps li{display:grid;min-width:0;padding:22px 0;border-bottom:1px solid #aaa397;grid-template-columns:54px minmax(0,1fr);gap:18px}.guide-stage{color:var(--red);font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.1em}.guide-steps strong{display:flex;margin-bottom:8px;align-items:center;gap:10px}.guide-steps svg{width:18px;height:18px;color:var(--red)}.guide-steps p{max-width:610px;margin:0;color:#68645a;font-size:12px;line-height:1.65}.guide-caution{display:flex;gap:18px;align-items:baseline;margin-bottom:26px;color:#68645a;font-size:12px;line-height:1.55}.guide-caution strong{flex:none;color:var(--red)}.guide-command{background:var(--ink);color:#fff}@media(max-width:980px){.opening-scene{grid-template-columns:1fr}.opening-image{min-height:42vh;order:-1}.opening-copy{padding-top:58px}.opening-next{display:none}.game-title-band{align-items:start;flex-direction:column}.game-grid{grid-template-columns:1fr;grid-template-rows:auto}.manuscript-panel{grid-column:1;grid-row:auto;border-right:0;border-bottom:1px solid #b7b1a4}.objective-panel,.action-panel{border-bottom:1px solid #b7b1a4}.manuscript-entry{position:relative;top:auto}}@media(max-width:600px){.opening-nav,.game-nav{min-height:56px;padding:0 16px}.opening-image{min-height:34vh}.opening-copy{padding:44px 20px 72px}.opening-premise{margin:26px 0 34px}.game-title-band{min-height:190px;padding:40px 20px 32px}.manuscript-panel,.objective-panel,.action-panel{padding-left:20px;padding-right:20px}.manuscript-stack{padding:38px 0 62px}.manuscript-entry{min-height:130px;padding:24px 20px;font-size:21px}.fact-accordion details{padding:10px}.fact-accordion details[open],.fact-accordion details:hover{flex:2.8}.primary-command{width:100%}.game-footer{align-items:flex-start;flex-direction:column;justify-content:center;gap:8px}.guide-backdrop{align-items:end;padding:0}.guide-dialog{width:100%;max-height:92vh;padding:34px 20px 28px;border-right:0;border-bottom:0;border-left:0}.guide-heading h2{padding-right:36px;font-size:30px}.guide-steps{margin-top:26px}.guide-steps li{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:18px 0}.guide-steps strong{margin-bottom:5px}.guide-caution{align-items:flex-start;flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
