:root{--bg:#f6f3ee;--fg:#1f1d1a;--muted:#6d685f;--card:#fff;--line:#e4ded3;--accent:#d9480f;--accent-fg:#fff;--bar:#cfc7ba;--hot:#d9480f}
@media (prefers-color-scheme:dark){:root{--bg:#141416;--fg:#efede8;--muted:#a5a29a;--card:#1e1e22;--line:#323238;--accent:#ff7a3d;--accent-fg:#141416;--bar:#45444a;--hot:#ff7a3d}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:system-ui,"Hiragino Sans","Noto Sans JP",sans-serif;line-height:1.7}
a{color:inherit}
main{max-width:640px;margin:0 auto;padding:24px 16px 40px}
section{text-align:center}
h1{font-size:1.9rem;margin:8px 0}
.lead{font-size:1.05rem}
.small{color:var(--muted);font-size:.88rem}
button{font:inherit;border:0;border-radius:12px;padding:14px 18px;min-height:48px;cursor:pointer;background:var(--accent);color:var(--accent-fg);font-weight:700}
button.ghost{background:transparent;color:var(--fg);border:1px solid var(--line);font-weight:400}
button.big{font-size:1.2rem;padding:16px 40px}
button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.machine{display:flex;gap:10px;justify-content:center;margin:12px 0}
.machine span{width:14px;height:14px;border-radius:50%;background:var(--accent);animation:blink 1.4s infinite}
.machine span:nth-child(2){animation-delay:.2s}.machine span:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,100%{opacity:.25}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.machine span{animation:none}}
.qnum{color:var(--muted);margin:0}
.qtext{font-size:1.3rem;line-height:1.6;margin:8px 0 20px;min-height:4.2em;outline:none}
.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.answers .ghost{grid-column:1/-1}
.opts{display:grid;grid-template-columns:1fr;gap:8px}
.opts.two{grid-template-columns:1fr 1fr}
.opts button{min-height:52px;line-height:1.4}
.unk{margin-top:10px;width:100%}
.mind{margin:28px 0 0;padding:14px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.mind figcaption{font-size:.85rem;color:var(--muted);margin-bottom:8px}
.bars{display:flex;align-items:flex-end;gap:1px;height:90px}
.bars i{flex:1;background:var(--bar);border-radius:2px 2px 0 0;transition:height .35s ease}
.bars i.hot{background:var(--hot)}
.axis{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted)}
.think{margin:8px 0 0;font-weight:700}
.ryear{margin:0;font-size:4rem;font-weight:800;line-height:1.1;color:var(--accent)}
.ryear small{font-size:1.1rem;color:var(--fg);margin-left:4px}
.ryear span{outline:none}
.rrange{margin:4px 0}
.rwhy{text-align:left;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.thanks{font-weight:700}
.share{display:inline-block;margin:12px 0;padding:10px 0}
.doc{text-align:left}
footer{border-top:1px solid var(--line);padding:16px;text-align:center;color:var(--muted);font-size:.85rem}
footer a{margin:0 8px;display:inline-block;padding:6px 0}
.jmap{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;max-width:420px;margin:0 auto}
.jmap i{aspect-ratio:1;border-radius:4px;background:var(--bar);font-style:normal;font-size:.62rem;display:flex;align-items:center;justify-content:center;color:var(--fg);overflow:hidden;white-space:nowrap}
.jmap i.top{outline:2px solid var(--fg)}
.top3{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:8px 0}
.top3 span{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-size:.9rem}
