/* Fonts served from this site (variable files: one per script covers every weight). */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/static/fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/static/fonts/cairo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/readex-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/readex-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@view-transition { navigation: auto; }

:root {
  --bg: #080a10;
  --panel: #11151f;
  --panel-2: #181e2b;
  --line: #232b3c;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #e52e3d;
  --accent-hover: #f5475a;
  --accent-soft: rgba(229, 46, 61, .12);
  --gold: #f6a917;
  --green: #10b981;
  --live: #ff4757;
  --head: "Cairo", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2 { font-family: var(--head); line-height: 1.3; margin: 0; }
h1 { font-size: 26px; font-weight: 900; margin-bottom: 14px; letter-spacing: -.2px; }
h1 small { display: block; font-family: "Readex Pro", sans-serif; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
p { margin: 0 0 10px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
::selection { background: var(--accent); color: #fff; }

/* Ambient background */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000 10%, transparent 70%); }
.bg-fx i { position: absolute; width: 560px; height: 560px; border-radius: 50%; opacity: .5; will-change: transform; }
.bg-fx i:nth-child(1) { top: -220px; right: -120px; background: radial-gradient(circle, rgba(229, 46, 61, .34), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.bg-fx i:nth-child(2) { top: 120px; left: -220px; background: radial-gradient(circle, rgba(246, 169, 23, .16), transparent 65%); animation: drift 24s ease-in-out infinite alternate-reverse; }
.bg-fx i:nth-child(3) { top: -160px; left: 30%; background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 65%); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(70px, 50px, 0) scale(1.15); } }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(8, 10, 16, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 14px; height: 62px; }
.logo img { height: 44px; width: auto; display: block; transition: transform .4s var(--ease); }
.logo:hover img { transform: scale(1.06) rotate(-2deg); }
.top nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-inline-end: auto; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { position: relative; flex: none; padding: 8px 14px; border-radius: 9px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.top nav a::after { content: ""; position: absolute; inset: auto 14px 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.top nav a:hover, .top nav a.on { color: #fff; background: rgba(255, 255, 255, .05); }
.top nav a.on::after, .top nav a:hover::after { transform: scaleX(1); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-inline-end: 6px; box-shadow: 0 0 0 0 rgba(255, 71, 87, .7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 71, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); } }


/* Page grid */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; padding-top: 24px; padding-bottom: 48px; align-items: start; }
main { min-width: 0; }
.side { position: sticky; top: 84px; display: grid; gap: 16px; }

/* Scroll reveal (only when the script is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Chips */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.chip:hover { color: #fff; border-color: #3a455c; transform: translateY(-1px); }
.chip.on { background: linear-gradient(135deg, #ff4a5a, var(--accent)); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(229, 46, 61, .4); }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ff4a5a, var(--accent) 60%, #c81e2d); color: #fff; font-family: var(--head); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 11px; border: 0; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 18px rgba(229, 46, 61, .35); transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(229, 46, 61, .55); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; inset-inline-start: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 55% { inset-inline-start: -60%; } 100% { inset-inline-start: 130%; } }
.btn.ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: none; }
.btn.block { display: flex; width: 100%; margin-top: 8px; }
.head-cta { padding: 8px 16px; }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; text-decoration: underline; }

/* Hero */
.hero { position: relative; padding: 1.5px; border-radius: 22px; margin-bottom: 18px; background: conic-gradient(from var(--angle), rgba(229, 46, 61, .9), rgba(246, 169, 23, .7), rgba(229, 46, 61, .12) 35%, rgba(229, 46, 61, .12) 65%, rgba(229, 46, 61, .9)); animation: spin 7s linear infinite, rise .8s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 12% 8%; z-index: -1; background: radial-gradient(ellipse, rgba(229, 46, 61, .45), transparent 70%); filter: blur(40px); animation: glow 4s ease-in-out infinite alternate; }
@keyframes spin { to { --angle: 360deg; } }
@keyframes glow { from { opacity: .45; } to { opacity: .95; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.hero-in { border-radius: 20.5px; padding: 24px 20px; text-align: center; background: radial-gradient(ellipse at 50% -20%, rgba(229, 46, 61, .28), transparent 60%), linear-gradient(180deg, #161b28, #0e121b); }
.hero-tag { display: inline-block; background: var(--accent-soft); border: 1px solid rgba(229, 46, 61, .3); color: #ff9aa3; border-radius: 999px; padding: 3px 16px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 20px; }
.side-team { display: grid; justify-items: center; gap: 10px; min-width: 0; }
.side-team img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); animation: float 5s ease-in-out infinite; }
.side-team:last-child img { animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-7px); } }
.vs:hover .side-team img { animation-duration: 1.6s; }
.side-team b { font-family: var(--head); font-size: 18px; direction: ltr; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.mid b { display: block; font-family: var(--head); font-size: 40px; font-weight: 900; direction: ltr; white-space: nowrap; line-height: 1.1; background: linear-gradient(180deg, #fff 30%, #ffb3ba); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mid small { display: inline-block; color: var(--muted); font-size: 13px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mid small.live { color: var(--live); font-weight: 700; }
.countdown[data-on] { color: var(--gold); background: rgba(246, 169, 23, .1); border: 1px solid rgba(246, 169, 23, .25); border-radius: 999px; padding: 1px 12px; direction: ltr; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.hero.match { margin-bottom: 16px; }
.hero.match .vs { margin-bottom: 0; }
.match-title { font-size: 21px; margin-bottom: 6px; }
.lead { color: var(--muted); margin-bottom: 18px; }

/* Odds */
.odds3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odd { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 64px; padding: 7px 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s; }
.odd span { color: var(--muted); font-size: 12px; }
.odd b { color: var(--gold); font-variant-numeric: tabular-nums; direction: ltr; }
button.odd:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(246, 169, 23, .18); }
button.odd:active { transform: scale(.94); }
.odd.on { background: linear-gradient(135deg, #ffc94d, var(--gold)); border-color: transparent; box-shadow: 0 6px 18px rgba(246, 169, 23, .4); animation: pop .35s var(--ease); }
.odd.on span, .odd.on b { color: #1a1204; }
@keyframes pop { 40% { transform: scale(1.12); } }
.odd.off { cursor: default; opacity: .5; }
.odds3.big { max-width: 480px; margin: 0 auto; gap: 10px; }
.odds3.big .odd { padding: 13px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.odds3.big .odd.on { background: linear-gradient(135deg, #ffc94d, var(--gold)); }
.odds3.big .odd b { font-size: 22px; font-family: var(--head); }
.odds3.big .odd span { font-size: 14px; font-weight: 700; }

/* League blocks and rows */
.league { background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 120px), var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s, opacity .7s var(--ease), transform .7s var(--ease); }
.league:hover { border-color: #33405a; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); }
.league h2 { font-size: 15px; font-weight: 700; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.league h2 a { display: flex; align-items: center; gap: 8px; padding: 11px 16px; transition: color .2s; }
.league h2 a:hover { color: #ff9aa3; }
.league .flag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; }
.league .country { color: var(--muted); font-weight: 400; font-size: 13px; }
.league .count { margin-inline-start: auto; color: var(--muted); font-weight: 600; font-size: 12px; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 0 9px; }
.row { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 12px; border-top: 1px solid var(--line); transition: background .2s; }
.league h2 + .row { border-top: 0; }
.row::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.row:hover { background: rgba(255, 255, 255, .03); }
.row:hover::before { transform: scaleY(1); }
.row-main { flex: 1; min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) 26px; align-items: center; gap: 10px; padding: 11px 0; }
.when { color: var(--muted); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.when.live { color: var(--live); font-weight: 700; }
.when.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-inline-end: 5px; animation: ping 1.6s infinite; }
.teams { display: grid; gap: 5px; min-width: 0; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team img { width: 20px; height: 20px; object-fit: contain; flex: none; transition: transform .3s var(--ease); }
.row:hover .team img { transform: scale(1.18); }
.team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: plaintext; }
.score { display: grid; gap: 5px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { color: var(--gold); transform: scale(1.7); } }
.row-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.bet { flex: none; padding: 6px 14px; border-radius: 9px; border: 1px solid rgba(229, 46, 61, .55); color: #ff8d96; font-family: var(--head); font-weight: 800; font-size: 13px; white-space: nowrap; transition: all .25s var(--ease); }
.bet:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(229, 46, 61, .45); }
.bet.hot { background: var(--accent); border-color: var(--accent); color: #fff; animation: hot 1.8s ease-in-out infinite; }
@keyframes hot { 50% { box-shadow: 0 0 0 6px rgba(229, 46, 61, 0), 0 0 18px rgba(229, 46, 61, .7); } }

.live-strip { display: flex; align-items: center; gap: 4px; background: linear-gradient(90deg, rgba(255, 71, 87, .16), rgba(255, 71, 87, .04)); border: 1px solid rgba(255, 71, 87, .32); border-radius: 14px; padding: 11px 16px; margin-bottom: 16px; font-weight: 600; transition: transform .25s var(--ease), border-color .2s, opacity .7s var(--ease); }
.live-strip:hover { transform: translateX(-4px); border-color: var(--live); }
.live-strip span:last-child { margin-inline-start: auto; color: var(--muted); font-weight: 400; font-size: 13px; }

.others { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; }
.others summary { padding: 13px 16px; cursor: pointer; font-family: var(--head); font-weight: 700; }
.others i, .other-links i { font-style: normal; color: var(--muted); font-size: 12px; margin-inline-start: 4px; }
.other-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 14px; padding: 0 16px 14px; }
.other-links a { padding: 5px 0; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s, padding .2s; }
.other-links a:hover { color: #fff; padding-inline-start: 6px; }

/* Partner placements */
.brand-text { font-family: var(--head); font-size: 17px; }
.promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border-radius: 16px; border: 1px solid rgba(229, 46, 61, .3); background: linear-gradient(110deg, rgba(229, 46, 61, .2), rgba(17, 21, 31, .9) 45%, rgba(246, 169, 23, .12)); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .7s var(--ease); }
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%); transform: translateX(100%); animation: sweep 5s ease-in-out infinite; }
@keyframes sweep { 0%, 40% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.promo:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 34px -14px rgba(229, 46, 61, .7); }
.promo-text { flex: 1; min-width: 0; font-family: var(--head); font-weight: 700; font-size: 16px; }
.promo > * { position: relative; }
.partner { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); transition: transform .25s var(--ease); }
.partner:first-of-type { border-top: 0; padding-top: 0; }
.partner:last-child { padding-bottom: 0; }
.partner:hover { transform: translateX(-4px); }
.partner-name { flex: 1; min-width: 0; }
.partner-name small { display: block; color: var(--muted); font-size: 13px; }
.side-promo { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 16px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0, rgba(229, 46, 61, .2), transparent 70%), var(--panel); font-family: var(--head); font-weight: 700; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.side-promo:hover { transform: translateY(-4px); border-color: rgba(229, 46, 61, .6); box-shadow: 0 18px 36px -16px rgba(229, 46, 61, .6); }
.side-promo .btn { margin-top: 0; }

/* Cards */
.card { background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 120px), var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.card h2 { font-size: 17px; margin-bottom: 14px; }
h2.sub { font-size: 17px; margin: 22px 0 12px; }
.about { color: var(--muted); font-size: 14px; padding: 4px 2px; }
.about h2 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.tiny, .note { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.note { text-align: center; }
.empty { text-align: center; color: var(--muted); padding: 26px 12px; }
.empty a:not(.btn) { color: #ff8d96; text-decoration: underline; }
.warn { background: #3a2a05; border: 1px solid #6b4e0a; color: #fde68a; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a:hover { color: #fff; }
.crumbs span { unicode-bidi: isolate; }

.pred { display: flex; height: 34px; border-radius: 10px; overflow: hidden; font-weight: 700; font-size: 13px; }
.pred div { display: grid; place-items: center; min-width: 36px; transform-origin: right; }
.js .reveal .pred div { transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.js .reveal.in .pred div { transform: none; }
.pred .ph { background: linear-gradient(135deg, #ff4a5a, var(--accent)); }
.pred .pd { background: #475569; }
.pred .pa { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.pred-legend { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; margin-top: 6px; }

/* Coupon page */
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); transition: transform .25s var(--ease); }
.pick:first-of-type { border-top: 0; }
.pick:hover { transform: translateX(-4px); }
.pick-main b { display: block; direction: ltr; unicode-bidi: plaintext; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-main small { color: var(--muted); font-size: 12.5px; }
.pick-sel { font-size: 13px; background: var(--panel-2); border-radius: 8px; padding: 3px 9px; unicode-bidi: plaintext; }
.pick-odd { color: var(--gold); font-weight: 800; direction: ltr; }
.coupon-total { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); }
.coupon-total b { color: var(--gold); direction: ltr; }

@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } }

/* Toast and mobile bar */
.toast { position: fixed; inset: auto 16px 20px; z-index: 60; margin: 0 auto; max-width: 420px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(17, 21, 31, .96); border: 1px solid rgba(246, 169, 23, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .7); backdrop-filter: blur(10px); opacity: 0; transform: translateY(30px) scale(.96); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast span { color: var(--green); font-weight: 600; }
.toast b { color: var(--gold); font-family: var(--head); white-space: nowrap; }
.cta-bar { display: none; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: rgba(5, 7, 11, .8); padding: 24px 0 30px; color: var(--muted); font-size: 13px; }
.foot p { margin: 0 0 6px; }
.foot b { color: var(--text); border: 1px solid var(--muted); border-radius: 6px; padding: 0 5px; margin-inline-end: 4px; }
.foot a:hover { color: #fff; }
.foot-partners { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.foot-partners a { transition: transform .25s var(--ease); }
.foot-partners a:hover { transform: translateY(-3px); }

/* Admin table */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 6px; text-align: center; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 13px; border-top: 0; }
td:first-child, th:first-child { text-align: start; font-weight: 700; }

@media (max-width: 979px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  body { padding-bottom: 66px; }
  .cta-bar { position: fixed; inset: auto 0 0 0; z-index: 35; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(8, 10, 16, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); animation: up .6s var(--ease) .4s both; }
  @keyframes up { from { transform: translateY(100%); } }
  body.has-slip .cta-bar { display: none; }
  .slip { position: fixed; inset: auto 0 0 0; z-index: 40; border-radius: 18px 18px 0 0; border-width: 1px 0 0; box-shadow: 0 -14px 40px rgba(0, 0, 0, .7); max-height: 82vh; overflow-y: auto; animation: up .45s var(--ease); }
  .slip.empty { display: none; }
  .slip-head { cursor: pointer; position: sticky; top: 0; z-index: 1; }
  .slip:not(.open) .slip-body { display: none; }
  .toast { bottom: 78px; }
}

@media (max-width: 760px) {
  .head-cta { display: none; }
}

@media (max-width: 620px) {
  h1 { font-size: 21px; }
  .bar { gap: 8px; height: 56px; }
  .logo img { height: 36px; }
  .top nav a { padding: 6px 9px; font-size: 14px; }
  .row { flex-direction: column; align-items: stretch; gap: 0; padding: 0 12px; }
  .row:not(.has-odds) { flex-direction: row; align-items: center; gap: 8px; }
  .row.has-odds .row-actions { padding-bottom: 11px; }
  .row.has-odds .odds3 { flex: 1; }
  .row-main { grid-template-columns: 52px minmax(0, 1fr) 24px; }
  .odd { justify-content: center; min-width: 0; }
  .hero-in { padding: 18px 12px; }
  .side-team img { width: 54px; height: 54px; }
  .side-team b { font-size: 15px; }
  .mid b { font-size: 30px; }
  .odds3.big .odd { padding: 11px 8px; }
  .odds3.big .odd b { font-size: 19px; }
  .promo { flex-wrap: wrap; gap: 10px; }
  .promo-text { font-size: 15px; flex-basis: 50%; }
  .promo .btn { flex: 1 1 100%; }
  .hero-cta .btn { flex: 1 1 40%; }
}

@media (max-width: 400px) {
  .top nav a { padding: 6px 7px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .pred div { transform: none; }
  @view-transition { navigation: none; }
}

/* Promo codes and partner pages */
.bonus-big { font-family: var(--head); font-size: 30px; font-weight: 900; margin: 0; background: linear-gradient(135deg, #ffd978, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-card .site-head { display: flex; align-items: center; gap: 14px; }
.site-card h2 { margin: 0; }
.site-card .bonus { margin: 0; color: var(--gold); font-weight: 600; }
.site-card .code-box { margin-inline: 0; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-actions .btn { flex: 1 1 180px; }
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: transform .25s var(--ease), border-color .25s; }
.steps li:hover { transform: translateX(-5px); border-color: #3a455c; }
.steps li.on { border-color: rgba(246, 169, 23, .6); box-shadow: 0 0 24px rgba(246, 169, 23, .1); }
.steps li > b { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-family: var(--head); }
.steps li.on > b { background: var(--gold); color: #1a1204; }
.steps h3 { margin: 0 0 2px; font-family: var(--head); font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.steps strong { color: var(--gold); letter-spacing: 1px; }
.shot { width: 210px; border-radius: 26px; box-shadow: 0 22px 46px rgba(0, 0, 0, .8), 0 0 36px rgba(229, 46, 61, .22); animation: float 6s ease-in-out infinite; }
.pay { display: grid; place-items: center; width: 112px; height: 54px; padding: 8px; background: #fff; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.pay:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(246, 169, 23, .3); }
.pay img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sponsor-grid figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0c1018; transition: transform .3s var(--ease), border-color .3s; }
.sponsor-grid figure:hover { transform: translateY(-5px); border-color: rgba(246, 169, 23, .6); }
.sponsor-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.sponsor-grid figure:hover img { transform: scale(1.07); }
.sponsor-grid figcaption { padding: 10px 12px; text-align: center; }
.sponsor-grid figcaption b { display: block; font-family: var(--head); }
.sponsor-grid figcaption small { color: var(--gold); font-size: 12.5px; }
@media (max-width: 620px) {
  .steps-wrap { grid-template-columns: 1fr; justify-items: center; }
  .bonus-big { font-size: 24px; }
  .promo-text .code-chip { display: table; margin: 4px 0 0; }
}


/* Payment methods: equal tiles, logos held to one optical size. */
.pay { width: auto; height: 58px; padding: 0; }
.pay img { max-width: 76px; max-height: 28px; }

.partner-hero h1 { font-size: 19px; margin-bottom: 6px; }
.partner-hero h1 span:last-child { display: block; color: var(--muted); font-weight: 700; }
.brand-btn { gap: .15em; background: linear-gradient(180deg, #1b2131, #0b0f17); border: 1px solid rgba(229, 46, 61, .65); box-shadow: 0 8px 22px rgba(229, 46, 61, .28), inset 0 1px 0 rgba(255, 255, 255, .07); }
.brand-btn:hover { border-color: var(--accent-hover); box-shadow: 0 0 26px rgba(229, 46, 61, .6), inset 0 1px 0 rgba(255, 255, 255, .1); }

/* Promo code */
@keyframes codeglow { 50% { box-shadow: 0 0 24px rgba(246, 169, 23, .75), inset 0 0 12px rgba(246, 169, 23, .3); } }
@keyframes codeshine { to { background-position: -200% 0; } }
.code-chip { display: inline-block; margin-inline-start: 8px; padding: 2px 12px; border-radius: 999px; border: 1px solid rgba(246, 169, 23, .8); background: rgba(246, 169, 23, .1); color: var(--gold); font-family: "Readex Pro", sans-serif; font-size: 12.5px; font-weight: 500; white-space: nowrap; vertical-align: middle; box-shadow: 0 0 12px rgba(246, 169, 23, .35), inset 0 0 8px rgba(246, 169, 23, .15); animation: codeglow 2.4s ease-in-out infinite; }
.code-chip b { color: #fff; letter-spacing: 1.5px; text-shadow: 0 0 8px var(--gold), 0 0 16px rgba(246, 169, 23, .7); }
.partner-name .code-chip, .side-promo .code-chip { margin: 4px 0 0; }
.code-box { display: flex; align-items: center; gap: 10px; max-width: 400px; margin: 16px auto; padding: 7px 7px 7px 16px; border-radius: 16px; border: 1px solid rgba(246, 169, 23, .85); background: radial-gradient(ellipse at 50% 120%, rgba(246, 169, 23, .22), transparent 70%), rgba(0, 0, 0, .45); box-shadow: 0 0 14px rgba(246, 169, 23, .4), inset 0 0 10px rgba(246, 169, 23, .15); animation: codeglow 2.4s ease-in-out infinite; }
.code-box i { font-style: normal; color: var(--gold); font-size: 12.5px; font-weight: 600; }
.code-box span { flex: 1; text-align: center; font-family: var(--head); font-size: 28px; font-weight: 900; letter-spacing: 5px; direction: ltr; background: linear-gradient(90deg, #fff 0, #ffd978 25%, #fff 50%, #ffd978 75%, #fff 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(246, 169, 23, .85)); animation: codeshine 3s linear infinite; }
.site-card .code-box { margin-inline: 0; }

/* Coupon slip */
.slip { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.slip-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, #ff4a5a, var(--accent) 60%, #c81e2d); color: #fff; border: 0; font-family: var(--head); font-weight: 800; font-size: 15px; cursor: default; }
.slip-head i { display: inline-block; min-width: 24px; text-align: center; font-style: normal; background: #fff; color: var(--accent); border-radius: 999px; padding: 0 7px; margin-inline-start: 6px; font-size: 13px; }
.slip.bump .slip-head i { animation: pop .45s var(--ease); }
.slip-head b { direction: ltr; background: rgba(0, 0, 0, .28); border-radius: 8px; padding: 1px 10px; font-variant-numeric: tabular-nums; }
.slip-head b:empty { display: none; }
.slip-body { padding: 14px; }
.slip-empty { margin: 0; padding: 18px 10px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.slip:not(.empty) .slip-empty, .slip.empty .slip-calc { display: none; }
.slip-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 8px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; animation: slide-in .4s var(--ease); }
.slip-item a { display: block; direction: ltr; unicode-bidi: plaintext; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.slip-item small { display: inline-block; margin-top: 3px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 12px; unicode-bidi: plaintext; }
.slip-item b { padding: 2px 9px; border-radius: 8px; background: rgba(246, 169, 23, .12); color: var(--gold); direction: ltr; font-variant-numeric: tabular-nums; }
.slip-item button { width: 24px; height: 24px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 0; border-radius: 50%; color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; transition: all .2s; }
.slip-item button:hover { background: var(--live); color: #fff; transform: rotate(90deg); }
.slip-calc { margin-top: 12px; }
.stake { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.stake-in { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; transition: border-color .2s, box-shadow .2s; }
.stake-in:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 169, 23, .18); }
.stake-in input { width: 80px; background: none; border: 0; outline: 0; color: var(--text); padding: 8px 0; font: inherit; font-weight: 600; text-align: center; direction: ltr; }
.stake-in span { color: var(--muted); font-size: 13px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 12px; }
.quick button { padding: 6px 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: all .2s; }
.quick button:hover { border-color: var(--gold); color: var(--gold); }
.slip-sum { padding: 4px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.slip-line { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 14px; border-top: 1px solid var(--line); }
.slip-line:first-child { border-top: 0; }
.slip-line span { color: var(--muted); }
.slip-line b { direction: ltr; font-variant-numeric: tabular-nums; }
.slip-line.win span { color: var(--text); font-weight: 600; }
.slip-line.win b { color: var(--green); font-size: 21px; font-family: var(--head); text-shadow: 0 0 18px rgba(16, 185, 129, .45); }
.slip-calc .btn.block { margin-top: 10px; }
.slip-calc .link { display: block; margin: 6px auto 0; }
@media (max-width: 620px) {
  .code-box span { font-size: 23px; letter-spacing: 4px; }
}

/* Partner wordmarks: cropped to the mark itself (see brand_logo), no frame,
   sized by height so both partners read at the same letter height. */
.brand-logo { flex: none; display: block; height: 26px; overflow: hidden; direction: ltr; transition: filter .3s; }
.brand-logo img { display: block; max-width: none; height: auto; transform-origin: 0 0; }
a:hover > .brand-logo { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .45)); }
.brand-logo.inline { display: inline-block; height: 1.05em; vertical-align: -.12em; margin: 0 .25em; }
.side-promo .brand-logo { height: 36px; }
.foot-partners .brand-logo { height: 24px; }
.partner-hero h1 .brand-logo { height: 46px; margin: 0 auto 10px; }
.go-card .brand-logo { height: 44px; margin: 0 auto; }
.pay-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pay { flex: 0 1 130px; }

/* Welcome offers on the home page */
.offers { margin-bottom: 18px; animation: rise .7s var(--ease) both; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.offer { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 10px; padding: 20px 16px; text-align: center; border-radius: 18px; border: 1px solid rgba(246, 169, 23, .35); background: radial-gradient(ellipse at 50% -10%, rgba(246, 169, 23, .2), transparent 65%), linear-gradient(180deg, #161b28, #0e121b); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.offer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .08) 50%, transparent 70%); transform: translateX(100%); animation: sweep 5s ease-in-out infinite; }
.offer:nth-child(2)::before { animation-delay: 2.5s; }
.offer > * { position: relative; }
.offer:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 20px 40px -18px rgba(246, 169, 23, .6); }
.offer .brand-logo { height: 34px; }
.offer-bonus { font-family: var(--head); font-size: 22px; font-weight: 900; line-height: 1.25; background: linear-gradient(135deg, #ffe7a3, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.offer .code-chip { margin: 0; font-size: 13.5px; padding: 3px 14px; }
.offer .btn { width: 100%; }
.offer-steps { list-style: none; counter-reset: step; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; color: var(--muted); font-size: 13px; }
.offer-steps li { counter-increment: step; display: flex; align-items: center; gap: 6px; }
.offer-steps li::before { content: counter(step); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }

.returns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 480px; margin: 8px auto 0; text-align: center; color: var(--green); font-size: 13px; font-variant-numeric: tabular-nums; }
.returns i { grid-column: 1 / -1; font-style: normal; color: var(--muted); font-size: 12.5px; }
.toast.note { justify-content: center; border-color: rgba(16, 185, 129, .6); color: var(--green); font-weight: 600; pointer-events: none; }

/* The page shown on the way to a partner */
.go-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.go-card { width: 100%; max-width: 420px; padding: 30px 22px; text-align: center; border-radius: 22px; border: 1px solid rgba(246, 169, 23, .4); background: radial-gradient(ellipse at 50% -10%, rgba(246, 169, 23, .18), transparent 65%), linear-gradient(180deg, #161b28, #0e121b); box-shadow: 0 30px 60px -30px #000; animation: rise .6s var(--ease) both; }
.go-lead { margin: 18px 0 0; color: var(--muted); }
.go-hint { margin: 0 0 16px; font-size: 14px; }
.go-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 14px; direction: ltr; }
.go-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); animation: fill 3.2s linear both; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@media (max-width: 620px) {
  .brand-logo { height: 22px; }
  .partner-hero h1 .brand-logo { height: 38px; }
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .offer { padding: 14px 8px; gap: 8px; }
  .offer .brand-logo { height: 24px; }
  .offer-bonus { font-size: 15px; }
  .offer .code-chip { font-size: 11.5px; padding: 2px 8px; }
  .offer .btn { padding: 8px 6px; font-size: 13px; }
}

/* "Install the app" prompt, under the header so it never covers the bottom bars */
.install { position: fixed; inset: 72px 12px auto; z-index: 50; max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(17, 21, 31, .97); border: 1px solid rgba(229, 46, 61, .5); box-shadow: 0 18px 44px rgba(0, 0, 0, .7); backdrop-filter: blur(12px); opacity: 0; transform: translateY(-24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.install.show { opacity: 1; transform: none; }
.install img { flex: none; border-radius: 12px; }
.install div { flex: 1; min-width: 0; }
.install b { display: block; font-family: var(--head); }
.install span { display: block; color: var(--muted); font-size: 12.5px; }
.install-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }

/* Phone layout: menu on its own full-width row, sections shown without waiting
   for the scroll animation (a fast flick left blank screens), level buttons. */
.offer { grid-template-rows: auto 1fr auto auto; align-items: center; }
@media (max-width: 979px) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 12px; }
  .bar { flex-wrap: wrap; height: auto; gap: 0 8px; padding-top: 6px; }
  .logo { margin-inline-end: auto; }
  .head-cta { display: inline-flex; padding: 6px 14px; font-size: 13.5px; }
  .top nav { order: 3; flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, 1fr); margin: 4px 0 0; overflow: visible; }
  .top nav a { padding: 8px 2px; font-size: 13.5px; text-align: center; }
  .top nav a::after { inset: auto 22% 2px; }
  .install { top: 104px; }
  .offer-steps { flex-wrap: nowrap; gap: 8px; font-size: 11.5px; white-space: nowrap; }
  .offer-steps li { gap: 4px; }
  .offer-steps li::before { width: 17px; height: 17px; font-size: 11px; }
  .foot { text-align: center; padding-bottom: 24px; }
  .foot-partners { justify-content: center; }
}

/* Phones already carry both partners in the fixed bottom bar: drop the repeats. */
@media (max-width: 979px) {
  .side-promo, .foot-partners { display: none; }
}
@media (max-width: 620px) {
  .hero.match .hero-cta .btn { flex: 1 1 100%; }
  .partner { flex-wrap: wrap; gap: 8px 12px; }
  .partner .brand-logo { margin-inline-end: auto; }
  .partner-name { order: 3; flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .partner-name .code-chip { margin: 0; }
}
@media (max-width: 979px) {
  .cta-bar .btn { padding: 10px 6px; }
}

/* Coupon of the day: numbered ticket rows, picked team lit, totals side by side. */
.coupon h2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.coupon h2 i { font: 500 12.5px "Readex Pro", sans-serif; color: var(--gold); border: 1px solid rgba(246, 169, 23, .5); border-radius: 999px; padding: 2px 10px; }
.pick { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; }
.pick-n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.pick-main { display: grid; gap: 6px; min-width: 0; }
.pick .team { color: var(--muted); }
.pick .team.on { color: #fff; font-weight: 700; }
.pick-odd { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid rgba(246, 169, 23, .45); }
.pick-odd i { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 500; }
.pick-odd b { font-size: 16px; font-variant-numeric: tabular-nums; }
.coupon-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; padding-top: 14px; border-top: 1px dashed var(--line); }
.coupon-sum div { display: grid; gap: 2px; text-align: center; padding: 12px 8px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.coupon-sum span { color: var(--muted); font-size: 12.5px; }
.coupon-sum b { font-family: var(--head); font-size: 20px; color: var(--gold); direction: ltr; }
.coupon-sum div:last-child b { color: var(--green); }

/* Coupon: the prediction sits under its odd. */
.pick-odd { flex-direction: column; gap: 1px; min-width: 76px; padding: 7px 10px; text-align: center; }
.pick-odd i { font-size: 11.5px; color: var(--text); letter-spacing: .3px; white-space: nowrap; }

/* Backdrop: night-stadium wash (floodlight from the top, cool light from the
   side) over a fine dot texture, in place of the grid. */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(229, 46, 61, .22), transparent 62%),
    radial-gradient(70% 50% at 105% 38%, rgba(37, 99, 235, .10), transparent 70%),
    radial-gradient(60% 45% at -8% 72%, rgba(246, 169, 23, .06), transparent 70%),
    linear-gradient(180deg, #0c111e 0%, #080b14 42%, #05070c 100%); }
.bg-fx { background-image: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.5px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 68%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 68%); }
.bg-fx i { opacity: .22; }

/* Five menu entries on phones; "other leagues" link under the main feed. */
@media (max-width: 620px) {
  .top nav { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .top nav a { padding: 8px 3px; font-size: 12.5px; }
}
.more-leagues { margin-bottom: 16px; }
section.others .other-links { padding-top: 14px; }

/* FAQ (questions repeated as FAQPage data for search engines) */
.faq h2 { font-size: 16px; margin-bottom: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq h2 + details { border-top: 0; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--gold); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.faq p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

/* French pages (left to right) */
[dir="ltr"] .crumbs, [dir="ltr"] .lead, [dir="ltr"] .about, [dir="ltr"] .faq { text-align: left; }
[dir="ltr"] .steps li:hover, [dir="ltr"] .partner:hover { transform: translateX(5px); }
.facts { margin: 0 0 12px; padding-inline-start: 18px; color: var(--muted); font-size: 14px; }
.facts b { color: var(--gold); letter-spacing: 1px; }
.lead a, .tiny a { text-decoration: underline; }

/* League tables */
.st-wrap { overflow-x: auto; margin: 0 -4px; }
.standings { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.standings caption { text-align: start; font-weight: 700; padding: 8px 4px; }
.standings th, .standings td { padding: 8px 6px; text-align: center; border-top: 1px solid var(--line); }
.standings th { color: var(--muted); font-weight: 500; font-size: 12.5px; border-top: 0; }
.standings td:first-child { color: var(--muted); width: 28px; }
.standings .st-team { text-align: start; font-weight: 600; }
.standings .st-team img { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-inline-end: 8px; }
.standings .st-team span { unicode-bidi: plaintext; }
.standings td b { color: var(--gold); }
.standings tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* Team pages */
.team-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.team-head img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.team-head h1 { margin: 0; }
.team-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; text-align: center; }
.team-stats div { display: grid; gap: 2px; padding: 12px 6px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.team-stats b { font-family: var(--head); font-size: 22px; color: var(--gold); }
.team-stats span { color: var(--muted); font-size: 12.5px; }
.tf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto 24px; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.card h2 + .tf { border-top: 0; }
a.tf:hover { color: #fff; }
.tf-date { color: var(--muted); font-size: 13px; }
.tf-opp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf b { font-variant-numeric: tabular-nums; }
.res { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.res.w { background: var(--green); } .res.d { background: #64748b; } .res.l { background: var(--accent); }
.standings .st-team a:hover, .tiny a:hover { color: #fff; }
@media (max-width: 620px) {
  .tf { grid-template-columns: minmax(0, 1fr) auto 22px; }
  .tf-date { grid-column: 1 / -1; }
  .team-stats b { font-size: 18px; }
}
.tf-opp small { color: var(--muted); font-size: 12px; }

/* Read by search engines and screen readers, not shown (the logo shows the name). */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Comparison table on the French partners page: criteria down the first column. */
.cmp th[scope=row] { text-align: start; color: var(--muted); font-weight: 500; width: auto; }
.cmp td { font-size: 13.5px; }

.toc ol { margin: 8px 0 0; padding-inline-start: 22px; columns: 2; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--gold); }
@media (max-width: 560px) { .toc ol { columns: 1; } }
