/* LOOTBOARD – Design-System */
:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --panel: #ffffff;
  --panel-2: #f9fafc;
  --line: #e3e9f0;
  --line-2: #dbe3ec;
  --line-3: #c7d3e1;
  --text: #172537;
  --text-2: #394a60;
  --muted: #526479;
  --dim: #607187;
  --faint: #66788d;
  --accent: #205aa0;
  --accent-ink: #ffffff;
  --gold: #96601e;
  --gold-ink: #ffffff;
  --gold-bg: #fffaf2;
  --gold-line: #e7d2b6;
  --blue: #26649c;
  --up: #257346;
  --down: #b42318;
  --silver: #64748b;
  --bronze: #9b633d;
  --f-display: Inter, 'Segoe UI', system-ui, sans-serif;
  --f-body: Inter, 'Segoe UI', system-ui, sans-serif;
  --f-mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --r: 12px;
  --r-btn: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: #173e72; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); }
.label { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; color: var(--dim); }
.label.gold { color: var(--gold); } .label.accent { color: var(--accent); }
.muted { color: var(--muted); } .dim { color: var(--dim); } .gold-text { color: var(--gold); } .accent-text { color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spread { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ic { flex: none; }
.grid-bg { background-image: none; }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-title { font-size: 30px; font-weight: 700; margin-top: 6px; }
.dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); }

/* Standardkanten statt dekorativer HUD-Rahmen. */
.hud { position: relative; }
.hud::before, .hud::after { content: none; }
.cut { clip-path: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 1px solid var(--line-3); border-radius: var(--r-btn); background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { color: var(--text); border-color: #8fa5bd; background: #f8fafc; }
.btn-accent, .btn-gold { border: 1px solid transparent; border-radius: var(--r-btn); font-weight: 650; clip-path: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #174778; color: var(--accent-ink); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #784b13; color: var(--gold-ink); }
.btn-light { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.btn-light:hover { color: var(--bg); background: #263e59; }
.btn-text { border: 0; color: var(--muted); padding: 0 12px; }
.btn-text:hover { color: var(--text); }
.btn-danger { border-color: #5A2A2A; color: #FF9A8F; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 15px; }
.btn-xl { height: 62px; font-family: var(--f-display); font-size: 20px; letter-spacing: .14em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: relative; z-index: 2; }
.site-header .wrap { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand svg { color: var(--accent); }
.brand span { font-family: var(--f-display); font-size: 20px; font-weight: 750; letter-spacing: -.035em; }
.brand:hover { color: var(--text); }
.main-nav { display: flex; flex-wrap: nowrap; gap: 24px; flex: 0 0 auto; }
.main-nav a { padding: 24px 0 22px; border-bottom: 2px solid transparent; color: var(--dim); text-decoration: none; font-weight: 550; font-size: 14px; }
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.main-nav a.premium { color: var(--gold); }
.main-nav a.premium.active { border-bottom-color: var(--gold); }
.search { flex: 1 1 160px; max-width: 300px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--panel); color: var(--faint); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; font-size: 14px; }
.search kbd { font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; }
.header-actions { display: flex; gap: 4px; align-items: center; }
.header-actions .btn-accent { margin-left: 6px; }
.btn-text.active-link { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.takeover-bar { border-bottom: 1px solid var(--line); background: var(--panel); }
.takeover-bar .wrap { display: flex; justify-content: center; padding: 12px 24px; }
.takeover-bar a { display: block; width: 728px; max-width: 100%; aspect-ratio: 728 / 90; }
.takeover-bar img { width: 100%; height: 100%; object-fit: cover; }

/* Flash */
.flashes { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); font-size: 14px; }
.flash-success { background: #eff9f2; border-color: #a7d6b6; color: #206d44; }
.flash-error { background: #fff1f0; border-color: #f0b8b2; color: #a32826; }
.flash-info { background: #edf5ff; border-color: #bad7ef; color: #245a84; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.hero .wrap { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.13; font-weight: 750; letter-spacing: -.045em; margin-top: 16px; }
.hero-lead { margin-top: 24px; max-width: 540px; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }

.countdown { flex: 1 1 360px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; box-shadow: 0 10px 30px rgba(26,46,68,.06); }
.cd-digits { display: flex; gap: 6px; margin-top: 18px; }
.cd-digits div { flex: 1; text-align: center; }
.cd-digits b { display: block; font-family: var(--f-body); font-size: 36px; font-weight: 720; line-height: 1.1; color: var(--text); }
.cd-digits small { display: block; font-family: var(--f-body); font-size: 11px; color: var(--dim); margin-top: 8px; letter-spacing: 0; }
.progress { margin-top: 22px; height: 2px; background: var(--line); }
.progress span { display: block; height: 2px; background: var(--accent); }
.cd-meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--faint); margin-top: 8px; }
.cd-reward { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.cd-reward svg { color: var(--gold); }

.rules { border-bottom: 1px solid var(--line); }
.rules .wrap { display: flex; flex-wrap: wrap; }
.rules div { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; padding: 20px 0; font-size: 14px; color: var(--muted); }
.rules .mono { font-size: 12px; color: var(--accent); }
.rules strong { color: var(--text); font-weight: 600; }

/* Spotlight */
.spot-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.spot-card { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); display: flex; flex-direction: column; overflow: hidden; }
.spot-media { position: relative; aspect-ratio: 2 / 1; border-bottom: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; color: #fff; background: #314d70; }
.spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-media .label { position: relative; color: rgba(255,255,255,.65); display: flex; justify-content: space-between; }
.spot-media strong { position: relative; font-family: var(--f-display); font-size: 28px; letter-spacing: .04em; line-height: 1.05; }
.spot-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.spot-body p { margin-top: 10px; color: var(--text-2); font-size: 14px; flex: 1; }
.spot-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.spot-empty { flex: 1 1 300px; min-height: 200px; border: 1px dashed var(--gold-line); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--dim); }

/* Toplist */
.layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.layout-main { flex: 999 1 660px; min-width: 0; }
.layout-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.seg { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-btn); padding: 3px; background: var(--panel); }
.seg a, .seg button { height: 38px; display: flex; align-items: center; padding: 0 16px; border: 0; border-radius: 6px; background: transparent; color: var(--dim); font-family: var(--f-body); font-size: 13px; font-weight: 550; letter-spacing: 0; text-decoration: none; cursor: pointer; }
.seg a:hover, .seg button:hover { color: var(--text); }
.seg .on { background: #eaf1f9; color: var(--accent); font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.chip { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn); color: var(--muted); font-weight: 600; font-size: 13px; text-decoration: none; }
.chip:hover { color: var(--text); border-color: var(--line-3); }
.chip.on { border-color: var(--accent); color: var(--accent); background: #edf4fc; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; color: var(--dim); margin-bottom: 18px; align-items: center; }
.legend .box { width: 14px; height: 14px; border: 1px solid var(--gold); border-radius: 3px; display: inline-block; vertical-align: -3px; margin-right: 8px; }
.legend svg { color: var(--blue); vertical-align: -3px; margin-right: 6px; }

.rows { display: flex; flex-direction: column; gap: 8px; }
.entry { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.entry:hover { border-color: #a8baca; background: var(--panel-2); }
.entry.boost { border-color: rgba(242,181,68,.55); }
.rank { flex: none; width: 60px; display: flex; align-items: center; gap: 10px; }
.rank i { width: 3px; height: 36px; background: var(--line-2); }
.rank b { font-family: var(--f-display); font-size: 26px; font-weight: 700; }
.rank.r1 i { background: var(--gold); } .rank.r1 b { color: var(--gold); }
.rank.r2 i { background: var(--silver); } .rank.r2 b { color: var(--silver); }
.rank.r3 i { background: var(--bronze); } .rank.r3 b { color: var(--bronze); }
.banner-slot { flex: none; width: 234px; height: 30px; border-radius: 6px; outline: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: #fff; }
.banner-slot.has-img { padding: 0; }
.banner-slot img { width: 100%; height: 100%; object-fit: cover; }
.banner-slot span { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.entry-info { flex: 1 1 220px; min-width: 0; }
.entry-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.entry-title a { font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; }
.entry-title a:hover { color: var(--accent); }
.entry-sub { font-size: 13px; color: var(--dim); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.verified { color: var(--blue); }
.tag { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; padding: 2px 6px; border-radius: 3px; border: 1px solid; }
.tag-boost { color: var(--gold); border-color: rgba(242,181,68,.5); }
.tag-new { color: var(--accent); border-color: #bdd1e8; }
.tag-muted { color: var(--dim); border-color: var(--line-3); }
.tag-founder { color: #64488e; border-color: rgba(185,165,255,.5); }
.tag-catalog { color: var(--dim); border-color: var(--line-3); border-style: dashed; }
.goal { display: flex; flex-direction: column; gap: 8px; }
.goal-bar { height: 4px; background: var(--line-2); }
.goal-bar span { display: block; height: 4px; background: var(--accent); max-width: 100%; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.catalog-card { border: 1px dashed var(--line-3); border-radius: var(--r); background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.catalog-card:hover { border-color: #a8baca; color: var(--text); }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: flex; gap: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
.entry-score { flex: none; width: 104px; text-align: right; }
.entry-score b { display: block; font-family: var(--f-mono); font-size: 19px; font-weight: 500; }
.trend { font-family: var(--f-mono); font-size: 11px; color: var(--faint); }
.trend.up { color: var(--up); } .trend.down { color: var(--down); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.empty { border: 1px dashed var(--line-3); border-radius: var(--r); padding: 40px 24px; text-align: center; color: var(--dim); }

/* Panels */
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 20px; }
.panel-lg { padding: 28px; }
.panel h3 { font-size: 17px; font-weight: 600; }
.panel-gold { border-color: var(--gold-line); background: var(--gold-bg); }
.panel-vote { border-color: #d7e6f4; background: #f8fbff; padding: 32px; }
.list a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #e4e9f0; text-decoration: none; color: var(--text); }
.list a:hover .list-name { color: var(--accent); }
.list-idx { width: 22px; font-family: var(--f-mono); color: var(--faint); font-size: 12px; }
.list-name { flex: 1; font-weight: 600; font-size: 14px; min-width: 0; }
.list-name small { display: block; font-size: 12px; color: var(--dim); font-weight: 500; }
.avatar { width: 34px; height: 34px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; color: #fff; flex: none; }
.code { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); overflow-x: auto; white-space: pre; margin: 0; }
.code .k { color: var(--accent); }

/* Spielseite */
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: #65768a; margin: 0 4px; }
.game-hero { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.game-cover { position: relative; aspect-ratio: 6 / 1; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); color: #fff; }
.game-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-cover .label { position: relative; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; }
.game-cover strong { position: relative; font-family: var(--f-display); font-size: clamp(30px, 4.5vw, 52px); letter-spacing: .03em; line-height: 1; text-transform: uppercase; }
.game-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 22px 24px; }
.game-rank { display: flex; align-items: center; gap: 12px; }
.game-rank i { width: 3px; height: 44px; background: var(--gold); }
.game-rank b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--gold); line-height: 1; }
.game-title { flex: 1 1 280px; min-width: 0; }
.game-title h1 { font-size: 28px; display: inline; }
.game-meta { font-family: var(--f-mono); font-size: 12px; color: var(--dim); margin-top: 4px; text-transform: uppercase; }
.reward { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(242,181,68,.35); border-radius: var(--r); background: rgba(242,181,68,.06); font-size: 14px; color: #72572b; }
.reward svg { color: var(--gold); }
.vote-success { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.vote-check { width: 64px; height: 64px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.stat-grid > div { padding: 16px; border-bottom: 1px solid var(--line); }
.stat-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.stat-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.stat-grid b { display: block; font-family: var(--f-mono); font-size: 22px; font-weight: 500; margin-top: 4px; }
.stat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid.four > div { border-right: 1px solid var(--line); border-bottom: 0; }
.stat-grid.four > div:last-child { border-right: 0; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 20px; border-bottom: 1px solid var(--line-3); }
.chart i { flex: 1; background: #a6b6c9; opacity: .7; min-height: 1px; }
.chart i:hover, .chart i.today { opacity: 1; }
.chart i.today { background: var(--accent); }
.chart-axis { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--faint); margin-top: 8px; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0 0; font-size: 14px; }
.kv dt, .kv dd { padding: 10px 0; border-top: 1px solid #e4e9f0; margin: 0; }
.kv dt { color: var(--dim); } .kv dd { text-align: right; }
.pill { display: inline-block; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 13px; color: var(--muted); }
.prose { color: var(--text-2); max-width: 68ch; white-space: pre-line; }
.vote-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--faint); }

/* Formulare */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row > * { flex: 1 1 240px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-family: var(--f-body); font-size: 12px; font-weight: 650; letter-spacing: .025em; color: var(--muted); text-transform: uppercase; }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: var(--r-btn); background: var(--panel); color: var(--text); font: inherit; }
.textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); outline: none; }
.help { font-size: 12px; color: var(--faint); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 4px 20px; }
input[type=file].input { padding: 10px 14px; }
input[type=color].input { padding: 4px; width: 80px; }
.auth { max-width: 460px; margin: 64px auto; }

/* Premium */
.tiers { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.tier { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; }
.tier.hot { border-color: var(--gold-line); background: var(--gold-bg); box-shadow: 0 12px 34px rgba(69,47,19,.06); }
.tier-name { font-family: var(--f-display); font-size: 29px; font-weight: 750; margin-top: 10px; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tier-price b { font-family: var(--f-body); font-size: 42px; font-weight: 750; line-height: 1.1; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; flex: 1; color: var(--text-2); }
.tier li { display: flex; gap: 10px; }
.tier li svg { margin-top: 3px; }
.badge-hot { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--gold-ink); background: var(--gold); padding: 3px 8px; border-radius: 3px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 13px 18px; border-top: 1px solid #e4e9f0; text-align: left; vertical-align: middle; }
.table thead th { border-top: 0; background: var(--panel); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); font-weight: 500; text-transform: uppercase; }
.table tbody th { font-weight: 500; color: var(--text-2); }
.table .c { text-align: center; font-family: var(--f-mono); }
.weeks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.week { flex: 1 1 140px; position: relative; }
.week input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.week span { display: block; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); cursor: pointer; }
.week input:checked + span { border-color: var(--gold); background: #fff8ed; }
.week input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.week input:disabled + span { opacity: .5; cursor: not-allowed; }
.week b { display: block; font-family: var(--f-display); font-size: 18px; }
.week small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.slots { display: flex; gap: 4px; margin-top: 14px; }
.slots i { flex: 1; height: 4px; background: var(--gold); }
.slots i.used { background: var(--line-3); }
.week em { display: block; font-style: normal; font-family: var(--f-mono); font-size: 11px; margin-top: 8px; color: var(--gold); }
.week input:disabled + span em { color: var(--faint); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--gold); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 20px; color: var(--muted); max-width: 68ch; }

/* Dashboard / Admin */
.dash { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px 0 80px; align-items: flex-start; }
.dash-nav { flex: 0 0 220px; display: flex; flex-direction: column; gap: 2px; }
.dash-nav a { padding: 10px 12px; border-radius: var(--r); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; border-left: 2px solid transparent; }
.dash-nav a:hover { color: var(--text); background: var(--panel); }
.dash-nav a.on { color: var(--text); border-left-color: var(--accent); background: var(--panel); }
.dash-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.status { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.status-active, .status-paid { color: var(--up); }
.status-pending { color: var(--gold); }
.status-rejected, .status-banned, .status-cancelled, .status-refund { color: var(--down); }
.status-refunded, .status-catalog { color: var(--dim); }
.inline-form { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #ffffff; margin-top: 0; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.site-footer .col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer .col.wide { flex: 2 1 280px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .bottom { flex-basis: 100%; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); font-family: var(--f-mono); }

@media (max-width: 760px) {
  .main-nav { order: 3; flex-basis: 100%; gap: 20px; overflow-x: auto; }
  .main-nav a { padding: 12px 0; }
  .search { flex: 1 1 100%; max-width: none; margin-left: 0; order: 4; margin-bottom: 12px; }
  .banner-slot { width: 100%; order: 3; height: auto; aspect-ratio: 468 / 60; }
  .entry-score { width: auto; text-align: left; }
  .stat-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-nav { flex-basis: 100%; flex-direction: row; overflow-x: auto; }
  .panel-vote { padding: 22px; }
}

/* Account settings: keep each operation separate and readable on phones. */
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.account-card { padding: clamp(20px, 2.5vw, 28px); scroll-margin-top: 24px; min-width: 0; }
.account-card h2 { font-size: 23px; margin: 10px 0 12px; }
.account-card > p { overflow-wrap: anywhere; }
.account-card .form { margin-top: 22px; }
.account-card .form .btn { align-self: flex-start; }
.account-card .account-current { color: var(--text); font-weight: 650; }
.account-card .help { margin-top: 14px; line-height: 1.55; }
.account-help { display: flex; flex-direction: column; gap: 14px; }
.account-help h2 { margin: 0; }
.account-help .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 500px) { .account-card .form .btn { width: 100%; } .account-card h2 { font-size: 21px; } }
/* Small-screen polish */
@media (max-width: 1050px) {
  .site-header .wrap { gap: 10px 18px; }
  .header-actions { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .wrap { padding-top: 12px; }
  .header-actions { width: 100%; gap: 2px; }
  .header-actions .btn { padding: 0 10px; height: 40px; }
  .header-actions .btn-accent { margin-left: 0; }
  .hero .wrap { padding-top: 42px; padding-bottom: 40px; gap: 26px; }
  .hero h1 { font-size: clamp(34px, 9vw, 45px); }
  .hero-cta .btn { width: 100%; }
  .countdown { padding: 20px; min-width: 0; }
  .cd-digits b { font-size: 30px; }
  .section { padding-top: 36px; padding-bottom: 36px; }
  .panel-lg { padding: 20px; }
  .tier { padding: 22px; }
  .table th, .table td { padding: 12px; }
  .entry { padding: 14px; }
  .week { flex-basis: 140px; }
}

/* Seasonal brand palette: calm, professional colors, without decorative gimmicks.
   Applied by the server from the calendar month; fallback stays the standard theme. */
body.season-autumn {
  --bg: #faf7f3;
  --panel-2: #fffaf6;
  --line: #eadfd4;
  --line-2: #e5d7c8;
  --line-3: #d6c4b2;
  --text: #302b2a;
  --text-2: #534841;
  --muted: #685950;
  --dim: #736359;
  --faint: #77675e;
  --accent: #a04a2b;
  --accent-ink: #fff;
  --gold: #8a571f;
  --gold-ink: #fff;
  --gold-bg: #fff7ed;
  --gold-line: #ead6bd;
  --blue: #3b648b;
}
body.season-autumn .hero { background: linear-gradient(180deg, #fffdfb, #faf3eb); }
body.season-autumn .site-header, body.season-autumn .site-footer { background: #fffdfb; }
body.season-autumn .btn-accent:hover { background: #79361e; }
body.season-autumn .btn-gold:hover { background: #694012; }
body.season-autumn a:hover { color: #79361e; }
body.season-autumn .btn:hover, body.season-autumn .entry:hover { background: #fffaf5; }
body.season-autumn .btn-accent:hover, body.season-autumn .btn-gold:hover { color: #fff; }
body.season-autumn .tier.hot { background: #fff8f0; }
body.season-autumn .spot-empty { background: #fffdf9; }

body.season-winter {
  --bg: #f5f8fa; --panel-2: #f7fafc; --line: #dfe7ee;
  --accent: #315d7e; --gold: #815d38; --gold-bg: #f9f6f2;
  --gold-line: #e1d4c6;
}
body.season-winter .hero { background: linear-gradient(180deg, #fff, #f0f6fa); }
body.season-winter .btn-accent:hover { background: #254963; }

body.season-spring {
  --bg: #f6faf6; --panel-2: #f9fcf8; --line: #dfe9de;
  --accent: #2b7051; --gold: #8c6528; --gold-bg: #fbfaef;
  --gold-line: #e6dec1;
}
body.season-spring .hero { background: linear-gradient(180deg, #fff, #f0f8f0); }
body.season-spring .btn-accent:hover { background: #20543c; }

body.season-summer {
  --bg: #f7f9fa; --panel-2: #fbfcfd; --line: #dfe6eb;
  --accent: #27698b; --gold: #906025; --gold-bg: #fffaf1;
  --gold-line: #e7d9bd;
}
body.season-summer .hero { background: linear-gradient(180deg, #fff, #f0f8fb); }
body.season-summer .btn-accent:hover { background: #20546f; }
