:root{--bg: #fff8ec;--card: #ffffff;--ink: #241f1a;--muted: #6b6259;--accent: #e8590c;--accent-2: #2f9e44;--line: #eadfd0;--radius: 16px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5;-webkit-tap-highlight-color:transparent}a{color:var(--accent)}button{font:inherit;cursor:pointer;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:999px;padding:.5rem 1rem}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}input[type=search],input[type=text]{font:inherit;padding:.6rem .9rem;border:1px solid var(--line);border-radius:999px;background:var(--card);width:100%}.wrap{max-width:960px;margin:0 auto;padding:1rem}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.topbar a.back{text-decoration:none;font-weight:600}.hud{display:flex;gap:.5rem 1.25rem;flex-wrap:wrap;font-weight:600}.hud span b{color:var(--accent)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:none;align-items:center;justify-content:center;background:#0000008c;padding:1rem;z-index:10}.overlay.show{display:flex}.overlay .panel{background:var(--card);border-radius:var(--radius);padding:1.5rem;max-width:420px;width:100%;text-align:center}.toast{position:fixed;left:50%;bottom:1rem;transform:translate(-50%);background:var(--ink);color:#fff;padding:.6rem 1rem;border-radius:999px;display:none;z-index:20;max-width:92vw;text-align:center}.toast.show{display:block}@media (prefers-color-scheme: dark){:root{--bg: #1d1a16;--card: #2a2521;--ink: #f5efe6;--muted: #b8ab9c;--line: #453d33}}
