/* Reforged accounts: same palette, fonts and header as shadowbanereforged.com. */
:root {
  --bg: #0d0b0f;
  --bg-2: #15121a;
  --bg-3: #1d1922;
  --line: #2c2632;
  --text: #e9e3da;
  --muted: #a39a90;
  --gold: #e2b55c;
  --gold-2: #b8792a;
  --ember: #e4572e;
  --ember-2: #b3261e;
  --ok: #5fcf80;
  --bad: #ff7a5c;
  --head: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--text); font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(228, 87, 46, .22), transparent 70%),
    radial-gradient(ellipse 55% 40% at 12% 8%, rgba(90, 50, 120, .28), transparent 70%),
    linear-gradient(180deg, #0a0810 0%, #150e19 55%, #1c1013 100%) fixed;
  background-color: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header (matches the main site) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 15, .8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 72rem; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 36px;
}
.site-header__brand { display: flex; flex-shrink: 0; }
.site-header__brand img { height: 40px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.site-header__links { display: flex; align-items: center; gap: 24px; font-size: .875rem; }
.site-header__links a { color: var(--muted); transition: color .2s; }
.site-header__links a:hover { color: var(--text); text-decoration: none; }
.site-header__links a[aria-current="page"] { color: var(--text); font-weight: 500; box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: .875rem; }
.site-header__right > a:not(.btn) { color: var(--muted); }
.site-header__right > a:not(.btn):hover { color: var(--text); text-decoration: none; }
.who { color: var(--gold); font-weight: 600; }
.inline { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.linkish:hover { color: var(--text); }

@media (max-width: 640px) {
  .site-header__inner { padding: 12px 16px; gap: 16px; flex-wrap: wrap; }
  .site-header__brand img { height: 32px; }
  .site-header__links { gap: 16px; }
  .site-header__right { width: 100%; justify-content: flex-end; margin-left: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em; border-radius: 6px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--body); letter-spacing: .03em;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:focus-visible, input:focus-visible, .linkish:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn--ember { background: linear-gradient(180deg, var(--ember), var(--ember-2)); color: #fff; box-shadow: 0 6px 24px -8px rgba(228, 87, 46, .7); }
.btn--ember:hover { box-shadow: 0 10px 32px -8px rgba(228, 87, 46, .9); }
.btn--ghost { border-color: rgba(226, 181, 92, .55); color: var(--gold); background: rgba(13, 11, 15, .35); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(226, 181, 92, .08); }
.btn--small { padding: .55em 1em; font-size: .82rem; }
.btn--block { width: 100%; margin-top: 8px; padding: 1em; }

/* ---------- page ---------- */
.stage { flex: 1; width: 100%; max-width: 34rem; margin: 0 auto; padding: 56px 16px 40px; display: grid; gap: 20px; align-content: start; }

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(29, 25, 34, .92), rgba(15, 12, 18, .94));
  border: 1px solid rgba(226, 181, 92, .28);
  border-radius: 10px;
  padding: 34px 32px 28px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.panel--plain { padding: 24px 32px; border-color: var(--line); }
@media (max-width: 480px) { .panel, .panel--plain { padding-left: 20px; padding-right: 20px; } }

/* engraved rule with a centre diamond, echoing the plaque on the main site */
.panel__rule { position: absolute; top: -1px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
.panel__rule span { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: linear-gradient(135deg, #f4f4f2, #8d8d8a 55%, #4b4b4a); border: 1px solid #070707; }

.panel__title { font: 700 1.75rem/1.2 var(--head); margin: 6px 0 6px; text-align: center; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffe2a8, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel__sub { color: var(--muted); text-align: center; margin: 0 0 22px; font-size: .95rem; }
.panel__h2 { font: 700 1.1rem/1.3 var(--head); margin: 0 0 8px; color: var(--text); letter-spacing: .02em; }
.panel__alt { text-align: center; margin: 20px 0 0; color: var(--muted); font-size: .92rem; }
.panel__fine { text-align: center; margin: 10px 0 0; color: var(--muted); font-size: .8rem; opacity: .8; }
.muted { color: var(--muted); margin: 0 0 14px; font-size: .94rem; }

/* ---------- forms ---------- */
form { margin: 0; }
.field { margin: 0 0 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: .75em .9em;
  font: 400 1rem/1.3 var(--body); color: var(--text);
  background: rgba(8, 6, 10, .7); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: #3b3342; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 181, 92, .18); }
.field__hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.field__err { margin: 6px 0 0; font-size: .85rem; color: var(--bad); }
.field--bad input { border-color: rgba(255, 122, 92, .7); }
.turnstile { margin: 4px 0 12px; min-height: 65px; display: flex; justify-content: center; }

.notice { margin: 0 0 18px; padding: 10px 14px; border-radius: 6px; font-size: .92rem; border: 1px solid; }
.notice--ok { color: #bff0cd; border-color: rgba(95, 207, 128, .45); background: rgba(95, 207, 128, .08); }
.notice--bad { color: #ffd0c4; border-color: rgba(255, 122, 92, .5); background: rgba(228, 87, 46, .1); }

/* ---------- account facts ---------- */
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }

.foot { text-align: center; color: var(--muted); font-size: .78rem; padding: 24px 16px 32px; opacity: .75; }
