/* accounts: raidland.org/account.html — the same warm palette and Oswald headings as the landing page, Inter for the
   body (both SIL OFL 1.1, assets/fonts), Lucide icons inline (ISC). No inline styles or scripts (the site's CSP). */
@font-face { font-family: "Oswald"; src: url(assets/fonts/Oswald-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url(assets/fonts/Oswald-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #120c0a; --panel: rgba(30, 21, 17, .86); --raised: rgba(255, 255, 255, .045);
  --line: rgba(255, 196, 140, .14); --line-hi: rgba(255, 196, 140, .34);
  --text: #f1ebe4; --muted: #b3a597; --faint: #85796d;
  --gold: #ffc62e; --gold2: #f29a12; --good: #62d68c; --bad: #ff7a6b;
  --head: "Oswald", "Arial Narrow", Impact, system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 16px/1.55 var(--body); color: var(--text); background: var(--bg);
  background-image: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(242, 154, 18, .16), transparent 60%),
                    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(224, 18, 29, .10), transparent 60%);
  display: flex; flex-direction: column;
}
a { color: var(--gold); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.ac-top { display: flex; align-items: center; justify-content: space-between; padding: 14px max(16px, calc((100vw - 1040px) / 2)); }
.ac-logo img { display: block; width: 72px; height: auto; }
.ac-back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.ac-back:hover { color: var(--text); }

.ac-main { flex: 1; display: grid; place-items: start center; padding: 12px 16px 48px; }
.ac-card {
  width: min(460px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 5vw, 36px); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: rise .45s var(--ease) both;
}
.ac-card.wide { width: min(760px, 100%); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ac-card { animation: none; } * { transition: none !important; } }

.ac-kicker { margin: 0 0 4px; font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ac-h1 { margin: 0 0 8px; font: 700 clamp(28px, 6vw, 38px)/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.ac-lead { margin: 0 0 22px; color: var(--muted); }
.ac-lead.small { margin: 4px 0 16px; font-size: 15px; }
.ac-sub { margin: 0; color: var(--muted); font-size: 15px; }

.ac-providers { display: grid; gap: 12px; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 48px; border-radius: 12px;
  background: #fff; color: #1f1f1f; border: 1px solid #747775; text-decoration: none; font: 600 16px var(--body);
  transition: background .15s, transform .1s, box-shadow .2s;
}
.btn-google:hover { background: #f6f8fa; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.btn-google:active { transform: scale(.98); }
.g-mark { width: 20px; height: 20px; background: url(assets/google-g.png) center / 200% no-repeat; } /* (Google's own button image, the «G» part) */
.btn-apple { position: relative; height: 48px; border-radius: 12px; background: #000; display: grid; place-items: center; opacity: .55; cursor: not-allowed; overflow: hidden; }
.btn-apple img { height: 44px; width: auto; max-width: 100%; }
.soon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: var(--gold); color: #1d1206; font: 600 11px/1 var(--body); padding: 5px 9px; border-radius: 999px; letter-spacing: .04em; }

.ac-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; color: var(--faint); font-size: 13px; }
.ac-or::before, .ac-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.ac-form { display: grid; gap: 12px; }
.ac-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-radius: 12px; background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12); color: var(--muted); transition: border-color .2s, box-shadow .2s, color .2s; }
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 198, 46, .18); color: var(--gold); }
.field.bad { border-color: var(--bad); color: var(--bad); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: 17px var(--body); }
.code { height: 64px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .35); color: var(--text);
  font: 700 32px/1 var(--head); letter-spacing: .55em; text-align: center; padding-left: .55em; outline: 0; transition: border-color .2s, box-shadow .2s; }
.code:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 198, 46, .18); }
.code.bad { border-color: var(--bad); animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

button { font: inherit; cursor: pointer; }
.btn-primary { height: 52px; border: 0; border-radius: 12px; color: #1d1206; font: 700 17px var(--head); letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold), var(--gold2)); box-shadow: 0 8px 24px rgba(242, 154, 18, .25), inset 0 -2px 0 rgba(0, 0, 0, .18);
  transition: transform .1s, filter .2s, box-shadow .2s; }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 30px rgba(242, 154, 18, .35), inset 0 -2px 0 rgba(0, 0, 0, .18); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { filter: grayscale(.8) brightness(.7); cursor: default; box-shadow: none; }
.btn-ghost, .btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 12px;
  color: var(--text); background: var(--raised); border: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: background .2s, border-color .2s, transform .1s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--line-hi); }
.btn-ghost:active, .btn-danger:active { transform: scale(.98); }
.btn-danger { color: #ffd9d4; background: rgba(224, 18, 29, .16); border-color: rgba(255, 122, 107, .4); }
.btn-danger:hover { background: rgba(224, 18, 29, .26); }
.btn-danger:disabled { opacity: .45; cursor: default; }
.ac-link { justify-self: start; display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; padding: 4px 0; color: var(--muted); font-weight: 600; }
.ac-link:hover:not(:disabled) { color: var(--text); }
.ac-link:disabled { color: var(--faint); cursor: default; }

.ac-note { min-height: 24px; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.ac-note.bad { color: var(--bad); } .ac-note.good { color: var(--good); }
.ac-fine { margin: 18px 0 0; font-size: 13px; color: var(--faint); }

.ac-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 198, 46, .16), rgba(242, 154, 18, .06)); border: 1px solid var(--line-hi); }
.avatar svg { width: 30px; height: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 22px; }
.stat { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 12px; }
.stat b { display: block; font: 700 26px/1.1 var(--head); }
.stat span { font-size: 13px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.banner { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); margin: 0 0 18px; font-size: 15px; }
.banner.danger { background: rgba(224, 18, 29, .12); border: 1px solid rgba(255, 122, 107, .4); color: #ffd9d4; }
.banner .btn-ghost { margin-left: auto; }

.ac-dialog { width: min(520px, calc(100vw - 32px)); border: 1px solid var(--line-hi); border-radius: 20px; padding: 26px; color: var(--text); background: #1c1411; }
.ac-dialog::backdrop { background: rgba(8, 5, 4, .7); backdrop-filter: blur(3px); }
.ac-dialog h2 { margin: 0 0 10px; font: 700 26px/1.1 var(--head); text-transform: uppercase; }
.ac-dialog p { color: var(--muted); margin: 0 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 20px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #ff7a6b; }
.dlg-row { display: flex; gap: 10px; justify-content: flex-end; }

.ac-loading { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .2s; }
.ac-loading.on { opacity: 1; }
.ac-loading svg { width: 36px; height: 36px; color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ac-foot { text-align: center; padding: 18px 16px 28px; color: var(--faint); font-size: 13px; }
.ac-foot a { color: var(--muted); }

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .actions > * { flex: 1 1 100%; }
  .banner { flex-wrap: wrap; } .banner .btn-ghost { margin-left: 0; width: 100%; }
}
