:root {
  color-scheme: light dark;
  --bg: #f6f2ec;
  --bg-elev: #ffffff;
  --text: #1f1b16;
  --muted: #6a5f55;
  --accent: #c05023;
  --accent-contrast: #ffffff;
  --border: #e2dad1;
  --shadow: 0 20px 60px rgba(37, 28, 19, 0.14);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(192, 80, 35, 0.2);
  color: var(--text);
}

[data-theme="dark"] {
  --bg: #110f0d;
  --bg-elev: #1b1713;
  --text: #f2ece6;
  --muted: #b6aca2;
  --accent: #f0a14a;
  --accent-contrast: #1d140b;
  --border: #2e2721;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Fraunces", "Georgia", serif;
  background: radial-gradient(circle at top, rgba(255, 210, 171, 0.35), transparent 55%),
    linear-gradient(135deg, var(--bg) 0%, #efe7dc 100%);
  color: var(--text);
  transition: background 300ms ease, color 300ms ease;
}

:focus-visible {
  outline: 2px solid rgba(192, 80, 35, 0.7);
  outline-offset: 3px;
}

body.language-gate-open {
  overflow: hidden;
}

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 16, 26, 0.7);
  backdrop-filter: blur(4px);
}

.language-gate[hidden] {
  display: none;
}

.language-gate__panel {
  width: min(460px, 100%);
  border-radius: 18px;
  padding: 24px;
  background: #f6f2ee;
  border: 1px solid rgba(17, 17, 17, 0.16);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.25);
}

.language-gate__panel h2 {
  margin: 6px 0 10px;
  font-family: "Sorts Mill Goudy", "Georgia", serif;
}

.language-gate__panel p {
  margin: 0;
}

.language-gate__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[data-theme="dark"] body {
  background: radial-gradient(circle at top, rgba(255, 196, 109, 0.08), transparent 55%),
    linear-gradient(135deg, var(--bg) 0%, #0b0a09 100%);
}

.page {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 72px;
  display: grid;
  gap: 28px;
}

.sidebar {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.sidebar__title {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar__nav {
  display: grid;
  gap: 10px;
}

.sidebar__link {
  text-decoration: none;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.sidebar__link:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
}

[data-theme="dark"] .sidebar__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sidebar__link[aria-current="page"] {
  border-color: var(--accent);
  background: rgba(192, 80, 35, 0.12);
  color: var(--text);
  font-weight: 600;
}

.video-hero {
  display: grid;
  gap: 16px;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-elev);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.source-note {
  font-size: 14px;
  color: var(--muted);
}

.source-note a {
  color: inherit;
  word-break: break-all;
}

.post {
  background: var(--bg-elev);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 56px 48px;
  box-shadow: var(--shadow);
}

.post__header {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.eyebrow {
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.post h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.02em;
}

.dek {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.post__body {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  display: grid;
  gap: 18px;
  font-size: 17px;
  line-height: 1.7;
}

.post__body h2 {
  margin: 18px 0 0;
  font-size: 22px;
}

.post__body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.post__body li {
  color: var(--muted);
}

.mid-media {
  display: grid;
  gap: 24px;
  align-items: start;
}

.mid-media__article {
  display: flex;
  justify-content: flex-end;
}

.article-card {
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.article-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.article-card__headline {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

.article-card__source {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-row {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 12px;
}

[data-theme="dark"] .share-row {
  background: rgba(0, 0, 0, 0.2);
}

.share-row__label {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 10px 20px rgba(209, 107, 31, 0.25);
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn--ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.share-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.share-row__hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: rgba(17, 17, 17, 0.06);
}

.page-progress__bar {
  display: block;
  width: var(--page-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, #f0a14a 0%, #c05023 100%);
  transition: width 120ms ease;
}

.page-utilities {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.page-utilities.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-utilities__btn {
  min-width: 58px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.page-utilities__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.2);
}

.page-utilities__btn[hidden] {
  display: none;
}

[data-theme="dark"] .page-progress {
  background: rgba(246, 242, 238, 0.08);
}

[data-theme="dark"] .page-utilities__btn {
  background: rgba(27, 23, 19, 0.92);
  color: #f6f2ee;
  border-color: rgba(246, 242, 238, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

body.home {
  --touch-lock-scroll: 0px;
}

body.home.touch-lock-active {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--touch-lock-scroll, 0px) * -1);
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.touch-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(10, 16, 26, 0.02);
  backdrop-filter: blur(1.5px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.touch-lock-overlay[hidden] {
  display: none;
}

.touch-lock-control {
  --touch-lock-progress: 0;
  position: fixed;
  left: 14px;
  bottom: 16px;
  z-index: 96;
  display: none;
  width: 64px;
  min-height: 58px;
  padding: 9px 8px 10px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.touch-lock-control::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(192, 80, 35, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 100%);
  pointer-events: none;
}

.touch-lock-control::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--touch-lock-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, #f0a14a 0%, #c05023 100%);
  transition: width 80ms linear;
}

.touch-lock-control:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.2);
}

.touch-lock-control.is-arming {
  box-shadow: 0 18px 32px rgba(192, 80, 35, 0.22);
}

.touch-lock-control__label,
.touch-lock-control__hint {
  position: relative;
  display: block;
  z-index: 1;
}

.touch-lock-control__label {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.touch-lock-control__hint {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(17, 17, 17, 0.58);
}

body.home.touch-lock-active .touch-lock-control {
  background: rgba(22, 18, 15, 0.94);
  color: #fffaf4;
  border-color: rgba(255, 244, 229, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

body.home.touch-lock-active .touch-lock-control::before {
  background:
    linear-gradient(160deg, rgba(240, 161, 74, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 100%);
}

body.home.touch-lock-active .touch-lock-control__hint {
  color: rgba(255, 250, 244, 0.7);
}

[data-theme="dark"] .touch-lock-control {
  background: rgba(27, 23, 19, 0.94);
  color: #f6f2ee;
  border-color: rgba(246, 242, 238, 0.16);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.36);
}

[data-theme="dark"] .touch-lock-control__hint {
  color: rgba(246, 242, 238, 0.68);
}

[id],
.post__body h2,
.post__body h3,
.archive-main h2,
.archive-main h3,
.story h2,
.story h3 {
  scroll-margin-top: 108px;
}

.ad-slot {
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .ad-slot {
  background: rgba(0, 0, 0, 0.25);
}

.ad-slot__label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.ad-slot--leader {
  margin: 12px 0 0;
}

.ad-slot--inline {
  margin: 12px 0;
}

.ad-slot--footer {
  margin: 12px 0 0;
}

.cta {
  text-decoration: none;
  border: none;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 12px 24px rgba(209, 107, 31, 0.35);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.cta:hover {
  transform: translateY(-2px);
}

.ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  transition: transform 200ms ease, background 200ms ease;
}

.ghost:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 860px) {
  .layout {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    align-items: start;
  }

  .sidebar {
    position: sticky;
    top: 24px;
  }

  .mid-media {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr);
  }
}

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

  .post {
    padding: 40px 28px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-card {
    max-width: 100%;
  }
}

/* Homepage */
body.home {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: #111111;
  background: radial-gradient(circle at 20% 10%, rgba(255, 214, 170, 0.45), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(186, 220, 255, 0.6), transparent 40%),
    #f6f2ee;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(240px, 360px) minmax(260px, 1fr);
  gap: 24px;
  padding: 48px 6vw 48px;
  align-items: center;
  margin-bottom: 24px;
}

.brand-hero__media {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 360px;
  min-height: 360px;
  aspect-ratio: 1 / 1;
}

.brand-hero__media img {
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 22px 40px rgba(17, 17, 17, 0.2);
  object-fit: cover;
}

.creator-lab-cta {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: none;
}

.creator-lab-cta .btn {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  justify-content: center;
}

.creator-lab-cta .btn--primary {
  border: 1px solid rgba(205, 180, 116, 0.6);
  background: linear-gradient(108deg, #b89346 0%, #efd48a 36%, #fff7df 52%, #f0d58a 68%, #bc984c 100%);
  color: #4a3811;
  box-shadow: 0 6px 14px rgba(128, 92, 20, 0.2);
}

.creator-lab-cta .btn--primary:link,
.creator-lab-cta .btn--primary:visited,
.creator-lab-cta .btn--primary:hover,
.creator-lab-cta .btn--primary:active,
.creator-lab-cta .btn--primary:focus-visible {
  color: #4a3811;
  -webkit-text-fill-color: #4a3811;
}

[data-theme="dark"] .creator-lab-cta .btn--primary,
[data-theme="dark"] .creator-lab-cta .btn--primary:link,
[data-theme="dark"] .creator-lab-cta .btn--primary:visited,
[data-theme="dark"] .creator-lab-cta .btn--primary:hover,
[data-theme="dark"] .creator-lab-cta .btn--primary:active,
[data-theme="dark"] .creator-lab-cta .btn--primary:focus-visible {
  background: linear-gradient(108deg, #b89346 0%, #efd48a 36%, #fff7df 52%, #f0d58a 68%, #bc984c 100%);
  color: #4a3811;
  -webkit-text-fill-color: #4a3811;
  border-color: rgba(205, 180, 116, 0.6);
}

.creator-lab-cta .btn--primary:hover {
  box-shadow: 0 8px 16px rgba(128, 92, 20, 0.24);
  filter: brightness(1.02);
}

.creator-lab-cta .btn--stitch-cloud {
  border: 1px solid rgba(154, 201, 240, 0.9);
  background:
    radial-gradient(circle at 22% 34%, rgba(255, 255, 255, 0.95) 0 20%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 52% 44%, rgba(246, 252, 255, 0.96) 0 24%, rgba(246, 252, 255, 0) 40%),
    radial-gradient(circle at 80% 36%, rgba(238, 249, 255, 0.95) 0 19%, rgba(238, 249, 255, 0) 34%),
    linear-gradient(120deg, #cce9fb 0%, #dff3ff 46%, #eef9ff 100%);
  color: #1a4a73;
  box-shadow: 0 8px 18px rgba(106, 163, 210, 0.24);
}

.creator-lab-cta .btn--stitch-cloud:link,
.creator-lab-cta .btn--stitch-cloud:visited,
.creator-lab-cta .btn--stitch-cloud:hover,
.creator-lab-cta .btn--stitch-cloud:active,
.creator-lab-cta .btn--stitch-cloud:focus-visible {
  color: #1a4a73;
  -webkit-text-fill-color: #1a4a73;
}

.creator-lab-cta .btn--stitch-cloud:hover {
  box-shadow: 0 10px 20px rgba(106, 163, 210, 0.3);
  filter: brightness(1.02);
}

.brand-hero__copy {
  align-self: center;
  max-width: 560px;
}

.brand-hero__copy h1 {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  margin: 10px 0 14px;
  line-height: 1.2;
}

.brand-hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.brand-hero__episodes {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.08);
  max-width: 360px;
  min-height: 360px;
  aspect-ratio: 1 / 1;
  height: 100%;
  overflow-y: auto;
}

.brand-hero__episodes-wrap {
  display: grid;
  gap: 8px;
  align-content: start;
}

.home-header__quick-links {
  display: grid;
  gap: 8px;
}

.episode-ignite-note {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.32;
  color: rgba(17, 17, 17, 0.62);
  letter-spacing: 0.01em;
}

.episode-mini {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.episode-mini a,
.episode-mini button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 0.85rem;
  width: 100%;
  text-align: left;
}

.episode-mini button {
  cursor: pointer;
  font: inherit;
}

.episode-mini a:hover,
.episode-mini button:hover {
  border-color: rgba(17, 17, 17, 0.25);
}

.episode-mini a:focus-visible,
.episode-mini button:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.6);
  outline-offset: 2px;
}

.episode-mini a.is-active,
.episode-mini button.is-active {
  border-color: rgba(17, 17, 17, 0.65);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}

.episode-mini a span,
.episode-mini button span {
  display: inline-flex;
  min-width: 46px;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111111;
  color: #f6f2ee;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.home a {
  color: inherit;
  text-decoration: none;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(246, 242, 238, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: "Sorts Mill Goudy", "Georgia", serif;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.15);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.55);
}

.home-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-nav a {
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.home-nav a:hover {
  border-color: rgba(17, 17, 17, 0.6);
}

.home-header__todo-cta {
  min-width: auto;
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.genie-entry.is-spotlighted {
  outline: 2px solid rgba(192, 80, 35, 0.6);
  outline-offset: 6px;
  border-radius: 20px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 56px 6vw 44px;
  gap: 24px;
  align-items: center;
}

.hero__copy h1 {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: clamp(2.1rem, 2.8vw, 3.1rem);
  margin: 10px 0 14px;
}

.lede {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.75);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero__actions .btn,
.featured-song__actions .btn {
  min-width: 140px;
}

.btn {
  padding: 7px 12px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.btn--primary {
  background: #111111;
  color: #f6f2ee;
  border-color: #111111;
  -webkit-text-fill-color: #f6f2ee;
}

.btn--primary:hover,
.btn--primary:active,
.btn--primary:focus-visible,
.btn--primary:link,
.btn--primary:visited {
  color: #f6f2ee;
  -webkit-text-fill-color: #f6f2ee;
}

.btn--ghost {
  border-color: rgba(17, 17, 17, 0.3);
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  -webkit-text-fill-color: #111111;
}

.btn--ghost:hover,
.btn--ghost:active,
.btn--ghost:focus-visible,
.btn--ghost:link,
.btn--ghost:visited {
  color: #111111;
  -webkit-text-fill-color: #111111;
}

[data-theme="dark"] .btn--primary {
  background: #f6f2ee;
  color: #111111;
  border-color: #f6f2ee;
  -webkit-text-fill-color: #111111;
}

[data-theme="dark"] .btn--primary:hover,
[data-theme="dark"] .btn--primary:active,
[data-theme="dark"] .btn--primary:focus-visible,
[data-theme="dark"] .btn--primary:link,
[data-theme="dark"] .btn--primary:visited {
  color: #111111;
  -webkit-text-fill-color: #111111;
}

[data-theme="dark"] .btn--ghost {
  border-color: rgba(246, 242, 238, 0.45);
  color: #f6f2ee;
  background: rgba(246, 242, 238, 0.08);
  -webkit-text-fill-color: #f6f2ee;
}

[data-theme="dark"] .btn--ghost:hover,
[data-theme="dark"] .btn--ghost:active,
[data-theme="dark"] .btn--ghost:focus-visible,
[data-theme="dark"] .btn--ghost:link,
[data-theme="dark"] .btn--ghost:visited {
  color: #f6f2ee;
  -webkit-text-fill-color: #f6f2ee;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.14);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.hero__panel {
  background: #111111;
  color: #f6f2ee;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(17, 17, 17, 0.2);
}

.panel__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.panel__text {
  margin: 16px 0 24px;
  line-height: 1.7;
}

.panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.panel__chips span {
  border: 1px solid rgba(246, 242, 238, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}

.about,
.categories,
.collections,
.archive {
  padding: 48px 6vw;
}

.about {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.about__copy h2,
.section-title h2 {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.about__metrics {
  display: grid;
  gap: 16px;
}

.metric {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.metric__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 17, 0.6);
}

.metric__value {
  font-size: 1.4rem;
  margin-top: 6px;
}

.section-title p {
  color: rgba(17, 17, 17, 0.7);
  margin-top: 0;
  max-width: 520px;
  line-height: 1.6;
}

.about__panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.about__panel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 17, 0.65);
}

.about__panel p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.about__panel p:last-child {
  margin-bottom: 0;
}

.category-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 24px;
  align-items: start;
  justify-items: start;
}

.category-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.category-card p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(17, 17, 17, 0.7);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.12);
}

.category-card:active {
  transform: translateY(-1px);
  box-shadow: none;
}

.episode-feature {
  padding: 56px 6vw;
}

.episode-feature__card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 17, 17, 0.08);
  max-width: 720px;
}

.episode-feature__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111111;
  color: #f6f2ee;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.episode-feature__title {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin: 0;
}

.collection-block {
  margin-top: 32px;
}

.collection-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.collection-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 18px;
  justify-items: stretch;
}

.featured-song {
  padding: 48px 6vw;
}

.featured-song__go-live {
  min-width: 108px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(141, 97, 171, 0.72);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(109, 72, 136, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.go-live-btn,
.go-live-btn:link,
.go-live-btn:visited,
.go-live-btn:hover,
.go-live-btn:active,
.go-live-btn:focus-visible {
  background: linear-gradient(135deg, #8f5ca8 0%, #9e5eb0 46%, #b489cb 100%) !important;
  background-color: #9e5eb0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(141, 97, 171, 0.85) !important;
}

.go-live-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(109, 72, 136, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

[data-theme="dark"] .go-live-btn,
[data-theme="dark"] .go-live-btn:link,
[data-theme="dark"] .go-live-btn:visited,
[data-theme="dark"] .go-live-btn:hover,
[data-theme="dark"] .go-live-btn:active,
[data-theme="dark"] .go-live-btn:focus-visible {
  background: linear-gradient(135deg, #8f5ca8 0%, #9e5eb0 46%, #b489cb 100%) !important;
  background-color: #9e5eb0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(176, 131, 205, 0.88) !important;
}

.featured-song__heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .featured-song__heading {
    align-items: flex-start;
  }
}

.featured-song__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  margin-top: 24px;
}

.featured-song__media .video-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.featured-song__copy h3 {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: 2rem;
  margin: 10px 0 12px;
}

.featured-song__actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.featured-song__summary {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(17, 17, 17, 0.75);
}

.featured-song__summary li {
  padding-left: 14px;
  position: relative;
}

.featured-song__summary li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(17, 17, 17, 0.6);
}

.featured-song__source {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(17, 17, 17, 0.6);
}

.featured-song__source a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sync-rhythm {
  padding: 48px 6vw 60px;
  margin-top: 24px;
}

.sync-rhythm__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(280px, 1.2fr);
  align-items: start;
  margin-top: 24px;
}

.sync-rhythm__list {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 17, 17, 0.08);
  min-height: 360px;
  height: 360px;
  max-height: 360px;
  overflow-y: auto;
  flex: 0 0 360px;
}

.sync-rhythm__list .eyebrow {
  margin-bottom: 10px;
}



.sync-rhythm__player {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.92), rgba(38, 38, 38, 0.95));
  color: #f6f2ee;
  border: 1px solid rgba(17, 17, 17, 0.35);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.28);
  position: relative;
}

.sync-rhythm__player::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 54%;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.75);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.35);
}

.sync-rhythm__player .video-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #0b0b0b;
}

.sync-rhythm__player .featured-song__source {
  color: rgba(246, 242, 238, 0.7);
}

.sync-rhythm__player .featured-song__source a {
  color: inherit;
}

.sync-rhythm__player .btn--primary {
  background: #f6f2ee;
  color: #111111;
  border-color: #f6f2ee;
}

.sync-rhythm__player .btn--ghost {
  border-color: rgba(246, 242, 238, 0.5);
  color: #f6f2ee;
  background: transparent;
  -webkit-text-fill-color: #f6f2ee;
}

.sync-rhythm__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.sync-rhythm__unmute {
  position: absolute;
  top: 52px;
  right: 18px;
  z-index: 2;
  min-width: 0;
  padding: 6px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  background: rgba(17, 17, 17, 0.65);
  color: #f6f2ee;
  border-color: rgba(246, 242, 238, 0.35);
  backdrop-filter: blur(6px);
}

#sync-rhythm .sync-rhythm__player {
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 255, 245, 0.26), transparent 36%),
    radial-gradient(circle at 92% 12%, rgba(255, 78, 212, 0.26), transparent 34%),
    linear-gradient(160deg, #050814 0%, #0a1230 50%, #160f33 100%);
  border: 1px solid rgba(116, 241, 255, 0.58);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 92, 218, 0.32),
    inset 0 0 24px rgba(111, 255, 247, 0.1),
    inset 0 -40px 60px rgba(6, 9, 28, 0.7),
    0 22px 50px rgba(4, 6, 20, 0.68);
  overflow: hidden;
}

#sync-rhythm .sync-rhythm__player::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(111, 255, 247, 0.09) 0,
      rgba(111, 255, 247, 0.09) 2px,
      transparent 2px,
      transparent 7px
    ),
    linear-gradient(130deg, rgba(105, 247, 255, 0.08), rgba(255, 98, 226, 0.06));
  mix-blend-mode: screen;
}

#sync-rhythm .sync-rhythm__player::after {
  background: linear-gradient(180deg, rgba(4, 8, 24, 0.74), rgba(7, 13, 36, 0.7));
}

#sync-rhythm .sync-rhythm__player .eyebrow {
  color: #adfdff;
  text-shadow: 0 0 14px rgba(95, 227, 255, 0.55);
  letter-spacing: 0.15em;
}

#sync-rhythm .sync-rhythm__player .video-embed {
  border: 1px solid rgba(127, 236, 255, 0.56);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 92, 224, 0.34),
    0 0 24px rgba(81, 229, 255, 0.2),
    0 16px 34px rgba(0, 0, 0, 0.52);
  background: #040915;
}

#sync-rhythm .sync-rhythm__player .btn--primary {
  background: linear-gradient(95deg, #68f7ff 0%, #6da8ff 54%, #bf78ff 100%);
  border-color: rgba(128, 248, 255, 0.95);
  color: #07122f;
  box-shadow: 0 8px 20px rgba(82, 210, 255, 0.34);
}

#sync-rhythm .sync-rhythm__player .btn--ghost {
  border-color: rgba(142, 245, 255, 0.72);
  color: #ddfbff;
  background: rgba(7, 16, 41, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 102, 226, 0.28);
}

#sync-rhythm .sync-rhythm__unmute {
  background: rgba(7, 16, 42, 0.88);
  border-color: rgba(130, 238, 255, 0.72);
  color: #d2f9ff;
  box-shadow: 0 0 0 1px rgba(255, 98, 220, 0.24);
}

.sync-tv-zone .sync-rhythm__list {
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.92), rgba(229, 241, 255, 0.78));
  border-color: rgba(30, 76, 122, 0.22);
}

.sync-tv-zone {
  margin-top: 2px;
  padding-top: 18px;
}

.sync-rhythm + .sync-tv-zone {
  margin-top: -34px;
  padding-top: 2px;
}

#sync-rhythm {
  padding-bottom: 24px;
}

.sync-tv-zone__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sync-tv-zone__title::after {
  content: "▶ PLAY";
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(95, 229, 255, 0.55);
  color: #1c5a8c;
  background: rgba(95, 229, 255, 0.14);
}

.sync-tv-zone__trigger {
  cursor: pointer;
}

.sync-tv-zone .sync-rhythm__list--tv {
  background: linear-gradient(180deg, rgba(236, 249, 240, 0.95), rgba(224, 245, 230, 0.82));
  border-color: rgba(54, 100, 68, 0.28);
}

.sync-tv-zone__placeholder {
  margin: 16px 0 0;
  padding: 14px 12px;
  border: 1px dashed rgba(138, 86, 37, 0.35);
  border-radius: 12px;
  font-size: 0.9rem;
  color: rgba(79, 46, 18, 0.9);
  background: rgba(255, 255, 255, 0.5);
}

.sync-tv-zone .episode-mini a span {
  background: #1f4f82;
}

.sync-tv-zone .sync-rhythm__list--tv .episode-mini a span,
.sync-tv-zone .sync-rhythm__list--tv .episode-mini button span {
  background: #3d7650;
}

.sync-tv-zone .sync-rhythm__player {
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.92), rgba(38, 38, 38, 0.95));
  border-color: rgba(17, 17, 17, 0.35);
}

.sync-tv-zone .sync-rhythm__player::after {
  content: none;
}

.sync-movie-zone {
  margin-top: 28px;
  padding-top: 14px;
}

.sync-movie-zone .section-title {
  position: relative;
}

.sync-movie-zone .section-title p {
  max-width: 560px;
  color: rgba(58, 63, 71, 0.86);
}

.sync-movie-zone .sync-tv-zone__title {
  color: #f5e7c4;
  padding: 10px 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(8, 10, 14, 0.98), rgba(31, 34, 40, 0.95)),
    radial-gradient(circle at right top, rgba(205, 163, 90, 0.18), transparent 34%);
  box-shadow:
    inset 0 0 0 1px rgba(208, 175, 116, 0.22),
    0 14px 28px rgba(8, 11, 18, 0.24);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sync-movie-zone .sync-tv-zone__title::after {
  border-color: rgba(226, 187, 117, 0.46);
  color: #f3c977;
  background: rgba(216, 178, 106, 0.1);
}

.sync-movie-zone .sync-rhythm__list,
.sync-movie-zone .sync-rhythm__list--tv {
  background:
    linear-gradient(180deg, rgba(246, 244, 239, 0.98), rgba(233, 228, 219, 0.94)),
    radial-gradient(circle at top right, rgba(210, 172, 101, 0.12), transparent 30%);
  border-color: rgba(75, 69, 58, 0.2);
  box-shadow: 0 16px 28px rgba(26, 27, 31, 0.08);
}

.sync-movie-zone .sync-tv-zone__trigger {
  color: #6d624d;
  letter-spacing: 0.16em;
}

.sync-movie-zone .episode-mini button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 233, 224, 0.96));
  border-color: rgba(108, 98, 80, 0.18);
  color: #241f17;
}

.sync-movie-zone .episode-mini button:hover,
.sync-movie-zone .episode-mini button:focus-visible {
  border-color: rgba(210, 172, 101, 0.46);
  box-shadow: 0 0 0 4px rgba(210, 172, 101, 0.12);
}

.sync-movie-zone .episode-mini button.is-active {
  background:
    linear-gradient(135deg, rgba(11, 13, 18, 0.98), rgba(36, 39, 46, 0.96));
  border-color: rgba(211, 176, 111, 0.42);
  color: #f4ead2;
  box-shadow:
    inset 0 0 0 1px rgba(211, 176, 111, 0.14),
    0 12px 24px rgba(18, 18, 22, 0.28);
}

.sync-movie-zone .episode-mini button span {
  background: #6f6659;
}

.sync-movie-zone .episode-mini button.is-active span {
  background: #c79a4b;
}

.sync-movie-zone .sync-rhythm__player {
  background:
    linear-gradient(160deg, rgba(7, 8, 11, 0.98), rgba(24, 26, 31, 0.96)),
    radial-gradient(circle at top right, rgba(209, 171, 98, 0.14), transparent 28%);
  border-color: rgba(112, 96, 65, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(206, 175, 119, 0.12),
    0 24px 48px rgba(8, 10, 14, 0.28);
}

.sync-movie-zone .sync-rhythm__player .eyebrow,
.sync-movie-zone .featured-song__source {
  color: rgba(238, 225, 194, 0.82);
}

.sync-movie-zone .featured-song__source a {
  color: #f3cd8a;
  text-decoration-color: rgba(243, 205, 138, 0.4);
}

.sync-movie-zone .sync-rhythm__player .video-embed {
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(210, 172, 101, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.42);
  background: #050608;
}

.sync-movie-zone .sync-rhythm__unmute {
  border-color: rgba(215, 180, 114, 0.38);
  color: #f5d49a;
  background: rgba(20, 24, 31, 0.82);
  box-shadow: 0 0 0 1px rgba(215, 180, 114, 0.1);
}

.sync-movie-zone .sync-rhythm__actions .btn--primary {
  background: linear-gradient(110deg, #f0cb85 0%, #b98a3a 100%);
  border-color: rgba(240, 203, 133, 0.56);
  color: #17130d;
  box-shadow: 0 10px 22px rgba(185, 138, 58, 0.24);
}

.sync-movie-zone .sync-rhythm__actions .btn--ghost {
  border-color: rgba(165, 146, 111, 0.28);
  color: #ece3cf;
  background: rgba(23, 25, 30, 0.58);
}

.sync-rhythm__player--tv {
  overflow: visible;
}

.sync-rhythm__player--tv::before {
  content: none;
}

.sync-rhythm__player--tv::after {
  content: none;
}

.sync-rhythm__player--tv .eyebrow::after {
  content: none;
}

.sync-rhythm__player--tv .video-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #0b0b0b;
  border-radius: 16px;
}

.sync-rhythm__player--tv .video-embed::before {
  content: none;
}

.sync-rhythm__player--tv .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: none;
}

.sync-rhythm__player--tv .eyebrow {
  color: inherit;
  text-shadow: none;
}

.sync-rhythm__player--tv .featured-song__source {
  color: rgba(246, 242, 238, 0.7);
}

.sync-rhythm__player--tv .sync-rhythm__unmute {
  background: rgba(18, 26, 46, 0.85);
  border-color: rgba(246, 242, 238, 0.55);
  color: #f6f2ee;
}

.sync-rhythm__player--tv .sync-rhythm__actions .btn--ghost {
  border-color: rgba(246, 242, 238, 0.5);
  color: #f6f2ee;
  background: transparent;
  -webkit-text-fill-color: #f6f2ee;
  box-shadow: none;
}

.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary {
  background: #111111;
  border-color: #111111;
  color: #f6f2ee;
  -webkit-text-fill-color: #f6f2ee;
}

.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary:link,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary:visited,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary:hover,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary:active,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--primary:focus-visible {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #f6f2ee !important;
  -webkit-text-fill-color: #f6f2ee !important;
}

.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed:link,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed:visited,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed:hover,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed:active,
.sync-rhythm__player--tv .sync-rhythm__actions .btn--meditation-fixed:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

.home .work-card {
  display: flex;
  align-items: center;
  min-height: 48px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #111111;
  border: 1px solid rgba(17, 17, 17, 0.1);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home .work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
}

.home .work-card:active {
  transform: translateY(-1px);
  box-shadow: none;
}

.archive-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}

.archive-panel > div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.archive-cta {
  margin-top: 24px;
}

.home-footer {
  padding: 28px 6vw 40px;
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-legal {
  margin: 14px 20px 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .touch-lock-control {
    display: block;
  }

  .home-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-header__todo-cta {
    align-self: flex-start;
  }

  .home-header__quick-links {
    width: 100%;
  }

  .hero {
    padding-top: 48px;
  }

  .brand-hero {
    grid-template-columns: 1fr;
  }

  .brand-hero__episodes {
    max-width: none;
    aspect-ratio: auto;
    height: auto;
  }

  .brand-hero__episodes-wrap {
    gap: 6px;
  }

  .brand-hero__media {
    max-width: none;
    aspect-ratio: auto;
    min-height: auto;
  }

  .brand-hero__media img {
    height: auto;
  }

  .creator-lab-cta {
    grid-template-columns: 1fr;
  }

  .sync-rhythm__grid {
    grid-template-columns: 1fr;
  }

  .sync-rhythm__player::after {
    width: 60%;
  }
}

@media (hover: none) and (pointer: coarse) {
  .touch-lock-control {
    display: block;
  }
}

.story-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
  max-width: 960px;
}

.story-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.story .section-title {
  max-width: 960px;
}

.story {
  overflow-x: hidden;
}

.live-list {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.live-item {
  position: relative;
  overflow: hidden;
  max-width: min(96vw, 1088px);
  margin: 0 auto;
  min-height: auto;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  align-content: center;
  box-shadow: 0 20px 44px rgba(28, 22, 42, 0.2);
}

.live-item::before {
  content: "";
  position: absolute;
  inset: -20%;
  filter: blur(48px);
  opacity: 0.32;
  z-index: 0;
}

.live-item > * {
  position: relative;
  z-index: 1;
}

.live-item h3 {
  margin: 8px auto 12px;
  font-size: clamp(1.08rem, 1.4vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
  max-width: 1100px;
  width: 100%;
}

.live-item .eyebrow {
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
}

.live-item .video-embed {
  width: min(96vw, 1038px);
  aspect-ratio: 1038 / 433;
  padding-bottom: 0;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 46px rgba(10, 8, 16, 0.36);
}

.live-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.live-player__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.14));
}

.live-player__poster span {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.36);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-item .featured-song__source {
  margin: 12px auto 0;
  width: min(96vw, 1038px);
}

.live-item:nth-child(1) {
  background: radial-gradient(circle at 14% 16%, rgba(162, 206, 255, 0.22), transparent 45%),
    linear-gradient(142deg, #213667 0%, #355a95 52%, #5880b8 100%);
  color: #f4f8ff;
}

.live-item:nth-child(1)::before {
  background: radial-gradient(circle at 12% 18%, #a8ceff 0%, transparent 60%);
}

.live-item:nth-child(2) {
  background: radial-gradient(circle at 84% 16%, rgba(162, 236, 217, 0.22), transparent 44%),
    linear-gradient(142deg, #1a3f47 0%, #296671 52%, #418893 100%);
  color: #ebfdff;
}

.live-item:nth-child(2)::before {
  background: radial-gradient(circle at 86% 22%, #9bead8 0%, transparent 58%);
}

.live-item:nth-child(3) {
  background: radial-gradient(circle at 20% 18%, rgba(250, 199, 226, 0.22), transparent 42%),
    linear-gradient(138deg, #37254d 0%, #663c8a 50%, #9160aa 100%);
  color: #fff1f8;
}

.live-item:nth-child(3)::before {
  background: radial-gradient(circle at 20% 18%, #ffc0de 0%, transparent 58%);
}

.live-item:nth-child(4) {
  background: radial-gradient(circle at 80% 16%, rgba(255, 216, 163, 0.22), transparent 44%),
    linear-gradient(140deg, #442f21 0%, #785238 52%, #a47457 100%);
  color: #fff6ea;
}

.live-item:nth-child(4)::before {
  background: radial-gradient(circle at 80% 16%, #ffdca2 0%, transparent 58%);
}

.live-item:nth-child(5) {
  background: radial-gradient(circle at 15% 18%, rgba(191, 217, 245, 0.24), transparent 44%),
    linear-gradient(138deg, #25364b 0%, #3b5876 52%, #587d9f 100%);
  color: #f1f8ff;
}

.live-item:nth-child(5)::before {
  background: radial-gradient(circle at 16% 18%, #b7d1ff 0%, transparent 58%);
}

.live-item:nth-child(6) {
  background: radial-gradient(circle at 18% 16%, rgba(255, 226, 177, 0.24), transparent 42%),
    linear-gradient(140deg, #3e2d20 0%, #7a563a 50%, #b38d63 100%);
  color: #fff8ee;
}

.live-item:nth-child(6)::before {
  background: radial-gradient(circle at 20% 18%, #ffe3b5 0%, transparent 60%);
}

.live-item:nth-child(7) {
  background: radial-gradient(circle at 82% 15%, rgba(255, 196, 222, 0.24), transparent 42%),
    linear-gradient(138deg, #2f2245 0%, #5d3c7c 50%, #a56cae 100%);
  color: #fff3ff;
}

.live-item:nth-child(7)::before {
  background: radial-gradient(circle at 80% 18%, #ffc0e3 0%, transparent 60%);
}

.live-item:nth-child(8) {
  background: radial-gradient(circle at 18% 16%, rgba(255, 208, 182, 0.24), transparent 44%),
    linear-gradient(140deg, #463126 0%, #7a4f3a 50%, #ad7358 100%);
  color: #fff6f0;
}

.live-item:nth-child(8)::before {
  background: radial-gradient(circle at 18% 16%, #ffd7bd 0%, transparent 60%);
}

@media (max-width: 860px) {
  .live-item {
    max-width: 100%;
    min-height: auto;
    border-radius: 18px;
    padding: 14px;
  }

  .live-item .video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .live-item .featured-song__source,
  .live-item .eyebrow,
  .live-item h3 {
    width: 100%;
  }
}

/* Archive pages */
body.archive-page {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: #111111;
  background: #f6f2ee;
}

body.humor-page {
  background: radial-gradient(circle at top left, rgba(255, 219, 167, 0.35), transparent 42%),
    radial-gradient(circle at top right, rgba(255, 161, 198, 0.2), transparent 36%),
    linear-gradient(145deg, #fbf3ea 0%, #efe8ff 100%);
}

.humor-intro {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  padding: 20px;
}

.archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(246, 242, 238, 0.95);
  position: sticky;
  top: 0;
  z-index: 20;
}

.archive-brand {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: 1.4rem;
  margin: 0;
}

.archive-sub {
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(17, 17, 17, 0.55);
}

.archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.archive-nav a:hover {
  border-color: rgba(17, 17, 17, 0.6);
}

.archive-main {
  padding: 56px 6vw 64px;
}

.creator-lab-cats {
  margin: 24px 0 30px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(75, 94, 132, 0.12);
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 233, 183, 0.28) 0, rgba(255, 233, 183, 0) 24%),
    radial-gradient(circle at 78% 18%, rgba(208, 231, 255, 0.38) 0, rgba(208, 231, 255, 0) 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.96));
  box-shadow: 0 14px 28px rgba(34, 53, 86, 0.06);
}

.creator-lab-cats__header {
  max-width: 720px;
}

.creator-lab-cats__header h2 {
  margin: 6px 0 10px;
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
}

.creator-lab-cats__header p:last-child {
  margin: 0;
  color: rgba(24, 37, 59, 0.72);
  line-height: 1.6;
}

.creator-lab-cats__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
  gap: 14px;
  justify-content: center;
}

.creator-lab-cats__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  width: 100%;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #1b2436;
  text-align: center;
  border: 1px solid rgba(86, 106, 145, 0.2);
  background-color: rgba(241, 246, 252, 0.98);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.84) 0, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(248, 251, 255, 0.98), rgba(236, 242, 250, 0.96));
  box-shadow: 0 8px 14px rgba(39, 68, 111, 0.08);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, background 120ms ease;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  -webkit-text-fill-color: #1b2436;
}

.creator-lab-cats__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 88, 145, 0.36);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, rgba(251, 253, 255, 1), rgba(233, 241, 250, 0.98));
  box-shadow: 0 12px 18px rgba(39, 68, 111, 0.12);
}

.creator-lab-cats__btn:focus-visible {
  outline: 2px solid rgba(47, 86, 153, 0.55);
  outline-offset: 3px;
  border-color: rgba(58, 88, 145, 0.36);
}

@media (max-width: 640px) {
  .creator-lab-cats {
    padding: 20px 16px;
  }

  .creator-lab-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-lab-cats__btn {
    min-height: 46px;
    padding: 0 14px;
  }
}

.archive-intro h1 {
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.archive-toc {
  margin: 32px 0 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
}

.archive-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.archive-toc li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 8px;
}

.archive-toc a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.archive-toc a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.archive-toc a:hover::after {
  transform: scaleX(1);
}

.toc__badge {
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  font-size: 0.75rem;
  color: rgba(17, 17, 17, 0.7);
}

.toc__badge--main {
  border-color: rgba(166, 104, 17, 0.45);
  background: linear-gradient(120deg, rgba(255, 236, 178, 0.9), rgba(255, 219, 145, 0.9));
  color: rgba(92, 55, 9, 0.92);
  font-weight: 700;
}

.archive-toc li span {
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.85rem;
}

.archive-entries {
  display: grid;
  gap: 32px;
}

.entry {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.entry--main {
  border: 1px solid rgba(186, 132, 41, 0.42);
  background: linear-gradient(150deg, rgba(255, 247, 224, 0.95), rgba(255, 255, 255, 0.92));
  box-shadow: 0 16px 30px rgba(130, 86, 18, 0.12);
}

.entry__header h2 {
  margin: 0 0 8px;
  font-family: "Sorts Mill Goudy", "Georgia", serif;
}

.entry__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.entry__badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #111111;
  color: #f6f2ee;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.entry__meta {
  margin: 0;
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.85rem;
}

.entry__live-link {
  min-width: 84px;
  padding: 6px 14px;
}

.entry__content {
  margin-top: 18px;
  line-height: 1.7;
}

.entry__content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry__content a:hover {
  color: #111111;
}

.entry__content iframe,
.entry__content img,
.entry__content video {
  max-width: 100%;
}

.entry__content iframe {
  width: 100%;
  height: 360px;
}

.entry__content span[data-mce-type=\"bookmark\"] {
  display: none;
}

.archive-footer {
  padding: 28px 6vw 40px;
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .archive-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .entry__content iframe {
    height: 240px;
  }
}

.sync-tv-zone .sync-rhythm__player::after,
.sync-rhythm__player--tv::after {
  content: "" !important;
  display: none !important;
  background: transparent !important;
}

.genie-entry {
  padding: 48px 6vw 60px;
  border-radius: 20px;
  margin-top: 24px;
  max-width: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 226, 145, 0.35), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(160, 222, 255, 0.3), transparent 44%),
    linear-gradient(140deg, rgba(255, 250, 239, 0.96), rgba(242, 247, 255, 0.94));
  border: 1px solid rgba(187, 156, 92, 0.22);
  box-shadow: 0 12px 26px rgba(65, 70, 88, 0.14);
  color: #1d2433;
}

.genie-entry .section-title {
  color: #1d2433;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.genie-entry__capture-note {
  margin: 2px 0 0;
  font-size: 0.77rem;
  color: rgba(29, 36, 51, 0.76);
}

.genie-entry__title-copy {
  min-width: 0;
}

.genie-entry__todo-promo {
  max-width: 460px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 255, 0.82));
  border: 1px solid rgba(114, 137, 175, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 20px rgba(83, 97, 128, 0.08);
}

.genie-entry__todo-copy {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.6;
  color: rgba(29, 36, 51, 0.78);
}

.genie-entry__todo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.genie-entry__todo-btn {
  min-width: 132px;
}

.genie-entry__todo-btn--view {
  border-color: rgba(114, 137, 175, 0.28);
}

.genie-entry__todo-credit {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  color: #999999;
  line-height: 1.4;
}

.genie-entry .eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.genie-entry .section-title h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.genie-entry .section-title h2::after {
  content: "✦";
  font-size: 1.05rem;
  color: #f1be51;
  text-shadow: 0 0 10px rgba(241, 190, 81, 0.36);
}

.genie-entry__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(280px, 1.2fr);
  align-items: start;
  margin: 24px auto 0;
}

.genie-entry__card {
  background: linear-gradient(155deg, rgba(255, 249, 236, 0.92), rgba(241, 248, 255, 0.9));
  border: 1px solid rgba(186, 164, 112, 0.28);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 360px;
  max-height: 360px;
  height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 18px rgba(60, 66, 84, 0.12);
}

.genie-entry__question {
  margin: 0;
  font-size: 0.95rem;
  color: #2f3a50;
}

.genie-entry__input {
  width: 100%;
  border: 1px solid rgba(114, 137, 175, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2433;
  padding: 8px 10px;
  font: inherit;
}

.genie-entry__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.genie-entry__actions .btn--mini {
  min-width: 76px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.genie-summary {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 0.81rem;
  color: #2d3951;
  max-height: 92px;
  overflow-y: auto;
  overflow-x: hidden;
}

.genie-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 12px;
  border: 1px dashed rgba(142, 160, 194, 0.5);
  background: linear-gradient(150deg, rgba(253, 249, 239, 0.92), rgba(236, 246, 255, 0.88));
  touch-action: none;
}

.genie-entry__card--memo {
  position: relative;
  grid-template-rows: auto minmax(0, 1fr) auto minmax(0, 1fr);
  overflow: hidden;
}

.genie-entry__card--video {
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.genie-entry__card--video .sync-rhythm__unmute {
  position: static;
  justify-self: end;
  min-width: 0;
}

#genie-video-unmute {
  border: 1px solid rgba(205, 168, 86, 0.64);
  background: linear-gradient(105deg, #f1d280 0%, #fff2c8 42%, #eac06e 100%);
  color: #5a3f14;
  -webkit-text-fill-color: #5a3f14;
  box-shadow: 0 6px 14px rgba(125, 85, 22, 0.2);
}

#genie-video-unmute:hover {
  filter: brightness(1.03);
  box-shadow: 0 8px 16px rgba(125, 85, 22, 0.24);
}

.genie-entry__video-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.7);
  aspect-ratio: 16 / 9;
}

.genie-entry__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.genie-entry__card--memo::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 58px;
  height: 22px;
  border-radius: 20px 20px 40px 10px;
  border: 1px solid rgba(236, 186, 92, 0.46);
  background: linear-gradient(110deg, rgba(236, 186, 92, 0.52), rgba(255, 233, 171, 0.72));
  box-shadow: 0 0 12px rgba(236, 186, 92, 0.24);
  transform: rotate(-8deg);
}

.genie-summary--todo {
  list-style: none;
  padding-left: 0;
  min-height: 120px;
  max-height: 120px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  border: 1px solid rgba(114, 137, 175, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.genie-entry__text-memo {
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  resize: none;
}

.todo-page__guide {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(29, 36, 51, 0.76);
}

.todo-page__guide--detail {
  margin-top: -4px;
  margin-bottom: 0;
  font-size: 0.84rem;
}

.todo-sheet-stage {
  display: grid;
  gap: 22px;
}

.todo-sheet-guide {
  max-width: 760px;
}

.todo-sheet-guide__hint {
  margin-left: 8px;
  font-size: 0.62rem;
  font-weight: 400;
  color: #b3b3b3;
  white-space: nowrap;
}

.todo-sheet-guide__actions {
  margin-top: 12px;
}

.todo-usage-example {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(172, 201, 223, 0.34);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 255, 0.9));
  box-shadow: 0 18px 38px rgba(78, 117, 153, 0.1);
}

.todo-usage-example__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 16px;
  align-items: center;
}

.todo-usage-example__copy {
  min-width: 0;
}

.todo-usage-example__thumb {
  width: auto;
  max-width: 200px;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(169, 195, 214, 0.4);
  box-shadow: 0 10px 20px rgba(73, 109, 140, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.todo-usage-example__thumb img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 100%;
  height: auto;
}

.todo-usage-example__copy h3 {
  margin: 0 0 12px;
  font-family: "Sorts Mill Goudy", "Georgia", serif;
  font-size: 1.5rem;
  color: #28445e;
}

.todo-usage-example__copy p {
  margin: 0 0 12px;
  color: #4d6173;
  line-height: 1.85;
}

.todo-usage-example__copy p:last-child {
  margin-bottom: 0;
}

.todo-sheet {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 22px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 225, 153, 0.34), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(186, 228, 255, 0.42), transparent 24%),
    linear-gradient(155deg, #fffdf7 0%, #f6faff 55%, #eef6ff 100%);
  border: 1px solid rgba(152, 170, 201, 0.34);
  box-shadow: 0 24px 54px rgba(49, 67, 101, 0.14);
}

.todo-sheet__footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(123, 144, 181, 0.26);
  color: rgba(34, 47, 70, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.todo-sheet__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(152, 170, 201, 0.26);
  box-shadow: 0 14px 30px rgba(49, 67, 101, 0.1);
}

.todo-sheet__stack-gallery {
  display: grid;
  gap: 20px;
}

.todo-sheet__image {
  display: block;
  width: 100%;
  height: auto;
}

.todo-sheet__watermark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  text-align: right;
  font-size: 10px;
  line-height: 1.25;
  color: #c3c3c3;
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}

.todo-sheet__watermark span {
  display: block;
}

.todo-sheet__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

body.todo-page--embed {
  background: linear-gradient(160deg, #f8fbff 0%, #f6f1e7 100%);
}

.todo-page--embed .archive-header {
  display: none;
}

.todo-page--embed .archive-main {
  max-width: none;
  padding: 24px 20px 28px;
}

.todo-page--embed .archive-intro {
  padding-top: 0;
}

.todo-page--embed .archive-entries {
  gap: 0;
}

.todo-page--embed .archive-intro {
  display: none;
}

.todo-page--embed .todo-sheet-stage {
  gap: 0;
}

.todo-page--embed .todo-usage-example {
  display: none;
}

.todo-page--embed .todo-sheet-guide {
  display: none;
}

.todo-page--embed .todo-sheet {
  width: 100%;
  max-width: none;
  border-radius: 24px;
}

@media (max-width: 860px) {
  .genie-entry .section-title {
    flex-direction: column;
  }

  .genie-entry__todo-promo {
    max-width: none;
    width: 100%;
  }

  .genie-entry__grid {
    grid-template-columns: 1fr;
    margin: 20px auto 0;
  }

  .todo-sheet {
    width: 100%;
  }

  .todo-sheet__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .todo-usage-example__body {
    grid-template-columns: 1fr;
  }

  .todo-usage-example__thumb {
    width: 120px;
    max-width: 120px;
    margin: 0 auto 14px;
  }

  .todo-usage-example__thumb img {
    width: 120px;
    max-width: 120px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .genie-entry {
    padding: 28px 6vw 34px;
    margin-top: 14px;
    border-radius: 16px;
  }

  .genie-entry .section-title {
    margin-bottom: 8px;
  }

  .genie-entry .section-title h2 {
    font-size: 1.26rem;
  }

  .genie-entry .section-title p {
    margin: 4px 0 0;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .genie-entry__todo-promo {
    padding: 12px;
    border-radius: 14px;
  }

  .genie-entry__todo-copy {
    font-size: 0.77rem;
  }

  .genie-entry__todo-btn {
    flex: 1 1 140px;
    justify-content: center;
  }

  .genie-entry__capture-note {
    font-size: 0.78rem;
  }

  .genie-entry__grid {
    gap: 14px;
  }

  .genie-entry__card {
    padding: 12px;
    gap: 8px;
    min-height: 320px;
    max-height: none;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
  }

  .genie-entry__card--wish {
    min-height: 360px;
    max-height: none;
  }

  .genie-entry__card--memo {
    min-height: 360px;
    max-height: none;
  }

  .genie-entry__card--video {
    min-height: 320px;
    max-height: none;
  }

  .genie-entry__question {
    font-size: 0.9rem;
  }

  .genie-entry__input {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .genie-entry__text-memo {
    min-height: 0;
  }

  .genie-entry__actions .btn {
    padding: 8px 11px;
    font-size: 0.8rem;
    min-height: auto;
  }

  .genie-entry__actions .btn--mini {
    min-width: 72px;
    padding: 7px 9px;
    font-size: 0.73rem;
  }

  .genie-summary {
    padding-left: 16px;
    font-size: 0.8rem;
    max-height: 88px;
  }

  .genie-canvas {
    height: 100%;
  }

  .genie-summary--todo {
    min-height: 112px;
    max-height: 112px;
  }

  .genie-entry__card--memo::before {
    width: 42px;
    height: 16px;
    top: 8px;
    right: 10px;
  }

  .todo-page--embed .archive-main {
    padding: 16px 12px 20px;
  }

  .todo-sheet {
    padding: 18px;
    border-radius: 20px;
  }
}
