/* =====================================================================
 * Scroll of Fire — Living Homepage Interface
 * Phase IVF
 *
 * Purpose:
 *   Turn the homepage from a sequence of independent sections into the
 *   primary temporal surface of the Codex.
 *
 * Architecture:
 *   canonical time authority -> Living Sphere instrument -> command surface
 *   -> Codex continuity -> projections -> deeper public/project sections.
 * ===================================================================== */

.home-page {
  --home-live-cyan: var(--cyan, #7af3ff);
  --home-live-gold: var(--gold, #f3c97a);
  --home-live-ember: var(--ember, #ff7a3d);
  --home-live-panel: rgba(5, 9, 17, 0.82);
  --home-live-panel-strong: rgba(4, 8, 16, 0.94);
  --home-live-line: rgba(122, 243, 255, 0.14);
  --home-live-line-hot: rgba(122, 243, 255, 0.36);
  --home-live-radius: 22px;
}

/* ---------------------------------------------------------------------
 * Sphere section becomes the temporal center rather than another card.
 * --------------------------------------------------------------------- */

.home-page .home-living-sphere {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.4rem, 5vw, 5rem);
}

.home-page .home-living-sphere::before {
  content: "";
  position: absolute;
  inset: -10% -10% -8%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 38%,
      color-mix(
        in srgb,
        var(--moon-accent, #7af3ff) 11%,
        transparent
      ),
      transparent 31rem
    ),
    radial-gradient(
      circle at 30% 56%,
      rgba(122, 243, 255, 0.055),
      transparent 29rem
    ),
    radial-gradient(
      circle at 72% 62%,
      rgba(243, 201, 122, 0.045),
      transparent 27rem
    );
}

.home-page .home-living-sphere__inner {
  width: min(100%, 1280px) !important;
}

.home-page .home-living-sphere__header {
  width: min(850px, 100%);
}

.home-page .home-living-sphere__header h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

/* ---------------------------------------------------------------------
 * Live temporal command surface
 * --------------------------------------------------------------------- */

.home-temporal-console {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns:
    minmax(0, 1.18fr)
    repeat(3, minmax(0, 0.8fr));
  gap: 0.65rem;
  width: min(100%, 1050px);
  margin: 0 auto -1rem;
  padding: 0.7rem;
  border: 1px solid var(--home-live-line);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(11, 19, 30, 0.94),
      rgba(3, 7, 13, 0.91)
    );
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 45px rgba(122, 243, 255, 0.025);
  backdrop-filter: blur(18px);
}

.home-temporal-console__now,
.home-temporal-console__cell {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.022);
}

.home-temporal-console__now {
  background:
    radial-gradient(
      circle at 0 0,
      rgba(122, 243, 255, 0.09),
      transparent 58%
    ),
    rgba(255, 255, 255, 0.026);
}

.home-temporal-console__label {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.25rem;
  color: rgba(204, 220, 229, 0.58);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-temporal-console__label::before {
  content: "";
  flex: none;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(122, 243, 255, 0.42);
}

.home-temporal-console__now .home-temporal-console__label::before {
  background: #68f0b6;
  box-shadow: 0 0 12px rgba(104, 240, 182, 0.55);
}

.home-temporal-console strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(246, 242, 226, 0.96);
  font-size: clamp(0.77rem, 1.5vw, 0.94rem);
  line-height: 1.35;
}

.home-temporal-console__now strong {
  color: var(--home-live-cyan);
  font-size: clamp(0.9rem, 1.7vw, 1.08rem);
}

.home-temporal-console small {
  display: block;
  margin-top: 0.14rem;
  color: rgba(199, 212, 220, 0.52);
  font-size: 0.68rem;
  line-height: 1.35;
}

/* ---------------------------------------------------------------------
 * Stage
 * --------------------------------------------------------------------- */

.home-page .home-living-sphere__stage {
  width: min(100%, 980px) !important;
  border-color: rgba(122, 243, 255, 0.2) !important;
  border-radius: clamp(1rem, 2vw, 1.75rem) !important;
  background:
    radial-gradient(
      circle at 50% 47%,
      color-mix(
        in srgb,
        var(--moon-accent, #7af3ff) 8%,
        transparent
      ),
      transparent 44%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(122, 243, 255, 0.065),
      transparent 70%
    ),
    linear-gradient(
      160deg,
      #070b16,
      #02040a 72%
    ) !important;
}

.home-page .home-living-sphere__viewport {
  max-height: min(84vh, 920px) !important;
}

.home-page .home-living-sphere__hud {
  inset: clamp(0.7rem, 1.8vw, 1.25rem) !important;
}

.home-page .home-living-sphere__hud strong {
  max-width: 18rem;
}

/* De-emphasize renderer diagnostics once the sphere is ready. */
.home-page
.home-living-sphere__stage.has-renderer-3d
.home-living-sphere__render-state {
  opacity: 0.56;
}

.home-page .home-living-sphere__render-state {
  transition:
    opacity 180ms ease,
    border-color 180ms ease;
}

/* ---------------------------------------------------------------------
 * Sphere navigation rail
 * --------------------------------------------------------------------- */

.home-sphere-command-rail {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 0.75rem;
  align-items: center;
  width: min(100%, 980px);
  margin: -0.25rem auto 0;
}

.home-sphere-command-rail__status {
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.home-sphere-command-rail__status p {
  margin: 0;
}

.home-sphere-command-rail__status strong {
  color: var(--home-live-gold);
}

.home-sphere-command-rail__status small {
  display: block;
  margin-top: 0.18rem;
  color: rgba(196, 211, 220, 0.55);
  line-height: 1.45;
}

.home-sphere-command-rail__actions {
  display: flex;
  gap: 0.5rem;
}

.home-live-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(122, 243, 255, 0.17);
  border-radius: 12px;
  color: rgba(226, 238, 242, 0.85);
  background: rgba(8, 15, 24, 0.74);
  font: inherit;
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.home-live-mini-btn:hover,
.home-live-mini-btn:focus-visible {
  border-color: rgba(122, 243, 255, 0.48);
  color: #fff;
  outline: none;
}

/* ---------------------------------------------------------------------
 * Unified projection dock
 * --------------------------------------------------------------------- */

.home-projection-dock {
  position: sticky;
  bottom: max(0.6rem, env(safe-area-inset-bottom));
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  width: min(calc(100% - 1rem), 760px);
  margin: 1.15rem auto 0;
  padding: 0.42rem;
  border: 1px solid rgba(122, 243, 255, 0.16);
  border-radius: 18px;
  background: rgba(4, 8, 15, 0.88);
  box-shadow:
    0 16px 46px rgba(0, 0, 0, 0.4),
    inset 0 0 28px rgba(122, 243, 255, 0.022);
  backdrop-filter: blur(18px);
}

.home-projection-dock a {
  display: grid;
  gap: 0.14rem;
  place-items: center;
  min-width: 0;
  min-height: 50px;
  padding: 0.38rem 0.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(208, 220, 227, 0.7);
  text-align: center;
  text-decoration: none;
}

.home-projection-dock a:hover,
.home-projection-dock a:focus-visible,
.home-projection-dock a[aria-current="page"] {
  border-color: rgba(122, 243, 255, 0.18);
  color: rgba(250, 247, 236, 0.96);
  background: rgba(122, 243, 255, 0.055);
  outline: none;
}

.home-projection-dock__glyph {
  font-size: 1rem;
  line-height: 1;
}

.home-projection-dock__name {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
 * Continuity strip
 * --------------------------------------------------------------------- */

.home-continuity-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, 0.75fr);
  gap: 0.8rem;
  width: min(100%, 980px);
  margin: 0 auto;
}

.home-continuity-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.034),
      rgba(255, 255, 255, 0.012)
    );
}

.home-continuity-panel h3,
.home-continuity-panel p {
  margin-top: 0;
}

.home-continuity-panel h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.home-continuity-panel p {
  margin-bottom: 0;
  color: rgba(195, 209, 217, 0.64);
  line-height: 1.55;
}

.home-continuity-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.home-continuity-metric {
  min-width: 0;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.home-continuity-metric strong,
.home-continuity-metric span {
  display: block;
}

.home-continuity-metric strong {
  color: var(--home-live-gold);
  font-size: 1rem;
}

.home-continuity-metric span {
  margin-top: 0.15rem;
  color: rgba(190, 204, 212, 0.52);
  font-size: 0.66rem;
}

/* ---------------------------------------------------------------------
 * Consolidate the existing live Codex section visually beneath the sphere.
 * Existing DOM and functionality remain untouched.
 * --------------------------------------------------------------------- */

.home-page .codex-live-grid {
  position: relative;
  width: min(1180px, calc(100% - clamp(2rem, 4vw, 3rem)));
  margin-inline: auto;
  padding-top: clamp(1rem, 2vw, 2rem);
}

.home-page .codex-live-grid::before {
  content: "YOUR LIVING CODEX";
  grid-column: 1 / -1;
  margin: 0 0 -0.15rem;
  color: rgba(122, 243, 255, 0.54);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

/* Returning users should read this as one workspace, not random cards. */
.home-page .codex-live-grid > .card {
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.032),
      rgba(255, 255, 255, 0.012)
    );
}

/* ---------------------------------------------------------------------
 * Physical phones requesting Desktop site still receive phone composition.
 * --------------------------------------------------------------------- */

@media (pointer: coarse), (hover: none) {
  .home-temporal-console {
    grid-template-columns: 1fr 1fr;
  }

  .home-temporal-console__now {
    grid-column: 1 / -1;
  }

  .home-page .home-living-sphere__stage {
    width: 100% !important;
  }

  .home-page .home-living-sphere__viewport {
    aspect-ratio: 1 / 1;
    min-height: min(92vw, 520px) !important;
    max-height: none !important;
  }

  .home-sphere-command-rail {
    grid-template-columns: 1fr;
  }

  .home-sphere-command-rail__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-live-mini-btn {
    min-height: 46px;
  }

  .home-projection-dock {
    position: relative;
    bottom: auto;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .home-page .home-living-sphere {
    padding-inline: 0.65rem;
  }

  .home-temporal-console {
    grid-template-columns: 1fr 1fr;
    margin-bottom: -0.45rem;
    padding: 0.5rem;
    border-radius: 17px;
  }

  .home-temporal-console__now {
    grid-column: 1 / -1;
  }

  .home-temporal-console__cell,
  .home-temporal-console__now {
    padding: 0.62rem;
  }

  .home-page .home-living-sphere__hud {
    inset: 0.62rem !important;
  }

  .home-page .home-living-sphere__hud p {
    max-width: 9.5rem;
  }

  .home-page .home-living-sphere__hud strong {
    font-size: 0.67rem;
  }

  .home-continuity-grid {
    grid-template-columns: 1fr;
  }

  .home-continuity-panel__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-projection-dock {
    grid-template-columns: repeat(6, minmax(52px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .home-projection-dock::-webkit-scrollbar {
    display: none;
  }

  .home-projection-dock a {
    min-width: 52px;
  }
}

@media (max-width: 420px) {
  .home-temporal-console {
    grid-template-columns: 1fr;
  }

  .home-temporal-console__now {
    grid-column: auto;
  }

  .home-continuity-panel__metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-live-mini-btn,
  .home-projection-dock a,
  .home-page .home-living-sphere__render-state {
    transition: none !important;
  }
}

/* =====================================================================
 * Phase IVF-D/E — temporal navigation + semantic page depth
 * ===================================================================== */

.home-time-navigation {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: min(100%, 920px);
  margin: 1.45rem auto 0.7rem;
  padding: 0.62rem;
  border: 1px solid rgba(122, 243, 255, 0.11);
  border-radius: 18px;
  background: rgba(4, 9, 16, 0.72);
  backdrop-filter: blur(14px);
}

.home-time-navigation__controls {
  display: grid;
  grid-template-columns:
    46px
    auto
    46px;
  gap: 0.35rem;
}

.home-time-nav-btn {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(122, 243, 255, 0.16);
  border-radius: 12px;
  color: rgba(237, 244, 245, 0.88);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.home-time-nav-btn--today {
  padding-inline: 0.78rem;
  color: var(--home-live-gold);
}

.home-time-nav-btn:hover,
.home-time-nav-btn:focus-visible {
  border-color: rgba(122, 243, 255, 0.5);
  background: rgba(122, 243, 255, 0.065);
  outline: none;
}

.home-time-navigation__scrubber {
  min-width: 0;
}

.home-time-navigation__scrubber label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.32rem;
  color: rgba(192, 207, 216, 0.56);
  font-size: 0.67rem;
}

.home-time-navigation__scrubber label strong {
  overflow: hidden;
  color: rgba(245, 242, 231, 0.92);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-time-navigation__scrubber input[type="range"] {
  width: 100%;
  accent-color: var(--home-live-cyan);
}

.home-time-navigation__scrubber p {
  margin: 0.25rem 0 0;
  color: rgba(182, 199, 208, 0.45);
  font-size: 0.62rem;
  line-height: 1.4;
}

/* ---------------------------------------------------------------------
 * Context surface
 * --------------------------------------------------------------------- */

.home-context-surface {
  display: grid;
  grid-template-columns:
    1.05fr
    0.85fr
    1.1fr;
  gap: 0.65rem;
  width: min(100%, 980px);
  margin: 0 auto 0.9rem;
}

.home-context-card {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.012)
    );
}

.home-context-card .eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.58rem;
}

.home-context-card strong,
.home-context-card span {
  display: block;
}

.home-context-card strong {
  color: rgba(244, 242, 231, 0.93);
  font-size: 0.86rem;
  line-height: 1.35;
}

.home-context-card span {
  margin-top: 0.26rem;
  color: rgba(190, 205, 213, 0.55);
  font-size: 0.7rem;
  line-height: 1.45;
}

.home-context-card a {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--home-live-cyan);
  font-size: 0.69rem;
  font-weight: 750;
  text-decoration: none;
}

.home-context-card a:hover,
.home-context-card a:focus-visible {
  color: var(--home-live-gold);
  text-decoration: underline;
  outline: none;
}

.home-context-card--coordinate {
  border-color: rgba(243, 201, 122, 0.12);
}

/* ---------------------------------------------------------------------
 * Live versus exploration state
 * --------------------------------------------------------------------- */

[data-home-live-root][data-home-temporal-mode="exploring"]
.home-temporal-console__now
.home-temporal-console__label::before {
  background: var(--home-live-gold);
  box-shadow: 0 0 12px rgba(243, 201, 122, 0.36);
}

[data-home-live-root][data-home-temporal-mode="exploring"]
.home-time-nav-btn--today {
  border-color: rgba(243, 201, 122, 0.34);
  background: rgba(243, 201, 122, 0.065);
}

/* ---------------------------------------------------------------------
 * Page interface reacts gently to semantic depth.
 *
 * This is informational composition only. It never drives camera state.
 * --------------------------------------------------------------------- */

[data-home-semantic-depth="far"]
.home-context-card--atlas {
  opacity: 0.62;
}

[data-home-semantic-depth="near"]
.home-context-card--coordinate,
[data-home-semantic-depth="detail"]
.home-context-card--coordinate {
  border-color: rgba(122, 243, 255, 0.2);
}

[data-home-semantic-depth="detail"]
.home-context-card--atlas {
  border-color: rgba(122, 243, 255, 0.24);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(122, 243, 255, 0.055),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.025);
}

/* ---------------------------------------------------------------------
 * Touch / physical phone
 * --------------------------------------------------------------------- */

@media (pointer: coarse), (hover: none) {
  .home-time-navigation {
    grid-template-columns: 1fr;
  }

  .home-time-navigation__controls {
    grid-template-columns:
      52px
      minmax(0, 1fr)
      52px;
  }

  .home-time-nav-btn {
    min-height: 48px;
  }

  .home-context-surface {
    grid-template-columns: 1fr;
  }

  .home-context-card {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .home-time-navigation {
    margin-top: 0.8rem;
    padding: 0.5rem;
  }

  .home-time-navigation__scrubber label {
    display: grid;
    gap: 0.12rem;
  }

  .home-time-navigation__scrubber label strong {
    white-space: normal;
  }

  .home-context-surface {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-time-nav-btn,
  .home-context-card {
    transition: none !important;
  }
}

/* =====================================================================
 * Phase IVF-F/G — Life Atlas temporal context
 * ===================================================================== */

.home-life-atlas-state {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.home-life-atlas-state > span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 11px;
  color: rgba(191, 204, 212, 0.54);
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.6rem;
  text-align: center;
}

.home-life-atlas-state b {
  color: rgba(245, 242, 231, 0.92);
  font-size: 0.9rem;
}

.home-life-atlas-state
[data-home-atlas-state="past"] {
  border-color: rgba(153, 184, 218, 0.1);
}

.home-life-atlas-state
[data-home-atlas-state="selected"] {
  border-color: rgba(122, 243, 255, 0.2);
  background: rgba(122, 243, 255, 0.04);
}

.home-life-atlas-state
[data-home-atlas-state="selected"] b {
  color: var(--home-live-cyan);
}

.home-life-atlas-state
[data-home-atlas-state="future"] {
  border-color: rgba(243, 201, 122, 0.12);
}

.home-life-atlas-state
[data-home-atlas-state="future"] b {
  color: var(--home-live-gold);
}

.home-life-atlas-nearby {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.home-life-atlas-nearby__title {
  margin: 0 0 0.45rem;
  color: rgba(194, 208, 216, 0.58);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-life-atlas-nearby__list {
  display: grid;
  gap: 0.35rem;
}

.home-life-atlas-record {
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border-left: 2px solid rgba(190, 206, 216, 0.18);
  border-radius: 0 9px 9px 0;
  background: rgba(255, 255, 255, 0.018);
}

.home-life-atlas-record strong,
.home-life-atlas-record span {
  display: block;
}

.home-life-atlas-record strong {
  overflow: hidden;
  color: rgba(239, 240, 232, 0.86);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-life-atlas-record span {
  margin-top: 0.12rem;
  color: rgba(185, 199, 207, 0.48);
  font-size: 0.58rem;
}

.home-life-atlas-record[data-temporal-state="past"] {
  border-left-color: rgba(153, 184, 218, 0.36);
}

.home-life-atlas-record[data-temporal-state="selected"] {
  border-left-color: var(--home-live-cyan);
  background: rgba(122, 243, 255, 0.035);
}

.home-life-atlas-record[data-temporal-state="future"] {
  border-left-color: rgba(243, 201, 122, 0.5);
  background: rgba(243, 201, 122, 0.025);
}

@media (max-width: 420px) {
  .home-life-atlas-state {
    gap: 0.25rem;
  }

  .home-life-atlas-state > span {
    padding-inline: 0.3rem;
  }
}

/* =====================================================================
 * Phase B1.1 — Live Today / Selected temporal identity
 * ===================================================================== */

.home-temporal-selection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: min(100%, 920px);
  margin: 1rem auto -0.7rem;
}

.home-temporal-selection__live,
.home-temporal-selection__selected {
  display: grid;
  gap: 0.12rem;
  padding: 0.72rem 0.9rem;
  border-radius: 15px;
}

.home-temporal-selection__live {
  border: 1px solid rgba(104, 240, 182, 0.16);
  background: rgba(104, 240, 182, 0.035);
}

.home-temporal-selection__selected {
  border: 1px solid rgba(243, 201, 122, 0.24);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(243, 201, 122, 0.08),
      transparent 58%
    ),
    rgba(243, 201, 122, 0.035);
}

.home-temporal-selection__label {
  color: rgba(194, 210, 218, 0.58);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-temporal-selection__live strong {
  color: #68f0b6;
}

.home-temporal-selection__selected strong {
  color: var(--home-live-gold);
}

.home-temporal-selection small {
  color: rgba(190, 204, 212, 0.52);
  font-size: 0.66rem;
}

.home-temporal-selection [hidden] {
  display: none !important;
}

[data-home-live-root][data-home-temporal-mode="exploring"]
.home-temporal-selection {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px), (pointer: coarse), (hover: none) {
  [data-home-live-root][data-home-temporal-mode="exploring"]
  .home-temporal-selection {
    grid-template-columns: 1fr;
  }
}
