/* Home page layout, grouped-feed presentation, and sidebar modules. */

.story-cluster {
  display: grid;
  gap: 0.45rem;
  position: relative;
}
.story-cluster--stacked {
  padding-right: 1rem;
  padding-bottom: 1.5rem;
}
.story-cluster--stacked::before,
.story-cluster--stacked::after {
  content: "";
  position: absolute;
  left: 0;
  right: 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 244, 246, 0.94));
  border: 1px solid rgba(24, 24, 29, 0.08);
  box-shadow: 0 18px 34px rgba(31, 22, 17, 0.08);
  pointer-events: none;
}
.story-cluster--stacked::before {
  top: 0.52rem;
  bottom: 0.52rem;
  transform: translate(0.55rem, 0);
  opacity: 0.92;
  z-index: 0;
}
.story-cluster--stacked::after {
  top: 1.02rem;
  bottom: 0;
  transform: translate(1.05rem, 0);
  opacity: 0.74;
  z-index: 0;
}
.story-cluster.is-expanded::before,
.story-cluster.is-expanded::after {
  opacity: 0.24;
}
.story-cluster__summary.is-expandable {
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 22px 42px rgba(31, 22, 17, 0.1);
}
.story-cluster__hint {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.44rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(24, 24, 29, 0.08);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  line-height: 1.35;
  color: var(--text-dim);
}
.story-cluster__hint-meta {
  min-width: 0;
  flex: 1 1 auto;
}
.story-cluster__hint-action {
  flex: 0 0 auto;
  color: var(--link-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.story-cluster__chevron {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.14s ease;
}
.story-cluster.is-expanded .story-cluster__chevron {
  transform: rotate(225deg);
}
.story-cluster__detail {
  margin-top: -0.18rem;
  padding: 0.78rem 0.9rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 243, 245, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.story-cluster__detail-title {
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.story-cluster__list {
  list-style: none;
  display: grid;
  gap: 0.72rem;
}
.story-cluster__item {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(24, 24, 29, 0.08);
}
.story-cluster__item:first-child {
  padding-top: 0;
  border-top: none;
}
.story-cluster__item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.44rem;
  color: var(--text-dim);
  font-size: 0.65rem;
}
.story-cluster__item-title {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.42;
}
.story-cluster__item-link {
  color: var(--text);
  text-decoration: none;
}
.story-cluster__item-link:hover {
  color: var(--link-hover);
  text-decoration: none;
}
.story-cluster__item-summary {
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.5;
}
.story-cluster__item-footer {
  margin-top: 0.08rem;
}
.story-cluster__item .home-sentiment-admin {
  margin-top: 0.12rem;
}

.home-sentiment-admin {
  margin-top: var(--sp-sm);
  display: grid;
  gap: var(--sp-sm);
}
.home-sentiment-admin__toggle {
  width: fit-content;
}

.coverage-highlight-group {
  margin-top: var(--sp-sm);
}
.coverage-highlight-group__title {
  margin-bottom: var(--sp-xs);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.coverage-highlight-feature {
  border-bottom: none;
}
.coverage-highlight-feature .sidebar-disclosure__summary {
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 243, 245, 0.94));
}
.coverage-highlight-feature .sidebar-disclosure__panel {
  margin-top: 0.42rem;
}
.coverage-highlight-feature__term {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.coverage-highlight-feature__note {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-social-context {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}
.home-social-story-item {
  align-items: start;
}
.home-social-story-item--with-image {
  grid-template-columns: 84px minmax(0, 1fr);
}
.home-social-story-item--fallback {
  grid-template-columns: 56px minmax(0, 1fr);
}
.home-social-story-item .lead-support-body {
  gap: 0.28rem;
}
.home-social-story-item .lead-support-link {
  font-size: 0.92rem;
  line-height: 1.38;
}
.home-social-story-item .source-detail {
  font-size: 0.68rem;
}
.home-social-thumb-wrap {
  width: 100%;
}
.home-social-thumb-wrap--image {
  aspect-ratio: 4 / 3;
}
.home-social-thumb-wrap--fallback {
  aspect-ratio: 1 / 1;
  max-width: 56px;
}
.home-social-thumb-wrap .lead-support-image--placeholder {
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.home-social-table th:nth-child(1),
.home-social-table td:nth-child(1) {
  width: 58%;
}
.home-social-table th:nth-child(2),
.home-social-table td:nth-child(2) {
  width: 16%;
}
.home-social-table th:nth-child(3),
.home-social-table td:nth-child(3) {
  width: 26%;
}

.signal-card {
  min-width: 0;
}

.home-magazine-shell {
  padding-top: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}
.home-magazine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
  gap: 2rem;
  align-items: start;
}
.home-main-column,
.home-sidebar-column {
  min-width: 0;
}
.home-main-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.home-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.home-panel,
.home-sidebar-panel {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.home-panel::before,
.home-sidebar-panel::before {
  display: none;
}
.home-panel + .home-panel,
.home-sidebar-panel + .home-sidebar-panel {
  padding-top: 1.45rem;
  border-top: 1px solid rgba(24, 24, 29, 0.08);
}
.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(24, 24, 29, 0.08);
}
.home-page .home-section-head .section-kicker {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  letter-spacing: 0.12em;
}
.home-page .sidebar-card__title {
  margin-bottom: 0.35rem;
}
.home-page .sidebar-card__desc {
  max-width: 34ch;
  margin-top: 0;
  margin-bottom: 1rem;
}
.home-page .signal-radar-module {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(24, 24, 29, 0.08);
}
.signal-radar-module__desc {
  margin: 0.2rem 0 0.8rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.45;
}
.home-page .sidebar-disclosure__panel {
  border-color: rgba(24, 24, 29, 0.06);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 244, 246, 0.82));
  box-shadow: none;
}
.home-page .coverage-highlight-feature .sidebar-disclosure__summary {
  border-color: rgba(24, 24, 29, 0.06);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 243, 245, 0.9));
}
.home-page .steam-top-table-wrap {
  border-color: rgba(24, 24, 29, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}
.home-page .steam-top-table th {
  background: rgba(255, 255, 255, 0.78);
}
.home-page .steam-top-table td {
  background: rgba(255, 255, 255, 0.44);
}
.home-panel-controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-sm);
  margin-bottom: 0.95rem;
}
.home-page .home-panel-controls .filter-chip {
  min-width: 150px;
}
.home-page .filter-bar {
  margin-bottom: 1.15rem;
}
.home-page .pagination {
  padding-top: 0.75rem;
}
.home-mobile-sidebar-slot {
  display: none;
}
.article-list--continued[hidden] {
  display: none !important;
}

.lead-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: var(--sp-lg);
  align-items: start;
}
.lead-feature__primary {
  display: grid;
  gap: 0.75rem;
}
.lead-feature__image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-raised);
}
.lead-feature__image--fallback {
  object-fit: cover;
}
.lead-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.lead-feature__footer {
  margin-top: 0.15rem;
}
.lead-feature__title {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.lead-feature__title a {
  color: var(--text);
}
.lead-feature__title a:hover {
  color: var(--link-hover);
}
.lead-feature__dek {
  max-width: 58ch;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.72;
}
.lead-feature__dek--social {
  font-size: 0.9rem;
  line-height: 1.62;
}
.lead-feature__rail {
  min-width: 0;
}
.lead-support-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  padding-top: 0;
  border-top: 0;
}
.lead-support-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.68rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 244, 246, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.lead-support-thumb-wrap {
  width: 48px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  aspect-ratio: 1 / 1;
}
.lead-support-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lead-support-image--empty {
  background:
    radial-gradient(circle at top left, rgba(109, 92, 255, 0.25), rgba(109, 92, 255, 0)),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.lead-support-image--fallback {
  object-fit: cover;
  background: var(--surface-raised);
}
.lead-support-body {
  display: grid;
  gap: 0.38rem;
}
.lead-support-link {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}
.lead-support-link:hover {
  color: var(--link-hover);
}
.lead-support-summary {
  -webkit-line-clamp: 3;
  font-size: 0.74rem;
}
.lead-support-meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-dim);
}
.lead-support-footer {
  margin-top: 0.12rem;
}
.lead-social-card {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border);
}

.signal-radar-card {
  display: grid;
  gap: 0.8rem;
}
.signal-radar-stack {
  display: grid;
  gap: 0.8rem;
}
.signal-radar-module {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(160, 189, 222, 0.14);
}
.signal-radar-module:first-child {
  padding-top: 0;
  border-top: none;
}
.signal-radar-module__title {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: #5f5b67;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-charts-wrap {
  display: grid;
  gap: 0.85rem;
}
.platform-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.platform-chart-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.72rem;
  border: 1px solid rgba(24, 24, 29, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.platform-chart-tab:hover {
  color: var(--text);
  border-color: rgba(24, 24, 29, 0.16);
  background: rgba(255, 255, 255, 0.98);
}
.platform-chart-tab.is-active {
  color: #fff7f5;
  background: var(--accent);
  border-color: var(--accent);
}
.platform-chart-panel {
  display: grid;
  gap: 0.7rem;
}
.platform-chart-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}
.platform-chart-panel__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.platform-chart-panel__subtitle {
  margin-top: 0.18rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-dim);
}
.platform-chart-source {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.steam-top-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(24, 24, 29, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.steam-top-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.78rem;
}
.steam-top-table th {
  padding: 0.55rem 0.72rem;
  text-align: left;
  background: rgba(244, 244, 246, 0.96);
  border-bottom: 1px solid rgba(24, 24, 29, 0.06);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.steam-top-table td {
  padding: 0.58rem 0.72rem;
  border-bottom: 1px solid rgba(24, 24, 29, 0.05);
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.72);
}
.steam-top-table tbody tr:last-child td {
  border-bottom: none;
}
.steam-top-rank,
.steam-top-players {
  font-family: var(--font-mono);
  white-space: nowrap;
}
.steam-top-rank {
  width: 2.4rem;
  color: var(--text-dim);
}
.steam-top-game {
  min-width: 0;
  color: var(--text);
}
.steam-top-link {
  color: var(--text);
  text-decoration: none;
}
.platform-chart-row-meta {
  margin-top: 0.2rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  line-height: 1.35;
}
.steam-top-link:hover {
  color: var(--link-hover);
  text-decoration: none;
}
.steam-top-players {
  text-align: right;
  color: var(--text);
}

.lead-social-card__title {
  margin-bottom: var(--sp-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead-social-list {
  list-style: none;
  display: grid;
  gap: var(--sp-sm);
}
.lead-social-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(18, 33, 52, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.lead-social-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.lead-social-item__title a,
.lead-social-link {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}
.lead-social-item__title a:hover,
.lead-social-link:hover {
  color: var(--link-hover);
}
.lead-social-item__stats {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-dim);
}

.home-social-card {
  min-width: 0;
}
.home-social-table-wrap {
  margin-top: var(--sp-sm);
}
.home-social-table {
  table-layout: fixed;
}
.home-social-table th,
.home-social-table td {
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
}
.home-social-table th {
  white-space: nowrap;
}
.home-social-table td:nth-child(1) {
  width: 62%;
}
.home-social-table td:nth-child(2) {
  width: 18%;
}
.home-social-table td:nth-child(3) {
  width: 20%;
}
.home-social-story-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}
.home-social-story-thumb {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}
.home-social-story-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}
.home-social-story-title {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.38;
  min-width: 0;
}
.home-social-story-title a {
  color: inherit;
}
.home-social-story-title a:hover {
  color: var(--link-hover);
}
.article-card__summary--social {
  -webkit-line-clamp: 3;
}
.home-social-story-stats {
  display: grid;
  justify-items: start;
  gap: 0.12rem;
}

@media (max-width: 980px) {
  .home-magazine-layout {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }
  .home-main-column {
    display: contents;
  }
  .home-panel--lead {
    order: 1;
  }
  .home-panel--feed {
    order: 2;
  }
  .home-mobile-sidebar-slot {
    display: block;
    margin: 1.15rem 0 1.25rem;
  }
  .home-mobile-sidebar-slot[hidden] {
    display: none;
  }
  .home-mobile-sidebar-slot .home-sidebar-column {
    gap: 1.1rem;
  }
  .lead-support-list {
    grid-template-columns: 1fr;
  }
  .coverage-highlight-summary {
    grid-template-columns: 1fr;
  }
  .story-cluster__detail {
    padding: 0.72rem 0.78rem 0.8rem;
  }
  .steam-top-table th,
  .steam-top-table td {
    padding-left: 0.58rem;
    padding-right: 0.58rem;
  }
}

@media (max-width: 720px) {
  .home-magazine-shell {
    padding-top: var(--sp-md);
  }
  .home-section-head {
    margin-bottom: var(--sp-md);
    padding-bottom: 0.65rem;
  }
  .home-panel-controls {
    justify-content: flex-start;
    margin-bottom: 0.85rem;
  }
  .lead-feature__title {
    font-size: 1.5rem;
    max-width: none;
  }
  .lead-feature__dek {
    font-size: 0.9rem;
  }
  .lead-support-item {
    padding: 0.6rem;
  }
  .home-panel + .home-panel,
  .home-sidebar-panel + .home-sidebar-panel {
    padding-top: 1.1rem;
  }
  .home-social-story-item--with-image {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .home-social-story-item--fallback {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .home-social-story-title {
    font-size: 0.84rem;
  }
}

@media (max-width: 560px) {
  .signal-radar-stack {
    gap: 0.7rem;
  }
  .lead-feature {
    grid-template-columns: 1fr;
  }
  .home-social-table td:nth-child(1),
  .home-social-table td:nth-child(2),
  .home-social-table td:nth-child(3) {
    width: auto;
  }
}
