:root {
  --page: #f4f8f5;
  --paper: #ffffff;
  --ink: #102018;
  --muted: #63756b;
  --line: #dbe8de;
  --soft: #eef5ef;
  --accent: #17853b;
  --accent-strong: #0f6a2d;
  --accent-soft: #e8f6ec;
  --warn: #e11d48;
  --shadow: 0 24px 60px rgba(16, 32, 24, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f6fbf7 0%, var(--page) 100%);
  color: var(--ink);
}
body.drawer-open {
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 232, 222, 0.95);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-header-actions {
  display: none;
}

.icon-trigger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 32, 24, 0.06);
}

.icon-trigger svg {
  width: 18px;
  height: 18px;
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 720px;
}

.search-wrap input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px 0 44px;
  background: #f8fbf8;
  outline: none;
}

.search-wrap input:focus {
  border-color: #7bc994;
  box-shadow: 0 0 0 4px rgba(23, 133, 59, 0.08);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 16px;
  height: 16px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
}

.lang-switch a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch a.current {
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(16, 32, 24, 0.07);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(16, 32, 24, 0.42);
}

.mobile-drawer {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 74px;
  z-index: 80;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  max-height: calc(100vh - 100px);
  overflow: auto;
}

.mobile-drawer:not([hidden]) {
  display: block;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mobile-drawer-head strong {
  font-size: 0.96rem;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbf8;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-drawer-list {
  display: grid;
  gap: 8px;
}

.mobile-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfb;
  font-weight: 700;
}

.mobile-drawer-list a.active {
  background: var(--accent-soft);
  border-color: #cce7d4;
  color: var(--accent);
}

.layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 24px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 22px 20px 48px;
}

.sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(16, 32, 24, 0.05);
}

.sidebar-scroll {
  max-height: min(calc(100vh - 148px), 720px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: none;
  scrollbar-color: rgba(42, 94, 58, 0.42) transparent;
}

.sidebar:hover .sidebar-scroll,
.sidebar:focus-within .sidebar-scroll {
  scrollbar-width: thin;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 0;
}

.sidebar:hover .sidebar-scroll::-webkit-scrollbar,
.sidebar:focus-within .sidebar-scroll::-webkit-scrollbar {
  width: 10px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(42, 94, 58, 0.36);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 94, 58, 0.56);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.sidebar h2 {
  margin: 0 0 14px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #284033;
  font-weight: 700;
  background: #fbfdfb;
  cursor: pointer;
}

.nav-list a.active,
.nav-list a:hover {
  background: var(--accent-soft);
  border-color: #cce7d4;
  color: var(--accent);
}

.nav-hint {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  position: sticky;
  top: 74px;
  z-index: 20;
  padding: 8px 0 10px;
  background: linear-gradient(180deg, rgba(246,251,247,0.96) 0%, rgba(244,248,245,0.96) 100%);
  backdrop-filter: blur(8px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 12px;
}

.section-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 72ch;
}

.section-head-copy {
  min-width: 0;
}

.section-head-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.compact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.compact-stat {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-align: center;
}

.compact-stat strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.compact-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  cursor: pointer;
}

.tabs a.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 133, 59, 0.24);
}

.toolbar-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.match-grid {
  display: grid;
  gap: 4px;
}

.match-card {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr) minmax(204px, 246px);
  gap: 18px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 32, 24, 0.04);
}

.match-card.history {
  background: linear-gradient(180deg, #fff, #fbfcfb);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.meta-block {
  min-width: 0;
}

.meta-block time,
.meta-block small {
  display: block;
  white-space: nowrap;
}

.meta-block time {
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 600;
}

.meta-block small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  display: none;
}

.teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-width: 0;
  padding: 0 14px;
}

.team {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team.right {
  grid-template-columns: minmax(0, 1fr) 56px;
}

.team-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.team-name {
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 700;
}

.score-wrap {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 62px;
}

.score-wrap strong {
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9ca3af;
}

.status-live .status-dot {
  background: #ef4444;
}

.signal-panel {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.signal-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.signal-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
}

.signal-more {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-icon-link {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #cce7d4;
  background: var(--accent-soft);
  color: var(--accent-strong);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.signal-icon-link svg {
  width: 14px;
  height: 14px;
}

.mobile-card {
  display: none;
}

.mobile-only-watch {
  display: none;
}

@media (min-width: 981px) {
  .mobile-card,
  .mobile-only-watch {
    display: none !important;
  }
}

.meta-block small,
.meta-block time {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 0 14px;
}

.team {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team.right {
  grid-template-columns: minmax(0, 1fr) 56px;
  justify-content: flex-end;
  text-align: right;
}

.team-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f7faf7;
  padding: 4px;
  flex: 0 0 auto;
  object-fit: contain;
}

.team-name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
}

.score-wrap {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
  min-width: 72px;
}

.score-wrap strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.status-live { color: var(--accent); }
.status-live .status-dot { animation: pulse 1.1s infinite; }

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

.signal-panel {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.signal-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal-chip,
.signal-more {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.signal-chip {
  border: 1px solid var(--line);
  background: #f8fbf8;
  color: #2f4a38;
  font-weight: 700;
}

.signal-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.load-more {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.hidden { display: none !important; }

.history-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
}

.history-box {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 14px 32px rgba(16, 32, 24, 0.04);
}

.history-box strong {
  display: block;
  font-size: 0.95rem;
}

.history-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.detail-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 18px;
}

.detail-board {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.detail-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.detail-date {
  color: var(--muted);
  font-weight: 700;
}

.detail-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.detail-team {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.detail-team .team-logo {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}

.detail-team strong {
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  text-align: center;
}

.detail-team a {
  color: inherit;
  text-decoration: none;
}

.detail-team a:hover {
  text-decoration: underline;
}

.detail-center {
  text-align: center;
}

.detail-center .scoreline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-center .status {
  margin-top: 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 22px;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 14px 32px rgba(16, 32, 24, 0.05);
}

.detail-panel h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

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

.detail-strip .history-box {
  margin: 0;
}

.channel-groups {
  display: grid;
  gap: 16px;
}

.channel-group h3 {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

.channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbf8;
}

.channel-item strong {
  display: block;
  font-size: 0.95rem;
}

.channel-item span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.channel-item a {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.signal-empty {
  border: 1px dashed #c9ddd0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdfb 0%, #f2f7f3 100%);
  padding: 28px 22px;
  text-align: center;
}

.signal-empty-art {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: 86px;
  height: 56px;
  margin-bottom: 14px;
}

.signal-empty-art span {
  display: block;
  width: 16px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #17853b 0%, #8cc89b 100%);
  opacity: 0.9;
}

.signal-empty-art span:nth-child(1) {
  height: 24px;
}

.signal-empty-art span:nth-child(2) {
  height: 42px;
}

.signal-empty-art span:nth-child(3) {
  height: 30px;
}

.signal-empty strong {
  display: block;
  font-size: 1rem;
}

.signal-empty p {
  margin: 8px auto 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.detail-meta {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.detail-meta strong {
  color: var(--ink);
}

.seo-copy {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  background: #f8fbf8;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.75;
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1120px) {
  .layout,
  .history-strip,
  .detail-grid,
  .detail-strip,
  .match-card {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-width: auto;
  }

  .toolbar {
    top: 72px;
  }

  .section-head-meta {
    justify-items: start;
  }

  .compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-card {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
  }

  .search-wrap {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .layout {
    padding: 14px 14px 40px;
    gap: 14px;
  }

  .sidebar,
  .match-card,
  .detail-board,
  .detail-panel {
    border-radius: 24px;
  }

  .teams,
  .detail-score {
    grid-template-columns: 1fr;
  }

  .team,
  .team.right {
    justify-content: center;
    text-align: center;
  }

  .signal-panel {
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px 12px 28px;
  }

  .sidebar {
    display: none;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    height: 38px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    font-size: 0.74rem;
  }

  .mobile-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
  }

  .search-wrap,
  .lang-switch {
    display: none;
  }

  .toolbar {
    top: 72px;
    margin-bottom: 12px;
    padding: 4px 0 8px;
    gap: 8px;
  }

  .tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 18px;
  }

  .tabs a {
    min-width: 0;
    padding: 8px 6px;
    font-size: 0.78rem;
    line-height: 1.1;
    border-radius: 14px;
  }

  .toolbar-note {
    width: 100%;
    font-size: 0.74rem;
  }

  .match-grid {
    gap: 6px;
  }

  .match-card {
    grid-template-columns: 78px minmax(0, 1fr) 46px;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 14px;
  }

  .meta-pill {
    padding: 4px 7px;
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .meta-block time {
    margin-top: 5px;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .teams {
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-areas:
      "home score"
      "away score";
    align-items: center;
    row-gap: 6px;
    column-gap: 8px;
    padding: 0 4px;
  }

  .team {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
  }

  .team:first-child {
    grid-area: home;
  }

  .team.right {
    grid-area: away;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
    text-align: left;
    justify-content: flex-start;
  }

  .team.right .team-name {
    order: 2;
  }

  .team.right .team-logo {
    order: 1;
  }

  .team-logo {
    width: 34px;
    height: 34px;
    padding: 3px;
    border-radius: 8px;
  }

  .team-name {
    font-size: 0.76rem;
    line-height: 1.08;
    font-weight: 700;
  }

  .score-wrap {
    grid-area: score;
    min-width: 48px;
    gap: 1px;
    align-self: center;
  }

  .score-wrap strong {
    font-size: 0.88rem;
  }

  .status {
    font-size: 0.66rem;
    gap: 4px;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  .signal-panel {
    gap: 3px;
    min-width: 0;
    padding-top: 0;
    border-top: 0;
    justify-items: end;
  }

  .signal-list {
    gap: 4px;
    justify-content: flex-end;
  }

  .signal-label,
  .signal-chip,
  .signal-more {
    display: none;
  }

  .signal-icon-link {
    display: inline-flex;
  }
}

.mobile-popover {
  position: relative;
}

.mobile-popover > summary {
  list-style: none;
}

.mobile-popover > summary::-webkit-details-marker {
  display: none;
}

.mobile-popover-panel {
  display: none;
}

@media (max-width: 980px) {
  .mobile-popover[open] .mobile-popover-panel {
    display: grid;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    max-width: min(86vw, 320px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 10px;
    z-index: 60;
  }

  .mobile-card {
    display: grid;
    gap: 8px;
  }

  .mobile-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .mobile-meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .mobile-kickoff {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-kickoff.emphasis {
    font-weight: 800;
  }

  .mobile-date {
    font-size: 0.68rem;
    color: var(--muted);
    font-weight: 600;
  }

  .mobile-league {
    font-size: 0.68rem;
    color: var(--muted);
    font-weight: 700;
  }

  .mobile-match-state {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    text-align: right;
    font-size: 0.66rem;
    color: var(--muted);
    font-weight: 700;
  }

  .mobile-match-state.live {
    color: var(--accent-strong);
  }

  .mobile-phase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.62rem;
    font-weight: 800;
  }

  .mobile-minute {
    white-space: nowrap;
  }

  .mobile-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
  }

  .mobile-team-list {
    display: grid;
    gap: 7px;
  }

  .mobile-team-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .mobile-team-row .team-logo {
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 8px;
  }

  .mobile-team-row .team-name {
    font-size: 0.78rem;
    line-height: 1.08;
    font-weight: 700;
  }

  .mobile-team-score {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
  }

  .mobile-watch-slot {
    display: grid;
    align-items: center;
    justify-items: center;
  }

  .mobile-only-watch {
    display: inline-flex;
  }

  .match-card {
    grid-template-columns: minmax(0, 1fr) 38px;
    grid-template-areas:
      "meta meta"
      "teams signal";
    gap: 8px;
    align-items: start;
  }

  .meta-block {
    grid-area: meta;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    display: none;
  }

  .meta-block .meta-pill {
    max-width: 100%;
  }

  .teams {
    grid-area: teams;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 0;
    display: none;
  }

  .team,
  .team.right {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
    text-align: left;
    justify-content: flex-start;
  }

  .team.right .team-name,
  .team.right .team-logo {
    order: initial;
  }

  .score-wrap {
    grid-area: auto;
    min-width: 46px;
    align-self: start;
    justify-items: end;
    display: none;
  }

  .signal-panel {
    grid-area: signal;
    justify-items: center;
    align-self: center;
    display: none;
  }

  .signal-list {
    justify-content: center;
  }
}
