/* Wreck Tag — legal, privacy, cookie and support pages. Self-hosted fonts only. */
@font-face { font-family: Bungee; src: url(./fonts/bungee.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Rubik; src: url(./fonts/rubik.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #15110d; --card: #1f1a14; --line: rgba(255, 255, 255, .12);
  --ink: #fff7e8; --muted: #c9bfae; --gold: #ffd12a; --hot: #ff4a2a; --ok: #4dff7a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 Rubik, system-ui, sans-serif;
  background-image: radial-gradient(1200px 500px at 50% -10%, rgba(255, 122, 26, .16), transparent 70%);
}
a { color: var(--gold); }
a:hover { color: #fff; }
.wrap { max-width: 820px; margin: 0 auto; padding: 24px 16px 56px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { font: 400 26px/1 Bungee, Rubik, sans-serif; text-decoration: none; color: var(--gold); text-shadow: 3px 3px 0 var(--hot); }
.brand span { color: var(--ink); }
.play { font: 700 14px Rubik, sans-serif; text-decoration: none; color: #1a1006; background: linear-gradient(#ffb03a, #ff6a1a); padding: 10px 18px; border-radius: 10px; }
.play:hover { color: #000; filter: brightness(1.08); }
h1 { font: 400 clamp(26px, 6vw, 38px)/1.15 Bungee, Rubik, sans-serif; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 34px 0 8px; color: var(--gold); }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, li { color: var(--muted); }
strong { color: var(--ink); }
.updated { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 700; }
td code { font-size: 13px; color: var(--gold); }
.scroll { overflow-x: auto; }
.fill { background: rgba(255, 74, 42, .18); color: #ffb3a3; border: 1px dashed var(--hot); border-radius: 4px; padding: 0 4px; }
nav.legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
nav.legal a { color: var(--muted); text-decoration: none; }
nav.legal a:hover, nav.legal a[aria-current] { color: var(--gold); }
nav.legal .by { margin-left: auto; }

/* support form */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--ink); background: #120e0a; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; min-height: 44px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[type=submit] {
  font: 400 16px Bungee, Rubik, sans-serif; color: #1a1006; background: linear-gradient(#ffb03a, #ff6a1a);
  border: 0; border-radius: 12px; padding: 14px 22px; min-height: 48px; cursor: pointer; justify-self: start;
}
button[type=submit]:disabled { opacity: .55; cursor: wait; }
.status { min-height: 1.4em; font-weight: 700; }
.status.ok { color: var(--ok); }
.status.err { color: #ff8a73; }
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  nav.legal .by { margin-left: 0; width: 100%; }
}
