:root{--bg: #14110e;--ink: #ebe4d6;--dim: rgba(235, 228, 214, .62);--faint: rgba(235, 228, 214, .42);--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:"Noto Serif SC",Songti SC,STSong,"Source Han Serif SC",serif;font-synthesis:none;text-rendering:geometricPrecision}body{overflow-x:clip;overscroll-behavior:none}::selection{background:#3c342b;color:#f4efe6}#scroll{height:1120vh}#view{position:fixed;inset:0;width:100%;height:100dvh;display:block;z-index:1;pointer-events:none;opacity:0}#veil{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 44%,transparent 42%,rgba(0,0,0,.42) 100%)}#grain{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:0;background-size:168px 168px;mix-blend-mode:overlay}#caption{position:fixed;z-index:3;left:0;right:0;bottom:calc(12.5vh + var(--safe-bottom));margin:0;padding:0 1.5rem;text-align:center;font-size:clamp(15px,1.7vw,22px);font-weight:400;line-height:1;letter-spacing:.58em;text-indent:.58em;color:var(--ink);opacity:0;pointer-events:none}#hint{position:fixed;z-index:3;left:50%;bottom:calc(26px + var(--safe-bottom));width:1px;height:46px;margin-left:-.5px;pointer-events:none;opacity:0}#hint i{display:block;width:1px;height:100%;background:linear-gradient(to bottom,transparent,rgba(235,228,214,.72));transform-origin:top center;animation:hint 2.6s ease-in-out infinite}@keyframes hint{0%,to{transform:translateY(0);opacity:.4}50%{transform:translateY(12px);opacity:1}}#endcard{position:fixed;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;text-align:center;visibility:hidden;padding:calc(24px + var(--safe-top)) 1.5rem calc(24px + var(--safe-bottom))}#endcard .title,#endcard .tool,#endcard .sign,#endcard .year,#endcard .rule{opacity:0}#endcard .title{margin:0;font-size:clamp(42px,7.2vw,104px);font-weight:400;line-height:1;letter-spacing:.26em;text-indent:.26em}#endcard .rule{width:1.6em;height:1px;margin:1.35em 0 0;background:#ebe4d673}#endcard .tool{margin:1.15em 0 0;font-size:13px;letter-spacing:.62em;text-indent:.62em;color:var(--dim)}#endcard .sign{margin:2.5em 0 0;font-size:14px;letter-spacing:.46em;text-indent:.46em;color:var(--dim)}#endcard .year{margin:.85em 0 0;font-size:12px;letter-spacing:.52em;text-indent:.52em;color:var(--faint)}#sound{position:fixed;z-index:5;top:calc(16px + var(--safe-top));right:calc(16px + var(--safe-right));min-width:44px;height:44px;padding:0 14px 0 16px;border-radius:999px;border:1px solid rgba(235,228,214,.42);background:#14110e8c;color:var(--ink);font:inherit;font-size:13px;letter-spacing:.22em;cursor:pointer;display:inline-flex;align-items:center;gap:.55em;opacity:0;-webkit-tap-highlight-color:transparent}#sound:focus-visible{outline:1px solid rgba(235,228,214,.85);outline-offset:3px}#sound[aria-pressed=false]{color:#ebe4d6b8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html.fallback #scroll,html.fallback #view,html.fallback #veil,html.fallback #grain,html.fallback #caption,html.fallback #endcard,html.fallback #hint,html.fallback #sound{display:none}html.fallback #poem{display:block;position:static;width:auto;height:auto;margin:0;padding:18vh 10vw 16vh;overflow:visible;clip:auto;white-space:normal}html.fallback #poem .lead{margin:0 0 1.4em;font-size:clamp(64px,14vw,120px);line-height:1;letter-spacing:.06em;font-weight:400}html.fallback #poem p{margin:.55em 0;font-size:clamp(18px,2.4vw,28px);letter-spacing:.42em;text-indent:.42em}html.fallback #poem .colophon{margin-top:3.2em;font-size:14px;letter-spacing:.46em;text-indent:.46em;color:var(--dim)}@media(max-width:720px){#caption{bottom:calc(11vh + var(--safe-bottom));letter-spacing:.46em;text-indent:.46em;font-size:15px}#endcard .title{letter-spacing:.18em;text-indent:.18em}#endcard .tool{letter-spacing:.42em;text-indent:.42em}}@media(prefers-reduced-motion:reduce){#hint i{animation:none;opacity:.75}}html{scrollbar-color:#3a342c transparent}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#3a342c}
