:root{--paper: #f3f0e5;--glow: #fbf9f3;--ink: #17140f;--muted: #6a6358;--rule: #c9bfac;--red: #a3262a;--red-soft: #c24a45;--on-red: #fbf9f3;--ok: #3b6b3a;--bad: #a3262a;--serif: "Newsreader", "Times New Roman", Times, "Liberation Serif", "Noto Serif", serif;--sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--paper: #17130f;--glow: #1f1b15;--ink: #ece4d2;--muted: #a59c8c;--rule: #3a332a;--red: #ea6b63;--red-soft: #f08a82;--on-red: #17130f;--ok: #8fc489;--bad: #ea6b63;color-scheme:dark}}:root[data-theme=dark]{--paper: #17130f;--glow: #1f1b15;--ink: #ece4d2;--muted: #a59c8c;--rule: #3a332a;--red: #ea6b63;--red-soft: #f08a82;--on-red: #17130f;--ok: #8fc489;--bad: #ea6b63;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.45 var(--sans)}body{min-height:100vh;padding:16px;display:flex;flex-direction:column;align-items:center}main{width:100%;max-width:440px}#app{min-height:300px;display:flex;flex-direction:column;justify-content:center;gap:12px}.w-h{margin:0;font:500 26px/1.15 var(--serif)}.w-q{margin:0;font:500 20px/1.3 var(--serif)}.w-p{margin:0;color:var(--muted)}.w-tag{margin:0;color:var(--red);font:600 12px var(--sans);letter-spacing:.06em;text-transform:uppercase}.w-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:10px 18px;border:2px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:600 16px var(--sans);text-decoration:none;cursor:pointer}.w-btn.red{background:var(--red);border-color:var(--red);color:var(--on-red)}.w-btn.red:hover{background:var(--red-soft);border-color:var(--red-soft)}.w-btn.opt{justify-content:flex-start;text-align:left;border-radius:16px;font-weight:500}.w-btn.link{border-color:transparent;min-height:44px;font-weight:500;text-decoration:underline}.w-btn:disabled{opacity:.55;cursor:default}.w-btn:focus-visible,.w-code:focus-visible{outline:3px solid var(--red);outline-offset:2px}.w-opts{display:flex;flex-direction:column;gap:10px}.w-rail{position:relative;height:150px;margin:24px 0 8px;border-top:4px solid var(--rule);border-bottom:4px solid var(--rule);background:radial-gradient(ellipse at 40% 50%,var(--glow) 0%,var(--paper) 70%)}.w-rail:before,.w-rail:after{content:"";position:absolute;left:40%;width:4px;height:28px;margin-left:-2px;background:var(--rule)}.w-rail:before{top:0}.w-rail:after{bottom:0}.w-word{position:absolute;inset:0 auto 0 0;width:80%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;white-space:pre;font:500 40px/1 var(--serif);font-kerning:none;font-variant-ligatures:none}.w-word .pre{justify-self:end}.w-word .post{justify-self:start}.w-word .piv{color:var(--red)}.w-progress{height:4px;border-radius:2px;background:var(--rule);overflow:hidden}.w-progress i{display:block;height:100%;width:0;background:var(--red)}.w-num{font:500 72px/1 var(--serif);text-align:center;font-variant-numeric:tabular-nums}.w-unit{text-align:center;color:var(--muted);margin-top:-6px}.w-note{margin:0;text-align:center;font-weight:600}.w-note.ok{color:var(--ok)}.w-note.bad{color:var(--bad)}.w-ref{margin:0;text-align:center;color:var(--muted);font-size:14px}#embed{margin-top:28px;padding-top:20px;border-top:1px solid var(--rule);display:flex;flex-direction:column;gap:10px}#embed[hidden]{display:none}.w-code{width:100%;padding:10px 12px;border:1px solid var(--rule);border-radius:12px;background:var(--glow);color:var(--ink);font:13px/1.4 ui-monospace,Consolas,monospace;resize:none}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
