.landing-section-eyebrow {
  display: inline-flex;
  width: max-content;
  margin-bottom: 0.45rem;
  color: rgba(244, 210, 145, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-twitch-section {
  position: relative;
}

.landing-live-stream-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

/* Bezel ledger: the thumbnail sits like a screen inset in a carved frame (the
   .at-card shadow stack), with a recessed three-cell readout below. */
.landing-live-stream-card {
  position: relative;
  min-width: 0;
  padding: 10px 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #172033 0%, #0c1322 55%, #090f1b 100%);
  box-shadow:
    0 30px 70px -22px rgba(0, 0, 0, 0.85),
    0 2px 0 rgba(255, 244, 214, 0.1),
    inset 0 1px 0 rgba(255, 244, 214, 0.22),
    inset 0 -18px 34px -18px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(232, 196, 111, 0.5),
    inset 0 0 0 6px rgba(6, 11, 21, 0.55),
    inset 0 0 0 7px rgba(213, 177, 101, 0.28);
  transition: transform 180ms ease;
}

.landing-live-stream-card:hover,
.landing-live-stream-card:focus-within {
  transform: translateY(-3px);
}

.landing-live-stream-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #020509;
  box-shadow:
    0 0 0 1px #02050b,
    0 0 0 2px rgba(232, 196, 111, 0.42),
    0 6px 14px rgba(0, 0, 0, 0.55);
}

.landing-live-stream-media:focus-visible {
  outline: 2px solid rgba(255, 220, 130, 0.88);
  outline-offset: 3px;
}

.landing-live-stream-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-live-stream-glass {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, transparent 28%);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 240, 200, 0.08);
  pointer-events: none;
}

.landing-live-stream-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 21px;
  padding: 0 7px;
  border-radius: 3px;
  color: #fff;
  background: #c4362b;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.landing-live-stream-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.landing-live-stream-identity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 11px;
  padding: 14px 2px 0;
}

/* The initial underneath shows until (or instead of) the Twitch profile image. */
.landing-live-stream-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  color: #ffe6a9;
  background: radial-gradient(circle at 35% 30%, #4a3816, #120d06);
  box-shadow:
    0 0 0 1px #02050b,
    0 0 0 2px rgba(232, 196, 111, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.5);
  font-family: var(--site-font-title);
  font-size: 1.12rem;
  font-weight: 700;
}

.landing-live-stream-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-live-stream-copy {
  min-width: 0;
}

.landing-live-stream-copy strong {
  display: block;
  overflow: hidden;
  color: #ffe6a9;
  font-family: var(--site-font-title);
  font-size: 1.19rem;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-live-stream-copy p {
  margin: 3px 0 0;
  overflow: hidden;
  color: rgba(244, 231, 202, 0.82);
  font-size: 0.88rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-live-stream-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 2px 0;
  border-radius: 6px;
  background: rgba(2, 6, 13, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(213, 177, 101, 0.22),
    inset 0 2px 8px rgba(0, 0, 0, 0.55);
}

.landing-live-stream-readout > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px clamp(0.5rem, 0.8vw, 0.75rem) 10px;
}

.landing-live-stream-readout > div + div {
  border-left: 1px solid rgba(213, 177, 101, 0.16);
}

.landing-live-stream-readout span {
  overflow: hidden;
  color: rgba(242, 219, 166, 0.62);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.landing-live-stream-readout strong {
  overflow: hidden;
  color: #f6ead0;
  font-family: var(--site-font-title);
  font-size: clamp(1.05rem, 1.35vw, 1.31rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-live-stream-readout .landing-live-stream-viewers {
  color: #f4c56f;
  text-shadow: 0 0 14px rgba(230, 178, 82, 0.25);
}

.landing-live-stream-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 0;
  color: rgba(244, 231, 202, 0.6);
  font-size: 0.85rem;
}

.landing-stream-heading-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-stream-filter-select {
  height: 2.35rem;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(207, 170, 82, 0.34);
  border-radius: var(--site-radius-md);
  color: #f6ead0;
  background: rgba(2, 8, 15, 0.9);
  font: inherit;
  font-size: 0.78rem;
}

.landing-stream-filter-select:focus {
  border-color: rgba(236, 193, 99, 0.76);
  box-shadow: 0 0 0 2px rgba(223, 178, 83, 0.12);
  outline: none;
}

.landing-twitch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.95rem, 1.7vw, 1.25rem);
}

.landing-twitch-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.landing-twitch-card::before,
.landing-entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(255, 234, 178, 0.13) 42%, transparent 58%),
    radial-gradient(circle at 16% 0%, rgba(244, 197, 105, 0.18), transparent 18rem);
  transform: translateX(-18%);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 420ms ease;
}

.landing-twitch-card:hover,
.landing-twitch-card:focus-within,
.landing-entry-card:hover,
.landing-entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 220, 130, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 232, 158, 0.09), rgba(1, 8, 18, 0.12)),
    radial-gradient(circle at 20% 0%, rgba(89, 160, 220, 0.12), transparent 17rem),
    rgba(5, 17, 34, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 176, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(225, 173, 76, 0.16);
}

.landing-twitch-card:hover::before,
.landing-twitch-card:focus-within::before {
  opacity: 1;
  transform: translateX(18%);
}

/* Keep the Explore sheen over the entire anchor, including its icon column. */
.landing-entry-card::before {
  transform: none;
}

.landing-entry-card:hover::before,
.landing-entry-card:focus-visible::before {
  opacity: 1;
  transform: none;
}

.landing-twitch-media {
  position: relative;
  z-index: 2;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(240, 190, 90, 0.16), transparent 62%),
    rgba(3, 14, 27, 0.88);
  text-decoration: none;
}

.landing-twitch-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.001);
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.landing-twitch-card:hover .landing-twitch-media img,
.landing-twitch-card:focus-within .landing-twitch-media img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.08);
}

.landing-twitch-duration {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  padding: 0.2rem 0;
  color: #fff3cf;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 5px #000, 0 0 8px #000;
}

.landing-twitch-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  padding: clamp(1rem, 1.7vw, 1.25rem);
}

.landing-twitch-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.landing-twitch-language {
  color: rgba(242, 219, 166, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-twitch-card h3 {
  margin: 0.65rem 0 0;
  color: #fff2c8;
  font-family: var(--site-font-title);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.16;
}

.landing-twitch-card h3 a {
  color: inherit;
  text-decoration: none;
}

.landing-twitch-card h3 a:hover,
.landing-twitch-card h3 a:focus-visible {
  color: #ffe4a5;
}

.landing-twitch-creator,
.landing-twitch-meta {
  margin: 0.72rem 0 0;
  color: rgba(241, 228, 198, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}

.landing-twitch-creator {
  color: rgba(255, 242, 212, 0.9);
}

.landing-twitch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  color: rgba(242, 198, 105, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-twitch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: max-content;
  margin-top: 1rem;
  color: #f3c46e;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-twitch-link:hover,
.landing-twitch-link:focus-visible {
  color: #ffe4a5;
}

.landing-twitch-fallback {
  display: grid;
  grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  overflow: hidden;
}

.landing-twitch-fallback-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: rgba(3, 14, 27, 0.88);
}

.landing-twitch-fallback-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(5, 13, 27, 0.74)),
    radial-gradient(circle at 48% 16%, rgba(245, 190, 92, 0.18), transparent 8rem);
  pointer-events: none;
}

.landing-twitch-fallback-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-twitch-fallback-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.landing-twitch-fallback-copy h3 {
  margin: 0.7rem 0 0;
  color: #fff2c8;
  font-family: var(--site-font-title);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 760;
  line-height: 1.12;
}

.landing-twitch-fallback-copy p {
  max-width: 52rem;
  margin: 0.8rem 0 0;
  color: rgba(241, 228, 198, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.48;
}

.landing-entry-card {
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 176, 0.035),
    0 14px 34px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.landing-entry-card > img,
.landing-entry-card > span {
  position: relative;
  z-index: 2;
}

.landing-entry-card::after {
  z-index: 2;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    color 180ms ease;
}

.landing-entry-card:hover::after,
.landing-entry-card:focus-visible::after {
  color: #ffe0a0;
  transform: translate(3px, -50%);
}

.landing-entry-card img {
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.landing-entry-card:hover img,
.landing-entry-card:focus-visible img {
  transform: translateY(-2px) scale(1.04);
  filter:
    drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 14px rgba(235, 188, 92, 0.2));
}

.landing-entry-card strong,
.landing-entry-card small {
  transition: color 180ms ease;
}

.landing-entry-card:hover strong,
.landing-entry-card:focus-visible strong {
  color: #ffe7ac;
}

.landing-twitch-card a:focus-visible,
.landing-twitch-link:focus-visible,
.landing-entry-card:focus-visible {
  outline: 2px solid rgba(255, 220, 130, 0.88);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .landing-live-stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .landing-live-stream-grid {
    grid-template-columns: 1fr;
  }

  .landing-twitch-grid {
    grid-template-columns: 1fr;
  }

  .landing-twitch-fallback {
    grid-template-columns: 1fr;
  }

  .landing-twitch-fallback-media {
    min-height: 170px;
  }

  .landing-twitch-fallback-media::after {
    background:
      linear-gradient(180deg, transparent 0 48%, rgba(5, 13, 27, 0.72)),
      radial-gradient(circle at 48% 16%, rgba(245, 190, 92, 0.18), transparent 8rem);
  }

  .landing-entry-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-twitch-card,
  .landing-twitch-card::before,
  .landing-twitch-media img,
  .landing-entry-card,
  .landing-entry-card::before,
  .landing-entry-card::after,
  .landing-entry-card img,
  .landing-entry-card strong,
  .landing-entry-card small {
    transition: none;
  }

  .landing-twitch-card:hover,
  .landing-twitch-card:focus-within,
  .landing-entry-card:hover,
  .landing-entry-card:focus-visible,
  .landing-twitch-card:hover .landing-twitch-media img,
  .landing-twitch-card:focus-within .landing-twitch-media img,
  .landing-entry-card:hover img,
  .landing-entry-card:focus-visible img {
    transform: none;
  }
}

/* =========================================================
   Homepage refresh: gilded bevel panels and section touch-ups
   ========================================================= */

/* A metallic gradient edge (painted through a transparent border) plus an inner
   keyline. The keyline is an inset outline so it never competes with the
   ::before/::after decorations some cards already use. */
.landing-panel,
.landing-community-section .hub-card {
  --landing-bevel-fill: rgba(4, 12, 25, 0.86);
  --landing-bevel-sheen: linear-gradient(180deg, rgba(255, 232, 158, 0.055), rgba(1, 8, 18, 0.15));
  border: 1px solid transparent;
  border-radius: var(--site-radius-md);
  background:
    var(--landing-bevel-sheen) padding-box,
    linear-gradient(var(--landing-bevel-fill), var(--landing-bevel-fill)) padding-box,
    linear-gradient(180deg, rgba(255, 228, 156, 0.9), rgba(160, 106, 40, 0.5) 35%, rgba(221, 181, 94, 0.22) 65%, rgba(233, 189, 93, 0.6)) border-box;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  outline: 1px solid rgba(255, 230, 160, 0.13);
  outline-offset: -4px;
}

.landing-news-card,
.landing-entry-card {
  --landing-bevel-fill: #061020;
}

.landing-community-section .hub-card {
  --landing-bevel-fill: #0a111d;
  --landing-bevel-sheen: linear-gradient(180deg, rgba(255, 236, 176, 0.055), rgba(0, 0, 0, 0.08));
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

/* Hover keeps the bevel: only the fill brightens, the edge stays painted. */
.landing-entry-card:hover,
.landing-entry-card:focus-visible,
.landing-community-section .hub-card:hover,
.landing-community-section .hub-card:focus-within {
  --landing-bevel-fill: rgba(5, 17, 34, 0.92);
  --landing-bevel-sheen: linear-gradient(180deg, rgba(255, 232, 158, 0.09), rgba(1, 8, 18, 0.12));
  border-color: transparent;
  background:
    var(--landing-bevel-sheen) padding-box,
    linear-gradient(var(--landing-bevel-fill), var(--landing-bevel-fill)) padding-box,
    linear-gradient(180deg, rgba(255, 236, 176, 1), rgba(190, 128, 50, 0.62) 35%, rgba(232, 192, 104, 0.34) 65%, rgba(246, 204, 108, 0.78)) border-box;
}

.landing-entry-card:focus-visible {
  outline: 2px solid rgba(255, 220, 130, 0.88);
  outline-offset: 4px;
}

.landing-entry-card {
  padding-right: 2.75rem;
}

.landing-entry-card small {
  margin-top: 0.5rem;
}

.landing-section-heading h2::after {
  content: none;
}

.landing-community-section,
.landing-explore-section {
  padding-top: 0;
  border-top: 0;
}

.landing-community-section::before,
.landing-explore-section::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, transparent, rgba(218, 180, 99, 0.38) 20%, rgba(255, 232, 160, 0.5) 50%, rgba(218, 180, 99, 0.38) 80%, transparent);
}

/* Stats strip: labels and values hug the shared midline; the footer centres
   the activity comparison and pins freshness to the right. */
.landing-live-stat span {
  align-self: end;
}

.landing-live-stat strong {
  align-self: start;
  margin-top: 0.25rem;
}

.landing-live-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.4rem 0.8rem;
  border-top: 1px solid rgba(217, 179, 97, 0.18);
}

.landing-live-footer .landing-live-status {
  grid-column: 2;
  padding: 0;
  border-top: 0;
}

.landing-live-footer .landing-live-freshness {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: right;
}

.landing-live-footer .landing-live-freshness::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7cd38f;
  box-shadow: 0 0 8px rgba(124, 211, 143, 0.7);
}

.landing-live-footer .landing-live-freshness[data-refresh-delayed]::before {
  background: #e6b45a;
  box-shadow: 0 0 8px rgba(230, 180, 90, 0.6);
}

/* News: the summary clamps so "Read More" lines up along the card bottoms. */
.landing-news-card {
  min-height: 0;
}

.landing-news-card-image {
  border-bottom: 1px solid rgba(221, 181, 94, 0.3);
}

.landing-news-card-body {
  display: flex;
  flex-direction: column;
}

.landing-news-card-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.landing-news-link {
  margin-top: auto;
  padding-top: 1rem;
}

.landing-news-link::after {
  content: "›";
}

/* Community media on the homepage only; the shared card partial is untouched. */
.landing-community-section .hub-card-media {
  border-bottom: 1px solid rgba(221, 181, 94, 0.3);
}

.landing-community-section .hub-card-media-fallback {
  position: relative;
  isolation: isolate;
  color: #eec76e;
  background: #071525;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.landing-community-section .hub-card-media-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.35), rgba(4, 10, 20, 0.75)),
    url("../assets/optimized/images/homepage/Gods_Portrait_Window_Multi.9ab44cf91783.webp") center / cover no-repeat;
  opacity: 0.75;
}

.landing-community-section .hub-card-duration {
  right: 10px;
  bottom: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(4, 9, 18, 0.86);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

.landing-community-section .hub-card h3,
.landing-community-section .hub-card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.landing-community-section .hub-card h3 {
  -webkit-line-clamp: 2;
}

.landing-community-section .hub-card-summary {
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
}

@media (max-width: 720px) {
  .landing-live-footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.5rem;
    padding-inline: 1rem;
  }

  .landing-live-footer .landing-live-status,
  .landing-live-footer .landing-live-freshness {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }
}

/* Live strip "Show details": Popular Times from /api/activity/trends. */
.landing-activity-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.12rem;
  padding: 0.38rem 0.88rem;
  border: 1px solid rgba(221, 181, 94, 0.45);
  border-radius: 6px;
  color: #f8e6ad;
  background: rgba(224, 177, 76, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease;
}

.landing-activity-toggle:hover,
.landing-activity-toggle:focus-visible {
  border-color: rgba(240, 200, 110, 0.75);
  background: rgba(224, 177, 76, 0.18);
}

.landing-activity-toggle:focus-visible {
  outline: 2px solid rgba(255, 220, 130, 0.88);
  outline-offset: 2px;
}

.landing-activity-toggle svg {
  transition: transform 160ms ease;
}

.landing-activity-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.landing-live-footer .landing-live-status,
.landing-live-footer .landing-live-freshness {
  grid-row: 1;
}

.landing-activity-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20.6rem);
  gap: 2.25rem;
  padding: 1.62rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(217, 179, 97, 0.18);
}

.landing-activity-details[hidden] {
  display: none;
}

/* Until the data arrives only the status line shows. */
.landing-activity-details:not(.is-ready) > :not(.landing-activity-status) {
  display: none;
}

.landing-activity-main,
.landing-activity-bests {
  display: grid;
  gap: 0.88rem;
  align-content: start;
  min-width: 0;
}

.landing-activity-bests {
  gap: 0.75rem;
}

.landing-activity-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.landing-activity-head > div {
  display: grid;
  gap: 0.25rem;
}

.landing-activity-eyebrow,
.landing-activity-best > span {
  color: #e8c46f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-activity-title {
  margin: 0;
  color: #f6ead0;
  font-family: var(--site-font-title);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.landing-activity-tz {
  color: rgba(241, 228, 198, 0.66);
  font-size: 0.81rem;
}

.landing-activity-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.landing-activity-days button {
  min-height: 2.5rem;
  border: 1px solid rgba(221, 181, 94, 0.22);
  border-radius: 6px;
  color: rgba(241, 228, 198, 0.75);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
}

.landing-activity-days button:hover {
  border-color: rgba(240, 200, 110, 0.6);
}

.landing-activity-days button.is-selected {
  border-color: rgba(240, 200, 110, 0.7);
  color: #fff2c8;
  background: rgba(224, 177, 76, 0.2);
}

.landing-activity-dayline {
  display: grid;
  gap: 0.12rem;
  color: #f6ead0;
  font-size: 0.94rem;
}

.landing-activity-dayline small {
  color: rgba(241, 228, 198, 0.6);
  font-size: 0.81rem;
}

.landing-activity-chart {
  display: grid;
  gap: 0.38rem;
  padding-top: 1.25rem;
}

.landing-activity-bars,
.landing-activity-axis {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: clamp(2px, 0.35vw, 5px);
}

.landing-activity-bars {
  align-items: end;
  height: 9.4rem;
  border-bottom: 1px solid rgba(217, 179, 97, 0.22);
}

.landing-activity-bar {
  position: relative;
  height: var(--bar-height, 0%);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 3px 3px 0 0;
  background: rgba(196, 146, 78, 0.72);
  cursor: pointer;
}

.landing-activity-bar:hover {
  filter: brightness(1.25);
}

.landing-activity-bar:focus-visible {
  outline: 2px solid rgba(255, 220, 130, 0.88);
  outline-offset: 2px;
}

.landing-activity-bar.is-selected {
  background: #f4c56f;
}

.landing-activity-bar.is-now {
  box-shadow: 0 0 0 1px #fff2c8, 0 0 14px rgba(244, 197, 111, 0.4);
}

/* No supported cell: a short dashed stub, never a zero-height "quiet" bar. */
.landing-activity-bar.is-missing {
  height: 6%;
  border: 1px dashed rgba(221, 181, 94, 0.35);
  border-bottom: 0;
  background: transparent;
}

.landing-activity-now {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  color: #f4c56f;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.landing-activity-axis span {
  overflow: visible;
  color: rgba(241, 228, 198, 0.6);
  font-size: 0.69rem;
  white-space: nowrap;
}

.landing-activity-summary {
  margin: 0;
  color: #f4c56f;
  font-size: 1rem;
}

.landing-activity-coverage {
  margin: 0;
  color: rgba(241, 228, 198, 0.55);
  font-size: 0.78rem;
  line-height: 1.5;
}

.landing-activity-best {
  display: grid;
  gap: 0.25rem;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(221, 181, 94, 0.3);
  border-radius: 6px;
  background: rgba(224, 177, 76, 0.05);
}

.landing-activity-best strong {
  color: #f6ead0;
  font-family: var(--site-font-title);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

.landing-activity-best.is-withheld strong {
  color: rgba(246, 234, 208, 0.62);
  font-size: 1.25rem;
}

.landing-activity-best small {
  color: rgba(241, 228, 198, 0.7);
  font-size: 0.84rem;
  line-height: 1.4;
}

.landing-activity-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid rgba(255, 205, 101, 0.6);
  border-radius: 6px;
  color: #fff2c8;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.landing-activity-link:hover,
.landing-activity-link:focus-visible {
  background: rgba(224, 177, 76, 0.15);
}

.landing-activity-status {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(241, 228, 198, 0.7);
  font-size: 0.88rem;
  text-align: center;
}

.landing-activity-status:empty {
  display: none;
}

@media (max-width: 980px) {
  .landing-activity-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .landing-activity-toggle {
    grid-row: auto;
    justify-self: center;
  }

  .landing-live-footer .landing-live-status,
  .landing-live-footer .landing-live-freshness {
    grid-row: auto;
  }

  .landing-activity-details {
    gap: 1.5rem;
    padding: 1.25rem 1rem;
  }

  .landing-activity-head {
    flex-direction: column;
    gap: 0.4rem;
  }

  .landing-activity-days {
    gap: 0.25rem;
  }

  .landing-activity-days button {
    font-size: 0.78rem;
  }

  .landing-activity-axis span {
    font-size: 0.6rem;
  }
}
