@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap");

:root {
  --bg: #050807;
  --elev: #0a110e;
  --surf: #101a14;
  --fg: #f1eee6;
  --muted: #b4b8ae;
  --faint: #71786e;
  --gold: #d2c4a0;
  --goldfg: #12100c;
  --border: #1c2620;
  --win: #8ed9b2;
  --lose: #e8a9a4;
  --bank: #8ed9b2;
  --lean: #d8c48a;
  --coin: #e8a9a4;
  --club: var(--gold);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 0 0 1px rgba(241, 238, 230, 0.08);
}

* { box-sizing: border-box; }

html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, strong, b, th {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  font-synthesis: none;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 300; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button:not(:disabled), [role=button]:not(:disabled) { cursor: pointer; }
img { outline: 1px solid rgba(241, 238, 230, 0.08); outline-offset: -1px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: .14; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 0 20px 88px; }

nav {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg, .brand img {
  width: 44px; height: 44px; border-radius: 12px; display: block;
  box-shadow: var(--shadow);
}
.brand .k {
  display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.brand .n { display: block; font-size: 18px; line-height: 1.2; color: var(--fg); }
nav a.n {
  color: var(--muted); padding: 10px 14px; border-radius: 10px; font-size: 14px; min-height: 44px;
  display: inline-flex; align-items: center; transition: color 150ms var(--ease), background 150ms var(--ease);
}
nav a.n:hover { color: var(--fg); background: var(--surf); }
nav a.on { color: var(--fg); background: var(--surf); box-shadow: var(--shadow); }

.foot {
  color: var(--faint); font-size: 12px; margin-top: 56px;
  border-top: 1px solid var(--border); padding-top: 18px; text-align: center;
}

/* Home */
.mast {
  position: relative; overflow: hidden; border-radius: 22px; margin: 22px 0 28px;
  min-height: 380px; box-shadow: var(--shadow);
}
.mast img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: none; }
.mast .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,8,7,.92) 0%, rgba(5,8,7,.35) 48%, rgba(5,8,7,.2) 100%),
    radial-gradient(ellipse at 50% 80%, rgba(210,196,160,.18), transparent 55%);
}
.mast .in {
  position: relative; z-index: 1; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px 28px 32px; text-align: left;
}
.kicker { letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-size: 11px; }
.mast h1 {
  font-size: clamp(40px, 8vw, 72px); letter-spacing: .04em; margin: 10px 0 8px; line-height: 1.02;
}
.mast p { color: var(--muted); max-width: 460px; margin: 0; font-size: 16px; }

.tiles { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 280px;
  display: block; box-shadow: var(--shadow);
  transition: transform 180ms var(--ease);
}
a.tile:hover { transform: translateY(-3px); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: none; }
.tile .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,7,.94) 0%, rgba(5,8,7,.25) 60%, rgba(5,8,7,.1) 100%);
}
.tile .in { position: relative; z-index: 1; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.tile h2 { font-size: 28px; margin: 6px 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 36ch; }
.go { margin-top: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.badge {
  align-self: flex-start; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: var(--gold); box-shadow: var(--shadow);
  background: rgba(5,8,7,.45);
}
.tile.soon { min-height: 160px; }
.tile.soon .in { min-height: 160px; }
.tile.soon .go { color: var(--faint); }

/* Podcast */
.pod-hero { text-align: center; padding: 36px 8px 8px; }
.cover {
  width: 180px; height: 180px; border-radius: 22px; margin: 0 auto 22px;
  object-fit: cover; display: block; box-shadow: var(--shadow);
}
.pod-hero h1 { font-size: clamp(34px, 7vw, 56px); letter-spacing: .02em; margin: 10px 0; }
.tag { color: var(--muted); max-width: 520px; margin: 8px auto 0; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0;
  background: var(--gold); color: var(--goldfg);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px; min-height: 44px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--goldfg); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.blurb {
  background: var(--surf); box-shadow: var(--shadow); border-radius: 22px;
  padding: 24px; color: var(--muted); margin-top: 36px;
}
.blurb b { color: var(--gold); font-weight: 300; }
.blurb p { margin: 0 0 14px; }
.blurb p:last-child { margin: 0; }

/* Tips */
.hero {
  overflow: hidden; border-radius: 22px; margin: 22px 0 18px;
  background: var(--elev); box-shadow: var(--shadow);
}
.hero-art {
  display: grid; grid-template-columns: 1fr; position: relative;
  aspect-ratio: 16/9; max-height: 340px; background: #050807;
}
@media (min-width: 800px) {
  .hero-art { grid-template-columns: 1.2fr .85fr; aspect-ratio: 21/9; max-height: 380px; }
}
.hero-still { position: relative; min-height: 0; overflow: hidden; }
.hero-art img, .hero-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: none; }
.hero-film { display: none; position: relative; overflow: hidden; background: #050807; }
@media (min-width: 800px) { .hero-film { display: block; } }
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.62); }
.hero-film-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(5,8,7,.15), rgba(5,8,7,.5)),
              linear-gradient(to top, rgba(5,8,7,.35), transparent 45%);
}
.lock {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  background:
    linear-gradient(to top, rgba(5,8,7,.88) 0%, rgba(5,8,7,.28) 48%, rgba(5,8,7,.18) 100%),
    radial-gradient(ellipse at 50% 78%, rgba(210,196,160,.16), transparent 55%);
}
.lock h1 {
  letter-spacing: .2em; color: var(--gold); text-transform: uppercase;
  font-size: clamp(26px, 6vw, 56px); line-height: 1.05;
}
.lock p {
  letter-spacing: .12em; color: var(--fg); opacity: .88; margin-top: 10px;
  font-size: clamp(14px, 2.2vw, 18px);
}
.hero-in { padding: 22px 24px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.lede { color: var(--muted); margin: 0; }
.next {
  box-shadow: 0 0 0 1px rgba(210,196,160,.28); background: var(--surf);
  border-radius: 14px; padding: 14px 16px; margin-top: 16px;
}
.next .kicker { letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 11px; }
.next h3 { font-size: 18px; margin-top: 6px; }

.liveboard {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(5,8,7,.55); box-shadow: 0 0 0 1px rgba(210,196,160,.18);
}
.liveboard .live-k {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: .85;
}
.liveboard .live-k i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .5;
  animation: livepulse 2.4s ease-in-out infinite;
}
@keyframes livepulse { 0%, 100% { opacity: .3; } 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .liveboard .live-k i { animation: none; } }
.liveboard .row-s {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 6px; font-size: 15px;
}
.liveboard .row-s b {
  font-size: 26px; font-weight: 300; color: var(--gold); opacity: .88;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 18px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surf); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 2px; background: var(--gold); opacity: .7;
}
.stat .l { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.stat .v { font-size: 26px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12px; color: var(--muted); }

.tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 6px;
  background: var(--elev); border-radius: 16px; margin-bottom: 18px;
  position: sticky; top: 0; z-index: 5; box-shadow: var(--shadow);
}
.tabs button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  padding: 10px 14px; border-radius: 12px; font: inherit; min-height: 44px;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.tabs button.on { background: var(--surf); color: var(--fg); }
.panel { display: none; }
.panel.on { display: block; }

.game {
  background: var(--surf); border-radius: 18px; padding: 0; margin-bottom: 12px;
  overflow: hidden; box-shadow: var(--shadow);
}
.game .body { padding: 18px; }
.stripes { display: flex; height: 6px; }
.stripes i { flex: 1; background: var(--club, var(--gold)); display: block; }
.game .meta { font-size: 13px; color: var(--muted); }
.game h3 { font-size: 20px; margin-top: 4px; }
.tier-ball {
  --ball: #c4423a; --ink: #f4efe6;
  position: relative; display: inline-grid; place-items: center;
  width: 106px; height: 52px; flex-shrink: 0; color: var(--ball);
}
.tier-ball.sm { width: 76px; height: 40px; }
.tier-ball svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tier-ball em {
  position: relative; z-index: 1; font-style: normal; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  text-align: center; line-height: 1.05; font-weight: 300;
}
.tier-ball.sm em { font-size: 8px; }
.tier-ball.t-bank { --ball: #2f8a58; --ink: #f4efe6; }
.tier-ball.t-lean { --ball: #d4ae3a; --ink: #1a1405; }
.tier-ball.t-coin { --ball: #c4423a; --ink: #f7ecea; }
.picks { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 12px; }
.pk {
  border: 0; background: var(--elev); color: var(--fg); border-radius: 12px; padding: 12px;
  font: inherit; min-height: 56px; box-shadow: inset 4px 0 0 var(--club, var(--border)), var(--shadow);
  transition: background 150ms var(--ease);
}
.pk.rec { box-shadow: inset 4px 0 0 var(--gold), 0 0 0 1px rgba(210,196,160,.4); }
.pk.sel { background: rgba(142,217,178,.1); box-shadow: inset 4px 0 0 var(--win), 0 0 0 1px rgba(142,217,178,.35); }
.pk[disabled] { opacity: .7; cursor: default; }
.pk small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pk.rec small { color: var(--gold); }
.watch { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.watch .live-k { margin-bottom: 8px; }
.row { margin: 6px 0; font-size: 14px; color: var(--muted); }
.row b { color: var(--fg); font-weight: 300; display: inline-block; min-width: 72px; }
.final.ok { color: var(--win); }
.final.no { color: var(--lose); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--faint); font-weight: 300; padding: 10px 8px; }
td { padding: 8px; border-top: 1px solid var(--border); }
.film { display: grid; gap: 14px; }
@media (min-width: 800px) { .film { grid-template-columns: 1fr 1fr; } }
.film figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--surf); box-shadow: var(--shadow); }
.film iframe, .film img { width: 100%; aspect-ratio: 16/9; border: 0; display: block; object-fit: cover; outline: none; }
.playwrap { position: relative; background: var(--elev); }
.playwrap button { position: absolute; inset: 0; border: 0; background: rgba(5,8,7,.28); color: var(--goldfg); }
.playwrap span {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px;
  background: var(--gold); margin: auto;
}
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.win { color: var(--win); }
.note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.glance { border-radius: 18px; overflow: hidden; background: var(--surf); margin-bottom: 16px; box-shadow: var(--shadow); padding: 0; }
.glance li {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; list-style: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { box-shadow: var(--shadow); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.chip.in { box-shadow: 0 0 0 1px rgba(142,217,178,.3); color: var(--win); }
.chip.susp { box-shadow: 0 0 0 1px rgba(232,169,164,.4); color: var(--lose); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--club); margin-right: 8px; vertical-align: middle; }
.bracket { display: grid; gap: 10px; margin-bottom: 22px; }
@media (min-width: 800px) { .bracket { grid-template-columns: 1fr 1fr; } }
.bgame { border-radius: 16px; overflow: hidden; background: var(--surf); box-shadow: var(--shadow); }
.bgame .in { padding: 12px 14px; }

[data-club="adelaide"] { --club: #e21937; }
[data-club="brisbane"] { --club: #a30046; }
[data-club="carlton"] { --club: #5b8def; }
[data-club="collingwood"] { --club: #d8d8d8; }
[data-club="essendon"] { --club: #cc2029; }
[data-club="fremantle"] { --club: #8b5cbf; }
[data-club="geelong"] { --club: #6aa3e8; }
[data-club="gold-coast"] { --club: #e21e26; }
[data-club="gws"] { --club: #f47920; }
[data-club="hawthorn"] { --club: #e8b84a; }
[data-club="melbourne"] { --club: #e10600; }
[data-club="north-melbourne"] { --club: #4d7cc7; }
[data-club="port-adelaide"] { --club: #00a3a1; }
[data-club="richmond"] { --club: #f4c400; }
[data-club="st-kilda"] { --club: #ed1b2f; }
[data-club="sydney"] { --club: #ed171f; }
[data-club="west-coast"] { --club: #f2a900; }
[data-club="western-bulldogs"] { --club: #e31837; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-film { display: none !important; }
}
