/* Shared styles for the arrowVON sub-pages (leaderboard, roadmap, changelog, feedback). */
:root { --bg1:#0f1226; --bg2:#1d2a5c; --fg:#f4f6ff; --muted:#a9b1d6; --accent:#ffb454; --btn:#ffffff14; --line:#ffffff2a; }
* { box-sizing:border-box; margin:0; }
/* Background on the root, so the reserved scrollbar gutter (keeps the nav still) is painted too, not a dark strip. */
html { scrollbar-gutter:stable; min-height:100%; background:radial-gradient(120% 90% at 50% 0%, var(--bg2), var(--bg1)) fixed; background-color:var(--bg1); }
body {
  min-height:100dvh; display:flex; flex-direction:column; align-items:center; overflow-x:clip; /* clip, not hidden: hidden turns body into its own scroll box on iOS Safari and can lock page scrolling */
  padding:16px; color:var(--fg); line-height:1.5;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
a { color:inherit; }


/* Page body. */
.page { width:100%; max-width:640px; margin:clamp(32px,8vh,72px) 0 auto; animation:rise .4s ease-out both; }
.page h1 { font-size:clamp(2rem,6vw,2.8rem); letter-spacing:-.02em; line-height:1.1; text-align:center; }
.page .lead { color:var(--muted); text-align:center; margin:10px 0 32px; }
@keyframes rise { from { opacity:0; transform:translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .page { animation:none; } }

.card { border:1px solid var(--line); background:var(--btn); border-radius:16px; padding:18px 20px; }
.stack { display:flex; flex-direction:column; gap:12px; }
.label { font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); }
.muted { color:var(--muted); }
.card h2 { font-size:1.05rem; margin:4px 0 8px; }
.card ul { padding-left:18px; color:var(--muted); }
.card li + li { margin-top:4px; }

/* Form controls (feedback). */
.field { display:flex; flex-direction:column; gap:6px; }
.field span { font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
input, textarea, select {
  font:inherit; color:var(--fg); background:var(--btn); border:1px solid var(--line); border-radius:12px;
  padding:10px 14px; outline:0; width:100%;
}
input:focus, textarea:focus, select:focus { border-color:var(--accent); }
textarea { min-height:140px; resize:vertical; }
.primary { border:0; border-radius:999px; background:var(--accent); color:var(--bg1); font:inherit; font-weight:700;
           padding:10px 22px; cursor:pointer; align-self:center; }
.primary:disabled { opacity:.6; cursor:wait; }
.status { text-align:center; color:var(--accent); min-height:1.4em; }
.hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

/* Dark native controls, and pill buttons for the feedback type. */
:root { color-scheme:dark; }
fieldset { border:0; padding:0; min-width:0; }
.pills { display:flex; gap:8px; flex-wrap:wrap; }
.pills label { position:relative; }
.pills input { position:absolute; inset:0; width:1px; height:1px; padding:0; opacity:0; pointer-events:none; }
.pills b { display:block; font-weight:600; font-size:.9rem; color:var(--muted); border:1px solid var(--line); border-radius:999px;
           padding:7px 16px; cursor:pointer; transition:color .15s, background .15s, border-color .15s; }
.pills b:hover { color:var(--fg); }
.pills input:checked + b { color:var(--bg1); background:var(--accent); border-color:var(--accent); }
.pills input:focus-visible + b { outline:2px solid var(--accent); outline-offset:2px; }
/* Native <select> dropdown lists: a see-through select background leaves options on the OS white;
   give them the dark theme so light text stays readable (careers audience picker). */
select option { background:var(--bg1); color:var(--fg); }
/* Site rule: links never underline (hover included); color shows they are links. */
a, a:hover, a:focus-visible { text-decoration:none; }
