/* KLBet Odds Perlawanan — gaya asal. Token warna di :root */
:root{
  --bg:#020617; --surface:#040c2e; --surface-2:#0a0d2e; --border:rgba(255,255,255,.12);
  --primary:#8b5cf6; --primary-600:#7c3aed; --accent:#6366f1; --on-primary:#000;
  --heading:#f8fafc; --text:#eaedf3; --muted:#a3adbe;
  --radius:14px; --radius-sm:8px; --container:1320px; /* = reference: 1320 incl. 12px gutters → 1296 content */
  --font:"Segoe UI",Arial,sans-serif; /* KLB-002 #1: match ref metrics, avoid wider Noto fallback */
  --header-h:128px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.5;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{color:#a78bfa}
:focus-visible{outline:2px solid #c4b5fd;outline-offset:3px;border-radius:4px}
h1,h2,h3{color:var(--heading);line-height:1.2;margin:0 0 .6em}
p{margin:0 0 1rem}
ul,ol{margin:0;padding:0;list-style:none}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 12px}
.col-9{max-width:966px;margin-left:auto;margin-right:auto}
.col-8{max-width:856px;margin-left:auto;margin-right:auto}
.narrow{max-width:960px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--primary);color:#000;padding:8px 14px;border-radius:8px;font-weight:700}
.skip-link:focus{top:12px}
.accent{color:var(--primary)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;font-weight:700;font-size:.95rem;border-radius:var(--radius-sm);padding:10px 28px;border:1px solid transparent;transition:background .2s,color .2s,box-shadow .2s,transform .2s;cursor:pointer;line-height:1.5;text-align:center}
.btn-primary{background:var(--primary);color:var(--on-primary)}
.btn-primary:hover{background:#a78bfa;color:#000;box-shadow:0 8px 24px rgba(139,92,246,.35);transform:translateY(-1px)}
.btn-outline{border-color:var(--primary);color:var(--primary);font-weight:600;padding:10px 24px}
.btn-outline:hover{background:rgba(139,92,246,.12);color:#c4b5fd}
.btn-lg{font-size:1rem;padding:12px 32px}
.btn-outline.btn-lg{padding:12px 30px}
.btn-sm{font-size:.85rem;padding:8px 20px}
.btn-outline.btn-sm{padding:7px 18px}
.btn-block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.btn-row.center{justify-content:center}
.pill{display:inline-block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#a78bfa;border:1px solid rgba(139,92,246,.6);background:rgba(139,92,246,.12);padding:5px 16px;border-radius:999px}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:var(--surface);border-bottom:1px solid var(--border)}
.nav-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}
/* LOGO SLOT — reference renders 109×40 (header) and 98×36 (footer) from a 150×55 file */
.logo{display:block;flex:none}
.logo img{width:188px;height:40px;object-fit:contain} /* KLB-005g: real logo, 4.69:1 → 188×40 */
.main-nav{display:flex;align-items:center;gap:28px}
.main-nav ul{display:flex;gap:4px}
.main-nav ul a{display:block;color:var(--text);padding:8px;border-radius:8px;font-size:.93rem}
.main-nav ul a:hover,.main-nav ul a.active{color:var(--primary);background:rgba(139,92,246,.08)}
.nav-cta{display:flex;gap:10px}
.nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--border);background:transparent;border-radius:8px;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.nav-toggle .bar{width:22px;height:2px;background:var(--text);border-radius:2px;transition:transform .25s,opacity .25s}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Ticker */
.ticker{position:relative;z-index:1;overflow:hidden;border-top:1px solid var(--border);background:var(--surface);padding:10px 0;font-size:.87rem;line-height:1.5}
html.js .ticker{min-height:calc(1.5em + 21px)} /* KLB-005e CLS: reserve the 1-line ticker (41.88px) before main.js fills it; KLB-005f: JS only */
.ticker-track{display:flex;width:max-content;animation:ticker 45s linear infinite}
.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}
.ticker-item{white-space:nowrap;padding:0 28px;color:var(--muted)}
.ticker-item b{color:var(--primary);font-weight:700}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Hero */
.hero{background:linear-gradient(135deg,#020617 0%,#0a0d2e 55%,#040c2e 100%);padding:64px 0 52px;border-bottom:1px solid var(--border);position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-10%;top:-30%;width:60%;height:140%;background:radial-gradient(closest-side,rgba(99,102,241,.18),transparent);pointer-events:none}
.hero-inner{position:relative}
.breadcrumb ol{display:flex;gap:8px;font-size:.9rem;color:var(--text);margin-bottom:16px}
.breadcrumb li+li::before{content:"/";margin-right:8px;color:var(--muted)}
.hero h1{font-size:clamp(1.8rem,4vw,2.9rem);font-weight:900;line-height:1.2;margin:8px 0 16px}
.lead{color:var(--muted);font-size:1rem;line-height:1.85;max-width:640px;margin:0}
.hero .btn-row{margin:24px 0 48px;gap:16px}
/* KLB-002 #4: hero buttons = ref 15.2/22.8, 44.8px tall */
.hero .btn-lg{font-size:.95rem;padding:10px 28px}
.hero .btn-outline.btn-lg{padding:10px 24px}
/* KLB-002 #4: hero badge = ref 13.12px, ls 1px, #8b5cf6, solid primary border */
.hero .pill{font-size:.82rem;letter-spacing:1px;padding:4px 18px;color:#a78bfa;border-color:var(--primary);background:rgba(139,92,246,.15);margin-bottom:16px} /* KLB-005a C1: text #a78bfa for AA contrast (border/bg stay ref); M1: +16px → 24px badge-to-H1 gap */
.hero-stats{display:flex;flex-wrap:wrap;row-gap:16px}
.hero-stats li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 24px;border-left:1px solid var(--border)}
.hero-stats li:first-child{padding-left:0;border-left:0}
.hero-stats strong{font-size:1.6rem;color:var(--primary);font-weight:900;line-height:1.5}
.hero-stats span{font-size:.75rem;color:var(--muted)}
.hero-art{position:absolute;right:12px;top:110px;opacity:.55;pointer-events:none}
.hero-art img{width:160px}

/* Sections */
.section{padding:64px 0}
.section-tight{padding:24px 0}
.section-alt{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-head{text-align:center;margin-bottom:24px}
.section-title{font-size:clamp(1.3rem,2.8vw,1.9rem);font-weight:800;margin-bottom:.4rem}
/* Reference rhythm: one padded block, each row separated by 48px (Bootstrap mb-5) */
.section.flow{padding:0 0 48px}
#promosi.flow{padding-bottom:112px}
.section-sub{color:var(--muted);margin:0;font-size:.95rem;line-height:1.5}

/* Sport nav */
.odds-area{padding:64px 0 0}
.odds-tables{padding-bottom:24px} /* KLB-005f F1: last visible card 24px margin + 24px = 48px under the tables for every filter (D01 spec: 48px between blocks; was :last-child = Tenis only) */
.sport-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px} /* KLB-002 #6: 32px to first table */
/* KLB-005e CLS: reserve the filter row and the default ("Pilihan Utama") tables before main.js renders them.
   Heights = measured rendered heights per breakpoint. main.js adds .is-rendered to drop the table reserve,
   so filtering never leaves a gap. If the featured rows in data.js change a lot, re-measure these values. */
html.js .sport-nav{min-height:42.39px}
html.js .odds-tables{min-height:895px}
html.js .odds-tables.is-rendered{min-height:0} /* KLB-005f: all reserves scoped to html.js (set by the inline script in <head>) */
.noscript-note{font-size:.9rem;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 18px;margin:0 0 24px} /* KLB-005f */
.sport-btn{font:inherit;font-size:.85rem;font-weight:600;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 20px;cursor:pointer;transition:all .2s}
.sport-btn:hover{color:var(--heading);border-color:rgba(139,92,246,.6)}
.sport-btn[aria-pressed="true"]{color:#a78bfa;border-color:var(--primary);background:rgba(139,92,246,.1)} /* KLB-005e L5: text #8b5cf6 → #a78bfa for 4.5:1 */
.sample-note{font-size:.8rem;color:var(--muted);margin:0 0 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sample-note strong{color:#fcd34d}
.dot{width:8px;height:8px;border-radius:50%;background:#fcd34d;display:inline-block}

/* Odds tables */
.odds-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-bottom:24px;overflow:hidden}
.odds-card[hidden]{display:none}
.odds-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.odds-card-head h3{font-size:1.05rem;margin:0}
.badge-sample{font-size:.72rem;font-weight:700;color:#c4b5fd;border:1px solid rgba(139,92,246,.6);background:rgba(139,92,246,.15);padding:3px 12px;border-radius:999px;white-space:nowrap}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap:focus-visible{outline-offset:-2px}
.odds-tbl{width:100%;border-collapse:collapse;min-width:720px;font-size:.88rem}
/* KLB-005a M6: sample-data note now sits under the scroller (was <caption> inside it, clipped at 390) */
.tbl-note{margin:0;padding:10px 20px;font-size:.78rem;line-height:1.5;color:var(--muted);border-top:1px solid var(--border)}
.odds-tbl th{text-align:center;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:12px 16px;border-bottom:1px solid var(--border)}
.odds-tbl th:nth-child(-n+2),.odds-tbl td:nth-child(-n+2){text-align:left}
.odds-tbl th:first-child,.odds-tbl td:first-child{padding-left:20px}
.odds-tbl td{padding:13px 16px;border-bottom:1px solid var(--border);text-align:center;vertical-align:middle}
.odds-tbl tbody tr:last-child td{border-bottom:0}
.odds-tbl tbody tr:hover{background:rgba(139,92,246,.05)}
.odds-tbl td:nth-child(2){min-width:200px}
.odds-tbl .time{color:var(--text);font-size:.88rem;white-space:nowrap}
.team{font-weight:700;color:var(--heading)}
.lg{display:inline-block;font-size:.7rem;font-weight:700;color:var(--muted);background:rgba(255,255,255,.06);border-radius:4px;padding:1px 7px;margin-left:8px;vertical-align:1px}
.vs{display:block;font-size:.8rem;color:var(--muted)}
.odd{display:inline-block;white-space:nowrap;min-width:58px;padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:#0b1240;color:var(--heading);font-weight:700;font-size:.88rem}
.scroll-hint{display:none;font-size:.75rem;color:var(--muted);padding:8px 20px 0}
.scroll-hint[hidden]{display:none} /* KLB-005a M5: main.js hides the hint when the table does not overflow */

/* Split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.split-media{margin:0}
/* Image slot = reference: full column width, 2:1, 14px radius, 1px border, no shadow */
.content-img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:14px;border:1px solid var(--border);background:var(--surface)}
.split-copy .section-title{margin-bottom:.4rem}
.split-copy p{color:var(--muted);line-height:1.9}
.split-copy strong{color:var(--heading)}
.lead-sm{font-size:1rem;line-height:1.9}

/* Cards */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card-grid>.info-card{height:100%}
.info-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-height:293px;transition:border-color .25s,transform .25s}
.info-card:hover{border-color:var(--primary);transform:translateY(-4px)}
.info-card .icon{width:52px;height:52px;border-radius:14px;background:rgba(99,102,241,.15);display:grid;place-items:center;font-size:1.5rem;margin-bottom:14px}
.info-card h3{font-size:1rem;font-weight:800;line-height:1.5;margin-bottom:8px}
.info-card p{color:var(--muted);font-size:.84rem;line-height:1.8;margin:0}

/* Stats */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:22px 16px;text-align:center;display:flex;flex-direction:column}
.stat-card{min-height:114px;justify-content:center}
.stat-card strong{font-size:1.9rem;font-weight:900;color:#a78bfa;text-shadow:0 0 18px rgba(139,92,246,.5);line-height:1.5}
.stat-card span{font-size:.8rem;color:var(--muted)}

/* Leagues */
.league-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.league-grid li{background:rgba(139,92,246,.08);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:.85rem}

/* Steps */
.steps{display:grid;gap:24px}
.steps li{display:grid;grid-template-columns:40px 1fr;gap:16px}
.steps .num{width:40px;height:40px;border-radius:50%;background:var(--primary);color:#000;font-weight:800;display:grid;place-items:center}
.steps h3{font-size:.95rem;font-weight:700;line-height:1.5;margin:0 0 4px}
.steps p{color:var(--muted);font-size:.84rem;line-height:1.8;margin:0}

/* Tips */
.tips{display:grid;gap:16px;margin-top:8px}
.tips h3{font-size:.9rem!important;font-weight:700;margin-bottom:3px!important}
.tips p{font-size:.84rem!important;line-height:1.8}
.tips li{position:relative;padding-left:32px}
.tips li::before{content:"✓";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--primary);color:#000;font-size:.72rem;font-weight:900;display:grid;place-items:center}
.tips h3{font-size:1rem;margin-bottom:4px}
.tips p{font-size:.9rem;margin:0}

/* Promo */
.promo-panel{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:center;background:linear-gradient(135deg,rgba(139,92,246,.12) 0%,rgba(99,102,241,.07) 100%);border:1px solid var(--primary);border-radius:16px;padding:32px}
.promo-title{font-size:clamp(1.3rem,1rem + 1vw,1.75rem);font-weight:800;margin-bottom:.7rem}
.promo-copy p{color:var(--muted);line-height:1.8}
.promo-copy strong{color:var(--heading)}
.promo-box{border:1px solid var(--primary);background:rgba(139,92,246,.12);border-radius:12px;padding:20px;text-align:center;display:flex;flex-direction:column;gap:6px}
.promo-label,.promo-small{font-size:.8rem;color:var(--muted)}
.promo-value{font-size:2.1rem;font-weight:900;color:var(--primary);line-height:1.1}
.promo-box .btn{margin-top:10px;white-space:nowrap}

/* FAQ */
.faq{display:grid;gap:10px}
.faq-item{background:var(--bg);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.faq-item h3{margin:0;font-size:1rem}
.faq-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;font:inherit;line-height:1.25;font-weight:600;color:var(--heading);background:var(--bg);border:0;padding:16px 20px;cursor:pointer}
.faq-btn:hover{color:#c4b5fd}
.faq-btn .chev{flex:none;width:12px;height:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .25s;margin-top:-4px}
.faq-btn[aria-expanded="true"] .chev{transform:rotate(-135deg);margin-top:4px}
.faq-panel{padding:0 20px 18px;color:var(--muted);line-height:1.8}
.faq-panel[hidden]{display:none}
.faq-panel p{margin:0}

/* Responsible gaming */
.rg-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:28px 32px}
.rg-title{font-size:1.1rem;font-weight:800;display:flex;align-items:center;gap:10px}
.badge-18{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2px solid #f87171;color:#f87171;font-size:.8rem;font-weight:900}
.rg-box p,.rg-list{color:var(--muted);font-size:.9rem;line-height:1.85}
.rg-box strong{color:var(--heading)}
.rg-list{list-style:disc;padding-left:20px;margin-bottom:1rem}
.rg-help a{text-decoration:underline;text-underline-offset:2px} /* KLB-005e L5: links distinguishable without colour */

/* CTA */
.cta-section{background:var(--surface);border-top:1px solid var(--border);padding:56px 0}
.cta-box{text-align:center;border:1px solid var(--primary);border-radius:16px;padding:32px;background:linear-gradient(135deg,rgba(139,92,246,.12) 0%,rgba(99,102,241,.07) 100%)}
.cta-title{font-size:clamp(1.5rem,3.5vw,2.3rem);font-weight:900;margin:16px auto 16px;max-width:1230px}
.cta-box>p{color:var(--muted);max-width:560px;margin:0 auto 28px;font-size:.97rem;line-height:1.85}
.cta-box>p.trust{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;font-size:.8rem;color:var(--muted);margin:22px auto 0;max-width:none}

/* Footer */
.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:48px 0 24px}
.footer-grid{display:grid;grid-template-columns:4fr 2fr 2fr 4fr;gap:24px}
.footer-brand img{width:169px;height:36px;object-fit:contain;margin-bottom:16px} /* KLB-005g: 4.69:1 → 169×36 */
.logo picture,.footer-brand picture{display:contents} /* KLB-005g: <picture> wrapper adds no box, layout identical to a bare <img> */
.footer-brand p{color:var(--muted);font-size:.88rem}
.footer-h{font-size:1rem;margin-bottom:14px}
p.footer-h{color:var(--heading);font-weight:700;line-height:1.2;margin:0 0 14px} /* KLB-005e L11: was h2, same look */
.site-footer nav li{margin-bottom:8px}
.site-footer nav a{color:var(--muted);font-size:.9rem}
.site-footer nav a:hover{color:var(--primary)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;position:relative;margin-top:24px;padding-top:20px;font-size:.82rem;color:var(--muted)}
.footer-bottom p{margin:0}
.footer-badges{display:flex;gap:14px}
.to-top{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:50%;background:var(--primary);color:#000;font-weight:900;display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .25s;z-index:90;box-shadow:0 8px 24px rgba(139,92,246,.4)}
.to-top.show{opacity:1;pointer-events:auto}
.to-top:hover{color:#000;background:#a78bfa}

/* Responsive */
@media (max-width:1199px){
  .main-nav{gap:14px}.main-nav ul a{padding:8px 8px;font-size:.9rem}
}
@media (max-width:991px){
  :root{--header-h:110px}
  .nav-toggle{display:flex}
  .nav-bar{min-height:66px}
  .main-nav{position:absolute;z-index:10;box-shadow:0 18px 40px rgba(0,0,0,.5);left:0;right:0;top:67px;flex-direction:column;align-items:stretch;gap:12px;background:var(--surface);border-bottom:1px solid var(--border);padding:12px 24px 20px;display:none;max-height:calc(100vh - 67px);overflow-y:auto}
  .main-nav.open{display:flex}
  .main-nav ul{flex-direction:column}
  .main-nav ul a{padding:12px 8px;font-size:1rem;border-bottom:1px solid var(--border);border-radius:0}
  .nav-cta .btn{flex:1 1 0;min-width:0;padding-left:12px;padding-right:12px;white-space:nowrap} /* KLB-005a M8: equal-width menu buttons (same side padding so halves match) */
  .split,.promo-panel{grid-template-columns:1fr}
  .hero-art{display:none}
  .split-reverse .split-media{order:-1}
  .card-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .scroll-hint{display:block}
}
@media (max-width:767px){
  .stat-grid{grid-template-columns:1fr 1fr}
  /* KLB-002 #7: sport filter = one row, scrolls inside its own box (6px pad keeps focus ring visible) */
  .sport-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:6px;margin:-6px -6px 26px}
  .sport-nav::-webkit-scrollbar{display:none}
  .sport-btn{flex:none;white-space:nowrap}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width:575px){
  .hero{padding:42px 0 28px}
  /* KLB-002 #5: promo title 23.14px; promo button stays on one line */
  .promo-title{font-size:1.446rem}
  .promo-box{padding:20px 12px}
  .promo-box .btn{padding-left:12px;padding-right:12px}
  .hero .btn-row{margin:24px 0 48px}
  .card-grid{grid-template-columns:1fr}
  .odds-tbl{min-width:640px}
}
/* KLB-002 #5: very small phones (<390px) — shrink the promo button text so it stays on one line without page overflow */
@media (max-width:389px){
  .promo-panel{padding:24px 20px}
  .promo-box{padding:16px 8px}
  .promo-box .btn{font-size:.82rem;padding-left:8px;padding-right:8px}
}
[tabindex="-1"]:focus{outline:none}
/* KLB-005a M2: tablet container = ref 720 (696 content) */
@media (min-width:768px) and (max-width:991px){.container{max-width:720px}}
/* KLB-005e CLS reserves per breakpoint (see .odds-tables above) */
@media (min-width:768px) and (max-width:991px){html.js .sport-nav{min-height:94.78px}html.js .odds-tables{min-height:1017px}}
@media (min-width:576px) and (max-width:767px){html.js .odds-tables{min-height:1017px}}
@media (max-width:767px){html.js .sport-nav{min-height:54.39px}}
@media (max-width:575px){html.js .odds-tables{min-height:1222px}}
/* KLB-005c N1: let the odds tables fit the 694px tablet wrapper (no internal scroll) */
@media (min-width:768px) and (max-width:991px){
  .odds-tbl{min-width:0}
  .odds-tbl th,.odds-tbl td{padding-left:10px;padding-right:10px} /* first column keeps its 20px left pad */
  .odds-tbl td:nth-child(2){min-width:150px}
}
/* KLB-002 #7: footer tap targets >= 44px on phones/tablets and any touch screen (desktop mouse layout unchanged) */
@media (max-width:991px),(pointer:coarse){
  .site-footer nav li{margin-bottom:0}
  .site-footer nav a{display:inline-flex;align-items:center;min-height:44px}
  .site-footer .btn-sm{min-height:44px}
}

.footer-bottom::before{content:"";position:absolute;top:0;left:12px;right:12px;border-top:1px solid var(--border)}
