/* Banaadir 2026 · night-match broadcast theme */
:root {
  color-scheme: dark;
  --bg: #060a1c;
  --bg-2: #0a0f2a;
  --card: #0e1536;
  --card-2: #131b44;
  --raise: #18224f;
  --line: #212a5a;
  --line-2: #2d3878;
  --text: #f4f6fc;
  --muted: #98a1c8;
  --dim: #6a73a0;
  --red: #e5132b;
  --red-2: #ff3149;
  --blue: #2c3bff;
  --green: #1fb85a;
  --green-2: #3ddc7e;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.45;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 420px at 50% -120px, rgba(140, 160, 255, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='2'%3E%3Ccircle cx='700' cy='450' r='150'/%3E%3Ccircle cx='700' cy='450' r='4' fill='%23ffffff' fill-opacity='.08'/%3E%3Cpath d='M700 0v900M0 60h1400M0 840h1400M0 260h170v380H0M1400 260h-170v380h170M0 360h60v180H0M1400 360h-60v180h60'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: top center, center 120px;
  background-size: auto, 1400px 900px;
}
img { max-width: 100%; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.shell { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3.6vw, 48px); }

/* ---------- Buttons ---------- */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  border-radius: var(--r); font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; transition: background .15s, border-color .15s, transform .15s;
}
.btn { background: var(--red); color: #fff; }
.btn:hover:not(:disabled) { background: var(--red-2); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { background: var(--card-2); color: var(--dim); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-line { border: 1px solid var(--line-2); color: var(--text); min-height: 40px; padding: 8px 14px; font-size: .95rem; }
.btn-line:hover { border-color: var(--muted); background: var(--card); }
.btn-wa { background: var(--green); }
.btn-wa:hover { background: var(--green-2); color: #06210f; }
.link-btn { color: var(--muted); font-size: .85rem; font-weight: 600; padding: 6px 2px; }
.link-btn:hover { color: var(--text); }
.icon-btn { width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line-2); }

/* ---------- Header ---------- */
.top { position: relative; background: rgba(6, 10, 28, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo { height: 54px; width: auto; flex: none; }
.brand-tag { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line-2); line-height: 1.1; }
.brand-tag b { font-family: var(--display); font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-tag small { color: var(--muted); font-size: .78rem; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang button { min-width: 40px; min-height: 32px; border-radius: 999px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; color: var(--muted); font-size: .9rem; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.stripe { position: absolute; left: 0; right: 0; bottom: -1px; display: grid; grid-template-columns: repeat(4, 1fr); height: 3px; }
.stripe i:nth-child(1) { background: var(--red); }
.stripe i:nth-child(2) { background: #fff; }
.stripe i:nth-child(3) { background: var(--blue); }
.stripe i:nth-child(4) { background: var(--green); }

.banner { background: var(--card-2); border-bottom: 1px solid var(--line); }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: .9rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(20px, 4vw, 56px); align-items: end; padding-block: clamp(28px, 6vh, 64px) clamp(24px, 4vh, 40px); }
.kicker { margin: 0 0 14px; color: var(--muted); font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }
h1 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; font-size: clamp(3rem, 7.4vw, 6.4rem); }
h1 em { font-style: normal; color: var(--red-2); display: block; }
.lede { max-width: 46ch; margin: 18px 0 0; color: #c9cfe8; font-size: 1.05rem; }

.clock { position: relative; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(180deg, var(--card-2), var(--card)); overflow: hidden; }
.clock::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.clock.is-live::before { background: var(--green); }
.clock-label { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--muted); }
.clock.is-live .clock-label { color: var(--green-2); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(61, 220, 126, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(61, 220, 126, 0); } }
.clock-teams { margin: 6px 0 2px; font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.clock-tag { margin: 0; color: var(--muted); font-size: .85rem; }
.clock-in { margin: 16px 0 6px; color: var(--dim); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.digits span { display: flex; flex-direction: column; align-items: center; padding: 8px 0 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.digits b { font-family: var(--display); font-size: 1.9rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.digits small { margin-top: 3px; color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Tabs ---------- */
.tabs { position: sticky; top: 0; z-index: 5; background: rgba(6, 10, 28, .92); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.tabs-inner { position: relative; display: flex; gap: 4px; }
.tab { display: flex; align-items: baseline; gap: 8px; min-height: 54px; padding: 0 16px; border-bottom: 3px solid transparent; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tab small { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--dim); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--red); }
.tab[aria-selected="true"] small { color: var(--muted); }
.tab:disabled { opacity: .45; }
.tab:not(:disabled):hover { color: var(--text); }
.tabs-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.tabs-bar::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--p) * 100%); background: var(--green-2); transition: width .3s; }

/* ---------- Stage ---------- */
.stage { padding-block: 28px 40px; }
.stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.stage-head h2 { margin: 0; font-family: var(--display); font-size: 2rem; text-transform: uppercase; letter-spacing: .02em; outline: none; }
.stage-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.stage-foot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }
.stage-foot p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Group cards ---------- */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.group { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; animation: rise .4s both; animation-delay: calc(var(--d) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.group.is-done { border-color: #1f5c46; }
.group-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 0; min-height: 44px; }
.group-head h3 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-family: var(--display); text-transform: uppercase; }
.group-head h3 small { font-size: .9rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.group-head h3 span { font-size: 1.9rem; line-height: 1; font-weight: 800; }
.group.is-done .group-head h3 span { color: var(--green-2); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 14px 14px; }
.chip {
  /* flags fill the chip width so every team reads at the same size */
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 10px 6px 9px;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--card-2); transition: border-color .15s, background .15s, transform .15s;
}
.chip:hover:not(:disabled) { border-color: var(--muted); transform: translateY(-1px); }
.chip.is-picked { border-color: var(--red); background: #2a1238; }
.chip:disabled { cursor: default; }
.flag { display: block; width: 100%; max-width: 150px; aspect-ratio: 19 / 10; object-fit: cover; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 4px 10px rgba(0,0,0,.25); }
.flag-sm { width: 38px; height: 20px; max-width: none; flex: none; aspect-ratio: 19 / 10; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.flag-tbd { background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip-name { max-width: 100%; font-size: .8rem; font-weight: 600; line-height: 1.15; text-align: center; letter-spacing: -.01em; overflow-wrap: normal; word-break: normal; }
.chip-rank { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-size: .95rem; font-weight: 800; box-shadow: 0 0 0 3px var(--card); }
.slots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.slot { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.slot:first-child { border-top: 0; }
.slot-n { display: grid; place-items: center; width: 24px; flex: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--dim); }
.slot.is-filled .slot-n { color: var(--text); }
.slot strong { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-empty { color: var(--dim); font-size: .85rem; }
.tag { flex: none; font-style: normal; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.slot.is-out { opacity: .6; }
.tag-out { color: var(--dim); }

/* ---------- Matches ---------- */
.match { border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; }
.match.is-done { border-color: #1f5c46; }
.match-meta { display: flex; justify-content: space-between; gap: 6px; margin: 0; padding: 5px 10px; background: var(--bg-2); color: var(--dim); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.side { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 6px 10px; border-top: 1px solid var(--line); text-align: left; font-weight: 600; font-size: .9rem; line-height: 1.15; transition: background .15s; }
.side span { flex: 1; min-width: 0; overflow-wrap: normal; word-break: normal; }
.side b { color: var(--green-2); font-size: .9rem; }
button.side:hover:not(:disabled) { background: var(--card-2); }
.side.is-winner { background: #0f2e2a; box-shadow: inset 3px 0 0 var(--green-2); }
.side.is-loser { color: var(--dim); }
.side.is-loser .flag { opacity: .45; }
.side.is-tbd { color: var(--dim); font-weight: 500; font-size: .82rem; }
.match.is-final { border-color: var(--line-2); }

/* Desktop bracket: R16 → QF → SF → Final ← SF ← QF ← R16 */
.bracket { display: none; }
.round-list { display: block; }
@media (min-width: 1180px) {
  .bracket { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.12fr) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .round-list { display: none; }
}
.b-col { display: flex; flex-direction: column; min-width: 0; }
.b-label { margin: 0 0 10px; text-align: center; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.b-stack { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.b-stack .match { position: relative; overflow: visible; }
.b-l .b-stack .match::after, .b-r .b-stack .match::after { content: ""; position: absolute; top: 50%; width: 8px; height: 1px; background: var(--line-2); }
.b-l .b-stack .match::after { right: -9px; }
.b-r .b-stack .match::after { left: -9px; }
.b-stack .match > :first-child { border-radius: 8px 8px 0 0; }
.b-center { justify-content: center; align-items: stretch; gap: 0; }
.b-trophy { align-self: center; width: 70px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 10px 30px rgba(44, 59, 255, .45)); }
.b-center .match { box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px rgba(0, 0, 0, .4); }
.b-champ { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; text-align: left; flex-wrap: wrap; }
.b-champ span { font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.b-champ small { width: 100%; font-size: .75rem; opacity: .85; }

/* Mobile / tablet round list */
.pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pill { display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 52px; padding: 6px 4px; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pill small { font-family: var(--sans); font-size: .72rem; letter-spacing: 0; color: var(--dim); }
.pill[aria-pressed="true"] { border-color: var(--red); color: var(--text); background: #2a1238; }
.round-title { margin: 20px 0 10px; font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; }
.round-matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }

/* ---------- Champion ---------- */
.champion-stage { padding-top: 34px; }
.champion { position: relative; max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); text-align: center; border: 1px solid var(--line-2); border-radius: 14px; background: radial-gradient(ellipse 80% 60% at 50% 0%, #1a2466, var(--card) 70%); overflow: hidden; }
.champion::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red) 0 25%, #fff 25% 50%, var(--blue) 50% 75%, var(--green) 75%); }
.eyebrow { margin: 0 0 18px; font-family: var(--display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.champ-art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 22px; }
.champ-trophy { width: 84px; height: auto; filter: drop-shadow(0 12px 30px rgba(44, 59, 255, .5)); animation: lift 1s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes lift { from { transform: translateY(30px) scale(.9); opacity: 0; } }
.champ-flag { width: min(300px, 60vw); aspect-ratio: 19 / 10; object-fit: cover; background: #fff; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255,255,255,.08); }
.champ-name { margin: 22px 0 0; font-family: var(--display); font-size: clamp(2.8rem, 9vw, 5rem); line-height: .95; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; outline: none; }
.champ-line { margin: 6px 0 0; color: var(--green-2); font-weight: 600; font-size: 1.15rem; }
.road-label { margin: 28px 0 10px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--muted); }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: left; }
.road li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px; padding: 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.road small { grid-column: 1 / -1; color: var(--dim); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.road strong { min-width: 0; font-size: .86rem; font-weight: 600; line-height: 1.15; overflow-wrap: normal; word-break: normal; }
.road .flag-sm { width: 32px; height: 17px; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; left: calc(var(--i) * 2.8%); width: 8px; height: 14px; border-radius: 2px; background: var(--red); opacity: 0;
  animation: fall 2.6s cubic-bezier(.25, .6, .4, 1) forwards; animation-delay: calc(var(--i) * 45ms); }
.confetti i:nth-child(4n+1) { background: #fff; }
.confetti i:nth-child(4n+2) { background: var(--blue); }
.confetti i:nth-child(4n+3) { background: var(--green-2); }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(720px) rotate(540deg); } }

/* ---------- Footer, toast, dialog ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 20; margin: 0; padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .9rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
dialog { width: min(640px, calc(100% - 24px)); max-height: 84dvh; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text); }
dialog::backdrop { background: rgba(3, 5, 16, .78); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-head h2 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; }
.dialog-note { color: var(--muted); font-size: .88rem; }
.dialog-list { list-style: none; padding: 0; margin: 10px 0 0; }
.dialog-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.dialog-list time, .dialog-list small { display: block; color: var(--muted); font-size: .8rem; }
.dialog-list strong { display: block; margin-top: 3px; font-weight: 600; }
.noscript { padding: 24px; text-align: center; }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-block: 22px 20px; gap: 18px; }
  .lede { font-size: .97rem; margin-top: 12px; }
  .kicker { font-size: .78rem; margin-bottom: 10px; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .top-inner { min-height: 64px; }
  .brand-logo { height: 40px; }
  .brand-tag { display: none; }
  .btn-line { padding-inline: 10px; }
  .tab { flex: 1; justify-content: center; flex-direction: column; align-items: center; gap: 0; padding: 0 4px; font-size: 1rem; min-height: 52px; }
  .clock { padding: 14px 16px; }
  .clock-teams { font-size: 1.4rem; }
  .digits b { font-size: 1.55rem; }
  .stage { padding-block: 20px 28px; }
  .stage-head h2 { font-size: 1.6rem; }
  .stage-foot { justify-content: stretch; }
  .stage-foot .btn { width: 100%; }
  .chip-name { font-size: .78rem; }
  .share-row > * { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 370px) {
  .lang button { min-width: 34px; }
  .chips { gap: 6px; padding-inline: 10px; }
  .slot { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Compact type inside the desktop bracket so names never split mid-word */
.bracket .side { gap: 7px; padding: 6px 8px; font-size: .82rem; letter-spacing: -.01em; }
.bracket .side b { display: none; }
.bracket .flag-sm { width: 32px; height: 17px; }
/* Hide the text label beside the logo before it would wrap; the logo carries the name */
@media (max-width: 720px) { .brand-tag { display: none; } }

/* ---------- Fixtures page (#jadwalka) ---------- */
.btn-line.is-current { background: var(--text); color: var(--bg); border-color: var(--text); }
.fx-page { padding-block: 22px 48px; }
.fx-back { display: inline-block; margin-bottom: 14px; }
.fx-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; }
.fx-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); outline: none; }
.fx-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.fx-filters {
  position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; margin: 22px calc(-1 * clamp(16px, 3.6vw, 48px)) 0;
  padding: 12px clamp(16px, 3.6vw, 48px); overflow-x: auto; scrollbar-width: none;
  background: rgba(6, 10, 28, .92); backdrop-filter: blur(10px); border-block: 1px solid var(--line);
}
.fx-filters::-webkit-scrollbar { display: none; }
.fx-chip { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fx-chip small { font-size: .72rem; letter-spacing: .1em; color: var(--dim); }
.fx-chip:hover { border-color: var(--muted); color: var(--text); }
.fx-chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.fx-chip[aria-pressed="true"] small { color: var(--bg); opacity: .7; }

.fx-day { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; scroll-margin-top: 84px; }
.fx-day.has-next { border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.fx-day-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--card-2); border-bottom: 1px solid var(--line); }
.fx-day-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.fx-day-head > span { color: var(--dim); font-size: .82rem; font-weight: 600; }
.fx-badge { padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; letter-spacing: .08em; }
.fx-rows { list-style: none; margin: 0 auto; padding: 0 22px; max-width: 860px; }
.fx-row { padding: 18px 0 14px; border-top: 1px solid var(--line); }
.fx-row:first-child { border-top: 0; }
.fx-line { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.fx-team { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.15; }
.fx-home { justify-content: flex-end; text-align: right; }
.fx-name { min-width: 0; overflow-wrap: normal; word-break: normal; }
.fx-name.is-tbd { color: var(--muted); font-weight: 600; font-size: .95rem; }
.flag-fx { width: 54px; height: 28px; max-width: none; flex: none; aspect-ratio: 19 / 10; object-fit: cover; border-radius: 4px; }
.fx-time { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 76px; padding: 7px 10px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fx-time.is-tbc { font-family: var(--sans); font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.fx-time.is-live { background: var(--green); border-color: var(--green); color: #04210f; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.fx-time.is-live .live-dot { background: #04210f; }
.fx-row.is-next .fx-time { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(229, 19, 43, .18); }
.fx-row.is-played { opacity: .5; }
.fx-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; color: var(--dim); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fx-meta em { font-style: normal; }
.fx-flag-next { color: var(--red-2); }
.fx-pick { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.fx-pick b { color: var(--green-2); font-weight: 700; }
.fx-empty { margin-top: 30px; color: var(--muted); text-align: center; }
@media (max-width: 560px) {
  .fx-day-head { padding: 12px 14px; }
  .fx-day-head h3 { font-size: 1.15rem; }
  .fx-rows { padding: 0 12px; }
  .fx-row { padding: 14px 0 12px; }
  .fx-line { gap: 8px; }
  .fx-team { gap: 8px; font-size: .9rem; }
  .flag-fx { width: 40px; height: 21px; }
  .fx-time { min-width: 58px; padding: 6px 6px; font-size: 1.1rem; }
  .fx-time.is-tbc { font-size: .66rem; min-width: 58px; }
  .fx-name.is-tbd { font-size: .8rem; }
}
@media (max-width: 380px) {
  .fx-team { flex-direction: column; gap: 5px; text-align: center; }
  .fx-home { flex-direction: column-reverse; }
  .fx-name { text-align: center; }
}
