:root{--ink:#101a1c;--paper:#f3ead5;--muted:#c1b8a7;--amber:#d3ac72;--line:#c8b68c45;--serif:"Songti TC","Noto Serif TC","PMingLiU",serif;--sans:"PingFang TC","Microsoft JhengHei",sans-serif}*{box-sizing:border-box}body{background:var(--ink);color:var(--paper);font-family:var(--sans);margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--amber);outline-offset:7px}button:disabled{cursor:default}a{color:inherit;text-decoration:none}.scene{isolation:isolate;flex-direction:column;min-height:100svh;padding:35px 5vw 25px;display:flex;position:relative;overflow:hidden}.backdrop,.shade{z-index:-2;position:absolute;inset:0}.backdrop{background:url(/images/cafe-night.png) 50%/cover no-repeat}.shade{z-index:-1;background:linear-gradient(90deg,#081114e0,#08111499 31%,#0811141a 65%),linear-gradient(#060c0e33,#0000 15% 75%,#070c0dad)}.masthead{justify-content:space-between;align-items:center;display:flex}.brand{font-family:var(--serif);letter-spacing:.22em;align-items:center;gap:13px;font-size:15px;display:flex}.brand-mark{width:34px;height:42px;color:var(--amber);flex:none;display:block}.brand small{letter-spacing:.19em;margin-top:7px;font:9px Georgia,serif;display:block}.edition{letter-spacing:.3em;color:var(--muted);font-size:11px}.title-screen{max-width:680px;margin:auto 0;padding:55px 0 42px 3.3vw}.eyebrow{letter-spacing:.26em;color:var(--amber);align-items:center;gap:12px;margin:0 0 25px;font-size:11px;display:flex}.eyebrow>span{background:var(--amber);width:21px;height:1px}h1{font-family:var(--serif);letter-spacing:.07em;text-shadow:0 2px 28px #0005;margin:0;font-size:clamp(44px,4.8vw,76px);font-weight:400;line-height:1.38}.english{letter-spacing:.12em;color:#d6c9b4;margin:16px 0 0;font:14px/1.7 Georgia,serif}.mobile-break{display:none}.invitation{font-family:var(--serif);letter-spacing:.2em;color:var(--muted);margin:36px 0;font-size:15px;line-height:2.1}.menu{flex-direction:column;align-items:flex-start;gap:10px;width:260px;display:flex}.menu button{text-align:left;letter-spacing:.17em;color:var(--muted);background:0 0;border:0;min-height:40px;padding:9px 0;font-size:14px}.menu button:hover:not(:disabled){color:var(--paper)}.menu button:disabled{color:#a49e9290}.menu .start{font-family:var(--serif);color:var(--paper);align-items:center;gap:15px;width:100%;margin-bottom:6px;font-size:21px;display:flex}.menu-dash{background:var(--amber);width:27px;height:1px}.arrow{color:var(--amber);font:22px var(--sans);margin-left:auto}.menu-note{letter-spacing:.08em;color:#b9b3a28c;margin-left:10px;font-size:10px}footer{color:#c4beaf;letter-spacing:.18em;justify-content:space-between;gap:20px;font-size:10px;display:flex}footer .preview{color:#c4beafa0;align-items:center;gap:10px;display:flex}footer i{background:var(--amber);border-radius:50%;width:3px;height:3px;display:inline-block}dialog{color:var(--paper);border:1px solid var(--line);background:#172123;width:calc(100% - 36px);max-width:540px;padding:0;box-shadow:0 25px 120px #0008}dialog::backdrop{background:#070d10c9}.dialog-inner{padding:42px}.dialog-inner h2{font:30px/1.6 var(--serif);letter-spacing:.1em;font-weight:400}.dialog-inner>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:2}.dialog-inner .content-note{border-top:1px solid var(--line);margin-top:26px;padding-top:20px;font-size:12px!important}.close{border:0;border-bottom:1px solid var(--amber);background:0 0;justify-content:space-between;width:100%;margin-top:20px;padding:12px 0;display:flex}.opening{width:min(660px,90%);margin:auto 3.3vw;padding:45px 0}.back{color:var(--muted);background:0 0;border:0;padding:12px 0;font-size:12px}.passage{margin:90px 0}.passage h2{font:clamp(25px,3vw,38px)/1.7 var(--serif);font-weight:400}.passage>p:last-child{line-height:2;font-family:var(--serif);letter-spacing:.08em;color:var(--muted)}.passage-controls{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding-top:20px;display:flex}.passage-controls>span{letter-spacing:.12em;color:var(--muted);font-size:10px}.passage-controls button{background:0 0;border:0;padding:12px 0;font-size:13px}.passage-controls button span{margin-left:20px}.notice{background:var(--ink);padding:15px;font-size:12px;position:fixed;bottom:50px;left:5vw}.reading .shade{background:linear-gradient(90deg,#081114ed,#081114b0 48%,#08111438)}@media (min-width:1500px){.title-screen{padding-top:70px;padding-bottom:70px}}@media (max-width:650px){.scene{padding:26px 25px 22px}.backdrop{background-position:58%}.shade{background:linear-gradient(90deg,#091317db,#09131775),linear-gradient(#0000 45%,#091317b0)}.edition{display:none}.title-screen{margin:auto 0;padding:55px 0 40px}h1{letter-spacing:.035em;font-size:clamp(37px,9vw,55px)}.english{letter-spacing:.09em;font-size:11px}.eyebrow{font-size:10px}.invitation{margin:27px 0;font-size:14px}.menu{width:235px}.brand{font-size:13px}.brand small{font-size:8px}footer{letter-spacing:.05em;gap:8px;font-size:8px}.preview{gap:5px!important}.dialog-inner{padding:26px}.opening{width:100%;margin:auto 0}.passage{margin:65px 0}.passage-controls{gap:12px}.passage-controls button{font-size:12px}}@media (max-height:720px) and (min-width:651px){.title-screen{padding-top:30px;padding-bottom:25px}h1{font-size:50px}.invitation{margin:20px 0}.menu{gap:2px}.eyebrow{margin-bottom:15px}}.playing{padding-top:24px}.playing .backdrop{background-image:url(/images/rain-table-night-v2.png);background-position:50%}.playing:has(.departed) .backdrop{background-image:url(/images/cafe-night.png)}.playing .shade{background:linear-gradient(#0000 15%,#081114eb),linear-gradient(90deg,#08111440,#08111420)}.playing .edition{display:none}.rain-game{flex-direction:column;flex:1;min-height:620px;display:flex}.game-top{justify-content:space-between;align-items:center;gap:15px;margin-top:18px;display:flex}.game-top>span{letter-spacing:.18em;color:var(--muted);font-size:11px}.scene-caption{font-family:var(--serif);text-shadow:0 2px 12px #000;margin:auto 0 30px;padding-top:90px}.scene-caption>span{letter-spacing:.2em;font-size:24px}.scene-caption small{letter-spacing:.12em;margin-top:12px;font-size:12px;display:block}.game-bottom{grid-template-columns:220px minmax(0,800px);justify-content:space-between;align-items:end;gap:36px;margin-bottom:35px;display:grid}.objects{border-top:1px solid var(--line);color:var(--muted);padding-top:16px;font-size:12px;line-height:1.8}.objects>span{letter-spacing:.18em;color:var(--amber);font-size:10px}.objects summary{cursor:pointer;color:var(--paper)}.dialogue-panel{border:1px solid var(--line);background:#101a1ce8;padding:26px 30px;box-shadow:0 8px 40px #0003}.dialogue-name{color:var(--amber);letter-spacing:.2em;margin:0 0 18px;font-size:12px}.current-lines{min-height:65px;font:18px/1.9 var(--serif);letter-spacing:.04em}.current-lines p{margin:8px 0}.current-lines .narration{color:var(--muted);font-size:14px}.game-choices{flex-wrap:wrap;gap:8px;margin-top:23px;display:flex}.game-choices button{border:1px solid var(--line);text-align:left;background:#b5a17b0d;padding:11px 13px;font-size:12px;line-height:1.5}.game-choices button span{color:var(--amber);margin-left:14px}.game-choices button:hover:not(:disabled){background:#b5a17b22}.game-choices button:disabled{opacity:.45}.free-input{border-bottom:1px solid var(--line);margin-top:18px;display:flex}.free-input input{width:100%;min-width:0;font:13px var(--sans);color:var(--paper);outline-offset:3px;background:0 0;border:0;padding:12px 0}.free-input input::placeholder{color:#b9b3a2}.free-input button{color:var(--amber);background:0 0;border:0;padding:10px 15px;font-size:22px}.free-input button:disabled{opacity:.35}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.thinking,.game-warning{color:var(--muted);font-size:11px;line-height:1.6}.game-error{color:#f0c09b;font-size:13px}.game-error button,.chapter-end button,.conversation-log button{border:0;border-bottom:1px solid var(--line);background:0 0;margin-right:20px;padding:10px 0}.chapter-end{color:var(--muted);margin-top:24px;font-size:12px;line-height:1.8}.conversation-log{z-index:3;border:1px solid var(--line);background:#142023;width:min(550px,90vw);max-height:65vh;padding:25px;position:absolute;top:140px;right:5vw;overflow:auto;box-shadow:0 20px 50px #0008}.conversation-log p{font:15px/1.8 var(--serif);border-bottom:1px solid var(--line);padding-bottom:15px}.conversation-log small{font:10px var(--sans);color:var(--amber);margin-bottom:8px;display:block}.playing footer{margin-top:auto}.back:disabled{opacity:.4}@media (max-width:750px){.game-bottom{grid-template-columns:1fr;gap:14px}.objects{padding-top:10px;font-size:11px}.objects p{margin:4px 0}.objects>span{display:none}.dialogue-panel{padding:20px}.scene-caption{margin-bottom:20px;padding-top:100px}.rain-game{min-height:720px}.current-lines{font-size:17px}.game-top>span{font-size:9px}.game-top{gap:5px}.game-top button{font-size:11px}.game-choices button{font-size:12px}.playing{padding-inline:20px}.playing .backdrop{background-position:20% 0}}.scene-stage{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.scene-hotspot{min-width:44px;min-height:44px;color:var(--paper);background:#101a1cbb;border:1px solid #d3ac7255;border-radius:24px;align-items:center;gap:7px;padding:6px;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 14px #0008}.hotspot-dot{border:1px solid var(--paper);border-radius:50%;width:22px;height:22px;margin:4px;display:block;box-shadow:inset 0 0 0 5px #101a1c}.scene-hotspot[aria-pressed=true] .hotspot-dot{background:var(--amber)}.hotspot-label{white-space:nowrap;padding-right:8px;font-size:12px}.scene-hotspot:hover:not(:disabled){background:#253032}.scene-hotspot:disabled{opacity:.4}.scene-hotspot{pointer-events:auto}.playing .masthead,.playing .game-top,.playing .game-bottom,.playing footer{z-index:2;position:relative}.playing .scene-caption{z-index:2;pointer-events:none;position:relative}.playing .game-bottom{pointer-events:none}.playing .game-bottom>*{pointer-events:auto}.playing .conversation-log{z-index:4}@media (max-width:750px){.hotspot-label{display:none}.scene-hotspot{justify-content:center;padding:0}}.about-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden}.about-dialog .dialog-inner{max-height:inherit;flex-direction:column;display:flex}.about-dialog .eyebrow{flex:none}.about-dialog h2{outline:none;flex:none}.about-copy{overscroll-behavior:contain;min-height:0;overflow-y:auto}.about-copy>p{color:var(--muted);margin:0 0 18px;font-size:14px;line-height:2}.about-dialog form{flex:none}.about-dialog .close{align-items:center;gap:16px;min-height:48px}.about-dialog .close svg{color:var(--amber);flex:none}@media (max-width:650px){.about-dialog{width:calc(100% - 32px);margin:auto}.about-dialog .dialog-inner{padding:24px}.about-dialog .eyebrow{letter-spacing:.2em;margin:0 0 16px;font-size:10px}.about-dialog h2{letter-spacing:.06em;margin:0 0 24px;font-size:26px;line-height:1.5}.about-copy>p{margin:0 0 16px;font-size:14px;line-height:1.85}.about-dialog .about-copy .content-note{margin:20px 0 0;padding-top:16px;line-height:1.85;font-size:12px!important}.about-dialog .close{margin-top:16px;padding:12px 0;font-size:14px}.about-dialog .close:focus-visible{outline-offset:3px}}@media (max-height:580px){.about-dialog .dialog-inner{padding:16px 24px}.about-dialog .eyebrow{margin-bottom:8px}.about-dialog h2{margin:0 0 12px;font-size:23px;line-height:1.4}.about-dialog .close{margin-top:8px}}@media (max-width:650px){.reading .opening{width:100%;padding:28px 0}.reading .back{min-height:44px;padding:10px 0;font-size:16px}.reading .passage{margin:44px 0 40px}.reading .passage .eyebrow{letter-spacing:.18em;margin-bottom:24px;font-size:12px}.reading .passage h2{letter-spacing:.02em;text-wrap:balance;color:var(--paper);margin:0 0 24px;font-size:26px;line-height:1.65}.reading .passage>p:last-child{letter-spacing:.03em;color:#e0d8c9;text-wrap:pretty;margin:0;font-size:18px;line-height:1.8}.reading .passage-controls{gap:12px;padding-top:16px}.reading .passage-controls>span{letter-spacing:.08em;color:#d6cdbd;font-size:12px}.reading .passage-controls button{min-height:48px;padding:12px 0;font-size:16px}.reading .passage-controls button span{margin-left:16px}.reading .shade{background:linear-gradient(90deg,#081114e6,#081114b0 65%,#08111470),linear-gradient(#0000 8%,#08111466 28% 65%,#0000 90%)}}.ui-arrow{vertical-align:middle;color:var(--amber);flex:none;width:20px;height:20px;display:inline-block}.back .ui-arrow{width:16px;height:16px;margin-right:8px}.passage-controls button{align-items:center;gap:16px;display:inline-flex}.game-choices button{justify-content:space-between;align-items:center;gap:14px;display:inline-flex}.game-choices .ui-arrow{width:17px;height:17px}.chapter-end button .ui-arrow{margin-left:10px}.free-input button .ui-arrow{width:22px;height:22px}.menu .start .ui-arrow{width:22px;height:22px;margin-left:auto}.mobile-cafe-title{display:none}@media (max-width:750px),(max-width:1100px) and (orientation:portrait){.scene.playing{height:100dvh;min-height:0;padding:max(8px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom));overflow:hidden}.playing .masthead,.playing footer,.playing .scene-caption,.playing .desktop-table-title{display:none}.playing .rain-game{flex:1;min-height:0;overflow:visible}.playing .game-top{text-shadow:0 1px 6px #000;flex:none;gap:8px;min-height:48px;margin:0}.playing .game-top .back{min-height:44px;padding:8px 0;font-size:13px}.playing .mobile-cafe-title{font:15px var(--serif);letter-spacing:.08em;color:var(--paper);display:block}.playing .game-top .back .ui-arrow{width:16px;margin-right:4px}.playing .game-bottom{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;align-items:stretch;gap:8px;min-height:0;max-height:62dvh;margin:auto 0 0;display:flex;overflow-y:auto}.playing .objects{display:none}.playing .objects.has-items{border:1px solid var(--line);background:#101a1cf5;align-self:flex-start;max-width:100%;padding:6px 12px;font-size:12px;display:block}.playing .objects.has-items p{margin:0}.playing .objects summary{min-height:32px;padding-top:6px}.playing .dialogue-panel{background:#101a1cfa;flex:none;width:100%;padding:18px 18px 12px}.playing .dialogue-name{letter-spacing:.14em;margin-bottom:12px;font-size:13px}.playing .current-lines{letter-spacing:.02em;min-height:0;font-size:18px;line-height:1.7}.playing .current-lines p{margin:6px 0}.playing .current-lines .narration{color:#d5cebf;font-size:16px;line-height:1.75}.playing .game-choices{gap:8px;margin-top:16px}.playing .game-choices button{flex:auto;min-height:44px;padding:10px 12px;font-size:14px}.playing .free-input{margin-top:12px}.playing .free-input input{padding:12px 0;font-size:16px}.playing .free-input button{min-width:44px;min-height:44px;padding:10px}.playing .conversation-log{width:auto;max-height:calc(100dvh - 96px);padding:20px;top:64px;left:16px;right:16px}.playing .shade{background:linear-gradient(#0000 35%,#081114b3),linear-gradient(#081114b3,#0000 25%)}}@media (min-width:751px){.playing .game-top{justify-content:flex-start;gap:24px}.playing .game-top .desktop-table-title{letter-spacing:.1em;color:var(--paper);border-left:1px solid var(--line);text-shadow:0 1px 5px #081114,0 0 12px #081114;padding-left:24px;font-size:14px;line-height:1.5}.playing .game-top>button:last-child{margin-left:auto}}.playing .backdrop{background-position:var(--scene-position,center)}.scene-stage.pannable{pointer-events:auto;touch-action:pan-y pinch-zoom;cursor:grab;-webkit-user-select:none;user-select:none}.scene-stage.pannable:active{cursor:grabbing}.pan-controls{color:var(--paper);text-shadow:0 1px 5px #000;z-index:1;align-items:center;gap:12px;font-size:12px;display:flex;position:absolute;top:140px;right:5vw}.pan-controls button{border:1px solid var(--line);background:#101a1cbf;min-height:44px;padding:8px 10px;font-size:12px}@media (max-width:750px),(max-width:1100px) and (orientation:portrait){.playing .backdrop{background-position:var(--scene-position,20% top)}.pan-controls{justify-content:flex-end;gap:6px;top:68px;left:16px;right:16px}.pan-controls>span{max-width:80px;margin-right:auto;font-size:10px;line-height:1.6}.pan-controls button{padding:8px;font-size:11px}.scene-hotspot .hotspot-label{display:none}.scene-hotspot{justify-content:center;padding:0}.playing .game-top{justify-content:space-between;gap:8px}.playing .game-top>button:last-child{margin-left:0}.pan-controls>span{max-width:110px;font-size:12px}}.free-input:focus-within{border-bottom-color:var(--amber);box-shadow:0 1px 0 var(--amber);background:linear-gradient(#0000,#d3ac7210)}.free-input input{caret-color:var(--amber);border-radius:0}.free-input input:focus{outline:none}.free-input button:focus-visible{outline:2px solid var(--amber);outline-offset:-4px}@media (forced-colors:active){.free-input:focus-within{box-shadow:none;border-bottom-color:highlight}.free-input input:focus{outline-offset:-2px;outline:2px solid highlight}}.playing:has(.rain-game.released) .backdrop{background-image:url(/images/rain-table-released-v1.png)}.playing:has(.rain-game.owner) .backdrop{background-image:url(/images/owner-table-v1.png)}.playing:has(.rain-game.owner-key) .backdrop{background-image:url(/images/owner-key-v1.png);background-position:50%}.playing:has(.rain-game.owner-departed) .backdrop{background-image:url(/images/owner-exit-v1.png);background-position:38%}.playing:has(.rain-game.owner-afterword) .backdrop{background-image:url(/images/owner-key-v1.png);background-position:50%}.cinematic .scene-caption,.cinematic .objects{display:none!important}.chapter-note{color:var(--muted);font-size:14px;line-height:1.8}@media (max-width:750px),(max-width:1100px) and (orientation:portrait){.playing .cinematic .game-bottom{max-height:40dvh}:is(.playing:has(.rain-game.owner-key) .backdrop,.playing:has(.rain-game.owner-afterword) .backdrop){background-position:49% bottom}.playing .owner-ready .game-bottom{max-height:52dvh}}
