/* PAOKWORLD Match Center v2 - styles (prototype 0.1, night theme) */
:root {
  --bg: #0d0d0f; --bar: #0a0a0b; --card: #17171a; --inset: #111113; --line: #26262b; --line2: #3a3a40;
  --text: #f4f1ea; --soft: #c9c6bf; --muted: #a3a09a; --dim: #85827c;
  --accent: #ff6b1f; --on-accent: #1a0c03; --them: #8a8680; --ok: #8fd6b0;
  --head: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --body: 'Commissioner', 'Noto Sans', 'Segoe UI', sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 14px; line-height: 1.45; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; }
.muted { color: var(--muted); }
.caps { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 4vw, 64px);
  background: var(--bar); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: 1px; }
.brand img { display: block; height: 36px; width: auto; }
/* round logo; while the game is live an orange arc runs around its rim */
.logo { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; }
.logo img { width: 48px; height: 48px; border-radius: 50%; display: block; }
.logo.live::before { content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--accent) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: mc-spin 1.4s linear infinite; }
@keyframes mc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .logo.live::before { animation: none; background: var(--accent); }
}
.top nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.top nav a { padding: 8px 10px; border-radius: 8px; color: var(--soft); }
.top nav a.cur { background: #1d1d21; color: var(--text); }
.top nav .navbtn { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: transparent;
  color: var(--soft); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.top nav .navbtn:hover, .top nav .navbtn:focus-visible { border-color: var(--soft); color: var(--text); outline: none; }
.top nav a.live { background: var(--accent); color: var(--on-accent); border-radius: 999px; font-weight: 700; padding: 8px 14px; }

/* layout */
.wrap { max-width: 1312px; margin: 0 auto; padding: 18px clamp(10px, 4vw, 64px) 48px; display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line2); color: var(--soft); background: transparent; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.off { border-style: dashed; color: var(--dim); }
.btnchip { cursor: pointer; }
.btnchip:hover { border-color: var(--soft); }
.btnchip:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg { padding: 32px; }
.msg h1 { font-family: var(--head); font-size: 40px; margin: 0 0 8px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* hero */
.hero { padding: clamp(14px, 2.5vw, 28px) clamp(14px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.hmeta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.hright { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); font-weight: 800; letter-spacing: 1px; font-size: 12px; }
.badge.live { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.seal { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--inset); border: 2px solid var(--line2); font-family: var(--head); font-weight: 800; font-size: 20px;
  letter-spacing: .5px; color: var(--soft); }
.team.paok .seal { border-color: var(--text); color: var(--text); }
.team.them .seal { border-color: #5fb3c4; color: #5fb3c4; }
.mid.pre { gap: 2px; }
.kick { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 7vw, 84px); line-height: .95; font-variant-numeric: tabular-nums; }
.kicklbl { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.cd { margin-top: 8px; font-weight: 800; font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.tname { font-family: var(--head); font-weight: 800; font-size: clamp(18px, 2.6vw, 34px); line-height: 1.05; overflow-wrap: anywhere; }
.team.paok .tname { color: var(--text); }
.team.them .tname { color: #5fb3c4; }
.tsub { font-size: 12px; color: var(--muted); }
.mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.big { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 7vw, 92px); line-height: 0.9; letter-spacing: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dash { color: #5a5a60; }
.clock { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); text-align: center; }
.qtable { display: grid; row-gap: 3px; font-size: 13px; text-align: center; margin-top: 4px; font-variant-numeric: tabular-nums; }
.qh { color: var(--dim); font-weight: 700; }
.qn { text-align: left; font-weight: 700; padding-right: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.qcur { color: var(--accent); font-weight: 700; }
.qwin { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 4px; font-weight: 700; }
.qtot { font-weight: 800; border-left: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; padding: 1px 0 1px 4px !important; }
/* total: leader/winner orange box, other team grey box, both white text, a bit bigger than the quarters */
.totv { display: inline-block; min-width: 2.3em; padding: 1px 5px; border-radius: 6px; font-size: 1.18em; font-weight: 800; line-height: 1.3;
  color: #ffffff; text-align: center; }
.totv.is-lead { background: #ff6b1f; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.totv.is-trail { background: #4a4a50; }
.qtable > span { padding: 2px 0; }
.recent { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }

/* events */
.ev { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.evs-list .ev:nth-child(even) { background: #141417; }
.evt { width: 68px; flex-shrink: 0; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.tag { flex-shrink: 0; min-width: 44px; text-align: center; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--line); color: var(--soft); }
.tag.us { background: #3a2418; color: #ffb48a; }
.tag.none { background: transparent; color: var(--dim); }
.evx { flex-grow: 1; min-width: 0; }
.ev.sc .evx { font-weight: 600; }
.evs { font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* tabs under the score (v1.0.3); the bar sticks to the top while the tab's content scrolls */
.tabs { position: relative; }
.tabbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; gap: 2px; overflow-x: auto;
  scrollbar-width: none; padding: 6px 12px 0; background: var(--card); border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0; }
.tabbar::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 46px; padding: 0 16px; background: transparent; border: 0; border-bottom: 3px solid transparent;
  color: var(--muted); font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .3px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 6px; }
.panel { scroll-margin-top: 60px; }
.panel > .ss { margin: 0; padding: 14px 22px 12px; }
.panel > .ss:empty { display: none; }
.panel[hidden] { display: none; }
.st { font-family: var(--head); font-weight: 800; font-size: 21px; line-height: 1.1; }
.ss { font-size: 12px; color: var(--muted); }
.body { padding: 0 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.panel > .ss:empty + .body { padding-top: 16px; }

/* lead tracker */
.lead { display: flex; gap: 3px; height: 120px; padding: 0 4px; border-radius: 12px; background: var(--inset); }
.lb { flex: 1 1 0; display: flex; flex-direction: column; min-width: 2px; }
.lu, .ld { height: 60px; display: flex; }
.lu { align-items: flex-end; }
.ld { align-items: flex-start; border-top: 1px solid var(--line2); }
.lu i, .ld i { display: block; width: 100%; }
.lu i { background: var(--accent); border-radius: 3px 3px 0 0; }
.ld i { background: var(--them); border-radius: 0 0 3px 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--soft); }
.legend .k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.k.us { background: var(--accent); }
.k.them { background: var(--them); }

/* comparison */
.cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 40px; }
.cr { display: flex; flex-direction: column; gap: 6px; }
.crl { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.crl span { color: var(--muted); text-align: center; }
.crb { display: flex; gap: 4px; height: 6px; }
.half { flex: 1; display: flex; background: var(--inset); border-radius: 4px; overflow: hidden; }
.half.l { justify-content: flex-end; }
.half i { display: block; height: 100%; border-radius: 4px; }
.half.l i { background: var(--accent); }
.half.r i { background: #9a968f; }

/* box score */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.box { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.box th { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--dim); text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.box td { padding: 7px 5px; text-align: center; }
.box .l { text-align: left; }
.box tbody tr:nth-child(even) { background: #141417; }
.box .nm { font-weight: 600; white-space: nowrap; }
.box tr.dnp { color: var(--dim); }
.box tfoot td { font-weight: 700; border-top: 1px solid var(--line2); padding-top: 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }

/* info */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ib { padding: 12px 14px; border-radius: 12px; background: var(--inset); display: flex; flex-direction: column; gap: 6px; }

.foot { margin: 8px 0 0; font-size: 12px; color: var(--dim); text-align: center; }

/* phones */
@media (max-width: 640px) {
  .seal { width: 60px; height: 60px; font-size: 15px; }
  .kick { font-size: 52px; }
  .cd { font-size: 16px; }
  body { font-size: 13px; }
  .top { padding: 8px 10px; }
  .brand { font-size: 19px; }
  .top nav { font-size: 13px; }
  .top nav a { padding: 7px 8px; }
  .top nav a.live { padding: 7px 12px; }
  .chip { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .hero { gap: 12px; }
  .hmeta { font-size: 11px; }
  .caps { font-size: 11px; letter-spacing: 1px; }
  .score { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mid { grid-column: 1 / -1; order: -1; gap: 6px; }
  .big { font-size: 48px; }
  .tname { font-size: 18px; }
  .tsub { font-size: 11px; }
  .qtable { font-size: 12px; }
  .tabbar { padding: 4px 4px 0; }
  .tab { min-height: 42px; padding: 0 11px; font-size: 16px; }
  .panel > .ss { padding: 12px 12px 10px; }
  .ss { font-size: 11px; }
  .body { padding: 0 10px 14px; gap: 10px; }
  .ev { gap: 6px; font-size: 12.5px; padding: 5px 6px; }
  .evt { width: 54px; font-size: 11.5px; }
  .tag { min-width: 30px; font-size: 10px; padding: 2px 4px; }
  .lead { height: 90px; }
  .lu, .ld { height: 45px; }
  .legend, .crl { font-size: 12px; }
  .cmp { grid-template-columns: 1fr; gap: 8px; }
  table.box { font-size: 12px; min-width: 640px; }
  .box td { padding: 6px 4px; }
  .info { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ib { padding: 10px; font-size: 12px; }
}

/* =====================================================================
 * v1.1.0 – FOOTBALL view (body.fb). PAOK = black & white only; orange stays basketball's colour.
 * The accent turns white, so frames, the live arc, tab underline, Live! button and bars follow.
 * All new class names start with fb- (the page CSS is global – see v1.0.3 .lead collision).
 * ===================================================================== */
body.fb { --accent: #f4f1ea; --on-accent: #0d0d0f; }
body.fb .totv.is-lead { background: #f4f1ea; color: #0d0d0f; text-shadow: none; }
body.fb .totv.is-trail { background: #4a4a50; color: #ffffff; }
body.fb .tag.us { background: #f4f1ea; color: #0d0d0f; }
body.fb .half.r i { background: #6f6c66; }
body.fb .qwin { box-shadow: inset 0 0 0 2px #f4f1ea; }
.tab[hidden] { display: none; }

/* icons: ball, cards, substitution – drawn in CSS (no images, CSP-safe) */
.fb-ic { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; vertical-align: -3px; }
.fb-ball { border-radius: 50%; background: radial-gradient(circle at 50% 50%, #0d0d0f 0 22%, transparent 23%),
  radial-gradient(circle at 50% 0, #0d0d0f 0 14%, transparent 15%), radial-gradient(circle at 0 55%, #0d0d0f 0 14%, transparent 15%),
  radial-gradient(circle at 100% 55%, #0d0d0f 0 14%, transparent 15%), radial-gradient(circle at 25% 100%, #0d0d0f 0 14%, transparent 15%),
  radial-gradient(circle at 75% 100%, #0d0d0f 0 14%, transparent 15%), #f4f1ea; box-shadow: 0 0 0 1px #0d0d0f inset; }
.fb-ball.og { outline: 2px solid #8a8680; outline-offset: -1px; opacity: .85; }
.fb-cd { width: 11px; height: 15px; border-radius: 2px; margin: 0 2px; vertical-align: -2px; }
.fb-cd.y { background: #f5c518; }
.fb-cd.r { background: #e5372c; }
.fb-cd.y2 { background: linear-gradient(135deg, #f5c518 0 50%, #e5372c 50% 100%); }
.fb-ic.sm { width: 12px; height: 12px; vertical-align: -1px; margin-right: 5px; }
.fb-cd.sm { width: 9px; height: 12px; }
.fb-sw { width: auto; height: auto; color: var(--muted); font-weight: 700; font-size: 14px; }
.fb-miss { width: auto; height: auto; color: #e5372c; font-weight: 800; }

/* hero: scorers and red cards under the team name */
.fb-scorers { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--soft); align-items: center; }
.fb-scorers > span { display: inline-flex; align-items: center; }
.fb-redl { color: #ff8a80; }
.ev.fb-mark { justify-content: center; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  border-top: 1px dashed var(--line2); border-radius: 0; margin: 4px 0; background: transparent !important; }
.ev.fb-red .evx { color: #ff8a80; }

/* statistics header: team names over the two columns */
.fb-cmphead { display: flex; justify-content: space-between; font-family: var(--head); font-weight: 800; font-size: 18px; }
.fb-tn.us { color: var(--text); }
.fb-tn.them { color: #5fb3c4; }

/* line-ups */
.fb-lineups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 32px; }
.fb-xi { display: flex; flex-direction: column; gap: 12px; }
.fb-xih { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line2);
  font-family: var(--head); font-weight: 800; font-size: 20px; }
.fb-form { font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.fb-grp { display: flex; flex-direction: column; gap: 2px; }
.fb-grp > .caps { margin-bottom: 2px; }
.fb-pl { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 8px; font-size: 14px; }
.fb-pl:nth-child(even) { background: #141417; }
.fb-pl.dim { color: var(--dim); }
.fb-num { width: 24px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; flex-shrink: 0; }
.fb-pn { flex-grow: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-pl.dim .fb-pn { font-weight: 400; }
.fb-mk { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.fb-mk .fb-ic.sm { margin-right: 0; }
.fb-in { color: #8fd6b0; font-weight: 700; }
.fb-out { color: #ff8a80; font-weight: 700; }

@media (max-width: 640px) {
  .fb-scorers { font-size: 11.5px; }
  .fb-lineups { grid-template-columns: 1fr; }
  .fb-pl { font-size: 13px; padding: 4px 6px; }
  .fb-cmphead { font-size: 16px; }
}
/* statistics bars by team: PAOK white, opponent petrol (neutral game: left white, right grey) */
.cmp.fb-p0 .half.r i, .cmp.fb-p1 .half.l i { background: #3f8fa0; }
.cmp.fb-p1 .half.r i { background: #f4f1ea; }

/* Mon 5/10: TV links */
.kicktv { margin-top: 10px; font-size: 13px; color: var(--muted); }
a.tvlink { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
a.tvlink:hover, a.tvlink:focus-visible { color: var(--accent); }
.tvline { overflow-wrap: anywhere; }

/* v1.1.0: sport switcher when a basketball AND a football game are set (class names mc-sw*, the page CSS is global) */
.mc-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mc-swb { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 10px 14px; border-radius: 14px; cursor: pointer;
  background: var(--card, #17171a); color: var(--text); border: 1px solid var(--line2); font: inherit; text-align: left; }
.mc-swn { font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: .5px; text-transform: uppercase; }
.mc-sws { max-width: 100%; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-swst { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.mc-swb.is-live .mc-swst { color: var(--text); }
.mc-swb[aria-selected="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.mc-swb:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.mc-sw[hidden] { display: none; }

/* 1.1.4: one game opened from the new site (?g=) – link back to all games */
.mc-all { display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: inherit; opacity: .75; text-decoration: none; }
.mc-all:hover { opacity: 1; text-decoration: underline; }

/* ---------- 1.1.5 ---------- */
/* 1.35: the team behind (or the loser) in grey digits in the big score; a tie stays white */
.big .trail { color: var(--them); }
/* PAOK's absences: before the game (under the score) and in «Πληροφορίες» */
.abs { display: flex; flex-direction: column; gap: 6px; }
.abs.pre { margin: 14px auto 0; padding: 12px 16px; border-radius: 12px; background: var(--inset); max-width: 560px; width: 100%; }
.abs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.abs li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.abs li b { font-weight: 600; }
.abs .absr { color: var(--muted); font-size: 13px; }
/* «Βαθμολογία» */
table.box.ltab { min-width: 0; max-width: 680px; }
.ltab tr.paok { background: rgba(255, 107, 31, .16) !important; box-shadow: inset 3px 0 0 var(--accent); }
.ltab tr.paok td { font-weight: 700; color: #fff; }
body.fb .ltab tr.paok { background: rgba(255, 255, 255, .12) !important; }
.tblh { margin: 18px 0 6px; }
/* version (and later the disclaimer link) under the page */
.ver { margin: 18px 0 4px; font-size: 11.5px; color: var(--dim); text-align: center; }
.ver a { color: var(--muted); text-decoration: underline; }

/* 1.1.6: «Σχετικά multimedia» (from the new site) */
.card.media { padding: 16px; margin-top: 14px; }
.md-h { font-size: 18px; margin: 0 0 12px; }
.md-vids { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .md-vids { grid-template-columns: 1fr 1fr; } }
.md-v { display: flex; flex-direction: column; gap: 6px; }
.md-ph { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: 12px; background: #000 center/cover no-repeat; cursor: pointer; overflow: hidden; }
.md-ph.is-playing { cursor: default; }
.md-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.md-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-t { font-weight: 600; font-size: 14px; }
.md-links { display: flex; flex-direction: column; margin-top: 10px; }
.md-l { display: flex; align-items: center; gap: 12px; padding: 8px 4px; color: inherit; text-decoration: none; border-radius: 10px; }
.md-ic { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: #555; flex-shrink: 0; font-size: 13px; }
.md-fb { background: #1877F2; } .md-ig { background: #C13584; } .md-x { background: #000; } .md-tt { background: #111; }
.md-lt { display: flex; flex-direction: column; }

/* 1.1.8: team crests */
.seal.img { background: transparent; border-color: transparent !important; }
.seal.img img { width: 88%; height: 88%; object-fit: contain; }
.crest-s { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; margin-right: 5px; }
.qn, .tag { white-space: nowrap; }

/* 1.1.10 (owner 22 Oct): more tabs than fit (phones) → fading edge + ‹ › buttons that stay at the edges, and a short «peek» once */
.tbx { position: sticky; flex: 0 0 auto; z-index: 2; align-self: stretch; width: 34px; margin: 0; padding: 0; border: 0; cursor: pointer;
  color: var(--text); font: 700 22px/1 var(--body); display: flex; align-items: center; justify-content: center; }
.tbx[hidden] { display: none; }
.tbx-l { left: 0; margin-right: -34px; background: linear-gradient(90deg, var(--card) 55%, rgba(23,23,26,0)); justify-content: flex-start; padding-left: 4px; }
.tbx-r { right: 0; margin-left: -34px; background: linear-gradient(270deg, var(--card) 55%, rgba(23,23,26,0)); justify-content: flex-end; padding-right: 4px; }
.tbx span { width: 24px; height: 24px; border-radius: 50%; background: var(--line2); display: flex; align-items: center; justify-content: center; font-size: 17px; padding-bottom: 2px; }
.tbx:hover span { background: var(--accent); color: var(--on-accent); }
.tbx:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 6px; }

/* 1.1.10 (owner 22 Oct): navigation + «Όλοι οι αγώνες» list */
.top-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top .mc-back { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.top .mc-back:hover, .top .mc-back:focus-visible { border-color: var(--soft); color: var(--text); outline: none; }
.top nav a.mc-nav { color: var(--soft); text-decoration: none; }
.top nav a.mc-nav.cur, .top nav a.mc-nav:hover { color: var(--text); background: #1d1d21; }
.glist { padding: 18px 20px 8px; }
.gl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.gl-h1 { font-family: var(--head); font-size: 28px; margin: 0; }
.gl-sec { margin: 14px 0 10px; }
.gl-h { font-family: var(--head); font-size: 19px; margin: 0 0 8px; color: var(--soft); }
.gl-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gl-r { display: grid; grid-template-columns: 150px 1fr 20px; align-items: center; gap: 12px; padding: 10px 14px; color: inherit; text-decoration: none;
  border-top: 1px solid var(--line); background: var(--card); }
.gl-r:first-child { border-top: 0; }
a.gl-r:hover { background: #1d1d21; }
.gl-r.live { box-shadow: inset 3px 0 0 var(--accent); }
.gl-w { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; color: var(--muted); }
.gl-d { color: var(--text); font-weight: 700; font-size: 13px; }
.gl-r.live .gl-d { color: var(--accent); }
.gl-cp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-sp { font-size: 12px; }
.gl-ts { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gl-t { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--soft); }
.gl-t.win { color: var(--text); font-weight: 700; }
.gl-c { width: 20px; height: 20px; object-fit: contain; flex: none; }
.gl-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.gl-s { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 22px; text-align: right; }
.gl-go { color: var(--muted); font-size: 20px; text-align: right; }
.gl-e { margin: 0 0 6px; }
@media (max-width: 640px) {
  .top .mc-back { min-height: 32px; padding: 0 10px; font-size: 13px; }
  .glist { padding: 14px 12px 6px; }
  .gl-r { grid-template-columns: 96px 1fr 14px; gap: 8px; padding: 9px 10px; }
  .gl-h1 { font-size: 24px; }
}
