@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #000000;
  --blue: #007aff;
  --blue-muted: rgba(0, 122, 255, 0.45);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.45);
  --glass: rgba(24, 28, 36, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --tab-inactive: #8e8e93;
  /* Safe area + minimum thumb reach */
  --safe-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  --safe-top: max(0.75rem, env(safe-area-inset-top, 0px));
  --edge-x: max(0.75rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --inset-h: max(0.75rem, var(--edge-x));
  --content-max: 28rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --node-size: clamp(3.5rem, 10vw, 5.25rem);
  --node-size-sm: clamp(2.65rem, 7.5vw, 3.9rem);
  --node-badge: clamp(1.1rem, 2.5vw, 1.4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(14px, 0.2vw + 13px, 16px);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Phone frame (centers on wide screens) --- */
.app {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--bg);
}

.app__frame {
  width: 100%;
  max-width: var(--content-max);
  /* Lock frame to viewport so the tab bar stays at the bottom; only <main> scrolls */
  height: 100svh;
  max-height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  overflow-x: clip;
}

/* --- Top bar --- */
.app__bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  min-height: calc(2.75rem + var(--safe-top));
  padding: var(--safe-top) var(--inset-h) 0.35rem;
  position: relative;
  z-index: 20;
}

.app__bar--split {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  column-gap: 0.25rem;
}

.app__bar__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.app__bar__slot {
  width: 2.75rem;
  height: 2.75rem;
  justify-self: end;
  pointer-events: none;
}

.app__icon-btn,
a.app__icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 20, 0.9);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  flex-shrink: 0;
}

.app__icon-btn:focus-visible,
a.app__icon-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.app__icon-btn:hover,
a.app__icon-btn:hover {
  background: rgba(32, 32, 40, 0.95);
}

.app__icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* --- Main stage (Explore) --- */
.app__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  padding: 0 var(--inset-h);
  padding-bottom: 0.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.app__main--pad {
  padding: 0 var(--inset-h) 1.25rem;
  justify-content: flex-start;
}

.app__main--pad .create-card {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.app__main--history {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.25rem var(--inset-h) 1.25rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

.pexels-attribution {
  margin: 1rem 0 0.25rem;
  padding: 0 0.15rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-dim);
  text-align: center;
}

.pexels-attribution a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pexels-attribution code {
  font-size: 0.62em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

#session-cards {
  flex: 1 1 auto;
  min-height: 0;
}

/* --- Explore: vertical feed (song + insight cards) --- */
.app__main--explore-feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 0.75rem;
}

/* Orbit → continent accordion browse (contrast with center search + search.html) */
.app--continents-browse .app__main--explore-feed {
  background: #000;
  padding-left: clamp(0.5rem, 2.5vw, 0.85rem);
  padding-right: clamp(0.5rem, 2.5vw, 0.85rem);
  padding-top: 0.35rem;
}

.app--continents-browse .song-hero--entity {
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-root--continents .explore-section--collapsible {
  margin-top: 0.5rem;
}

.topic-root--continents .explore-section--collapsible:first-of-type {
  margin-top: 0.2rem;
}

.topic-root--continents .explore-section__toggle {
  padding: 0.68rem 0.6rem 0.68rem 0.55rem;
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(130, 210, 255, 0.95);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

/* --- Orbit home: centered search stack, nodes around, suggestions under search --- */
.app__main--orbit {
  overflow: hidden;
  justify-content: center;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.stage--orbit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  padding: clamp(0.35rem, 2vw, 0.75rem) var(--inset-h);
  /* Nudge hub + ring slightly upward (~5% viewport) */
  transform: translateY(-5vh);
}

/* Subtle globe behind hub + graph lines */
.orbit-earth {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 26rem);
  height: min(92vw, 26rem);
  max-height: min(78svh, 28rem);
  pointer-events: none;
  z-index: 3;
  opacity: 0.8;
}

.orbit-earth__svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 52px rgba(60, 140, 220, 0.17)) drop-shadow(0 0 1px rgba(145, 200, 255, 0.2));
}

.earth-float-icons__item {
  opacity: 0.92;
  pointer-events: none;
}

.earth-float-icons__item rect {
  filter: drop-shadow(0 1px 4px rgba(0, 122, 255, 0.28));
}

.stage--orbit .nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.stage--orbit a.node {
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 122, 255, 0.12);
}

.stage--orbit a.node:focus-visible {
  outline: 2px solid rgba(140, 200, 255, 0.95);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

/* Dotted “data graph” behind category nodes + search stack */
.orbit-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.orbit-stack {
  position: relative;
  z-index: 12;
  width: min(19rem, 100%);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: auto 0;
}

.orbit-stack .search-card {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.orbit-stack .orbit-suggestions {
  position: relative;
  z-index: 15;
  width: 100%;
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.orbit-stack .orbit-suggestions[hidden] {
  display: none !important;
}

/* Hub: icon-only until user opens search */
.orbit-stack:not(.orbit-stack--expanded) {
  align-items: center;
}

.orbit-stack:not(.orbit-stack--expanded) .search-card.search-card--trigger {
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.orbit-stack:not(.orbit-stack--expanded) .search-card__icon-wrap {
  margin-bottom: 0;
}

.orbit-stack:not(.orbit-stack--expanded) .search-card__placeholder {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.orbit-stack--expanded .search-card.search-card--trigger {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(120, 185, 255, 0.16);
}

.search-card__keyword-form {
  display: none;
  margin: 0;
  width: 100%;
}

.orbit-stack--expanded .search-card__keyword-form {
  display: block;
}

.orbit-stack--expanded .search-card__placeholder {
  display: none;
}

.orbit-stack--expanded .search-card__icon-btn {
  display: none;
}

.search-card__keyword-input {
  min-width: 0;
  width: 100%;
  padding: 0.56rem 2.2rem 0.56rem 0.68rem;
  border-radius: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
}

.search-card__keyword-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-card__keyword-row {
  position: relative;
  width: 100%;
}

.search-card__keyword-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.search-card__keyword-input:focus-visible {
  outline: 2px solid rgba(140, 200, 255, 0.9);
  outline-offset: 2px;
}

.search-card__icon-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  display: grid;
  justify-items: center;
  -webkit-tap-highlight-color: transparent;
}

.search-card__icon-btn:focus-visible {
  outline: 2px solid rgba(140, 200, 255, 0.98);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.22);
}

.search-card__keyword-go {
  position: absolute;
  top: 50%;
  right: 0.42rem;
  transform: translateY(-50%);
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.12);
  color: rgba(170, 215, 255, 0.95);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.search-card__keyword-go:hover {
  background: rgba(0, 122, 255, 0.22);
}

.search-card__keyword-go:focus-visible {
  outline: 2px solid rgba(140, 200, 255, 0.92);
  outline-offset: 2px;
}

.orbit-suggestions__item {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 22, 30, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.orbit-suggestions__item:hover {
  border-color: rgba(0, 122, 255, 0.4);
  background: rgba(0, 122, 255, 0.12);
}

.orbit-suggestions__item:active {
  transform: scale(0.99);
}

.stage--orbit .node {
  animation: none;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.stage--orbit .node__drift {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: node-orbit 14s ease-in-out infinite;
}

.stage--orbit .node--tl .node__drift {
  animation-delay: 0s;
}

.stage--orbit .node--t .node__drift {
  animation-delay: -1.2s;
}

.stage--orbit .node--tr .node__drift {
  animation-delay: -2.4s;
}

.stage--orbit .node--ml .node__drift {
  animation-delay: -3.6s;
}

.stage--orbit .node--mr .node__drift {
  animation-delay: -4.8s;
}

.stage--orbit .node--bl .node__drift {
  animation-delay: -6s;
}

.stage--orbit .node--b .node__drift {
  animation-delay: -7.2s;
}

.stage--orbit .node--br .node__drift {
  animation-delay: -8.4s;
}

.node__shell {
  position: relative;
  width: var(--node-size);
  height: var(--node-size);
  flex-shrink: 0;
  overflow: visible;
}

/* Circle clip applies only to the photo; badge sits above without being cut off */
.node__img-clip {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(70, 140, 220, 0.35), rgba(8, 18, 34, 0.92) 72%),
    url("https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?w=300&h=300&fit=crop&q=70");
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stage--orbit .node--sm .node__shell {
  width: var(--node-size-sm);
  height: var(--node-size-sm);
}

.node__caption {
  margin-top: 0.28rem;
  max-width: 5.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.5rem, 1.5vw, 0.58rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  color: rgba(100, 180, 255, 0.85);
  text-shadow: 0 0 12px rgba(0, 122, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .stage--orbit .node__drift {
    animation: none;
  }
}

@keyframes node-orbit {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(
        calc(var(--orbit-tx, 0) * 6px + var(--orbit-nx, 0) * 2px),
        calc(var(--orbit-ty, 0) * 6px + var(--orbit-ny, 0) * 2px)
      )
      scale(1.02);
  }
  50% {
    transform: translate(
        calc(var(--orbit-tx, 0) * -5px + var(--orbit-nx, 0) * 3px),
        calc(var(--orbit-ty, 0) * -5px + var(--orbit-ny, 0) * 3px)
      )
      scale(1.03);
  }
  75% {
    transform: translate(
        calc(var(--orbit-tx, 0) * -4px + var(--orbit-nx, 0) * -2px),
        calc(var(--orbit-ty, 0) * -4px + var(--orbit-ny, 0) * -2px)
      )
      scale(1.01);
  }
}

.topic-hint {
  margin: 1.25rem var(--inset-h) 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-dim);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.topic-hint strong {
  color: var(--blue);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.explore-hub {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: min(50dvh, 22rem);
  padding: 1rem 0 2rem;
  gap: 0.5rem;
}

.explore-search-field-wrap {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.explore-search-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 20, 28, 0.95);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.explore-search-field:hover,
.explore-search-field:focus-visible {
  border-color: rgba(0, 122, 255, 0.45);
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.2), 0 8px 28px rgba(0, 0, 0, 0.4);
}

.explore-search-field__icon {
  flex-shrink: 0;
  color: var(--blue);
  display: flex;
}

.explore-search-field__placeholder {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.search-suggestions {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.35rem 0 0;
}

.search-suggestions__item {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 20, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.search-suggestions__item:hover {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.35);
}

.search-suggestions__item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.explore-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.explore-search-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(24, 28, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-search-strip__inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.explore-search-strip__icon {
  color: var(--blue);
  flex-shrink: 0;
  display: flex;
}

.explore-search-strip__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.explore-search-strip__kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.explore-search-strip__query {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.explore-search-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.explore-search-strip__btn {
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 122, 255, 0.45);
  background: rgba(0, 122, 255, 0.12);
  color: var(--blue);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.explore-search-strip__btn:hover {
  background: rgba(0, 122, 255, 0.22);
}

.explore-search-strip__btn--secondary {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.explore-search-strip__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.explore-results {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.song-hero {
  margin: 0 0 1rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(100, 180, 255, 0.55);
  background: linear-gradient(165deg, rgba(30, 55, 90, 0.35) 0%, rgba(12, 14, 22, 0.9) 100%);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.song-hero__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-muted);
}

.song-hero__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.song-hero__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.song-hero--entity {
  margin-top: 0.15rem;
}

.song-hero--with-thumb .song-hero__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.song-hero__thumb-wrap {
  flex-shrink: 0;
  width: clamp(4rem, 22vw, 5.25rem);
  height: clamp(4rem, 22vw, 5.25rem);
  border-radius: 0.7rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.song-hero__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.song-hero__text {
  flex: 1;
  min-width: 0;
}

.song-hero--with-thumb .song-hero__kicker {
  margin-top: 0.05rem;
}

.song-hero--with-thumb .song-hero__title {
  margin-bottom: 0.35rem;
}

.entity-missing {
  margin: 1.5rem 0;
  padding: 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.entity-missing a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Search results page --- */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.search-results__form {
  margin: 0;
  padding: 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.search-results__label {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.search-results__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.search-results__input {
  min-width: 0;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.search-results__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-results__input:focus-visible {
  outline: 2px solid rgba(140, 200, 255, 0.92);
  outline-offset: 2px;
}

.search-results__submit {
  padding: 0.62rem 0.82rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(0, 122, 255, 0.45);
  background: rgba(0, 122, 255, 0.2);
  color: #e8f3ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.search-results__status {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.search-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-result-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.search-result-card__link {
  display: flex;
  gap: 0.65rem;
  padding: 0.62rem;
  align-items: flex-start;
}

.search-result-card__thumb {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

.search-result-card__thumb--empty {
  display: grid;
  place-items: center;
  color: rgba(180, 215, 255, 0.82);
  font-size: 1rem;
  font-weight: 700;
}

.search-result-card__text {
  min-width: 0;
}

.search-result-card__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.search-result-card__body {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.73);
}

.search-result-card__meta {
  margin: 0.45rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(140, 200, 255, 0.9);
}

.search-results__tunnels {
  margin: 0.9rem 0 0;
  padding: 0.65rem 0.58rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(100, 170, 255, 0.32);
  background: rgba(0, 24, 48, 0.35);
}

.search-results__tunnels[hidden] {
  display: none;
}

.search-results__tunnels-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(150, 210, 255, 0.95);
}

.search-results__tunnels-hint {
  margin: 0.3rem 0 0.45rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

.search-results__tunnels-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-results__tunnel-link {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(200, 230, 255, 0.95);
  text-decoration: none;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-results__tunnel-link:hover,
.search-results__tunnel-link:focus-visible {
  color: #fff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --- Source digest page --- */
.source-digest {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.source-digest__hero {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.68rem;
  background: rgba(0, 0, 0, 0.32);
  padding: 0.62rem;
}

.source-digest__thumb {
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 0.5rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.42);
  flex-shrink: 0;
}

.source-digest__thumb--empty {
  display: grid;
  place-items: center;
  color: rgba(170, 210, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 700;
}

.source-digest__hero-text {
  min-width: 0;
}

.source-digest__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140, 200, 255, 0.88);
}

.source-digest__title {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.source-digest__meta {
  margin: 0.28rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.source-digest__hero-source {
  margin: 0.32rem 0 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.56);
}

.source-digest__hero-source a {
  color: rgba(140, 200, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.source-digest__chunks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.source-digest__chunk {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.62rem;
  background: rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.source-digest__chunk-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(140, 200, 255, 0.9);
}

.source-digest__chunk-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title chev"
    "preview chev";
  gap: 0.28rem 0.55rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0.62rem 0.66rem;
  background: transparent;
  border: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.source-digest__chunk-title {
  grid-area: title;
}

.source-digest__chunk-preview {
  grid-area: preview;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.source-digest__chunk-chev {
  grid-area: chev;
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  color: rgba(180, 215, 255, 0.86);
}

.source-digest__chunk-chev::before {
  content: "";
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.12rem;
  transition: transform 0.18s ease;
}

.source-digest__chunk-toggle[aria-expanded="true"] .source-digest__chunk-chev::before {
  transform: rotate(225deg);
  margin-top: 0.1rem;
}

.source-digest__chunk-panel {
  padding: 0 0.66rem 0.66rem;
}

.source-digest__chunk-panel[hidden] {
  display: none;
}

.source-digest__chunk-body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.source-digest__chunk-loading {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.56);
}

.source-digest__footer {
  margin: 0.12rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.source-digest__footer a {
  color: rgba(140, 200, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.source-digest__tunnels {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.58rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(100, 170, 255, 0.28);
  background: rgba(0, 20, 40, 0.4);
}

.source-digest__tunnels--top {
  margin: 0.35rem 0 0.5rem;
}

.source-digest__tunnels-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(150, 210, 255, 0.95);
}

.source-digest__tunnels-hint {
  margin: 0.3rem 0 0.45rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.source-digest__tunnels-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.source-digest__tunnel-link {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(200, 230, 255, 0.95);
  text-decoration: none;
  padding: 0.2rem 0;
}

.source-digest__tunnel-link:hover,
.source-digest__tunnel-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  outline: none;
}

.source-digest__chunk-body--html {
  max-width: 100%;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.source-digest__chunk-body--html p {
  margin: 0.45rem 0;
}

.source-digest__chunk-body--html p:first-of-type {
  margin-top: 0;
}

.source-digest__chunk-body--html h3,
.source-digest__chunk-body--html h4,
.source-digest__chunk-body--html h2 {
  margin: 0.55rem 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(200, 220, 255, 0.95);
}

.source-digest__chunk-body--html table {
  width: 100%;
  min-width: min(100%, 20rem);
  font-size: 0.75rem;
  border-collapse: collapse;
  margin: 0.4rem 0;
}

.source-digest__chunk-body--html table th,
.source-digest__chunk-body--html table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.3rem;
}

.source-digest__wiki-link {
  color: rgba(140, 200, 255, 0.98);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.source-digest__wiki-link:hover,
.source-digest__wiki-link:focus-visible {
  color: #fff;
  outline: none;
}

.explore-section {
  margin-top: 1rem;
}

.explore-section:first-of-type {
  margin-top: 0.15rem;
}

.explore-section__label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.explore-section--collapsible {
  margin-top: 0.35rem;
}

.explore-section--collapsible:first-of-type {
  margin-top: 0.15rem;
}

.explore-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.45rem 0.55rem 0.2rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(140, 200, 255, 0.92);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 122, 255, 0.12);
  transition: background 0.15s, border-color 0.15s;
}

.explore-section__toggle:hover {
  background: rgba(0, 122, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.28);
}

.explore-section__toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.explore-section__toggle-label {
  flex: 1;
  min-width: 0;
}

.explore-section__chev {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(180, 215, 255, 0.85);
}

.explore-section__chev::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.explore-section__toggle[aria-expanded="true"] .explore-section__chev::before {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.explore-section__panel {
  margin-top: 0.45rem;
}

.explore-section__panel[hidden] {
  display: none;
}

.explore-section__cards {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.topic-wiki-suggest {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-wiki-suggest__label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.topic-wiki-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.5rem;
  min-height: 0.4rem;
  font-size: 0.78rem;
}

a.topic-wiki-suggest__chip {
  display: inline-block;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.15);
  border: 1px solid rgba(0, 122, 255, 0.28);
  color: var(--blue, #0a84ff);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s, border-color 0.12s;
}

a.topic-wiki-suggest__chip:hover {
  background: rgba(0, 122, 255, 0.22);
  border-color: rgba(0, 122, 255, 0.4);
}

a.topic-wiki-suggest__chip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

a.topic-wiki-suggest__fallback {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

a.topic-wiki-suggest__fallback:hover {
  color: var(--text);
}

.topic-lang-sections {
  min-height: 2rem;
}

.topic-lang-status {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(180, 210, 255, 0.9);
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 0.55rem;
}

.topic-lang-error {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 200, 200, 0.95);
  background: rgba(120, 0, 0, 0.25);
  border-radius: 0.55rem;
}

.topic-lang-error a {
  color: var(--blue, #0a84ff);
}

.insight-card {
  padding: 0.65rem 0.75rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

a.insight-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

a.insight-card--link:hover {
  border-color: rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.08);
}

a.insight-card--link:active {
  transform: scale(0.99);
}

a.insight-card--link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.insight-card__title {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.insight-card__body {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.stage {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(14rem, 36svh, 22rem);
  width: 100%;
  max-width: 100%;
  padding: clamp(0.25rem, 2vw, 0.75rem) 0.125rem clamp(0.5rem, 3vw, 1.5rem);
}

/* --- Floating nodes --- */
.nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.node {
  position: absolute;
  width: var(--node-size);
  height: var(--node-size);
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: node-float 5s ease-in-out infinite;
}

.node--tl {
  top: 8%;
  left: 3%;
  animation-delay: 0s;
}

.node--tr {
  top: 6%;
  right: 4%;
  animation-delay: -1.2s;
}

.node--bl {
  bottom: 22%;
  left: 2%;
  animation-delay: -2.3s;
}

.node--br {
  bottom: 20%;
  right: 1%;
  animation-delay: -3.1s;
}

.node__img-clip .node__img,
.node__shell .node__img,
.node__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.node > .node__img {
  border-radius: 50%;
}

.stage--orbit .node--sm .node__badge {
  width: clamp(1rem, 2.2vw, 1.25rem);
  height: clamp(1rem, 2.2vw, 1.25rem);
}

.stage--orbit .node--sm .node__badge svg {
  width: 10px;
  height: 10px;
}

/* Orbit: ring positions around centered search */
.stage--orbit .node--tl {
  top: 9%;
  left: 4%;
}

.stage--orbit .node--t {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.stage--orbit .node--tr {
  top: 8%;
  right: 4%;
}

.stage--orbit .node--ml {
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
}

.stage--orbit .node--mr {
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
}

.stage--orbit .node--bl {
  bottom: 27%;
  left: 5%;
}

.stage--orbit .node--b {
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
}

.stage--orbit .node--br {
  bottom: 25%;
  right: 4%;
}

/* JS ring: category image centers sit on the earth outline; drift animates along rim */
.stage--orbit.nodes--earth-ring .node[data-orbit] {
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

.stage--orbit.nodes--earth-ring .node__caption {
  position: absolute;
  top: calc(100% + 0.28rem);
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
}

@media (max-width: 360px) {
  .stage--orbit .node--ml,
  .stage--orbit .node--mr {
    top: 44%;
  }
}

.node__badge {
  position: absolute;
  right: -0.12rem;
  bottom: -0.12rem;
  z-index: 2;
  width: var(--node-badge);
  height: var(--node-badge);
  border-radius: 0.3rem;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node {
    animation: none;
  }
}

/* --- Glass search card --- */
.search-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: min(18.5rem, 100%);
  margin-inline: auto;
  padding: clamp(1.15rem, 3vw, 1.6rem) clamp(1rem, 3.5vw, 1.35rem) clamp(1.35rem, 3.5vw, 1.85rem);
  border-radius: clamp(1.1rem, 2.5vw, 1.5rem);
  text-align: center;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.search-card__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.search-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a7cff 0%, #1ec8a8 100%);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.search-card__icon svg {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.15;
}

.search-card__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.4vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}

.search-card__placeholder {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--blue-muted);
  letter-spacing: 0.01em;
}

/* --- Bottom tab bar --- */
.tabbar {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.4rem 0.25rem 0.35rem;
  padding-left: max(0.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.25rem, env(safe-area-inset-right, 0px));
  padding-bottom: var(--safe-bottom);
  min-height: calc(3.5rem + var(--safe-bottom));
  background: #000000;
  background: rgba(0, 0, 0, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 30;
}

.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem min(0.75rem, 3vw) 0.4rem;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
  color: var(--tab-inactive);
  font-size: clamp(0.58rem, 1.2vw, 0.64rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.tabbar__item:hover {
  color: #b4b4ba;
}

.tabbar__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.tabbar__item.is-active {
  color: var(--blue);
}

.tabbar__item.is-active .tabbar__ic {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 122, 255, 0.35));
}

.tabbar__item.is-active .tabbar__text {
  border-top: 2px solid var(--blue);
  padding-top: 0.25rem;
  margin-top: 0.1rem;
}

/* --- Create page --- */
.create-card {
  width: 100%;
  max-width: min(100%, 24rem);
  margin: 0.5rem auto 0;
  padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1.05rem, 3vw, 1.35rem) clamp(1.25rem, 3vw, 1.6rem);
  border-radius: clamp(1.1rem, 2.2vw, 1.4rem);
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.create-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.create-card__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.create-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.create-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.create-field__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.create-field__input {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

/* 16px+ inputs avoid iOS zooming focused fields */
@media (max-width: 32rem) {
  .create-field__input {
    font-size: 1rem;
  }
}

.create-field__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.create-field__input:focus {
  outline: none;
  border-color: rgba(0, 122, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.create-field__input--area {
  resize: vertical;
  min-height: 4.5rem;
}

.create-btn {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.35);
  min-height: 2.75rem;
}

.create-btn:hover {
  filter: brightness(1.05);
}

.create-btn:active {
  transform: scale(0.99);
}

.app__main--create {
  width: 100%;
}

/* Create page: same centered column as Explore (inherits .app__frame max-width: var(--content-max)) */
.app.app--create {
  align-items: stretch;
}

.app.app--create .app__main--pad,
.app.app--create .app__main--create {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: var(--safe-top);
}

.app.app--create .create-card {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: min(100%, 100%);
  border-radius: 0;
  border: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  box-sizing: border-box;
}

.create-seg {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.2rem;
  margin: 0 0 1rem;
  padding: 0.2rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.create-seg::-webkit-scrollbar {
  display: none;
}

.create-seg__tab {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  padding: 0.5rem 0.2rem;
  border: none;
  border-radius: 0.45rem;
  font: inherit;
  font-size: clamp(0.5rem, 2.1vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

.create-seg__tab:hover {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
}

.create-seg__tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.create-seg__tab[aria-selected="true"] {
  color: #fff;
  background: rgba(0, 122, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.35);
}

.create-panel {
  margin-top: 0;
}

.create-panel__heading {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.create-subheading {
  margin: 1.15rem 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.create-friend-list,
.create-shared-list,
.create-fav-list,
.create-community-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.create-panel__lede {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.create-panel__lede--secondary {
  margin-top: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.create-panel__link {
  color: rgba(120, 180, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.create-panel__link:hover {
  color: #fff;
}

.create-community-pub {
  display: block;
  padding: 0.6rem 0.65rem 0.7rem;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-community-pub--collapsible {
  padding: 0;
  overflow: hidden;
}

.create-community-pub__summary {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.5rem 0.55rem 0.55rem;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.create-community-pub__summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.create-community-pub__summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.create-community-pub__thumb-wrap {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.45rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-community-pub__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.create-community-pub__rib {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  align-items: flex-start;
}

.create-community-pub__chev {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: rgba(180, 215, 255, 0.75);
}

.create-community-pub__chev::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.create-community-pub__summary[aria-expanded="true"] .create-community-pub__chev::before {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.create-community-pub__details {
  padding: 0 0.55rem 0.65rem;
}

.create-community-pub__details[hidden] {
  display: none;
}

.create-community-pub__kind {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.18rem 0.4rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(200, 215, 235, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

.create-community-pub--article .create-community-pub__kind {
  border-color: rgba(0, 122, 255, 0.32);
  background: rgba(0, 122, 255, 0.1);
  color: rgba(160, 200, 255, 0.95);
}

.create-community-pub--podcast .create-community-pub__kind {
  border-color: rgba(180, 120, 255, 0.4);
  background: rgba(120, 60, 200, 0.15);
  color: rgba(220, 200, 255, 0.95);
}

.create-community-pub--music .create-community-pub__kind {
  border-color: rgba(50, 200, 160, 0.38);
  background: rgba(30, 120, 100, 0.18);
  color: rgba(180, 255, 230, 0.9);
}

.create-community-pub__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.create-community-pub__rib .create-community-pub__title {
  width: 100%;
}

.create-community-pub__details .create-community-pub__player {
  margin-top: 0;
}

.create-community-pub__player {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-community-pub__player--track {
  border-color: rgba(50, 200, 160, 0.2);
  background: rgba(20, 50, 45, 0.35);
}

.create-community-pub__play {
  font-size: 0.7rem;
  color: var(--blue);
  opacity: 0.9;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.create-community-pub__player--track .create-community-pub__play {
  color: rgba(100, 230, 200, 0.95);
}

.create-community-pub__wave {
  flex: 1;
  min-width: 0;
  height: 0.55rem;
  border-radius: 0.2rem;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 2px,
    transparent 2px,
    transparent 5px
  );
  opacity: 0.75;
}

.create-community-pub__wave--dense {
  background: repeating-linear-gradient(
    90deg,
    rgba(100, 230, 200, 0.25) 0,
    rgba(100, 230, 200, 0.25) 1.5px,
    transparent 1.5px,
    transparent 3.5px
  );
  opacity: 0.9;
}

.create-community-pub__time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.create-community-pub__player-hint {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.35);
}

.create-community-pub__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.create-community-pub__row {
  display: grid;
  grid-template-columns: minmax(0, 4.5rem) 1fr;
  gap: 0.2rem 0.5rem;
  align-items: start;
}

.create-community-pub__row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.35;
}

.create-community-pub__row dd {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.create-community-pub__row--sources dt {
  align-self: start;
}

.create-community-pub__sources-list {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.create-community-pub__sources-list li {
  margin: 0.2rem 0 0;
}

.create-community-pub__sources-list li:first-child {
  margin-top: 0;
}

.create-community-pub__sources-line {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.create-friend-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-friend-row__av {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0, 122, 255, 0.2);
  color: rgba(180, 215, 255, 0.95);
  border: 1px solid rgba(0, 122, 255, 0.28);
}

.create-friend-row__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.create-friend-row__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.create-friend-row__status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.create-friend-row__btn {
  flex-shrink: 0;
  padding: 0.38rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(0, 122, 255, 0.4);
  background: rgba(0, 122, 255, 0.12);
  color: var(--blue);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}

.create-friend-row__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.create-invite-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(0, 122, 255, 0.45);
  background: rgba(0, 122, 255, 0.08);
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.create-invite-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.create-soon {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(140, 200, 255, 0.88);
  text-align: center;
}

.create-soon--muted {
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
}

.create-save-status {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: rgba(140, 200, 255, 0.9);
}

.create-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.create-project-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.5rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.create-project-item__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  grid-column: 1;
}

.create-project-item__meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  grid-column: 1;
  grid-row: 2;
}

.create-project-item__remove {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(80, 0, 0, 0.15);
  color: rgba(255, 160, 160, 0.95);
  font: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.create-project-item__remove:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Small tablets / large phones: slightly wider content column */
@media (min-width: 26rem) {
  :root {
    --content-max: 30rem;
  }
}

/* Tablet+ */
@media (min-width: 40rem) {
  :root {
    --content-max: min(32rem, 100vw - 1.5rem);
    --inset-h: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .app {
    background: linear-gradient(160deg, #0a0a0c 0%, #000 40%, #050508 100%);
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .app__frame {
    margin: 0.75rem auto;
    margin-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    height: calc(100svh - 1.5rem);
    max-height: min(calc(100dvh - 1.5rem), 58rem);
    min-height: 0;
    border-radius: 1.5rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 32px 80px rgba(0, 0, 0, 0.7);
  }

  .stage {
    min-height: clamp(16rem, 40svh, 26rem);
  }

  .search-card {
    max-width: min(20rem, 100%);
  }
}

/* Desktop: comfortable reading width, larger focus area */
@media (min-width: 64rem) {
  :root {
    --content-max: min(40rem, calc(100vw - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .app {
    padding: 0.5rem max(0.5rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }

  .app__frame {
    margin: 1rem auto;
    margin-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    height: calc(100svh - 2rem);
    max-height: min(calc(100dvh - 2rem), 64rem);
    min-height: 0;
  }

  .stage {
    min-height: clamp(18rem, 45svh, 30rem);
  }

  .search-card {
    max-width: min(24rem, 100%);
  }

  .search-card__icon {
    width: 4rem;
    height: 4rem;
  }
}

/* Very short viewports: keep chrome usable, allow main to scroll */
@media (max-height: 32rem) {
  .stage {
    min-height: 11rem;
  }
}

/* --- Past sessions (history page) — collapsible cards --- */
.history-group {
  margin-top: 1.1rem;
}

.history-group:first-child {
  margin-top: 0;
}

.history-group__title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.history-group__hint {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

.history-empty {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.2);
}

.session-block--yours {
  border-left: 3px solid rgba(0, 122, 255, 0.5);
}

.session-block {
  margin-top: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(12, 12, 16, 0.85);
  overflow: hidden;
}

.session-block:first-of-type {
  margin-top: 0.25rem;
}

.session-block[open] {
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.12);
}

.session-block__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.session-block__summary-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.session-block__thumb-wrap {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.session-block__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.session-block__summary::-webkit-details-marker,
.session-block__summary::marker {
  display: none;
}

.session-block__summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.session-block__summary:focus {
  outline: none;
}

.session-block__summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  border-radius: 0.35rem;
}

.session-block__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--blue);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-align: left;
  flex: 1;
  min-width: 0;
  display: block;
}

.session-block__chev {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.15s;
}

.session-block[open] .session-block__chev {
  transform: rotate(180deg);
  color: var(--blue);
}

.session-block__body {
  padding: 0 0.65rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.session-block__list {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.55rem 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
}

.session-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.4rem 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.session-row:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.session-row__label {
  margin: 0;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.session-row__value {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
  word-wrap: break-word;
}

@media (min-width: 30rem) {
  .session-row {
    grid-template-columns: 7.25rem 1fr;
    font-size: 0.82rem;
  }
}
