/* NewCMS Cinematic Dark Theme for Home Page - Clean Fixed Design */
:root,
.home-v2 {
  --home-coral: #e50914;
  --home-coral-dark: #b80710;
  --home-teal: #06b6d4;
  --home-gold: #f59e0b;
  --home-blue: #6366f1;
  --home-ink: #f8fafc;
  --home-paper: #131622;
  --home-page: #0b0d14;
  --home-line: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(22, 26, 38, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --accent-gradient: linear-gradient(135deg, #e50914 0%, #ff3559 100%);
  --accent-glow: 0 0 25px rgba(229, 9, 20, 0.45);
  background: var(--home-page);
  color: var(--home-ink);
}

/* Global SVG constraint to prevent layout blowouts */
svg {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

.home-main {
  overflow: hidden;
  background: var(--home-page);
  background-image: radial-gradient(circle at 50% 0%, #1a1e2e 0%, #0b0d14 70%);
  color: var(--home-ink);
  padding-top: 16px;
}

/* Spotlight Section (Hero Banner) */
.home-spotlight {
  background: transparent;
  padding: 0 0 32px;
}

.home-spotlight-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

.spotlight-stage {
  position: relative;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #000;
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), visibility 600ms ease;
}

.spotlight-slide[data-active="true"] {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.spotlight-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-slide[data-active="true"]:hover > img {
  transform: scale(1.02);
}

/* Vignette Shade - Keeps center & right side of image clear, left side readable */
.spotlight-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 20, 0.95) 0%, rgba(11, 13, 20, 0.7) 45%, rgba(11, 13, 20, 0.15) 75%, transparent 100%),
              linear-gradient(0deg, rgba(11, 13, 20, 0.85) 0%, transparent 40%);
  pointer-events: none;
}

.spotlight-copy {
  position: absolute;
  right: 36px;
  bottom: 36px;
  left: 36px;
  z-index: 2;
  color: #fff;
  max-width: 560px;
}

.spotlight-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(229, 9, 20, 0.25);
  border: 1px solid rgba(229, 9, 20, 0.5);
  color: #ff526c;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spotlight-copy h1,
.spotlight-copy .spotlight-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.spotlight-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #94a3b8;
}

.spotlight-meta span {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-meta strong {
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  font-weight: 700;
}

.spotlight-description {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotlight-arrow {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(11, 13, 20, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spotlight-arrow:hover {
  background: rgba(229, 9, 20, 0.85);
  border-color: var(--home-coral);
}

.spotlight-arrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.spotlight-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.spotlight-dots button[aria-pressed="true"] {
  width: 24px;
  background: var(--home-coral);
  box-shadow: var(--accent-glow);
}

/* Home Update Feed (Sidebar) */
.home-update-feed {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.home-update-feed > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.home-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--home-coral);
  letter-spacing: 0.5px;
}

.home-update-feed h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.update-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.update-feed-list::-webkit-scrollbar {
  width: 4px;
}

.update-feed-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.update-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.update-feed-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
  transform: translateX(4px);
}

.update-feed-item time {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}

.update-feed-item span {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.update-feed-item strong {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-feed-item small {
  font-size: 11px;
  color: var(--home-teal);
}

.update-feed-item svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
  color: #64748b;
}

/* Notice Band */
.home-notice-band {
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  margin-bottom: 36px;
}

.home-notice-band .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-notice-band p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.home-notice-band p > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-coral);
  box-shadow: 0 0 10px var(--home-coral);
}

.home-notice-band .page-shell > div {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.home-notice-band .page-shell > div a {
  color: #cbd5e1;
  font-weight: 500;
}

.home-notice-band .page-shell > div a:hover {
  color: var(--home-coral);
}

/* Section Headings & Bands */
.home-hot-band,
.home-channel-band {
  padding: 24px 0 36px;
  background: transparent;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.home-title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-title-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--home-coral);
}

.home-title-icon.teal {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--home-teal);
}

.home-title-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.home-section-head h2,
.home-title-lockup h2,
.home-kicker,
.home-more {
  white-space: nowrap !important;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.home-title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-title-lockup div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-title-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--home-coral);
  flex-shrink: 0;
}

.home-title-icon.teal {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--home-teal);
}

.home-title-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.home-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.home-section-head > p {
  display: block;
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  white-space: nowrap;
}

.home-section-head > p strong {
  color: var(--home-coral);
}

.home-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.home-more svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.home-more:hover {
  color: var(--home-coral);
}

.home-more:hover svg {
  transform: translateX(4px);
}

.channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.channel-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

.channel-poster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
}

.channel-poster-grid .home-poster-card {
  min-width: 0;
  flex: 0 0 calc((100% - 70px) / 6);
}

.home-channel-band .home-poster-media {
  aspect-ratio: 3 / 4;
}

.channel-ranking {
  align-self: start;
  height: fit-content;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 16px;
}

.channel-ranking header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}

.channel-ranking h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.channel-ranking header a {
  font-size: 12px;
  color: var(--home-coral);
}

.channel-ranking ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-ranking li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease;
}

.channel-ranking li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.channel-ranking li > span {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.channel-ranking li:nth-child(1) > span {
  color: var(--home-gold);
}

.channel-ranking li a {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.channel-ranking li a strong {
  font-size: 13px;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-ranking li a small {
  font-size: 11px;
  color: #64748b;
}

.channel-ranking li em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--home-gold);
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .home-hot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-hot-grid .home-poster-card:nth-child(n + 9) {
    display: none;
  }
  .channel-layout {
    grid-template-columns: 1fr 280px;
  }
  .channel-feature {
    display: none;
  }
}

@media (max-width: 992px) {
  .home-spotlight-inner {
    grid-template-columns: 1fr;
  }
  .home-update-feed {
    display: flex;
    min-width: 0;
    height: auto;
    padding: 16px;
    box-shadow: none;
  }
  .home-update-feed > header {
    margin-bottom: 10px;
  }
  .update-feed-list {
    min-width: 0;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .update-feed-list::-webkit-scrollbar {
    display: none;
  }
  .update-feed-item {
    flex: 0 0 220px;
  }
  .channel-layout {
    grid-template-columns: 1fr;
  }
  .channel-ranking {
    display: none;
  }
  .channel-poster-grid {
    gap: 18px 14px;
  }
  .channel-poster-grid .home-poster-card {
    flex-basis: calc((100% - 56px) / 5);
  }
}

@media (max-width: 768px) {
  .channel-head,
  .home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
  }

  .home-title-lockup {
    flex: 1;
    min-width: 0;
  }

  .home-section-head h2 {
    font-size: 18px !important;
    white-space: nowrap !important;
  }

  .home-kicker {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .home-more {
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .channel-poster-grid .home-poster-card {
    flex-basis: calc((100% - 42px) / 4);
  }

}

@media (max-width: 640px) {
  .home-hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }
  .channel-poster-grid {
    gap: 16px 8px;
  }
  .channel-poster-grid .home-poster-card {
    flex-basis: calc((100% - 16px) / 3);
  }
  .home-channel-band .home-poster-media {
    aspect-ratio: 2 / 3;
  }
  .home-poster-media {
    border-radius: 8px;
  }
  .home-card-score,
  .home-card-status {
    top: 6px;
    padding: 2px 5px;
    font-size: 10px;
  }
  .home-card-score {
    left: 6px;
  }
  .home-card-status {
    right: 6px;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-poster-card h3 {
    margin-top: 7px;
    font-size: 12px;
  }
  .home-poster-card p {
    font-size: 10px;
  }
  .spotlight-stage {
    height: 360px;
  }
  .spotlight-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .spotlight-copy h1,
  .spotlight-copy .spotlight-title {
    font-size: 22px;
  }
  .spotlight-description {
    display: none;
  }
  .home-hot-grid .home-poster-card:nth-child(n + 7),
  .channel-poster-grid .home-poster-card:nth-child(n + 7) {
    display: none;
  }
}

/* Schedule Timeline Band */
.home-schedule-band {
  padding: 24px 0 36px;
  background: transparent;
}

.schedule-tab-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.schedule-tab-row::-webkit-scrollbar {
  display: none;
}

.schedule-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.schedule-tab.active,
.schedule-tab:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--home-coral);
  color: #fff;
  transform: none;
}

.schedule-day-label {
  font-size: 13px;
  font-weight: 700;
}

.schedule-day-date {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.schedule-panel-container {
  position: relative;
}

.schedule-panel {
  display: none;
}

.schedule-panel.active {
  display: block;
}

.schedule-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.schedule-grid::-webkit-scrollbar {
  height: 4px;
}

.schedule-grid::-webkit-scrollbar-track {
  background: transparent;
}

.schedule-grid::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.schedule-card {
  display: flex;
  flex: 0 0 calc((100% - 70px) / 6.2);
  min-width: 180px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
  scroll-snap-align: start;
}

.schedule-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.schedule-card img {
  width: 48px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.schedule-card-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.schedule-card-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--home-coral);
  margin-bottom: 2px;
}

.schedule-card-info strong {
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-card-info small {
  font-size: 11px;
  color: #64748b;
}

/* Category scoreboards use only normal video fields from the CMS. */
.home-scoreboard-band {
  padding: 24px 0 40px;
}

.scoreboard-tabs {
  display: none;
}

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

.scoreboard-column {
  min-width: 0;
  padding-top: 14px;
  border-top: 2px solid rgba(229, 9, 20, 0.55);
}

.scoreboard-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.scoreboard-column > header > div {
  min-width: 0;
}

.scoreboard-column > header span {
  display: block;
  margin-bottom: 2px;
  color: var(--home-coral);
  font-size: 10px;
  font-weight: 800;
}

.scoreboard-column h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 750;
}

.scoreboard-column > header > a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64748b;
  transition: color 0.2s ease, background 0.2s ease;
}

.scoreboard-column > header > a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.scoreboard-column > header svg {
  width: 14px;
  height: 14px;
}

.scoreboard-column ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scoreboard-item {
  border-bottom: 1px solid var(--glass-border);
}

.scoreboard-item > a {
  display: grid;
  min-height: 66px;
  grid-template-columns: 26px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: 0 -6px;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.scoreboard-item > a:hover {
  background: rgba(255, 255, 255, 0.045);
}

.scoreboard-number {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.scoreboard-item:nth-child(1) .scoreboard-number {
  color: var(--home-gold);
}

.scoreboard-item:nth-child(2) .scoreboard-number {
  color: #cbd5e1;
}

.scoreboard-item:nth-child(3) .scoreboard-number {
  color: #d97706;
}

.scoreboard-item img {
  width: 36px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.scoreboard-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.scoreboard-copy strong,
.scoreboard-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoreboard-copy strong {
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 650;
}

.scoreboard-copy small {
  color: #64748b;
  font-size: 10px;
}

.scoreboard-item em {
  color: var(--home-gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

@media (max-width: 992px) {
  .scoreboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .schedule-grid .schedule-card {
    flex-basis: calc((100% - 28px) / 3.25);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .scoreboard-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
  }

  .scoreboard-tabs button {
    min-width: 0;
    height: 40px;
    padding: 0 4px;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 650;
  }

  .scoreboard-tabs button.active {
    border-color: rgba(229, 9, 20, 0.7);
    background: rgba(229, 9, 20, 0.14);
    color: #fff;
  }

  .scoreboard-grid {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .scoreboard-column {
    display: none;
    width: 100%;
    padding-right: 50px;
  }

  .scoreboard-column.active {
    display: block;
  }
}

@media (max-width: 640px) {
  .home-main {
    padding-top: 10px;
  }

  .home-spotlight {
    padding-bottom: 16px;
  }

  .home-spotlight-inner {
    padding: 0 14px;
    gap: 14px;
  }

  .home-update-feed {
    padding: 14px;
    border-radius: 16px;
  }

  .home-update-feed > header {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .update-feed-list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    flex: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
  }

  .update-feed-item {
    display: grid;
    flex: 0 0 220px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2px;
    min-height: 76px;
    min-width: 0;
    padding: 10px;
    scroll-snap-align: start;
  }

  .update-feed-item time {
    font-size: 10px;
  }

  .update-feed-item span {
    min-width: 0;
  }

  .update-feed-item strong {
    font-size: 12px;
  }

  .update-feed-item small {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .update-feed-item > svg {
    display: none;
  }

  .home-notice-band {
    margin-bottom: 16px;
    padding: 10px 0;
  }

  .home-notice-band .page-shell {
    display: block;
    padding-right: 14px;
    padding-left: 14px;
  }

  .home-notice-band p {
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
  }

  .home-notice-band p > span {
    margin-top: 5px;
    flex: 0 0 8px;
  }

  .home-notice-band .page-shell > div {
    display: none;
  }

  .home-hot-band,
  .home-channel-band,
  .home-schedule-band,
  .home-scoreboard-band {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .home-hot-band,
  .home-channel-band {
    margin-bottom: 0;
  }

  .home-section-head {
    margin-bottom: 16px;
  }

  .home-title-icon {
    width: 38px;
    height: 38px;
  }

  .schedule-tab-row {
    margin-bottom: 14px;
    scroll-snap-type: x proximity;
  }

  .schedule-tab {
    scroll-snap-align: center;
  }

  .schedule-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .schedule-grid::-webkit-scrollbar {
    display: none;
  }

  .schedule-grid .schedule-card {
    flex: 0 0 224px;
    min-height: 78px;
    scroll-snap-align: start;
  }
}
