:root {
  --bg: #f3f5f8;
  --card: #ffffff;
  --ink: #111827;
  --muted: #748094;
  --line: #e7ebf1;
  --green: #19c37d;
  --green-dark: #0b925b;
  --green-soft: #e9fbf3;
  --navy: #111827;
  --orange: #ff8a34;
  --red: #f04452;
  --blue: #3b82f6;
  --shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.app-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 72px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(15, 23, 42, .16);
}
.app-header-inner {
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-ball {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(145deg, #62eda9, var(--green));
  font-size: 17px;
  font-weight: 950;
  box-shadow: inset -4px -5px 10px rgba(0,0,0,.09);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: -.03em; }
.brand small { margin-top: 2px; color: #55dba0; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.app-nav { align-self: stretch; display: flex; gap: 8px; }
.app-nav a {
  min-width: 92px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  color: #9ba5b5;
  font-size: 13px;
  font-weight: 700;
}
.app-nav a.active, .app-nav a:hover { color: #fff; border-color: var(--green); }
.app-nav a span { color: var(--green); }
.telegram-pill {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #dfe5ed;
  font-size: 12px;
  font-weight: 750;
}
.telegram-pill:hover { color: #fff; border-color: var(--green); }

.app-shell { width: min(1320px, calc(100% - 40px)); margin: auto; }
.score-toolbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.date-strip { display: flex; align-items: center; gap: 6px; }
.date-chip, .date-arrow, .round-action {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.date-chip {
  min-width: 80px;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
}
.date-chip small, .date-chip strong { display: block; }
.date-chip small { margin-bottom: 3px; font-size: 9px; font-weight: 800; }
.date-chip strong { font-size: 11px; }
.date-chip.active { color: #fff; background: var(--green); box-shadow: 0 8px 18px rgba(25,195,125,.22); }
.date-arrow, .round-action {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 21px;
}
.toolbar-actions { display: flex; gap: 8px; }
.round-action { color: var(--muted); font-size: 18px; }

.football-layout { display: grid; grid-template-columns: 226px minmax(0, 1fr); gap: 22px; align-items: start; }
.football-sidebar { position: sticky; top: 94px; }
.sidebar-title { margin: 4px 10px 14px; font-size: 21px; font-weight: 850; letter-spacing: -.04em; }
.side-item {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 11px;
  color: #5f6b7d;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
}
.side-item:hover, .side-item.active { color: var(--green-dark); background: var(--green-soft); }
.side-item b { margin-left: auto; padding: 3px 7px; border-radius: 7px; background: rgba(17,24,39,.06); font-size: 10px; }
.side-icon { width: 18px; text-align: center; color: #a3adba; }
.side-icon.live { color: var(--red); }
.competition-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #283447;
  font-size: 9px;
  font-weight: 900;
}
.sidebar-label { margin: 28px 12px 8px; color: #9aa4b2; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.engine-card {
  margin-top: 24px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #142d28, #101827);
  box-shadow: var(--shadow);
}
.engine-card small, .engine-card strong, .engine-card p { display: block; position: relative; }
.engine-card small { color: #55dba0; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.engine-card strong { margin-top: 7px; font-size: 13px; }
.engine-card p { margin: 5px 0 13px; color: #9eabb7; font-size: 10px; line-height: 1.45; }
.engine-orbit { position: absolute; right: -16px; top: -28px; color: rgba(85,219,160,.13); font-size: 100px; }
.engine-live { color: #55dba0; font-size: 9px; font-weight: 900; }

.football-feed { min-width: 0; padding-bottom: 100px; }
.feed-hero {
  min-height: 265px;
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 45%, rgba(25,195,125,.24), transparent 18rem),
    linear-gradient(125deg, #111827, #172638);
  box-shadow: var(--shadow);
}
.live-kicker { color: #61dea8; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.live-kicker span { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(25,195,125,.12); }
.feed-hero h1 { margin: 14px 0 12px; font-size: clamp(36px, 4vw, 56px); line-height: .98; letter-spacing: -.055em; }
.feed-hero h1 em { color: #55dba0; font-style: normal; }
.feed-hero p { margin: 0; color: #aab4c2; font-size: 14px; }
.hero-score-widget { padding: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(5,11,20,.35); backdrop-filter: blur(12px); }
.widget-head { display: flex; justify-content: space-between; color: #8e9bad; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.widget-head b { color: #fff; }
.pulse-bars { height: 70px; margin: 18px 0; display: flex; align-items: end; gap: 7px; }
.pulse-bars i { flex: 1; min-height: 14px; border-radius: 4px 4px 1px 1px; background: linear-gradient(#55dba0, #118a58); animation: bars 1.8s ease-in-out infinite alternate; }
.pulse-bars i:nth-child(2) { height: 48%; animation-delay: -.4s; }
.pulse-bars i:nth-child(3) { height: 80%; animation-delay: -.8s; }
.pulse-bars i:nth-child(4) { height: 38%; animation-delay: -.2s; }
.pulse-bars i:nth-child(5) { height: 96%; animation-delay: -.7s; }
.pulse-bars i:nth-child(6) { height: 55%; animation-delay: -.5s; }
.pulse-bars i:nth-child(7) { height: 72%; animation-delay: -.9s; }
.pulse-bars i:nth-child(8) { height: 43%; animation-delay: -.1s; }
@keyframes bars { to { transform: scaleY(.64); opacity: .7; } }
.widget-stats { display: flex; justify-content: space-between; color: #8996a7; font-size: 9px; }
.widget-stats b { color: #fff; }

.feed-section { padding-top: 28px; }
.feed-heading, .module-heading {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.feed-heading > div, .module-heading > div { display: flex; align-items: center; gap: 11px; }
.feed-heading h2, .module-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.feed-heading p, .module-heading p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.section-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #667387;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15,23,42,.06);
  font-size: 14px;
}
.alpha-icon { color: var(--green-dark); background: var(--green-soft); }
.refresh-label { color: var(--muted); font-size: 10px; }

.alpha-carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.alpha-match-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 5px 18px rgba(15,23,42,.04);
  transition: 160ms ease;
}
.alpha-match-card:hover { transform: translateY(-2px); border-color: rgba(25,195,125,.4); box-shadow: var(--shadow); }
.alpha-card-top { display: flex; align-items: center; justify-content: space-between; }
.match-state { color: var(--muted); font-size: 11px; font-weight: 850; }
.match-state.is-live { color: var(--red); }
.alpha-teams { margin-top: 17px; }
.alpha-teams > div, .score-teams > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.alpha-teams > div + div { margin-top: 11px; }
.alpha-teams span { font-size: 13px; font-weight: 750; }
.alpha-teams b { font-size: 18px; }
.team-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.team-badge-medium { width: 30px; height: 30px; }
.team-badge-small { width: 25px; height: 25px; }
.team-badge-large { width: 72px; height: 72px; }
.team-badge img { width: 100%; height: 100%; object-fit: cover; }
.crest-fallback {
  color: #fff;
  background: linear-gradient(145deg, hsl(var(--crest-hue),70%,57%), hsl(var(--crest-hue),65%,36%));
  font-size: 8px;
  font-weight: 950;
}
.team-badge-large.crest-fallback { font-size: 17px; }
.alpha-insight { margin-top: 17px; padding: 12px; display: flex; align-items: center; justify-content: space-between; border-radius: 12px; background: #f7f9fb; }
.alpha-insight small, .alpha-insight strong { display: block; }
.alpha-insight small { color: var(--muted); font-size: 8px; font-weight: 800; }
.alpha-insight strong { margin-top: 3px; color: var(--green-dark); font-size: 20px; }
.mini-chart { width: 140px; height: 34px; }
.trend-state { color: var(--muted); font-size: 9px; }
.alpha-card-foot { margin-top: 13px; display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.alpha-card-foot span { max-width: 72%; color: var(--muted); font-size: 10px; line-height: 1.4; }
.alpha-card-foot b { color: var(--green-dark); white-space: nowrap; font-size: 10px; }

.signal-badge { padding: 5px 7px; border-radius: 7px; font-size: 7px; font-weight: 900; letter-spacing: .07em; }
.badge-signal { color: #08754b; background: #dff8ed; }
.badge-watch { color: #9a6413; background: #fff3dc; }
.badge-high-pressure { color: #c52d3c; background: #ffeaec; }
.badge-market-moved { color: #245fc7; background: #e9f0ff; }
.badge-no-edge, .badge-pre { color: #7c8797; background: #eef1f5; }

.filter-tabs { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.filter-tab { padding: 7px 10px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.filter-tab.active { color: #fff; background: var(--navy); }
.league-list { display: grid; gap: 14px; }
.league-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 4px 16px rgba(15,23,42,.035); }
.league-head { min-height: 58px; padding: 0 17px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.league-emblem { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eef2f6; font-size: 14px; }
.league-head small, .league-head strong { display: block; }
.league-head small { color: var(--muted); font-size: 8px; font-weight: 800; }
.league-head strong { margin-top: 2px; font-size: 12px; }
.league-head button { margin-left: auto; border: 0; color: #a3adba; background: transparent; cursor: pointer; font-size: 18px; }
.score-row { min-height: 76px; padding: 10px 17px; display: grid; grid-template-columns: 62px minmax(0,1fr) 130px 18px; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); transition: 140ms ease; }
.score-row:last-child { border-bottom: 0; }
.score-row:hover { background: #f8fafb; }
.score-time { padding-right: 13px; border-right: 1px solid var(--line); text-align: center; }
.score-time strong, .score-time span { display: block; }
.score-time strong { font-size: 12px; }
.score-time span { margin-top: 3px; color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.score-time.is-live strong, .score-time.is-live span { color: var(--red); }
.score-teams { display: grid; gap: 7px; }
.score-teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
.score-teams b { font-size: 14px; }
.score-alpha { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.score-alpha small { color: var(--muted); font-size: 9px; }
.row-arrow { color: #a7b0bc; font-size: 22px; }

.two-column-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.event-feed, .player-board { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.event-row { min-height: 64px; padding: 12px 15px; display: grid; grid-template-columns: 42px 1fr auto; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); }
.event-row:last-child { border-bottom: 0; }
.event-row:hover { background: #f8fafb; }
.event-minute { color: var(--green-dark); font-size: 14px; font-weight: 900; }
.event-row strong { font-size: 11px; }
.event-row p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.event-severity { padding: 4px 6px; border-radius: 6px; color: #b16a15; background: #fff3dc; font-size: 7px; font-weight: 900; }
.player-board { padding: 0 15px; }
.player-row { min-height: 64px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.player-row:last-child { border-bottom: 0; }
.player-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #64748b, #283447); font-size: 9px; font-weight: 900; }
.player-info strong, .player-info span, .player-score strong, .player-score span { display: block; }
.player-info strong { font-size: 11px; }
.player-info span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.player-score { text-align: right; }
.player-score strong { color: var(--green-dark); font-size: 16px; }
.player-score span { color: var(--muted); font-size: 6px; }

.app-cta { margin-top: 28px; padding: 27px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #122c27, #111827); }
.app-cta span { color: #55dba0; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.app-cta h2 { margin: 6px 0 4px; font-size: 23px; }
.app-cta p { margin: 0; color: #9ba8b6; font-size: 11px; }
.cta-actions { display: flex; gap: 8px; }
.button { min-height: 40px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 11px; font-weight: 800; }
.button-primary { color: #072d20; background: #55dba0; }
.button-secondary { border: 1px solid rgba(255,255,255,.14); color: #fff; }

.empty-state { padding: 32px 18px; color: var(--muted); text-align: center; font-size: 11px; }
.error-state { color: var(--red); }
.skeleton-card { min-height: 240px; background: linear-gradient(90deg,#fff,#f3f5f8,#fff); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mobile-nav { display: none; }

/* Match center */
.detail-shell { padding-top: 24px; padding-bottom: 90px; }
.back-link { display: inline-flex; margin-bottom: 15px; color: var(--muted); font-size: 11px; font-weight: 700; }
.match-scoreboard {
  padding: 30px 40px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.scoreboard-meta { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.scoreboard-meta .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(240,68,82,.1); }
.scoreboard-teams { max-width: 720px; margin: 24px auto 18px; display: grid; grid-template-columns: 1fr 170px 1fr; align-items: center; }
.scoreboard-team { display: flex; align-items: center; gap: 15px; }
.scoreboard-team, .scoreboard-team > div { min-width: 0; }
.scoreboard-team.away { flex-direction: row-reverse; text-align: right; }
.scoreboard-team strong { display: block; font-size: 18px; }
.scoreboard-team strong { overflow-wrap: anywhere; }
.scoreboard-team span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.big-score { text-align: center; }
.big-score strong { display: block; font-size: 44px; letter-spacing: .03em; }
.big-score span { margin-top: 4px; display: block; color: var(--red); font-size: 9px; font-weight: 900; }
.scoreboard-commentary { max-width: 620px; margin: 0 auto; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.5; }
.scoreboard-actions { margin-top: 18px; display: flex; justify-content: center; }
.follow-button { padding: 8px 12px; border: 1px solid #bcebd8; border-radius: 9px; color: var(--green-dark); background: var(--green-soft); cursor: pointer; font-size: 9px; font-weight: 850; }
.follow-button.followed { color: #fff; background: var(--green); }
.overview-metrics { max-width: 700px; margin: 22px auto 0; padding-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.overview-metrics div { text-align: center; border-right: 1px solid var(--line); }
.overview-metrics div:last-child { border: 0; }
.overview-metrics span, .overview-metrics strong { display: block; }
.overview-metrics span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.overview-metrics strong { margin-top: 5px; font-size: 17px; }
.match-tabs { margin-top: 16px; padding: 0 18px; display: flex; gap: 28px; border-radius: 14px; background: #fff; }
.match-tabs a { padding: 16px 2px 13px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.match-tabs a.active { color: var(--green-dark); border-color: var(--green); }
.detail-dashboard { margin-top: 16px; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.detail-primary { display: grid; gap: 16px; }
.match-module { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(15,23,42,.035); }
.timeline-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chart-panel { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; }
.chart-title { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.large-chart { height: 120px; margin-top: 8px; }
.large-chart svg { width: 100%; height: 100%; overflow: visible; }
.current-signal { position: sticky; top: 88px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.current-signal-top { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; }
.current-signal h3 { font-size: 14px; line-height: 1.45; }
.eyebrow { color: var(--green-dark); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.why-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.why-grid div { padding: 9px; border-radius: 9px; background: #f6f8fa; }
.why-grid span, .why-grid strong { display: block; }
.why-grid span { color: var(--muted); font-size: 6px; text-transform: uppercase; }
.why-grid strong { margin-top: 3px; font-size: 9px; }
.market-status { margin-top: 14px; padding-top: 13px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 9px; }
.market-status span { color: var(--muted); }
.market-line { margin-top: 9px; color: var(--green-dark); font-size: 11px; font-weight: 850; }
.side-cta { margin-top: 12px; padding: 20px; border-radius: 17px; color: #fff; background: linear-gradient(135deg,#152f29,#111827); }
.side-cta small, .side-cta strong { display: block; }
.side-cta small { color: #55dba0; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.side-cta strong { margin: 8px 0 15px; font-size: 15px; line-height: 1.35; }
.side-cta a { color: #55dba0; font-size: 10px; font-weight: 800; }
.odds-link { margin-top: 10px; padding: 14px; display: flex; justify-content: space-between; border-radius: 12px; color: var(--green-dark); background: var(--green-soft); font-size: 10px; font-weight: 850; }
.detail-player-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.player-threat-card { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; }
.player-card-head { display: flex; align-items: start; justify-content: space-between; }
.player-card-head strong, .player-card-head span { display: block; }
.player-card-head strong { font-size: 11px; }
.player-card-head span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.player-card-head b { color: var(--green-dark); font-size: 22px; }
.player-card-metrics { margin-top: 12px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.player-card-metrics div { padding: 7px; border-radius: 7px; background: #fff; }
.player-card-metrics span, .player-card-metrics strong { display: block; }
.player-card-metrics span { color: var(--muted); font-size: 6px; }
.player-card-metrics strong { margin-top: 3px; font-size: 10px; }
.player-threat-card p { min-height: 28px; margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.player-threat-card .follow-button { width: 100%; margin-top: 10px; }

@media (max-width: 980px) {
  .football-layout { grid-template-columns: 1fr; }
  .football-sidebar { display: none; }
  .feed-hero { grid-template-columns: 1fr 300px; }
  .detail-dashboard { grid-template-columns: 1fr; }
  .current-signal { position: static; }
}

@media (max-width: 700px) {
  body { padding-bottom: 65px; }
  .app-header { height: 60px; }
  .app-header-inner, .app-shell { width: calc(100% - 24px); }
  .app-nav, .telegram-pill { display: none; }
  .brand-ball { width: 35px; height: 35px; font-size: 14px; }
  .brand strong { font-size: 14px; }
  .score-toolbar { min-height: 72px; overflow: hidden; }
  .date-strip { width: 100%; justify-content: space-between; }
  .date-chip { min-width: 70px; padding-inline: 10px; }
  .date-chip:nth-of-type(2),
  .date-chip:nth-of-type(6) { display: none; }
  .toolbar-actions { display: none; }
  .feed-hero { min-height: 240px; padding: 25px 21px; grid-template-columns: 1fr; gap: 22px; }
  .feed-hero h1 { font-size: 37px; }
  .feed-hero p { max-width: 300px; line-height: 1.5; }
  .hero-score-widget { padding: 14px; }
  .pulse-bars { height: 42px; margin: 12px 0; }
  .alpha-carousel, .two-column-feed { grid-template-columns: 1fr; }
  .feed-heading { align-items: flex-end; }
  .match-heading { align-items: flex-start; flex-direction: column; }
  .filter-tabs { max-width: 100%; overflow-x: auto; }
  .score-row { min-height: 78px; padding-inline: 12px; grid-template-columns: 48px minmax(0,1fr) 18px; gap: 9px; }
  .score-alpha { display: none; }
  .score-time { padding-right: 8px; }
  .score-teams span { font-size: 11px; }
  .league-head { padding-inline: 13px; }
  .alpha-card-foot span { max-width: 64%; }
  .mini-chart { width: 115px; }
  .app-cta { padding: 23px; align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1; }
  .mobile-nav {
    height: 64px;
    padding: 5px 12px max(5px, env(safe-area-inset-bottom));
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
  }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #7b8695; font-size: 8px; font-weight: 750; }
  .mobile-nav a span { font-size: 15px; }
  .mobile-nav a.active { color: var(--green-dark); }
  .detail-shell { padding-top: 16px; }
  .match-scoreboard { padding: 23px 14px; }
  .scoreboard-teams { grid-template-columns: minmax(0,1fr) 85px minmax(0,1fr); gap: 4px; }
  .scoreboard-team, .scoreboard-team.away { flex-direction: column; text-align: center; gap: 8px; }
  .team-badge-large { width: 54px; height: 54px; }
  .scoreboard-team strong { font-size: 13px; }
  .big-score strong { font-size: 32px; }
  .overview-metrics { grid-template-columns: 1fr 1fr; gap: 15px 0; }
  .overview-metrics div:nth-child(2) { border: 0; }
  .match-tabs { gap: 20px; overflow-x: auto; }
  .timeline-grid, .detail-player-grid { grid-template-columns: 1fr; }
  .match-module { padding: 15px; }
  .event-row { grid-template-columns: 38px 1fr; }
  .event-severity { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
