:root {
  color-scheme: light;
  --paper: #fbfbf7;
  --paper-2: #f7f8f2;
  --ink: #050506;
  --muted: #5d6068;
  --line: #d9d9d2;
  --green: #27cf5f;
  --green-dark: #14a946;
  --purple: #9b6cff;
  --orange: #ff941f;
  --blue: #4778ff;
  --gold: #e3b313;
  --navy: #071633;
  --radius: 24px;
  --max: 1480px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  letter-spacing: 0;
}

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

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue), transparent 35%);
  outline-offset: 5px;
}

.site-header {
  position: relative;
  z-index: 30;
  background: color-mix(in srgb, var(--paper), transparent 8%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 40%);
}

.nav {
  width: min(calc(100% - 56px), var(--max));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 112px;
  height: 56px;
  display: block;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.nav a {
  transition: transform 180ms ease;
}

.nav a:hover,
.nav button:hover {
  transform: translateY(-1px);
}

.auth-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.login-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(5, 5, 6, 0.08);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill,
.logout-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
}

.user-pill {
  max-width: min(34vw, 220px);
  padding: 0 18px;
  overflow: hidden;
  background: #101216;
  color: var(--paper);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill:disabled {
  cursor: default;
  opacity: 1;
  transform: none;
}

.logout-button {
  padding: 0 16px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: #444850;
}

.auth-dialog {
  width: min(calc(100% - 40px), 920px);
  max-height: min(820px, calc(100dvh - 40px));
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(5, 5, 6, 0.28);
}

.auth-dialog::backdrop {
  background: rgba(5, 5, 6, 0.34);
  backdrop-filter: blur(10px);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  min-height: 620px;
  background: var(--paper);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  padding: 34px;
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--navy);
  background-size: 56px 56px;
}

.auth-brand {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  font-weight: 950;
}

.auth-line {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 45%;
  height: 2px;
  background: rgba(251, 251, 247, 0.72);
}

.auth-line::before,
.auth-line::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 2px;
  height: 20px;
  background: currentColor;
  box-shadow:
    76px 0 0 currentColor,
    152px 0 0 currentColor,
    228px 0 0 currentColor;
}

.auth-line::before {
  left: 0;
}

.auth-line::after {
  right: 0;
  box-shadow: none;
}

.auth-mini-bars {
  position: absolute;
  left: 50px;
  top: 28%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 124px;
}

.auth-mini-bars span {
  width: 32px;
  border-radius: 8px 8px 2px 2px;
  background: var(--purple);
}

.auth-mini-bars span:nth-child(1) {
  height: 52%;
}

.auth-mini-bars span:nth-child(2) {
  height: 76%;
}

.auth-mini-bars span:nth-child(3) {
  height: 100%;
}

.auth-checklist {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  max-width: 260px;
}

.auth-checklist span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(251, 251, 247, 0.18);
  border-radius: 14px;
  background: rgba(251, 251, 247, 0.08);
  color: rgba(251, 251, 247, 0.86);
  font-weight: 850;
}

.auth-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.auth-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 900;
}

.auth-heading {
  max-width: 640px;
}

.auth-panel h2 {
  margin: 0;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.auth-heading p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #5f646d;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 30px 0 22px;
  padding: 7px;
  border-radius: 999px;
  background: #eeeeea;
}

.auth-tabs button,
.auth-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.auth-tabs button {
  min-height: 42px;
  border-radius: 999px;
  color: #5c6068;
  font-weight: 900;
}

.auth-tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(5, 5, 6, 0.08);
}

.auth-message {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #fff3f0;
  color: #a23224;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.auth-message.success {
  background: #e6f8ec;
  color: #166a34;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #41454d;
  font-size: 0.93rem;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0 15px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.auth-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(71, 120, 255, 0.12);
}

.auth-submit {
  min-height: 54px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #07130b;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 -6px 0 rgba(5, 5, 6, 0.12);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-switch,
.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.auth-switch button {
  color: var(--blue);
  font-weight: 950;
}

.auth-note {
  margin-top: 22px;
  text-align: left;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 78px);
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 10px 0 126px;
}

.hero-stage {
  position: absolute;
  inset: 0 0 124px;
  pointer-events: none;
}

.axis {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 2px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(251, 251, 247, 0.72) 22%, transparent 28%),
    var(--ink);
  background-size: 320px 100%, 100% 100%;
  opacity: 0.72;
  transform-origin: left center;
}

.axis::before,
.axis::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 2px;
  height: 22px;
  background: currentColor;
  box-shadow:
    170px 0 0 currentColor,
    340px 0 0 currentColor,
    510px 0 0 currentColor,
    680px 0 0 currentColor,
    850px 0 0 currentColor,
    1020px 0 0 currentColor;
}

.axis::before {
  left: 0;
}

.axis::after {
  right: 0;
  width: 0;
  height: 0;
  top: -8px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--ink);
  background: transparent;
  box-shadow: none;
}

.axis-top {
  top: 32%;
}

.axis-bottom {
  top: 57%;
}

.bars {
  position: absolute;
  top: 15%;
  left: 19%;
  height: 158px;
  display: flex;
  align-items: end;
  gap: 11px;
}

.bars span {
  position: relative;
  width: 34px;
  height: var(--h);
  overflow: hidden;
  border-radius: 8px 8px 2px 2px;
  background: var(--purple);
}

.bars span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 42%);
  opacity: 0;
}

.bars span:nth-child(4) {
  background: #eeeeea;
}

.score-badge {
  position: absolute;
  top: 14%;
  left: calc(19% + 82px);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--purple);
  color: #faf7ff;
  font-weight: 900;
  font-size: 1.05rem;
}

.score-badge::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid currentColor;
  border-radius: 12px;
  opacity: 0;
}

.logic-card {
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: 178px;
  margin: 0;
  padding: 2px 0 0 16px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  translate: 0 0.12rem;
}

.logic-card::before,
.logic-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -18px;
  width: 2px;
  border-radius: 999px;
  background: rgba(216, 220, 224, 0.7);
}

.logic-card::before {
  left: 0;
}

.logic-card::after {
  left: 9px;
  background: rgba(231, 234, 237, 0.74);
}

.logic-chip {
  position: relative;
  width: fit-content;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(216, 220, 224, 0.96);
  border-radius: 6px;
  background: rgba(251, 251, 247, 0.88);
  color: #5f86d9;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    0 1px 2px rgba(15, 25, 40, 0.06),
    0 2px 7px rgba(15, 25, 40, 0.07);
}

.logic-chip em {
  color: #8d67f3;
  font-style: normal;
}

.logic-word {
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(71, 120, 255, 0.1);
  color: #5f86d9;
}

.logic-icon {
  color: #5f86d9;
  font-size: 0.8em;
  line-height: 1;
}

.logic-caret {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #8ba3d8;
  translate: 0 1px;
}

.chip-loop {
  margin-left: 0;
}

.chip-if {
  margin-left: 14px;
}

.chip-keep {
  margin-left: 0;
}

.chip-else {
  margin-left: 3px;
}

.chip-bummer {
  margin-left: 22px;
}

.chip-loop em,
.chip-keep em,
.chip-bummer {
  color: #5f86d9;
}

.spark-path {
  position: absolute;
  top: 11%;
  right: 9%;
  width: 29%;
  min-width: 340px;
  color: var(--orange);
  overflow: visible;
}

.spark-line,
.wave-line {
  vector-effect: non-scaling-stroke;
}

.spark-nodes circle {
  filter: drop-shadow(0 0 10px rgba(255, 148, 31, 0.16));
}

.spark-dots circle,
.wave-node {
  transform-box: fill-box;
  transform-origin: center;
}

.wave-path {
  position: absolute;
  right: 5%;
  top: 42%;
  width: 19%;
  min-width: 220px;
  color: var(--blue);
  opacity: 0.72;
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  display: grid;
  gap: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 13.4rem;
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: 0;
}

.title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.title-line-top {
  transform: translateX(4.5%);
}

.title-line-bottom {
  gap: 36px;
  transform: translateX(-1%);
}

.subject-dock {
  position: sticky;
  top: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: blur(18px);
}

.subject-dock a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  color: #151515;
  font-size: 1.05rem;
  font-weight: 850;
  white-space: nowrap;
  transition: background 180ms ease;
}

.subject-dock a:hover {
  background: var(--paper-2);
}

.mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 8px;
  background: var(--blue);
  flex: 0 0 auto;
}

.math-mark {
  background: var(--blue);
  clip-path: polygon(0 42%, 42% 0, 100% 58%, 58% 100%);
}

.data-mark {
  background: linear-gradient(135deg, var(--orange) 0 50%, #8a4300 50%);
  clip-path: polygon(0 42%, 40% 42%, 40% 18%, 100% 18%, 100% 100%, 0 100%);
}

.cs-mark {
  background: var(--purple);
  clip-path: polygon(0 0, 100% 0, 72% 48%, 100% 100%, 0 100%, 28% 48%);
}

.ai-mark {
  background:
    radial-gradient(circle at 50% 18%, var(--purple) 0 18%, transparent 19%),
    radial-gradient(circle at 18% 62%, var(--purple) 0 18%, transparent 19%),
    radial-gradient(circle at 82% 62%, var(--purple) 0 18%, transparent 19%),
    linear-gradient(var(--purple), var(--purple));
  background-size: 100% 100%;
  border-radius: 8px;
}

.science-mark {
  background:
    radial-gradient(circle at 32% 36%, var(--gold) 0 32%, transparent 33%),
    radial-gradient(circle at 68% 36%, var(--gold) 0 32%, transparent 33%),
    radial-gradient(circle at 50% 72%, var(--gold) 0 32%, transparent 33%);
  border-radius: 50%;
}

.subject-sections {
  background: var(--paper);
}

.subject-panel {
  scroll-margin-top: 92px;
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 56px;
  padding: 90px max(28px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.subject-panel:nth-child(even) {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.subject-panel:nth-child(even) .subject-copy {
  order: 2;
}

.subject-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.subject-name {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 900;
}

.subject-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: clamp(3.4rem, 6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.subject-copy p:not(.subject-name) {
  margin: 24px 0 0;
  color: #363a42;
  font-size: 1.12rem;
  line-height: 1.72;
}

.subject-link {
  width: fit-content;
  min-height: 54px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: #07130b;
  font-weight: 950;
  box-shadow: inset 0 -6px 0 rgba(5, 5, 6, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.subject-link:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -6px 0 rgba(5, 5, 6, 0.12), 0 12px 26px rgba(20, 169, 70, 0.18);
}

.subject-link:active {
  transform: translateY(0);
}

.subject-visual {
  position: relative;
  min-height: 390px;
}

.chinese-panel {
  background: linear-gradient(100deg, #fbfbf7 0 48%, #fff7eb 48% 100%);
}

.manuscript-sheet {
  position: absolute;
  left: 2%;
  top: 20px;
  width: min(58%, 410px);
  height: 340px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 26px 34px;
  border: 2px solid #d9d0c2;
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), rgba(210, 184, 150, 0.42) calc(25% - 1px) 25%, transparent 25%),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(210, 184, 150, 0.42) calc(50% - 1px) 50%, transparent 50%),
    linear-gradient(90deg, transparent calc(75% - 1px), rgba(210, 184, 150, 0.42) calc(75% - 1px) 75%, transparent 75%),
    #fffdf7;
  box-shadow: 18px 18px 0 #efe3d0;
}

.manuscript-sheet span {
  display: block;
  writing-mode: vertical-rl;
  justify-self: center;
  color: #0b0b0b;
  font-family: "Songti SC", "SimSun", serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
}

.annotation-card {
  position: absolute;
  right: 4%;
  bottom: 30px;
  width: min(36%, 260px);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(184, 112, 22, 0.26);
  border-radius: 22px;
  background: rgba(251, 251, 247, 0.9);
  box-shadow: 0 24px 48px rgba(89, 56, 18, 0.14);
}

.annotation-card b {
  color: #7b3e00;
  font-size: 1.15rem;
}

.annotation-card i {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e2d5c3;
  border-radius: 999px;
  color: #7b3e00;
  font-style: normal;
  font-weight: 850;
}

.math-panel {
  background: linear-gradient(100deg, #f3f8ff 0 56%, #fbfbf7 56% 100%);
}

.math-visual svg {
  position: absolute;
  inset: 18px auto auto 2%;
  width: min(94%, 560px);
  height: auto;
  color: var(--blue);
}

.math-grid-line {
  stroke: #cfddec;
  stroke-width: 2;
}

.axis-line {
  stroke: #111318;
  stroke-width: 4;
  stroke-linecap: round;
}

.parabola-line {
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
}

.math-visual circle {
  fill: var(--blue);
  stroke: var(--paper);
  stroke-width: 8;
}

.formula-card {
  position: absolute;
  right: 8%;
  bottom: 34px;
  padding: 18px 24px;
  border: 2px solid rgba(71, 120, 255, 0.22);
  border-radius: 20px;
  background: rgba(251, 251, 247, 0.9);
  color: #1c4fbf;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(25, 73, 160, 0.14);
}

.english-panel {
  background: linear-gradient(110deg, #fbfbf7 0 42%, #f4efff 42% 100%);
}

.word-stack {
  position: absolute;
  left: 4%;
  top: 46px;
  display: grid;
  gap: 14px;
}

.word-stack span {
  width: 210px;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border: 2px solid rgba(155, 108, 255, 0.22);
  border-radius: 20px;
  background: #fff;
  color: #6e44df;
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 10px 10px 0 rgba(155, 108, 255, 0.1);
}

.word-stack span:nth-child(2) {
  margin-left: 74px;
}

.word-stack span:nth-child(3) {
  margin-left: 34px;
}

.word-stack span:nth-child(4) {
  margin-left: 108px;
}

.sentence-card {
  position: absolute;
  right: 5%;
  bottom: 42px;
  width: min(52%, 370px);
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 24px;
  background: #171a26;
  color: #f8f5ff;
  box-shadow: 0 24px 55px rgba(48, 38, 86, 0.18);
}

.sentence-card b {
  color: #bda7ff;
  font-size: 1.25rem;
}

.sentence-card span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.physics-panel {
  background: linear-gradient(100deg, #effcf6 0 52%, #fbfbf7 52% 100%);
}

.vector-board {
  position: absolute;
  left: 6%;
  top: 34px;
  width: min(72%, 500px);
  height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(70, 140, 105, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 140, 105, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
}

.mass-dot {
  position: absolute;
  left: 190px;
  top: 150px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e3b313;
  box-shadow: inset -10px -10px 0 rgba(5, 5, 6, 0.14);
}

.force {
  position: absolute;
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbfbf7;
  color: #0d4f33;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(19, 82, 55, 0.14);
}

.force::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 19px;
  width: 126px;
  height: 4px;
  border-radius: 999px;
  background: #0d4f33;
}

.force::after {
  content: "";
  position: absolute;
  left: -128px;
  top: 13px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 14px solid #0d4f33;
}

.force-a {
  left: 308px;
  top: 72px;
}

.force-b {
  left: 338px;
  top: 188px;
  color: #315fff;
}

.force-b::before {
  width: 154px;
  left: -148px;
  background: #315fff;
  transform: rotate(24deg);
  transform-origin: right center;
}

.force-b::after {
  left: -154px;
  top: -19px;
  border-right-color: #315fff;
  transform: rotate(24deg);
}

.force-c {
  left: 168px;
  top: 246px;
  color: #e36f00;
}

.force-c::before {
  left: 20px;
  top: -92px;
  width: 4px;
  height: 104px;
  background: #e36f00;
}

.force-c::after {
  left: 14px;
  top: -102px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #e36f00;
  border-top: 0;
}

.wave-board {
  position: absolute;
  right: 4%;
  bottom: 20px;
  width: min(45%, 300px);
  height: 150px;
}

.wave-board span {
  position: absolute;
  inset: 0;
  border-bottom: 5px solid #315fff;
  border-radius: 50%;
  transform: skewX(-20deg);
}

.chemistry-panel {
  background: linear-gradient(110deg, #fbfbf7 0 40%, #edf8f1 40% 100%);
}

.element-grid {
  width: min(100%, 640px);
  display: grid;
  grid-template-columns: repeat(6, minmax(68px, 1fr));
  gap: 10px;
}

.chemistry-visual {
  display: grid;
  place-items: center;
}

.element-tile {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 10px;
  border: 1px solid rgba(5, 5, 6, 0.14);
  border-radius: 16px;
  color: #101216;
  box-shadow: 8px 8px 0 rgba(5, 5, 6, 0.06);
}

.element-tile small {
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0.66;
}

.element-tile b {
  align-self: center;
  justify-self: center;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}

.element-tile i {
  overflow: hidden;
  color: rgba(16, 18, 22, 0.68);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-green {
  background: #dff8e7;
}

.tile-gold {
  background: #fff0b5;
}

.tile-purple {
  background: #ede4ff;
}

.tile-blue {
  background: #e5eeff;
}

.tile-orange {
  background: #ffe4c2;
}

.feature {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 58px;
  padding: 82px max(28px, calc((100vw - 1180px) / 2));
}

.feature-copy {
  max-width: 520px;
}

.feature-copy h2,
.section-copy h2,
.paths h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.feature-copy p,
.section-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.concept-feature {
  background: linear-gradient(90deg, #fbfbf7, #f8faf2);
}

.feature-art svg,
.orbit-art svg,
.path-preview svg {
  width: 100%;
  height: auto;
  display: block;
}

.protractor {
  margin-left: max(-28px, calc((1180px - 100vw) / 2));
}

.level-feature {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  background: linear-gradient(110deg, #fbfbf7 0 45%, #f4edff 45% 100%);
}

.level-cards {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-content: center;
}

.level-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fcfcfb;
  box-shadow: 0 12px 0 #eee8ff;
}

.level-card.active {
  transform: translateY(-28px);
  border-color: var(--purple);
  box-shadow: 0 14px 0 color-mix(in srgb, var(--purple), transparent 70%);
}

.level-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8ddff;
  color: #6f46e8;
  font-weight: 950;
}

.level-card strong {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.level-card p {
  margin: 0;
  color: var(--muted);
}

.motivation-feature {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  background: #fbfff1;
}

.streak-art {
  position: relative;
  min-height: 300px;
}

.streak-art span {
  position: absolute;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d6ff29;
  color: #151515;
  font-weight: 950;
  box-shadow: 0 10px 0 #badf18;
}

.streak-art span::before {
  content: "";
  width: 28px;
  height: 46px;
  background: #151515;
  clip-path: polygon(58% 0, 22% 45%, 48% 45%, 34% 100%, 82% 34%, 56% 34%);
}

.streak-art span:nth-child(1) {
  left: 4%;
  top: 68px;
}

.streak-art span:nth-child(2) {
  left: 23%;
  top: 22px;
}

.streak-art span:nth-child(3) {
  left: 44%;
  top: 58px;
  background: #fbfbf7;
  color: #9fa2a6;
  box-shadow: inset 0 0 0 5px #d5d7da;
}

.streak-art span::after {
  content: attr(data-day);
}

.streak-art div {
  position: absolute;
  left: 30%;
  top: 170px;
  padding: 18px 24px;
  border-radius: 16px;
  background: var(--paper);
  color: #1b1d22;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(18, 28, 18, 0.12);
  transform: rotate(4deg);
}

.fun-feature {
  background: #effff8;
}

.tool-launch,
.paths,
.site-footer {
  width: min(calc(100% - 56px), 1180px);
  margin: 0 auto;
}

.tool-launch {
  padding: 110px 0 96px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: stretch;
}

.section-copy {
  align-self: center;
}

.periodic-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 42px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 20%, rgba(39, 207, 95, 0.28), transparent 11rem),
    linear-gradient(135deg, #f4efff, #fbfbf7 58%);
  box-shadow: 0 18px 0 #ededdf;
}

.periodic-panel strong {
  max-width: 660px;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.periodic-panel span {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 750;
}

.panel-kicker {
  color: #6a50c8 !important;
}

.panel-action {
  width: fit-content;
  color: var(--green-dark) !important;
  font-weight: 950 !important;
}

.mini-table {
  position: absolute;
  top: 34px;
  right: 32px;
  width: min(42%, 360px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.mini-table i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(5, 5, 6, 0.15);
  border-radius: 10px;
  background: rgba(251, 251, 247, 0.76);
  color: var(--ink);
  font-style: normal;
  font-weight: 950;
}

.mini-table i:nth-child(3n) {
  background: #dff7e7;
}

.mini-table i:nth-child(4n) {
  background: #e8ddff;
}

.paths {
  padding: 88px 0 104px;
  text-align: center;
}

.path-tabs {
  width: fit-content;
  margin: 28px auto 34px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #f0f0ea;
}

.path-tabs span {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 850;
}

.path-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  text-align: left;
}

.path-menu {
  display: grid;
  gap: 12px;
}

.path-menu a {
  padding: 12px 0;
  color: #30343c;
  font-weight: 850;
}

.path-preview {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #f6f6f1;
}

.path-preview svg {
  max-width: 560px;
}

.path-preview span {
  margin-top: -72px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e8efff;
  color: var(--blue);
  font-weight: 950;
}

.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 750;
}

@media (prefers-reduced-motion: no-preference) {
  .bars span,
  .score-badge,
  .logic-card,
  .wave-path,
  .hero-copy,
  .feature-art,
  .level-card,
  .streak-art,
  .orbit-art,
  .periodic-panel,
  .path-preview,
  .subject-copy,
  .subject-visual {
    animation: rise 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .bars span:nth-child(2),
  .score-badge {
    animation-delay: 90ms;
  }

  .logic-card,
  .wave-path,
  .periodic-panel,
  .subject-visual {
    animation-delay: 160ms;
  }

  .level-card:nth-child(2),
  .path-preview {
    animation-delay: 120ms;
  }

  .level-card:nth-child(3) {
    animation-delay: 180ms;
  }

  .axis {
    animation:
      axis-arrive 900ms cubic-bezier(0.16, 1, 0.3, 1) both,
      axis-glide 7.5s linear 1.1s infinite;
  }

  .axis-bottom {
    animation-delay: 90ms, 1.3s;
  }

  .bars span::after {
    animation: bar-light 4.6s ease-in-out infinite;
  }

  .bars span:nth-child(2)::after {
    animation-delay: 0.55s;
  }

  .bars span:nth-child(3)::after {
    animation-delay: 1.1s;
  }

  .bars span:nth-child(4)::after {
    animation-delay: 1.65s;
  }

  .score-badge::after {
    animation: soft-pulse 3.2s ease-out 900ms infinite;
  }

  .spark-line {
    animation: line-flow 4.8s ease-in-out 1.5s infinite;
  }

  .spark-dots circle {
    animation: spark-breathe 4.8s ease-in-out infinite;
  }

  .spark-dots circle:nth-child(3n) {
    animation-delay: 0.45s;
  }

  .spark-dots circle:nth-child(3n + 1) {
    animation-delay: 0.9s;
  }

  .wave-line {
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation:
      line-draw 1200ms cubic-bezier(0.16, 1, 0.3, 1) 420ms forwards,
      wave-current 4.8s ease-in-out 1.7s infinite;
  }

  .wave-guide {
    animation: guide-breathe 3.8s ease-in-out 1.4s infinite;
  }

  .wave-node {
    animation: wave-node 4.8s ease-in-out 1.2s infinite;
  }

  .logic-chip {
    opacity: 0;
    animation: chip-enter 560ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .logic-chip:nth-child(1) {
    animation-delay: 240ms;
  }

  .logic-chip:nth-child(2) {
    animation-delay: 330ms;
  }

  .logic-chip:nth-child(3) {
    animation-delay: 420ms;
  }

  .logic-chip:nth-child(4) {
    animation-delay: 510ms;
  }

  .logic-chip:nth-child(5) {
    animation-delay: 600ms;
  }

  .logic-card::before {
    animation: logic-line 4.6s ease-in-out 1.2s infinite;
  }

  .logic-card::after {
    animation: logic-line 4.6s ease-in-out 1.55s infinite;
  }
}

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

@keyframes axis-arrive {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.72;
  }
}

@keyframes axis-glide {
  from {
    background-position: -320px 0, 0 0;
  }
  to {
    background-position: 320px 0, 0 0;
  }
}

@keyframes bar-light {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: translateY(70%);
  }
  18% {
    opacity: 0.36;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0% {
    opacity: 0.28;
    transform: scale(0.96);
  }
  74%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes line-flow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 148, 31, 0));
  }
  48% {
    filter: drop-shadow(0 0 10px rgba(255, 148, 31, 0.22));
  }
}

@keyframes spark-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes wave-current {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(71, 120, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(71, 120, 255, 0.24));
  }
}

@keyframes guide-breathe {
  0%,
  100% {
    opacity: 0.74;
  }
  50% {
    opacity: 0.36;
  }
}

@keyframes wave-node {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(71, 120, 255, 0));
  }
  50% {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 0 14px rgba(71, 120, 255, 0.3));
  }
}

@keyframes chip-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logic-line {
  0%,
  100% {
    opacity: 0.46;
  }
  50% {
    opacity: 0.92;
  }
}

@media (max-width: 1080px) {
  .hero-copy h1 {
    font-size: 8.8rem;
  }

  .title-line-bottom {
    gap: 26px;
  }

  .logic-card {
    width: 158px;
    gap: 5px;
    padding-left: 14px;
  }

  .logic-chip {
    min-height: 26px;
    padding: 4px 8px;
    gap: 4px;
    font-size: 0.84rem;
  }

  .subject-dock a {
    gap: 8px;
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .axis::before {
    box-shadow:
      120px 0 0 currentColor,
      240px 0 0 currentColor,
      360px 0 0 currentColor,
      480px 0 0 currentColor,
      600px 0 0 currentColor;
  }

  .tool-launch,
  .path-layout {
    grid-template-columns: 1fr;
  }

  .subject-panel {
    gap: 34px;
    padding-right: max(28px, calc((100vw - 1180px) / 2));
    padding-left: max(28px, calc((100vw - 1180px) / 2));
  }

  .feature,
  .level-feature,
  .motivation-feature {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .subject-panel,
  .subject-panel:nth-child(even) {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .subject-panel:nth-child(even) .subject-copy {
    order: 0;
  }

  .subject-copy {
    max-width: 680px;
  }

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

@media (max-width: 780px) {
  :root {
    --header-height: 66px;
  }

  .nav,
  .hero,
  .tool-launch,
  .paths,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: var(--header-height);
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .brand {
    width: 88px;
    height: 44px;
  }

  .login-link {
    min-height: 40px;
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .user-menu {
    gap: 6px;
  }

  .user-pill,
  .logout-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .logout-button {
    padding: 0 10px;
  }

  .auth-dialog {
    width: min(calc(100% - 22px), 460px);
    max-height: calc(100dvh - 22px);
    border-radius: 24px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-visual {
    min-height: 168px;
    padding: 22px;
  }

  .auth-line {
    left: 24px;
    right: 24px;
    top: 58%;
  }

  .auth-mini-bars {
    left: 28px;
    top: 34%;
    height: 78px;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .auth-checklist {
    justify-self: end;
    align-self: end;
    width: 164px;
    gap: 7px;
  }

  .auth-checklist span {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .auth-panel {
    padding: 34px 20px 24px;
  }

  .auth-close {
    top: 14px;
    right: 14px;
  }

  .auth-panel h2 {
    font-size: 2.5rem;
    line-height: 1;
  }

  .auth-heading p {
    margin-top: 10px;
    font-size: 0.92rem;
  }

  .auth-tabs {
    margin-top: 24px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 42px;
  }

  .hero-stage {
    inset: 0 0 70px;
    opacity: 0.7;
  }

  .axis {
    left: 0;
    right: 0;
  }

  .axis::before {
    box-shadow:
      72px 0 0 currentColor,
      144px 0 0 currentColor,
      216px 0 0 currentColor,
      288px 0 0 currentColor;
  }

  .axis-top {
    top: 27%;
  }

  .axis-bottom {
    top: 49%;
  }

  .bars {
    top: 6%;
    left: 4%;
    height: 115px;
    transform: scale(0.82);
    transform-origin: left bottom;
  }

  .score-badge {
    top: 5%;
    left: 24%;
    font-size: 0.82rem;
  }

  .spark-path {
    top: 10%;
    right: 0;
    min-width: 200px;
  }

  .wave-path {
    top: 39%;
    right: 0;
    min-width: 150px;
  }

  .hero-copy h1 {
    font-size: 3.7rem;
    line-height: 0.82;
  }

  .title-line-top,
  .title-line-bottom {
    transform: none;
  }

  .title-line-bottom {
    gap: 10px;
  }

  .logic-card {
    width: 108px;
    gap: 3px;
    padding: 0 0 0 8px;
    translate: 0 0.08rem;
  }

  .logic-card::before,
  .logic-card::after {
    bottom: -8px;
    width: 1px;
  }

  .logic-card::after {
    left: 5px;
  }

  .logic-chip {
    min-height: 18px;
    padding: 2px 4px;
    gap: 2px;
    border-radius: 4px;
    font-size: 0.52rem;
  }

  .logic-word {
    padding: 1px 2px;
    border-radius: 3px;
  }

  .logic-caret {
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-width: 3px;
  }

  .chip-if {
    margin-left: 8px;
  }

  .chip-else {
    margin-left: 2px;
  }

  .chip-bummer {
    margin-left: 12px;
  }

  .subject-dock {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .subject-dock a {
    justify-content: flex-start;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .level-cards {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
    padding: 64px 14px;
    gap: 28px;
  }

  .feature-copy {
    max-width: none;
  }

  .feature-copy h2,
  .section-copy h2,
  .paths h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .protractor {
    margin-left: 0;
  }

  .level-feature {
    background: var(--paper);
  }

  .level-card.active {
    transform: none;
  }

  .tool-launch {
    padding: 66px 0 54px;
    grid-template-columns: 1fr;
  }

  .periodic-panel {
    min-height: 430px;
    padding: 28px;
  }

  .mini-table {
    top: 24px;
    right: 20px;
    width: 54%;
    gap: 6px;
  }

  .path-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .path-preview {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .subject-panel {
    padding: 60px 14px;
    gap: 24px;
  }

  .subject-copy h2 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .subject-copy p:not(.subject-name) {
    font-size: 1rem;
  }

  .subject-visual {
    min-height: 320px;
  }

  .manuscript-sheet {
    left: 0;
    width: 62%;
    height: 286px;
    padding: 20px;
    box-shadow: 10px 10px 0 #efe3d0;
  }

  .annotation-card {
    right: 0;
    bottom: 18px;
    width: 44%;
    padding: 16px;
  }

  .math-visual svg {
    left: -8%;
    width: 112%;
  }

  .formula-card {
    right: 0;
    bottom: 22px;
    max-width: 92%;
  }

  .word-stack {
    left: 0;
    top: 18px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .word-stack span,
  .word-stack span:nth-child(2),
  .word-stack span:nth-child(3),
  .word-stack span:nth-child(4) {
    width: auto;
    min-height: 54px;
    margin-left: 0;
    padding: 0 16px;
    font-size: 1.15rem;
  }

  .sentence-card {
    right: 0;
    bottom: 18px;
    width: 72%;
    padding: 18px;
  }

  .vector-board {
    left: 0;
    width: 100%;
    height: 270px;
  }

  .mass-dot {
    left: 118px;
    top: 126px;
  }

  .force-a {
    left: 226px;
  }

  .force-b {
    left: 230px;
    top: 174px;
  }

  .force-c {
    left: 96px;
    top: 218px;
  }

  .wave-board {
    right: 0;
    bottom: 0;
    width: 44%;
  }

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

  .element-tile {
    border-radius: 12px;
    padding: 8px;
  }
}
