:root {
  --bg: #040816;
  --bg-2: #0a1228;
  --panel: rgba(10, 16, 34, 0.8);
  --panel-strong: rgba(8, 13, 28, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(134, 235, 255, 0.28);
  --text: #f7fbff;
  --muted: #aebcdb;
  --muted-strong: #dbe6ff;
  --blue: #73a9ff;
  --cyan: #67f1dd;
  --violet: #ba9cff;
  --amber: #ffc86f;
  --rose: #ff99c5;
  --success: #58d9b0;
  --danger: #ff8495;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-lg: 0 32px 100px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(114, 169, 255, 0.15), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(103, 241, 221, 0.12), transparent 28%),
    linear-gradient(180deg, #030611 0%, #07101f 48%, #081120 100%);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding-left: 18px;
}

p,
span,
small,
li {
  color: var(--muted);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(115, 169, 255, 0.6), rgba(103, 241, 221, 0.5));
}

.background-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(115, 169, 255, 0.12), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(186, 156, 255, 0.1), transparent 25%),
    linear-gradient(180deg, rgba(4, 8, 22, 0.92), rgba(8, 17, 35, 0.96));
}

.background-stage.page-auth .bg-overlay {
  background: linear-gradient(180deg, rgba(3, 6, 17, 0.28), rgba(3, 6, 17, 0.78));
}

.background-stage.page-home .bg-overlay {
  background:
    radial-gradient(circle at 75% 20%, rgba(103, 241, 221, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(5, 9, 22, 0.25), rgba(6, 11, 23, 0.78));
}

.background-stage.page-lessons .bg-overlay {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 200, 111, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(5, 9, 22, 0.26), rgba(7, 13, 27, 0.82));
}

.background-stage.page-examples .bg-overlay {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 153, 197, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(5, 9, 22, 0.22), rgba(7, 13, 27, 0.78));
}

.bg-scene {
  position: absolute;
  opacity: 0.28;
  filter: saturate(1.18) blur(0.25px);
  animation: drift 20s ease-in-out infinite;
}

.scene-1 {
  top: -4%;
  right: -10%;
  width: min(58vw, 920px);
}

.scene-2 {
  bottom: -12%;
  left: -10%;
  width: min(54vw, 840px);
  animation-delay: -6s;
}

.scene-3 {
  top: 32%;
  left: 30%;
  width: min(42vw, 680px);
  opacity: 0.16;
  animation-delay: -11s;
}

.bg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
}

.glow-a {
  top: 6%;
  left: 7%;
  width: 280px;
  height: 280px;
  background: rgba(115, 169, 255, 0.2);
}

.glow-b {
  right: 10%;
  bottom: 6%;
  width: 340px;
  height: 340px;
  background: rgba(103, 241, 221, 0.14);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7), transparent);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 22, 0.2), rgba(6, 11, 23, 0.8));
}

.app-layer {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.auth-shell,
.studio-shell {
  width: min(1500px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.glass-panel,
.glass-subpanel,
.metric-panel,
.note-card,
.example-card,
.cheat-card,
.library-card,
.journey-card,
.showcase-card,
.helper-card,
.mini-bullet-card,
.saved-preview-card,
.empty-card,
.provider-row,
.info-pill {
  background:
    linear-gradient(180deg, rgba(12, 18, 36, 0.9), rgba(7, 12, 26, 0.76));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.glass-panel,
.metric-panel,
.note-card,
.cheat-card,
.library-card,
.journey-card,
.showcase-card,
.helper-card,
.mini-bullet-card,
.saved-preview-card,
.empty-card,
.provider-row {
  border-radius: var(--radius-xl);
  padding: 22px;
}

.glass-subpanel,
.info-pill {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  min-height: calc(100vh - 48px);
}

.auth-showcase,
.auth-panel,
.brand-block,
.sidebar-footer,
.helper-card,
.stack-form,
.content-shell,
.page-stack,
.provider-stack,
.lesson-detail-stack,
.example-copy,
.summary-panel,
.getting-started,
.saved-preview-card,
.saved-preview-list,
.main-shell,
.hero-left,
.hero-right,
.lesson-copy,
.lesson-player,
.scene-caption-card {
  display: grid;
  gap: 16px;
}

.auth-showcase,
.auth-panel,
.sidebar,
.topbar,
.hero-panel,
.lesson-hero,
.chapter-rail,
.scene-focus {
  overflow: hidden;
}

.eyebrow,
.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(115, 169, 255, 0.95), rgba(103, 241, 221, 0.95));
  color: #04111d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-showcase h1,
.brand-block h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}

.auth-panel h2,
.topbar h2,
.hero-panel h3,
.lesson-hero h3,
.glass-panel h3,
.empty-state h3 {
  color: var(--text);
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  line-height: 1.1;
}

.hero-copy,
.long-copy,
.lesson-copy p,
.hero-left p,
.topbar p {
  line-height: 1.75;
}

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

.section-head p {
  max-width: 68ch;
}

.provider-grid,
.showcase-strip,
.character-row,
.panel-grid,
.note-grid,
.examples-grid,
.library-grid,
.bullet-card-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.panel-grid.dual,
.note-grid,
.examples-grid,
.library-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.provider-tile,
.ghost-btn,
.primary-btn,
.nav-btn,
.chapter-btn {
  border: 1px solid transparent;
  border-radius: 20px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.provider-tile,
.ghost-btn,
.nav-btn,
.chapter-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.primary-btn {
  color: #04121e;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 36px rgba(103, 241, 221, 0.18);
}

.wide-btn,
.ghost-btn,
.primary-btn {
  padding: 14px 18px;
}

.provider-tile:hover,
.ghost-btn:hover,
.primary-btn:hover,
.nav-btn:hover,
.chapter-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.primary-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.provider-tile,
.nav-btn,
.chapter-btn {
  width: 100%;
  text-align: left;
}

.provider-tile {
  display: grid;
  gap: 8px;
  padding: 16px;
  align-content: start;
}

.provider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.provider-tile.blue {
  color: #d2e4ff;
}

.provider-tile.violet {
  color: #ebdeff;
}

.provider-tile.teal {
  color: #d3fff7;
}

.provider-tile.amber {
  color: #ffe8bf;
}

.provider-tile.rose {
  color: #ffd7e8;
}

.mode-row,
.hero-actions,
.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted-strong);
  font-weight: 600;
}

.field input,
.source-bar input {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  outline: none;
}

.field input:focus,
.source-bar input:focus {
  border-color: rgba(103, 241, 221, 0.42);
  box-shadow: 0 0 0 4px rgba(103, 241, 221, 0.08);
}

.source-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.character-card,
.sidebar-character {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.character-card {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sidebar-character {
  width: min(100%, 200px);
  margin-inline: auto;
  animation: floaty 7s ease-in-out infinite;
}

.auth-note,
.soft-note {
  color: rgba(219, 230, 255, 0.72);
  line-height: 1.7;
}

.auth-note {
  margin-top: auto;
}

.studio-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  min-height: calc(100vh - 40px);
  padding: 22px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}

.brand-block p,
.helper-card span {
  line-height: 1.7;
}

.sidebar-nav,
.chapter-list,
.saved-preview-list {
  display: grid;
  gap: 10px;
}

.nav-btn,
.chapter-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.nav-btn.active,
.chapter-btn.active,
.ghost-btn.active {
  background: rgba(103, 241, 221, 0.12);
  border-color: rgba(103, 241, 221, 0.4);
}

.nav-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(103, 241, 221, 0.45);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}

.user-chip {
  display: grid;
  gap: 4px;
  min-width: 220px;
  justify-items: end;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.user-chip strong {
  color: var(--text);
}

.content-shell,
.page-stack {
  gap: 18px;
}

.hero-panel,
.lesson-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: center;
}

.hero-left h3,
.lesson-copy h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

.scene-stack,
.scene-preview,
.lesson-video-frame {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-card-image,
.scene-preview-image,
.example-scene,
.library-thumb,
.saved-preview-card img,
.lesson-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer-a {
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.layer-b {
  position: absolute;
  inset: 8% 8% auto auto;
  width: 68%;
  height: auto;
  border-radius: 24px;
  opacity: 0.74;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.floating-character {
  position: absolute;
  right: 5%;
  bottom: 2%;
  width: 200px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
  animation: floaty 8s ease-in-out infinite;
}

.metric-panel strong,
.glass-subpanel strong,
.journey-card strong,
.saved-preview-card strong,
.mini-bullet-card strong,
.cheat-card h4,
.architecture-lane h4,
.provider-row strong {
  color: var(--text);
}

.metric-panel strong,
.glass-subpanel strong {
  font-size: 1.45rem;
}

.metric-panel p,
.helper-card span,
.showcase-card span,
.library-card p,
.note-card p,
.example-copy p,
.cheat-card p {
  line-height: 1.7;
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.journey-card span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  color: #05111c;
  font-weight: 800;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.chapter-btn {
  align-items: start;
}

.chapter-btn span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.chapter-btn div,
.library-card div {
  display: grid;
  gap: 6px;
}

.scene-overlay,
.fallback-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.scene-caption-card,
.fallback-overlay {
  padding: 16px;
  border-radius: 20px;
  background: rgba(6, 10, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.scene-caption-card strong,
.fallback-overlay strong {
  color: var(--text);
}

.scene-caption-card p,
.fallback-overlay span {
  line-height: 1.65;
}

.lesson-video-frame iframe,
.lesson-video-frame {
  width: 100%;
  min-height: 100%;
  border: 0;
}

.fallback-player img {
  position: absolute;
  inset: 0;
}

.feature-list {
  display: grid;
  gap: 10px;
  line-height: 1.65;
}

.feature-list li::marker {
  color: var(--cyan);
}

.note-card {
  display: grid;
  gap: 12px;
}

.example-card {
  display: grid;
  grid-template-rows: 240px auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 100%;
}

.example-copy {
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, rgba(12, 18, 36, 0.22), rgba(12, 18, 36, 0));
}

.example-copy small {
  color: rgba(219, 230, 255, 0.78);
}

.flow-diagram {
  display: grid;
  gap: 14px;
  position: relative;
}

.flow-diagram::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(115, 169, 255, 0.1), rgba(103, 241, 221, 0.7), rgba(115, 169, 255, 0.1));
}

.flow-step {
  position: relative;
  margin-left: 18px;
  display: grid;
  gap: 8px;
  padding: 16px 16px 16px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.flow-step span {
  position: absolute;
  left: -18px;
  top: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  color: #04121d;
  font-weight: 800;
}

.flow-step strong {
  color: var(--text);
  padding-left: 18px;
}

.flow-step p {
  padding-left: 18px;
  line-height: 1.7;
}

.architecture-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.architecture-lane {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.connector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.connector-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.cheat-card {
  display: grid;
  gap: 14px;
}

.library-card,
.saved-preview-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.library-thumb,
.saved-preview-card img {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}

.mini-bullet-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mini-bullet-card span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(103, 241, 221, 0.4);
  flex: 0 0 auto;
}

.empty-card {
  text-align: center;
}

.provider-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 20px;
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 16px;
  padding-block: 40px;
}

.empty-character {
  width: min(240px, 45vw);
  animation: floaty 8s ease-in-out infinite;
}

.flash {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
}

.flash.success {
  border-color: rgba(88, 217, 176, 0.3);
  background: rgba(88, 217, 176, 0.12);
  color: #ddfff2;
}

.flash.error {
  border-color: rgba(255, 132, 149, 0.34);
  background: rgba(255, 132, 149, 0.12);
  color: #ffe3e8;
}

.info-pill {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.info-pill span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(219, 230, 255, 0.72);
}

.info-pill strong {
  color: var(--text);
}

.showcase-card strong,
.helper-card strong,
.library-card h4,
.note-card h4,
.empty-state h3 {
  color: var(--text);
}

.showcase-card,
.helper-card,
.journey-card,
.saved-preview-card,
.library-card,
.note-card,
.metric-panel,
.glass-subpanel,
.example-card,
.cheat-card {
  position: relative;
}

.showcase-card::after,
.helper-card::after,
.journey-card::after,
.metric-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.03);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1240px) {
  .auth-grid,
  .hero-panel,
  .lesson-hero,
  .panel-grid,
  .panel-grid.triple,
  .panel-grid.dual,
  .note-grid,
  .examples-grid,
  .library-grid,
  .lesson-layout,
  .architecture-board {
    grid-template-columns: 1fr;
  }

  .showcase-strip,
  .journey-strip,
  .provider-grid,
  .bullet-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .studio-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    min-height: auto;
  }

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

  .user-chip {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .auth-shell,
  .studio-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 10px;
  }

  .showcase-strip,
  .journey-strip,
  .provider-grid,
  .bullet-card-grid,
  .character-row {
    grid-template-columns: 1fr;
  }

  .library-card,
  .saved-preview-card,
  .provider-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .provider-row {
    justify-content: start;
  }

  .source-bar {
    grid-template-columns: 1fr;
  }

  .scene-stack,
  .scene-preview,
  .lesson-video-frame {
    min-height: 300px;
  }

  .floating-character {
    width: 150px;
  }
}

@media (max-width: 640px) {
  .auth-shell,
  .studio-shell {
    width: calc(100% - 16px);
  }

  .glass-panel,
  .metric-panel,
  .note-card,
  .cheat-card,
  .library-card,
  .journey-card,
  .showcase-card,
  .helper-card,
  .mini-bullet-card,
  .saved-preview-card,
  .empty-card,
  .provider-row {
    padding: 18px;
    border-radius: 24px;
  }

  .glass-subpanel,
  .info-pill {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-left h3,
  .lesson-copy h3,
  .topbar h2 {
    font-size: 1.6rem;
  }

  .scene-overlay,
  .fallback-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .empty-character {
    width: min(180px, 60vw);
  }
}
