@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap");

:root {
  --color-cream-paper: #f7fffb;
  --color-charcoal: #153047;
  --color-cocoa-ink: #233447;
  --color-true-black: #000000;
  --color-dew-drop: #ffffff;
  --color-marker-orange: #ff7a59;
  --color-burnt-sienna: #2f9e7d;
  --color-sky-sticker: #5CC8FF;
  --color-bubblegum-sticker: #FF8FAB;
  --color-sprout-sticker: #7CF6A3;
  --color-lemon-sticker: #FFD166;
  --color-lime-sticker: #B8F35A;
  --color-shadow-mist: #c7d8d4;
  --font-gelica: "Fraunces", "Recoleta", "Georgia", "Microsoft YaHei", serif;
  --font-geist: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  --page-max-width: 1200px;
  --shadow-lg: rgba(0, 0, 0, 0.06) 0 2px 20px 0;
  --shadow-subtle: rgba(0, 0, 0, 0.25) 0 1px 2px 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  font-family: var(--font-gelica);
}

body.uke-fresh-theme {
  background:
    linear-gradient(135deg, rgba(124, 246, 163, 0.18) 0 18%, transparent 18% 38%, rgba(255, 209, 102, 0.2) 38% 56%, transparent 56% 76%, rgba(92, 200, 255, 0.16) 76% 100%),
    repeating-linear-gradient(90deg, rgba(21, 48, 71, 0.025) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, #f7fffb 0%, #fff7fb 52%, #f4fbff 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notebookFloat {
  0%,
  100% {
    transform: rotate(6deg) translateY(0);
  }
  50% {
    transform: rotate(4.5deg) translateY(-10px);
  }
}

@keyframes tunerCardFloat {
  0%,
  100% {
    filter: drop-shadow(0 28px 34px rgba(23, 23, 23, 0.18));
  }
  50% {
    filter: drop-shadow(0 38px 44px rgba(23, 23, 23, 0.26));
  }
}

@keyframes notebookFloatMobile {
  0%,
  100% {
    transform: translateX(-50%) rotate(5deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) rotate(4deg) translateY(-8px);
  }
}

@keyframes pencilBob {
  0%,
  100% {
    transform: rotate(15deg) translateY(0);
  }
  50% {
    transform: rotate(13deg) translateY(9px);
  }
}

@keyframes stickerBoltWiggle {
  0%,
  100% {
    transform: rotate(-13deg) translateY(0);
  }
  35% {
    transform: rotate(-8deg) translateY(-5px);
  }
  70% {
    transform: rotate(-16deg) translateY(2px);
  }
}

@keyframes stickerBeatWiggle {
  0%,
  100% {
    transform: rotate(10deg) scale(1);
  }
  45% {
    transform: rotate(15deg) scale(1.04);
  }
}

@keyframes arrowDraw {
  from {
    stroke-dashoffset: 220;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cardPeelIn {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes lanyardSway {
  0%,
  100% {
    transform: translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 0) rotate(3deg);
  }
}

@keyframes orangePulse {
  0%,
  100% {
    text-decoration-thickness: 3px;
  }
  50% {
    text-decoration-thickness: 5px;
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--color-cocoa-ink);
  font-size: 104px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: lowercase;
}

h2 {
  margin-bottom: 20px;
  color: var(--color-cocoa-ink);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: lowercase;
}

h3 {
  margin-bottom: 12px;
  color: var(--color-cocoa-ink);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--color-cocoa-ink);
  font-size: 20px;
  line-height: 1.5;
}

.site-header {
  position: relative;
  z-index: 5;
  max-width: var(--page-max-width);
  min-height: 72px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.brand-hand {
  position: relative;
  display: block;
  width: 24px;
  height: 34px;
  border: 2px solid var(--color-charcoal);
  border-radius: 48% 48% 42% 42%;
  background: var(--color-lemon-sticker);
  transform: rotate(-17deg);
}

.brand-hand::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -24px;
  width: 6px;
  height: 25px;
  border: 2px solid var(--color-charcoal);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--color-sprout-sticker);
}

.brand-hand::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 14px;
  height: 18px;
  border-top: 2px solid var(--color-charcoal);
  border-bottom: 2px solid var(--color-charcoal);
  background:
    linear-gradient(90deg, transparent 0 3px, var(--color-charcoal) 3px 4px, transparent 4px 7px, var(--color-charcoal) 7px 8px, transparent 8px 11px, var(--color-charcoal) 11px 12px, transparent 12px);
  border-radius: 8px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px 11px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 20px;
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-subtle);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pill-button:hover {
  transform: translateY(-1px);
  border-color: var(--color-marker-orange);
  box-shadow: rgba(0, 0, 0, 0.25) 0 2px 3px 0;
}

main {
  overflow: hidden;
}

.hero,
.product-row,
.section {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 56px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: pageRise 650ms ease both;
}

.marker-caption,
.scribble-caption {
  margin-bottom: 16px;
  color: var(--color-marker-orange);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.scribble-caption {
  position: absolute;
  z-index: 3;
  margin: 0;
  transform: rotate(-6deg);
}

.intro-copy {
  max-width: 650px;
  margin-bottom: 24px;
}

.intro-copy span {
  color: var(--color-marker-orange);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--color-marker-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  animation: orangePulse 2.4s ease-in-out 900ms infinite;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 14px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 20px;
  background: var(--color-cream-paper);
  box-shadow: var(--shadow-subtle);
  color: var(--color-cocoa-ink);
  font-size: 16px;
  line-height: 1.25;
}

.stat-row strong {
  font-size: 24px;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}

.quiet-link {
  color: var(--color-cocoa-ink);
  font-size: 18px;
}

.quiet-link:hover {
  color: var(--color-marker-orange);
  text-decoration: underline;
}

.preorder-note {
  max-width: 520px;
  margin: 0;
  color: var(--color-cocoa-ink);
  font-size: 16px;
}

.ukulele-lanyard {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: auto;
  pointer-events: none;
  cursor: default;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.ukulele-lanyard.is-dragging {
  cursor: grabbing;
}

.lanyard-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 22px 28px rgba(23, 23, 23, 0.18));
}

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

.hero-product {
  position: relative;
  min-height: 600px;
  animation: pageRise 780ms ease 120ms both;
}

.caption-left {
  top: 16px;
  left: -18px;
}

.arrow {
  position: absolute;
  z-index: 2;
  width: 128px;
  height: 84px;
  fill: none;
  stroke: var(--color-charcoal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: arrowDraw 900ms ease 550ms forwards;
}

.arrow-left {
  top: 48px;
  left: 58px;
  transform: rotate(5deg);
}

.notebook-object {
  position: absolute;
  right: 18px;
  top: 86px;
  width: 380px;
  min-height: 472px;
  transform: rotate(6deg);
  animation: notebookFloat 5.2s ease-in-out 850ms infinite;
}

.notebook-cover {
  position: relative;
  min-height: 472px;
  padding: 48px 34px 32px;
  border: 2px solid var(--color-charcoal);
  border-radius: 16px;
  background: #7a4b2a;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cover-pattern {
  position: absolute;
  inset: 0;
  border: 16px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.name-sticker {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 8px;
  background: var(--color-cream-paper);
  box-shadow: var(--shadow-subtle);
}

.name-sticker > span,
.label-field {
  color: var(--color-burnt-sienna);
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.name-sticker strong {
  color: var(--color-cocoa-ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  word-break: break-word;
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sticker-grid p {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding-top: 9px;
  border-top: 1.5px solid var(--color-charcoal);
}

.sticker-grid span {
  color: var(--color-burnt-sienna);
  font-family: var(--font-geist);
  font-size: 14px;
}

.sticker-grid b {
  color: var(--color-charcoal);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cover-note {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 32px;
  margin: 0;
  color: var(--color-cream-paper);
  font-size: 20px;
}

.pencil-object {
  position: absolute;
  right: 0;
  top: 174px;
  width: 28px;
  height: 430px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 18px;
  background: var(--color-marker-orange);
  transform: rotate(15deg);
  box-shadow: var(--shadow-subtle);
  animation: pencilBob 4.8s ease-in-out 1s infinite;
}

.pencil-object::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -30px;
  width: 18px;
  height: 42px;
  background: #e7c59d;
  border: 1.5px solid var(--color-charcoal);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-charcoal);
  color: var(--color-charcoal);
  font-family: var(--font-geist);
  font-weight: 500;
  line-height: 1;
}

.sticker-beat {
  right: 36px;
  bottom: 58px;
  width: 84px;
  height: 62px;
  border-radius: 48% 52% 46% 54%;
  background: var(--color-bubblegum-sticker);
  transform: rotate(10deg);
  animation: stickerBeatWiggle 3.9s ease-in-out 1.2s infinite;
}

.uke-fresh-theme .pill-button,
.uke-fresh-theme .stat-row span,
.uke-fresh-theme .filters input,
.uke-fresh-theme .filters select,
.uke-fresh-theme .tech-cloud button,
.uke-fresh-theme .tag-chip,
.uke-fresh-theme .roll-number {
  background: rgba(255, 255, 255, 0.86);
}

.uke-fresh-theme .pill-button {
  box-shadow: rgba(21, 48, 71, 0.13) 0 8px 22px;
}

.uke-fresh-theme .pill-button:first-of-type,
.uke-fresh-theme .hero-actions .pill-button {
  background: linear-gradient(135deg, var(--color-sprout-sticker), var(--color-lime-sticker));
}

.uke-fresh-theme .notebook-cover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(160deg, var(--color-sprout-sticker), var(--color-sky-sticker) 58%, var(--color-bubblegum-sticker));
}

.uke-fresh-theme .name-sticker {
  background: rgba(255, 255, 255, 0.9);
}

.uke-fresh-theme .pencil-object {
  background: linear-gradient(180deg, var(--color-lemon-sticker), var(--color-marker-orange));
}

.uke-fresh-theme .sticker-beat {
  background: var(--color-bubblegum-sticker);
}

.uke-fresh-theme .infinite-menu,
.uke-fresh-theme .level-song-picker-panel {
  background:
    linear-gradient(135deg, rgba(124, 246, 163, 0.18), transparent 38%),
    linear-gradient(215deg, rgba(255, 143, 171, 0.24), transparent 42%),
    #082734;
}

.uke-fresh-theme .footer-band {
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.2), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #effff8 100%);
}

.uke-fresh-theme .logoloop {
  --logoloop-fadeColorAuto: #effff8;
}

.infinite-menu-section {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

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

.infinite-stage {
  min-width: 0;
}

.infinite-menu {
  position: relative;
  min-height: 650px;
  border: 2px solid var(--color-charcoal);
  border-radius: 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 45%, rgba(82, 39, 255, 0.24), transparent 34%),
    radial-gradient(circle at 62% 58%, rgba(255, 111, 30, 0.2), transparent 29%),
    #050505;
  box-shadow: var(--shadow-lg);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.infinite-menu.is-moving {
  cursor: grabbing;
}

.infinite-menu::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  pointer-events: none;
}

.orbit-canvas {
  position: absolute;
  inset: 0;
  perspective: 900px;
  transform-style: preserve-3d;
}

.orbit-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 174px;
  height: 174px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, #f7efe9, #1b1b1b 72%);
  color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.35) 0 20px 36px;
  text-align: center;
  transition: border-color 180ms ease, filter 180ms ease;
  will-change: transform, opacity;
}

.orbit-disc span {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.orbit-disc strong {
  color: #ffffff;
  font-size: 54px;
  line-height: 0.9;
}

.orbit-disc em {
  max-width: 128px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-geist);
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
}

.orbit-disc.is-front,
.orbit-disc:hover,
.orbit-disc.is-selected {
  border-color: var(--color-marker-orange);
  filter: saturate(1.25) brightness(1.1);
}

.face-title {
  position: absolute;
  z-index: 10;
  left: 42px;
  top: 50%;
  max-width: 280px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-geist);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  transform: translate(20%, -50%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.face-description {
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 5%;
  max-width: 18ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-geist);
  font-size: 20px;
  line-height: 1.42;
  transform: translate(-30%, -50%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.infinite-menu.is-moving .face-title,
.infinite-menu.is-moving .face-description {
  opacity: 0;
  transform: translate(0, -50%);
}

.action-button {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 54px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 5px solid #000000;
  border-radius: 50%;
  background: #5227ff;
  color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.35) 0 8px 18px;
  font-family: var(--font-geist);
  font-size: 28px;
  transform: translateX(-50%) scale(1);
  transition: transform 260ms ease, opacity 260ms ease;
}

.infinite-menu.is-moving .action-button {
  opacity: 0;
  transform: translateX(-50%) scale(0);
}

.drag-note {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-geist);
  font-size: 13px;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(280px, 360px) minmax(250px, 1fr);
  align-items: center;
  gap: 40px;
  padding-top: 10px;
  padding-bottom: 96px;
}

.showcase-object {
  position: relative;
  min-height: 330px;
  animation: pageRise 600ms ease both;
}

.showcase-object .scribble-caption {
  top: 0;
  left: 24px;
}

.showcase-object .arrow {
  top: 38px;
  left: 70px;
}

.mini-notebook {
  position: absolute;
  left: 50%;
  top: 92px;
  width: 260px;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  border: 2px solid var(--color-charcoal);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%) rotate(-6deg);
  transition: transform 220ms ease;
}

.notebook-blue .mini-notebook {
  background: var(--color-sky-sticker);
}

.notebook-pink .mini-notebook {
  background: #e986b8;
  transform: translateX(-50%) rotate(7deg);
}

.showcase-object:hover .mini-notebook {
  transform: translateX(-50%) rotate(-3deg) translateY(-6px);
}

.notebook-pink:hover .mini-notebook {
  transform: translateX(-50%) rotate(4deg) translateY(-6px);
}

.mini-notebook span {
  color: var(--color-cream-paper);
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 500;
}

.mini-notebook strong {
  color: var(--color-cream-paper);
  font-size: 36px;
  line-height: 1.05;
}

.showcase-copy {
  text-align: left;
}

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

.section {
  padding-top: 8px;
  padding-bottom: 96px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 820px;
}

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

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

.level-label,
.song-label,
.lesson-card {
  border: 1.5px solid var(--color-charcoal);
  border-radius: 12px;
  background: var(--color-dew-drop);
  box-shadow: var(--shadow-lg);
}

.level-label {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 24px;
  text-align: left;
  animation: cardPeelIn 520ms ease both;
  transition: translate 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.level-label:nth-child(2) { animation-delay: 40ms; }
.level-label:nth-child(3) { animation-delay: 80ms; }
.level-label:nth-child(4) { animation-delay: 120ms; }
.level-label:nth-child(5) { animation-delay: 160ms; }
.level-label:nth-child(6) { animation-delay: 200ms; }
.level-label:nth-child(7) { animation-delay: 240ms; }
.level-label:nth-child(8) { animation-delay: 280ms; }
.level-label:nth-child(9) { animation-delay: 320ms; }

.level-label:nth-child(3n + 1) {
  transform: rotate(-1deg);
}

.level-label:nth-child(3n + 2) {
  transform: rotate(1deg);
}

.level-label:nth-child(3n) {
  transform: rotate(-0.5deg);
}

.level-label:hover,
.level-label.is-active,
.song-label:hover,
.song-label.is-active {
  border-color: var(--color-marker-orange);
}

.level-label:hover,
.song-label:hover {
  translate: 0 -5px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 8px 24px 0;
}

.level-label strong {
  color: var(--color-cocoa-ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
}

.level-label small,
.song-label small {
  color: var(--color-cocoa-ink);
  font-size: 18px;
  line-height: 1.35;
}

.level-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.level-meta em,
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1.5px solid var(--color-sprout-sticker);
  border-radius: 20px;
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  font-family: var(--font-geist);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

.level-board.chroma-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 12px;
  max-width: 1200px;
  min-height: 600px;
  padding: 16px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  --x: 50%;
  --y: 50%;
  --r: 300px;
}

.level-board.chroma-grid .level-label.chroma-card {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid #333333;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-gradient);
  box-shadow: none;
  color: #ffffff;
  text-align: left;
  transform: none;
  translate: 0 0;
  animation: cardPeelIn 520ms ease both;
  transition: border-color 300ms ease, translate 180ms ease, transform 180ms ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(255, 255, 255, 0.3);
}

.level-board.chroma-grid .level-label.chroma-card:nth-child(3n + 1),
.level-board.chroma-grid .level-label.chroma-card:nth-child(3n + 2),
.level-board.chroma-grid .level-label.chroma-card:nth-child(3n) {
  transform: none;
}

.level-board.chroma-grid .level-label.chroma-card:hover,
.level-board.chroma-grid .level-label.chroma-card.is-active {
  border-color: var(--card-border);
  translate: 0 -4px;
}

.level-board.chroma-grid .level-label.chroma-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 70%);
  transition: opacity 500ms ease;
}

.level-board.chroma-grid .level-label.chroma-card:hover::before,
.level-board.chroma-grid .level-label.chroma-card.is-active::before {
  opacity: 1;
}

.chroma-img-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 190px;
  padding: 10px;
  background: transparent;
}

.chroma-level-visual {
  height: 100%;
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.chroma-level-visual span {
  font-family: var(--font-geist);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.level-board.chroma-grid .chroma-level-visual strong {
  color: #ffffff;
  font-size: 86px;
  font-weight: 600;
  line-height: 0.9;
}

.chroma-level-visual em {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-geist);
  font-size: 15px;
  font-style: normal;
}

.chroma-info {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 16px;
  color: #ffffff;
  font-family: var(--font-geist);
}

.chroma-info .name {
  grid-column: 1;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-geist);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.chroma-info .handle {
  grid-column: 2;
  justify-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.chroma-info .role {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-geist);
  font-size: 15px;
  line-height: 1.4;
}

.chroma-info .location {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.chroma-overlay,
.chroma-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: grayscale(1) brightness(0.78);
  -webkit-backdrop-filter: grayscale(1) brightness(0.78);
  background: rgba(0, 0, 0, 0.001);
}

.chroma-overlay {
  mask-image: radial-gradient(
    circle var(--r) at var(--x) var(--y),
    transparent 0%,
    transparent 15%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0.68) 88%,
    white 100%
  );
  -webkit-mask-image: radial-gradient(
    circle var(--r) at var(--x) var(--y),
    transparent 0%,
    transparent 15%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0.68) 88%,
    white 100%
  );
}

.chroma-fade {
  opacity: 1;
  transition: opacity 250ms ease;
  mask-image: radial-gradient(
    circle var(--r) at var(--x) var(--y),
    white 0%,
    white 15%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.65) 60%,
    rgba(255, 255, 255, 0.5) 75%,
    rgba(255, 255, 255, 0.32) 88%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    circle var(--r) at var(--x) var(--y),
    white 0%,
    white 15%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.65) 60%,
    rgba(255, 255, 255, 0.5) 75%,
    rgba(255, 255, 255, 0.32) 88%,
    transparent 100%
  );
}

.level-board.circular-gallery.chroma-grid {
  position: relative;
  height: 560px;
  min-height: 0;
  display: block;
  max-width: 100%;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  --x: 50%;
  --y: 50%;
  --r: 320px;
}

.level-board.circular-gallery.chroma-grid.is-dragging {
  cursor: grabbing;
}

.level-board.circular-gallery.chroma-grid:focus-visible {
  outline: 2px solid var(--color-marker-orange);
  outline-offset: 6px;
}

.circular-gallery-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1400px;
  touch-action: pan-y;
}

.level-board.circular-gallery .level-label.circular-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, calc(100vw - 72px));
  min-height: 410px;
  height: 410px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #333333;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-gradient);
  box-shadow: rgba(0, 0, 0, 0.18) 0 22px 46px;
  color: #ffffff;
  text-align: left;
  translate: 0 0;
  transform:
    translate(-50%, -50%)
    translateX(var(--tx, 0px))
    translateY(var(--ty, 0px))
    rotateZ(var(--rz, 0deg))
    scale(var(--scale, 1));
  opacity: var(--alpha, 1);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease,
    opacity 260ms ease;
  filter: grayscale(1) brightness(0.78);
  will-change: transform, opacity;
  cursor: grab;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(255, 255, 255, 0.34);
}

.level-board.circular-gallery.is-dragging .level-label.circular-card {
  cursor: grabbing;
}

.level-board.circular-gallery .level-label.circular-card:nth-child(3n + 1),
.level-board.circular-gallery .level-label.circular-card:nth-child(3n + 2),
.level-board.circular-gallery .level-label.circular-card:nth-child(3n) {
  transform:
    translate(-50%, -50%)
    translateX(var(--tx, 0px))
    translateY(var(--ty, 0px))
    rotateZ(var(--rz, 0deg))
    scale(var(--scale, 1));
}

.level-board.circular-gallery .level-label.circular-card:hover,
.level-board.circular-gallery .level-label.circular-card.is-active {
  border-color: var(--card-border);
  box-shadow: rgba(0, 0, 0, 0.24) 0 28px 62px;
  filter: none;
  translate: 0 0;
}

.level-board.circular-gallery .chroma-overlay,
.level-board.circular-gallery .chroma-fade {
  display: none;
}

.circular-media {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 250px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  margin: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.34), transparent 34%),
    rgba(255, 255, 255, 0.08);
}

.circular-media span {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-geist);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.level-board.circular-gallery .circular-media strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 92px;
  font-weight: 700;
  line-height: 0.88;
}

.circular-media em {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-geist);
  font-size: 16px;
  font-style: normal;
}

.circular-caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 0 18px 18px;
  color: #ffffff;
  font-family: var(--font-geist);
}

.circular-caption .name {
  grid-column: 1;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-geist);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
}

.circular-caption .handle {
  grid-column: 2;
  justify-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.circular-caption .role {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-geist);
  font-size: 15px;
  line-height: 1.35;
}

.circular-caption .location {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.level-song-picker {
  margin-top: 28px;
}

.level-song-picker[hidden] {
  display: none;
}

.level-song-picker-panel {
  padding: 22px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 28px;
  background: #111111;
  box-shadow: rgba(0, 0, 0, 0.16) 0 22px 46px;
  animation: cardPeelIn 320ms ease both;
}

.level-song-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.level-song-picker-head .marker-caption {
  margin-bottom: 8px;
}

.level-song-picker-head h3,
.level-song-picker-head p {
  color: var(--color-cream-paper);
}

.level-song-picker-head h3 {
  margin-bottom: 8px;
  font-size: 34px;
}

.level-song-picker-head p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(253, 251, 249, 0.72);
  font-family: var(--font-geist);
  font-size: 16px;
}

.picker-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(253, 251, 249, 0.68);
  border-radius: 50%;
  background: rgba(253, 251, 249, 0.08);
  color: var(--color-cream-paper);
  font-size: 26px;
  line-height: 1;
}

.picker-close:hover {
  border-color: var(--color-marker-orange);
  color: var(--color-marker-orange);
}

.level-song-picker-body {
  position: relative;
  border-radius: 20px;
  isolation: isolate;
}

.level-song-splash {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.88;
  filter: saturate(1.75) brightness(1.1);
}

.level-song-picker-grid.chroma-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 12px;
  max-height: min(720px, 72vh);
  padding: 12px;
  border-radius: 20px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(253, 251, 249, 0.06), rgba(253, 251, 249, 0.025)),
    #111111;
  isolation: isolate;
  touch-action: pan-y;
  --x: 50%;
  --y: 50%;
  --r: 300px;
}

.level-song-picker-grid .song-picker-card.chroma-card {
  position: relative;
  min-width: 0;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(253, 251, 249, 0.13);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 46%, rgba(0, 0, 0, 0.74)),
    #141414;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(255, 255, 255, 0.2);
}

.level-song-picker-grid .song-picker-card.chroma-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.level-song-picker-grid .song-picker-card.chroma-card:hover,
.level-song-picker-grid .song-picker-card.chroma-card:focus-visible {
  border-color: rgba(253, 251, 249, 0.42);
  box-shadow: rgba(0, 0, 0, 0.32) 0 18px 34px;
  transform: translateY(-3px);
  outline: none;
}

.level-song-picker-grid .song-picker-card.chroma-card:hover::before,
.level-song-picker-grid .song-picker-card.chroma-card:focus-visible::before {
  opacity: 1;
}

.song-picker-visual {
  position: relative;
  z-index: 1;
  min-height: 168px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  margin: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.level-song-picker-grid .song-picker-info {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.song-picker-visual span,
.song-picker-visual em {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-geist);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.song-picker-visual strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.9;
}

.song-picker-info .name {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-geist);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.song-picker-info .role {
  font-size: 14px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.filters label {
  display: grid;
  gap: 8px;
  color: var(--color-cocoa-ink);
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
}

.filters input,
.filters select {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 8px;
  background: var(--color-cream-paper);
  color: var(--color-cocoa-ink);
  box-shadow: var(--shadow-subtle);
  font-family: var(--font-geist);
  font-size: 16px;
  outline: none;
}

.filters input:focus,
.filters select:focus {
  border-color: var(--color-marker-orange);
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1.5px solid var(--color-charcoal);
}

.tech-cloud > span {
  color: var(--color-marker-orange);
  font-size: 20px;
}

.tech-cloud button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 20px;
  background: var(--color-cream-paper);
  box-shadow: var(--shadow-subtle);
  color: var(--color-charcoal);
  font-family: var(--font-geist);
  font-size: 14px;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tech-cloud button:hover,
.tech-cloud button.is-active,
.lesson-pane .tag-chip:hover {
  border-color: var(--color-marker-orange);
  color: var(--color-marker-orange);
}

.tech-cloud button:hover {
  transform: rotate(-1deg) translateY(-1px);
}

.tech-cloud em {
  font-style: normal;
}

.catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-top: 1.5px solid var(--color-charcoal);
  padding-top: 20px;
}

.catalog-head strong {
  color: var(--color-cocoa-ink);
  font-size: 28px;
}

.catalog-head span {
  color: var(--color-cocoa-ink);
  font-family: var(--font-geist);
  font-size: 16px;
}

.song-label-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.song-label {
  position: relative;
  min-height: 255px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 24px;
  text-align: left;
  animation: cardPeelIn 460ms ease both;
  transition: translate 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.song-label:nth-child(2) { animation-delay: 22ms; }
.song-label:nth-child(3) { animation-delay: 44ms; }
.song-label:nth-child(4) { animation-delay: 66ms; }
.song-label:nth-child(5) { animation-delay: 88ms; }
.song-label:nth-child(6) { animation-delay: 110ms; }
.song-label:nth-child(7) { animation-delay: 132ms; }
.song-label:nth-child(8) { animation-delay: 154ms; }
.song-label:nth-child(9) { animation-delay: 176ms; }

.song-label:nth-child(4n + 1) {
  transform: rotate(-0.8deg);
}

.song-label:nth-child(4n + 2) {
  transform: rotate(0.8deg);
}

.song-label:nth-child(4n + 3) {
  transform: rotate(-0.3deg);
}

.song-label:nth-child(4n) {
  transform: rotate(0.4deg);
}

.song-label strong {
  padding-right: 44px;
  color: var(--color-cocoa-ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.roll-number {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 50%;
  background: var(--color-cream-paper);
  box-shadow: var(--shadow-subtle);
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 500;
}

.song-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.song-tags button.tag-chip {
  cursor: pointer;
}

.empty-note {
  padding: 28px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 12px;
  background: var(--color-dew-drop);
  color: var(--color-cocoa-ink);
  font-size: 20px;
}

.lesson-section {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.lesson-card {
  overflow: hidden;
  animation: cardPeelIn 560ms ease both;
}

.lesson-cover {
  position: relative;
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 32px;
  background: var(--color-dew-drop);
}

.lesson-cover h3 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 46px;
  overflow-wrap: anywhere;
}

.lesson-cover p {
  margin-bottom: 0;
}

.lesson-fields {
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1.5px solid var(--color-charcoal);
  border-bottom: 1.5px solid var(--color-charcoal);
}

.lesson-tabs button {
  min-height: 56px;
  border: 0;
  border-right: 1.5px solid var(--color-charcoal);
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  font-size: 18px;
  font-weight: 600;
}

.lesson-tabs button:last-child {
  border-right: 0;
}

.lesson-tabs button:hover,
.lesson-tabs button.is-active {
  color: var(--color-marker-orange);
}

.lesson-pane {
  padding: 28px 32px 34px;
  background: var(--color-cream-paper);
  animation: cardPeelIn 260ms ease both;
}

.practice-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.practice-steps div,
.resource-note,
.evidence-tags div {
  padding: 18px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 12px;
  background: var(--color-dew-drop);
}

.practice-steps div {
  min-height: 128px;
}

.practice-steps span,
.resource-note span,
.evidence-tags span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-marker-orange);
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 500;
}

.practice-steps strong {
  color: var(--color-cocoa-ink);
  font-size: 20px;
  line-height: 1.3;
}

.lesson-list {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px 24px;
  margin: 0;
}

.lesson-list dt {
  color: var(--color-cocoa-ink);
  font-size: 18px;
  font-weight: 600;
}

.lesson-list dd {
  margin: 0;
  color: var(--color-cocoa-ink);
  font-size: 18px;
  line-height: 1.55;
}

.resource-note {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.resource-note strong {
  color: var(--color-cocoa-ink);
  font-size: 28px;
}

.resource-note small {
  color: var(--color-cocoa-ink);
  font-size: 18px;
  line-height: 1.4;
}

.audio-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 12px;
}

.audio-item audio {
  width: 100%;
}

.audio-workbench {
  display: grid;
  gap: 16px;
}

.audio-version-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: end;
  padding: 8px 8px 0;
  margin-bottom: 10px;
  color: rgba(239, 255, 251, 0.9);
  font-family: var(--font-geist);
}

.audio-version-head span {
  grid-column: 1 / -1;
  color: rgba(202, 229, 224, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.audio-version-head strong,
.audio-version-head em {
  min-width: 0;
  font-style: normal;
  font-weight: 850;
  line-height: 1.1;
}

.audio-version-head strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-version-selector {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 8px 12px;
}

.audio-version-button {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(184, 245, 230, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(28, 54, 58, 0.94), rgba(8, 20, 24, 0.96));
  color: rgba(239, 255, 251, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    rgba(0, 0, 0, 0.22) 0 8px 18px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.audio-version-button:hover,
.audio-version-button:focus-visible,
.audio-version-button.is-active {
  border-color: rgba(54, 240, 178, 0.82);
  outline: none;
}

.audio-version-button:hover {
  background:
    linear-gradient(135deg, rgba(49, 214, 255, 0.16), rgba(54, 240, 178, 0.08)),
    linear-gradient(180deg, rgba(30, 65, 68, 0.98), rgba(8, 20, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    rgba(54, 240, 178, 0.16) 0 10px 24px;
  transform: translateY(-1px);
}

.audio-version-button span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-geist);
  font-size: 13px;
  font-weight: 800;
  color: rgba(239, 255, 251, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.audio-version-button strong,
.audio-version-button small {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-geist);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-version-button strong {
  font-size: 15px;
  font-weight: 800;
}

.audio-version-button small {
  color: rgba(202, 229, 224, 0.76);
  font-size: 12px;
}

.audio-version-button.is-active {
  background:
    linear-gradient(135deg, rgba(49, 214, 255, 0.28), rgba(54, 240, 178, 0.14) 46%, rgba(255, 107, 92, 0.13)),
    linear-gradient(180deg, rgba(22, 63, 66, 0.98), rgba(7, 20, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    rgba(49, 214, 255, 0.18) 0 12px 30px;
}

.audio-version-button.is-active span,
.audio-version-button.is-active strong {
  color: #effffb;
}

.audio-version-button.is-active span {
  border-color: rgba(54, 240, 178, 0.96);
  background: linear-gradient(135deg, #36f0b2, #31d6ff);
  color: #062125;
  box-shadow: 0 0 18px rgba(49, 214, 255, 0.28);
}

@media (max-width: 560px) {
  .audio-version-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .audio-version-selector {
    grid-template-columns: minmax(0, 1fr);
  }

  .audio-version-button {
    min-height: 58px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .audio-version-button span {
    grid-row: auto;
  }

  .audio-version-button small {
    grid-column: 2;
    justify-self: start;
  }
}

.audio-player-frame {
  padding: 12px;
  border: 1px solid rgba(211, 255, 243, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 12%, rgba(49, 214, 255, 0.14), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(54, 240, 178, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 24, 30, 0.98), rgba(5, 13, 17, 0.99));
  box-shadow:
    rgba(0, 17, 24, 0.26) 0 18px 44px,
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.score-card {
  margin: 0;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-dew-drop);
}

.score-sheet {
  box-shadow: rgba(0, 0, 0, 0.08) 0 16px 36px;
}

.score-image-frame {
  max-height: min(74vh, 920px);
  padding: 14px;
  overflow: auto;
  background: #ffffff;
}

.score-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(43, 26, 7, 0.14);
  background: #ffffff;
  filter: contrast(2.15) brightness(0.86) saturate(0.85);
}

.evidence-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.evidence-tags strong {
  display: block;
  color: var(--color-cocoa-ink);
  font-size: 24px;
  line-height: 1.2;
}

.evidence-tags small {
  display: block;
  margin-top: 8px;
  color: var(--color-cocoa-ink);
  font-size: 16px;
  line-height: 1.4;
}

.footer-band {
  margin-top: 20px;
  padding: 42px 0 46px;
  border-top: 1.5px solid var(--color-charcoal);
  border-radius: 0;
  background: #fffaf4;
  color: var(--color-cocoa-ink);
  text-align: center;
  overflow: hidden;
}

.sponsor-footer-head {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 24px;
}

.footer-band strong,
.sponsor-footer-head strong {
  display: block;
  color: var(--color-cocoa-ink);
  font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.18;
  text-shadow: none;
}

.sponsor-footer-note {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(45, 31, 20, 0.72);
  font-size: clamp(15px, 2.2vw, 20px);
  line-height: 1.5;
}

.decrypt-text {
  display: inline-block;
  min-height: 1em;
  white-space: normal;
}

.decrypt-text.is-encrypted {
  color: var(--color-marker-orange);
  font-family: var(--font-geist);
  letter-spacing: 0;
}

.sponsor-footer-note.decrypt-text.is-encrypted {
  color: rgba(255, 96, 31, 0.78);
}

.support-toggle {
  min-height: 42px;
  margin-top: 18px;
  border: 1.5px solid #8f1d15;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffdf86 0%, #ffb12b 48%, #e53124 50%, #b81718 100%);
  color: #fff8df;
  cursor: pointer;
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 860;
  letter-spacing: 0;
  padding: 8px 22px;
  text-shadow: 0 1px 0 rgba(79, 18, 9, 0.45);
  box-shadow: 0 10px 20px rgba(183, 23, 24, 0.2), inset 0 1px 0 rgba(255, 247, 210, 0.55);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.support-toggle:hover,
.support-toggle:focus-visible {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 14px 26px rgba(183, 23, 24, 0.26), inset 0 1px 0 rgba(255, 247, 210, 0.65);
  transform: translateY(-2px);
}

.support-folder-popover {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: max-height 360ms ease, opacity 240ms ease, transform 240ms ease;
}

.support-folder-popover.is-open {
  max-height: 760px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.support-folder-stage {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 24px 0 28px;
}

.support-qr-grid {
  display: grid;
  width: min(800px, 100%);
  grid-template-columns: repeat(3, minmax(0, 190px));
  justify-content: center;
  gap: 18px;
  margin: 8px auto 28px;
  scroll-margin-top: 24px;
}

.support-qr-card {
  position: relative;
  margin: 0;
  border: 1.5px solid rgba(116, 22, 12, 0.7);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 224, 143, 0.34), transparent 34%),
    linear-gradient(145deg, #e83a2f 0%, #c51f1f 58%, #8f1418 100%);
  box-shadow:
    0 20px 38px rgba(116, 22, 12, 0.2),
    inset 0 1px 0 rgba(255, 240, 178, 0.48);
  overflow: hidden;
  padding: 10px;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 320ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.support-qr-card::before,
.support-qr-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.support-qr-card::before {
  inset: auto -10% -32% -10%;
  height: 46%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 208, 84, 0.2);
}

.support-qr-card::after {
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffeeb8 0 35%, #f2bd33 36% 60%, #b91b1b 61% 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.support-qr-card figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  color: #fff4cf;
  font-family: var(--font-geist);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.support-qr-card figcaption span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.support-qr-card figcaption span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #09c367;
  box-shadow: 0 0 0 3px rgba(9, 195, 103, 0.18);
  content: "";
}

.support-qr-card figcaption strong {
  flex: 0 0 auto;
  color: #ffe08a;
  font-size: 14px;
}

.support-folder-popover.is-open .support-qr-card {
  opacity: 1;
}

.support-folder-popover.is-open .support-qr-card:nth-child(1) {
  transform: rotateZ(-3deg);
}

.support-folder-popover.is-open .support-qr-card:nth-child(2) {
  transform: translateY(-8px) rotateZ(1deg);
  transition-delay: 50ms;
}

.support-folder-popover.is-open .support-qr-card:nth-child(3) {
  transform: rotateZ(3deg);
  transition-delay: 100ms;
}

.support-qr-card:hover {
  box-shadow:
    0 24px 42px rgba(116, 22, 12, 0.26),
    inset 0 1px 0 rgba(255, 240, 178, 0.55);
  transform: translateY(-4px) scale(1.02);
}

.support-qr-frame {
  position: relative;
  z-index: 1;
  border: 6px solid #fff9ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(79, 18, 9, 0.2);
  overflow: hidden;
}

.support-folder {
  cursor: pointer;
  transition: transform 0.2s ease-in;
}

.support-folder {
  --folder-color: #d72b1f;
  --folder-back-color: #98161a;
  --paper-1: #f4eadf;
  --paper-2: #fff6ec;
  --paper-3: #ffffff;
  transform: translateY(-8px);
}

.support-folder .folder__back {
  position: relative;
  width: 190px;
  height: 124px;
  background:
    linear-gradient(150deg, rgba(255, 214, 92, 0.24), transparent 42%),
    var(--folder-back-color);
  border-radius: 18px;
  box-shadow: 0 20px 42px rgba(116, 22, 12, 0.22);
  overflow: visible;
}

.support-folder .folder__back::after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 66%;
  background: linear-gradient(160deg, #f7c046 0 20%, #d8291d 21% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 72%);
  border-radius: 18px 18px 0 0;
  opacity: 0.96;
}

.support-folder .paper {
  position: absolute;
  z-index: 5;
  bottom: 10%;
  left: 50%;
  width: min(190px, 28vw);
  border: 1.5px solid rgba(45, 31, 20, 0.22);
  border-radius: 12px;
  background: var(--paper-1);
  box-shadow: 0 18px 30px rgba(45, 31, 20, 0.16);
  overflow: hidden;
  padding: 0;
  transform: translate(-50%, 10%);
  transform-origin: center bottom;
  transition: transform 0.3s ease-in-out, filter 0.2s ease;
}

.support-folder .paper:nth-child(2) {
  background: var(--paper-2);
}

.support-folder .paper:nth-child(3) {
  background: var(--paper-3);
}

.support-folder-popover.is-open .support-folder {
  transform: translateY(-8px);
}

.support-folder-popover.is-open .support-folder .paper:nth-child(1) {
  transform: translate(-168%, -74%) rotateZ(-6deg);
}

.support-folder-popover.is-open .support-folder .paper:nth-child(2) {
  transform: translate(68%, -74%) rotateZ(6deg);
}

.support-folder-popover.is-open .support-folder .paper:nth-child(3) {
  transform: translate(-50%, -94%) rotateZ(1deg);
}

.support-folder-popover.is-open .support-folder .paper:hover {
  filter: saturate(1.04) brightness(1.02);
}

.support-qr-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.support-qr-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(36, 22, 15, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(36, 22, 15, 0.1) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
  color: #bf1e1e;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 950;
  user-select: none;
}

.qr-placeholder {
  width: 92px;
  height: 92px;
  border: 8px solid #ffffff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #24160f 10px, transparent 10px 18px, #24160f 18px 28px, transparent 28px 36px, #24160f 36px 46px, transparent 46px 54px, #24160f 54px 64px, transparent 64px),
    linear-gradient(#24160f 10px, transparent 10px 18px, #24160f 18px 28px, transparent 28px 36px, #24160f 36px 46px, transparent 46px 54px, #24160f 54px 64px, transparent 64px);
  background-color: #fff;
  background-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(45, 31, 20, 0.14);
}

.support-folder .folder__front {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 216, 93, 0.28), transparent 22%),
    linear-gradient(180deg, #f24b2e 0%, var(--folder-color) 68%, #a61919 100%);
  transform-origin: bottom;
  transition: transform 0.3s ease-in-out;
}

.support-folder .folder__front.right {
  right: 0;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.redpacket-seal {
  position: absolute;
  z-index: 6;
  top: 42px;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(255, 244, 207, 0.8);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a, #f6b930);
  color: #991416;
  font-family: var(--font-song);
  font-size: 26px;
  font-weight: 900;
  transform: translateX(-50%);
  box-shadow: 0 8px 16px rgba(79, 18, 9, 0.22);
}

.support-folder-popover.is-open .support-folder .folder__front {
  transform: scaleY(0.62);
}

.support-folder-popover.is-open .support-folder .folder__front.right {
  transform: scaleY(0.62);
}

@media (max-width: 640px) {
  .sponsor-footer-head {
    width: min(100%, calc(100% - 24px));
  }

  .support-folder-popover.is-open {
    max-height: 1160px;
  }

  .support-folder-stage {
    padding: 18px 0 16px;
  }

  .support-qr-grid {
    width: min(250px, 100%);
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
    margin-bottom: 22px;
  }

  .support-folder-popover.is-open .support-qr-card,
  .support-folder-popover.is-open .support-qr-card:nth-child(1),
  .support-folder-popover.is-open .support-qr-card:nth-child(2),
  .support-folder-popover.is-open .support-qr-card:nth-child(3) {
    transform: none;
  }

  .support-folder .folder__back {
    width: 150px;
    height: 104px;
  }

  .redpacket-seal {
    top: 35px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .support-folder .paper {
    width: min(168px, calc(100vw - 48px));
  }

  .support-folder-popover.is-open .support-folder .paper:nth-child(1) {
    transform: translate(-50%, -256%) rotateZ(-3deg);
  }

  .support-folder-popover.is-open .support-folder .paper:nth-child(2) {
    transform: translate(-50%, -146%) rotateZ(3deg);
  }

  .support-folder-popover.is-open .support-folder .paper:nth-child(3) {
    transform: translate(-50%, -36%) rotateZ(-1deg);
  }
}

.logoloop {
  position: relative;
  --logoloop-gap: 36px;
  --logoloop-logoHeight: 74px;
  --logoloop-fadeColorAuto: #fffaf4;
}

.sponsor-logoloop {
  width: 100%;
  overflow: hidden;
}

.logoloop--scale-hover {
  padding-top: calc(var(--logoloop-logoHeight) * 0.1);
  padding-bottom: calc(var(--logoloop-logoHeight) * 0.1);
}

.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
  animation: logoloop-scroll 24s linear infinite;
}

.logoloop__track:hover {
  animation-play-state: paused;
}

.logoloop__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  font-size: var(--logoloop-logoHeight);
  line-height: 1;
}

.logoloop__item:last-child {
  margin-right: var(--logoloop-gap);
}

.logoloop__node {
  display: inline-flex;
  align-items: center;
}

.logoloop--scale-hover .logoloop__item {
  overflow: visible;
}

.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
  transform: scale(1.16);
  transform-origin: center center;
}

.logoloop--scale-hover .logoloop__node {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logoloop__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.logoloop__link:hover {
  opacity: 0.86;
}

.logoloop__link:focus-visible {
  outline: 2px solid var(--color-marker-orange);
  outline-offset: 4px;
}

.logoloop--fade::before,
.logoloop--fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 8%, 120px);
  pointer-events: none;
  z-index: 10;
}

.logoloop--fade::before {
  left: 0;
  background: linear-gradient(to right, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(0, 0, 0, 0) 100%);
}

.logoloop--fade::after {
  right: 0;
  background: linear-gradient(to left, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(0, 0, 0, 0) 100%);
}

.avatar-face {
  position: relative;
  display: inline-grid;
  width: var(--logoloop-logoHeight);
  height: var(--logoloop-logoHeight);
  place-items: center;
  border: 2px solid rgba(45, 31, 20, 0.18);
  border-radius: 50%;
  color: #fffaf4;
  font-family: var(--font-geist);
  font-size: calc(var(--logoloop-logoHeight) * 0.28);
  font-weight: 900;
  box-shadow:
    0 10px 20px rgba(45, 31, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  isolation: isolate;
  overflow: hidden;
}

.avatar-face::before {
  content: "";
  position: absolute;
  inset: 16% 18% auto;
  height: 36%;
  border-radius: 999px 999px 42px 42px;
  background: rgba(255, 255, 255, 0.23);
  transform: rotate(-8deg);
  z-index: -1;
}

.avatar-face::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 16%;
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 247, 239, 0.92);
  box-shadow: calc(var(--logoloop-logoHeight) * -0.42) -4px 0 rgba(255, 247, 239, 0.52);
}

.avatar-emerald {
  background: linear-gradient(135deg, #008f6a, #36f0b2);
}

.avatar-sky {
  background: linear-gradient(135deg, #1267b3, #31d6ff);
}

.avatar-coral {
  background: linear-gradient(135deg, #b6262d, #ff6b5c);
}

.avatar-gold {
  background: linear-gradient(135deg, #9a6200, #ffd166);
}

.avatar-ink {
  background: linear-gradient(135deg, #171312, #6a625a);
}

.avatar-rose {
  background: linear-gradient(135deg, #803653, #f1a7b5);
}

.avatar-mint {
  background: linear-gradient(135deg, #0e5f5b, #a7f3d0);
}

.avatar-blue {
  background: linear-gradient(135deg, #183b7a, #83a9ff);
}

@keyframes logoloop-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.text-pressure-stage {
  position: relative;
  width: 100%;
  height: 300px;
  background: transparent;
}

.hero-pressure-stage {
  max-width: 690px;
  height: clamp(104px, 13vw, 148px);
  margin-bottom: 28px;
  overflow: visible;
}

.text-pressure-title {
  width: 100%;
  margin: 0;
  color: var(--color-cocoa-ink);
  font-family: "Roboto Flex", "Arial", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 100;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  transform: scale(1, 1);
  transform-origin: center top;
  text-shadow: 0 18px 36px rgba(255, 111, 30, 0.18);
  cursor: default;
}

.hero-pressure {
  color: var(--color-cocoa-ink);
  text-transform: none;
}

.text-pressure-title.flex {
  display: flex;
  justify-content: space-between;
}

.text-pressure-title span {
  display: inline-block;
  color: inherit;
  will-change: font-variation-settings;
}

@media (max-width: 980px) {
  h1 {
    font-size: 76px;
  }

  h2,
  .lesson-cover h3 {
    font-size: 40px;
  }

  .hero,
  .product-row,
  .infinite-menu-section,
  .lesson-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 20px;
    padding-top: 10px;
  }

  .ukulele-lanyard {
    inset: 0;
    width: 100%;
    height: auto;
    transform: none;
  }

  .hero-product {
    min-height: 560px;
  }

  .notebook-object {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(5deg);
    animation-name: notebookFloatMobile;
  }

  .pencil-object {
    right: 12%;
  }

  .infinite-menu-section {
    gap: 28px;
  }

  .infinite-menu {
    min-height: 590px;
  }

  .face-title {
    font-size: 38px;
  }

  .face-description {
    max-width: 15ch;
    font-size: 17px;
  }

  .level-board,
  .song-label-grid,
  .level-song-picker-grid.chroma-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level-board.chroma-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .product-row,
  .infinite-menu-section,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  h3,
  .lesson-cover h3 {
    font-size: 32px;
  }

  p,
  .intro-copy {
    font-size: 18px;
  }

  .hero {
    padding-top: 12px;
    padding-bottom: 64px;
  }

  .ukulele-lanyard {
    inset: 0;
    z-index: 1;
    width: 100%;
    height: auto;
    transform: none;
  }

  .hero-product {
    min-height: 500px;
  }

  .notebook-object {
    width: 300px;
    min-height: 405px;
    top: 72px;
  }

  .notebook-cover {
    min-height: 405px;
    padding: 38px 24px 28px;
  }

  .name-sticker strong {
    font-size: 26px;
  }

  .cover-note {
    left: 24px;
    right: 24px;
    font-size: 17px;
  }

  .pencil-object {
    right: 8px;
    top: 130px;
    height: 360px;
  }

  .product-row {
    gap: 18px;
    padding-bottom: 72px;
  }

  .infinite-menu-section {
    padding-bottom: 72px;
  }

  .infinite-menu {
    min-height: 500px;
    border-radius: 40px;
  }

  .infinite-menu::before {
    inset: 16px;
    border-radius: 30px;
  }

  .orbit-disc {
    width: 136px;
    height: 136px;
    padding: 14px;
  }

  .orbit-disc strong {
    font-size: 42px;
  }

  .face-title,
  .face-description {
    display: none;
  }

  .action-button {
    bottom: 42px;
    width: 58px;
    height: 58px;
  }

  .showcase-object {
    min-height: 300px;
  }

  .level-board,
  .song-label-grid,
  .level-song-picker-grid.chroma-grid,
  .filters,
  .practice-steps,
  .evidence-tags,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .level-song-picker-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .level-song-picker-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .level-board.chroma-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .level-board.chroma-grid .level-label.chroma-card {
    min-height: 300px;
  }

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

  .lesson-fields,
  .sticker-grid {
    grid-template-columns: 1fr;
  }

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

  .lesson-tabs button:nth-child(2) {
    border-right: 0;
  }

  .lesson-tabs button:nth-child(-n + 2) {
    border-bottom: 1.5px solid var(--color-charcoal);
  }

  .lesson-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .level-board.circular-gallery.chroma-grid {
    height: 500px;
    padding: 0;
    --r: 220px;
  }

  .level-board.circular-gallery .level-label.circular-card {
    width: min(310px, calc(100vw - 48px));
    min-height: 350px;
    height: 350px;
  }

  .circular-media {
    min-height: 204px;
    margin: 12px;
  }

  .level-board.circular-gallery .circular-media strong {
    font-size: 72px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.ukulele-tuner-section {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  padding-top: 16px;
}

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

.uke-tuner-panel {
  --needle-deg: 0deg;
  --scale-radius: 148px;
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 2px solid rgba(21, 48, 71, 0.88);
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px),
    linear-gradient(180deg, #382813, #17110a);
  box-shadow:
    rgba(21, 48, 71, 0.22) 0 28px 70px,
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #fff6d9;
  transform: rotate(-2.5deg);
}

.uke-tuner-panel::after {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border: 2px solid #321612;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc7b7, #ba2d2d 48%, #6e1515);
  box-shadow: 0 0 18px rgba(186, 45, 45, 0.45);
  content: "";
}

.uke-tuner-panel.is-tuned::after {
  border-color: #052812;
  background: radial-gradient(circle at 35% 30%, #d7ffe5, #7CF6A3 48%, #0d793e);
  box-shadow: 0 0 30px rgba(124, 246, 163, 0.75);
}

.uke-tuner-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-right: 48px;
}

.uke-tuner-top h2 {
  margin-bottom: 8px;
  color: #fff6d9;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.98;
  text-transform: none;
}

.uke-tuner-top .kicker,
.uke-tuner-top small,
.uke-status-text {
  margin: 0;
  color: #FFD166;
  font-family: var(--font-geist);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uke-tuner-top small {
  display: block;
  color: rgba(255, 246, 217, 0.76);
  text-transform: none;
}

.tuner-notebook-object {
  right: 0;
  top: 78px;
  width: min(430px, calc(100vw - 48px));
  min-height: 560px;
  transform: rotate(6deg);
  animation: tunerCardFloat 5.2s ease-in-out 850ms infinite;
}

.hero-tuner-panel {
  width: 100%;
  min-height: 560px;
  gap: 12px;
  padding: 16px;
  transform: none;
}

.hero-tuner-panel .uke-tuner-top h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.6vw, 48px);
}

.hero-tuner-panel .uke-meter-face {
  height: 222px;
}

.hero-tuner-panel .uke-primary-note {
  min-height: 74px;
  font-size: clamp(44px, 7vw, 66px);
}

.hero-tuner-panel .uke-control-strip {
  gap: 8px;
}

.hero-tuner-panel .uke-start-button {
  min-height: 50px;
}

.hero-tuner-panel .uke-mode-button {
  min-height: 66px;
}

.hero-tuner-panel .uke-status-text {
  min-height: 14px;
  color: rgba(255, 246, 217, 0.76);
  font-size: 11px;
}

.uke-status-lamp {
  width: 0;
  height: 0;
  overflow: hidden;
}

.uke-vu-meter {
  width: 100%;
}

.uke-meter-face {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  border: 9px solid #15110d;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 34%),
    radial-gradient(ellipse at 50% 96%, rgba(73, 47, 18, 0.22), transparent 42%),
    linear-gradient(180deg, #fff6d9 0%, #eadfbf 54%, #c9b98f 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    inset 0 -18px 35px rgba(67, 47, 20, 0.24),
    0 14px 34px rgba(0, 0, 0, 0.35);
}

.is-tuned .uke-meter-face {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 34%),
    radial-gradient(ellipse at 50% 92%, rgba(5, 120, 56, 0.18), transparent 45%),
    linear-gradient(180deg, #eeffd9 0%, #caffbf 58%, #7CF6A3 100%);
}

.uke-scale {
  position: absolute;
  inset: 18px 8% 22%;
}

.uke-tuner-tick {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 18px;
  background: rgba(18, 16, 13, 0.72);
  transform: rotate(var(--angle)) translateY(calc(-1 * var(--scale-radius)));
  transform-origin: 50% var(--scale-radius);
}

.uke-tuner-tick.major {
  width: 3px;
  height: 30px;
  background: #12100d;
}

.uke-tuner-tick.center {
  width: 4px;
  height: 38px;
  background: #157348;
}

.uke-center-band {
  position: absolute;
  left: calc(50% - 17px);
  top: 17%;
  width: 34px;
  height: 72px;
  border: 1px solid rgba(4, 87, 38, 0.35);
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(124, 246, 163, 0.46), transparent);
}

.uke-meter-frequency {
  position: absolute;
  left: 50%;
  top: 48%;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(18, 16, 13, 0.76);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 750;
  transform: translateX(-50%);
}

.uke-meter-frequency small,
.uke-meter-cents small {
  font-family: var(--font-geist);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.uke-meter-cents {
  position: absolute;
  right: 14%;
  top: 58%;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(18, 16, 13, 0.72);
  font-family: var(--font-geist);
  font-size: clamp(17px, 2.6vw, 25px);
  font-weight: 900;
}

.uke-needle {
  position: absolute;
  left: calc(50% - 2px);
  bottom: 18px;
  width: 4px;
  height: 68%;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a1712 0%, #080705 100%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.42);
  transform: rotate(var(--needle-deg));
  transform-origin: 50% calc(100% - 10px);
  transition: transform 80ms linear;
}

.uke-pivot {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 54px;
  height: 30px;
  border-radius: 50% 50% 8px 8px;
  background: radial-gradient(circle at 50% 38%, #3f3524, #0a0907 62%);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
}

.uke-readout {
  display: grid;
  gap: 10px;
}

.uke-primary-note {
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 244, 211, 0.08), rgba(0, 0, 0, 0.12));
  color: #fff6d9;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 800;
  line-height: 1;
}

.uke-note-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.uke-note-line small {
  margin-left: 4px;
  color: #FFD166;
  font-size: 0.34em;
}

.uke-target-inline {
  min-height: 18px;
  color: #FFD166;
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.is-tuned .uke-primary-note {
  color: #dfffe8;
  text-shadow: 0 0 18px rgba(124, 246, 163, 0.55);
}

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

.uke-string-button {
  appearance: none;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 246, 217, 0.86);
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.uke-string-button:hover,
.uke-string-button:focus-visible {
  border-color: #FFD166;
  background: rgba(255, 209, 102, 0.16);
  color: #fff6d9;
  outline: none;
  transform: translateY(-1px);
}

.uke-string-button.is-active {
  border-color: #FFD166;
  background: linear-gradient(180deg, #ffe08a, #d99a3a);
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.24);
  color: #171109;
}

.uke-control-strip {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.uke-start-button {
  width: min(260px, 100%);
  min-height: 54px;
  border: 1px solid #FFD166;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe08a, #FFD166 58%, #d99837);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  color: #171109;
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 950;
}

.uke-start-button:hover {
  filter: brightness(1.08);
}

.uke-start-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.uke-mode-button {
  appearance: none;
  display: grid;
  width: 100%;
  min-height: 72px;
  place-items: center;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 246, 217, 0.9);
  font-family: var(--font-geist);
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.uke-mode-button strong {
  color: inherit;
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.uke-mode-button span {
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.uke-mode-button:hover,
.uke-mode-button:focus-visible {
  border-color: #FFD166;
  background: rgba(255, 209, 102, 0.16);
  color: #fff6d9;
  outline: none;
  transform: translateY(-1px);
}

.uke-mode-button.is-active {
  border-color: #FFD166;
  background: linear-gradient(180deg, #ffe08a, #FFD166 58%, #d99837);
  box-shadow: 0 8px 18px rgba(255, 209, 102, 0.22);
  color: #171109;
}

.uke-level-meter {
  width: min(420px, 100%);
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 999px;
  background: #090806;
}

.uke-level-meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5CC8FF, #7CF6A3, #FFD166);
  transition: width 80ms linear;
}

.uke-status-text {
  min-height: 18px;
  text-align: center;
  color: #fff6d9;
}

.uke-status-text.error {
  color: #ff9d8f;
}

@media (max-width: 980px) {
  .ukulele-tuner-section {
    grid-template-columns: 1fr;
  }

  .uke-tuner-panel {
    transform: rotate(-1deg);
  }

  .tuner-notebook-object {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(430px, 100%);
    margin: 32px auto 0;
    transform: rotate(3deg);
    animation-name: tunerCardFloat;
  }

  .hero-tuner-panel {
    transform: none;
  }
}

@media (max-width: 640px) {
  .uke-tuner-panel {
    --scale-radius: 98px;
    padding: 14px;
    transform: none;
  }

  .uke-meter-face {
    height: 230px;
  }

  .hero-tuner-panel {
    min-height: auto;
  }

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