/* CasinoWon — a dark charcoal, gold and silver match journal. Change these tokens to restyle. */
:root {
  --paper: #242629;
  --sheet: #e5e7e9;
  --won-gold: #d4b167;
  --won-charcoal: #17191b;
  --won-brass: #ad8b4c;
  --ink: #e7eaec;
  --muted: #b5bbc0;
  --muted-2: #aab1b7;
  --line: #51565a;
  --gold-400: var(--won-gold);
  --gold-500: var(--won-gold);
  --silver-600: #b2bac0;
  --silver-700: #929aa1;
  --radius: 2px;
  --maxw: 1360px;
  --grad-site: var(--paper);
  --grad-gold: var(--won-gold);
  --grad-silver: var(--won-gold);
}

html { scroll-padding-top: 24px; }
body {
  background: var(--paper) !important;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
::selection { background: #b8a06b; color: var(--won-charcoal); }
.wrap { padding-inline: 48px; }
a, button { -webkit-tap-highlight-color: #b0b5bc; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--won-gold);
  outline-offset: 5px;
}
.site-header a:focus-visible { outline-color: #f0ce89; }
.gold-text, .gold-plain, .date-nav span {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--won-gold);
}
.gold-plain { font-weight: 600; }
.muted { color: var(--muted-2); }

/* An ink-colored masthead, with the date as a separate editorial column. */
.topbar {
  background: var(--paper) !important;
  color: var(--muted);
  border-top: 3px solid var(--won-charcoal);
  font-size: 11px;
  letter-spacing: .035em;
}
.topbar-in { height: 34px; }
.age-chip {
  color: var(--won-gold);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 0 0 0 16px;
  font-size: 10px;
}
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  position: relative;
  padding: 28px max(48px, calc((100vw - 1264px) / 2));
  background: var(--won-charcoal) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-main { padding: 0; justify-content: flex-start; text-align: left; }
.brand { align-items: flex-start; gap: 10px; }
.brand-logo { width: 272px; max-height: 40px; }
.brand-mini {
  color: #c1c7cc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.header-sub { border: 0; padding: 0; }
.header-sub .wrap { padding: 0; }
.date-nav { gap: 26px; color: #b9c0c6; font-size: 12px; }
.date-nav span {
  color: #e0be78;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  white-space: nowrap;
}
.date-nav a { padding: 9px 0; border-bottom: 1px solid #555b60; }
.date-nav a:hover { color: #e0be78; border-color: #d7b978; }

/* Serif headlines and a two-column introduction replace the centered hero. */
section { padding: 58px 0; }
.hero, .program-first { padding: 48px 0 58px; overflow: visible; }
.hero-bg { display: none; }
#analiz, #anasayfa, #one-cikan, #ozet { scroll-margin-top: 24px; }
h1, h2, .feat h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(48px, 5.7vw, 76px); line-height: 1.03; margin: 0; }
h1 .gold-text { font-style: italic; }
h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.12; }
.kicker {
  color: var(--won-brass);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 15px;
}
.sec-head { max-width: none; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.sec-head h2 br { display: none; }
.sec-head h2 .gold-text { font-style: italic; }
.program-first .sec-head {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  column-gap: 72px;
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.program-first .sec-head > .kicker { grid-column: 1 / -1; }
.program-first .sec-head h1 { grid-column: 1; }
.program-first .sec-head > p { grid-column: 2; font-size: 16px; line-height: 1.8; color: var(--muted); }
.program-first .sec-head > .fallback-note { grid-column: 1 / -1; margin-top: 18px; font-size: 13px; }

/* The fixture list is a ruled schedule, with restrained probability labels. */
.table-wrap { background: var(--sheet); border-top: 3px solid var(--won-gold); }
.fixture-table { font-size: 13px; }
.fixture-table th {
  padding: 17px 15px;
  background: #d4d8da;
  color: #454a4e;
  font-size: 9px;
  letter-spacing: .16em;
  vertical-align: top;
  border-color: #acb2b7;
}
.fixture-table td { padding: 21px 15px; border-color: #c2c7ca; }
.fixture-table tr:last-child td { border-bottom: 0; }
.fixture-table tbody tr { transition: background .15s ease; }
.fixture-table tbody tr:hover { background: #d7dbdd; }
.fixture-table tr:hover td { color: var(--ink); }
.fixture-table td:first-child { color: var(--won-gold); font-weight: 700; font-size: 13px; }
.fixture-table .th-hint { font-size: 9px; color: #aab1b7; font-weight: 400; }
.match-link { gap: 9px; min-width: 255px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.match-link:hover { color: var(--won-gold); }
.match-link i { color: #8d969d; }
.crest { background: #fff; border: 0; border-radius: 0; width: 25px; height: 25px; flex-shrink: 0; }
.chip {
  color: var(--won-gold);
  background: #f0e4c8;
  border: 0;
  border-radius: 2px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .015em;
}
.fixture-table .probs-mini { display: table-cell; white-space: nowrap; color: var(--won-gold); }
.probs-mini span { display: inline-block; min-width: 22px; text-align: center; }
.probs-mini .silver { color: #6f797f; }

/* Short editorial summaries use column rules instead of floating cards. */
#ozet { padding-top: 38px; border-top: 1px solid var(--line); }
#ozet > .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
#ozet .sec-head { margin: 0; padding-top: 8px; }
#ozet .sec-head h2 { font-size: 34px; }
#ozet .sec-head h2 br { display: block; }
.feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.feat {
  background: var(--sheet);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 26px;
  transition: background .2s ease;
}
.feat:before { display: none; }
.feat:hover { transform: none; border-color: var(--line); }
#ozet .feat { background: transparent; border-left: 1px solid var(--line); padding: 8px 22px 10px; }
#ozet a.feat:hover { background: #34383b; }
.feat .kicker { font-size: 9px; letter-spacing: .15em; }
.feat h3 { font-size: 25px; line-height: 1.18; margin: 10px 0 14px; }
.feat p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.feat > strong { display: block; margin-top: 20px; font-size: 12px; }

/* Long-form analysis: generous white sheets and narrow statistical sidebars. */
#analiz { background: #303337; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#analiz .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
#analiz .sec-head > .kicker { margin: 0; }
.analyses { gap: 24px; }
.analysis.feat { padding: 34px 36px; border: 0; background: var(--sheet); }
.analysis-long { background: var(--sheet); }
.analysis-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.analysis-head .kicker { margin-bottom: 10px; }
.analysis-head h2 { font-size: 31px; line-height: 1.2; }
.analysis-head h2 span { color: #9aa3aa; font-weight: 400; }
.analysis-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .65fr); gap: 52px; margin-top: 24px; align-items: start; }
.analysis-copy p, .match-copy p { font-size: 15px; line-height: 1.85; color: #44494e; margin-bottom: 16px; }
.analysis-copy { min-width: 0; }
.analysis-copy .outlook { padding-top: 16px; border-top: 1px solid var(--line); }
.outlook strong { color: var(--won-gold); font-weight: 700; }
.analysis-stats { gap: 17px; border-left: 1px solid var(--line); padding-left: 28px; min-width: 0; }
.meter-row { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.meter-row strong { font-size: 12px; color: var(--won-gold); font-variant-numeric: tabular-nums; }
.meter-track { height: 3px; background: #c3c8cc; border-radius: 0; }
.meter-fill { border-radius: 0; animation: none; }
.tone-gold { background: var(--won-gold); }
.tone-silver { background: #8f9aa3; }
.btn { border-radius: 2px; padding: 11px 16px; font-size: 11px; letter-spacing: .015em; min-height: 42px; }
.btn-ghost { color: var(--won-gold); border: 1px solid #b89f67; background: transparent; margin-top: 8px; }
.btn-ghost:hover { transform: none; border-color: var(--won-gold); background: #d8dadc; }
.btn-gold { background: var(--won-gold); color: var(--sheet); box-shadow: none; }
.btn-gold:hover { box-shadow: none; transform: none; background: var(--won-charcoal); }

#one-cikan .sec-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
.highlights .feat { padding: 8px 0 22px; background: transparent; border-bottom: 1px solid var(--line); }
.highlights .feat h3 { font-size: 25px; line-height: 1.25; margin: 8px 0 0; }
.disclaimer { max-width: 840px; font-size: 11px; line-height: 1.8; margin-top: 30px; color: var(--muted-2); }
.site-footer { padding: 27px 0 34px; border-top: 3px double #61696f; background: var(--paper); }
.site-footer .hairline { display: none; }
.f-bot p { color: var(--muted); font-size: 11px; }
.state-box { min-height: 52vh; }
.empty-panel[class] { border: 1px solid var(--line); background: var(--sheet); border-radius: 0; max-width: none; padding: 30px; }
.empty-panel p { margin-bottom: 7px; }

/* Detail pages retain the same typesetting and a readable statistical rail. */
#mac-detay .sec-head { align-items: center; }
#mac-detay h1 { font-size: clamp(42px, 4.8vw, 65px); overflow-wrap: anywhere; }
#mac-detay .match-sheet { margin-top: 0; border-top: 3px solid var(--won-gold); }
#mac-detay .analysis-grid { margin-top: 0; }
.team-row[class] { font-size: 12px; line-height: 1.4; gap: 8px; margin-bottom: 10px; }
.team-row .crest { width: 24px; height: 24px; }
.h2h li[class], .h2h li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #d6d9dc; padding: 12px; font-size: 12px; }
.h2h strong { color: var(--won-gold); }

/* Tablet: preserve the editorial lead, then show a compact match index. */
@media (max-width: 1100px) {
  .wrap { padding-inline: 32px; }
  .site-header { padding-inline: 32px; }
  .date-nav { gap: 16px; }
  .program-first .sec-head { column-gap: 40px; }
  .fixture-table th, .fixture-table td { padding-inline: 10px; }
  .match-link { gap: 6px; min-width: 245px; font-size: 12px; }
  #ozet > .wrap { grid-template-columns: 1fr; gap: 28px; }
  #ozet .sec-head h2 br { display: none; }
  #ozet .feat:first-child { border-left: 0; padding-left: 0; }
  .analysis-grid { gap: 32px; }
}

@media (max-width: 900px) {
  .brand-logo { width: 240px; }
  .date-nav { gap: 12px; }
  .date-nav a { font-size: 11px; }
  .date-nav span { font-size: 22px; }
  .program-first .sec-head { column-gap: 30px; }
  .program-first .sec-head > p { font-size: 14px; }
  .table-wrap { display: none; }
  .fixture-cards { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 3px solid var(--won-gold); }
  .store-btn {
    grid-template-columns: 60px minmax(0, 1fr) 24px;
    gap: 15px;
    min-height: 90px;
    padding: 20px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--sheet);
    border-radius: 0;
    box-shadow: none;
    color: var(--ink);
    overflow: visible;
  }
  .store-btn:before, .store-btn:after { display: none; }
  .store-btn:hover { background: #d5d9db; transform: none; filter: none; }
  .store-btn .sb-ic { gap: 6px; width: 60px; height: auto; background: none; border: 0; border-radius: 0; }
  .store-btn .sb-ic .crest { width: 26px; height: 26px; background: transparent; border: 0; }
  .store-btn .sb-ic.dual .crest + .crest { margin-left: 0; }
  .store-btn .sb-copy { gap: 7px; }
  .store-btn .sb-kicker { font-size: 9px; letter-spacing: .065em; color: #765b26; line-height: 1.5; }
  .store-btn .sb-title { font-size: 17px; font-weight: 600; color: var(--ink); white-space: normal; line-height: 1.35; text-overflow: clip; }
  .store-btn .sb-meta { font-size: 11px; line-height: 1.5; color: #596066; }
  .store-btn .sb-arrow { width: 24px; height: 34px; border: 0; background: none; color: var(--won-gold); font-size: 18px; border-radius: 0; }
  .analysis.feat { padding: 28px; }
  .analysis-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .analysis-stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .team-row { grid-column: 1 / -1; }
  #analiz .sec-head { display: block; }
  #analiz .sec-head .kicker { margin-bottom: 12px; }
}

/* Small screens: paper rows, readable full team names, and a flush nav rail. */
@media (max-width: 600px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { padding-inline: 22px; }
  .topbar { font-size: 9px; letter-spacing: 0; }
  .topbar-in { height: 30px; gap: 8px; }
  .age-chip { padding-left: 10px; font-size: 9px; }
  .site-header { grid-template-columns: 1fr; gap: 22px; padding: 25px 22px 18px; background: var(--won-charcoal) !important; }
  .header-main { padding: 0; }
  .brand { gap: 9px; }
  .brand-logo { width: 230px; max-width: calc(100vw - 44px); }
  .brand-mini { font-size: 8px; letter-spacing: .22em; }
  .header-sub { border-top: 1px solid #555c62; padding: 13px 0 0; }
  .date-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .date-nav a { padding: 0; min-height: 34px; border: 0; border-radius: 0; font-size: 10px; justify-content: flex-start; }
  .date-nav a:last-child { justify-content: flex-end; }
  .date-nav span { color: #e0be78; font-size: 22px; font-weight: 400; }
  .hero, .program-first { padding: 34px 0 38px; }
  .program-first .sec-head { display: block; padding-bottom: 25px; margin-bottom: 26px; }
  .program-first .sec-head > .kicker { margin-bottom: 13px; }
  h1 { font-size: clamp(41px, 10.6vw, 58px); line-height: 1.02; }
  h1 .gold-text { white-space: nowrap; }
  .program-first .sec-head > p { margin-top: 21px; font-size: 13px; line-height: 1.8; }
  .program-first .sec-head > .fallback-note { font-size: 11px; }
  section { padding: 40px 0; }
  .sec-head { margin-bottom: 25px; }
  h2, #ozet .sec-head h2 { font-size: 31px; line-height: 1.12; }
  .kicker { font-size: 9px; letter-spacing: .16em; }
  .store-btn { grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 11px; padding: 17px 12px; min-height: 108px; }
  .store-btn .sb-ic { width: 44px; gap: 3px; }
  .store-btn .sb-ic .crest { width: 21px; height: 24px; }
  .store-btn .sb-title { font-size: 14px; letter-spacing: -.02em; line-height: 1.4; }
  .store-btn .sb-kicker { font-size: 8px; }
  .store-btn .sb-meta { font-size: 9px; }
  .store-btn .sb-arrow { width: 16px; font-size: 16px; }
  #ozet { padding-top: 32px; }
  #ozet > .wrap { gap: 24px; }
  #ozet .feat-grid { grid-template-columns: 1fr; }
  #ozet .feat, #ozet .feat:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; }
  #ozet .feat .kicker { grid-column: 1 / -1; margin: 0 0 8px; }
  #ozet .feat h3 { grid-column: 1; grid-row: 2; font-size: 26px; margin: 0 0 9px; }
  #ozet .feat p { grid-column: 1; grid-row: 3; font-size: 10px; }
  #ozet .feat > strong { grid-column: 2; grid-row: 2 / 4; align-self: end; font-size: 10px; max-width: 88px; text-align: right; margin: 0; padding-bottom: 3px; }
  .analyses { gap: 18px; }
  .analysis.feat { padding: 24px 20px; }
  .analysis-head { padding-bottom: 18px; }
  .analysis-head .kicker { font-size: 8px; }
  .analysis-head h2 { font-size: 27px; }
  .analysis-copy p { font-size: 13px; line-height: 1.85; }
  .analysis-grid { margin-top: 20px; gap: 23px; }
  .analysis-stats { column-gap: 20px; gap: 17px 20px; padding-top: 19px; }
  .meter-row { font-size: 9px; }
  .meter-row strong { font-size: 10px; }
  .btn { font-size: 10px; min-height: 40px; padding: 10px 14px; }
  .highlights { grid-template-columns: 1fr; gap: 0; }
  .highlights .feat { padding: 18px 0; }
  .highlights .feat .kicker { margin-bottom: 8px; }
  .highlights .feat h3 { font-size: 25px; }
  .disclaimer { font-size: 10px; }
  .site-footer { padding: 24px 0 30px; }
  .f-bot p { font-size: 10px; line-height: 1.8; }
  .bottom-nav {
    left: 0; right: 0; bottom: 0;
    max-width: 100%; width: 100%;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 12px env(safe-area-inset-bottom);
    background: var(--sheet) !important;
    border-radius: 0;
    border-top: 1px solid #acb2b7;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .bn-item { position: relative; font-size: 9px; font-weight: 600; color: #555d62; opacity: 1; gap: 5px; }
  .bn-item.active, .bn-item:active { color: var(--won-gold); }
  .bn-item.active:before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 3px; background: var(--won-gold); }
  .bn-ic svg { width: 19px; height: 19px; }
  #mac-detay h1 { font-size: 43px; }
  #mac-detay h1 .gold-text { white-space: normal; }
  #mac-detay .match-sheet { padding: 24px 20px; }
  .team-row[class] { font-size: 11px; }
  .h2h li[class], .h2h li { font-size: 10px; }
}

@media (max-width: 350px) {
  .wrap { padding-inline: 16px; }
  .site-header { padding-inline: 16px; }
  .brand-logo { width: 214px; }
  h1 { font-size: 39px; }
  .date-nav { gap: 8px; }
  .date-nav a { font-size: 9px; }
  .date-nav span { font-size: 20px; }
  .store-btn { grid-template-columns: 36px minmax(0, 1fr) 12px; padding-inline: 9px; gap: 9px; }
  .store-btn .sb-ic { width: 36px; gap: 2px; }
  .store-btn .sb-ic .crest { width: 17px; }
  .store-btn .sb-title { font-size: 13px; }
  .store-btn .sb-meta { font-size: 8px; }
  .analysis.feat { padding: 22px 16px; }
  .analysis-head h2 { font-size: 25px; }
  #ozet .feat { column-gap: 12px; }
  #ozet .feat h3 { font-size: 24px; }
  #ozet .feat > strong { max-width: 70px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Light silver reading surfaces contrast with the dark charcoal page. */
.fixture-table, .analysis.feat, #mac-detay .match-sheet, .empty-panel[class] { color: #2d3033; }
.fixture-table tr:hover td { color: #303438; }
.fixture-table td:first-child, .fixture-table .probs-mini,
.fixture-table .match-link:hover, .chip,
.analysis.feat .outlook strong, .analysis.feat .meter-row strong,
.h2h strong { color: #765b26; }
.analysis.feat .analysis-head h2, .analysis.feat .analysis-head a,
.analysis.feat .analysis-stats, #mac-detay .team-row { color: #2d3033; }
.analysis.feat .meter-row { color: #5b6268; }
.analysis.feat .btn-ghost { color: #765b26; }
.analysis.feat .btn-gold { color: #1f2224; }
.store-btn, .store-btn .sb-title { color: #303438; }
.store-btn .sb-arrow { color: #765b26; }
.bottom-nav .bn-item { color: #50575d; }
.bottom-nav .bn-item.active { color: #765b26; }

/* Maintain readable fixture labels on the silver schedule. */
.fixture-table td:nth-child(3), .fixture-table .th-hint { color: #5b6268; }
.fixture-table .probs-mini { color: #624b1f; font-size: 13px; font-weight: 700; }
.fixture-table .probs-mini .silver { color: #626d73; }

/* Match copy stays dark on the silver analysis sheet. */
.analysis.feat .analysis-copy .outlook { color: #44494e !important; }
.analysis.feat .h2h li, .analysis.feat .h2h li span { color: #44494e; }
