/* pidro.fi – papper, filtgrönt och kortrött */
:root {
  --paper: #f5f1e8;
  --card: #fffdf8;
  --ink: #1c2420;
  --muted: #66706a;
  --line: #e2dccd;
  --felt: #1e5a43;
  --felt-dark: #143d2e;
  --felt-soft: #e3eee8;
  --red: #b42a20;
  --red-soft: #f8e4e0;
  --gold: #b88a2e;
  --ok: #2c7a4f;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(28, 36, 32, .04), 0 6px 24px -12px rgba(28, 36, 32, .18);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121815;
    --card: #19211d;
    --ink: #ece8de;
    --muted: #9aa49e;
    --line: #2a352f;
    --felt: #2f8a66;
    --felt-dark: #0d2219;
    --felt-soft: #1d3329;
    --red: #e0675b;
    --red-soft: #3a1f1c;
    --gold: #d9ad55;
    --ok: #5fbf8a;
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 8px 28px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--felt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: 1.35rem; font-weight: 600; }
h3 { font-size: 1rem; font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
code { font-size: .9em; background: var(--felt-soft); padding: .1em .35em; border-radius: 5px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 28px; padding-bottom: 48px; }

/* Header */
.top { background: var(--felt-dark); color: #f5f1e8; position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-suits { display: inline-flex; }
.brand-suits span {
  display: grid; place-items: center; width: 26px; height: 34px; border-radius: 4px;
  background: #fffdf8; color: #1c2420; font-size: 17px; box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.brand-suits span + span { margin-left: -10px; transform: rotate(9deg) translateY(1px); }
.brand-suits span:first-child { transform: rotate(-6deg); }
.brand-suits .red { color: #b42a20; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand-name .dot { color: #e6b858; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a, .nav .linklike {
  color: #dfe9e3; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem;
}
.nav a:hover, .nav .linklike:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.on { background: rgba(255,255,255,.14); color: #fff; }
.linklike { background: none; border: 0; font: inherit; cursor: pointer; }
.inline { display: inline; margin: 0; }

/* Footer */
.foot { color: var(--muted); font-size: .85rem; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); }

/* Hero */
.hero { margin-bottom: 28px; }
.hero h1 { margin-bottom: .25em; }
.eyebrow { color: var(--red); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin: 0 0 6px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46em; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500;
}
.chip:hover, .chip.on { border-color: var(--felt); color: var(--felt); }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-head h2 a { color: inherit; text-decoration: none; }
.card-head h2 a:hover { color: var(--felt); }
.more { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.ring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.ring-grid .card { margin-bottom: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--card); font-weight: 500; font-size: .9rem; }

.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.crumbs a { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.warn { color: var(--red); }
.nowrap { white-space: nowrap; }
.ok-note { color: var(--ok); font-weight: 500; }
.ok-note::before { content: '✓ '; }
.count { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: var(--felt-soft); color: var(--felt); font: 600 .85rem/1.6 var(--body); text-align: center; vertical-align: middle; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--felt-soft); color: var(--felt); font-size: .75rem; font-weight: 600; vertical-align: middle; }
.pill.grey { background: var(--line); color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
ul.plain li:last-child { border: 0; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.flash-ok { background: var(--felt-soft); color: var(--felt); border: 1px solid color-mix(in srgb, var(--felt) 30%, transparent); }
.flash-error { background: var(--red-soft); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 30%, transparent); }

/* Tabeller */
.table-scroll { overflow-x: auto; margin: 0 -4px; }
table { border-collapse: collapse; width: 100%; }
.standings { font-variant-numeric: tabular-nums; }
.standings th, .standings td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.standings th { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.standings tbody tr:last-child td { border-bottom: 0; }
.standings .num { text-align: right; width: 2.6em; }
.standings .team { width: auto; }
.standings .team a { color: var(--ink); text-decoration: none; font-weight: 600; }
.standings .team a:hover { color: var(--felt); text-decoration: underline; }
.standings .pos { color: var(--muted); font-weight: 600; }
.standings tbody tr:first-child .pos { color: var(--gold); }
.standings .pts { font-weight: 800; color: var(--felt); font-size: 1.05rem; }
.standings th.pts { font-size: .75rem; }
.standings tr.hl td { background: var(--felt-soft); }
.standings .form { white-space: nowrap; text-align: right; width: 8em; }
.f { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; font-size: .68rem; font-weight: 700; margin-left: 2px; color: #fff; }
.f-V { background: var(--ok); }
.f-O { background: var(--gold); }
.f-F { background: var(--red); }

.list th, .list td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.list th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.list tbody tr:last-child td { border-bottom: 0; }
.list .num { text-align: right; }
.list tr.inactive td { opacity: .55; }
.bar { width: 90px; height: 6px; background: var(--line); border-radius: 3px; display: inline-block; overflow: hidden; vertical-align: middle; }
.bar span { display: block; height: 100%; background: var(--felt); }

/* Matcher */
.round { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.round h3 { margin: 0 0 6px; }
.round-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.round-head h3 { margin: 0; }
ul.matches { list-style: none; padding: 0; margin: 0; }
.mteams .win { font-weight: 700; }
.mteams .me { color: var(--felt); }
.score {
  display: inline-flex; align-items: center; justify-content: center; min-width: 3.6em; padding: 3px 8px;
  border-radius: 7px; background: var(--felt-dark); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums;
}
.score .sep { opacity: .55; margin: 0 2px; }
.score.pending { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }
.todo { background: var(--red-soft); margin: 0 -20px 14px; padding: 12px 20px; }
.todo h3 { color: var(--red); margin-bottom: 2px; }
details summary { cursor: pointer; font-weight: 600; color: var(--felt); padding: 6px 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stats .big { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--felt); font-variant-numeric: tabular-nums; }
.stats span:last-child { color: var(--muted); font-size: .85rem; }

/* Formulär */
form.stack { display: grid; gap: 14px; }
.row-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 12px 0 0; }
.row-form.tight { margin: 0; gap: 6px; align-items: center; }
.row-form.tight input { padding: 6px 8px; font-size: .9rem; }
.row-form.tight input[name="name"] { flex: 1 1 9em; }
.row-form.tight input[name="club"] { flex: 1 1 8em; }
label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; width: 100%;
}
.row-form input, .row-form select { width: auto; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--felt); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--felt); outline-offset: 1px; border-color: transparent; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
.team-pick { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.team-pick:last-child { border: 0; }
.team-pick > .small { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 .95rem/1 var(--body); padding: 11px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none;
}
.btn:hover { border-color: var(--felt); color: var(--felt); }
.btn.primary { background: var(--felt); border-color: var(--felt); color: #fff; }
.btn.primary:hover { background: var(--felt-dark); color: #fff; }
.btn.danger { color: var(--red); }
.btn.danger:hover { border-color: var(--red); background: var(--red-soft); }
.btn.sm { padding: 6px 11px; font-size: .85rem; border-radius: 8px; }
.btn.big { padding: 15px 22px; font-size: 1.05rem; }

.auth { max-width: 440px; margin: 20px auto; }
.auth .code { font-size: 1.8rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

.report { max-width: 560px; margin-left: auto; margin-right: auto; }
.score-entry { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.score-entry .side { text-align: center; }
.score-entry .tname { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.score-entry .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.score-entry input { font-size: 2.4rem; font-weight: 800; text-align: center; padding: 10px 4px; font-variant-numeric: tabular-nums; }
.score-entry .dash { font-size: 2rem; color: var(--muted); padding-bottom: 14px; }

.archive { margin-top: 32px; }
.danger-zone { margin-top: 28px; }
.show-sm { display: none; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .show-sm { display: block; }
  .card { padding: 16px; }
  .todo { margin: 0 -16px 14px; padding: 12px 16px; }
  .brand-name { font-size: 1.3rem; }
  .nav a, .nav .linklike { padding: 6px 9px; font-size: .9rem; }
}

/* Justeringar */
.standings .num { white-space: nowrap; }
.top-inner { padding-top: 6px; padding-bottom: 6px; }
.standings .team { white-space: nowrap; }
@media (max-width: 640px) {
  .standings th, .standings td { padding: 9px 3px; }
  .standings .num { width: 1.8em; }
  .standings .pts { width: 2.2em; }
}

/* Hemmaplan */
.rdate { font-weight: 500; text-transform: none; letter-spacing: 0; }
.ring-info { background: var(--felt-soft); color: var(--felt); border-radius: 10px; padding: 10px 14px; font-weight: 500; }
@media (max-width: 640px) {
}
.import-preview table { font-size: .9rem; }
.import-preview .err { color: var(--red); font-weight: 600; }
.import-preview .warnlist li { color: #8a5a00; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; }

/* Matchrader: lagnamnen får hela bredden, datum/hemmaplan på egen rad */
.rounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.match { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; row-gap: 3px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.match:last-child { border-bottom: 0; }
.mteams { grid-column: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-width: 0; }
.match:not(:has(.mact)) .mteams { grid-column: 1 / -1; }
.mteams .home { text-align: right; }
.mteams .home, .mteams .away { overflow-wrap: anywhere; line-height: 1.25; }
.mteams .win { font-weight: 700; }
.mteams .me { color: var(--felt); }
.mact { grid-column: 2; grid-row: 1; white-space: nowrap; }
.mmeta { grid-column: 1; text-align: center; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.mmeta:empty { display: none; }
.mmeta .sep { margin: 0 .35em; opacity: .6; }
.venue::before { content: '⌂ '; }
@media (max-width: 640px) {
  .mteams { gap: 8px; font-size: .95rem; }
}

/* Klickbara lagnamn */
a.tlink { color: inherit; text-decoration: none; }
a.tlink:hover { color: var(--felt); text-decoration: underline; }
.mteams .me { font-weight: 700; }
.stats .lbl { display: block; font-weight: 600; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; color: var(--muted); }
.formline { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin: -6px 0 20px; }
.formline .f { width: 24px; height: 24px; font-size: .75rem; }
.res { display: inline-block; min-width: 3.2em; padding: 2px 6px; border-radius: 6px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.res-V { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.res-O { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.res-F { background: var(--red-soft); color: var(--red); }

/* Centrering: alla rader i en lista med knappar får samma kolumner (tom vänsterkolumn = knappkolumnens bredd) */
.match { --side: 0px; grid-template-columns: var(--side) minmax(0, 1fr) var(--side); }
ul.matches:has(.mact) .match { --side: 6.5rem; }
.match .mteams, .match:not(:has(.mact)) .mteams { grid-column: 2; grid-row: 1; }
.match .mmeta { grid-column: 2; grid-row: 2; }
.match .mact { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 640px) {
  ul.matches:has(.mact) .match { --side: 0px; }
  .match .mact { grid-column: 2; grid-row: 3; justify-self: center; margin-top: 4px; }
}

/* Statusrad: senast uppdaterad / alla lag har lämnat resultat */
.ring-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .9rem; margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.ring-status .upd { color: var(--muted); }
.ring-status .sep { color: var(--line); }
.ring-status .st { font-weight: 600; }
.ring-status .st.ok { color: var(--ok); }
.ring-status .st.wait { color: #8a5a00; }
.ring-status .st.wait .muted { font-weight: 400; }
.ring-status.compact { font-size: .82rem; padding: 6px 10px; margin: 0 0 10px; }
@media (prefers-color-scheme: dark) { .ring-status .st.wait { color: var(--gold); } }
.ring-status .missing { flex-basis: 100%; display: grid; gap: 2px; color: var(--ink); }
.ring-status .mround .muted { margin-right: 4px; }

/* ===================== Landningssida ===================== */
.landing {
  position: relative; overflow: hidden; color: #f5f1e8;
  background:
    radial-gradient(ellipse 80% 90% at 75% 40%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 6px),
    linear-gradient(160deg, #1e5a43 0%, #143d2e 70%);
  border-bottom: 4px solid #b88a2e;
}
.landing-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 64px; }
.landing h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.05; color: #fffdf8; margin: 0 0 .45em; letter-spacing: -0.02em; }
.eyebrow.light { color: #e6b858; }
.landing-lead { font-size: 1.12rem; line-height: 1.6; color: #d9e6df; max-width: 36em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.gold { background: #e6b858; border-color: #e6b858; color: #1c2420; }
.btn.gold:hover { background: #f0c96d; border-color: #f0c96d; color: #1c2420; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fffdf8; }
.btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fffdf8; color: #fffdf8; }

/* Kortsolfjäder */
.fan { position: relative; height: 260px; justify-self: center; width: 280px; }
.pcard {
  position: absolute; left: 50%; bottom: 10px; width: 120px; height: 170px; margin-left: -60px;
  background: #fffdf8; color: #1c2420; border-radius: 10px; transform-origin: 50% 120%;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.55), inset 0 0 0 1px rgba(0,0,0,.08);
  display: grid; place-items: center; font-family: var(--display);
}
.pcard b { position: absolute; top: 8px; left: 11px; font-size: 1.35rem; line-height: 1; }
.pcard i { font-style: normal; font-size: 3.4rem; line-height: 1; }
.pcard.red { color: #b42a20; }
.pcard.c1 { transform: rotate(-24deg); }
.pcard.c2 { transform: rotate(-8deg); }
.pcard.c3 { transform: rotate(8deg); }
.pcard.c4 { transform: rotate(24deg); }

/* Så fungerar det */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -32px; position: relative; z-index: 1; }
.how .step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; box-shadow: var(--shadow); }
.how .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--felt); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.how h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 0 0 6px; }
.how p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Säsongen i siffror */
.season-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.season-stats > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.season-stats > div:last-child { border-right: 0; }
.season-stats .big { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--felt); font-variant-numeric: tabular-nums; line-height: 1.2; }
.season-stats .big small { font-size: .55em; color: var(--muted); font-weight: 600; }
.season-stats .small-big { font-size: 1.1rem; padding: 6px 0 4px; }
.season-stats span:last-child { color: var(--muted); font-size: .85rem; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 14px; scroll-margin-top: 80px; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
.latest { margin-top: 20px; }
.disclaimer { font-size: .8rem; max-width: 52em; }

@media (max-width: 820px) {
  .landing-inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 56px; }
  .fan { display: none; }
  .how { grid-template-columns: 1fr; margin-top: -28px; }
  .season-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-stats > div:nth-child(2) { border-right: 0; }
  .season-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.pcard b { display: flex; flex-direction: column; align-items: center; }
.pcard b em { font-style: normal; font-size: .95rem; margin-top: 2px; }

/* Om-sidan */
.landing-more { margin: 18px 0 0; font-size: .95rem; }
.landing-more a { color: #e6b858; }
.landing-more a:hover { color: #fffdf8; }
.stats-wrap { margin-top: -30px; position: relative; z-index: 1; }
.stats-wrap .season-stats { margin-top: 0; box-shadow: var(--shadow); }
.how { margin-top: 0; margin-bottom: 28px; }
.about-hero .lead { max-width: 42em; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.about-grid .card { margin-bottom: 0; }
.about-grid p { margin: 0 0 12px; }
.about-grid p:last-child { margin-bottom: 0; }
.rules { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.center { text-align: center; margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.madeby { font-size: .82rem; margin-top: 10px; }
.madeby a { color: var(--felt); font-weight: 600; text-decoration: none; }
.madeby a:hover { text-decoration: underline; color: var(--red); }

/* Sponsorrad (rbit Ab) */
.sponsor { background: linear-gradient(160deg, #1e5a43 0%, #143d2e 80%); border-top: 4px solid #b88a2e; color: #d9e6df; margin-top: 32px; }
.sponsor-inner { display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.sponsor-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #e6b858; font-weight: 600; }
.sponsor-logo { display: inline-block; line-height: 0; transition: transform .15s ease; }
.sponsor-logo:hover { transform: scale(1.04); }
.sponsor-logo img { width: 128px; height: auto; }
.sponsor-name { display: grid; text-align: left; font-size: .85rem; line-height: 1.35; }
.sponsor-name strong { color: #fffdf8; font-size: .95rem; }
.sponsor-name a { color: #e6b858; }
.sponsor-name a:hover { color: #fffdf8; }
.foot { border-top: 0; }
main.wrap { padding-bottom: 16px; }
@media (max-width: 640px) {
  .sponsor-inner { flex-direction: column; gap: 10px; }
  .sponsor-name { text-align: center; }
}
.sponsor-name { gap: 2px; }
.sponsor-name > span { color: #fffdf8; font-size: .95rem; font-weight: 600; }
.sponsor-name a { font-weight: 600; }

/* Sponsorrad v2: logo + text + knapp */
.sponsor-inner { gap: 16px 28px; padding-top: 24px; padding-bottom: 24px; }
.sponsor-text { display: grid; gap: 2px; text-align: left; }
.sponsor-text strong { color: #fffdf8; font-size: 1.05rem; }
.sponsor-text span { color: #d9e6df; font-size: .92rem; }
.sponsor-btn { padding: 10px 20px; }
@media (max-width: 640px) {
  .sponsor-inner { flex-direction: column; gap: 12px; }
  .sponsor-text { text-align: center; }
}
