@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Orbitron:wght@500;700&display=swap");

html {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: #070b16;
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 216, 255, 0.08), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(255, 92, 168, 0.08), transparent 34%),
    linear-gradient(180deg, #070b16 0%, #080e1f 100%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --bg: #070b16;
  --bg-elevated: #0d1223;
  --surface: rgba(14, 22, 40, 0.8);
  --surface-soft: rgba(20, 29, 52, 0.75);
  --text: #ecf3ff;
  --muted: #9fb0cc;
  --border: rgba(129, 157, 210, 0.36);
  --brand: #31d8ff;
  --brand-strong: #6f88ff;
  --accent-a: #31d8ff;
  --accent-b: #7c57ff;
  --accent-c: #ff5ca8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.58;
  width: 100%;
  background-color: #070b16;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent-a), transparent 78%), transparent 38%),
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--accent-c), transparent 82%), transparent 34%),
    linear-gradient(180deg, #070b16 0%, #080e1f 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 22%, transparent 100%);
  z-index: -1;
}

body.page-home {
  --accent-a: #31d8ff;
  --accent-b: #7c57ff;
  --accent-c: #ff6db3;
}

body.page-service {
  --accent-a: #39f5d5;
  --accent-b: #2a9fff;
  --accent-c: #7f6cff;
}

body.page-team {
  --accent-a: #4dd2ff;
  --accent-b: #8a7bff;
  --accent-c: #3df0bb;
}

body.page-events {
  --accent-a: #8bd3ff;
  --accent-b: #6d7dff;
  --accent-c: #ff72ca;
}

body.page-legacy {
  --accent-a: #43f0ee;
  --accent-b: #4b7dff;
  --accent-c: #f66dff;
}

body.page-pricing {
  --accent-a: #48e0d5;
  --accent-b: #4f8cff;
  --accent-c: #ffb45c;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.6rem;
  border-bottom: 1px solid rgba(92, 122, 182, 0.28);
  background: rgba(5, 10, 22, 0.78);
  backdrop-filter: blur(12px);
}

.page-home .site-header {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.78rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(122, 210, 255, 0.55);
  box-shadow:
    0 0 0 2px rgba(49, 216, 255, 0.15),
    0 0 28px rgba(49, 216, 255, 0.3);
}

.brand-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.site-nav__member-action {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__member-action {
  appearance: none;
  border: 1px solid rgba(74, 216, 172, 0.35);
  color: #dffbf5;
  background: rgba(14, 38, 48, 0.58);
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav__member-action:hover,
.site-nav__member-action:focus-visible {
  color: #fff;
  background: rgba(99, 136, 255, 0.2);
}

.site-nav__member-action:hover,
.site-nav__member-action:focus-visible {
  border-color: rgba(74, 216, 172, 0.7);
  background: rgba(14, 58, 58, 0.82);
  outline: none;
}

.site-nav__member-action[hidden] {
  display: none;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent-b), #ffffff 8%),
    color-mix(in srgb, var(--accent-c), #ff9f43 18%)
  );
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent-b), transparent 72%);
}

.site-header__member {
  justify-self: center;
  align-self: center;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.site-utilities {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex: 0 0 auto;
}

.site-utility {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(122, 162, 230, 0.32);
  border-radius: 999px;
  color: #ddecff;
  background: rgba(7, 14, 29, 0.7);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-utility[hidden] {
  display: none;
}

.site-utility:hover,
.site-utility:focus-visible,
.site-utility.is-signed-in {
  border-color: rgba(74, 216, 172, 0.62);
  color: #9af1d8;
  background: rgba(14, 38, 48, 0.88);
}

.site-utility svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-utility__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(5, 10, 22, 0.9);
  border-radius: 999px;
  padding: 0 0.22rem;
  background: #31d8ff;
  color: #05101d;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
}

.site-utility__badge[hidden] {
  display: none;
}

.site-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.1rem 1.3rem 4.2rem;
}

.page-hero {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.08fr 1fr;
  align-items: stretch;
  margin-bottom: 1.85rem;
}

.hero-copy {
  border-radius: 22px;
  padding: 2rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(155deg, rgba(16, 24, 43, 0.98) 20%, rgba(13, 33, 54, 0.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(166, 196, 255, 0.05),
    0 16px 40px rgba(3, 7, 19, 0.6);
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-a);
}

h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

h1 {
  margin-top: 0.55rem;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

h3 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

p {
  margin-top: 0.8rem;
}

[hidden] {
  display: none !important;
}

.btn {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  color: #030812;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent-a), transparent 68%);
}

.btn[hidden],
.creator-subscribe-cta[hidden] {
  display: none !important;
}

.btn,
button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--accent-b), transparent 70%),
    0 0 0 2px rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  color: #dff0ff;
  border: 1px solid rgba(126, 170, 236, 0.5);
  background: rgba(10, 18, 35, 0.75);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus {
  box-shadow: 0 10px 24px rgba(7, 14, 34, 0.48);
  border-color: rgba(159, 201, 255, 0.68);
}

.content-section {
  margin-top: 1.25rem;
  border-radius: 18px;
  padding: 1.35rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px rgba(148, 174, 255, 0.04),
    0 12px 28px rgba(2, 8, 20, 0.42);
}

.content-section h2 {
  color: #ecf4ff;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
}

.placeholder-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

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

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

/* Live community/trending feed tiles appended after the curated placeholders. */
.community-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-a), #a7b6d6 34%);
  background: linear-gradient(135deg, rgba(17, 26, 49, 0.85), rgba(20, 31, 58, 0.65));
  color: #eaf2ff;
  font: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button.community-tile {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.community-tile--series {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.6rem 0.66rem 0.7rem;
  height: auto;
  min-height: 0;
  text-align: left;
}

.community-tile--series .community-tile__title {
  order: 1;
  width: 100%;
  padding: 0 0.05rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.community-tile--series .community-tile__meta {
  order: 3;
  width: 100%;
  padding: 0 0.05rem;
  text-align: left;
}

.community-tile--series::before,
.community-tile--series::after {
  content: none;
}

.community-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.community-tile--series:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.community-tile__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: rgba(8, 13, 26, 0.6);
}

.community-tile__art {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(125, 86, 255, 0.28), transparent 55%),
    linear-gradient(135deg, rgba(17, 26, 49, 0.9), rgba(20, 31, 58, 0.7));
}

.community-tile__title {
  padding: 0.6rem 0.7rem;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
}

.community-tile__meta {
  padding: 0 0.7rem 0.64rem;
  color: #abc3e8;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.15;
}

.community-tile--audio {
  min-height: 0;
  height: 4.6rem;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-rows: minmax(1.15rem, auto) minmax(0.95rem, auto);
  align-items: center;
  column-gap: 0.72rem;
  row-gap: 0.18rem;
  padding: 0.62rem 0.78rem;
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.community-tile--audio.community-tile--series {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  grid-template-columns: none;
  height: auto;
  min-height: 0;
}

.community-tile--audio .community-tile__art {
  width: 2.75rem;
  height: 2.75rem;
  aspect-ratio: 1;
  border-radius: 999px;
  grid-row: 1 / span 2;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(91, 215, 255, 0.45), transparent 56%),
    linear-gradient(135deg, rgba(61, 124, 255, 0.9), rgba(112, 83, 255, 0.85));
}

.community-tile__art--series-stack,
.community-tile--audio .community-tile__art--series-stack {
  align-self: stretch;
  order: 2;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  grid-row: auto;
  display: block;
  position: static;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

/* Readable library stack: one full-width titled spine per episode. */
.community-tile__book-stack {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.community-tile__book {
  position: relative;
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.75rem;
  padding: 0.32rem 0.42rem 0.32rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 0.3rem solid var(--book-color);
  border-radius: 0.34rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.18) 65%),
    var(--book-color);
  box-shadow: 0 0.12rem 0.34rem rgba(0, 0, 0, 0.34);
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
}

.community-tile__book:hover,
.community-tile__book:focus-visible {
  outline: none;
  border-color: rgba(188, 239, 255, 0.86);
  filter: brightness(1.08);
}

.community-tile__book-num {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(7, 18, 39, 0.5);
  font-size: 0.64rem;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

.community-tile__book-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

.community-tile__book-action {
  min-width: 2.5rem;
  height: 1.25rem;
  padding: 0 0.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(7, 18, 39, 0.6);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
}

.community-tile__book.is-loading .community-tile__book-action {
  opacity: 0.72;
}

.community-tile__book.is-playing {
  border-color: rgba(117, 239, 218, 0.78);
  box-shadow: 0 0 0 1px rgba(117, 239, 218, 0.25), 0 0.12rem 0.34rem rgba(0, 0, 0, 0.34);
}

.community-tile--audio .community-tile__title {
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-tile--audio.community-tile--series .community-tile__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.4em;
}

.community-tile--audio .community-tile__meta {
  grid-column: 2;
  padding: 0;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-tile--audio.community-tile--series .community-tile__meta {
  white-space: normal;
}

.community-tile--audio.is-loading .community-tile__art {
  opacity: 0.72;
}

.community-tile--audio.is-playing {
  border-color: rgba(117, 239, 218, 0.74);
  box-shadow: 0 0 0 1px rgba(117, 239, 218, 0.16), 0 14px 30px rgba(0, 0, 0, 0.22);
}

.creator-audio-volume {
  display: grid;
  gap: 0.35rem;
  max-width: 22rem;
  margin-top: 0.55rem;
  color: #cde1fb;
  font-size: 0.82rem;
  font-weight: 650;
}

.creator-audio-volume input {
  width: 100%;
  accent-color: var(--accent-a);
}

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

.card {
  background: var(--surface-soft);
  border: 1px solid rgba(129, 157, 210, 0.34);
  border-radius: 15px;
  padding: 0.92rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-b), #fff 18%);
}

.card p {
  margin-top: 0.58rem;
}

.image-placeholder {
  width: 100%;
  min-height: 210px;
  border-radius: 13px;
  border: 1px dashed color-mix(in srgb, var(--accent-a), #a7b6d6 34%);
  background:
    radial-gradient(circle at 24% 20%, rgba(125, 86, 255, 0.22), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(60, 215, 255, 0.24), transparent 35%),
    linear-gradient(135deg, rgba(17, 26, 49, 0.8), rgba(20, 31, 58, 0.6)),
    repeating-linear-gradient(
      0deg,
      rgba(164, 185, 225, 0.06),
      rgba(164, 185, 225, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  color: #c3d8ff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 1rem;
}

.image-placeholder--hero {
  min-height: 340px;
}

.image-placeholder--tall {
  min-height: 280px;
}

.real-image {
  width: 100%;
  min-height: 210px;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid rgba(135, 167, 230, 0.42);
  display: block;
}

.real-picture {
  display: block;
  width: 100%;
}

.real-image--hero {
  min-height: 340px;
}

.real-image--tall {
  min-height: 280px;
}

.real-embed {
  width: 100%;
  min-height: 210px;
  border-radius: 13px;
  border: 1px solid rgba(135, 167, 230, 0.42);
  display: block;
  background: rgba(7, 12, 24, 0.92);
}

.real-embed--hero {
  min-height: 340px;
}

.real-embed--tall {
  min-height: 280px;
}

.real-embed--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(58, 202, 255, 0.2), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(125, 93, 255, 0.18), transparent 34%),
    linear-gradient(150deg, rgba(16, 25, 48, 0.96), rgba(11, 17, 34, 0.95));
}

.real-link-label {
  margin: 0;
  color: #cce0ff;
  font-size: 0.92rem;
}

.real-link-button {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  color: #041021;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.real-embed--play {
  align-items: stretch;
}

.real-embed--play .real-image {
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.real-embed--play .real-link-button {
  align-self: center;
}

.real-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.real-link-icon--youtube {
  background: #ff0033;
  border: 1px solid #ff6a87;
  box-shadow: 0 8px 18px rgba(255, 0, 51, 0.28);
}

.real-link-icon--youtube::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.32rem solid transparent;
  border-bottom: 0.32rem solid transparent;
  border-left: 0.52rem solid #ffffff;
  margin-left: 0.08rem;
}

.real-embed--play .real-link-icon {
  align-self: center;
}

.real-embed--play-youtube {
  position: relative;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.real-embed--play-youtube .real-link-icon {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  align-self: auto;
  z-index: 2;
}

.placeholder-caption {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-main--pricing {
  max-width: 1180px;
}

.pricing-hero {
  display: block;
  margin-bottom: 0.8rem;
}

.pricing-hero > div:first-child {
  max-width: 760px;
}

.pricing-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.1rem);
}

.pricing-account-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.34rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.pricing-plan__tier {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-a);
}

.pricing-account-note strong {
  color: #dce8ff;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.92rem;
  min-height: 100%;
  border: 1px solid rgba(129, 157, 210, 0.36);
  border-radius: 8px;
  padding: 1.15rem;
  background: rgba(14, 22, 40, 0.82);
}

.pricing-plan--featured {
  border-color: rgba(72, 224, 213, 0.78);
  background:
    linear-gradient(155deg, rgba(16, 50, 48, 0.86), rgba(12, 22, 43, 0.92));
  box-shadow: 0 16px 34px rgba(0, 80, 96, 0.24);
}

.pricing-plan__head {
  display: grid;
  gap: 0.16rem;
}

.pricing-plan__price {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1.42rem;
  color: #ecf4ff;
}

.pricing-plan__offer {
  margin: 0;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(114, 232, 219, 0.32);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.5);
}

.pricing-plan__offer .pricing-plan__price {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.15rem);
}

.pricing-plan__price span {
  display: inline;
  color: var(--muted);
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.pricing-plan__section-label {
  margin: 0;
  color: #b8fff2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-plan__coupon-note {
  margin: 0.46rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.pricing-billing-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.32rem;
  min-height: 0;
  padding: 0.28rem;
  border: 1px solid rgba(129, 157, 210, 0.24);
  border-radius: 8px;
  background: rgba(6, 20, 38, 0.3);
}

.pricing-billing-switch__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 0.34rem;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #dce8ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.pricing-billing-switch__option--monthly {
  border-color: rgba(108, 178, 255, 0.32);
  background: rgba(13, 36, 71, 0.56);
}

.pricing-billing-switch__option--annual {
  border-color: rgba(72, 224, 213, 0.36);
  background: rgba(13, 58, 61, 0.56);
}

.pricing-billing-switch__interval {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.pricing-billing-switch__option strong {
  color: inherit;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  white-space: nowrap;
}

.pricing-billing-switch__note {
  grid-column: 1 / -1;
  color: #b8fff2;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
}

.pricing-billing-switch__option.is-selected .pricing-billing-switch__note {
  color: rgba(5, 43, 59, 0.92);
}

.pricing-billing-switch__option--monthly.is-selected {
  color: #06101e;
  border-color: rgba(197, 228, 255, 0.9);
  background: linear-gradient(90deg, #70b8ff, #d6ebff);
  box-shadow: 0 6px 14px rgba(91, 166, 255, 0.2);
}

.pricing-billing-switch__option--annual.is-selected {
  color: #06101e;
  border-color: rgba(184, 255, 242, 0.9);
  background: linear-gradient(90deg, var(--accent-a), #fff0a8);
  box-shadow: 0 6px 14px rgba(72, 224, 213, 0.18);
}

.pricing-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: -0.46rem;
}

.pricing-usage-grid > div {
  min-height: 3.75rem;
  padding: 0.56rem;
  border: 1px solid rgba(129, 157, 210, 0.22);
  border-radius: 8px;
  background: rgba(8, 20, 38, 0.5);
}

.pricing-usage-grid strong {
  display: block;
  color: #ecf4ff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.12rem;
  line-height: 1.1;
}

.pricing-usage-grid span {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.pricing-feature-list {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding-left: 1.05rem;
  color: #dce8ff;
  font-size: 0.9rem;
}

.pricing-feature-list--plus {
  grid-template-columns: 1fr;
  padding-left: 1.05rem;
  list-style-position: outside;
  font-size: 0.86rem;
}

.pricing-plan__action {
  margin-top: auto;
  justify-content: center;
}

.pricing-plan__action--plus {
  min-height: 3.4rem;
  font-size: 1rem;
  font-weight: 900;
}

.pricing-action-status {
  min-height: 1.3rem;
  color: #ffd89b;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.02rem;
}

.contact-list {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(124, 158, 221, 0.25);
  padding-top: 1.15rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p + p {
  margin-top: 0.15rem;
}

.creator-inline__form {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.creator-inline__form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(120, 152, 220, 0.42);
  background: rgba(8, 13, 25, 0.9);
  color: #eef4ff;
  padding: 0.8rem;
  font-family: inherit;
  resize: vertical;
}

.creator-shortcut-menu {
  margin-top: -0.38rem;
  display: grid;
  gap: 0.26rem;
  width: min(520px, calc(100% - 1.2rem));
  border: 1px solid rgba(118, 176, 255, 0.42);
  border-radius: 10px;
  padding: 0.38rem;
  background: rgba(7, 12, 24, 0.98);
  box-shadow: 0 16px 34px rgba(3, 8, 22, 0.45);
}

.creator-shortcut-menu[hidden] {
  display: none;
}

.creator-shortcut-menu__item {
  display: grid;
  grid-template-columns: 6.8rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.48rem 0.58rem;
  background: transparent;
  color: #dbe9ff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.creator-shortcut-menu__item[aria-selected="true"],
.creator-shortcut-menu__item:hover {
  border-color: rgba(75, 215, 173, 0.58);
  background: rgba(53, 186, 246, 0.1);
}

.creator-shortcut-menu__item strong {
  color: #9af1d8;
  white-space: nowrap;
}

.creator-shortcut-menu__item span {
  color: #9db7db;
  font-size: 0.82rem;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.62rem;
}

.creator-subscription-row,
.creator-audio-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.creator-audio-cta {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 185, 60, 0.38);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(32, 18, 4, 0.88), rgba(18, 8, 2, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 165, 40, 0.1), 0 8px 20px rgba(180, 90, 0, 0.1);
}

.creator-subscription-row p,
.creator-audio-cta p {
  margin: 0;
  color: #ffd89b;
  font-size: 0.92rem;
  font-weight: 700;
}

.creator-inline__form .btn {
  margin-top: 0;
}

.creator-subscribe-cta {
  border: 1px solid rgba(255, 222, 132, 0.72);
  background: linear-gradient(90deg, #ffd36d, #ff8c5a);
  color: #06101e;
  padding: 0.65rem 1.4rem;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(255, 151, 92, 0.28);
}

.creator-subscribe-cta--annual {
  border-color: rgba(114, 232, 219, 0.68);
  background: linear-gradient(90deg, #b8fff2, #67d2ff);
}

.creator-subscribe-cta:hover,
.creator-subscribe-cta:focus {
  box-shadow:
    0 12px 30px rgba(255, 151, 92, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.08);
}

.creator-plans-cta {
  margin-top: 0;
  padding: 0.65rem 1rem;
}

.creator-trial-status {
  color: #9db7db;
  font-size: 0.82rem;
  font-weight: 700;
}

.creator-inline__status {
  margin-top: 0.9rem;
  color: #9ed8ff;
}

.creator-modal__head .creator-inline__status {
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.creator-inline__status:empty {
  display: none;
}

.creator-subscription-hint:empty {
  display: none;
}

.creator-subscription-hint {
  margin: 0;
  color: #9db7db;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .creator-shortcut-menu__item {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .creator-actions {
    align-items: stretch;
  }

}

.creator-inline__output {
  margin-top: 0.6rem;
  max-height: 240px;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(123, 152, 224, 0.38);
  background: rgba(7, 11, 23, 0.85);
  color: #d3e5ff;
  padding: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.86rem;
}

.creator-account,
.creator-library {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
  border: 1px solid rgba(122, 162, 230, 0.34);
  border-radius: 8px;
  padding: 0.86rem;
  background: rgba(8, 13, 25, 0.54);
}

.creator-cloud-drawer {
  width: min(480px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  overflow: hidden;
}

.creator-cloud-drawer::backdrop {
  background: rgba(2, 6, 14, 0.62);
  backdrop-filter: blur(2px);
}

.creator-cloud-drawer__surface {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.82rem;
  border-left: 1px solid rgba(122, 162, 230, 0.4);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(6, 16, 29, 0.98), rgba(5, 12, 24, 0.98));
  box-shadow: -20px 0 52px rgba(0, 0, 0, 0.42);
}

.creator-cloud-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.creator-cloud-drawer__head h2 {
  margin: 0.08rem 0 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.creator-cloud-drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(122, 162, 230, 0.36);
  border-radius: 999px;
  color: #eef4ff;
  background: rgba(7, 13, 28, 0.86);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.creator-cloud-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem;
  border-radius: 8px;
  padding: 0.34rem;
  background: rgba(9, 18, 35, 0.88);
}

.creator-cloud-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #b9d5ee;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.creator-cloud-tab[aria-selected="true"] {
  border-color: rgba(74, 216, 172, 0.42);
  color: #eaf6ff;
  background: rgba(11, 43, 47, 0.84);
}

.creator-cloud-drawer__views {
  min-height: 0;
  overflow: auto;
  padding-right: 0.1rem;
}

.creator-cloud-view[hidden] {
  display: none;
}

.creator-cloud-drawer .creator-account,
.creator-cloud-drawer .creator-library {
  border: 0;
  padding: 0;
  background: transparent;
}

.creator-cloud-drawer .creator-account {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.66rem;
}

.creator-cloud__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.creator-cloud__head h2,
.creator-cloud__head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.creator-cloud__quiet {
  min-height: 38px;
  padding: 0.45rem 0.72rem;
}

.creator-cloud__status {
  margin: 0;
  min-height: 0;
  color: #b9d5ee;
  font-size: 0.88rem;
  line-height: 1.45;
}

.creator-account__achievements {
  display: grid;
  gap: 0.68rem;
}

.creator-account__achievements[hidden] {
  display: none;
}

.creator-achievement-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem;
  margin-top: 0.12rem;
}

.creator-achievement-stat {
  min-width: 0;
  border: 1px solid rgba(142, 184, 238, 0.18);
  border-radius: 8px;
  padding: 0.58rem 0.32rem;
  background: rgba(15, 30, 48, 0.76);
  color: #a8c3e4;
  text-align: center;
}

.creator-achievement-stat strong {
  display: block;
  color: #e9f8ff;
  font-size: 1.34rem;
  line-height: 1.05;
}

.creator-achievement-stat span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.creator-achievement-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.creator-achievement-badge {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.36rem;
  min-width: 0;
  min-height: 106px;
  border: 1px solid rgba(142, 184, 238, 0.18);
  border-radius: 8px;
  padding: 0.64rem 0.35rem 0.52rem;
  background: rgba(8, 17, 31, 0.72);
  color: #8093b2;
  text-align: center;
}

.creator-achievement-badge__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(140, 170, 218, 0.2);
  border-radius: 50%;
  background: rgba(16, 31, 52, 0.8);
  font-size: 1.7rem;
  line-height: 1;
  filter: saturate(0.2);
}

.creator-achievement-badge__label {
  max-width: 100%;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-achievement-badge.is-earned {
  border-color: rgba(74, 216, 172, 0.34);
  background:
    linear-gradient(180deg, rgba(15, 42, 42, 0.86), rgba(7, 18, 30, 0.82));
  color: #d5fff0;
}

.creator-achievement-badge.is-earned .creator-achievement-badge__icon {
  border-color: rgba(255, 218, 128, 0.54);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 233, 170, 0.36), transparent 34%),
    linear-gradient(145deg, rgba(255, 143, 86, 0.32), rgba(37, 168, 207, 0.4));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  filter: none;
}

.creator-achievement-badge.is-locked {
  opacity: 0.76;
}

.creator-account__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.creator-account__form[hidden] {
  display: none;
}

.creator-account__form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(123, 152, 224, 0.42);
  border-radius: 8px;
  background: rgba(5, 10, 20, 0.72);
  color: #eef4ff;
  padding: 0.58rem 0.68rem;
  font: inherit;
}

.creator-account__field {
  display: grid;
  gap: 0.28rem;
  color: #b9d5ee;
  font-size: 0.82rem;
  font-weight: 800;
}

.creator-account__profile {
  border: 1px solid rgba(122, 162, 230, 0.22);
  border-radius: 8px;
  padding: 0.62rem;
  background: rgba(8, 17, 31, 0.46);
}

.creator-account__settings {
  display: grid;
  gap: 0.5rem;
}

.creator-account__settings > summary {
  cursor: pointer;
  color: #9ed8ff;
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
  user-select: none;
}

.creator-account__settings > summary::-webkit-details-marker {
  display: none;
}

.creator-account__settings > summary::before {
  content: "⚙ ";
}

.creator-account__emailline {
  word-break: break-all;
}

.creator-account__form .btn {
  justify-self: start;
}

.creator-account__agegate {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #c7d6f5;
}

.creator-account__agegate[hidden] {
  display: none;
}

/* Override the full-width input styling for the small inline checkbox. */
.creator-account__agegate input {
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  flex: 0 0 auto;
}

.creator-account__link {
  justify-self: start;
  min-height: 0;
  padding: 0.25rem 0;
  background: none;
  border: none;
  color: #9ab8ff;
  font-size: 0.85rem;
  text-decoration: underline;
}

.creator-library__list {
  display: grid;
  gap: 0.68rem;
  min-width: 0;
}

.creator-library__item {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
  border: 1px solid rgba(122, 162, 230, 0.3);
  border-left-width: 4px;
  border-radius: 8px;
  padding: 0.72rem;
  background: rgba(6, 16, 23, 0.52);
}

.creator-library__item--compact {
  border-left-width: 3px;
  padding: 0.58rem;
  background: rgba(4, 12, 22, 0.58);
}

.creator-library__item--script {
  border-left-color: #7fdcb9;
}

.creator-library__item--audio {
  border-left-color: #ffb35f;
}

.creator-library__item--visual {
  border-left-color: #79c9ff;
}

.creator-library__item--immersive {
  border-left-color: #f28de5;
}

.creator-library__heading {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.creator-library__type {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.18rem 0.52rem 0.18rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.creator-library__type-icon {
  min-width: 38px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(3, 10, 21, 0.46);
  color: #f2f8ff;
  font-size: 0.58rem;
}

.creator-library__type--script {
  color: #aaf5db;
  background: rgba(50, 163, 125, 0.16);
}

.creator-library__type--audio {
  color: #ffd294;
  background: rgba(231, 136, 47, 0.16);
}

.creator-library__type--visual {
  color: #b7e6ff;
  background: rgba(56, 153, 231, 0.16);
}

.creator-library__type--immersive {
  color: #ffc3f5;
  background: rgba(204, 79, 188, 0.16);
}

.creator-library__title {
  justify-self: start;
  max-width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: #9af1d8;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(154, 241, 216, 0.34);
  text-underline-offset: 0.18em;
}

.creator-library__title:hover,
.creator-library__title:focus-visible {
  color: #c4fff0;
  outline: 2px solid rgba(154, 241, 216, 0.34);
  outline-offset: 3px;
  text-decoration-color: rgba(196, 255, 240, 0.82);
}

.creator-library__meta {
  margin: 0;
  color: #91badc;
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.creator-library__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem 0.62rem;
}

.creator-library__action-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: 100%;
  padding-right: 0.62rem;
  border-right: 1px solid rgba(129, 157, 210, 0.2);
}

.creator-library__action-group:last-child {
  padding-right: 0;
  border-right: 0;
}

.creator-library__action-group--danger {
  margin-left: 0.1rem;
}

.creator-library__action-label {
  color: #91badc;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.creator-library__button {
  min-height: 31px;
  max-width: 100%;
  padding: 0.3rem 0.52rem;
  font-size: 0.76rem;
  text-decoration: none;
}

.creator-library__action-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: min(100%, 18rem);
  color: #9af1d8;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-library__action-group--danger .creator-library__button {
  border-color: rgba(255, 151, 168, 0.5);
  color: #ffd3da;
}

.creator-library__action-status--error {
  color: #ffb0bd;
}

.creator-library-series {
  display: grid;
  gap: 0.66rem;
  border: 1px solid rgba(74, 216, 172, 0.34);
  border-radius: 8px;
  padding: 0.72rem;
  background:
    linear-gradient(135deg, rgba(8, 30, 38, 0.76), rgba(7, 12, 24, 0.74));
}

.creator-library-series__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.creator-library-series__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.creator-library-series__label {
  display: block;
  margin-bottom: 0.2rem;
  color: #9af1d8;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.creator-library-series__head strong {
  display: block;
  color: #f4fbff;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-library-series__head p {
  margin: 0.22rem 0 0;
  color: #9db7db;
  font-size: 0.8rem;
  line-height: 1.38;
}

.creator-library-series__episodes {
  display: grid;
  gap: 0.52rem;
}

.creator-library-series__episode {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.creator-library-series__episode-body {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.creator-library-series__episode-number {
  min-width: 3.35rem;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 241, 216, 0.32);
  border-radius: 999px;
  padding: 0.16rem 0.42rem;
  background: rgba(3, 10, 21, 0.46);
  color: #cfe9ff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.creator-library-series__episode-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.creator-library-series__control {
  min-height: 30px;
  border: 1px solid rgba(142, 184, 238, 0.34);
  border-radius: 999px;
  padding: 0.24rem 0.52rem;
  background: rgba(6, 13, 28, 0.7);
  color: #d9e8ff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
}

.creator-library-series__control:hover,
.creator-library-series__control:focus-visible {
  border-color: rgba(154, 241, 216, 0.58);
  color: #f5fbff;
}

.creator-library-series__control:disabled {
  opacity: 0.42;
  cursor: default;
}

.creator-library-series__control--danger {
  border-color: rgba(255, 143, 143, 0.42);
  color: #ffd0d0;
}

@media (max-width: 820px) {
  .creator-library__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .creator-library__action-group {
    padding-right: 0.46rem;
  }

  .creator-library__button {
    width: auto;
    justify-content: center;
    text-align: center;
  }

  .creator-library-series__head,
  .creator-library-series__episode {
    grid-template-columns: 1fr;
  }

  .creator-library-series__episode-number {
    justify-self: start;
  }
}

.creator-modal {
  width: min(1280px, calc(100vw - 1rem));
  height: auto;
  max-height: calc(100dvh - 1rem);
  max-height: calc(100vh - 1rem);
  border: 1px solid rgba(123, 152, 224, 0.52);
  border-radius: 12px;
  padding: 0;
  background: transparent;
  color: #eef4ff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.creator-modal::backdrop {
  background: rgba(2, 6, 15, 0.72);
  backdrop-filter: blur(8px);
}

.creator-modal__surface {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 1.1rem;
  background:
    linear-gradient(156deg, rgba(13, 23, 45, 0.99), rgba(8, 14, 28, 0.99));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  border-radius: 12px;
}

.creator-modal__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  z-index: 2;
  margin: -1.1rem -1.1rem 0;
  padding: 1rem 1.1rem 0.8rem;
  background: rgba(11, 20, 40, 0.99);
  border-bottom: 1px solid rgba(123, 152, 224, 0.22);
  border-radius: 12px 12px 0 0;
}

.creator-modal__head h3 {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
}

.creator-modal__tools {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.creator-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(139, 176, 238, 0.45);
  border-radius: 8px;
  background: rgba(7, 12, 24, 0.8);
  color: #eef4ff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.creator-modal__close:hover {
  background: rgba(62, 205, 255, 0.18);
}

.creator-audio-repair {
  width: min(760px, calc(100vw - 1rem));
}

.creator-audio-repair__body {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.9rem;
}

.creator-audio-repair__status {
  margin-top: 0.75rem;
}

.creator-result {
  flex: 0 0 auto;
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
  min-height: 0;
  overflow: visible;
  padding-right: 0;
  padding-bottom: 1.6rem;
  scroll-padding-block: 1rem 1.4rem;
}

.creator-success {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 0.8rem;
  align-items: stretch;
  border: 1px solid rgba(74, 216, 172, 0.36);
  border-radius: 8px;
  padding: 0.9rem;
  background:
    linear-gradient(135deg, rgba(13, 49, 46, 0.88), rgba(10, 22, 43, 0.92));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.creator-success__copy {
  min-width: 0;
}

.creator-success__eyebrow {
  margin: 0 0 0.3rem;
  color: #9af1d8;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.creator-success h3 {
  margin: 0;
  color: #f2fff9;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-success__copy > p:last-child {
  margin: 0.38rem 0 0;
  color: #cfe9ff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.creator-success__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
  min-width: 0;
}

.creator-success__stats span {
  min-width: 0;
  border: 1px solid rgba(158, 216, 255, 0.22);
  border-radius: 8px;
  padding: 0.58rem 0.48rem;
  background: rgba(5, 11, 23, 0.42);
}

.creator-success__stats strong,
.creator-success__stats em {
  display: block;
  min-width: 0;
  font-style: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-success__stats strong {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.creator-success__stats em {
  margin-top: 0.2rem;
  color: #bdd2ee;
  font-size: 0.76rem;
}

.creator-upgrade-panel {
  display: grid;
  gap: 0.78rem;
  border: 1px solid rgba(123, 152, 224, 0.34);
  border-radius: 8px;
  padding: 0.9rem;
  background: rgba(7, 12, 24, 0.76);
}

.creator-upgrade-panel__head {
  display: grid;
  gap: 0.22rem;
}

.creator-upgrade-panel__head h3 {
  margin: 0;
  color: #eef4ff;
  font-size: 1rem;
  line-height: 1.25;
}

.creator-upgrade-panel__head p {
  margin: 0;
  color: #9db7db;
  font-size: 0.86rem;
  line-height: 1.45;
}

.creator-upgrade-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.creator-upgrade-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem 0.64rem;
  align-items: center;
  min-width: 0;
  min-height: 132px;
  border: 1px solid rgba(142, 184, 238, 0.22);
  border-radius: 8px;
  padding: 0.76rem;
  background: rgba(8, 17, 32, 0.82);
  color: #eef4ff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.creator-upgrade-card:hover,
.creator-upgrade-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(13, 26, 45, 0.96);
}

.creator-upgrade-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07101e;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
}

.creator-upgrade-card__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.creator-upgrade-card__copy strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.creator-upgrade-card__copy span {
  color: #a9bedb;
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.creator-upgrade-card em {
  grid-column: 1 / -1;
  justify-self: start;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f4fbff;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.creator-upgrade-card--audio .creator-upgrade-card__icon {
  background: linear-gradient(135deg, #ffd36d, #ff9c63);
}

.creator-upgrade-card--visual .creator-upgrade-card__icon {
  background: linear-gradient(135deg, #8df0ff, #7ca7ff);
}

.creator-upgrade-card--immersive .creator-upgrade-card__icon {
  background: linear-gradient(135deg, #ff9edf, #9e8cff);
}

.creator-upgrade-card--share .creator-upgrade-card__icon {
  background: linear-gradient(135deg, #9af1d8, #bff08a);
}

.creator-visual-followups {
  display: grid;
  gap: 0.75rem;
}

.creator-visual-followups__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.creator-visual-followups__head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.creator-visual-followups__head p {
  max-width: 34rem;
  margin: 0;
  color: #9db7db;
  font-size: 0.84rem;
  line-height: 1.45;
}

.creator-visual-followups__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (max-width: 980px) {
  .creator-success {
    grid-template-columns: 1fr;
  }

  .creator-upgrade-panel__grid,
  .creator-visual-followups__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .creator-success__stats,
  .creator-upgrade-panel__grid,
  .creator-visual-followups__grid {
    grid-template-columns: 1fr;
  }

  .creator-visual-followups__head {
    display: grid;
  }

  .creator-upgrade-card {
    min-height: 0;
  }
}

.creator-result__section {
  border: 1px solid rgba(123, 152, 224, 0.38);
  border-radius: 8px;
  background: rgba(7, 11, 23, 0.72);
  padding: 0.9rem;
}

.creator-result__section--active {
  border-color: rgba(74, 216, 172, 0.58);
  background: rgba(8, 22, 29, 0.82);
}

.creator-result__section--error {
  border-color: rgba(255, 119, 119, 0.68);
  background: rgba(39, 12, 19, 0.78);
}

.creator-result__section--series {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 199, 95, 0.58);
  background:
    linear-gradient(135deg, rgba(45, 25, 8, 0.86), rgba(22, 9, 37, 0.78) 52%, rgba(6, 14, 27, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 190, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.creator-result__section h3 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ed8ff;
  opacity: 0.88;
}

.creator-result__section p {
  margin: 0;
  color: #d3e5ff;
}

.creator-result__section p + p,
.creator-result__section ol,
.creator-result__section ul {
  margin-top: 0.45rem;
}

.creator-result__section ol,
.creator-result__section ul {
  padding-left: 1.25rem;
  color: #d3e5ff;
  font-size: 0.88rem;
  line-height: 1.52;
}

.creator-result__section li + li {
  margin-top: 0.18rem;
}

.creator-result__section strong {
  color: #eef4ff;
}

.creator-result__section audio {
  margin-top: 0.55rem;
  width: min(100%, 520px);
}

.creator-series {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.creator-series__copy {
  min-width: 0;
}

.creator-series__eyebrow {
  margin: 0 0 0.22rem;
  color: #ffd889;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.creator-series__copy strong {
  display: block;
  color: #f4fbff;
  font-size: 1rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.creator-series__copy p:last-child {
  margin-top: 0.32rem;
  color: #ffdcb4;
  font-size: 0.84rem;
  line-height: 1.42;
}

.creator-series__chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.creator-series__chips span {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 217, 137, 0.34);
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  background: rgba(34, 15, 39, 0.42);
  color: #ffe4b2;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.creator-series__action {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  min-width: min(360px, 100%);
}

.creator-series__topic-form {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: stretch;
  align-items: end;
  gap: 0.5rem;
  min-width: 0;
  border: 1px solid rgba(255, 199, 95, 0.46);
  border-radius: 8px;
  padding: 0.72rem;
  background:
    linear-gradient(135deg, rgba(67, 35, 9, 0.62), rgba(25, 13, 44, 0.58));
}

.creator-series__topic-label {
  grid-column: 1 / -1;
  color: #ffd889;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.creator-series__action > span {
  max-width: 360px;
  color: #9db7db;
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: right;
}

.creator-series__topic {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 217, 137, 0.36);
  border-radius: 8px;
  padding: 0.58rem 0.72rem;
  background: rgba(3, 9, 20, 0.72);
  color: #eef4ff;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.3;
}

.creator-series__topic:focus {
  outline: 2px solid rgba(255, 199, 95, 0.38);
  outline-offset: 2px;
  border-color: rgba(255, 199, 95, 0.72);
}

.creator-series__button {
  margin-top: 0;
  min-width: 156px;
  height: 42px;
  white-space: nowrap;
}

.creator-series__topic-form > span {
  grid-column: 1 / -1;
  max-width: none;
  text-align: left;
}

.creator-series-shelf {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.48rem;
  min-width: 0;
  border: 1px solid rgba(255, 217, 137, 0.26);
  border-radius: 8px;
  padding: 0.58rem;
  background: rgba(3, 10, 21, 0.28);
}

.creator-series-shelf__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem 0.55rem;
  align-items: baseline;
}

.creator-series-shelf__head strong {
  color: #f4fbff;
  font-size: 0.86rem;
  line-height: 1.25;
}

.creator-series-shelf__head span {
  color: #9db7db;
  font-size: 0.76rem;
  line-height: 1.35;
}

.creator-series-shelf__rail {
  display: flex;
  gap: 0.42rem;
  overflow-x: auto;
  padding-bottom: 0.08rem;
}

.creator-series-shelf__episode {
  flex: 0 0 min(15rem, 78vw);
  display: grid;
  gap: 0.16rem;
  border: 1px solid rgba(123, 152, 224, 0.34);
  border-radius: 8px;
  padding: 0.48rem 0.58rem;
  background: rgba(5, 11, 23, 0.48);
  color: #eef4ff;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

button.creator-series-shelf__episode {
  cursor: pointer;
}

button.creator-series-shelf__episode:hover,
button.creator-series-shelf__episode:focus-visible {
  border-color: rgba(154, 241, 216, 0.66);
}

.creator-series-shelf__episode.is-current {
  border-color: rgba(154, 241, 216, 0.62);
  background: rgba(33, 94, 88, 0.28);
}

.creator-series-shelf__number {
  color: #ffd889;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.creator-series-shelf__title {
  min-width: 0;
  color: #f4fbff;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-audio-player-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.55rem;
}

.creator-audio-player-row > audio {
  min-width: 0;
  width: 100%;
  margin-top: 0;
}

.creator-audio-player-row > .creator-audio-cta {
  margin-top: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.creator-audio-download {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(74, 216, 172, 0.5);
  border-radius: 50%;
  background: rgba(74, 216, 172, 0.08);
  color: #9af1d8;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.creator-audio-download:hover {
  background: rgba(74, 216, 172, 0.2);
}

.creator-progress__eta {
  margin-top: 0.18rem;
  color: #7aa4c8;
}

.creator-comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.creator-comic-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(123, 152, 224, 0.32);
  border-radius: 8px;
  background: rgba(4, 8, 17, 0.78);
}

.creator-comic-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.creator-comic-panel figcaption {
  padding: 0.55rem 0.65rem;
  color: #d3e5ff;
  font-size: 0.86rem;
}

/* Immersive "video-like" player: panel image with the narration transport
   flush beneath it inside one framed unit, so it reads as a single video
   rather than separate Visual + Audio cards. No video is encoded. */
.creator-video {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.creator-video__frame {
  border: 1px solid rgba(126, 233, 210, 0.24);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.98), rgba(6, 10, 21, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 22px 56px rgba(0, 0, 0, 0.34);
}

/* The stage drops its own frame so the image + transport read as one screen. */
.creator-video__frame .creator-comic-book__stage {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.creator-video__frame .creator-video__audio {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.98), rgba(5, 9, 19, 0.99));
  border-top: 1px solid rgba(126, 233, 210, 0.16);
}

/* Download CTA sits below the player rather than beside the transport. */
.creator-video__cta {
  width: 100%;
  box-sizing: border-box;
}

/* Comic-book reader — one panel per page, caption underneath, arrow nav. */
.creator-comic-book {
  display: grid;
  gap: 0.78rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  user-select: none;
}

.creator-comic-book__stage {
  position: relative;
  border: 1px solid rgba(126, 233, 210, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10, 17, 32, 0.98), rgba(6, 10, 21, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 22px 56px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  touch-action: pan-y;
}

.creator-comic-book__stage:focus-visible {
  outline: 2px solid rgba(126, 233, 210, 0.76);
  outline-offset: 3px;
}

.creator-comic-book__page {
  display: none;
}

.creator-comic-book__page--current {
  display: block;
}

.creator-comic-book__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(49, 216, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #071120, #030711);
}

.creator-comic-book__caption {
  min-height: 3.8rem;
  padding: 0.82rem 1rem 0.95rem;
  color: #ecf6ff;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  font-weight: 650;
  line-height: 1.45;
  border-top: 1px solid rgba(126, 233, 210, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 24, 42, 0.97), rgba(8, 15, 30, 0.98));
}

.creator-comic-book__repair {
  margin: 0.72rem 1rem 0;
  border: 1px solid rgba(142, 184, 238, 0.34);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: rgba(6, 13, 27, 0.86);
  color: #dcecff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.creator-comic-book__repair:hover,
.creator-comic-book__repair:focus-visible {
  border-color: rgba(74, 216, 172, 0.62);
  color: #f4fbff;
}

.creator-comic-book__repair:disabled {
  cursor: wait;
  opacity: 0.7;
}

.creator-comic-book__replace {
  margin-left: 0.4rem;
  border-color: rgba(142, 184, 238, 0.24);
  color: #c8dcf6;
}

.creator-comic-book__repair-status {
  margin: 0.4rem 1rem 0;
  max-width: 34rem;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.32;
}

.creator-comic-book__repair-status--info {
  color: #9cc2f0;
}

.creator-comic-book__repair-status--success {
  color: #6fe3b6;
}

.creator-comic-book__repair-status--warning {
  color: #f3c969;
}

.creator-comic-book__repair-status--error {
  color: #f3a0a0;
}

.creator-comic-book__nav {
  display: grid;
  grid-template-columns: 42px minmax(112px, auto) 42px;
  grid-template-areas:
    "prev counter next"
    "progress progress progress";
  align-items: center;
  justify-content: center;
  column-gap: 0.62rem;
  row-gap: 0.42rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.46rem 0.55rem 0.5rem;
  border: 1px solid rgba(126, 233, 210, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 31, 55, 0.92), rgba(8, 15, 30, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.26);
}

.creator-comic-book__btn {
  grid-area: prev;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(126, 233, 210, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.14), rgba(239, 246, 255, 0.06));
  color: #eef4ff;
  font: 800 1.75rem/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.creator-comic-book__btn--prev {
  grid-area: prev;
}

.creator-comic-book__btn--next {
  grid-area: next;
}

.creator-comic-book__btn span {
  display: block;
  transform: translateY(-1px);
}

.creator-comic-book__btn:hover:not(:disabled) {
  border-color: rgba(126, 233, 210, 0.8);
  background: rgba(74, 216, 172, 0.18);
  color: #9af1d8;
  box-shadow: 0 8px 18px rgba(74, 216, 172, 0.16);
  transform: translateY(-1px);
}

.creator-comic-book__btn:focus-visible {
  outline: 2px solid rgba(126, 233, 210, 0.8);
  outline-offset: 2px;
}

.creator-comic-book__btn:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.creator-comic-book__counter {
  grid-area: counter;
  min-width: 7rem;
  color: #dbe8ff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.creator-comic-book__progress {
  grid-area: progress;
  display: flex;
  justify-content: center;
  gap: 0.28rem;
  min-height: 0.34rem;
}

.creator-comic-book__dot {
  height: 0.26rem;
  border-radius: 999px;
  background: rgba(159, 176, 204, 0.26);
  transition: background 140ms ease, width 140ms ease, box-shadow 140ms ease;
}

.creator-comic-book__dot--current {
  background: linear-gradient(90deg, #7ee9d2, #8bd3ff);
  box-shadow: 0 0 14px rgba(126, 233, 210, 0.34);
}

.creator-comic-book__badge {
  margin: 0.7rem 0.85rem 0.85rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 190, 106, 0.45);
  border-radius: 6px;
  background: rgba(60, 38, 8, 0.55);
  color: #ffd9a0;
  font-size: 0.8rem;
  line-height: 1.3;
}

.creator-progress {
  display: grid;
  gap: 0.58rem;
}

.creator-error-card {
  display: grid;
  gap: 0.36rem;
}

.creator-error-card strong {
  color: #ffd2d2;
}

.creator-error-card p {
  color: #ffdede;
}

.creator-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.creator-progress__top strong {
  font-size: 0.95rem;
}

.creator-progress__top span {
  flex: 0 0 auto;
  border: 1px solid rgba(74, 216, 172, 0.5);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  color: #9af1d8;
  font-size: 0.74rem;
  font-weight: 900;
}

.creator-progress__track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(129, 157, 210, 0.2);
}

.creator-progress__bar {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4ad8ac, #52c5ff);
  animation: creator-progress-slide 1.15s ease-in-out infinite;
}

@keyframes creator-progress-slide {
  0% {
    transform: translateX(-110%);
  }

  55% {
    transform: translateX(55%);
  }

  100% {
    transform: translateX(240%);
  }
}

.creator-result__actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.creator-result__actions--edit {
  justify-content: flex-end;
}

.creator-approval {
  display: grid;
  gap: 0.75rem;
}

.creator-approval__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.creator-voice {
  margin: 0;
  border: 1px solid rgba(123, 152, 224, 0.32);
  border-radius: 8px;
  padding: 0.72rem;
  background: rgba(8, 13, 25, 0.58);
}

.creator-voice__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.58rem;
}

.creator-voice-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(123, 152, 224, 0.36);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: #eef4ff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  background: rgba(5, 10, 20, 0.62);
}

.creator-select-option {
  box-shadow: none;
}

.creator-select-option[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px rgba(154, 241, 216, 0.18);
}

.creator-select-option[aria-pressed="true"]::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.38rem;
  border-radius: 999px;
  background: rgba(154, 241, 216, 0.16);
  color: #9af1d8;
  font-size: 0.72rem;
  line-height: 1;
}

.creator-select-option--product {
  justify-content: flex-start;
  gap: 0.34rem;
  flex-wrap: wrap;
  text-align: left;
}

.creator-product-option__label {
  white-space: nowrap;
}

.creator-product-option__note {
  color: #b7c8e4;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
}

.creator-select-option--product[aria-pressed="true"] .creator-product-option__note {
  color: rgba(154, 241, 216, 0.82);
}

.creator-status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(133, 160, 211, 0.38);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  color: #b9c8df;
  font-size: 0.78rem;
  font-weight: 800;
}

.creator-status-pill--done {
  border-color: rgba(75, 215, 173, 0.5);
  color: #9af1d8;
}

.creator-status-pill--active {
  border-color: rgba(82, 197, 255, 0.65);
  color: #9ed8ff;
  background: rgba(53, 186, 246, 0.1);
}

.creator-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

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

.creator-choice-grid--formats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 54px;
  border: 1px solid rgba(123, 152, 224, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(13, 24, 45, 0.96), rgba(6, 11, 22, 0.94));
  color: #eef4ff;
  padding: 0.72rem 0.9rem;
  text-align: center;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.creator-choice:disabled {
  cursor: wait;
  opacity: 0.56;
}

.creator-choice:hover,
.creator-choice:focus-visible {
  border-color: rgba(92, 210, 255, 0.88);
  background: rgba(13, 28, 49, 0.96);
  transform: translateY(-1px);
}

.creator-choice:disabled:hover {
  border-color: rgba(123, 152, 224, 0.42);
  background:
    linear-gradient(155deg, rgba(13, 24, 45, 0.96), rgba(6, 11, 22, 0.94));
  transform: none;
}

.creator-choice__image {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.creator-choice--audio {
  border-color: rgba(74, 216, 172, 0.6);
}

.creator-choice--visual {
  border-color: rgba(89, 190, 255, 0.64);
}

.creator-choice--immersive {
  border-color: rgba(255, 199, 95, 0.68);
}

.creator-choice--edit {
  border-color: rgba(165, 182, 218, 0.58);
}

.creator-choice--approve {
  border-color: rgba(74, 216, 172, 0.72);
  background:
    linear-gradient(155deg, rgba(20, 58, 52, 0.96), rgba(7, 20, 27, 0.94));
}

.creator-action-button {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.creator-action-button::after {
  content: "→";
  color: #9af1d8;
  font-weight: 900;
}

.creator-action-button.creator-choice--edit::after {
  content: "";
}

.creator-action-button.creator-choice--approve {
  background:
    linear-gradient(155deg, rgba(21, 76, 65, 0.98), rgba(7, 29, 34, 0.96));
}

.creator-edit__label {
  display: grid;
  gap: 0.35rem;
  color: #9ed8ff;
  font-weight: 800;
}

.creator-edit__label + .creator-edit__label {
  margin-top: 0.7rem;
}

.creator-edit__line {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.creator-edit__line-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.creator-edit__delete {
  flex: none;
  padding: 0.18rem 0.55rem;
  font-size: 0.72rem;
}

.creator-edit__input,
.creator-edit__textarea {
  width: 100%;
  border: 1px solid rgba(123, 152, 224, 0.42);
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.9);
  color: #eef4ff;
  padding: 0.68rem;
  font: inherit;
  font-weight: 600;
}

.creator-edit__textarea {
  resize: vertical;
}

.creator-result__button {
  margin-top: 0;
}

.creator-result__strong {
  font-weight: 800;
}

.creator-result__meta {
  color: #98abc9;
  font-size: 0.8rem;
  word-break: break-word;
}

@media (max-width: 760px) {
  .creator-modal {
    width: min(100vw - 1rem, 920px);
    height: auto;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }

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

  .creator-series__action {
    justify-items: start;
  }

  .creator-series__topic-form {
    grid-template-columns: 1fr;
  }

  .creator-series__button {
    width: 100%;
  }

  .creator-series__action > span {
    text-align: left;
  }

  .creator-modal__surface {
    max-height: none;
    padding: 0.85rem;
  }

  .creator-modal__head {
    margin: -0.85rem -0.85rem 0;
    padding: 0.85rem 0.85rem 0.7rem;
  }

  .creator-comic-book {
    gap: 0.65rem;
  }

  .creator-comic-book__stage {
    border-radius: 10px;
  }

  .creator-comic-book__caption {
    min-height: 4.4rem;
    padding: 0.72rem 0.78rem 0.82rem;
    font-size: 0.86rem;
  }

  .creator-comic-book__nav {
    grid-template-columns: 40px minmax(96px, auto) 40px;
    padding: 0.38rem 0.46rem 0.46rem;
    border-radius: 14px;
  }

  .creator-comic-book__btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1.58rem;
  }

  .creator-comic-book__counter {
    min-width: 6.2rem;
    font-size: 0.82rem;
  }

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

  .creator-choice-grid--review,
  .creator-choice-grid--formats {
    grid-template-columns: 1fr;
  }

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

.creator-saved {
  margin-top: 0.85rem;
  border-top: 1px solid rgba(122, 162, 230, 0.32);
  padding-top: 0.7rem;
}

.creator-saved__title {
  margin: 0;
  font-size: 0.86rem;
  color: #bfd4f3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.creator-saved__list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #d7e6fb;
  font-size: 0.85rem;
}

.page-home .site-main--home {
  display: grid;
  gap: 0.25rem;
}

.page-home .page-home-hero {
  margin-bottom: 0.55rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.page-home .home-hero-copy {
  position: relative;
  overflow: hidden;
  border-color: rgba(123, 166, 240, 0.46);
  background:
    radial-gradient(circle at 82% 16%, rgba(125, 93, 255, 0.18), transparent 38%),
    radial-gradient(circle at 14% 84%, rgba(49, 216, 255, 0.16), transparent 44%),
    linear-gradient(155deg, rgba(14, 25, 47, 0.98), rgba(10, 19, 39, 0.92));
}

.page-home .home-hero-lead {
  margin-top: 0.9rem;
  color: #c8daf5;
  max-width: none;
}

@media (min-width: 1120px) {
  .page-home .home-hero-lead {
    white-space: nowrap;
  }
}

.page-home .section-head {
  max-width: 760px;
}

.page-home .section-kicker,
.page-home .card-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ec9ff;
  font-weight: 700;
}

.page-home .content-section {
  border-color: rgba(126, 162, 224, 0.36);
}

.page-home .content-section--home-trending {
  background:
    radial-gradient(circle at 14% 12%, rgba(59, 208, 255, 0.1), transparent 38%),
    linear-gradient(150deg, rgba(13, 22, 43, 0.9), rgba(10, 18, 36, 0.86));
}

.page-home .content-section--home-community {
  background:
    radial-gradient(circle at 86% 8%, rgba(134, 99, 255, 0.12), transparent 36%),
    linear-gradient(152deg, rgba(12, 21, 41, 0.9), rgba(9, 18, 36, 0.86));
}

.page-home .content-section--home-cta {
  background:
    radial-gradient(circle at 14% 8%, rgba(74, 216, 172, 0.22), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(82, 197, 255, 0.16), transparent 40%),
    linear-gradient(156deg, rgba(8, 38, 35, 0.94), rgba(7, 18, 34, 0.9));
  border-color: rgba(74, 216, 172, 0.58);
  box-shadow:
    0 18px 44px rgba(5, 18, 28, 0.28),
    inset 0 0 0 1px rgba(154, 241, 216, 0.08);
}

.page-home .content-section--home-cta .section-kicker,
.page-home .content-section--home-cta h2 {
  color: #9af1d8;
}

.page-home .content-section--home-cta .section-intro {
  color: #d7f7ee;
}

.page-home .home-trending-grid .home-media-card,
.page-home .home-community-grid .home-media-card {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  border-color: rgba(127, 170, 238, 0.42);
  background: linear-gradient(158deg, rgba(20, 34, 64, 0.92), rgba(13, 23, 46, 0.88));
}

.page-home .home-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(184px, 230px);
  gap: 1.1rem;
  align-items: end;
}

.page-home .home-cta-primary {
  min-width: 0;
}

.page-home .home-demo-rail {
  display: grid;
  gap: 0.5rem;
  justify-self: end;
  width: min(100%, 230px);
  padding-bottom: 0.1rem;
}

.page-home .home-demo-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0.56rem;
  min-height: 48px;
  padding: 0.48rem 0.58rem;
  color: #d7f7ee;
  text-decoration: none;
  border: 1px solid rgba(126, 203, 220, 0.42);
  border-radius: 8px;
  background: rgba(5, 18, 28, 0.28);
}

.page-home .home-demo-link:hover,
.page-home .home-demo-link:focus-visible {
  border-color: rgba(154, 241, 216, 0.7);
  background: rgba(9, 36, 42, 0.58);
}

.page-home .home-demo-link__icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #50d8cf, #7b61ff);
  box-shadow: 0 8px 20px rgba(30, 150, 218, 0.22);
}

.page-home .home-demo-link__icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #061322;
}

.page-home .home-demo-link strong,
.page-home .home-demo-link small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-demo-link strong {
  font-size: 0.88rem;
  line-height: 1.15;
}

.page-home .home-demo-link small {
  margin-top: 0.1rem;
  color: #aabbd7;
  font-size: 0.72rem;
  line-height: 1.2;
}

.page-home .home-media-card h3 {
  margin-top: 0.22rem;
}

/* NumberDrop card: CSS mini-playzone preview (replaces baked screenshot) */
.page-home .numberdrop-preview {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.6rem;
  aspect-ratio: 5 / 4;
  padding: 0.85rem;
  border: 1px solid rgba(127, 170, 238, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 16%, rgba(125, 86, 255, 0.16), transparent 42%),
    linear-gradient(158deg, rgba(15, 26, 50, 0.96), rgba(10, 18, 36, 0.96));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-home .numberdrop-preview:hover,
.page-home .numberdrop-preview:focus-visible {
  border-color: rgba(114, 246, 255, 0.5);
  transform: translateY(-2px);
}

.page-home .numberdrop-preview__board {
  position: relative;
  flex: 0 0 46%;
  border: 1px solid rgba(141, 199, 244, 0.26);
  border-radius: 12px;
  background-color: rgba(8, 16, 30, 0.9);
  background-image:
    linear-gradient(rgba(141, 199, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 199, 244, 0.08) 1px, transparent 1px);
  background-size: 100% 14.3%, 33.33% 100%;
  overflow: hidden;
}

.page-home .numberdrop-preview__chip {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.18em 0.6em;
  border-radius: 7px;
  background: linear-gradient(#8fdbff, #38b6ff);
  color: #04111f;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.page-home .numberdrop-preview__target {
  position: absolute;
  left: 33.33%;
  width: 33.33%;
  top: 24%;
  bottom: 15%;
  background: linear-gradient(180deg, rgba(114, 246, 255, 0.16), rgba(114, 246, 255, 0.02));
}

.page-home .numberdrop-preview__tile {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 26%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(#8fdbff, #16c7ff);
  color: #04111f;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow:
    0 0 14px rgba(22, 199, 255, 0.34),
    0 -18px 16px -10px rgba(22, 199, 255, 0.4);
  animation: numberdrop-bob 2.6s ease-in-out infinite;
}

@keyframes numberdrop-bob {
  0%, 100% { transform: translate(-50%, -8%); }
  50% { transform: translate(-50%, 8%); }
}

.page-home .numberdrop-preview__tray {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
}

.page-home .numberdrop-preview__tray span {
  display: grid;
  place-items: center;
  padding: 0.32em 0;
  border-radius: 7px;
  background: linear-gradient(#ffe488, #ffb53f);
  color: #241200;
  font-size: 0.82rem;
  font-weight: 800;
}

.page-home .numberdrop-preview__tray .is-match {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: -2px;
  box-shadow: 0 0 16px rgba(255, 211, 77, 0.5);
}

.page-home .numberdrop-preview__prompt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.page-home .numberdrop-preview__problem {
  margin: 0;
  color: #eaf3ff;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .numberdrop-preview__problem span {
  color: #72f6ff;
}

.page-home .numberdrop-preview__hint {
  margin: 0;
  color: #aabbd7;
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-home .numberdrop-preview__play {
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6ad0ff, #7b61ff);
  color: #04111f;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(30, 150, 218, 0.28);
}

.page-home .numberdrop-preview:hover .numberdrop-preview__play,
.page-home .numberdrop-preview:focus-visible .numberdrop-preview__play {
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .numberdrop-preview__tile {
    animation: none;
    transform: translate(-50%, 0);
  }
}

.page-home .home-media-card .image-placeholder,
.page-home .home-media-card .real-image,
.page-home .home-media-card .real-embed {
  margin-top: 0.48rem;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.page-home .home-media-card .image-placeholder--tall,
.page-home .home-media-card .real-image--tall,
.page-home .home-media-card .real-embed--tall {
  aspect-ratio: 5 / 4;
}

.page-home .home-media-card .real-embed--play .real-image {
  aspect-ratio: 16 / 10;
}

.page-home .home-media-card .real-embed--play:not(.real-embed--play-youtube) {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
}

.page-home .home-media-card .real-embed--play:not(.real-embed--play-youtube) .real-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  aspect-ratio: auto;
  object-fit: contain;
  background: rgba(7, 12, 24, 0.9);
}

.page-home .home-media-card .real-embed--play:not(.real-embed--play-youtube) .real-link-button {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.page-home .home-media-card--mazeball .image-placeholder,
.page-home .home-media-card--mazeball .real-image,
.page-home .home-media-card--mazeball .real-embed,
.page-home .home-media-card--mazeball .real-picture {
  max-height: 320px;
}

.page-home .home-media-card--mazeball .real-image {
  object-fit: contain;
  background: rgba(7, 12, 24, 0.9);
}

.page-home .home-media-card--numberdrop .real-image {
  width: min(56%, 320px) !important;
  height: 100%;
  margin-left: 1rem;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(36, 204, 255, 0.26), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(255, 184, 75, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(145, 88, 255, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(4, 35, 49, 0.98), rgba(6, 11, 25, 0.98) 46%, rgba(24, 8, 36, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(67, 212, 255, 0.18),
    inset 0 -42px 90px rgba(255, 188, 82, 0.08);
}

.page-home .home-media-card--numberdrop .real-embed--play:not(.real-embed--play-youtube) {
  border-color: rgba(135, 167, 230, 0.42);
  background:
    linear-gradient(rgba(108, 137, 190, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 137, 190, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 20% 16%, rgba(33, 207, 255, 0.26), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(151, 91, 255, 0.34), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(255, 194, 88, 0.22), transparent 30%),
    linear-gradient(110deg, rgba(4, 26, 37, 0.98), rgba(7, 13, 29, 0.98) 52%, rgba(27, 12, 44, 0.98));
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto,
    auto;
}

.page-home .home-media-card--numberdrop .real-embed--play:not(.real-embed--play-youtube) .real-link-button {
  left: auto;
  right: 1.05rem;
  bottom: 1rem;
  transform: none;
  padding: 0.68rem 1.08rem;
  border: 2px solid rgba(240, 251, 255, 0.72);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(255, 198, 84, 0.16);
}

.page-home .creator-inline__form {
  margin-top: 1rem;
}

.page-home .creator-inline__form textarea {
  min-height: 124px;
}

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

.page-service .page-hero .image-placeholder--hero,
.page-service .page-hero .real-image--hero,
.page-service .page-hero .real-embed--hero {
  min-height: 0;
  aspect-ratio: 1 / 1;
  max-height: 420px;
}

.page-service .page-hero .real-image--hero {
  object-fit: contain;
  background: transparent;
}

.page-service .page-hero .real-embed--hero {
  background: transparent;
}

.page-service .content-section .placeholder-grid .card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-service .image-placeholder--tall,
.page-service .real-image--tall,
.page-service .real-embed--tall {
  min-height: 0;
  aspect-ratio: 2 / 3;
  max-height: 420px;
}

.page-service .placeholder-grid .image-placeholder:not(.image-placeholder--tall),
.page-service .placeholder-grid .real-image:not(.real-image--tall),
.page-service .placeholder-grid .real-embed:not(.real-embed--tall) {
  min-height: 0;
  aspect-ratio: 4 / 5;
  max-height: 360px;
}

.page-service .placeholder-grid .real-image,
.page-service .placeholder-grid .real-embed {
  object-fit: contain;
  background: rgba(7, 12, 24, 0.92);
}

.page-service .real-embed--play {
  justify-content: flex-start;
}

.page-service .real-embed--play .real-image {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.page-service .real-embed--play .real-link-icon,
.page-service .real-embed--play .real-link-button {
  margin: 0.15rem 0 0.3rem;
}

.page-service .real-embed--play-youtube .real-link-icon {
  margin: 0;
}

.page-service .content-section--service-miniapp {
  margin-top: 0.9rem;
}

.page-service .service-miniapp-row {
  margin-top: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 3fr);
  align-items: stretch;
}

.page-service .service-miniapp-panel {
  border: 1px solid rgba(129, 157, 210, 0.34);
  border-radius: 15px;
  padding: 0.78rem;
  background: var(--surface-soft);
}

.page-service .service-miniapp-panel--promo {
  display: flex;
}

.page-service .service-miniapp-promo,
.page-service .service-miniapp-promo.real-embed {
  width: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
}

.page-service .service-miniapp-panel--demo {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.page-service .service-miniapp-demo,
.page-service .service-miniapp-demo.real-embed {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.page-service .service-miniapp-launch-btn {
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

@media (max-width: 980px) {
  .page-service .service-miniapp-row {
    grid-template-columns: minmax(160px, 0.85fr) minmax(0, 2.4fr);
  }
}

@media (max-width: 680px) {
  .page-service .service-miniapp-row {
    grid-template-columns: 1fr;
  }
}

.page-team .page-hero {
  grid-template-columns: 1.2fr 0.8fr;
}

.page-team .team-hero-scroll {
  position: relative;
  width: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(7, 12, 24, 0.92);
  border: 1px solid rgba(135, 167, 230, 0.42);
  max-height: 430px;
  overflow-y: auto;
}

.page-team .team-hero-scroll::after {
  content: "Scroll";
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8ecff;
  background: rgba(4, 10, 20, 0.62);
  border: 1px solid rgba(130, 176, 255, 0.4);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  pointer-events: none;
  opacity: 0.86;
  z-index: 2;
}

.page-team .team-hero-scroll .image-placeholder--hero {
  min-height: 340px;
}

.page-team .team-hero-scroll .real-image--hero {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: rgba(4, 9, 18, 0.95);
}

.page-events .card h3 {
  line-height: 1.24;
}

.page-events .event-media-link {
  display: block;
  border-radius: 13px;
  overflow: hidden;
}

.page-events .story-link {
  color: #ecf4ff;
  text-decoration: none;
}

.page-events .story-link:hover,
.page-events .story-link:focus {
  color: var(--accent-a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-events .story-cta {
  display: inline-block;
  margin-top: 0.7rem;
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #041021;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.page-events .page-hero {
  align-items: stretch;
}

.page-events .page-hero .image-placeholder--hero,
.page-events .page-hero .real-image--hero,
.page-events .page-hero .real-embed--hero {
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  align-self: stretch;
  height: 100%;
}

.page-events .page-hero .real-image--hero,
.page-events .placeholder-grid .real-image {
  object-fit: contain;
  background: rgba(7, 12, 24, 0.92);
}

.page-event-story .story-meta {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.page-event-story .page-hero .image-placeholder--hero,
.page-event-story .page-hero .real-image--hero,
.page-event-story .page-hero .real-embed--hero {
  aspect-ratio: 16 / 10;
  max-height: 420px;
}

.page-event-story .story-flow {
  display: grid;
  gap: 1rem;
}

.page-event-story .story-poster-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.page-event-story .story-group {
  display: grid;
  gap: 0.7rem;
}

.page-event-story .story-strip {
  display: grid;
  gap: 0.75rem;
}

.page-event-story .story-strip--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-event-story .story-media-frame {
  appearance: none;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(7, 12, 24, 0.92);
  position: relative;
  isolation: isolate;
  text-align: left;
}

.page-event-story .story-media-frame .image-placeholder,
.page-event-story .story-media-frame .real-image,
.page-event-story .story-media-frame .real-embed {
  min-height: 0;
  margin: 0;
}

.page-event-story .story-media-frame .image-placeholder {
  min-height: 230px;
}

.page-event-story .story-media-frame .real-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.32, 1), filter 0.5s ease;
  transform-origin: center;
  will-change: transform;
  cursor: zoom-in;
  background: rgba(7, 12, 24, 0.92);
}

.page-event-story .story-media-frame--wide .image-placeholder {
  min-height: 250px;
}

.page-event-story .story-media-frame--wide .real-image {
  max-height: 480px;
}

.page-event-story .story-media-frame--poster .image-placeholder {
  min-height: 360px;
}

.page-event-story .story-media-frame--poster .real-image {
  max-height: 760px;
}

.page-event-story .story-media-frame--small .image-placeholder {
  min-height: 220px;
}

.page-event-story .story-media-frame--small .real-image {
  max-height: 340px;
}

.page-event-story .story-media-frame:hover .real-image,
.page-event-story .story-media-frame:focus-visible .real-image,
.page-event-story .card:focus-within .story-media-frame .real-image {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.page-event-story .story-media-frame::after {
  content: "Zoom";
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8ecff;
  background: rgba(4, 10, 20, 0.62);
  border: 1px solid rgba(130, 176, 255, 0.4);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  pointer-events: none;
  opacity: 0.86;
}

.page-event-story .story-media-frame--booklet::after {
  display: none;
}

.page-event-story .story-media-frame--booklet .image-placeholder {
  min-height: 420px;
}

.page-event-story .story-media-frame--booklet .booklet-viewer {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
}

.page-event-story .story-media-frame--booklet .booklet-window {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(132, 171, 246, 0.35);
  background: rgba(4, 9, 18, 0.95);
}

.page-event-story .story-media-frame--booklet .booklet-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.page-event-story .story-media-frame--booklet .booklet-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.4rem;
  align-items: center;
}

.page-event-story .story-media-frame--booklet .booklet-page-label {
  text-align: center;
  font-size: 0.78rem;
  color: #cfe2ff;
}

.page-event-story .story-media-frame--booklet .booklet-btn {
  border: 1px solid rgba(132, 171, 246, 0.45);
  background: rgba(7, 14, 28, 0.9);
  color: #e6f1ff;
  border-radius: 10px;
  padding: 0.32rem 0.55rem;
  font: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}

.page-event-story .story-media-frame--booklet .booklet-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-event-story .story-media-frame--booklet .booklet-btn--open {
  border-color: rgba(102, 216, 255, 0.45);
}

.page-event-story .story-media-frame--scroll {
  max-height: 540px;
  overflow-y: auto;
}

.page-event-story .story-media-frame--scroll .real-image {
  max-height: none;
  cursor: default;
}

.page-event-story .story-media-frame--scroll:hover .real-image,
.page-event-story .story-media-frame--scroll:focus-visible .real-image,
.page-event-story .card:focus-within .story-media-frame--scroll .real-image {
  transform: none;
  filter: none;
}

.page-event-story .story-media-frame--scroll::after {
  content: "Scroll";
}

@media (hover: none) {
  .page-event-story .story-media-frame:active .real-image {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-event-story .story-media-frame .real-image {
    transition: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 6, 14, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(92vw, 1280px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(142, 184, 255, 0.5);
  box-shadow: 0 20px 60px rgba(2, 6, 18, 0.72);
  background: #050a16;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(130, 176, 255, 0.5);
  background: rgba(5, 10, 22, 0.8);
  color: #e6f2ff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.page-events .placeholder-grid .card {
  display: flex;
  flex-direction: column;
}

.page-events .placeholder-grid .image-placeholder,
.page-events .placeholder-grid .real-image,
.page-events .placeholder-grid .real-embed {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.page-legacy .content-section:first-of-type {
  border-color: color-mix(in srgb, var(--accent-c), #7d9ddd 55%);
}

.page-legacy .content-section--bio {
  border-color: color-mix(in srgb, var(--accent-c), #8eb7ff 42%);
}

.page-legacy .bio-grid {
  margin-top: 1rem;
  align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.page-legacy .bio-lead {
  border-color: rgba(129, 178, 238, 0.5);
  background: linear-gradient(150deg, rgba(22, 40, 74, 0.94), rgba(16, 31, 61, 0.9));
}

.page-legacy .bio-lead p + p {
  margin-top: 0.55rem;
}

.page-legacy .bio-grid .card {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.page-legacy .bio-card {
  border-color: rgba(125, 171, 238, 0.46);
  background: linear-gradient(155deg, rgba(16, 30, 60, 0.94), rgba(9, 20, 44, 0.9));
}

.page-legacy .bio-card--battlefield,
.page-legacy .bio-card--clans {
  align-self: start;
}

.page-legacy .bio-card-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ec9ff;
  font-weight: 700;
}

.page-legacy .feature-list--chips {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-legacy .feature-list.feature-list--chips li {
  margin: 0;
  padding: 0.34rem 0.6rem;
  padding-left: 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 168, 234, 0.42);
  background: linear-gradient(135deg, rgba(28, 47, 84, 0.9), rgba(14, 30, 58, 0.84));
  font-size: 0.8rem;
  font-weight: 600;
  color: #d9e8ff;
}

.page-legacy .feature-list.feature-list--chips li + li {
  margin-top: 0;
}

.page-legacy .feature-list.feature-list--chips li::before {
  content: none;
  display: none;
}

.page-legacy .clan-intro {
  margin-top: 0.45rem;
  color: #bfd4f0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.page-legacy .clan-role-list {
  margin-top: 0.62rem;
}

.page-legacy .clan-role-list li {
  line-height: 1.35;
}

.page-legacy .clan-role-list strong {
  color: #eef6ff;
}

.page-legacy .content-section--setup {
  border-color: color-mix(in srgb, var(--accent-a), #8cb6ff 52%);
}

.page-legacy .setup-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-legacy .setup-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.56rem 0.62rem;
  border-radius: 12px;
  border: 1px solid rgba(128, 166, 228, 0.42);
  background: linear-gradient(140deg, rgba(20, 35, 66, 0.92), rgba(15, 26, 50, 0.88));
  color: #d8e8ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.page-legacy .setup-steps li span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #081326;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
}

.page-legacy .setup-grid {
  margin-top: 0.95rem;
}

.page-legacy .setup-card {
  display: flex;
  flex-direction: column;
}

.page-legacy .setup-kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fcdff;
}

.page-legacy .setup-helper {
  margin-top: 0.35rem;
  color: #b9cde8;
  font-size: 0.86rem;
}

.page-legacy .feature-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.page-legacy .feature-list li {
  position: relative;
  padding-left: 1.05rem;
  color: #d5e2f5;
  font-size: 0.9rem;
}

.page-legacy .feature-list li + li {
  margin-top: 0.42rem;
}

.page-legacy .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 0 2px rgba(77, 156, 255, 0.18);
}

.page-legacy .clan-visuals {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-legacy .clan-visual {
  margin: 0;
  padding: 0.62rem;
  border-radius: 12px;
  border: 1px solid rgba(129, 175, 240, 0.34);
  background: linear-gradient(160deg, rgba(18, 33, 63, 0.95), rgba(12, 24, 47, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-legacy .clan-visual:hover,
.page-legacy .clan-visual:focus-within {
  transform: translateY(-2px);
  border-color: rgba(157, 199, 255, 0.58);
  box-shadow: 0 10px 24px rgba(5, 14, 34, 0.4);
}

.page-legacy .clan-visual .image-placeholder,
.page-legacy .clan-visual .real-image,
.page-legacy .clan-visual .real-embed {
  width: 100%;
  min-height: 0;
  margin-top: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-color: rgba(124, 169, 234, 0.55);
}

.page-legacy .clan-visual p {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e5f1ff;
  line-height: 1.2;
}

.page-legacy .clan-visual p span {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #aecaed;
}

.page-legacy .setup-card .image-placeholder,
.page-legacy .setup-card .real-image,
.page-legacy .setup-card .real-embed {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.page-legacy .setup-media {
  width: min(100%, 260px);
  display: block;
  margin: 0.85rem auto 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0.3rem;
  border: 1px solid rgba(124, 169, 234, 0.46);
  background: linear-gradient(150deg, rgba(14, 26, 54, 0.95), rgba(8, 18, 39, 0.9));
}

.page-legacy .bio-card--battlefield .real-picture {
  display: flex;
  justify-content: center;
}

.page-legacy .component-checklist {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.page-legacy .component-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d9e7fc;
  font-size: 0.9rem;
}

.page-legacy .component-checklist li span {
  min-width: 2rem;
  height: 1.45rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 0.42rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #071428;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
}

.page-legacy .setup-components-grid {
  margin-top: 0.85rem;
  gap: 0.75rem;
}

.page-legacy .component-tile {
  background: linear-gradient(150deg, rgba(22, 36, 68, 0.92), rgba(16, 29, 57, 0.88));
}

.page-legacy .component-tile h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #e9f3ff;
}

.page-legacy .component-tile .image-placeholder,
.page-legacy .component-tile .real-image,
.page-legacy .component-tile .real-embed {
  margin-top: 0.55rem;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.page-legacy .content-section--howto .howto-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-legacy .content-section--howto .howto-frame {
  width: min(100%, 578px);
  border-radius: 14px;
  border: 1px solid rgba(96, 137, 215, 0.45);
  background: linear-gradient(160deg, rgba(8, 16, 36, 0.95), rgba(8, 17, 43, 0.9));
  padding: 0.65rem;
}

.page-legacy .content-section--howto .howto-frame .image-placeholder,
.page-legacy .content-section--howto .howto-frame .real-embed {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: block;
}

.page-legacy .content-section--howto .howto-frame .real-embed {
  border-color: rgba(120, 166, 236, 0.55);
}

@media (max-width: 980px) {
  .page-hero,
  .pricing-hero,
  .pricing-plan-grid,
  .split-layout,
  .grid-4,
  .grid-3,
  .grid-2,
  .page-service .page-hero,
  .page-team .page-hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 1rem 0.8rem;
  }

  .page-home .site-header {
    display: flex;
  }

  .site-header__member {
    justify-self: auto;
  }

  .site-header__right {
    width: 100%;
  }

  .site-nav {
    min-width: 0;
    width: 100%;
  }

  .site-nav ul {
    gap: 0.55rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.1rem 0 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-nav ul::-webkit-scrollbar {
    display: none;
  }

  .site-nav li {
    flex: 0 0 auto;
  }

  .site-nav a,
  .site-nav__member-action {
    white-space: nowrap;
    padding: 0.48rem 0.72rem;
    background: rgba(10, 18, 35, 0.52);
  }

  .site-nav__member-action {
    background: rgba(14, 38, 48, 0.68);
  }

  .page-legacy .setup-steps {
    grid-template-columns: 1fr;
  }

  .page-legacy .bio-grid {
    grid-template-columns: 1fr;
  }

  .page-legacy .setup-components-grid {
    grid-template-columns: 1fr;
  }

  .page-legacy .clan-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .page-home-hero {
    margin-bottom: 0.2rem;
  }

  .page-event-story .story-strip--three,
  .page-event-story .story-poster-row {
    grid-template-columns: 1fr;
  }

  .page-event-story .story-media-frame .real-image,
  .page-event-story .story-media-frame--poster .real-image,
  .page-event-story .story-media-frame--wide .real-image {
    max-height: none;
  }

  .page-event-story .story-media-frame--booklet .booklet-controls {
    grid-template-columns: 1fr 1fr;
  }

  .page-event-story .story-media-frame--booklet .booklet-page-label {
    grid-column: 1 / -1;
    order: -1;
  }

  .page-team .team-hero-scroll {
    max-height: 360px;
  }

  .site-main {
    padding: 1.45rem 1rem 3.2rem;
  }

  .hero-copy,
  .content-section {
    padding: 1.15rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.78rem 0.82rem 0.72rem;
  }

  .brand {
    gap: 0.62rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 0.96rem;
    letter-spacing: 0.12em;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .site-main {
    padding: 1rem 0.8rem 2.7rem;
  }

  .hero-copy,
  .content-section,
  .card {
    padding: 1rem;
  }

  .pricing-plan {
    padding: 1rem;
  }

  .pricing-plan__head {
    padding-right: 0;
  }

  .pricing-feature-list--plus {
    grid-template-columns: 1fr;
    padding-left: 1.05rem;
    list-style-position: outside;
  }

  .pricing-billing-switch {
    grid-template-columns: 1fr;
  }

  .site-nav a,
  .site-nav__member-action {
    font-size: 0.82rem;
    padding: 0.5rem 0.7rem;
  }

  .page-home .home-hero-lead {
    font-size: 0.95rem;
  }

  .page-home .home-media-card h3 {
    font-size: 1rem;
  }

  .page-home .home-media-card .image-placeholder,
  .page-home .home-media-card .real-image,
  .page-home .home-media-card .real-embed {
    aspect-ratio: 4 / 3;
  }

  .page-home .creator-inline__form .btn {
    width: 100%;
    justify-content: center;
  }

  .creator-inline__output {
    max-height: 200px;
    font-size: 0.8rem;
  }

  .page-legacy .clan-visuals {
    grid-template-columns: 1fr;
  }

  .page-legacy .feature-list--chips {
    gap: 0.42rem;
  }

  .page-legacy .feature-list.feature-list--chips li {
    width: 100%;
    text-align: center;
  }
}


/* Home create panel: compact single-box layout */
.page-home .site-main--home {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.05rem;
}

.page-home .page-home-hero {
  display: none;
}

.page-home .content-section--home-cta {
  margin-top: 0;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
}

.page-home .section-head--compact {
  max-width: none;
  display: grid;
  gap: 0.28rem;
}

.page-home .section-head--compact .section-kicker {
  color: #7ee9d2;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.page-home .section-head--compact h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #9af1d8;
}

.page-home .section-head--compact .section-intro {
  margin-top: 0.15rem;
  max-width: none;
  color: #d7f7ee;
  font-size: 0.98rem;
}

.page-home .creator-inline__form {
  margin-top: 0.85rem;
  gap: 0.7rem;
}

.page-home .creator-inline__form textarea {
  min-height: 92px;
  rows: 3;
}

.page-home .creator-inline__form .btn {
  min-height: 42px;
  padding: 0.62rem 1.08rem;
}

@media (max-width: 720px) {
  .page-home .content-section--home-cta {
    padding: 1rem;
  }

  .page-home .home-cta-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .page-home .home-demo-rail {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-demo-rail .section-kicker {
    grid-column: 1 / -1;
  }

  .page-home .home-demo-link {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 44px;
    padding: 0.44rem 0.5rem;
  }

  .page-home .home-demo-link__icon {
    width: 30px;
    height: 30px;
  }

  .page-home .home-demo-link__icon::after {
    left: 12px;
    top: 9px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }
}
