*{box-sizing:border-box}
:root{color-scheme:dark;--paper:#271b30;--ink:#fff0f7;--muted:#e9cde0;--line:#5c4666;--accent:#f5c9d9;--surface:#382841;--surface-raised:#442d4d;--field:#2e2036;--dark:#312038}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
[hidden]{display:none!important}
a{color:inherit}
button,input,select,textarea{font:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.64rem 1.04rem;border:1px solid var(--accent);border-radius:8px;background:var(--accent);color:var(--dark);text-decoration:none;font-weight:700;cursor:pointer;text-align:center}
button:hover,.button:hover{background:#ffe0eb}
button[disabled]{opacity:.5;cursor:default}
.secondary{color:var(--ink);background:var(--surface);border-color:#896d8a}
.secondary:hover{background:var(--surface-raised)}
:focus-visible{outline:3px solid #ffb8d9;outline-offset:3px}
input:not([type=checkbox]):not([type=radio]),select,textarea{background:var(--field);border:1px solid #896d8a;border-radius:7px;color:var(--ink);padding:.65rem .8rem;min-height:46px;max-width:100%}
textarea{display:block;width:100%;resize:vertical}
label{font-weight:650}
small,.muted{color:var(--muted)}
h1,h2,h3,p{margin-top:0}
h1,h2{line-height:1.12;letter-spacing:-.045em}
p:last-child{margin-bottom:0}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem}
.stack{display:grid;gap:.9rem}
.stack p,.stack h2,.stack h3{margin:0}
.panel{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:clamp(1rem,3vw,1.65rem);min-width:0}
.error,.notice{padding:.75rem 1rem;border-radius:8px;background:#803753;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
.notice{background:#304b39;color:#e1f1d6}
.brand{font-size:1.4rem;font-weight:900;letter-spacing:-.09em;text-decoration:none;white-space:nowrap}
.brand span{background:#f7bdd3;color:#412848;padding:0 .27em .04em;margin-left:.15em;border-radius:.26em;letter-spacing:-.07em}
.site-head{max-width:1220px;padding:1.15rem clamp(1rem,4vw,2.4rem);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:.8rem}
.site-foot{padding:1rem 0;color:var(--muted);font-size:.875rem}
.badge{display:inline-block;border:1px solid var(--line);border-radius:99px;padding:.17rem .63rem;font-size:.85rem;font-weight:650}
@media(max-width:440px){.site-head{padding:1rem}.panel{border-radius:12px}}
