:root {
  color-scheme: dark;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #e9efe6;
  background: #111c1e;
  --line: #405353;
  --accent: #f4cd86;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { border-bottom: 1px solid var(--line); }
nav, main { width: min(100% - 2.5rem, 53rem); margin: 0 auto; }
nav { display: flex; gap: 1.5rem; padding: 1rem 0; font-size: .95rem; }
main { padding: clamp(1.8rem, 5vw, 4.25rem) 0 4rem; }
h1, h2, p { margin: 0; }
h1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(2.7rem, 8vw, 4.7rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: 1.4rem; line-height: 1.2; }
p, small { color: #c1cfca; line-height: 1.55; }
.intro { max-width: 44rem; margin: 1rem 0 1.6rem; }
#account-status:not(:empty), #availability { margin: 1rem 0; border-left: 3px solid var(--accent); padding: .65rem 1rem; }
#account-status.error { border-color: #f6a79a; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel { border: 1px solid var(--line); background: #19272a; border-radius: .8rem; padding: clamp(1.1rem, 3.4vw, 1.8rem); }
form { display: grid; gap: 1rem; }
form h2 { margin-bottom: .35rem; }
label { display: grid; gap: .4rem; }
input { width: 100%; min-height: 2.9rem; border: 1px solid #708681; border-radius: .35rem; padding: .5rem .7rem; font: inherit; background: #111c1e; color: inherit; }
small { margin-top: -.6rem; }
button { justify-self: start; min-height: 2.75rem; border: 0; border-radius: .4rem; padding: .55rem 1rem; font: 650 1rem system-ui, sans-serif; background: var(--accent); color: #27221c; cursor: pointer; }
button.secondary { border: 1px solid #80938d; background: transparent; color: #e5ebe2; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #9bd9df; outline-offset: 3px; }
details { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.4rem; }
summary, a { color: var(--accent); }
summary { cursor: pointer; padding: .25rem 0; }
details form { margin-top: 1rem; }
.profile-lead { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 1.5rem 0; }
#profile-email { overflow-wrap: anywhere; }
#claim-panel { margin-bottom: 1rem; }
.claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
#claim-panel p, .games p { margin: .55rem 0 1rem; }
.games a { display: block; color: inherit; text-decoration: none; }
.games a:hover { border-color: var(--accent); }
.games span { color: var(--accent); text-decoration: underline; }
.danger form { max-width: 37rem; }
.danger button { background: #f6b2a4; }
.check { display: flex; align-items: center; gap: .65rem; }
.check input { width: 1.15rem; min-height: 1.15rem; flex-shrink: 0; }
.back { display: inline-block; margin-top: 1.8rem; }
@media (max-width: 37rem) { .columns { grid-template-columns: 1fr; } }
