:root {
  color-scheme: dark;
  --bg: #070911;
  --surface: #111724;
  --surface-2: #182238;
  --ink: #f8fff2;
  --muted: #9aac9d;
  --line: #263246;
  --navy: #12364a;
  --green: #58cc02;
  --green-dark: #43a302;
  --blue: #1cb0f6;
  --blue-dark: #1188c4;
  --yellow: #ffc800;
  --yellow-soft: #fff4bf;
  --coral: #ff8c2b;
  --pink: #ff5d8f;
  --red: #e04444;
  --shadow: 0 8px 0 #03050b, 0 16px 28px rgba(0, 0, 0, 0.38);
  --shadow-blue: 0 8px 0 #052334, 0 16px 28px rgba(0, 0, 0, 0.3);
  --shadow-yellow: 0 8px 0 #4c3900, 0 16px 28px rgba(0, 0, 0, 0.28);
  --button-shadow: 0 6px 0 var(--green-dark);
  --radius: 8px;
  --nav-h: 76px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% -10%, rgba(88, 204, 2, 0.18), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(28, 176, 246, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #070911 0%, #0d1322 46%, #101827 100%);
  background-size: 30px 30px, 30px 30px, auto;
  color: var(--ink);
  overflow-x: hidden;
}

html[data-skin="neon"] {
  --green: #9dff2f;
  --blue: #00d5ff;
  --yellow: #ffe45c;
  --pink: #ff4fd8;
}

html[data-skin="moon"] {
  --green: #9ee7ff;
  --blue: #8f8cff;
  --yellow: #e8dcff;
  --pink: #cf9fff;
}

html[data-skin="dacha"] {
  --green: #4ade80;
  --blue: #38bdf8;
  --yellow: #fde68a;
  --pink: #fb7185;
}

html[data-skin="boss"] {
  --green: #ffdf3d;
  --blue: #ff7a1a;
  --yellow: #fff166;
  --pink: #ff3d71;
}

html[data-skin="bubble"] {
  --green: #67e8f9;
  --blue: #a78bfa;
  --yellow: #f9a8d4;
  --pink: #fb7185;
}

button,
input {
  font: inherit;
}

button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.app-shell {
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 58px rgba(28, 176, 246, 0.14);
}

.app {
  min-height: 100vh;
  padding: 14px 14px calc(var(--nav-h) + var(--safe-bottom) + 34px);
}

.screen {
  display: grid;
  gap: 12px;
  animation: rise 240ms ease both;
  min-width: 0;
}

.screen > * {
  min-width: 0;
  max-width: 100%;
}

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

@keyframes softFloat {
  0%,
  100% {
    transform: scale(1.02) translateY(0);
  }
  50% {
    transform: scale(1.04) translateY(-5px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 6px 0 var(--green-dark), 0 0 0 rgba(88, 204, 2, 0);
  }
  50% {
    box-shadow: 0 6px 0 var(--green-dark), 0 0 24px rgba(88, 204, 2, 0.38);
  }
}

@keyframes sparklePulse {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }
  45% {
    transform: rotate(5deg) scale(1.16);
  }
}

@keyframes progressFlow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 42px 0;
  }
}

@keyframes rippleOut {
  from {
    opacity: 0.28;
    transform: scale(0);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes popPress {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes successLift {
  0% {
    filter: saturate(1);
    transform: translateY(0);
  }
  42% {
    filter: saturate(1.18) brightness(1.03);
    transform: translateY(-5px);
  }
  100% {
    filter: saturate(1);
    transform: translateY(0);
  }
}

@keyframes shakeNo {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes sparkFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.08);
  }
}

@keyframes coinVaultPulse {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  48% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

@keyframes navIconPop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.1);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 18px;
  border-radius: 18px;
  background: #8eea52;
  color: #173313;
  box-shadow: 0 9px 0 #42a602, 0 18px 30px rgba(37, 82, 24, 0.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 2;
  max-width: 244px;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
  filter: saturate(1.05);
  animation: softFloat 7s ease-in-out infinite;
}

.hero-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 255, 231, 0.98) 0%, rgba(238, 255, 231, 0.88) 38%, rgba(238, 255, 231, 0.12) 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(23, 51, 19, 0.16));
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #21531a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker.dark {
  background: rgba(23, 51, 19, 0.9);
  color: #ffffff;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 42%),
    linear-gradient(145deg, #8bec42, var(--green));
  border: 2px solid #173313;
  color: #173313;
  box-shadow: 0 5px 0 var(--green-dark), 0 10px 18px rgba(31, 43, 28, 0.16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: var(--blue);
  border: 2px solid #173313;
  box-shadow: 0 3px 0 var(--blue-dark);
}

.brand-mark-star {
  position: absolute;
  left: -6px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: var(--yellow);
  color: #372800;
  border: 2px solid #173313;
  font-size: 10px;
  line-height: 1;
  transform: rotate(-8deg);
  animation: sparklePulse 2.8s ease-in-out infinite;
}

.brand-mark-letters {
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}

.hero-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.hero-brand-mark .brand-mark-letters {
  font-size: 18px;
}

.mini-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 3px 0 var(--green-dark);
}

.mini-logo::after,
.mini-logo .brand-mark-star {
  display: none;
}

.mini-logo .brand-mark-letters {
  font-size: 10px;
}

.brand {
  margin: 14px 0 8px;
  color: #10240e;
  font-size: clamp(36px, 11vw, 54px);
  line-height: 0.92;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero-text {
  max-width: 20ch;
  margin: 0;
  color: #173313;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
}

.hero-sound {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: #173313;
  border: 2px solid rgba(23, 51, 19, 0.12);
  box-shadow: 0 5px 0 rgba(23, 51, 19, 0.18);
  font-weight: 1000;
}

.mascot {
  position: absolute;
  right: 8px;
  bottom: 12px;
  width: 106px;
  height: 106px;
  border-radius: 38% 62% 48% 52%;
  background: #eefee8;
  border: 4px solid #173313;
  box-shadow: inset -9px -10px 0 rgba(88, 204, 2, 0.28), 0 10px 0 rgba(23, 51, 19, 0.16);
  transform: rotate(-6deg);
}

.mascot::before,
.mascot::after {
  content: "";
  position: absolute;
  top: 31px;
  width: 18px;
  height: 24px;
  border-radius: 50%;
  background: #173313;
}

.mascot::before {
  left: 28px;
}

.mascot::after {
  right: 28px;
}

.mascot-mouth {
  position: absolute;
  left: 33px;
  top: 67px;
  width: 38px;
  height: 16px;
  border-bottom: 7px solid #173313;
  border-radius: 0 0 50px 50px;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.role-card,
.mission-card,
.panel,
.beta-card,
.team-card,
.creator-hero,
.book-card,
.shop-item {
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.role-card,
.mission-card,
.panel,
.beta-card,
.team-card,
.creator-hero,
.tester-card,
.pilot-card,
.anti-boring-card,
.book-card,
.shop-item,
.feed-item,
.grandma-step,
.ritual-steps div,
.unlock-tile,
.leader,
.podium-card,
.rail-node,
.map-node,
.reward-room,
.league-hero,
.knowledge-hero,
.money-course-card,
.progress-praise-card,
.skill-article,
.quiz-option,
.file-label {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    filter 160ms ease,
    background-color 160ms ease;
}

.role-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  text-align: left;
}

.role-card:active,
.big-action:active,
.secondary-action:active,
.tiny-action:active,
.nav-btn:active,
.choice:active,
.tester-vote:active,
.quiz-option:active,
.map-node:active,
.push-btn:active,
.shop-item:active,
.link-pill:active {
  transform: translateY(2px);
  box-shadow: none;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid #1cb0f6;
  outline-offset: 3px;
}

.role-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green);
  color: #173313;
  font-size: 24px;
  font-weight: 1000;
  box-shadow: 0 4px 0 var(--green-dark);
}

.role-icon.mini {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 17px;
}

.role-title {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: 950;
}

.role-copy {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

.arrow {
  color: var(--blue-dark);
  font-size: 28px;
  font-weight: 1000;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.brand-lockup {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.title-stack h1 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: 0;
}

.title-stack p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.top-actions {
  display: inline-flex;
  gap: 8px;
}

.avatar,
.sound-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 1000;
}

.avatar {
  background: var(--green);
  color: #173313;
  box-shadow: 0 5px 0 var(--green-dark);
}

.sound-btn {
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
  font-size: 18px;
}

.sound-btn svg,
.nav-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-btn.is-on {
  background: #e7f8ff;
  border-color: #8fd9f7;
  box-shadow: 0 5px 0 #9bd6ef;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat {
  min-height: 68px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 1000;
}

.play-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 20px;
  border: 2px solid #9bd6ef;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    #dff7ff;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-blue);
}

.play-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 66%;
  object-fit: cover;
  object-position: 64% 38%;
  animation: softFloat 7s ease-in-out infinite;
}

.play-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 255, 241, 0.14) 0%, rgba(246, 255, 241, 0.05) 42%, rgba(246, 255, 241, 0.92) 72%, #f6fff1 100%),
    linear-gradient(90deg, rgba(246, 255, 241, 0.52) 0%, rgba(246, 255, 241, 0.12) 52%, rgba(246, 255, 241, 0.04) 100%);
}

.play-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 390px;
  padding: 16px;
  max-width: none;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.quest-logo-chip,
.hero-level-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(23, 51, 19, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #173313;
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 5px 0 rgba(23, 51, 19, 0.13);
}

.quest-logo-chip {
  gap: 7px;
}

.hero-level-chip {
  background: #173313;
  color: #ffffff;
}

.hero-mission-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 248, 215, 0.96);
  border: 2px solid #ebcf55;
  box-shadow: var(--shadow-yellow);
}

.play-hero h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 0.98;
  font-weight: 1000;
}

.play-hero p {
  margin: 0;
  color: #3e4d39;
  font-weight: 850;
  line-height: 1.28;
}

.level-strip {
  display: grid;
  gap: 7px;
  padding: 9px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid rgba(75, 58, 0, 0.12);
}

.level-strip div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.level-strip strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 1000;
}

.level-strip span {
  color: #6a580d;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.level-strip i {
  display: block;
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #f1ead2;
  border: 2px solid rgba(75, 58, 0, 0.12);
}

.level-strip b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0.38) 75%, transparent 75%),
    linear-gradient(90deg, var(--green), var(--blue));
  background-size: 42px 100%, 100% 100%;
  animation: progressFlow 1.6s linear infinite;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(31, 43, 28, 0.1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.hero-stats strong {
  font-size: 15px;
}

.hero-duel-strip {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  justify-items: start;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(167, 255, 56, 0.18), rgba(46, 232, 255, 0.12)),
    rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(167, 255, 56, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-duel-strip span {
  color: var(--green);
  font-size: 10px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero-duel-strip strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 1000;
}

.hero-duel-strip small {
  color: rgba(247, 248, 238, 0.72);
  font-size: 11px;
  line-height: 1.16;
  font-weight: 850;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
}

.hero-main-action {
  margin-top: 0;
}

.mini-chip {
  min-height: 52px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #ffffff;
  color: #075b85;
  border: 2px solid #b9e8fb;
  box-shadow: 0 5px 0 #9bd6ef;
  font-weight: 1000;
  white-space: nowrap;
}

.mini-chip.wide {
  width: 100%;
  white-space: normal;
}

.mini-chip.danger {
  background: #fff8d7;
  color: #4b3a00;
  border-color: #ebcf55;
  box-shadow: 0 5px 0 #d5bd4d;
}

.quest-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.quest-rail::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 28px;
  height: 8px;
  border-radius: 999px;
  background: #dce8d4;
  box-shadow: inset 0 0 0 2px rgba(31, 43, 28, 0.05);
}

.rail-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 68px;
  padding: 8px 5px;
  border-radius: 10px;
  background: #ffffff;
  border: 2px solid var(--line);
  color: var(--muted);
  box-shadow: 0 4px 0 #dce8d4;
}

.rail-node span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf3e8;
  color: var(--muted);
  font-weight: 1000;
}

.rail-node small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.rail-node.current {
  border-color: var(--green);
  background: #ecffe3;
  color: #173313;
  box-shadow: 0 5px 0 var(--green-dark), 0 0 0 4px rgba(88, 204, 2, 0.12);
}

.rail-node.current span,
.rail-node.done span {
  background: var(--green);
  color: #173313;
}

.rail-node.done {
  border-color: #b7e49d;
  color: #24551b;
}

.duel-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: #ecffe3;
  border: 2px solid var(--green);
  box-shadow: 0 7px 0 #b7e49d, 0 16px 28px rgba(50, 69, 42, 0.1);
}

.duel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.duel-head strong {
  color: #173313;
  font-size: 15px;
  font-weight: 1000;
}

.duel-bars {
  display: grid;
  gap: 8px;
}

.duel-bars div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.duel-bars span {
  color: #2d4f26;
  font-size: 13px;
  font-weight: 950;
}

.duel-bars i {
  display: block;
  overflow: hidden;
  height: 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #b7e49d;
}

.duel-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #b8ff5d);
}

.feed-card,
.support-card,
.tomorrow-card,
.ritual-card,
.adult-command,
.simple-command,
.tester-card,
.pilot-card,
.anti-boring-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.tester-card {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    #ecffe3;
  background-size: 24px 24px, 24px 24px, auto;
  border-color: var(--green);
  box-shadow: 0 7px 0 #b7e49d, 0 16px 28px rgba(50, 69, 42, 0.1);
}

.tester-card::after {
  content: "TEST";
  position: absolute;
  right: 8px;
  top: -10px;
  padding: 7px 20px;
  background: #173313;
  color: #ffffff;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0;
  transform: rotate(8deg);
}

.tester-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tester-head strong {
  color: #173313;
  font-size: 14px;
  font-weight: 1000;
}

.tester-card h2,
.pilot-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.05;
  font-weight: 1000;
}

.tester-card p,
.pilot-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #354330;
  line-height: 1.38;
  font-weight: 760;
}

.tester-vote-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.tester-vote {
  display: grid;
  gap: 2px;
  min-height: 68px;
  padding: 9px 6px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  border: 2px solid #b7e49d;
  box-shadow: 0 4px 0 #b7e49d;
  text-align: center;
}

.tester-vote strong,
.tester-vote span {
  display: block;
}

.tester-vote strong {
  font-size: 14px;
  line-height: 1.05;
  font-weight: 1000;
}

.tester-vote span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
}

.tester-vote.is-selected {
  background: #173313;
  color: #ffffff;
  border-color: #173313;
  box-shadow: 0 4px 0 rgba(23, 51, 19, 0.35);
}

.tester-vote.is-selected span {
  color: #d8ffbf;
}

.pilot-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 42%),
    #f0fbff;
  border-color: #b9e8fb;
  box-shadow: var(--shadow-blue);
}

.anti-boring-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 42%),
    #ecffe3;
  border-color: #b7e49d;
}

.anti-boring-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.06;
  font-weight: 1000;
}

.anti-boring-card p {
  margin: 0;
  color: #354330;
  line-height: 1.4;
  font-weight: 760;
}

.pilot-copy {
  display: grid;
  gap: 7px;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.week-strip span {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 3px;
  border-radius: 10px;
  background: #ffffff;
  border: 2px solid #dce8d4;
  box-shadow: 0 4px 0 #dce8d4;
}

.week-strip span.current {
  border-color: var(--green);
  background: #ecffe3;
  box-shadow: 0 4px 0 var(--green-dark);
}

.week-strip span.done {
  border-color: #b9e8fb;
  background: #e7f8ff;
  box-shadow: 0 4px 0 #9bd6ef;
}

.week-strip b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--yellow);
  color: #372800;
  box-shadow: 0 2px 0 #d5a900;
  font-size: 13px;
  font-weight: 1000;
}

.week-strip small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.feed-list {
  display: grid;
  gap: 8px;
}

.feed-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 10px;
  background: #f8fbf5;
  border: 2px solid #edf3e8;
}

.feed-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ecffe3;
  color: #173313;
  font-weight: 1000;
  box-shadow: 0 3px 0 #b7e49d;
}

.feed-item strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.feed-item small,
.feed-empty {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 750;
}

.export-box {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #fff8d7;
  border: 2px solid #ebcf55;
}

.export-box strong {
  color: #2f2400;
  font-weight: 1000;
}

.export-box p {
  margin: 0;
  color: #4b3a00;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
}

.export-box textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 8px;
  border-radius: 8px;
  border: 2px solid rgba(75, 58, 0, 0.18);
  background: #ffffff;
  color: #2f2400;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.support-card {
  background: #f0fbff;
  border-color: #b9e8fb;
}

.support-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 1000;
}

.support-card p {
  margin: 0;
  color: #45533f;
  line-height: 1.42;
  font-weight: 700;
}

.dad-mode {
  background: #fff8d7;
  border-color: #ebcf55;
}

.mom-mode {
  background: #f0fbff;
  border-color: #b9e8fb;
}

.uncle-mode {
  background: #eef3ff;
  border-color: #b7c7ff;
}

.adult-command,
.simple-command {
  overflow: hidden;
  position: relative;
  padding: 16px;
}

.adult-command::after,
.simple-command::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -34px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 2px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 2px, transparent 2px),
    rgba(255, 255, 255, 0.35);
  background-size: 18px 18px, 18px 18px, auto;
  transform: rotate(14deg);
}

.dad-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 42%),
    #fff8d7;
  border-color: #ebcf55;
  box-shadow: var(--shadow-yellow);
}

.mom-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 42%),
    #f0fbff;
  border-color: #b9e8fb;
  box-shadow: var(--shadow-blue);
}

.uncle-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 42%),
    #eef3ff;
  border-color: #b7c7ff;
  box-shadow: var(--shadow-blue);
}

.grandma-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 40%),
    #ecffe3;
  border-color: #b7e49d;
}

.nadya-command {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 40%),
    #f0fbff;
  border-color: #b9e8fb;
}

.command-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.adult-command h2,
.simple-command h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.02;
  font-weight: 1000;
}

.adult-command p,
.simple-command p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #3e4d39;
  line-height: 1.4;
  font-weight: 760;
}

.command-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.command-stat-grid div {
  min-height: 66px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(31, 43, 28, 0.08);
  box-shadow: 0 4px 0 rgba(31, 43, 28, 0.1);
}

.command-stat-grid span,
.command-stat-grid strong {
  display: block;
}

.command-stat-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-stat-grid strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.05;
  font-weight: 1000;
}

.adult-command .push-grid,
.simple-command .big-action {
  position: relative;
  z-index: 1;
}

.tomorrow-card {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    #fff8d7;
  background-size: 24px 24px, 24px 24px, auto;
  border-color: #ebcf55;
}

.tomorrow-main {
  display: grid;
  gap: 6px;
}

.tomorrow-main h2,
.ritual-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 1000;
}

.tomorrow-main p,
.ritual-card p {
  margin: 0;
  color: #45533f;
  line-height: 1.38;
  font-weight: 700;
}

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

.unlock-tile {
  min-height: 62px;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid rgba(75, 58, 0, 0.14);
  box-shadow: 0 4px 0 rgba(75, 58, 0, 0.12);
}

.unlock-tile span,
.unlock-tile strong {
  display: block;
}

.unlock-tile span {
  color: #6a580d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.unlock-tile strong {
  margin-top: 3px;
  color: #2f2400;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 1000;
}

.ritual-card {
  background: #ffffff;
  border-color: #dce8d4;
}

.ritual-card.simple-mode {
  background: #ecffe3;
  border-color: #b7e49d;
}

.ritual-card.adult-rhythm {
  background: #f6fbf2;
}

.ritual-card.audio-files {
  background: #f0fbff;
  border-color: #b9e8fb;
}

.ritual-steps {
  display: grid;
  gap: 8px;
}

.ritual-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  background: #f8fbf5;
  border: 2px solid #edf3e8;
}

.ritual-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #173313;
  box-shadow: 0 3px 0 var(--green-dark);
  font-weight: 1000;
}

.ritual-steps span {
  color: #354330;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
}

.mission-card,
.panel,
.beta-card,
.team-card,
.creator-hero {
  padding: 15px;
}

.mission-card {
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  right: 8px;
  top: -34px;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(235, 207, 85, 0.42) 2px, transparent 2px),
    linear-gradient(180deg, rgba(235, 207, 85, 0.32) 2px, transparent 2px),
    var(--yellow-soft);
  background-size: 18px 18px, 18px 18px, auto;
  opacity: 0.9;
  transform: rotate(12deg);
}

.mission-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.badge,
.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #173313;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.badge.soft,
.beta-badge {
  background: var(--yellow-soft);
  color: #4b3a00;
  border: 1px solid #ebcf55;
}

.reward {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f8ff;
  color: #075b85;
  font-size: 12px;
  font-weight: 1000;
}

.mission-title {
  position: relative;
  margin: 12px 0 7px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
  font-weight: 1000;
}

.mission-copy {
  position: relative;
  margin: 0;
  color: #45533f;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 650;
}

.safety-line {
  position: relative;
  margin: 12px 0 0;
  padding: 10px 11px;
  border-radius: 10px;
  background: #fff8d7;
  border: 2px solid #ebcf55;
  color: #4b3a00;
  font-size: 13px;
  line-height: 1.32;
  font-weight: 850;
}

.choices,
.reaction-stack,
.push-grid,
.link-list {
  display: grid;
  gap: 9px;
}

.choices,
.push-grid {
  margin-top: 14px;
}

.choice,
.push-btn,
.link-pill {
  min-height: 54px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--line);
  text-align: left;
  font-weight: 850;
  box-shadow: 0 4px 0 #dce8d4;
}

.choice.is-selected {
  border-color: var(--green);
  background: #ecffe3;
  box-shadow: 0 4px 0 var(--green-dark);
}

.hint-action {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8d7;
  color: #4b3a00;
  border: 2px solid #ebcf55;
  box-shadow: 0 4px 0 #d5bd4d;
  font-weight: 1000;
}

.push-btn {
  background: #e7f8ff;
  border-color: #b9e8fb;
  color: #084966;
  box-shadow: 0 4px 0 #9bd6ef;
}

.big-action,
.secondary-action,
.tiny-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  min-height: 52px;
  padding: 12px 16px;
  font-weight: 1000;
}

.big-action {
  width: 100%;
  margin-top: 14px;
  background: var(--green);
  color: #173313;
  box-shadow: var(--button-shadow);
}

.hero-main-action {
  animation: glowPulse 2.8s ease-in-out infinite;
}

.big-action.alt {
  background: var(--coral);
  color: #2f1700;
  box-shadow: 0 6px 0 #bf641f;
}

.secondary-action {
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
}

.secondary-action.full {
  width: 100%;
  margin-top: 12px;
}

.tiny-action {
  min-height: 44px;
  padding: 9px 12px;
  background: var(--yellow-soft);
  color: #4b3a00;
  border: 2px solid #ebcf55;
}

.section-title {
  margin: 6px 2px -2px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.quest-map {
  display: grid;
  gap: 10px;
}

.map-node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
  color: var(--ink);
}

.node-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue);
  color: #052234;
  font-size: 22px;
  font-weight: 1000;
  box-shadow: 0 4px 0 var(--blue-dark);
}

.node-title {
  display: block;
  font-weight: 950;
}

.node-copy {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.node-xp {
  color: #075b85;
  font-weight: 1000;
  white-space: nowrap;
}

.league-list {
  display: grid;
  gap: 9px;
}

.leader {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
}

.leader.is-me {
  border-color: var(--green);
  background: #ecffe3;
}

.leader-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--yellow);
  color: #372800;
  font-weight: 1000;
  box-shadow: 0 3px 0 #d5a900;
}

.leader-name {
  display: block;
  color: var(--ink);
  font-weight: 950;
}

.leader-role {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.leader-score {
  color: var(--ink);
  font-weight: 1000;
}

.league-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 168px;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 45%),
    #e7f8ff;
  border: 2px solid #9bd6ef;
  box-shadow: var(--shadow-blue);
}

.league-shield {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 128px;
  border-radius: 18px;
  background: #173313;
  color: #ffffff;
  box-shadow: 0 7px 0 rgba(23, 51, 19, 0.25);
}

.league-logo {
  width: 58px;
  height: 58px;
}

.league-shield span {
  font-size: 11px;
  font-weight: 1000;
}

.league-hero h2 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.02;
  font-weight: 1000;
}

.league-hero p {
  margin: 0;
  color: #45533f;
  line-height: 1.35;
  font-weight: 720;
}

.league-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.podium-card {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 126px;
  padding: 10px 7px;
  border-radius: 10px;
  background: #ffffff;
  border: 2px solid var(--line);
  box-shadow: 0 5px 0 #dce8d4;
  text-align: center;
}

.podium-card.rank-1 {
  min-height: 152px;
  background: #fff8d7;
  border-color: #ebcf55;
  box-shadow: 0 6px 0 #e4ca57;
}

.podium-card.rank-2 {
  min-height: 136px;
  background: #f0fbff;
  border-color: #b9e8fb;
  box-shadow: 0 5px 0 #9bd6ef;
}

.podium-medal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--yellow);
  color: #372800;
  border: 2px solid rgba(55, 40, 0, 0.14);
  box-shadow: 0 3px 0 #d5a900;
  font-weight: 1000;
}

.podium-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.podium-card small {
  color: var(--muted);
  font-weight: 900;
}

.panel h2,
.panel h3,
.beta-card h2,
.team-card h2,
.creator-hero h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
}

.panel p,
.beta-card p,
.team-card p,
.creator-hero p {
  margin: 0;
  color: #45533f;
  line-height: 1.42;
  font-weight: 650;
}

.beta-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 38%),
    #fff8d7;
  border-color: #ebcf55;
}

.team-card {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 40%),
    #f0fbff;
  border-color: #b9e8fb;
}

.pulse-panel {
  border-color: var(--green);
  background: #ecffe3;
}

.grandma-panel {
  border-color: var(--yellow);
  background: #fff8d7;
}

.grandma-steps {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.grandma-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid #ebcf55;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--green);
  color: #173313;
  font-weight: 1000;
  box-shadow: 0 3px 0 var(--green-dark);
}

.creator-preview {
  min-height: 148px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  border: 2px dashed #b9e8fb;
  color: var(--muted);
  padding: 14px;
  text-align: center;
  font-weight: 800;
}

.creator-preview video,
.creator-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

.file-label {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 82px;
  padding: 12px;
  border: 2px dashed #b9e8fb;
  border-radius: var(--radius);
  background: #f0fbff;
  color: #084966;
  font-weight: 950;
  text-align: center;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
}

.file-label input {
  display: none;
}

.book-card {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.knowledge-hero,
.money-course-card,
.progress-praise-card,
.skill-article,
.legacy-files {
  display: grid;
  gap: 12px;
  padding: 15px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.knowledge-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 42%),
    #fff8d7;
  border-color: #ebcf55;
  box-shadow: var(--shadow-yellow);
}

.knowledge-hero.adult-knowledge,
.progress-praise-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 42%),
    #f0fbff;
  border-color: #b9e8fb;
  box-shadow: var(--shadow-blue);
}

.knowledge-hero h2,
.money-course-card h2,
.progress-praise-card h2,
.skill-article h2,
.legacy-files h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.06;
  font-weight: 1000;
}

.knowledge-hero p,
.money-course-card p,
.progress-praise-card p,
.skill-article p {
  margin: 0;
  color: #3e4d39;
  line-height: 1.4;
  font-weight: 720;
}

.skill-wallet {
  display: grid;
  place-items: center;
  min-height: 116px;
  border-radius: 18px;
  background: #173313;
  color: #ffffff;
  box-shadow: 0 7px 0 rgba(23, 51, 19, 0.28);
}

.skill-wallet span {
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
}

.skill-wallet small {
  color: #d8ffbf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.skill-wallet strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 1000;
}

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

.bank-rules div {
  min-height: 64px;
  padding: 9px;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid rgba(75, 58, 0, 0.14);
  box-shadow: 0 4px 0 rgba(75, 58, 0, 0.12);
}

.bank-rules strong,
.bank-rules span {
  display: block;
}

.bank-rules strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 1000;
}

.bank-rules span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.money-course-card {
  background: #ecffe3;
  border-color: #b7e49d;
}

.money-steps,
.article-steps,
.knowledge-list {
  display: grid;
  gap: 10px;
}

.money-steps div,
.article-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid #dce8d4;
}

.money-steps strong,
.article-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #173313;
  box-shadow: 0 3px 0 var(--green-dark);
  font-weight: 1000;
}

.money-steps span,
.article-steps span {
  color: #354330;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
}

.skill-article {
  position: relative;
  overflow: hidden;
}

.skill-article.is-read {
  border-color: #b7e49d;
  background: #fbfff8;
}

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

.trainer-box,
.quiz-box {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #f0fbff;
  border: 2px solid #b9e8fb;
}

.trainer-box strong,
.quiz-box strong {
  color: #084966;
  font-weight: 1000;
}

.trainer-box span {
  color: #3e4d39;
  line-height: 1.34;
  font-weight: 760;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-option {
  min-height: 48px;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  border: 2px solid #dce8d4;
  box-shadow: 0 4px 0 #dce8d4;
  text-align: left;
  font-weight: 850;
}

.quiz-option.is-correct {
  background: #ecffe3;
  border-color: var(--green);
  box-shadow: 0 4px 0 var(--green-dark);
}

.quiz-option.is-wrong {
  background: #fff8d7;
  border-color: #ebcf55;
  box-shadow: 0 4px 0 #d5bd4d;
}

.book-card.is-locked {
  opacity: 0.72;
}

.book-title {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 1000;
}

.book-text {
  color: #45533f;
  line-height: 1.45;
  font-weight: 650;
}

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

.reward-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 42%),
    #fff8d7;
  border: 2px solid #ebcf55;
  box-shadow: var(--shadow-yellow);
}

.reward-room h2 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.02;
  font-weight: 1000;
}

.reward-room p {
  margin: 0;
  color: #45533f;
  line-height: 1.35;
  font-weight: 720;
}

.coin-vault {
  display: grid;
  place-items: center;
  min-height: 104px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, #173313, #255b1d);
  color: #ffffff;
  box-shadow: 0 7px 0 rgba(23, 51, 19, 0.28);
  animation: coinVaultPulse 3.4s ease-in-out infinite;
}

.coin-vault span,
.coin-vault small {
  display: block;
}

.coin-vault span {
  font-size: 31px;
  line-height: 1;
  font-weight: 1000;
}

.coin-vault small {
  color: #d8ffbf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-item {
  min-height: 148px;
  padding: 12px;
  text-align: center;
}

.shop-item.is-readonly {
  background: #f0fbff;
  border-color: #b9e8fb;
}

.shop-emoji {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border-radius: 16px;
  background: #ecffe3;
  color: #173313;
  border: 2px solid #b7e49d;
  box-shadow: 0 4px 0 #b7e49d;
}

.shop-emoji svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-title {
  margin: 8px 0 4px;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.12;
}

.shop-price {
  color: var(--coral);
  font-weight: 1000;
}

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

.reaction-panel {
  display: grid;
  gap: 12px;
}

.link-list {
  margin-top: 12px;
}

.link-pill {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.link-pill strong,
.link-pill small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-pill small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.copy-mark {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.fx-ripple {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  animation: rippleOut 560ms ease-out forwards;
}

button > :not(.fx-ripple),
.link-pill > :not(.fx-ripple),
.file-label > :not(.fx-ripple) {
  position: relative;
  z-index: 1;
}

.is-pop {
  animation: popPress 230ms ease-out both;
}

.app-shell.is-celebrating .screen {
  animation: successLift 680ms ease-out both;
}

.app-shell.is-error .screen {
  animation: shakeNo 360ms ease-out both;
}

.spark-burst {
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.spark-burst span {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: var(--yellow);
  box-shadow:
    0 0 0 2px rgba(23, 51, 19, 0.08),
    0 0 18px rgba(255, 200, 0, 0.45);
  animation: sparkFly 680ms cubic-bezier(0.16, 0.9, 0.28, 1.08) var(--delay) both;
}

.spark-burst span:nth-child(3n + 1) {
  background: var(--green);
}

.spark-burst span:nth-child(3n + 2) {
  background: var(--blue);
}

.spark-burst span:nth-child(4n) {
  background: var(--pink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
  z-index: 50;
  width: min(420px, calc(100vw - 26px));
  padding: 12px 14px;
  border-radius: 10px;
  background: #173313;
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(31, 43, 28, 0.24);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(var(--nav-count, 5), 1fr);
  gap: 6px;
  width: min(460px, 100vw);
  min-height: calc(var(--nav-h) + var(--safe-bottom));
  padding: 8px 9px calc(8px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
  box-shadow: 0 -8px 24px rgba(31, 43, 28, 0.12);
  backdrop-filter: blur(12px);
}

.bottom-nav.is-hidden {
  display: none;
}

.nav-btn {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 54px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.nav-btn.is-active {
  background:
    linear-gradient(180deg, #f8fff2, #ecffe3);
  color: #173313;
  box-shadow: inset 0 0 0 2px var(--green), 0 4px 0 #b7e49d;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 23px;
  font-size: 20px;
  line-height: 1;
  font-weight: 1000;
}

.nav-btn.is-active .nav-icon {
  color: var(--green-dark);
  animation: navIconPop 360ms ease-out both;
}

.hidden {
  display: none !important;
}

@media (hover: hover) {
  .role-card:hover,
  .choice:hover,
  .push-btn:hover,
  .tester-vote:hover,
  .quiz-option:hover,
  .skill-article:hover,
  .map-node:hover,
  .shop-item:hover,
  .link-pill:hover,
  .mini-chip:hover,
  .rail-node:hover,
  .podium-card:hover,
  .leader:hover,
  .book-card:hover,
  .file-label:hover {
    transform: translateY(-3px);
    filter: saturate(1.05) brightness(1.02);
  }

  .big-action:hover,
  .secondary-action:hover,
  .tiny-action:hover,
  .avatar:hover,
  .sound-btn:hover,
  .hero-sound:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
  }

  .nav-btn:hover .nav-icon,
  .sound-btn:hover svg,
  .shop-item:hover .shop-emoji,
  .role-card:hover .role-icon,
  .map-node:hover .node-icon,
  .leader:hover .leader-rank {
    animation: navIconPop 330ms ease-out both;
  }

  .choice:hover,
  .link-pill:hover,
  .book-card:hover,
  .leader:hover,
  .feed-item:hover,
  .grandma-step:hover,
  .ritual-steps div:hover,
  .unlock-tile:hover {
    border-color: #b7e49d;
  }
}

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

  .fx-ripple,
  .spark-burst {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .app {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand {
    font-size: 38px;
  }

  .hero-content {
    max-width: 220px;
  }

  .hero-text {
    max-width: 17ch;
    font-size: 15px;
  }

  .mascot {
    width: 96px;
    height: 96px;
    right: 6px;
  }

  .shop-grid,
  .reaction-grid,
  .unlock-grid,
  .command-stat-grid,
  .league-podium {
    grid-template-columns: 1fr;
  }

  .league-hero,
  .reward-room {
    grid-template-columns: 1fr;
  }

  .league-shield,
  .coin-vault {
    min-height: 86px;
  }

  .leader {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .leader-score {
    grid-column: 2;
  }
}

/* Premium mobile art direction - v2.
   Goal: move from "learning worksheet" to a modern short-form app surface. */
:root {
  color-scheme: dark;
  --bg: #070911;
  --surface: rgba(18, 22, 32, 0.92);
  --surface-2: rgba(25, 30, 42, 0.94);
  --ink: #f7f8ee;
  --muted: #a8b0bd;
  --line: rgba(255, 255, 255, 0.1);
  --navy: #101927;
  --green: #a7ff38;
  --green-dark: #65d014;
  --blue: #2ee8ff;
  --blue-dark: #00a8d6;
  --yellow: #ffd33d;
  --yellow-soft: rgba(255, 211, 61, 0.12);
  --coral: #ff6b35;
  --pink: #ff4fd8;
  --red: #ff476f;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  --shadow-blue: 0 18px 42px rgba(0, 168, 214, 0.16);
  --shadow-yellow: 0 18px 42px rgba(255, 211, 61, 0.12);
  --button-shadow: 0 0 0 1px rgba(167, 255, 56, 0.28), 0 12px 26px rgba(101, 208, 20, 0.28);
  --radius: 8px;
  --nav-h: 82px;
}

html {
  background: #05060a;
}

body {
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.14) 0%, transparent 28%),
    linear-gradient(225deg, rgba(46, 232, 255, 0.12) 0%, transparent 32%),
    linear-gradient(180deg, #080a12 0%, #05060a 48%, #090b12 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 72%);
  pointer-events: none;
}

.app-shell {
  max-width: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 22, 35, 0.88), rgba(7, 9, 17, 0.98)),
    #070911;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.48);
}

.app {
  padding: 12px 12px calc(var(--nav-h) + var(--safe-bottom) + 22px);
}

.screen {
  gap: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  margin: -12px -12px 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(7, 9, 17, 0.92), rgba(7, 9, 17, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  grid-template-columns: 42px minmax(0, 1fr);
  flex: 1 1 auto;
}

.title-stack {
  min-width: 0;
}

.title-stack h1,
.title-stack p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-stack h1 {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.title-stack p {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #a7ff38, #2ee8ff 62%, #ff4fd8);
  color: #061005;
  box-shadow: 0 12px 26px rgba(46, 232, 255, 0.16);
}

.brand-mark::after {
  display: none;
}

.brand-mark-star {
  display: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.title-stack h1,
.section-title,
.mission-title,
.book-title,
.leader-name,
.leader-score,
.stat-value,
.role-title {
  color: var(--ink);
}

.title-stack h1 {
  font-size: 22px;
  letter-spacing: 0;
}

.title-stack p,
.role-copy,
.leader-role,
.node-copy,
.book-text,
.feed-item small,
.feed-empty {
  color: var(--muted);
}

.sound-btn,
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f8ee;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.avatar {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
}

.sound-btn.is-on {
  background: rgba(46, 232, 255, 0.14);
  border-color: rgba(46, 232, 255, 0.28);
  box-shadow: 0 0 28px rgba(46, 232, 255, 0.1);
}

.hero,
.play-hero {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090c14;
  box-shadow: var(--shadow);
}

.hero {
  min-height: min(650px, calc(100svh - 42px));
  padding: 16px;
}

.hero::before {
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.2), transparent 45%),
    linear-gradient(225deg, rgba(255, 79, 216, 0.14), transparent 42%);
}

.hero-art,
.play-hero-art {
  width: 100%;
  height: 100%;
  object-position: 62% 46%;
  filter: saturate(1.2) contrast(1.08) brightness(0.72);
  transform: scale(1.035);
}

.hero-glass {
  background:
    linear-gradient(180deg, rgba(7, 9, 17, 0.08) 0%, rgba(7, 9, 17, 0.18) 46%, rgba(7, 9, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 9, 17, 0.84) 0%, rgba(7, 9, 17, 0.32) 58%, transparent 100%);
}

.hero-content {
  align-content: end;
  min-height: calc(min(650px, calc(100svh - 42px)) - 32px);
  max-width: 320px;
}

.brand {
  color: #ffffff;
  font-size: clamp(48px, 16vw, 72px);
  letter-spacing: 0;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.hero-text {
  max-width: 25ch;
  color: rgba(247, 248, 238, 0.82);
  font-size: 16px;
}

.hero-sound {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.kicker,
.kicker.dark,
.badge,
.badge.soft,
.beta-badge,
.reward,
.quest-logo-chip,
.hero-level-chip {
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(247, 248, 238, 0.9);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.badge.soft,
.beta-badge {
  color: #fff4a6;
  background: rgba(255, 211, 61, 0.12);
  border-color: rgba(255, 211, 61, 0.22);
}

.play-hero {
  min-height: clamp(560px, calc(100svh - var(--nav-h) - var(--safe-bottom) - 128px), 650px);
  overflow: hidden;
  isolation: isolate;
}

.play-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 17, 0.72) 28%, #070911 100%);
  pointer-events: none;
}

.play-hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 9, 17, 0) 0%, rgba(7, 9, 17, 0.18) 44%, rgba(7, 9, 17, 0.82) 100%),
    linear-gradient(90deg, rgba(7, 9, 17, 0.74) 0%, rgba(7, 9, 17, 0.12) 56%, rgba(7, 9, 17, 0.2) 100%);
}

.play-hero-copy {
  min-height: clamp(560px, calc(100svh - var(--nav-h) - var(--safe-bottom) - 128px), 650px);
  padding: 14px;
  align-content: space-between;
}

.hero-mission-panel {
  position: relative;
  z-index: 3;
  gap: 11px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(12, 15, 24, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.hero-social-rail {
  position: absolute;
  right: 12px;
  top: 86px;
  z-index: 4;
  display: grid;
  gap: 10px;
}

.hero-social-rail button {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 54px;
  min-height: 62px;
  border-radius: 8px;
  background: rgba(7, 9, 17, 0.52);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-social-rail strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}

.hero-social-rail span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.play-hero h2 {
  color: #ffffff;
  font-size: clamp(40px, 13vw, 58px);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.play-hero p,
.hero-mission-panel p {
  color: rgba(247, 248, 238, 0.82);
}

.hero-stats {
  gap: 8px;
}

.hero-stats span,
.level-strip,
.bank-rules div,
.unlock-tile,
.command-stat-grid div,
.week-strip span {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 238, 0.9);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.level-strip strong,
.level-strip span,
.unlock-tile strong,
.unlock-tile span,
.command-stat-grid strong,
.command-stat-grid span,
.bank-rules strong,
.bank-rules span {
  color: inherit;
}

.level-strip i {
  height: 9px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
}

.level-strip b {
  background: linear-gradient(90deg, #a7ff38, #2ee8ff, #ff4fd8);
}

.big-action,
.secondary-action,
.tiny-action,
.mini-chip,
.choice,
.push-btn,
.link-pill,
.quiz-option,
.role-card,
.map-node,
.rail-node,
.shop-item {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.big-action {
  min-height: 54px;
  background: linear-gradient(135deg, #a7ff38, #2ee8ff);
  color: #071006;
  box-shadow: var(--button-shadow);
}

.big-action.alt {
  background: linear-gradient(135deg, #ff6b35, #ffd33d);
  color: #170802;
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.18);
}

.secondary-action,
.tiny-action,
.mini-chip,
.choice,
.push-btn,
.link-pill,
.quiz-option {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 238, 0.94);
  backdrop-filter: blur(12px);
}

.mini-chip.danger,
.tiny-action {
  background: rgba(255, 211, 61, 0.12);
  color: #fff4a6;
  border-color: rgba(255, 211, 61, 0.2);
}

.choice.is-selected,
.tester-vote.is-selected,
.quiz-option.is-correct,
.rail-node.current,
.leader.is-me {
  background: rgba(167, 255, 56, 0.14);
  border-color: rgba(167, 255, 56, 0.46);
  color: #efffd8;
  box-shadow: 0 0 32px rgba(167, 255, 56, 0.08);
}

.quiz-option.is-wrong {
  background: rgba(255, 107, 53, 0.14);
  border-color: rgba(255, 107, 53, 0.34);
  color: #ffd9cb;
}

.role-card,
.mission-card,
.panel,
.beta-card,
.team-card,
.creator-hero,
.tester-card,
.pilot-card,
.anti-boring-card,
.feed-card,
.support-card,
.tomorrow-card,
.ritual-card,
.adult-command,
.simple-command,
.book-card,
.shop-item,
.league-hero,
.podium-card,
.leader,
.reward-room,
.knowledge-hero,
.money-course-card,
.progress-praise-card,
.skill-article,
.legacy-files {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(14, 18, 28, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.tester-card,
.pilot-card,
.tomorrow-card,
.knowledge-hero,
.reward-room,
.league-hero {
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.12), transparent 46%),
    linear-gradient(225deg, rgba(46, 232, 255, 0.1), transparent 44%),
    rgba(14, 18, 28, 0.94);
}

.team-card,
.support-card,
.creator-hero,
.money-course-card {
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.1), transparent 42%),
    linear-gradient(225deg, rgba(46, 232, 255, 0.1), transparent 46%),
    rgba(14, 18, 28, 0.94);
}

.tester-card::after,
.mission-card::before,
.adult-command::after,
.simple-command::after {
  display: none;
}

.tester-card h2,
.pilot-card h2,
.anti-boring-card h2,
.support-card h2,
.adult-command h2,
.simple-command h2,
.tomorrow-main h2,
.ritual-card h2,
.panel h2,
.panel h3,
.beta-card h2,
.team-card h2,
.creator-hero h2,
.league-hero h2,
.reward-room h2,
.knowledge-hero h2,
.money-course-card h2,
.progress-praise-card h2,
.skill-article h2,
.legacy-files h2 {
  color: #ffffff;
  letter-spacing: 0;
}

.tester-card p,
.pilot-card p,
.anti-boring-card p,
.support-card p,
.adult-command p,
.simple-command p,
.tomorrow-main p,
.ritual-card p,
.panel p,
.beta-card p,
.team-card p,
.creator-hero p,
.league-hero p,
.reward-room p,
.knowledge-hero p,
.money-course-card p,
.progress-praise-card p,
.skill-article p,
.trainer-box span {
  color: rgba(247, 248, 238, 0.76);
}

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

.tester-vote {
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

.tester-vote span {
  color: rgba(247, 248, 238, 0.62);
}

.quest-rail {
  overflow-x: auto;
  display: flex;
  gap: 8px;
  padding: 1px 0 4px;
  scrollbar-width: none;
}

.quest-rail::-webkit-scrollbar {
  display: none;
}

.quest-rail::before {
  display: none;
}

.rail-node {
  flex: 0 0 84px;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 248, 238, 0.74);
}

.rail-node span,
.rail-node.current span,
.rail-node.done span,
.node-icon,
.role-icon,
.leader-rank,
.podium-medal,
.step-num,
.feed-icon,
.shop-emoji,
.week-strip b,
.money-steps strong,
.article-steps strong,
.ritual-steps strong {
  background: linear-gradient(135deg, #a7ff38, #2ee8ff);
  color: #061005;
  border: 0;
  box-shadow: none;
}

.week-strip {
  overflow-x: auto;
  display: flex;
  gap: 8px;
  scrollbar-width: none;
}

.week-strip::-webkit-scrollbar {
  display: none;
}

.week-strip span {
  flex: 0 0 58px;
  min-height: 58px;
}

.feed-item,
.grandma-step,
.ritual-steps div,
.money-steps div,
.article-steps div,
.trainer-box,
.quiz-box {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 248, 238, 0.92);
  box-shadow: none;
}

.ritual-steps span,
.money-steps span,
.article-steps span,
.trainer-box strong,
.quiz-box strong {
  color: rgba(247, 248, 238, 0.9);
}

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

.knowledge-hero.adult-knowledge {
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 232, 255, 0.16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(167, 255, 56, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(14, 18, 28, 0.98), rgba(8, 12, 20, 0.98));
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.knowledge-hero.adult-knowledge h2,
.knowledge-hero.adult-knowledge p {
  color: #ffffff;
}

.knowledge-hero.adult-knowledge p {
  color: rgba(247, 248, 238, 0.76);
}

.skill-wallet,
.coin-vault,
.league-shield {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.26), rgba(46, 232, 255, 0.16)),
    #0b1118;
  color: #ffffff;
  border: 1px solid rgba(167, 255, 56, 0.24);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.skill-wallet small,
.skill-wallet strong,
.coin-vault small {
  color: rgba(247, 248, 238, 0.84);
}

.bank-rules {
  gap: 8px;
}

.article-head {
  align-items: flex-start;
}

.skill-article.is-read {
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.12), transparent 45%),
    rgba(14, 18, 28, 0.94);
  border-color: rgba(167, 255, 56, 0.28);
}

.book-card.is-locked {
  opacity: 0.62;
}

.bottom-nav {
  width: min(430px, 100vw);
  gap: 4px;
  padding: 8px 8px calc(8px + var(--safe-bottom));
  background: rgba(7, 9, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.nav-btn {
  min-height: 56px;
  border-radius: 8px;
  color: rgba(247, 248, 238, 0.56);
}

.nav-btn.is-active {
  background: rgba(167, 255, 56, 0.13);
  color: #efffd8;
  box-shadow: inset 0 0 0 1px rgba(167, 255, 56, 0.38), 0 0 26px rgba(167, 255, 56, 0.08);
}

.nav-btn.is-active .nav-icon {
  color: var(--green);
}

.toast {
  border-radius: 8px;
  background: rgba(12, 15, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.top-actions {
  gap: 6px;
}

.title-stack h1 {
  font-size: 19px;
}

.title-stack p {
  font-size: 12px;
}

.sound-btn,
.avatar {
  width: 44px;
  height: 44px;
}

.spark-burst span {
  border-radius: 2px;
}

@media (min-width: 390px) {
  .play-hero-copy {
    padding: 16px;
  }

  .hero-mission-panel {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .play-hero h2 {
    font-size: 38px;
  }

  .hero-mission-panel {
    padding: 12px;
  }

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

/* Motion and sound-response layer - v3. No remote video, no heavy media. */
@keyframes auroraSweep {
  0% {
    opacity: 0.35;
    transform: translate3d(-12%, -8%, 0) rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.65;
    transform: translate3d(8%, 4%, 0) rotate(5deg) scale(1.08);
  }
  100% {
    opacity: 0.35;
    transform: translate3d(-12%, -8%, 0) rotate(0deg) scale(1);
  }
}

@keyframes panelBeat {
  0%,
  100% {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    filter: saturate(1);
  }
  48% {
    box-shadow: 0 22px 54px rgba(46, 232, 255, 0.16), 0 18px 42px rgba(0, 0, 0, 0.34);
    filter: saturate(1.08);
  }
}

@keyframes ctaSweep {
  0% {
    transform: translateX(-130%) skewX(-18deg);
  }
  44%,
  100% {
    transform: translateX(160%) skewX(-18deg);
  }
}

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

@keyframes cardRisePremium {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes routeFlash {
  0% {
    opacity: 0;
    transform: translateX(-24%);
  }
  28% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes cashoutGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  40% {
    filter: saturate(1.25) brightness(1.08);
  }
}

@keyframes rewardPop {
  0% {
    opacity: 0;
    transform: translate(-50%, 18px) scale(0.78);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.08);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -8px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -28px) scale(0.94);
  }
}

@keyframes rewardCoinFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--spin)) scale(0.15);
  }
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 32;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(167, 255, 56, 0.16) 35%, rgba(46, 232, 255, 0.24) 50%, transparent 68%);
  transform: translateX(-30%);
}

.app-shell.is-routing::before {
  animation: routeFlash 520ms ease-out both;
}

.app-shell.is-cashout .screen {
  animation: cashoutGlow 920ms ease-out both;
}

.play-hero::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 28%, rgba(167, 255, 56, 0.22), transparent 26%),
    radial-gradient(circle at 76% 50%, rgba(255, 79, 216, 0.18), transparent 28%),
    radial-gradient(circle at 50% 78%, rgba(46, 232, 255, 0.16), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: auroraSweep 7.5s ease-in-out infinite;
}

.play-hero-art {
  will-change: transform, filter;
}

.music-on .hero-mission-panel,
.music-on .skill-wallet,
.music-on .coin-vault {
  animation: panelBeat 1840ms ease-in-out infinite;
}

.big-action {
  overflow: hidden;
}

.big-action::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-130%) skewX(-18deg);
  animation: ctaSweep 3.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-social-rail strong {
  animation: sideRailFloat 3.2s ease-in-out infinite;
}

.hero-social-rail button:nth-child(2) strong {
  animation-delay: 220ms;
}

.hero-social-rail button:nth-child(3) strong {
  animation-delay: 440ms;
}

.screen > * {
  animation: cardRisePremium 420ms cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.screen > *:nth-child(2) {
  animation-delay: 35ms;
}

.screen > *:nth-child(3) {
  animation-delay: 70ms;
}

.screen > *:nth-child(4) {
  animation-delay: 105ms;
}

.screen > *:nth-child(5) {
  animation-delay: 140ms;
}

.reward-burst {
  position: fixed;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 154px;
  padding: 13px 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.28), rgba(46, 232, 255, 0.2)),
    rgba(8, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 42px rgba(167, 255, 56, 0.14);
  pointer-events: none;
  transform: translate(-50%, 0);
  animation: rewardPop 1180ms cubic-bezier(0.16, 0.9, 0.28, 1.04) both;
  backdrop-filter: blur(18px);
}

.reward-burst strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}

.reward-burst span {
  color: rgba(247, 248, 238, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reward-burst i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(167, 255, 56, 0.42);
  animation: rewardCoinFly 860ms ease-out both;
}

.reward-burst i:nth-of-type(2n) {
  background: var(--blue);
}

.reward-burst i:nth-of-type(3n) {
  background: var(--pink);
}

.reward-burst.cashout {
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.3), rgba(255, 107, 53, 0.24)),
    rgba(8, 12, 18, 0.92);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 42px rgba(255, 211, 61, 0.16);
}

.reward-burst.quiz {
  background:
    linear-gradient(135deg, rgba(46, 232, 255, 0.28), rgba(167, 255, 56, 0.18)),
    rgba(8, 12, 18, 0.92);
}

.reward-burst.magic {
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.26), rgba(46, 232, 255, 0.2)),
    rgba(8, 12, 18, 0.92);
}

.launch-gate,
.badge-shelf,
.media-guard {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.14), transparent 42%),
    linear-gradient(225deg, rgba(167, 255, 56, 0.12), transparent 46%),
    rgba(14, 18, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.launch-gate {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.launch-gate::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background:
    radial-gradient(circle at 22% 30%, rgba(167, 255, 56, 0.24), transparent 26%),
    radial-gradient(circle at 74% 58%, rgba(255, 79, 216, 0.2), transparent 30%);
  animation: auroraSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

.launch-gate > * {
  position: relative;
  z-index: 1;
}

.launch-kicker {
  width: fit-content;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 211, 61, 0.12);
  color: #fff4a6;
  border: 1px solid rgba(255, 211, 61, 0.24);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.launch-gate h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 0.98;
  font-weight: 1000;
}

.launch-gate p {
  margin: 0;
  max-width: 31ch;
  color: rgba(247, 248, 238, 0.78);
  line-height: 1.38;
  font-weight: 760;
}

.launch-pills,
.badge-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.launch-pills {
  flex-wrap: wrap;
  overflow: visible;
}

.launch-pills::-webkit-scrollbar,
.badge-row::-webkit-scrollbar {
  display: none;
}

.launch-pills span {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 238, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.auth-gate-screen,
.onboarding-screen {
  min-height: calc(100vh - 28px);
  align-content: stretch;
}

.auth-gate-card,
.onboarding-flow {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: calc(100vh - 112px);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 20% 0%, rgba(167, 255, 56, 0.22), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(255, 79, 216, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(10, 14, 26, 0.98), rgba(18, 18, 34, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.auth-gate-card {
  align-content: center;
  justify-items: start;
  min-height: calc(100vh - 28px);
}

.auth-gate-card.is-warning {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 211, 61, 0.2), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(46, 232, 255, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(18, 15, 22, 0.98), rgba(14, 18, 30, 0.98));
}

.auth-gate-card > *,
.onboarding-flow > * {
  position: relative;
  z-index: 1;
}

.auth-gate-card h1,
.onboarding-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 0.98;
  font-weight: 1000;
}

.auth-gate-card p,
.onboarding-copy p {
  margin: 0;
  color: rgba(247, 248, 238, 0.76);
  font-size: 16px;
  line-height: 1.34;
  font-weight: 780;
}

.onboarding-flow::before {
  content: "";
  position: absolute;
  inset: -35% -25% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 232, 255, 0.18), transparent 66%);
  animation: auroraSweep 7s ease-in-out infinite;
}

.stesha-onboarding {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 93, 143, 0.24), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(167, 255, 56, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(18, 12, 32, 0.98), rgba(23, 14, 34, 0.98));
}

.grandma-onboarding,
.nadya-onboarding {
  background:
    radial-gradient(circle at 16% 0%, rgba(167, 255, 56, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(46, 232, 255, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(10, 23, 18, 0.98), rgba(17, 22, 31, 0.98));
}

.grandpa-onboarding {
  background:
    radial-gradient(circle at 16% 0%, rgba(46, 232, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 211, 61, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(7, 20, 31, 0.98), rgba(18, 22, 30, 0.98));
}

.onboarding-progress {
  display: flex;
  gap: 7px;
  align-items: center;
}

.onboarding-progress button {
  flex: 1 1 0;
  height: 8px;
  min-height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.onboarding-progress button.is-active {
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: 0 0 22px rgba(46, 232, 255, 0.22);
}

.onboarding-hero {
  position: relative;
  min-height: 205px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    rgba(255, 255, 255, 0.075);
  background-size: 30px 30px, 30px 30px, auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.onboarding-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  opacity: 0.88;
  filter: saturate(1.1) contrast(1.02);
  animation: softFloat 7s ease-in-out infinite;
}

.onboarding-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 17, 0.08), rgba(7, 9, 17, 0.72)),
    linear-gradient(90deg, rgba(7, 9, 17, 0.2), rgba(7, 9, 17, 0));
}

.onboarding-orbit {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.onboarding-orbit span {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #132614;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.16);
  font-size: 12px;
  line-height: 1;
  font-weight: 1000;
}

.onboarding-copy {
  display: grid;
  gap: 9px;
}

.browser-advice {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 211, 61, 0.11);
  border: 1px solid rgba(255, 211, 61, 0.2);
}

.browser-advice strong {
  color: #fff2a8;
  font-size: 14px;
  font-weight: 1000;
}

.browser-advice span {
  color: rgba(247, 248, 238, 0.78);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 820;
}

.onboarding-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  margin-top: auto;
}

.onboarding-actions > * {
  min-width: 0;
}

.onboarding-skip {
  justify-self: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 248, 238, 0.56);
  font-size: 12px;
  font-weight: 900;
}

.launch-action {
  margin-top: 2px;
}

.badge-shelf {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.badge-shelf-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.badge-shelf-head span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.badge-shelf-head strong {
  color: var(--green);
  font-weight: 1000;
}

.badge-token {
  flex: 0 0 82px;
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 78px;
  padding: 9px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 248, 238, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.badge-token strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 238, 0.72);
  font-size: 14px;
  font-weight: 1000;
}

.badge-token span {
  color: inherit;
  font-size: 10px;
  line-height: 1.08;
  font-weight: 900;
}

.badge-token.earned {
  color: #efffd8;
  background: rgba(167, 255, 56, 0.13);
  border-color: rgba(167, 255, 56, 0.28);
  box-shadow: 0 0 28px rgba(167, 255, 56, 0.08);
}

.badge-token.earned strong,
.combo-live {
  background: linear-gradient(135deg, #a7ff38, #2ee8ff);
  color: #061005;
}

.combo-live {
  border-color: rgba(167, 255, 56, 0.34) !important;
  box-shadow: 0 0 28px rgba(167, 255, 56, 0.1) !important;
}

.media-guard {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
}

.media-guard strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
}

.media-guard span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 12px;
  line-height: 1.32;
  font-weight: 760;
}

.preview-meta {
  width: 100%;
  display: grid;
  gap: 3px;
  align-self: stretch;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.preview-meta strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta span {
  color: rgba(247, 248, 238, 0.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Five-cycle game design layer - first run, pass, relay, fair play. */
.first-run-card,
.season-pass-card,
.relay-card,
.fair-play-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.11), transparent 42%),
    linear-gradient(225deg, rgba(46, 232, 255, 0.1), transparent 45%),
    rgba(14, 18, 28, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.relay-card,
.fair-play-card {
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.1), transparent 42%),
    linear-gradient(225deg, rgba(255, 211, 61, 0.1), transparent 45%),
    rgba(14, 18, 28, 0.95);
}

.first-run-card::before,
.season-pass-card::before,
.relay-card::before,
.fair-play-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.run-head,
.season-pass-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.run-head strong,
.season-pass-head strong {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(167, 255, 56, 0.12);
  color: var(--green);
  border: 1px solid rgba(167, 255, 56, 0.24);
  font-size: 12px;
  font-weight: 1000;
}

.first-run-card h2,
.season-pass-card h2,
.relay-card h2,
.fair-play-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.02;
  font-weight: 1000;
}

.first-run-card p,
.relay-card p,
.fair-play-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(247, 248, 238, 0.74);
  line-height: 1.38;
  font-weight: 740;
}

.run-progress,
.pass-track {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.run-progress b,
.pass-track b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--pink));
  box-shadow: 0 0 22px rgba(167, 255, 56, 0.18);
}

.run-steps,
.pass-rewards,
.relay-grid,
.fair-rules,
.fair-actions,
.relay-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.run-steps,
.pass-rewards,
.relay-grid,
.fair-actions,
.relay-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.run-step {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-height: 108px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.run-step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--green);
  font-weight: 1000;
}

.run-step strong {
  font-size: 14px;
  line-height: 1.05;
  font-weight: 1000;
}

.run-step small,
.run-step em {
  color: rgba(247, 248, 238, 0.66);
  font-size: 11px;
  line-height: 1.15;
  font-style: normal;
  font-weight: 850;
}

.run-step em {
  margin-top: auto;
  color: #fff4a6;
  text-transform: uppercase;
}

.run-step.done {
  background: rgba(167, 255, 56, 0.12);
  border-color: rgba(167, 255, 56, 0.26);
}

.run-step.done span {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
}

.pass-track {
  height: 32px;
  overflow: visible;
  margin: 2px 8px 0;
}

.pass-track b {
  height: 11px;
  margin-top: 10px;
}

.pass-track span {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #171c28;
  color: rgba(247, 248, 238, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%);
  font-weight: 1000;
}

.pass-track span.unlocked,
.pass-track span.next {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  box-shadow: 0 0 24px rgba(167, 255, 56, 0.18);
}

.pass-track span.next {
  animation: navIconPop 1.4s ease-in-out infinite;
}

.pass-rewards div,
.relay-grid div,
.fair-rules div {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(247, 248, 238, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pass-rewards div.unlocked,
.relay-grid div.done {
  border-color: rgba(167, 255, 56, 0.28);
  background: rgba(167, 255, 56, 0.11);
}

.pass-rewards strong,
.relay-grid strong,
.fair-rules strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.pass-rewards span,
.relay-grid span,
.fair-rules span,
.relay-card small {
  color: rgba(247, 248, 238, 0.66);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.relay-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.fair-actions .tiny-action,
.relay-actions .push-btn {
  min-height: 46px;
}

.file-label,
.creator-preview {
  background:
    linear-gradient(135deg, rgba(46, 232, 255, 0.13), transparent 46%),
    linear-gradient(225deg, rgba(167, 255, 56, 0.1), transparent 42%),
    rgba(14, 18, 28, 0.92);
  color: rgba(247, 248, 238, 0.86);
  border: 1px dashed rgba(46, 232, 255, 0.36);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.file-label {
  min-height: 78px;
  color: #dffcff;
  font-weight: 1000;
}

.creator-preview {
  color: rgba(247, 248, 238, 0.58);
  font-size: 16px;
  line-height: 1.24;
}

@media (hover: hover) {
  .run-step:hover,
  .pass-rewards div:hover,
  .relay-grid div:hover,
  .fair-rules div:hover {
    transform: translateY(-3px);
    filter: saturate(1.06) brightness(1.02);
    border-color: rgba(167, 255, 56, 0.34);
  }
}

@media (max-width: 360px) {
  .first-run-card h2,
  .season-pass-card h2,
  .relay-card h2,
  .fair-play-card h2 {
    font-size: 21px;
  }

  .fair-rules {
    grid-template-columns: 1fr;
  }

  .run-step {
    min-height: 104px;
  }
}

/* Ten-cycle retention layer - safety, first win, D1 ritual, family loop, updates. */
.daily-pulse-card,
.movement-card,
.sleep-card,
.dacha-watch-card,
.personal-launch-card,
.release-ready-card,
.web-access-card,
.server-gate-card,
.admin-overview-card,
.first-touch-card,
.install-quest-card,
.data-trust-card,
.prize-fund-card,
.dad-private-card,
.week0-feedback-card,
.surprise-card,
.trust-contract-card,
.update-drop-card,
.social-ladder-card,
.pledge-card,
.streak-shield-card,
.growth-stage-card,
.parent-experiment-card,
.grandma-repeat-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(46, 232, 255, 0.1), transparent 44%),
    linear-gradient(225deg, rgba(255, 79, 216, 0.08), transparent 44%),
    rgba(14, 18, 28, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.surprise-card,
.pledge-card,
.grandma-repeat-card {
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.11), transparent 42%),
    linear-gradient(225deg, rgba(167, 255, 56, 0.1), transparent 46%),
    rgba(14, 18, 28, 0.95);
}

.daily-pulse-card::before,
.movement-card::before,
.sleep-card::before,
.dacha-watch-card::before,
.personal-launch-card::before,
.release-ready-card::before,
.web-access-card::before,
.server-gate-card::before,
.admin-overview-card::before,
.first-touch-card::before,
.install-quest-card::before,
.data-trust-card::before,
.prize-fund-card::before,
.dad-private-card::before,
.week0-feedback-card::before,
.surprise-card::before,
.growth-stage-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 255, 56, 0.18), transparent 66%);
  pointer-events: none;
}

.daily-pulse-copy,
.movement-card > *,
.sleep-card > *,
.dacha-watch-card > *,
.personal-launch-card > *,
.release-ready-card > *,
.web-access-card > *,
.server-gate-card > *,
.admin-overview-card > *,
.first-touch-card > *,
.install-quest-card > *,
.data-trust-card > *,
.prize-fund-card > *,
.dad-private-card > *,
.week0-feedback-card > *,
.surprise-card > div,
.trust-contract-card > *,
.update-drop-card > *,
.social-ladder-card > *,
.pledge-card > *,
.streak-shield-card > *,
.growth-stage-card > *,
.parent-experiment-card > *,
.grandma-repeat-card > * {
  position: relative;
  z-index: 1;
}

.daily-pulse-card h2,
.movement-card h2,
.sleep-card h2,
.dacha-watch-card h2,
.personal-launch-card h2,
.release-ready-card h2,
.web-access-card h2,
.server-gate-card h2,
.admin-overview-card h2,
.first-touch-card h2,
.install-quest-card h2,
.data-trust-card h2,
.prize-fund-card h2,
.dad-private-card h2,
.week0-feedback-card h2,
.surprise-card h2,
.trust-contract-card h2,
.update-drop-card h2,
.social-ladder-card h2,
.pledge-card h2,
.streak-shield-card h2,
.growth-stage-card h2,
.parent-experiment-card h2,
.grandma-repeat-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.04;
  font-weight: 1000;
}

.daily-pulse-card p,
.movement-card p,
.sleep-card p,
.dacha-watch-card p,
.personal-launch-card p,
.release-ready-card p,
.web-access-card p,
.server-gate-card p,
.admin-overview-card p,
.first-touch-card p,
.install-quest-card p,
.data-trust-card p,
.prize-fund-card p,
.dad-private-card p,
.week0-feedback-card p,
.surprise-card p,
.pledge-card p,
.streak-shield-card p,
.parent-experiment-card p {
  margin: 0;
  color: rgba(247, 248, 238, 0.72);
  line-height: 1.36;
  font-weight: 740;
}

.pulse-options,
.movement-options,
.sleep-options,
.dacha-options,
.personal-launch-steps,
.release-checklist,
.web-access-grid,
.data-zone-grid,
.fund-grid,
.private-steps,
.feedback-options,
.trust-grid,
.update-list,
.ladder-steps,
.pledge-options,
.growth-stage-grid,
.experiment-grid,
.repeat-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.pulse-options,
.movement-options,
.sleep-options,
.web-access-grid,
.data-zone-grid,
.fund-grid,
.release-checklist,
.private-steps,
.feedback-options,
.trust-grid,
.pledge-options,
.experiment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.pulse-option,
.movement-options button,
.sleep-options button,
.dacha-options button,
.personal-launch-steps span,
.release-checklist button,
.web-access-grid div,
.data-zone-grid div,
.fund-grid div,
.private-steps button,
.feedback-options button,
.trust-grid div,
.update-list div,
.ladder-steps button,
.pledge-options button,
.growth-stage-grid button,
.experiment-grid div,
.repeat-lines div {
  min-width: 0;
  min-height: 64px;
  display: grid;
  gap: 4px;
  justify-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(247, 248, 238, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.pulse-option strong,
.movement-options strong,
.sleep-options strong,
.dacha-options strong,
.personal-launch-steps strong,
.release-checklist strong,
.web-access-grid strong,
.data-zone-grid strong,
.fund-grid strong,
.private-steps strong,
.feedback-options button,
.trust-grid strong,
.update-list strong,
.ladder-steps strong,
.pledge-options button,
.growth-stage-grid strong,
.experiment-grid strong,
.repeat-lines strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.pulse-option span,
.movement-options span,
.sleep-options span,
.dacha-options span,
.personal-launch-steps span,
.release-checklist span,
.web-access-grid span,
.data-zone-grid span,
.fund-grid span,
.private-steps span,
.trust-grid span,
.ladder-steps small,
.growth-stage-grid small,
.experiment-grid span,
.repeat-lines span {
  color: rgba(247, 248, 238, 0.64);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.pulse-option.is-selected,
.movement-options button.is-selected,
.sleep-options button.done,
.dacha-options button.done,
.private-steps button.done,
.pledge-options button.is-selected,
.ladder-steps button.done,
.growth-stage-grid button.done {
  background: rgba(167, 255, 56, 0.12);
  border-color: rgba(167, 255, 56, 0.3);
  box-shadow: 0 0 28px rgba(167, 255, 56, 0.08);
}

.personal-launch-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 79, 216, 0.2), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(167, 255, 56, 0.16), transparent 36%),
    linear-gradient(155deg, rgba(12, 16, 28, 0.98), rgba(24, 16, 34, 0.98));
  border-color: rgba(255, 255, 255, 0.14);
}

.personal-launch-card.stesha-launch {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 93, 143, 0.24), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(167, 255, 56, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(17, 13, 31, 0.98), rgba(26, 14, 33, 0.98));
}

.personal-launch-card.grandpa-launch {
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 232, 255, 0.22), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(255, 211, 61, 0.15), transparent 36%),
    linear-gradient(155deg, rgba(8, 20, 31, 0.98), rgba(18, 22, 30, 0.98));
}

.personal-launch-card.grandma-launch,
.personal-launch-card.nadya-launch {
  background:
    radial-gradient(circle at 12% 0%, rgba(167, 255, 56, 0.16), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(46, 232, 255, 0.14), transparent 36%),
    linear-gradient(155deg, rgba(11, 23, 18, 0.98), rgba(18, 22, 30, 0.98));
}

.personal-launch-copy {
  display: grid;
  gap: 8px;
}

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

.personal-launch-steps span {
  min-height: 52px;
  align-content: center;
  overflow-wrap: anywhere;
}

.personal-launch-steps strong {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(167, 255, 56, 0.14);
  color: #eaffc0;
}

.personal-launch-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 8px;
}

.personal-launch-actions > * {
  min-width: 0;
  min-height: 52px;
}

.release-ready-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 211, 61, 0.2), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(46, 232, 255, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(21, 18, 12, 0.98), rgba(14, 18, 31, 0.98));
  border-color: rgba(255, 211, 61, 0.18);
}

.release-script-mini {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 211, 61, 0.1);
  border: 1px solid rgba(255, 211, 61, 0.18);
}

.release-script-mini strong {
  color: #fff3ae;
  font-size: 13px;
  font-weight: 1000;
}

.release-script-mini span {
  color: rgba(247, 248, 238, 0.78);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 820;
}

.movement-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 93, 143, 0.22), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(46, 232, 255, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(15, 18, 32, 0.98), rgba(24, 16, 34, 0.98));
}

.movement-card.is-done {
  border-color: rgba(167, 255, 56, 0.32);
  background:
    radial-gradient(circle at 12% 0%, rgba(167, 255, 56, 0.2), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(46, 232, 255, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(12, 23, 20, 0.98), rgba(18, 22, 34, 0.98));
}

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

.movement-head > strong {
  min-height: 34px;
  min-width: 58px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 93, 143, 0.16);
  color: #ffd8e4;
  border: 1px solid rgba(255, 93, 143, 0.28);
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
}

.movement-proof {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(46, 232, 255, 0.08);
  border: 1px solid rgba(46, 232, 255, 0.16);
}

.movement-proof strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
}

.movement-proof span {
  color: rgba(247, 248, 238, 0.64);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 760;
}

.movement-finish {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 6px 0 #551c39, 0 16px 30px rgba(255, 93, 143, 0.2);
}

.sleep-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(127, 122, 255, 0.24), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(46, 232, 255, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(10, 12, 26, 0.98), rgba(20, 18, 39, 0.98));
}

.sleep-card.is-done {
  border-color: rgba(143, 255, 214, 0.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(143, 255, 214, 0.18), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(127, 122, 255, 0.22), transparent 34%),
    linear-gradient(155deg, rgba(9, 17, 27, 0.98), rgba(17, 18, 34, 0.98));
}

.sleep-head,
.dacha-watch-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.sleep-head > strong,
.dacha-watch-head > strong {
  min-width: 62px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(46, 232, 255, 0.12);
  color: #d9fbff;
  border: 1px solid rgba(46, 232, 255, 0.24);
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
}

.dacha-watch-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(167, 255, 56, 0.18), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(255, 211, 61, 0.16), transparent 30%),
    linear-gradient(155deg, rgba(13, 26, 18, 0.98), rgba(22, 22, 30, 0.98));
}

.dacha-watch-head > strong {
  background: rgba(167, 255, 56, 0.13);
  color: #e9ffb8;
  border-color: rgba(167, 255, 56, 0.26);
}

.dacha-options {
  grid-template-columns: 1fr;
}

.web-access-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 232, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(167, 255, 56, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(11, 18, 31, 0.98), rgba(18, 20, 32, 0.98));
}

.web-access-grid div {
  min-height: 70px;
}

.first-touch-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 79, 216, 0.2), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(167, 255, 56, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(16, 13, 30, 0.98), rgba(13, 19, 30, 0.98));
}

.first-touch-card.stesha-touch {
  border-color: rgba(255, 93, 143, 0.22);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 93, 143, 0.24), transparent 34%),
    radial-gradient(circle at 92% 4%, rgba(167, 255, 56, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(19, 12, 31, 0.98), rgba(21, 14, 32, 0.98));
}

.touch-copy {
  display: grid;
  gap: 8px;
}

.touch-visual,
.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.touch-visual div,
.install-steps div {
  min-width: 0;
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.touch-visual strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  font-size: 12px;
  font-weight: 1000;
}

.touch-visual span,
.install-steps span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 840;
}

.install-steps strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.touch-explainers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.touch-explainers > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(247, 248, 238, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 950;
}

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

.help-dot {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(46, 232, 255, 0.14);
  color: #d9fbff;
  border: 1px solid rgba(46, 232, 255, 0.26);
  font-size: 13px;
  line-height: 1;
  font-weight: 1000;
  outline: none;
}

.help-dot small {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 8px);
  width: min(240px, calc(100vw - 48px));
  padding: 10px;
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.98);
  color: rgba(247, 248, 238, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 780;
  text-transform: none;
  transform: translate(-50%, 4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.help-dot:hover small,
.help-dot:focus small,
.help-dot:focus-within small {
  opacity: 1;
  transform: translate(-50%, 0);
}

.install-quest-card {
  border-color: rgba(46, 232, 255, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 232, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 211, 61, 0.13), transparent 34%),
    linear-gradient(155deg, rgba(8, 17, 29, 0.98), rgba(16, 18, 30, 0.98));
}

.install-quest-card.is-captain {
  border-color: rgba(167, 255, 56, 0.26);
}

.server-gate-card,
.admin-overview-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 232, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 79, 216, 0.12), transparent 34%),
    linear-gradient(155deg, rgba(8, 13, 25, 0.98), rgba(18, 20, 32, 0.98));
}

.server-gate-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.server-gate-card.is-safe {
  border-color: rgba(167, 255, 56, 0.26);
  background:
    radial-gradient(circle at 12% 0%, rgba(167, 255, 56, 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(46, 232, 255, 0.14), transparent 34%),
    linear-gradient(155deg, rgba(10, 20, 20, 0.98), rgba(18, 20, 32, 0.98));
}

.server-gate-card.is-local {
  border-color: rgba(255, 211, 61, 0.22);
}

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

.admin-signal-list,
.admin-user-grid,
.admin-event-list {
  display: grid;
  gap: 8px;
}

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

.admin-signal-list div,
.admin-event-list div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-signal-list strong,
.admin-event-list strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.14;
  font-weight: 1000;
}

.admin-signal-list span,
.admin-event-list small,
.admin-user-row small,
.admin-user-invite small {
  color: rgba(247, 248, 238, 0.62);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.15fr) minmax(96px, 0.9fr) minmax(94px, 0.75fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-main {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
}

.admin-user-main > div,
.admin-user-invite {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-user-main strong,
.admin-user-invite span {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.admin-user-metrics {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-user-metrics span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 11px;
  line-height: 1.14;
  font-weight: 820;
}

.admin-user-metrics strong {
  color: #eaffc0;
  font-weight: 1000;
}

.admin-user-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-user-actions .push-btn {
  min-height: 44px;
}

.push-btn.ghost {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(247, 248, 238, 0.82);
}

.admin-event-list h3 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 1000;
}

.admin-event-list div {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
}

.admin-event-list div > small {
  grid-column: 2;
}

.data-trust-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 232, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 4%, rgba(143, 255, 214, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(9, 18, 28, 0.98), rgba(16, 18, 30, 0.98));
}

.data-zone-grid div {
  min-height: 74px;
}

.prize-fund-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 211, 61, 0.2), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(255, 79, 216, 0.14), transparent 34%),
    linear-gradient(155deg, rgba(27, 21, 12, 0.98), rgba(20, 18, 31, 0.98));
}

.prize-fund-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.prize-fund-head > strong {
  min-width: 94px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 211, 61, 0.15);
  color: #fff1a8;
  border: 1px solid rgba(255, 211, 61, 0.28);
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
}

.motivation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.motivation-strip span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 248, 238, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 900;
}

.dad-private-card {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 211, 61, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(17, 17, 27, 0.98), rgba(22, 15, 28, 0.98));
  border-color: rgba(255, 211, 61, 0.18);
}

.week0-feedback-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 232, 255, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(12, 18, 32, 0.98), rgba(14, 18, 28, 0.98));
}

.private-steps button.done {
  border-color: rgba(255, 211, 61, 0.3);
  background: rgba(255, 211, 61, 0.11);
}

.week0-feedback-card small,
.dad-private-card small {
  color: rgba(247, 248, 238, 0.58);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 760;
}

.update-head,
.growth-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.update-head strong,
.growth-head strong {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(167, 255, 56, 0.12);
  color: var(--green);
  border: 1px solid rgba(167, 255, 56, 0.24);
  font-size: 12px;
  font-weight: 1000;
}

.update-list div,
.ladder-steps button,
.growth-stage-grid button {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
}

.update-list div span,
.ladder-steps button span,
.growth-stage-grid button span,
.repeat-lines strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  font-weight: 1000;
}

.update-list div strong,
.ladder-steps button strong,
.growth-stage-grid button strong {
  align-self: end;
}

.ladder-steps button small,
.growth-stage-grid button small {
  grid-column: 2;
}

.surprise-card.is-open {
  border-color: rgba(255, 211, 61, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.15), transparent 42%),
    linear-gradient(225deg, rgba(167, 255, 56, 0.12), transparent 46%),
    rgba(14, 18, 28, 0.95);
}

.streak-shield-card {
  grid-template-columns: minmax(0, 1fr);
}

@media (hover: hover) {
  .pulse-option:hover,
  .movement-options button:hover,
  .private-steps button:hover,
  .feedback-options button:hover,
  .ladder-steps button:hover,
  .pledge-options button:hover,
  .growth-stage-grid button:hover {
    transform: translateY(-3px);
    filter: saturate(1.06) brightness(1.03);
    border-color: rgba(167, 255, 56, 0.34);
  }
}

@media (max-width: 360px) {
  .daily-pulse-card h2,
  .movement-card h2,
  .dad-private-card h2,
  .week0-feedback-card h2,
  .surprise-card h2,
  .trust-contract-card h2,
  .update-drop-card h2,
  .social-ladder-card h2,
  .pledge-card h2,
  .streak-shield-card h2,
  .growth-stage-card h2,
  .parent-experiment-card h2,
  .grandma-repeat-card h2 {
    font-size: 20px;
  }

  .pulse-options,
  .movement-options,
  .private-steps,
  .feedback-options,
  .trust-grid,
  .pledge-options,
  .growth-stage-grid,
  .experiment-grid {
    grid-template-columns: 1fr;
  }
}

/* Arcade trainers: game-like, private, light-weight. */
.arcade-screen {
  --arcade-ink: #f9fff2;
  --arcade-muted: rgba(249, 255, 242, 0.72);
}

.arcade-hero,
.arcade-league,
.arcade-design-note,
.world-map-card,
.mini-game-card,
.skin-studio,
.safe-insights-card,
.reading-raid-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--arcade-ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(167, 255, 56, 0.24), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(28, 176, 246, 0.24), transparent 34%),
    linear-gradient(150deg, rgba(8, 13, 24, 0.98), rgba(21, 27, 45, 0.98));
  box-shadow: 0 12px 0 rgba(7, 10, 20, 0.82), 0 22px 40px rgba(7, 10, 20, 0.2);
}

.grandma-evening-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 4%, rgba(143, 140, 255, 0.24), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(103, 232, 249, 0.14), transparent 36%),
    linear-gradient(155deg, #11172a, #080b14);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 0 rgba(7, 10, 20, 0.82), 0 22px 40px rgba(7, 10, 20, 0.2);
}

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

.evening-head h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 1000;
}

.evening-head > strong {
  min-height: 34px;
  min-width: 48px;
  display: grid;
  place-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(143, 140, 255, 0.16);
  color: #e8dcff;
  border: 1px solid rgba(143, 140, 255, 0.28);
  font-size: 13px;
  font-weight: 1000;
}

.grandma-evening-card p {
  margin: 0;
  color: rgba(249, 255, 242, 0.72);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 760;
}

.evening-steps {
  display: grid;
  gap: 8px;
}

.evening-steps button {
  min-height: 70px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: start;
  padding: 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

.evening-steps button span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(143, 140, 255, 0.18);
  color: #ffffff;
  font-weight: 1000;
}

.evening-steps button span:empty::before {
  content: "○";
  color: rgba(255, 255, 255, 0.55);
}

.evening-steps button strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.12;
  font-weight: 1000;
}

.evening-steps button small {
  grid-column: 2;
  color: rgba(249, 255, 242, 0.68);
  font-size: 13px;
  line-height: 1.18;
  font-weight: 760;
}

.evening-steps button.done {
  background: rgba(143, 140, 255, 0.16);
  border-color: rgba(143, 140, 255, 0.3);
}

.arcade-hero::before,
.arcade-league::before,
.world-map-card::before,
.mini-game-card::before,
.skin-studio::before,
.safe-insights-card::before,
.reading-raid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.38;
  animation: arcadeSweep 8s linear infinite;
  pointer-events: none;
}

@keyframes arcadeSweep {
  from {
    background-position: -80px 0;
  }
  to {
    background-position: 80px 0;
  }
}

.arcade-hero {
  padding: 16px;
}

.arcade-hero-grid,
.arcade-league-head,
.mini-game-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.arcade-hero-grid > *,
.arcade-league-head > *,
.mini-game-head > * {
  min-width: 0;
}

.arcade-hero h2,
.arcade-league h2,
.arcade-design-note h2,
.mini-game-card h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.02;
  font-weight: 1000;
}

.arcade-hero p,
.arcade-design-note p,
.mini-game-copy {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--arcade-muted);
  font-size: 13px;
  line-height: 1.36;
  font-weight: 760;
}

.arcade-console {
  position: relative;
  z-index: 1;
  width: 96px;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(167, 255, 56, 0.18), rgba(28, 176, 246, 0.1)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 255, 56, 0.26);
  text-align: center;
}

.arcade-console span,
.arcade-console small {
  color: rgba(249, 255, 242, 0.72);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.arcade-console strong {
  color: var(--green);
  font-size: 38px;
  line-height: 0.95;
  font-weight: 1000;
  text-shadow: 0 0 18px rgba(167, 255, 56, 0.32);
}

.arcade-now-card {
  position: relative;
  z-index: 1;
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 4px;
  margin-top: 14px;
  padding: 13px;
  border-radius: 8px;
  text-decoration: none;
  color: #071018;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, var(--green), var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 9px 0 rgba(98, 192, 18, 0.62), 0 22px 36px rgba(46, 232, 255, 0.12);
}

.arcade-now-card span {
  color: rgba(7, 16, 24, 0.72);
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
}

.arcade-now-card strong {
  color: #071018;
  font-size: 24px;
  line-height: 1;
  font-weight: 1000;
}

.arcade-now-card small {
  color: rgba(7, 16, 24, 0.76);
  font-size: 12px;
  line-height: 1.16;
  font-weight: 900;
}

.arcade-mode-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  max-width: 100%;
  min-width: 0;
  margin-top: 14px;
}

.arcade-mode-strip a {
  min-width: 0;
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #ffffff;
  text-decoration: none;
}

.arcade-mode-strip strong {
  font-size: 13px;
  font-weight: 1000;
}

.arcade-mode-strip span {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 780;
}

.arcade-league,
.arcade-design-note,
.world-map-card,
.mini-game-card,
.skin-studio,
.safe-insights-card,
.reading-raid-card {
  padding: 14px;
}

.arcade-league-head strong,
.mini-game-head > strong {
  position: relative;
  z-index: 1;
  min-width: 84px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(167, 255, 56, 0.13);
  color: var(--green);
  border: 1px solid rgba(167, 255, 56, 0.24);
  text-align: center;
  font-size: 12px;
  font-weight: 1000;
}

.arcade-score-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.world-map-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.world-head {
  position: relative;
  z-index: 1;
}

.world-head h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.02;
  font-weight: 1000;
}

.world-zone-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.world-zone-grid a {
  min-height: 84px;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: start;
  padding: 10px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.12), rgba(28, 176, 246, 0.08)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.world-zone-grid span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  font-size: 12px;
  font-weight: 1000;
}

.world-zone-grid strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.world-zone-grid small {
  color: rgba(249, 255, 242, 0.64);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 780;
}

.arcade-score {
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.arcade-score.is-me {
  background: rgba(167, 255, 56, 0.13);
  border-color: rgba(167, 255, 56, 0.28);
}

.arcade-score > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  font-weight: 1000;
}

.arcade-score strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
}

.arcade-score small {
  grid-column: 2;
  color: rgba(249, 255, 242, 0.6);
  font-size: 10px;
  font-weight: 780;
}

.arcade-score b {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 1000;
}

.arcade-design-note {
  background:
    linear-gradient(135deg, rgba(255, 211, 61, 0.18), transparent 44%),
    linear-gradient(160deg, #141927, #090d17);
}

.mini-game-head {
  align-items: center;
}

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

.memory-sequence,
.memory-answer,
.arcade-button-grid,
.sleep-dock {
  position: relative;
  z-index: 1;
}

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

.memory-sequence span,
.memory-answer span,
.arcade-token {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.memory-sequence b,
.arcade-token b {
  font-size: 26px;
  line-height: 1;
}

.memory-sequence small,
.arcade-token span {
  color: rgba(249, 255, 242, 0.66);
  font-size: 10px;
  font-weight: 850;
}

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

.memory-answer span {
  min-height: 42px;
  color: rgba(249, 255, 242, 0.48);
  font-size: 18px;
  font-weight: 1000;
}

.memory-answer span.filled {
  color: var(--green);
  background: rgba(167, 255, 56, 0.13);
  border-color: rgba(167, 255, 56, 0.28);
  animation: popPress 280ms ease both;
}

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

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

.arcade-token,
.arcade-choice {
  min-width: 0;
  min-height: 72px;
  padding: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.arcade-choice {
  display: grid;
  align-content: center;
  gap: 5px;
}

.arcade-choice strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.14;
  font-weight: 1000;
}

.arcade-choice span {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 780;
}

.arcade-token.lime,
.memory-sequence .lime {
  border-color: rgba(167, 255, 56, 0.24);
  background: rgba(167, 255, 56, 0.12);
}

.arcade-token.blue,
.memory-sequence .blue {
  border-color: rgba(28, 176, 246, 0.26);
  background: rgba(28, 176, 246, 0.12);
}

.arcade-token.green,
.memory-sequence .green {
  border-color: rgba(76, 222, 128, 0.22);
  background: rgba(76, 222, 128, 0.1);
}

.arcade-token.cyan,
.memory-sequence .cyan {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.1);
}

.arcade-token.yellow,
.memory-sequence .yellow {
  border-color: rgba(255, 211, 61, 0.26);
  background: rgba(255, 211, 61, 0.12);
}

.calm-orb-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 8px 0 2px;
}

.calm-orb {
  width: 154px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 8%),
    radial-gradient(circle, rgba(167, 255, 56, 0.28), rgba(28, 176, 246, 0.1) 58%, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(167, 255, 56, 0.34);
  box-shadow: 0 0 36px rgba(28, 176, 246, 0.24), inset 0 0 34px rgba(255, 255, 255, 0.08);
  animation: calmPulse 4.8s ease-in-out infinite;
}

.calm-orb.phase-hold {
  animation-duration: 3s;
}

.calm-orb.phase-exhale {
  animation-duration: 6s;
}

@keyframes calmPulse {
  0%,
  100% {
    transform: scale(0.92);
  }
  48% {
    transform: scale(1.06);
  }
}

.calm-orb span {
  color: var(--green);
  font-size: 44px;
  line-height: 0.8;
  font-weight: 1000;
}

.calm-orb strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
}

.calm-orb-wrap p {
  margin: 0;
  color: rgba(249, 255, 242, 0.68);
  font-size: 12px;
  font-weight: 840;
}

.arcade-choice.is-next,
.arcade-choice.is-done {
  background: rgba(167, 255, 56, 0.13);
  border-color: rgba(167, 255, 56, 0.32);
}

.arcade-choice.is-wrong {
  background: rgba(255, 93, 143, 0.12);
  border-color: rgba(255, 93, 143, 0.3);
}

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

.sleep-dock span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(249, 255, 242, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 1000;
}

.sleep-dock span.done {
  background: rgba(28, 176, 246, 0.15);
  color: #ffffff;
  border-color: rgba(28, 176, 246, 0.28);
}

.focus-status {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 211, 61, 0.14), rgba(255, 93, 143, 0.1));
  border: 1px solid rgba(255, 211, 61, 0.2);
}

.focus-status span {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.focus-status strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 1000;
}

.arcade-finish {
  position: relative;
  z-index: 1;
}

.radar-screen {
  position: relative;
  z-index: 1;
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 14px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(167, 255, 56, 0.16), transparent 34%),
    repeating-radial-gradient(circle at center, rgba(167, 255, 56, 0.18) 0 1px, transparent 1px 26px),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 255, 56, 0.18);
}

.radar-screen > span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform-origin: 0 50%;
  animation: radarSpin 3.2s linear infinite;
}

@keyframes radarSpin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

.radar-screen strong,
.radar-screen p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.skin-studio,
.safe-insights-card {
  display: grid;
  gap: 12px;
}

.reading-raid-card {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 211, 61, 0.2), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(167, 255, 56, 0.14), transparent 36%),
    linear-gradient(155deg, #141a2a, #090d17);
}

.reading-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.reading-head h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 1000;
}

.reading-head > strong {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 211, 61, 0.13);
  color: var(--yellow);
  border: 1px solid rgba(255, 211, 61, 0.24);
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
}

.reading-raid-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(249, 255, 242, 0.7);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 780;
}

.reading-options,
.proof-grid,
.reading-actions,
.reading-retell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

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

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

.reading-options button,
.proof-grid button,
.reading-check {
  min-width: 0;
  min-height: 66px;
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

.reading-retell {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.reading-retell strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.14;
  font-weight: 1000;
}

.reading-retell span {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  line-height: 1.22;
  font-weight: 780;
}

.reading-retell textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 15, 0.56);
  color: #ffffff;
  outline: none;
  font: inherit;
  font-size: 13px;
  line-height: 1.32;
}

.reading-retell textarea:focus {
  border-color: rgba(255, 211, 61, 0.46);
  box-shadow: 0 0 0 3px rgba(255, 211, 61, 0.08);
}

.reading-options button.is-selected,
.proof-grid button.is-selected {
  background: rgba(255, 211, 61, 0.13);
  border-color: rgba(255, 211, 61, 0.3);
}

.reading-options strong,
.proof-grid strong,
.reading-check strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 1000;
}

.reading-options span,
.proof-grid span,
.reading-check span {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 780;
}

.reading-check {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  background: rgba(28, 176, 246, 0.1);
  border-color: rgba(28, 176, 246, 0.22);
}

.reading-audit {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 11px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(167, 255, 56, 0.12), transparent 42%),
    rgba(8, 15, 26, 0.72);
  border: 1px solid rgba(167, 255, 56, 0.18);
}

.reading-audit.compact {
  gap: 4px;
  background: rgba(167, 255, 56, 0.08);
}

.reading-audit strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.16;
  font-weight: 1000;
}

.reading-audit span {
  color: rgba(249, 255, 242, 0.64);
  font-size: 11px;
  line-height: 1.24;
  font-weight: 820;
}

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

.reading-audit-grid span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.reading-audit-grid b {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(167, 255, 56, 0.16);
  color: var(--lime);
  font-size: 11px;
  line-height: 1;
}

.reading-audit-grid .warn b {
  background: rgba(255, 211, 61, 0.15);
  color: var(--yellow);
}

.reading-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.grandma-mode {
  --nav-h: 84px;
}

.grandma-mode .app {
  padding-left: 12px;
  padding-right: 12px;
}

.grandma-mode button {
  min-height: 58px;
}

.grandma-mode .nav-btn span:last-child,
.grandma-mode .role-copy,
.grandma-mode .mission-copy,
.grandma-mode .mini-game-copy,
.grandma-mode .reading-raid-card p {
  font-size: 15px;
  line-height: 1.32;
}

.grandma-mode .choice,
.grandma-mode .push-btn,
.grandma-mode .arcade-choice,
.grandma-mode .arcade-token,
.grandma-mode .proof-grid button,
.grandma-mode .reading-options button {
  font-size: 16px;
}

.grandma-mode .topbar h1,
.grandma-mode .simple-command h2,
.grandma-mode .grandma-repeat-card h2,
.grandma-mode .mini-game-card h2 {
  font-size: 25px;
}

.big-action,
.secondary-action,
.tiny-action,
.push-btn,
.arcade-choice,
.arcade-token {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.skin-head,
.insight-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
}

.skin-head h2,
.safe-insights-card h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 1000;
}

.skin-head p,
.safe-insights-card p {
  margin: 8px 0 0;
  color: rgba(249, 255, 242, 0.7);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.skin-preview {
  position: relative;
  z-index: 1;
  min-width: 92px;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.44), transparent 18%),
    linear-gradient(145deg, rgba(167, 255, 56, 0.22), rgba(28, 176, 246, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.skin-preview span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #ffffff;
  color: #0c101c;
  font-weight: 1000;
  font-size: 22px;
}

.skin-preview strong {
  color: #ffffff;
  font-size: 11px;
  line-height: 1.12;
  font-weight: 1000;
}

.skin-grid,
.insight-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skin-card,
.insight-list div {
  min-width: 0;
  min-height: 78px;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

.skin-card span,
.insight-list span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--green);
  font-size: 12px;
  font-weight: 1000;
}

.skin-card strong,
.insight-list strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.skin-card small,
.insight-list small {
  color: rgba(249, 255, 242, 0.62);
  font-size: 11px;
  line-height: 1.18;
  font-weight: 760;
}

.skin-card.is-active {
  border-color: rgba(167, 255, 56, 0.42);
  background: rgba(167, 255, 56, 0.14);
  box-shadow: inset 0 0 22px rgba(167, 255, 56, 0.08);
}

.skin-card.is-locked:not(.is-unlocked) {
  filter: grayscale(0.35);
  opacity: 0.78;
}

.skin-neon {
  background: linear-gradient(145deg, rgba(157, 255, 47, 0.16), rgba(0, 213, 255, 0.12));
}

.skin-moon {
  background: linear-gradient(145deg, rgba(143, 140, 255, 0.18), rgba(232, 220, 255, 0.1));
}

.skin-dacha {
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.18), rgba(56, 189, 248, 0.1));
}

.skin-boss {
  background: linear-gradient(145deg, rgba(255, 223, 61, 0.2), rgba(255, 61, 113, 0.12));
}

.skin-bubble {
  background: linear-gradient(145deg, rgba(103, 232, 249, 0.18), rgba(249, 168, 212, 0.12));
}

.bubble-board {
  position: relative;
  z-index: 1;
  min-height: 236px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.noise-bubble {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle, rgba(167, 255, 56, 0.22), rgba(28, 176, 246, 0.12));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.1), 0 0 22px rgba(28, 176, 246, 0.12);
  animation: bubbleFloat calc(3.2s + var(--i) * 0.18s) ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

.noise-bubble span {
  max-width: 76px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 1000;
  text-align: center;
}

.noise-bubble.pink {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle, rgba(255, 93, 143, 0.28), rgba(167, 139, 250, 0.12));
}

.noise-bubble.yellow {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle, rgba(255, 211, 61, 0.3), rgba(255, 140, 43, 0.12));
}

.noise-bubble.green {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle, rgba(74, 222, 128, 0.28), rgba(28, 176, 246, 0.1));
}

.noise-bubble.cyan {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.82), transparent 11%),
    radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(143, 140, 255, 0.12));
}

.noise-bubble.is-popped {
  opacity: 0.42;
  transform: scale(0.86);
  animation: none;
}

.bubble-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.bubble-status strong {
  color: var(--green);
  font-size: 14px;
  font-weight: 1000;
}

.bubble-status span {
  color: rgba(249, 255, 242, 0.66);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 780;
  text-align: right;
}

.dark-room {
  position: relative;
  z-index: 1;
  min-height: 176px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding: 16px 10px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 211, 61, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 211, 61, 0.07), rgba(5, 8, 15, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: background 260ms ease, filter 260ms ease;
}

.dark-room.is-quiet {
  background:
    radial-gradient(circle at 50% 18%, rgba(143, 140, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(14, 19, 34, 0.78), rgba(2, 4, 9, 0.96));
  filter: saturate(0.82) brightness(0.86);
}

.lamp {
  min-width: 0;
  min-height: 120px;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 10px 5px;
  border-radius: 999px 999px 8px 8px;
  color: #3b2a00;
  background:
    radial-gradient(circle at 50% 18%, #fff8c8, #ffd33d 34%, rgba(255, 211, 61, 0.2) 58%, transparent 70%);
  box-shadow: 0 0 24px rgba(255, 211, 61, 0.28);
}

.lamp span {
  display: grid;
  place-items: center;
  min-height: 26px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 1000;
}

.lamp.off {
  color: rgba(249, 255, 242, 0.62);
  background: linear-gradient(180deg, rgba(143, 140, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: none;
}

.spark-field {
  position: relative;
  z-index: 1;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(28, 176, 246, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.spark-dot {
  position: absolute;
  width: 54px;
  height: 54px;
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #061005;
  background: radial-gradient(circle, #ffffff, var(--green));
  box-shadow: 0 0 24px rgba(167, 255, 56, 0.34);
  animation: sparkBlink 1.8s ease-in-out infinite;
}

.spark-dot:nth-child(1) { left: 10%; top: 16%; }
.spark-dot:nth-child(2) { left: 42%; top: 8%; animation-delay: 140ms; }
.spark-dot:nth-child(3) { right: 12%; top: 22%; animation-delay: 260ms; }
.spark-dot:nth-child(4) { left: 20%; bottom: 18%; animation-delay: 390ms; }
.spark-dot:nth-child(5) { left: 54%; bottom: 14%; animation-delay: 520ms; }
.spark-dot:nth-child(6) { right: 8%; bottom: 36%; animation-delay: 640ms; }
.spark-dot:nth-child(7) { left: 42%; top: 42%; animation-delay: 760ms; }

@keyframes sparkBlink {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.spark-dot span {
  font-size: 18px;
  font-weight: 1000;
}

.spark-dot.hit {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
  opacity: 0.56;
  animation: none;
}

.safe-insights-card {
  background:
    linear-gradient(145deg, rgba(28, 176, 246, 0.14), transparent 44%),
    linear-gradient(160deg, #151a29, #090d17);
}

.insight-head strong {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 211, 61, 0.13);
  color: var(--yellow);
  border: 1px solid rgba(255, 211, 61, 0.22);
  font-size: 12px;
  font-weight: 1000;
}

.insight-list div.has-data {
  background: rgba(28, 176, 246, 0.12);
  border-color: rgba(28, 176, 246, 0.24);
}

.radar-screen strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 1000;
}

.radar-screen p {
  color: rgba(249, 255, 242, 0.68);
  font-size: 12px;
  line-height: 1.24;
  font-weight: 800;
}

body[data-route="arcade"] {
  --green: #7dfd7a;
  --blue: #42e8ff;
  --pink: #ff61d8;
}

body[data-route="league"] {
  --green: #ffd33d;
  --blue: #5eead4;
  --pink: #b882ff;
}

body[data-route="book"] {
  --green: #9eff7a;
  --blue: #7dd3fc;
  --pink: #f9a8d4;
}

.today-plan-card,
.sound-start-card,
.family-radio-card,
.section-guide-card,
.more-world {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 8% 0%, rgba(167, 255, 56, 0.17), transparent 34%),
    radial-gradient(circle at 94% 0%, rgba(46, 232, 255, 0.14), transparent 36%),
    linear-gradient(155deg, rgba(12, 16, 28, 0.98), rgba(17, 19, 31, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.today-plan-card::before,
.sound-start-card::before,
.family-radio-card::before,
.section-guide-card::before {
  content: "";
  position: absolute;
  inset: -45% -24% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.14), transparent 66%);
  pointer-events: none;
}

.today-plan-card > *,
.sound-start-card > *,
.family-radio-card > *,
.section-guide-card > *,
.more-world > * {
  position: relative;
  z-index: 1;
}

.today-plan-head,
.radio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.today-plan-head h2,
.sound-start-card h2,
.radio-head h2,
.section-guide-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.03;
  font-weight: 1000;
}

.today-plan-head p,
.sound-start-card p,
.radio-head p,
.section-guide-card p {
  margin: 7px 0 0;
  color: rgba(247, 248, 238, 0.75);
  font-size: 14px;
  line-height: 1.34;
  font-weight: 780;
}

.today-plan-head > strong,
.radio-head > strong {
  min-width: 58px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(167, 255, 56, 0.13);
  color: #eaffc0;
  border: 1px solid rgba(167, 255, 56, 0.24);
  text-align: center;
  font-size: 12px;
  font-weight: 1000;
}

.today-step-grid,
.sound-start-actions,
.radio-actions,
.section-guide-chips {
  display: grid;
  gap: 8px;
}

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

.today-step {
  min-width: 0;
  min-height: 112px;
  display: grid;
  gap: 5px;
  justify-items: start;
  align-content: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.today-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #071008;
  font-weight: 1000;
}

.today-step strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 1000;
}

.today-step small {
  color: rgba(247, 248, 238, 0.66);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 780;
}

.today-step em {
  align-self: end;
  color: var(--yellow);
  font-style: normal;
  font-size: 11px;
  font-weight: 1000;
}

.today-note {
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(255, 211, 61, 0.1);
  color: #fff1a8;
  border: 1px solid rgba(255, 211, 61, 0.2);
  font-size: 12px;
  line-height: 1.32;
  font-weight: 840;
}

.stesha-today {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 93, 143, 0.21), transparent 36%),
    radial-gradient(circle at 94% 0%, rgba(167, 255, 56, 0.17), transparent 38%),
    linear-gradient(155deg, rgba(19, 12, 32, 0.98), rgba(25, 15, 35, 0.98));
}

.grandpa-today {
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 232, 255, 0.2), transparent 36%),
    radial-gradient(circle at 94% 0%, rgba(255, 211, 61, 0.14), transparent 38%),
    linear-gradient(155deg, rgba(7, 20, 31, 0.98), rgba(18, 22, 30, 0.98));
}

.sound-start-actions,
.radio-actions {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.family-radio-card {
  background:
    linear-gradient(135deg, rgba(46, 232, 255, 0.14), transparent 42%),
    linear-gradient(225deg, rgba(255, 211, 61, 0.1), transparent 44%),
    rgba(12, 16, 28, 0.98);
}

.radio-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 8px;
  padding: 9px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(46, 232, 255, 0.16), transparent 42%),
    rgba(12, 16, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.radio-strip-main {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: start;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.radio-strip-main span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 1000;
}

.radio-strip-main strong {
  max-width: 100%;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.16;
  font-weight: 1000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-strip-main small {
  color: rgba(247, 248, 238, 0.58);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
}

.radio-strip-action {
  min-width: 0;
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061005;
  font-size: 20px;
  font-weight: 1000;
}

.radio-privacy {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 211, 61, 0.09);
  border: 1px solid rgba(255, 211, 61, 0.18);
}

.radio-privacy strong,
.radio-draft span {
  color: #fff1a8;
  font-size: 12px;
  font-weight: 1000;
}

.radio-privacy span {
  color: rgba(247, 248, 238, 0.72);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 780;
}

.radio-draft {
  display: grid;
  gap: 7px;
}

.radio-draft textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  font: inherit;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 760;
}

.radio-draft textarea::placeholder {
  color: rgba(247, 248, 238, 0.38);
}

.radio-list {
  display: grid;
  gap: 8px;
}

.radio-list > div,
.radio-empty {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.radio-list > div.is-local {
  border-color: rgba(255, 211, 61, 0.22);
  background: rgba(255, 211, 61, 0.08);
}

.radio-list > div > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #071008;
  font-weight: 1000;
}

.radio-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 950;
}

.radio-list small {
  grid-column: 2;
  color: rgba(247, 248, 238, 0.58);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 780;
}

.radio-empty {
  grid-template-columns: 1fr;
  color: rgba(247, 248, 238, 0.68);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
}

.radio-float {
  position: fixed;
  z-index: 50;
  right: max(12px, env(safe-area-inset-right, 0px) + 12px);
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.radio-float > * {
  pointer-events: auto;
}

.radio-fab {
  position: relative;
  min-width: 78px;
  min-height: 54px;
  padding: 9px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #42e8ff, #a7ff38);
  color: #061005;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 0 30px rgba(66, 232, 255, 0.22);
  font-size: 13px;
  font-weight: 1000;
}

.radio-fab b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff4fd8;
  color: #ffffff;
  border: 2px solid #071008;
  font-size: 11px;
  font-weight: 1000;
}

.radio-drawer {
  position: fixed;
  right: max(10px, env(safe-area-inset-right, 0px) + 10px);
  bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  width: min(390px, calc(100vw - 20px));
  max-height: min(660px, calc(100vh - 178px));
  overflow: auto;
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(7, 9, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.radio-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}

.radio-drawer-head strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 1000;
}

.radio-drawer-head button {
  width: 38px;
  min-height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.radio-drawer .family-radio-card {
  box-shadow: none;
}

.section-guide-card {
  background:
    linear-gradient(135deg, rgba(167, 255, 56, 0.1), transparent 42%),
    linear-gradient(225deg, rgba(167, 139, 250, 0.12), transparent 46%),
    rgba(13, 16, 28, 0.96);
}

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

.section-guide-chips span {
  min-width: 0;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 248, 238, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 11px;
  line-height: 1.12;
  font-weight: 950;
}

.more-world {
  padding: 0;
  overflow: hidden;
}

.more-world summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  list-style: none;
}

.more-world summary::-webkit-details-marker {
  display: none;
}

.more-world summary span {
  color: rgba(247, 248, 238, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.more-world summary strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 1000;
  text-align: right;
}

.more-world summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  grid-column: 2;
  grid-row: 1 / span 2;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--green);
  font-size: 20px;
  font-weight: 1000;
}

.more-world[open] summary::after {
  content: "–";
}

.more-world-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.arcade-score {
  grid-template-columns: 34px minmax(0, 1fr) minmax(58px, auto);
}

.arcade-score strong,
.arcade-score small,
.arcade-score b {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (hover: hover) {
  .arcade-mode-strip a:hover,
  .arcade-now-card:hover,
  .arcade-token:hover,
  .arcade-choice:hover,
  .skin-card:hover,
  .noise-bubble:hover {
    transform: translateY(-3px);
    filter: saturate(1.12) brightness(1.05);
    border-color: rgba(167, 255, 56, 0.32);
  }
}

@media (max-width: 390px) {
  .help-dot {
    width: 44px;
    height: 44px;
  }

  .help-dot small {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 74px);
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    transform: translateY(4px);
  }

  .help-dot:hover small,
  .help-dot:focus small,
  .help-dot:focus-within small {
    transform: translateY(0);
  }

  .personal-launch-steps,
  .personal-launch-actions,
  .release-checklist,
  .touch-visual,
  .touch-actions,
  .install-steps,
  .today-step-grid,
  .sound-start-actions,
  .radio-actions,
  .section-guide-chips {
    grid-template-columns: 1fr;
  }

  .personal-launch-actions > *,
  .release-checklist button,
  .touch-actions > *,
  .today-step,
  .radio-actions > * {
    min-height: 58px;
  }

  .today-step {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
  }

  .today-step span {
    grid-row: 1 / span 2;
  }

  .today-step small {
    grid-column: 2 / span 2;
  }

  .today-plan-head,
  .radio-head {
    grid-template-columns: 1fr;
  }

  .today-plan-head > strong,
  .radio-head > strong {
    justify-self: start;
  }

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

  .today-step {
    min-height: 108px;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 8px;
  }

  .today-step span {
    grid-row: auto;
    width: 24px;
    height: 24px;
  }

  .today-step small {
    grid-column: auto;
    font-size: 10px;
  }

  .today-step strong {
    font-size: 11px;
  }

  .today-step em {
    font-size: 10px;
  }

  .sound-start-card {
    gap: 9px;
    padding: 12px;
  }

  .sound-start-card h2 {
    font-size: 19px;
  }

  .sound-start-card p {
    font-size: 12px;
    line-height: 1.28;
  }

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

  .sound-start-actions .big-action,
  .sound-start-actions .push-btn {
    min-height: 46px;
    padding: 9px 8px;
    font-size: 12px;
  }

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

  .hero-actions .hero-main-action {
    grid-column: 1 / -1;
  }

  .hero-actions .mini-chip {
    min-width: 0;
    min-height: 46px;
    padding: 9px 10px;
  }

  .arcade-hero h2,
  .arcade-league h2,
  .arcade-design-note h2,
  .mini-game-card h2 {
    font-size: 22px;
  }

  .arcade-console {
    width: 82px;
    min-height: 96px;
  }

  .arcade-console strong {
    font-size: 32px;
  }

  .arcade-button-grid.three {
    grid-template-columns: 1fr;
  }

  .skin-head,
  .insight-head,
  .reading-head,
  .server-gate-card,
  .admin-head {
    display: grid;
  }

  .admin-signal-list,
  .admin-user-row,
  .admin-user-actions {
    grid-template-columns: 1fr;
  }

  .server-gate-card,
  .admin-head {
    grid-template-columns: 1fr;
  }

  .admin-user-row {
    align-items: stretch;
  }

  .admin-user-actions .push-btn {
    min-height: 52px;
  }

  .skin-preview {
    width: 100%;
    min-height: 84px;
    grid-auto-flow: column;
    justify-content: start;
    gap: 10px;
  }
}

@media (max-width: 350px) {
  .arcade-hero-grid,
  .arcade-league-head,
  .mini-game-head {
    display: grid;
  }

  .arcade-console {
    width: 100%;
    min-height: 78px;
  }

  .memory-sequence,
  .memory-answer,
  .sleep-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arcade-button-grid {
    grid-template-columns: 1fr;
  }

  .skin-grid,
  .insight-list,
  .admin-signal-list,
  .bubble-board,
  .arcade-mode-strip,
  .world-zone-grid,
  .proof-grid,
  .reading-options,
  .reading-actions {
    grid-template-columns: 1fr;
  }

  .reading-audit-grid {
    grid-template-columns: 1fr;
  }
}
