:root{
  --red: #e10613;
  --red2: #b8040f;
  --white: #ffffff;
  --black: #0b0b0f;
  --muted: #b9b9c6;

  --card:  rgba(255,255,255,.055);
  --card2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);
  --border2: rgba(255,255,255,.18);

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-sm: 0 8px 28px rgba(0,0,0,.35);
  --radius: 16px;
  --radius2: 20px;
  --radius3: 12px;

  --transition: .18s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; }
body {
  margin: 0;
  display: flex; flex-direction: column; min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(1100px 650px at 8% -8%,  rgba(225,6,19,.32), transparent 58%),
    radial-gradient(750px 550px  at 92% 22%, rgba(225,6,19,.20), transparent 54%),
    linear-gradient(180deg, #07070b 0%, #0b0b12 55%, #07070b 100%);
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background FX ── */
.bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.fx-scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.055) 0px,
    rgba(255,255,255,.055) 1px,
    transparent 2px,
    transparent 6px
  );
  mix-blend-mode: overlay;
  opacity: .10;
}
.fx-noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .12;
  mix-blend-mode: soft-light;
}
.fx-glow {
  background:
    radial-gradient(550px 550px at 50% 0%,   rgba(225,6,19,.24), transparent 58%),
    radial-gradient(700px 500px at 18% 55%,  rgba(225,6,19,.15), transparent 52%);
  filter: blur(10px);
  opacity: .85;
}

/* ── Topbar ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  height: 60px;
  background: rgba(6,6,10,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 4px 24px rgba(0,0,0,.35);
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--white);
  flex-shrink: 0;
}
.brand__logo {
  width: 36px; height: 36px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(196,30,58,.45));
  transition: filter .2s;
}
.brand:hover .brand__logo { filter: drop-shadow(0 4px 18px rgba(196,30,58,.70)); }
.brand__title {
  font-family: Rajdhani, sans-serif;
  font-size: 17px; font-weight: 800;
  letter-spacing: .10em; text-transform: uppercase;
  background: linear-gradient(90deg, #fff 60%, rgba(255,255,255,.55));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-weight: 500; font-size: 13px; letter-spacing: .01em;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.90); }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta {
  background: rgba(196,30,58,.18);
  border: 1px solid rgba(196,30,58,.35);
  color: #ff4d6a !important;
  font-weight: 600; font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: none;
  transition: background .15s, border-color .15s, color .15s;
}
.nav__cta:hover { background: rgba(196,30,58,.28) !important; border-color: rgba(196,30,58,.55) !important; color: #ff6b82 !important; box-shadow: none; }
.nav__cta.is-active { background: #c41e3a !important; border-color: #c41e3a !important; color: #fff !important; }

.navbtn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.navbtn span { display: block; height: 2px; margin: 7px 10px; background: rgba(255,255,255,.85); border-radius: 2px; }

/* ── Ticker ── */
.ticker {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
  overflow: hidden;
}
.ticker__track {
  display: flex; gap: 0;
  width: max-content;
  padding: 9px 0;
  white-space: nowrap;
  font-family: Rajdhani, sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.ticker__track > span { margin-right: 20px; }
/* keyframe ticker-scroll is injected by JS (initTicker) with the exact measured pixel width */

/* ── Hero ── */
.hero {
  padding: 48px 24px 28px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero__content {
  padding: 0;
  position: relative;
}
.hero__content > * { position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  font-weight: 600; font-size: 11px;
  color: rgba(255,255,255,.82);
  letter-spacing: .07em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(225,6,19,.18); }

.hero__title { margin: 12px 0 8px; font-family: Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .10em; }

.hero__logoWrap {
  display: flex; align-items: center; justify-content: center; width: 100%;
  position: relative; margin: 0 0 24px;
}
.hero__logoWrap::before {
  display: none;
}
.hero__logo {
  width: min(120px, 32vw); height: auto; display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.40));
}
.hero__logo--animated {
  transform-origin: 50% 60%;
}
.hero__logoWrap::after {
  display: none;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
  45%      { transform: translateY(-6px) rotate(-.6deg) scale(1.01); }
  70%      { transform: translateY(-2px) rotate(.4deg) scale(1.005); }
}
@keyframes logoGlow {
  0%,100% { opacity: .45; transform: scale(1); }
  50%      { opacity: .72; transform: scale(1.02); }
}
@keyframes logoShine {
  0%, 55%  { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  60%      { opacity: .75; }
  72%      { transform: translateX(120%) skewX(-12deg); opacity: .75; }
  100%     { transform: translateX(120%) skewX(-12deg); opacity: 0; }
}

.hero__subtitle {
  display: block; font-size: 18px;
  color: rgba(255,255,255,.82); letter-spacing: .08em; margin-top: 8px;
}
.hero__lead {
  max-width: 58ch; color: rgba(255,255,255,.65); line-height: 1.80; margin: 8px auto 22px;
  font-size: 15px; letter-spacing: .01em;
}

.glitch {
  font-size: 54px; font-weight: 900; display: inline-block; position: relative;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 0 60px rgba(225,6,19,.28), 0 6px 24px rgba(0,0,0,.55);
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  opacity: .45; clip-path: inset(0 0 0 0);
}
.glitch::before { transform: translate(2px, -1px); color: #fff; }
.glitch::after  { transform: translate(-2px, 1px); color: var(--red); }
.glitch::before { animation: glitch 3.2s infinite; }
.glitch::after  { animation: glitch 2.9s infinite reverse; }
@keyframes glitch {
  0%, 85%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  87%  { clip-path: inset(18% 0 64% 0); transform: translate(2px, -1px); }
  89%  { clip-path: inset(58% 0 18% 0); transform: translate(-2px, 1px); }
  91%  { clip-path: inset(24% 0 54% 0); transform: translate(2px, 0); }
  93%  { clip-path: inset(76% 0 10% 0); transform: translate(-1px, 1px); }
  95%  { clip-path: inset(0 0 90% 0); transform: translate(0); }
}

/* ── Buttons ── */
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 14px; letter-spacing: .03em;
  transition: var(--transition);
  transition-property: transform, background, box-shadow, border-color;
  color: var(--white);
  background: rgba(255,255,255,.06);
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,.30); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red2) 75%);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 12px 32px rgba(225,6,19,.22);
}
.btn--primary:hover { box-shadow: 0 16px 40px rgba(225,6,19,.35); }
.btn--ghost { background: rgba(0,0,0,.18); }
.btn--full { width: 100%; }

/* ── Stats ── */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 24px;
}
.stat {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stat::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #e10613, rgba(225,6,19,.20));
  border-radius: 2px;
}
.stat:hover { border-color: rgba(255,255,255,.14); box-shadow: 0 8px 28px rgba(0,0,0,.30); }
.stat__num {
  font-size: 28px; font-weight: 900;
  font-family: Rajdhani, sans-serif;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,.55));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1;
}
.stat__label { font-size: 10px; color: rgba(255,255,255,.42); margin-top: 5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ── Fixture list ── */
.fixture-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }

.fixture-toggle {
  align-self: center;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.fixture-toggle:hover { border-color: rgba(196,30,58,.5); color: #fff; }

.fixture-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.28); padding: 10px 4px 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 2px;
}
.fixture-group-label:first-child { padding-top: 0; }

.fixture {
  display: grid;
  grid-template-columns: 200px 1fr 100px;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s, border-color .2s;
}
.fixture:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.11); }
.fixture--upcoming {
  border-left: 3px solid rgba(96,165,250,.7);
  background: rgba(96,165,250,.04);
}
.fixture--upcoming:hover { background: rgba(96,165,250,.08); }
.fixture--played { border-left: 3px solid rgba(196,30,58,.55); }

/* Left column */
.fixture__left { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.fixture__tag {
  font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.fixture--upcoming .fixture__tag { color: rgba(96,165,250,.75); }
.fixture--played   .fixture__tag { color: rgba(196,30,58,.70); }
.fixture__date  { font-size: 12px; color: rgba(255,255,255,.50); }
.fixture__venue { font-size: 11px; color: rgba(255,255,255,.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Center column */
.fixture__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.fixture__team {
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.80);
  white-space: nowrap; flex: 1; letter-spacing: .01em;
}
.fixture__team--home { text-align: right; }
.fixture__team--away { text-align: left; }

.fixture__vs {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .20em;
  color: rgba(96,165,250,.50);
  white-space: nowrap; flex-shrink: 0;
  width: 72px; text-align: center;
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 6px; padding: 3px 0;
}
.fixture__result {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #fff;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: .05em;
  width: 80px; text-align: center;
  line-height: 1;
}

/* Right column */
.fixture__right {
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.fixture__place { font-size: 11px; color: rgba(255,255,255,.35); white-space: nowrap; }

/* ── Matches section grid (legacy, kept for reference) ── */
.matches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }

.matchcard {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 64px rgba(0,0,0,.50);
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.03);
}
.matchcard--matchday {
  --mc-a: 59, 214, 255;
  --mc-b: 46, 124, 246;
  border-color: rgba(var(--mc-a),.20);
}
.matchcard--last {
  --mc-a: 255, 138, 42;
  --mc-b: 255, 59, 107;
  border-color: rgba(var(--mc-b),.18);
}
/* Background radial glow */
.matchcard--matchday::before, .matchcard--last::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(var(--mc-a),.20), transparent 62%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(var(--mc-b),.10), transparent 55%);
}
/* Top accent line */
.matchcard--matchday::after, .matchcard--last::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(var(--mc-a),.85) 40%, rgba(var(--mc-b),.85) 60%, transparent 95%);
}

/* ── Card header ── */
.mc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 0; position: relative;
}
.matchcard__tag {
  font-family: Rajdhani, sans-serif; font-weight: 900; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.10);
  padding: 4px 10px 4px 24px; border-radius: 999px; position: relative;
  color: rgba(255,255,255,.65);
}
.matchcard--matchday .matchcard__tag { border-color: rgba(var(--mc-a),.35); color: rgb(var(--mc-a)); }
.matchcard--last    .matchcard__tag { border-color: rgba(var(--mc-a),.30); color: rgba(var(--mc-a), .90); }
/* Pulsing dot */
.matchcard--matchday .matchcard__tag::before {
  content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--mc-a));
  animation: mc-pulse 1.8s ease-in-out infinite;
}
@keyframes mc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--mc-a),.55); }
  60%       { box-shadow: 0 0 0 6px rgba(var(--mc-a), 0); }
}
.mc-date { font-size: 12px; color: rgba(255,255,255,.50); font-weight: 500; }

/* ── Teams body ── */
.mc-body {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 10px;
  padding: 18px 20px 14px; position: relative;
}
.mc-team {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
}
.mc-team--right { align-items: center; }
.mc-logo {
  width: 54px; height: 54px; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
.mc-name {
  font-family: Rajdhani, sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.90); line-height: 1.15;
}

/* VS circle */
.mc-mid {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mc-vs-ring {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
  font-family: Rajdhani, sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.70);
}
/* Score for last match */
.mc-score {
  font-family: Rajdhani, sans-serif; font-weight: 900;
  font-size: 32px; letter-spacing: .04em; color: #fff; line-height: 1;
  text-shadow: 0 0 40px rgba(var(--mc-a),.55);
}
.mc-sublabel {
  font-size: 10px; color: rgba(255,255,255,.38);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}

/* Result badge */
.mc-badge {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.30); border: 1px dashed rgba(255,255,255,.16);
  font-family: Rajdhani, sans-serif; font-weight: 900; font-size: 20px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.mc-badge--win  { background: rgba(34,197,94,.15);  border: 1px solid rgba(34,197,94,.40);  color: #4ade80; }
.mc-badge--loss { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.40);  color: #f87171; }
.mc-badge--draw { background: rgba(234,179,8,.12);  border: 1px solid rgba(234,179,8,.32);  color: #facc15; }

/* ── Card footer ── */
.mc-foot {
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px 14px; position: relative;
  font-size: 11px; color: rgba(255,255,255,.38); font-weight: 500; letter-spacing: .03em;
}

/* keep .matchcard__bottom for legacy pill if needed */
.matchcard__bottom { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10);
  font-weight: 600; font-size: 12px; color: rgba(255,255,255,.80);
}
.pill--link { cursor: pointer; text-decoration: none; color: rgba(255,255,255,.85); }
.pill--link:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* ── Sections ── */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 24px 32px;
}
.section__head {
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head h2 {
  margin: 0;
  font-family: Rajdhani, sans-serif; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.90);
  display: flex; align-items: center; gap: 12px;
}
.section__head h2::before {
  content: ""; display: inline-block;
  width: 3px; height: 16px;
  border-radius: 3px; flex-shrink: 0;
  background: #c41e3a;
}
.section__head h2::after { display: none; }
.section__head p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }

.grid { display: grid; gap: 14px; margin-top: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* ── Cards ── */
.card {
  padding: 22px;
  border-radius: var(--radius2);
  background: rgba(20,22,28,.75);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: rgba(255,255,255,.15); box-shadow: 0 18px 50px rgba(0,0,0,.34); }
.card h3 {
  margin: 0 0 10px;
  font-family: Rajdhani, sans-serif; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.card p { color: rgba(255,255,255,.78); line-height: 1.65; }
.card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px;
}

/* ── News cards ── */
.newscard {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.newscard::before {
  content: ""; position: absolute; inset: -2px;
  background: radial-gradient(400px 150px at 18% 0%, rgba(225,6,19,.22), transparent 58%);
  opacity: .8; pointer-events: none;
}
.newscard > * { position: relative; }
.newscard__meta { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.65); font-size: 12px; }
.tag {
  background: rgba(225,6,19,.18); border: 1px solid rgba(225,6,19,.32);
  padding: 4px 9px; border-radius: 999px; font-weight: 700; font-size: 11px;
  letter-spacing: .04em;
}
.newscard__title { font-weight: 800; letter-spacing: .01em; font-size: 15px; }
.newscard__text  { color: rgba(255,255,255,.78); line-height: 1.6; font-size: 14px; }
.newscard__link  { margin-top: auto; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 700; font-size: 14px; }
.newscard__link:hover { color: var(--white); }

/* ── Roster ── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(20,22,28,.80);
  color: rgba(255,255,255,.72);
  border-radius: 8px; padding: 7px 16px;
  cursor: pointer; font-weight: 600; font-size: 13px;
  transition: var(--transition); transition-property: background, border-color, color;
  font-family: inherit; letter-spacing: .02em;
}
.chip:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.18); }
.chip.is-active {
  background: #c41e3a; border-color: #c41e3a;
  color: #fff;
}
.tablewrap {
  margin-top: 16px;
  border-radius: 12px; overflow: hidden;
}
.table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.02); }
.table th, .table td { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.05); }
.table tr:last-child td { border-bottom: none; }
.table th {
  text-align: left;
  font-family: Rajdhani, sans-serif; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600;
  color: #c41e3a;
  background: rgba(196,30,58,.15);
}
.table td { color: #ccc; font-size: 15px; }
.table td:first-child { color: #c41e3a; font-size: 17px; font-weight: 800; width: 80px; }
.table td:nth-child(2) { color: #fff; font-weight: 600; }
.table tr.roster-row { cursor: pointer; transition: background var(--transition); }
.table tr.roster-row:hover td { background: rgba(255,255,255,.03); }
.table tr.roster-row:focus-visible td { background: rgba(66,133,244,.08); outline: none; }

/* ── Standings ── */
.standingsPage { padding-top: 28px; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; font-family: 'DM Sans', Rubik, sans-serif;
  color: rgba(255,255,255,.45); text-decoration: none; letter-spacing: .02em;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255,255,255,.09); border-radius: 99px;
  background: rgba(255,255,255,.04);
  transition: color .2s, border-color .2s, background .2s;
}
.back-link svg { transition: transform .2s; flex-shrink: 0; }
.back-link:hover { color: #fff; border-color: rgba(255,255,255,.20); background: rgba(255,255,255,.07); }
.back-link:hover svg { transform: translateX(-3px); }
.standingsCard { padding: 0 8px; }
.standingsCard__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.season-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(196,30,58,.35); background: rgba(196,30,58,.10);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.60); text-transform: uppercase;
}
.standingsBadge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.22);
  font-weight: 900; font-size: 11px; letter-spacing: .10em; text-transform: uppercase;
}
.tablewrap--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablewrap--scroll .table { min-width: 760px; }

/* ── Sortable table headers ── */
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; transition: color .15s; }
th.sortable:hover { color: #fff; }
th.sort-active { color: #fff; }
.sort-icon { font-size: 11px; opacity: .35; margin-left: 3px; }
.sort-icon--active { opacity: 1; color: #c41e3a; }

/* Standings table overrides */
.table.standings { background: transparent; }
.table.standings th, .table.standings td { white-space: nowrap; }
.table.standings th {
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.30);
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.table.standings td { color: rgba(255,255,255,.65); font-size: 14px; padding: 11px 14px; }
.table.standings td:first-child { color: inherit; font-size: 14px; font-weight: normal; width: auto; }
.table.standings td:nth-child(2) { color: inherit; font-weight: normal; }

.standings-row td { background: transparent; border-bottom: 1px solid rgba(255,255,255,.04); transition: background .15s ease; }
.standings-row:last-child td { border-bottom: none; }
.standings-row:hover td { background: rgba(255,255,255,.04); }
.standings-row.playoff-cut td { border-bottom: 2px dashed rgba(255,200,50,.35); }
.standings-row.playoff-cut td:first-child::after {
  content: "PLAYOFF";
  position: absolute;
  left: 6px; bottom: -9px;
  font-size: 8px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,200,50,.50);
  pointer-events: none;
  white-space: nowrap;
}
.standings-row.playoff-cut td:first-child { position: relative; }
.standings-row.is-us td { background: rgba(196,30,58,.07); }
.standings-row.is-us td:first-child { box-shadow: inset 4px 0 0 #c41e3a; }
.standings-row.is-us:hover td { background: rgba(196,30,58,.12); }

/* Rank badge — minimal, just a colored number */
.srank        { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 16px; color: rgba(255,255,255,.40); }
.srank--gold  { color: #fbbf24; }
.srank--silver{ color: #94a3b8; }
.srank--bronze{ color: #c97c3a; }

/* Team name */
.standings__team { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.standings-row.is-us .standings__team { color: #fff; font-weight: 900; }

/* PTS pill */
.standings__pts { font-weight: 900; }
.standings__pts-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 3px 10px; border-radius: 99px;
  background: rgba(196,30,58,.12); border: 1px solid rgba(196,30,58,.22);
  color: rgba(239,68,68,.88); font-family: Rajdhani, sans-serif; font-weight: 800; font-size: 15px;
}
.standings-row.is-us .standings__pts-pill { background: rgba(196,30,58,.32); border-color: rgba(196,30,58,.55); color: #fff; }

/* Trend */
.standings__trend { text-align: center; font-size: 11px; font-weight: 900; }
.standings__trend.up   { color: rgba(70,210,140,.92); }
.standings__trend.down { color: rgba(255,90,90,.92); }
.standings__trend.same { opacity: .18; }
.col-trend { width: 28px; }
.col-pos   { width: 54px; text-align: center; }
.col-pts   { width: 80px; text-align: center; }
.standings__pos { text-align: center; }


/* ── Posts ── */
.form { display: flex; flex-direction: column; gap: 12px; }
label span { display: block; font-weight: 700; font-size: 13px; margin-bottom: 5px; color: rgba(255,255,255,.80); }
input, textarea, select {
  width: 100%; padding: 11px 14px;
  border-radius: var(--radius3);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,14,.60);
  color: var(--white); outline: none;
  font-family: inherit; font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(225,6,19,.55);
  background: rgba(10,10,14,.80);
  box-shadow: 0 0 0 3px rgba(225,6,19,.12);
}
/* hide ugly browser number spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
.form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.hint { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.5; }

.posts { display: flex; flex-direction: column; gap: 10px; }
.post {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  transition: border-color var(--transition);
}
.post:hover { border-color: rgba(255,255,255,.16); }
.post--featured { background: rgba(255,255,255,.05); }
.post__top   { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.post__title { font-weight: 800; font-size: 15px; line-height: 1.4; }
.post__meta  { font-size: 12px; color: rgba(255,255,255,.58); margin-top: 3px; }
.post__body  { margin: 10px 0 0; color: rgba(255,255,255,.80); line-height: 1.65; white-space: pre-wrap; font-size: 14px; }
.post__btn {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.80); border-radius: 10px; padding: 6px 12px;
  cursor: pointer; font-weight: 600; font-size: 13px; font-family: inherit;
  transition: var(--transition); transition-property: background, color;
  flex-shrink: 0;
}
.post__btn:hover { background: rgba(255,255,255,.10); color: var(--white); }

/* ── Section label (Příspěvky style) ── */
.section-label {
  font-family: Rajdhani, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #c41e3a;
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

/* ── Post cards (new design) ── */
#postsList { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
#postsList:has(> .pc:only-child) { grid-template-columns: 1fr; }
.pc {
  background: #131315; border-radius: 16px; overflow: hidden;
  border: 1px solid #1e1e20;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pc:hover { border-color: rgba(255,255,255,.12); box-shadow: 0 12px 40px rgba(0,0,0,.40); }
.pc--clickable { cursor: pointer; }
.pc--clickable:hover { border-color: rgba(196,30,58,.35); box-shadow: 0 16px 48px rgba(0,0,0,.50), 0 0 0 1px rgba(196,30,58,.12); }
.pc-media { width: 100%; aspect-ratio: 16/6; overflow: hidden; position: relative; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .3s ease; }
.pc-media:hover img { transform: scale(1.02); }
.pc-media--video iframe { width: 100%; height: 100%; border: 0; display: block; background: #0e0e0f; }
.pc-media--empty {
  display: flex; align-items: center; justify-content: center;
  background: #1a1a1d; color: rgba(255,255,255,.10);
}
.pc-accent { height: 3px; background: #c41e3a; width: 100%; transition: background .2s ease; }
.pc--clickable:hover .pc-accent { background: #e8223f; }
.pc-body { padding: 1rem 1.25rem .85rem; }
.pc-admin { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.pc-title {
  font-family: Rajdhani, sans-serif; font-size: 17px; font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: .4rem; letter-spacing: .02em;
}
.pc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.pc-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: #c41e3a;
  display: flex; align-items: center; justify-content: center;
  font-family: Rajdhani, sans-serif; font-size: 9px; font-weight: 700;
  color: #fff; flex-shrink: 0; letter-spacing: .04em;
}
.pc-author { font-size: 12px; color: rgba(255,255,255,.35); }
.pc-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.15); flex-shrink: 0; }
.pc-date { font-size: 12px; color: rgba(255,255,255,.35); }
.pc-text { font-family: 'DM Sans', Rubik, sans-serif; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.45); font-weight: 300; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Post detail modal ── */
#postModal .modal__panel { max-width: min(1100px, 94vw); padding: 0; overflow-y: auto; overflow-x: hidden; max-height: calc(100vh - 60px); scrollbar-width: thin; scrollbar-color: rgba(196,30,58,.5) transparent; }
#postModal .modal__panel::-webkit-scrollbar { width: 4px; }
#postModal .modal__panel::-webkit-scrollbar-track { background: transparent; }
#postModal .modal__panel::-webkit-scrollbar-thumb { background: rgba(196,30,58,.5); border-radius: 99px; }
#postModal .modal__panel::-webkit-scrollbar-thumb:hover { background: #c41e3a; }
#postModal .pm-image { width: 100%; aspect-ratio: 16/7; overflow: hidden; }
#postModal .pm-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
#postModal .pm-body { font-family: 'DM Sans', Rubik, sans-serif; font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.75); font-weight: 300; white-space: pre-wrap; margin-top: 1rem; }
#postModal .pm-meta { font-size: 12px; color: rgba(255,255,255,.35); margin-top: .4rem; }
#postModal .pm-close { background: none; border: none; color: rgba(255,255,255,.5); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; flex-shrink: 0; }
#postModal .pm-close:hover { color: #fff; }
#postModal .pm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#postModal .pm-title { font-family: Rajdhani, sans-serif; font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: .02em; }

/* ── Post card footer / read-more cue ── */
.pc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; font-family: 'DM Sans', Rubik, sans-serif;
  font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.22);
  transition: color .2s ease;
}
.pc-footer svg { flex-shrink: 0; transition: transform .2s ease; }
.pc--clickable:hover .pc-footer { color: #c41e3a; }
.pc--clickable:hover .pc-footer svg { transform: translateX(5px); }

/* ── Post card pager ── */
.pc-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 10px 0;
}
.pc-pager__btn {
  background: transparent; border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  color: rgba(255,255,255,.55); font-family: 'DM Sans', Rubik, sans-serif; font-size: 13px;
  padding: 7px 16px; cursor: pointer; transition: var(--transition);
  transition-property: background, color, border-color;
}
.pc-pager__btn:hover:not(:disabled) { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.pc-pager__btn:disabled { opacity: .3; cursor: default; }
.pc-pager__btn--next { background: #c41e3a; border-color: #c41e3a; color: #fff; }
.pc-pager__btn--next:hover:not(:disabled) { background: #d4203e; border-color: #d4203e; }
.pc-pager__info { font-size: 12px; color: rgba(255,255,255,.28); }

/* ── Pager (legacy) ── */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }

/* ── Gallery ── */
.gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gimg {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  position: relative; cursor: pointer;
}
.gimg img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  transform: scale(1.01);
  transition: transform .28s ease;
}
.gimg:hover img { transform: scale(1.07); }
.gimg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.45) 100%);
  opacity: .9; pointer-events: none;
}
.gimg__cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; font-weight: 900; font-size: 13px; letter-spacing: .02em; }

.gallery__footer { margin-top: 14px; display: flex; justify-content: flex-end; }
.gallery__more {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  text-decoration: none; font-weight: 700; font-size: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.32);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  user-select: none;
}
.gallery__more:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 14px 36px rgba(0,0,0,.32);
}
.gallery__more__icon {
  width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16);
}
.gallery__more__ext { opacity: .85; font-weight: 900; }
.gallery__more--fb {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.gallery__more--fb:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  filter: none;
}
.gallery__more--fb:active { transform: translateY(0); }

/* ── About ── */
.list  { margin: 0; padding-left: 18px; color: rgba(255,255,255,.78); line-height: 1.7; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ── Footer ── */
main { flex: 1 0 auto; }
.footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 24px 36px;
  background: rgba(0,0,0,.16);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.footer__left img { width: 32px; height: 32px; object-fit: contain; opacity: .75; flex-shrink: 0; }
.footer__title { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; white-space: nowrap; }
.footer__sub   { color: rgba(255,255,255,.40); font-size: 12px; margin-top: 2px; }
.footer__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.footer__right a {
  color: rgba(255,255,255,.50); text-decoration: none; font-size: 13px;
  transition: color var(--transition); white-space: nowrap;
}
.footer__right a:hover { color: var(--white); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.90);
  display: none; place-items: center; z-index: 80; padding: 72px 18px 18px;
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1400px, 94vw); max-height: 86vh;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  display: block;
}
.lightbox__close {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85); cursor: pointer; font-size: 17px;
  transition: var(--transition); transition-property: background, color;
}
.lightbox__close:hover { background: rgba(255,255,255,.12); color: var(--white); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85); cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); transition-property: background, color, transform;
  user-select: none;
}
.lightbox__nav:hover { background: rgba(255,255,255,.14); color: var(--white); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav:disabled { opacity: .2; cursor: default; }
.lightbox__counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: rgba(255,255,255,.50); letter-spacing: .06em;
}

/* ── Modal ── */
/* ── Custom confirm dialog ── */
#customConfirm { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; }
#customConfirm.is-open { display: flex; }
#customConfirm .cc-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
#customConfirm .cc-box {
  position: relative; z-index: 1;
  background: #1a1a22; border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; padding: 28px 28px 22px;
  min-width: 300px; max-width: 420px; width: 90%;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  animation: cc-in .15s ease;
}
@keyframes cc-in { from { opacity:0; transform: scale(.94) translateY(8px); } to { opacity:1; transform: none; } }
#customConfirm .cc-msg {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88);
  margin: 0 0 22px; line-height: 1.5;
}
#customConfirm .cc-actions { display: flex; gap: 10px; justify-content: flex-end; }
#customConfirm .cc-btn {
  padding: 8px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; transition: opacity .15s, transform .1s;
}
#customConfirm .cc-btn:hover { opacity: .85; }
#customConfirm .cc-btn:active { transform: scale(.97); }
#customConfirm .cc-btn--cancel {
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.10);
}
#customConfirm .cc-btn--danger {
  background: #c41e3a; color: #fff;
}
#customConfirm .cc-btn--confirm {
  background: rgba(96,165,250,.18); color: #60a5fa;
  border: 1px solid rgba(96,165,250,.25);
}

.modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.modal.is-open { display: block; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__panel {
  position: relative; max-width: min(1360px, 96vw);
  margin: min(5vh,40px) auto;
  background: rgba(12,12,16,.94);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0,0,0,.60), 0 0 0 1px rgba(255,255,255,.04);
  padding: 18px;
  max-height: calc(100vh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.modal__title { font-weight: 900; letter-spacing: .02em; font-size: 18px; }
.modal__sub    { opacity: .80; font-size: 13px; margin-top: 4px; }

/* ── Player card modal ── */
#playerModal .modal__panel { max-width: 420px; padding: 0; overflow-y: auto; overflow-x: hidden; }
#playerModalPanel { padding: 0; }

.pm-photo {
  width: 100%; height: 260px; overflow: hidden; position: relative;
  border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.04);
}
.pm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.pm-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.pm-placeholder svg { width: 90px; height: 90px; opacity: .08; }
.pm-photo::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, rgba(12,12,16,.98), transparent);
  pointer-events: none;
}
.pm-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; color: rgba(255,255,255,.70); font-size: 12px; font-weight: 600;
  padding: 6px 12px; cursor: pointer; display: flex; align-items: center; gap: 5px;
  font-family: inherit; transition: var(--transition); white-space: nowrap;
}
.pm-close:hover { background: rgba(0,0,0,.75); color: #fff; }

.pm-identity {
  text-align: center; padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pm-num-big {
  font-family: Rajdhani, sans-serif; font-size: 64px; font-weight: 900;
  line-height: 1; letter-spacing: -.02em;
  color: #e10613;
  text-shadow: 0 0 60px rgba(225,6,19,.45), 0 2px 0 rgba(0,0,0,.50);
}
.pm-name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .02em; margin-top: 4px; line-height: 1.2; }
.pm-year { font-size: 11px; color: rgba(255,255,255,.38); margin-top: 6px; letter-spacing: .10em; text-transform: uppercase; }

.pm-details { padding: 16px 20px 24px; }
.pm-table {
  background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; overflow: hidden;
}
.pm-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.pm-row:last-child { border-bottom: none; }
.pm-rk { font-size: 13px; color: rgba(255,255,255,.42); flex: 1; }
.pm-rv { font-size: 13px; color: rgba(255,255,255,.88); font-weight: 600; }
.pm-tm {
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.22);
  color: #f87171; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  letter-spacing: .04em;
}
.pm-stats-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.30);
  margin-top: 18px;
  margin-bottom: -2px;
}
.pm-stats { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pm-pill {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 12px 8px; text-align: center;
  transition: border-color var(--transition);
}
.pm-pill:hover { border-color: rgba(255,255,255,.14); }
.pm-pill.hl .pm-pv { color: #60a5fa; }
.pm-pv { font-size: 22px; font-weight: 700; color: #fff; line-height: 1; }
.pm-pl { font-size: 10px; color: rgba(255,255,255,.30); margin-top: 4px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }

/* ── Admin modal ── */
#adminModal .modal__panel { max-width: 1705px; width: 96vw; padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 40px); margin: 20px auto; border-radius: 16px; }
.adm__hdr { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.adm__brand { display: flex; align-items: center; gap: 10px; }
.adm__logo { width: 32px; height: 32px; object-fit: contain; }
.adm__name { font-family: Rajdhani, sans-serif; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .05em; line-height: 1.1; }
.adm__sub { font-size: 10px; color: rgba(255,255,255,.30); letter-spacing: .10em; text-transform: uppercase; margin-top: 2px; }
.adm__close { background: none; border: none; color: rgba(255,255,255,.40); cursor: pointer; padding: 7px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.adm__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.adm__body { padding: 20px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.adm__body::-webkit-scrollbar { width: 4px; }
.adm__body::-webkit-scrollbar-track { background: transparent; }
.adm__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }

/* Login */
.adm-login { max-width: 340px; margin: 0 auto; text-align: center; }
.adm-login__icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(196,30,58,.12); border: 1px solid rgba(196,30,58,.22); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: #c41e3a; }
.adm-login__title { font-family: Rajdhani, sans-serif; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .04em; margin-bottom: 20px; }
.adm-login__fields { display: flex; flex-direction: column; gap: 10px; text-align: left; margin-bottom: 14px; }

/* Tabs */
.adm-tabs { display: flex; gap: 4px; background: rgba(255,255,255,.04); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.adm-tab { flex: 1; padding: 8px 14px; background: transparent; border: none; border-radius: 8px; color: rgba(255,255,255,.40); font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .03em; cursor: pointer; transition: background .15s, color .15s; }
.adm-tab:hover { color: rgba(255,255,255,.75); background: rgba(255,255,255,.04); }
.adm-tab.is-active { color: #fff; background: rgba(255,255,255,.09); }
.adm-panel { }

/* Columns */
.adm-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: start; }
.adm-col { display: flex; flex-direction: column; gap: 12px; }
.adm-col__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.adm-col__title { font-family: Rajdhani, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* Icon button */
.adm-icon-btn { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; color: rgba(255,255,255,.45); padding: 7px 9px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s, border-color .15s; }
.adm-icon-btn:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.18); }

/* Search */
.adm-search { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; color: #fff; font-size: 13px; padding: 9px 14px; font-family: inherit; outline: none; transition: border-color .15s; }
.adm-search::placeholder { color: rgba(255,255,255,.25); }
.adm-search:focus { border-color: rgba(196,30,58,.40); }

/* List */
.adm-list { display: flex; flex-direction: column; gap: 5px; overflow-y: visible; }
.adm-list::-webkit-scrollbar { width: 3px; }
.adm-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.10); border-radius: 99px; }
.adm-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; transition: background .15s, border-color .15s; }
.adm-item:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); }
.adm-item__info { flex: 1; min-width: 0; }
.adm-item__title { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.adm-item__meta { font-size: 11px; color: rgba(255,255,255,.30); margin-top: 2px; }
.adm-item__actions { display: flex; gap: 4px; flex-shrink: 0; }
.adm-item__btn { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 7px; color: rgba(255,255,255,.50); padding: 5px 10px; cursor: pointer; font-size: 12px; font-family: inherit; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.adm-item__btn:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.18); }
.adm-item__btn--del:hover { background: rgba(196,30,58,.15); color: #e8223f; border-color: rgba(196,30,58,.30); }

/* ── Photo drop zone ── */
.photo-drop {
  position: relative;
  width: 100%; height: 130px;
  border-radius: var(--radius3);
  border: 2px dashed rgba(255,255,255,.18);
  background: rgba(10,10,14,.50);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.photo-drop:hover, .photo-drop.is-drag-over {
  border-color: rgba(225,6,19,.55);
  background: rgba(225,6,19,.05);
}
.photo-drop.has-image {
  display: flex; align-items: center; justify-content: center;
  height: auto; min-height: unset;
  border-style: solid; border-color: rgba(255,255,255,.14);
  cursor: default; padding: 8px;
  background: rgba(0,0,0,.40);
}
.photo-drop img#playerPhotoPreview {
  position: static;
  max-width: 100%; max-height: 260px;
  width: auto; height: auto;
  object-fit: contain;
  display: block; border-radius: 8px;
}
.photo-drop__empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px; padding: 24px 16px; text-align: center;
  pointer-events: none;
}
.photo-drop__hint { font-size: 11px; color: rgba(255,255,255,.28); }
.photo-drop__remove {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.65);
  color: rgba(255,255,255,.80); font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); transition-property: background, color;
}
.photo-drop__remove:hover { background: rgba(225,6,19,.75); color: #fff; border-color: transparent; }

/* ── Misc ── */
.micro {
  padding: 18px 20px; border-radius: var(--radius2);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
}
.micro__title { font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.micro__links { display: flex; flex-wrap: wrap; gap: 10px; }
.micro__links a {
  color: rgba(255,255,255,.82); text-decoration: none;
  background: rgba(0,0,0,.20); border: 1px solid rgba(255,255,255,.10);
  padding: 7px 12px; border-radius: var(--radius3); font-size: 14px;
  transition: var(--transition); transition-property: background, color;
}
.micro__links a:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .gallery__more--fb:hover { transform: none; }
  .hero__logo--animated    { animation: none; }
  .hero__logoWrap::before,
  .hero__logoWrap::after   { animation: none; }
  .glitch::before,
  .glitch::after           { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero        { padding-top: 24px; }
  .matches-grid { grid-template-columns: 1fr; }
  .fixture { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .fixture__team--home, .fixture__team--away { text-align: left; }
  .fixture__center { justify-content: flex-start; }
  .fixture__right { justify-content: flex-start; }
  .fixture__venue { display: none; }
  .grid--3     { grid-template-columns: 1fr; }
  .grid--2     { grid-template-columns: 1fr; }
  .glitch      { font-size: 46px; }
  .hero__logo  { width: min(110px, 30vw); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .navbtn { display: block; }
  #postsList { grid-template-columns: 1fr; }
  .nav.is-open {
    display: flex; position: absolute; right: 18px; top: 64px;
    flex-direction: column;
    background: rgba(7,7,11,.94);
    border: 1px solid rgba(255,255,255,.12);
    padding: 10px; border-radius: 18px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    min-width: 160px;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .modal__panel  { margin: 10px; }
}

@media (max-width: 520px) {
  .topbar         { padding: 10px 14px; }
  .brand__logo    { width: 36px; height: 36px; }
  .hero           { padding: 18px 14px 8px; }
  .hero__content  { padding: 18px; }
  .glitch         { font-size: 38px; }
  .hero__logo     { width: min(100px, 28vw); }
  .hero__lead     { font-size: 14px; }
  .hero__stats    { grid-template-columns: 1fr; }
  .stat           { padding: 12px 14px; }
  .mc-logo        { width: 38px; height: 38px; }
  .mc-vs-ring     { width: 38px; height: 38px; font-size: 11px; }
  .mc-badge       { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
  .mc-score       { font-size: 24px; }
  .mc-name        { font-size: 11px; }
  .mc-body        { padding: 12px 14px 10px; gap: 6px; }
  .mc-head        { padding: 10px 14px 0; }
  .section        { padding: 24px 14px; }
  .filters        { gap: 6px; }
  .table th, .table td { padding: 14px 14px; }
  .table:not(.standings) th:nth-child(4), .table:not(.standings) td:nth-child(4),
  .table:not(.standings) th:nth-child(5), .table:not(.standings) td:nth-child(5) { display: none; }
  .table.standings th.col-score, .table.standings td.standings__score,
  .table.standings th.col-gd,    .table.standings td.standings__gd { display: none; }
  .srank { font-size: 14px; }
  .gallery__footer { justify-content: center; }
  .gallery__more   { width: 100%; justify-content: center; }
  .pm-photo  { height: 200px; }
  .pm-stats  { gap: 6px; }
  .pm-pill   { padding: 10px 6px; }
  .pm-pv     { font-size: 18px; }
  .pc-body   { padding: 1.1rem 1.1rem .9rem; }
  .pc-title  { font-size: 17px; }
  .pc-pager  { flex-wrap: wrap; }
  #postsList { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer__left  { flex-direction: column; align-items: center; gap: 6px; }
  .footer__right { margin-left: 0; justify-content: center; gap: 14px; }
}

