:root {
  color-scheme: dark;
  --bg: #080c18;
  --app: #0b1122;
  --surface: #131b31;
  --surface-raised: #19233e;
  --surface-soft: #202b48;
  --line: rgba(157, 177, 224, 0.16);
  --line-strong: rgba(157, 177, 224, 0.3);
  --text: #f7f8ff;
  --muted: #9da9c6;
  --muted-2: #727e9d;
  --pink: #ff6f9e;
  --coral: #ff8a62;
  --violet: #a88bff;
  --mint: #3de0ad;
  --sky: #62c4ff;
  --gold: #ffc857;
  --danger: #ff6f7c;
  --success: #3de0ad;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --nav-height: 76px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 139, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 42%, rgba(98, 196, 255, 0.1), transparent 32rem),
    #070b15;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:not(:disabled),
a,
summary {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: var(--sky);
}

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

h1,
h2,
h3,
strong,
b {
  letter-spacing: -0.025em;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

#app {
  position: relative;
  width: min(100%, 560px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 18px 22px, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76px 96px, rgba(98, 196, 255, 0.16) 0 1px, transparent 1.5px),
    linear-gradient(180deg, #0d1428 0%, var(--app) 42%, #0a1020 100%);
  background-size: 120px 140px, 180px 210px, auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow);
}

.cosmic-easter-eggs {
  position: fixed;
  z-index: 35;
  top: 0;
  bottom: var(--nav-height);
  left: 50%;
  width: min(100%, 560px);
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.easter-ufo {
  position: absolute;
  top: 17%;
  left: -130px;
  width: 108px;
  height: 132px;
  animation: ufo-cross 7.2s linear both;
}

.easter-ufo__ship {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 13px;
  width: 82px;
  height: 31px;
  border: 2px solid rgba(194, 233, 255, 0.82);
  border-radius: 50%;
  background: linear-gradient(180deg, #7788aa, #202a43 58%, #101729);
  box-shadow: 0 0 22px rgba(98, 196, 255, 0.7);
}

.easter-ufo__ship::before {
  position: absolute;
  right: 25px;
  bottom: 20px;
  left: 25px;
  height: 22px;
  border: 2px solid rgba(168, 139, 255, 0.7);
  border-radius: 50% 50% 34% 34%;
  background: rgba(98, 196, 255, 0.32);
  content: "";
}

.easter-ufo__ship i {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 4px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, var(--mint) 0 7px, transparent 7px 14px);
  filter: drop-shadow(0 0 5px var(--mint));
}

.easter-ufo__beam {
  position: absolute;
  top: 23px;
  left: 27px;
  display: grid;
  width: 54px;
  height: 102px;
  place-items: end center;
  padding-bottom: 5px;
  background: linear-gradient(180deg, rgba(98, 196, 255, 0.36), rgba(61, 224, 173, 0.04));
  clip-path: polygon(37% 0, 63% 0, 100% 100%, 0 100%);
  opacity: 0;
  animation: tractor-beam 7.2s ease-in-out both;
}

.easter-ufo__beam b {
  font-size: 25px;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.4));
  animation: cow-abduction 7.2s ease-in-out both;
}

.easter-alien {
  position: absolute;
  display: flex;
  width: max-content;
  max-width: min(240px, 82%);
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(61, 224, 173, 0.35);
  border-radius: 22px;
  background: rgba(8, 25, 30, 0.94);
  box-shadow: 0 0 26px rgba(61, 224, 173, 0.25);
}

.easter-alien b {
  font-size: 34px;
}

.easter-alien span {
  max-width: 175px;
  color: #bcefdc;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.easter-alien--bottom-right,
.easter-alien--bottom-left {
  bottom: -82px;
  padding-bottom: 13px;
  border-radius: 22px 22px 0 0;
  animation: alien-peek-bottom 5.2s ease-in-out both;
}

.easter-alien--bottom-right { right: 12px; }
.easter-alien--bottom-left { left: 12px; flex-direction: row-reverse; }

.easter-alien--left,
.easter-alien--right {
  top: var(--alien-offset);
}

.easter-alien--left {
  left: -245px;
  padding-left: 16px;
  border-radius: 0 22px 22px 0;
  animation: alien-peek-left 5.2s ease-in-out both;
}

.easter-alien--right {
  right: -245px;
  flex-direction: row-reverse;
  padding-right: 16px;
  border-radius: 22px 0 0 22px;
  animation: alien-peek-right 5.2s ease-in-out both;
}

.easter-alien--top {
  top: -112px;
  left: var(--alien-offset);
  flex-direction: column;
  min-width: 118px;
  padding-top: 14px;
  border-radius: 0 0 22px 22px;
  text-align: center;
  animation: alien-peek-top 5.2s ease-in-out both;
}

.easter-alien--top b { line-height: 0.9; }

.app-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-content {
  width: 100%;
  padding: 22px 20px calc(var(--nav-height) + 30px);
}

.page-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 64px;
  padding: max(8px, env(safe-area-inset-top)) 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 34, 0.88);
  backdrop-filter: blur(18px);
}

.page-header h1 {
  overflow: hidden;
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-spacer {
  width: 44px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
}

.icon-button:active {
  transform: scale(0.96);
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 560px);
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(20px);
}

.nav-item {
  display: grid;
  gap: 3px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  color: var(--muted-2);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.nav-item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  font-size: 19px;
}

.nav-item.is-active {
  color: var(--text);
  background: rgba(98, 196, 255, 0.08);
}

.nav-item.is-active span {
  color: #091224;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  box-shadow: 0 6px 20px rgba(61, 224, 173, 0.22);
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 17px;
  font-weight: 800;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.primary-button {
  border: 0;
  color: #101323;
  background: linear-gradient(120deg, var(--pink), var(--coral) 48%, var(--gold));
  box-shadow: 0 12px 30px rgba(255, 111, 158, 0.22);
}

.primary-button:hover:not(:disabled) {
  filter: brightness(1.06);
}

.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled),
.ghost-button:active:not(:disabled) {
  transform: scale(0.98);
}

.secondary-button {
  border: 1px solid rgba(98, 196, 255, 0.35);
  color: var(--sky);
  background: rgba(98, 196, 255, 0.09);
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.text-button {
  padding: 6px 0;
  border: 0;
  color: var(--sky);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
}

.sticky-action {
  position: sticky;
  z-index: 25;
  bottom: 18px;
  margin-top: 18px;
}

.splash,
.loading-card {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-content: center;
  place-items: center;
  color: var(--muted);
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 19px;
  color: #0c1223;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  box-shadow: 0 12px 36px rgba(255, 111, 158, 0.28);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.auth-screen,
.onboarding-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 46px 22px 32px;
}

.auth-hero {
  padding: 14px 4px 28px;
}

.auth-hero h1,
.onboarding-screen h1 {
  max-width: 470px;
  margin-bottom: 16px;
  font-size: clamp(34px, 8vw, 47px);
  line-height: 0.98;
}

.auth-hero h1 em {
  color: var(--pink);
  font-style: normal;
}

.auth-hero > p:last-child,
.premium-lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.auth-card,
.onboarding-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(19, 27, 49, 0.92);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 15px;
  background: #0d1427;
}

.auth-tab {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
}

.auth-tab.is-active {
  color: var(--text);
  background: var(--surface-soft);
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack label:not(.checkbox) {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: #0d1427;
}

input:focus,
select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(98, 196, 255, 0.12);
}

textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(98, 196, 255, 0.12);
}

.checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--pink);
}

.auth-card > .ghost-button {
  margin-top: 12px;
}

.legal-note {
  margin: 16px 4px 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px 18px;
}

.home-header--compact {
  gap: 7px;
  margin: 0 0 12px;
}

.home-header h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
}

.home-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.admin-shortcut,
.notifications-shortcut {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(19, 27, 49, 0.86);
  font-size: 17px;
}

.admin-shortcut:hover,
.admin-shortcut:focus-visible,
.notifications-shortcut:hover,
.notifications-shortcut:focus-visible {
  border-color: rgba(98, 196, 255, 0.45);
  color: var(--sky);
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(168, 139, 255, 0.36);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(168, 139, 255, 0.3), rgba(98, 196, 255, 0.12));
  font-size: 17px;
  font-weight: 850;
}

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

.home-header--compact .stats-row {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.95fr) minmax(0, 1.25fr);
  flex: 1 1 auto;
  gap: 5px;
}

.stat-pill {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(19, 27, 49, 0.86);
}

.stat-pill svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.stat-pill--streak svg { color: var(--coral); }
.stat-pill--ticket svg { color: var(--gold); }
.stat-pill--energy svg { color: var(--mint); }

.stat-pill span {
  display: grid;
  min-width: 0;
}

.stat-pill strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.stat-pill small {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stat-pill--energy {
  padding-right: 28px;
}

.stat-pill__plus {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(61, 224, 173, 0.48);
  border-radius: 8px;
  color: #07131a;
  background: var(--mint);
  box-shadow: 0 0 13px rgba(61, 224, 173, 0.2);
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
}

.stat-pill__plus:hover,
.stat-pill__plus:focus-visible {
  transform: scale(1.08);
}

.home-header--compact .stat-pill {
  min-height: 38px;
  gap: 5px;
  padding: 6px 7px;
  border-radius: 12px;
}

.home-header--compact .stat-pill svg {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.home-header--compact .stat-pill strong {
  font-size: 13px;
}

.home-header--compact .stat-pill small {
  font-size: 7px;
  letter-spacing: 0.02em;
}

.home-header--compact .stat-pill--energy {
  padding-right: 24px;
}

.home-header--compact .stat-pill__plus {
  top: 8px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  font-size: 14px;
}

.daily-reward-chip {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(255, 200, 87, 0.08);
}

.daily-reward-chip > span {
  font-size: 15px;
  line-height: 1;
}

.daily-reward-chip > small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 850;
  line-height: 1;
}

.daily-reward-chip > i {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px rgba(255, 111, 158, 0.75);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.daily-reward-chip.is-ready {
  border-color: rgba(255, 200, 87, 0.58);
  box-shadow: 0 0 18px rgba(255, 200, 87, 0.1);
}

.daily-reward-chip.is-claimed {
  color: var(--mint);
  border-color: rgba(61, 224, 173, 0.22);
  background: rgba(61, 224, 173, 0.06);
}

.daily-reward-backdrop {
  align-items: center;
  padding: 18px;
}

.daily-reward-sheet {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 5%, rgba(255, 200, 87, 0.17), transparent 12rem),
    radial-gradient(circle at 8% 90%, rgba(61, 224, 173, 0.1), transparent 11rem),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 14%, rgba(98, 196, 255, 0.3) 0 1px, transparent 1.5px),
    #151e35;
  background-size: auto, auto, 83px 97px, 121px 113px, auto;
}

.daily-reward-sheet.is-revealed {
  animation: daily-reward-reveal 620ms cubic-bezier(0.2, 0.9, 0.25, 1.2);
}

.daily-reward__today {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 13px;
  margin: -4px 52px 20px 0;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 200, 87, 0.38);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(255, 200, 87, 0.15), rgba(255, 111, 158, 0.08));
  box-shadow: 0 0 34px rgba(255, 200, 87, 0.08);
}

.daily-reward__planet {
  position: relative;
  display: grid;
  width: 57px;
  height: 57px;
  flex: 0 0 57px;
  place-items: center;
  border: 1px solid rgba(255, 245, 196, 0.68);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.85) 0 3px, transparent 4px),
    linear-gradient(145deg, #ffdc73, #ff8877 55%, #a88bff);
  box-shadow: inset -10px -12px 20px rgba(64, 28, 85, 0.25), 0 0 24px rgba(255, 200, 87, 0.28);
}

.daily-reward__planet::before {
  position: absolute;
  width: 74px;
  height: 24px;
  border: 2px solid rgba(255, 224, 142, 0.58);
  border-radius: 50%;
  content: "";
  transform: rotate(-15deg);
  animation: daily-orbit 7s linear infinite;
}

.daily-reward__planet b {
  color: #19172d;
  font-size: 22px;
  text-shadow: 0 1px rgba(255, 255, 255, 0.35);
}

.daily-reward__today > span:last-child {
  display: grid;
  min-width: 0;
}

.daily-reward__today small {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.daily-reward__today strong {
  margin-top: 2px;
  color: var(--text);
  font-size: 23px;
  line-height: 1;
}

.daily-reward__today strong em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.daily-reward__today > span:last-child > b {
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
}

.daily-reward__rule {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(98, 196, 255, 0.16);
  border-radius: 14px;
  background: rgba(98, 196, 255, 0.055);
}

.daily-reward__rule > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: var(--mint);
  background: rgba(61, 224, 173, 0.1);
  box-shadow: 0 0 15px rgba(61, 224, 173, 0.13);
}

.daily-reward__rule p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.daily-reward__days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 17px 0 3px;
  padding: 0;
  list-style: none;
}

.daily-reward__days::before {
  position: absolute;
  top: 50%;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(61, 224, 173, 0.15), rgba(98, 196, 255, 0.48), rgba(168, 139, 255, 0.16));
  box-shadow: 0 0 10px rgba(98, 196, 255, 0.22);
  content: "";
}

.daily-reward__days li {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  gap: 1px;
  place-content: center;
  padding: 5px 2px;
  border: 1px solid rgba(157, 177, 224, 0.13);
  border-radius: 50%;
  text-align: center;
  background: #111a31;
  box-shadow: inset -6px -7px 10px rgba(3, 7, 17, 0.3);
}

.daily-reward__days li.is-current {
  border-color: rgba(255, 200, 87, 0.7);
  background:
    linear-gradient(145deg, rgba(255, 200, 87, 0.3), rgba(255, 111, 158, 0.12)),
    #171c35;
  box-shadow: 0 0 21px rgba(255, 200, 87, 0.2), inset -7px -8px 12px rgba(72, 36, 63, 0.28);
  transform: translateY(-3px) scale(1.04);
}

.daily-reward__days li.is-complete {
  border-color: rgba(61, 224, 173, 0.42);
}

.daily-reward__days li small,
.daily-reward__days li span {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 6.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-reward__days li strong {
  color: var(--text);
  font-size: 11px;
}

.daily-reward__days li strong b {
  color: var(--gold);
  font-size: 8px;
}

.daily-reward__train {
  flex-direction: column;
  gap: 2px;
}

.daily-reward__train > span {
  font-size: 15px;
}

.daily-reward__train > small {
  font-size: 9px;
  font-weight: 750;
  opacity: 0.68;
}

.empty-cta {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.12), rgba(255, 111, 158, 0.07));
}

.empty-cta div {
  display: grid;
  gap: 4px;
}

.empty-cta small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.empty-cta strong {
  font-size: 18px;
}

.empty-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-cta > button:not(.primary-button) {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  color: #111523;
  background: var(--gold);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 23px;
}

.section-heading > span {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
}

.skill-heading {
  margin: 27px 2px 12px;
}

.status-ticket + .prize-card,
.empty-cta + .prize-card {
  margin-top: 14px;
}

.skill-stage {
  overflow: hidden;
  border: 1px solid rgba(168, 139, 255, 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 111, 158, 0.13), transparent 23%),
    radial-gradient(circle at 76% 20%, rgba(98, 196, 255, 0.11), transparent 30%),
    #0d152b;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 20px 55px rgba(0, 0, 0, 0.23);
}

.skill-galaxy {
  position: relative;
  width: min(100%, 392px);
  aspect-ratio: 1;
  margin: 2px auto 0;
  isolation: isolate;
}

.skill-galaxy__stars,
.skill-galaxy__stars::before,
.skill-galaxy__stars::after {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(98, 196, 255, 0.5) 0 1px, transparent 1.5px);
  background-position: 13px 18px, 54px 67px;
  background-size: 83px 79px, 111px 103px;
  content: "";
  opacity: 0.28;
}

.skill-galaxy__stars::before {
  inset: 13%;
  transform: rotate(37deg);
}

.skill-galaxy__stars::after {
  inset: 20%;
  transform: rotate(-21deg);
}

.skill-orbit {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(146, 169, 225, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(98, 196, 255, 0.035);
  transform: translate(-50%, -50%);
}

.skill-orbit::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 10px var(--sky);
  content: "";
  animation: orbit-pulse 3.2s ease-in-out infinite;
}

.skill-orbit i {
  position: absolute;
  top: 50%;
  right: -5px;
  padding: 2px 5px;
  border-radius: 5px;
  color: rgba(194, 205, 235, 0.68);
  background: #0d152b;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  transform: translateY(-50%);
}

.skill-orbit--1 { width: 158px; height: 158px; }
.skill-orbit--2 { width: 222px; height: 222px; }
.skill-orbit--3 { width: 286px; height: 286px; }
.skill-orbit--4 { width: 350px; height: 350px; }
.skill-orbit--2::before { animation-delay: -0.8s; }
.skill-orbit--3::before { animation-delay: -1.6s; }
.skill-orbit--4::before { animation-delay: -2.4s; }

.skill-planet {
  --radius: 79px;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
}

.skill-planet--orbit-2 { --radius: 111px; }
.skill-planet--orbit-3 { --radius: 143px; }
.skill-planet--orbit-4 { --radius: 175px; }

.skill-planet__body {
  position: relative;
  display: grid;
  width: var(--planet-size);
  height: var(--planet-size);
  min-width: 36px;
  min-height: 36px;
  place-content: center;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #08101f;
  background:
    radial-gradient(circle at 31% 25%, #fff 0 5%, rgba(255, 255, 255, 0.74) 6%, transparent 17%),
    radial-gradient(circle at 68% 70%, rgba(5, 14, 32, 0.25) 0 10%, transparent 11%),
    var(--tone);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.035), 0 0 22px color-mix(in srgb, var(--tone) 45%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.skill-planet__body::after {
  position: absolute;
  inset: -7px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: conic-gradient(var(--tone) 0 var(--mastery), rgba(157, 177, 224, 0.16) var(--mastery) 100%) border-box;
  content: "";
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.skill-planet__body b {
  font-size: 10px;
  letter-spacing: 0.02em;
}

.skill-planet__body small {
  font-size: 8px;
  font-weight: 850;
}

.skill-planet__label {
  margin-top: 8px;
  padding: 3px 6px;
  border: 1px solid rgba(157, 177, 224, 0.14);
  border-radius: 7px;
  color: var(--text);
  background: rgba(9, 15, 30, 0.9);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.skill-planet:hover .skill-planet__body,
.skill-planet:focus-visible .skill-planet__body {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 18%, transparent), 0 0 30px color-mix(in srgb, var(--tone) 70%, transparent);
  transform: scale(1.09);
}

.skill-planet--new .skill-planet__body {
  filter: saturate(0.72) brightness(0.8);
}

.smart-practice {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  padding: 14px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #101323;
  background: linear-gradient(140deg, #ff84ac, var(--coral) 55%, var(--gold));
  box-shadow: 0 0 0 7px rgba(255, 111, 158, 0.08), 0 0 42px rgba(255, 111, 158, 0.26);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.smart-practice::before {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 200, 87, 0.34);
  border-radius: 50%;
  content: "";
  animation: core-breathe 2.8s ease-in-out infinite;
}

.smart-practice small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.smart-practice strong {
  font-size: 21px;
  line-height: 1.05;
}

.smart-practice span {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 750;
}

.smart-practice:hover,
.smart-practice:focus-visible {
  box-shadow: 0 0 0 9px rgba(255, 111, 158, 0.1), 0 0 54px rgba(255, 111, 158, 0.38);
  transform: translate(-50%, -50%) scale(1.04);
}

.orbit-key {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 7px;
  margin: -5px 12px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 43, 0.95);
}

.orbit-key__row {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  gap: 8px;
}

.orbit-key__row > strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.orbit-key__row > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.orbit-key button {
  display: grid;
  grid-template-columns: 6px 1fr;
  align-items: center;
  gap: 3px 5px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface);
  text-align: left;
}

.orbit-key button i {
  grid-row: 1 / 3;
  width: 6px;
  height: 16px;
  border-radius: 5px;
  background: var(--tone);
  box-shadow: 0 0 9px color-mix(in srgb, var(--tone) 48%, transparent);
}

.orbit-key button span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
}

.orbit-key button b {
  color: var(--muted);
  font-size: 10px;
}

.skill-recommendation {
  margin: 10px 4px 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Readable orbital map: one aspect per lane, three full tense names per orbit. */
.skill-launch {
  position: relative;
  z-index: 4;
  display: flex;
  width: calc(100% - 24px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 12px 12px 4px;
  padding: 15px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 19px;
  color: #101323;
  background: linear-gradient(118deg, #ff80aa, var(--coral) 53%, var(--gold));
  box-shadow: 0 13px 32px rgba(255, 111, 158, 0.2);
  text-align: left;
}

.skill-launch::after {
  position: absolute;
  top: -60%;
  left: -24%;
  width: 28%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  content: "";
  transform: rotate(18deg);
  animation: launch-shine 5.8s ease-in-out infinite;
}

.skill-launch > span {
  display: grid;
  min-width: 0;
}

.skill-launch small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.skill-launch strong {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.08;
}

.skill-launch em {
  margin-top: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  opacity: 0.72;
}

.skill-launch > b {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 13px;
  background: rgba(13, 17, 33, 0.13);
  font-size: 22px;
}

.skill-launch:hover,
.skill-launch:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.orbital-map {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 8px 14px 14px;
  isolation: isolate;
}

.orbital-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(98, 196, 255, 0.38) 0 1px, transparent 1.5px);
  background-position: 12px 16px, 64px 73px;
  background-size: 91px 87px, 127px 119px;
  opacity: 0.24;
  animation: stars-twinkle 6s ease-in-out infinite;
}

.orbital-row {
  position: relative;
  padding: 11px 0 14px;
  border-bottom: 1px solid rgba(157, 177, 224, 0.1);
}

.orbital-row--locked .orbital-beam {
  opacity: 0.18;
  animation-play-state: paused;
}

.orbital-row--locked .orbital-track::before {
  border-color: rgba(157, 177, 224, 0.13);
}

.orbit-unlock-message {
  position: absolute;
  z-index: 6;
  top: 45px;
  left: 50%;
  display: grid;
  min-width: 172px;
  padding: 10px 17px;
  border: 1px solid rgba(61, 224, 173, 0.75);
  border-radius: 15px;
  background: rgba(10, 29, 35, 0.94);
  box-shadow: 0 0 42px rgba(61, 224, 173, 0.42);
  text-align: center;
  transform: translateX(-50%);
  animation: unlock-message 3.2s ease both;
}

.orbit-unlock-message span {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.orbit-unlock-message strong {
  margin-top: 2px;
  font-size: 15px;
}

.orbital-row:last-child {
  border-bottom: 0;
}

.orbital-row > header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.orbital-row > header strong {
  font-size: 15px;
  font-weight: 850;
}

.orbital-row > header small {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 650;
}

.orbital-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-height: 98px;
  align-items: start;
}

.orbital-track::before {
  position: absolute;
  z-index: 0;
  top: 30px;
  right: 7%;
  left: 7%;
  height: 24px;
  border-top: 1px solid rgba(128, 161, 224, 0.3);
  border-radius: 50%;
  box-shadow: 0 -4px 20px rgba(98, 196, 255, 0.05);
  content: "";
}

.orbital-beam {
  position: absolute;
  z-index: 1;
  top: 29px;
  left: 4%;
  width: 34px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(98, 196, 255, 0.92), #fff);
  box-shadow: 0 0 13px rgba(98, 196, 255, 0.8);
  animation: orbit-beam 5.3s var(--row-delay) ease-in-out infinite;
}

.skill-world {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  justify-items: center;
  padding: 2px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: center;
}

.skill-world__planet {
  position: relative;
  display: grid;
  width: var(--planet-size);
  height: var(--planet-size);
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #07101f;
  background:
    radial-gradient(circle at 29% 24%, #fff 0 5%, rgba(255, 255, 255, 0.72) 6%, transparent 17%),
    radial-gradient(ellipse at 68% 72%, rgba(6, 14, 34, 0.26) 0 12%, transparent 13%),
    radial-gradient(ellipse at 39% 63%, rgba(255, 255, 255, 0.2) 0 9%, transparent 10%),
    var(--tone);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 8%, transparent), 0 0 24px color-mix(in srgb, var(--tone) 48%, transparent);
  animation: planet-float 3.8s var(--float-delay) ease-in-out infinite;
  transition: filter 180ms ease, box-shadow 180ms ease;
}

.skill-world__planet::before {
  position: absolute;
  inset: -9px;
  border: 4px solid transparent;
  border-radius: 50%;
  background: conic-gradient(var(--tone) 0 var(--mastery), rgba(157, 177, 224, 0.2) var(--mastery) 100%) border-box;
  content: "";
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.skill-world__planet::after {
  position: absolute;
  right: -9px;
  left: -9px;
  height: 13px;
  border: 2px solid color-mix(in srgb, var(--tone) 72%, white);
  border-radius: 50%;
  content: "";
  opacity: 0.42;
  transform: rotate(-12deg);
}

.skill-world__planet > i {
  position: absolute;
  top: 25%;
  right: 19%;
  width: 9px;
  height: 6px;
  border-radius: 50%;
  background: rgba(8, 16, 33, 0.18);
  transform: rotate(24deg);
}

.skill-world__planet > b {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 950;
}

.skill-world__planet > b svg {
  width: 20px;
  height: 20px;
}

.skill-world__name {
  display: grid;
  min-width: 0;
  margin-top: 9px;
}

.skill-world__name strong {
  min-height: 31px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.skill-world__name small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 650;
}

.skill-world:hover .skill-world__planet,
.skill-world:focus-visible .skill-world__planet {
  filter: brightness(1.12);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--tone) 12%, transparent), 0 0 35px color-mix(in srgb, var(--tone) 72%, transparent);
}

.skill-world:hover .skill-world__name strong,
.skill-world:focus-visible .skill-world__name strong {
  color: var(--tone);
}

.skill-world--locked .skill-world__planet {
  border-color: rgba(157, 177, 224, 0.34);
  color: #9ba7c2;
  background:
    radial-gradient(circle at 29% 24%, rgba(255, 255, 255, 0.32) 0 4%, transparent 14%),
    radial-gradient(ellipse at 68% 72%, rgba(0, 0, 0, 0.26) 0 12%, transparent 13%),
    #30384c;
  box-shadow: 0 0 0 5px rgba(104, 116, 148, 0.07), 0 0 17px rgba(104, 116, 148, 0.16);
  filter: saturate(0.25);
}

.skill-world--locked .skill-world__planet::before {
  background: conic-gradient(rgba(168, 139, 255, 0.72) 0 var(--access-progress), rgba(157, 177, 224, 0.12) var(--access-progress) 100%) border-box;
}

.skill-world--locked .skill-world__planet::after {
  border-color: rgba(157, 177, 224, 0.28);
}

.skill-world--locked .skill-world__name strong {
  color: #c0c8db;
}

.skill-world--locked .skill-world__name small {
  color: #8e82ba;
}

.orbital-row.is-unlocking .skill-world__planet {
  animation: planet-unlock 1.5s cubic-bezier(0.16, 1, 0.3, 1) both, planet-float 3.8s 1.5s ease-in-out infinite;
}

.orbital-row.is-unlocking::after {
  position: absolute;
  z-index: 0;
  inset: 32px 8% 3px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61, 224, 173, 0.22), transparent 68%);
  content: "";
  animation: unlock-wave 2.2s ease-out both;
}

.activity-block {
  margin: 0 -20px 22px;
  padding: 0 20px;
}

.activity-block--raised {
  margin-top: 20px;
  margin-bottom: 4px;
}

.activity-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.activity-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: live-pulse 2.5s ease-in-out infinite;
}

.activity-rail {
  overflow: hidden;
  padding: 1px 0;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 94%, transparent);
}

.activity-track {
  display: flex;
  width: max-content;
  column-gap: 10px;
  transform: translateX(0);
  transition: transform 560ms cubic-bezier(0.22, 0.8, 0.25, 1);
  will-change: transform;
}

.activity-track.is-shifting {
  will-change: transform;
}

.activity-chip {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #dce3f7;
  background: var(--surface);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.activity-chip i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mint);
}

.activity-chip--ticket i { background: var(--gold); }
.activity-chip--streak i { background: var(--coral); }
.activity-chip--skill i { background: var(--sky); }
.activity-chip--prize i { background: var(--pink); }

.prize-card {
  overflow: hidden;
  border: 1px solid rgba(168, 139, 255, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(168, 139, 255, 0.2), rgba(255, 111, 158, 0.08)), var(--surface);
}

.prize-card--soon {
  border-color: rgba(98, 196, 255, 0.3);
  background: linear-gradient(125deg, rgba(98, 196, 255, 0.14), rgba(168, 139, 255, 0.08)), var(--surface);
}

.prize-card--soon .prize-orbit {
  border-style: dashed;
  border-color: rgba(98, 196, 255, 0.48);
  animation: prize-soon-orbit 9s linear infinite;
}

.prize-card--soon .prize-copy em {
  color: var(--sky);
}

.prize-banner {
  display: grid;
  grid-template-columns: 66px 1fr 24px;
  width: 100%;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.prize-banner > svg {
  color: var(--violet);
}

.prize-orbit {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(168, 139, 255, 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(168, 139, 255, 0.08);
}

.prize-orbit i {
  color: var(--gold);
  font-size: 27px;
  font-style: normal;
}

.prize-copy {
  display: grid;
  gap: 3px;
}

.prize-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prize-copy strong {
  font-size: 17px;
}

.prize-copy em {
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.prize-recommendation {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 0;
  border-top: 1px solid rgba(168, 139, 255, 0.16);
  color: var(--muted);
  background: rgba(8, 12, 24, 0.22);
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
}

.prize-recommendation > span {
  padding: 3px 6px;
  border-radius: 6px;
  color: var(--mint);
  background: rgba(61, 224, 173, 0.09);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.prize-recommendation b {
  margin-left: auto;
  color: var(--sky);
  font-size: 10px;
  white-space: nowrap;
}

.leader-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.leader-card ol,
.leader-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.leader-card li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

.leader-card li strong {
  color: var(--gold);
}

.leader-call {
  display: grid;
  min-width: 0;
}

.leader-call b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-call small,
.leader-name small,
.my-rank small {
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.leader-invite,
.ranking-invite {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
  border: 1px solid rgba(98, 196, 255, 0.28);
  border-radius: 13px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.leader-invite:hover,
.leader-invite:focus-visible,
.ranking-invite:hover,
.ranking-invite:focus-visible {
  border-color: rgba(98, 196, 255, 0.5);
  background: rgba(98, 196, 255, 0.11);
}

.notification-settings {
  display: grid;
  gap: 14px;
}

.notification-settings__hero {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(98, 196, 255, 0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(98, 196, 255, 0.1), rgba(168, 139, 255, 0.08));
}

.notification-settings__hero > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--mint);
  background: rgba(61, 224, 173, 0.1);
  font-size: 24px;
  transform: rotate(45deg);
}

.notification-settings__hero h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.notification-settings__hero p:last-child,
.notification-policy,
.notification-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.notification-hint {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.notification-master {
  margin: 0;
}

.notification-options {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.notification-option {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.notification-option:last-child {
  border-bottom: 0;
}

.notification-option > span {
  display: grid;
  gap: 4px;
}

.notification-option strong {
  font-size: 13px;
}

.notification-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.notification-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--mint);
}

.notification-option.is-disabled {
  opacity: 0.5;
}

.notification-policy {
  margin: 0 3px;
}

.word-mission {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr 34px;
  width: 100%;
  min-height: 112px;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(98, 196, 255, 0.28);
  border-radius: var(--radius-lg);
  color: var(--text);
  background:
    radial-gradient(circle at 13% 50%, rgba(98, 196, 255, 0.18), transparent 26%),
    linear-gradient(125deg, rgba(61, 224, 173, 0.1), rgba(168, 139, 255, 0.08)),
    var(--surface);
  text-align: left;
}

.word-mission::after {
  position: absolute;
  top: -12px;
  right: 13%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 34px 28px rgba(255, 255, 255, 0.45), 65px 6px rgba(98, 196, 255, 0.7), -27px 62px rgba(255, 255, 255, 0.35);
  content: "";
}

.word-mission__planet,
.vocab-planet,
.vocab-result__planet {
  position: relative;
  display: grid;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #07101f;
  background:
    radial-gradient(circle at 29% 24%, #fff 0 5%, rgba(255, 255, 255, 0.72) 6%, transparent 17%),
    radial-gradient(ellipse at 68% 70%, rgba(7, 14, 32, 0.24) 0 13%, transparent 14%),
    linear-gradient(145deg, var(--sky), var(--mint));
  box-shadow: 0 0 0 7px rgba(98, 196, 255, 0.08), 0 0 29px rgba(98, 196, 255, 0.25);
}

.word-mission__planet {
  width: 62px;
  height: 62px;
  place-items: center;
  animation: planet-float 4.4s ease-in-out infinite;
}

.word-mission__planet::after,
.vocab-planet::after,
.vocab-result__planet::after {
  position: absolute;
  right: -10px;
  left: -10px;
  height: 15px;
  border: 2px solid rgba(151, 225, 255, 0.68);
  border-radius: 50%;
  content: "";
  transform: rotate(-14deg);
}

.word-mission__planet i,
.vocab-planet i,
.vocab-result__planet i {
  position: absolute;
  top: 18px;
  right: 11px;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  background: rgba(7, 17, 34, 0.18);
  transform: rotate(24deg);
}

.word-mission__planet b {
  font-size: 19px;
  font-weight: 950;
}

.word-mission__copy {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
}

.word-mission__copy small {
  color: var(--mint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.word-mission__copy strong {
  margin-top: 3px;
  font-size: 17px;
}

.word-mission__copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.word-mission__copy u {
  margin-top: 7px;
  color: var(--sky);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.word-mission__arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.1);
  font-size: 18px;
}

.word-mission:hover,
.word-mission:focus-visible {
  border-color: rgba(98, 196, 255, 0.52);
  filter: brightness(1.07);
}

.rank {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 10px;
  font-weight: 850;
}

.empty-row {
  color: var(--muted);
}

.theory-card {
  display: grid;
  gap: 12px;
  padding-bottom: 22px;
}

.theory-hero,
.theory-section,
.theory-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.theory-hero {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.theory-hero::before {
  position: absolute;
  top: -85px;
  right: -65px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tense-tone) 24%, transparent);
  filter: blur(24px);
  content: "";
}

.theory-hero > * {
  position: relative;
}

.theory-hero h2 {
  max-width: 420px;
  margin-bottom: 10px;
  font-size: clamp(27px, 7vw, 37px);
  line-height: 1.05;
}

.theory-hero > p:not(.eyebrow) {
  margin-bottom: 16px;
  color: #c7d0e8;
  font-size: 15px;
  line-height: 1.48;
}

.theory-start {
  position: relative;
  justify-content: space-between;
  min-height: 62px;
  margin: 4px 0 18px;
  text-align: left;
}

.theory-start > span {
  display: grid;
}

.theory-start b {
  font-size: 16px;
}

.theory-start small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.75;
}

.theory-start i {
  font-size: 22px;
  font-style: normal;
}

.theory-timeline {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(8, 14, 29, 0.7);
}

.timeline-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 750;
}

.timeline-labels span:nth-child(2) { text-align: center; }
.timeline-labels span:last-child { text-align: right; }

.timeline-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 18px;
  margin: 3px 2px 6px;
}

.timeline-line::before {
  position: absolute;
  right: 4px;
  left: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--mint), var(--sky));
  content: "";
}

.timeline-line i {
  z-index: 1;
  width: 8px;
  height: 8px;
  justify-self: center;
  border: 2px solid #0c1428;
  border-radius: 50%;
  background: var(--muted-2);
}

.timeline-line b {
  position: absolute;
  z-index: 2;
  left: 0;
  width: 14px;
  height: 14px;
  border: 3px solid #111a30;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(255, 200, 87, 0.65);
}

.theory-timeline[data-focus="1"] .timeline-line b {
  left: 50%;
  transform: translateX(-50%);
}

.theory-timeline[data-focus="2"] .timeline-line b {
  right: 0;
  left: auto;
}

.theory-timeline > strong {
  display: block;
  color: #dce3f7;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.theory-section {
  padding: 17px;
}

.theory-section__title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theory-section--formula {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.formula {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-left: 3px solid var(--mint);
  border-radius: 0 13px 13px 0;
  background: rgba(61, 224, 173, 0.07);
}

.formula small {
  color: var(--mint);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.formula strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.3;
}

.theory-accordions {
  display: grid;
  gap: 8px;
}

.theory-disclosure {
  overflow: hidden;
}

.theory-disclosure summary {
  position: relative;
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 48px 0 16px;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.theory-disclosure summary::-webkit-details-marker {
  display: none;
}

.theory-disclosure summary::after {
  position: absolute;
  right: 17px;
  color: var(--sky);
  content: "+";
  font-size: 21px;
  font-weight: 500;
}

.theory-disclosure[open] summary::after {
  content: "−";
}

.theory-disclosure summary small {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.theory-disclosure__body {
  display: grid;
  gap: 14px;
  padding: 0 16px 17px;
  border-top: 1px solid var(--line);
}

.theory-use-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.theory-use-list li {
  position: relative;
  padding-left: 22px;
  color: #cbd3e8;
  font-size: 13px;
  line-height: 1.45;
}

.theory-use-list li::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  color: var(--mint);
  content: "✦";
  font-size: 11px;
}

.theory-forms {
  display: grid;
  gap: 8px;
  padding-top: 14px;
}

.theory-form-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 10px;
  padding: 11px;
  border-radius: 12px;
  background: #0d1428;
}

.theory-form-row b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #101323;
  background: var(--mint);
}

.theory-form-row span {
  padding-top: 4px;
  color: #d4dcf0;
  font-size: 12px;
  line-height: 1.45;
}

.marker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 14px;
}

.marker-chip {
  padding: 6px 9px;
  border: 1px solid rgba(98, 196, 255, 0.22);
  border-radius: 9px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.07);
  font-size: 11px;
  font-weight: 700;
}

.theory-examples {
  display: grid;
  gap: 8px;
}

.theory-example {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  padding: 11px;
  border-radius: 12px;
  background: #0d1428;
}

.theory-example > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: var(--violet);
  background: rgba(168, 139, 255, 0.12);
  font-size: 10px;
  font-weight: 850;
}

.theory-example strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.theory-example p,
.theory-example small {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.theory-tip {
  margin: 14px 0 0;
  color: #cfd8ec;
  font-size: 12px;
  line-height: 1.5;
}

.theory-compare,
.theory-mistakes {
  padding: 14px;
  border-radius: 13px;
  background: rgba(255, 111, 158, 0.07);
}

.theory-compare small {
  color: var(--pink);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.theory-compare h3 {
  margin: 5px 0 7px;
  font-size: 15px;
}

.theory-compare p,
.theory-mistakes p {
  margin: 7px 0 0;
  color: #cbd3e8;
  font-size: 12px;
  line-height: 1.45;
}

.theory-compare code {
  display: block;
  margin-top: 7px;
  color: var(--gold);
  font-family: inherit;
  font-size: 11px;
}

.theory-mistakes p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
}

.theory-mistakes p span {
  color: var(--danger);
  font-weight: 900;
}

.lesson-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.lesson-top > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.lesson-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.lesson-progress i {
  height: 6px;
  border-radius: 5px;
  background: var(--surface-soft);
}

.lesson-progress i.is-done { background: var(--mint); }
.lesson-progress i.is-current { background: var(--gold); }

.question-card {
  position: relative;
  min-height: 390px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.question-card.is-correct { border-color: rgba(61, 224, 173, 0.4); }
.question-card.is-wrong { border-color: rgba(255, 111, 124, 0.45); }

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 28px;
}

.question-meta span,
.question-meta small {
  padding: 6px 9px;
  border-radius: 9px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.08);
  font-size: 10px;
  font-weight: 750;
}

.question-meta small {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.question-card h1 {
  margin-bottom: 27px;
  font-size: clamp(27px, 7vw, 37px);
  line-height: 1.15;
}

.answer-options,
.fill-form {
  display: grid;
  gap: 9px;
}

.answer-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #0d1428;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease;
}

.answer-option:hover {
  border-color: rgba(98, 196, 255, 0.45);
  background: rgba(98, 196, 255, 0.07);
}

.answer-option span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 850;
}

.fill-form input {
  min-height: 58px;
  font-size: 16px;
}

.answer-feedback-sheet {
  padding: 18px;
  border-radius: 16px;
  background: #0d1428;
}

.answer-feedback-sheet.is-correct { border-left: 3px solid var(--success); }
.answer-feedback-sheet.is-wrong { border-left: 3px solid var(--danger); }

.answer-feedback-sheet strong {
  font-size: 17px;
}

.answer-feedback-sheet p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.vocab-hub {
  display: grid;
  gap: 17px;
  padding-bottom: 22px;
}

.vocab-hub__hero {
  padding: 24px 20px 21px;
  overflow: hidden;
  border: 1px solid rgba(98, 196, 255, 0.28);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 18%, rgba(61, 224, 173, 0.12), transparent 10rem),
    radial-gradient(circle at 18% 4%, rgba(98, 196, 255, 0.16), transparent 12rem),
    var(--surface);
  text-align: center;
}

.vocab-hub__hero .vocab-result__planet {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
}

.vocab-hub__hero h1 {
  margin: 9px 0 10px;
  font-size: clamp(27px, 8vw, 38px);
  line-height: 1.08;
}

.vocab-hub__hero > p:not(.eyebrow) {
  max-width: 390px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.vocab-coverage {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(61, 224, 173, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 50%, rgba(61, 224, 173, 0.14), transparent 9rem),
    var(--surface-soft);
}

.vocab-coverage__number {
  min-width: 104px;
  color: var(--mint);
  font-size: clamp(35px, 9vw, 48px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.vocab-coverage__copy > strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.vocab-coverage__copy > p,
.vocab-coverage details p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.vocab-coverage details { margin-top: 7px; }

.vocab-coverage summary {
  color: var(--sky);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.vocab-scenarios {
  padding: 18px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface-soft);
}

.vocab-scenarios__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
}

.vocab-scenarios__heading .eyebrow { margin: 0 0 4px; }

.vocab-scenarios__heading h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.vocab-scenarios__heading > span {
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.vocab-scenarios > p {
  margin: 7px 18px 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.vocab-scenario-rail {
  display: grid;
  grid-auto-columns: minmax(140px, 42%);
  grid-auto-flow: column;
  gap: 9px;
  padding: 0 18px 4px;
  overflow-x: auto;
  scroll-padding-left: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.vocab-scenario-rail::-webkit-scrollbar { display: none; }

.vocab-scenario-chip {
  display: grid;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  scroll-snap-align: start;
  color: var(--text);
  background: rgba(10, 16, 34, 0.55);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.vocab-scenario-chip > span {
  color: var(--sky);
  font-size: 18px;
  line-height: 1;
}

.vocab-scenario-chip strong {
  align-self: end;
  font-size: 12px;
  line-height: 1.15;
}

.vocab-scenario-chip small {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
}

.vocab-scenario-chip.is-active {
  border-color: rgba(61, 224, 173, 0.64);
  background:
    radial-gradient(circle at 12% 12%, rgba(61, 224, 173, 0.2), transparent 5rem),
    rgba(61, 224, 173, 0.08);
  box-shadow: inset 0 0 0 1px rgba(61, 224, 173, 0.12);
}

.vocab-scenario-chip.is-active > span,
.vocab-scenario-chip.is-active small { color: var(--mint); }

.vocab-scenario-chip:active { transform: scale(0.98); }

.vocab-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.vocab-mode-card {
  position: relative;
  display: flex;
  min-height: 238px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0, rgba(168, 139, 255, 0.16), transparent 9rem),
    var(--surface-soft);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease;
}

.vocab-mode-card--primary {
  border-color: rgba(61, 224, 173, 0.34);
  background:
    radial-gradient(circle at 100% 0, rgba(61, 224, 173, 0.18), transparent 9rem),
    var(--surface-soft);
}

.vocab-mode-card:hover,
.vocab-mode-card:focus-visible {
  border-color: rgba(98, 196, 255, 0.55);
  transform: translateY(-2px);
}

.vocab-mode-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(98, 196, 255, 0.28);
  border-radius: 16px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.09);
  font-size: 18px;
  font-weight: 950;
}

.vocab-mode-card small {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.vocab-mode-card strong {
  margin-top: 6px;
  font-size: 22px;
}

.vocab-mode-card em {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.vocab-mode-card u {
  margin-top: auto;
  padding-top: 14px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.vocab-mode-card u b { margin-left: 3px; }

.vocab-source {
  margin: 0 8px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.vocab-source a {
  color: var(--muted);
  text-decoration-color: rgba(148, 160, 191, 0.42);
  text-underline-offset: 2px;
}

.vocab-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.vocab-top .lesson-progress {
  flex: 1;
}

.vocab-top > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.vocab-linear-progress {
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(98, 196, 255, 0.18);
  border-radius: 999px;
  flex: 1;
  background: rgba(8, 14, 29, 0.84);
}

.vocab-linear-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--mint));
  box-shadow: 0 0 14px rgba(61, 224, 173, 0.42);
  transition: width 260ms ease;
}

.vocab-study {
  display: grid;
  gap: 11px;
}

.vocab-flashcard {
  position: relative;
  display: flex;
  min-height: 435px;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(98, 196, 255, 0.34);
  border-radius: 28px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 18%, rgba(98, 196, 255, 0.2), transparent 11rem),
    radial-gradient(circle at 80% 88%, rgba(61, 224, 173, 0.1), transparent 10rem),
    #111a31;
  text-align: center;
  box-shadow: inset 0 0 60px rgba(98, 196, 255, 0.025), 0 18px 45px rgba(0, 0, 0, 0.16);
}

.vocab-flashcard.is-revealed {
  border-color: rgba(61, 224, 173, 0.4);
  animation: vocab-card-reveal 260ms ease-out;
}

.vocab-flashcard__stars,
.vocab-flashcard__stars::before,
.vocab-flashcard__stars::after {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(204, 220, 255, 0.56);
  box-shadow: 97px 58px rgba(98, 196, 255, 0.34), 238px -9px rgba(61, 224, 173, 0.4), 285px 233px rgba(204, 220, 255, 0.28), 31px 286px rgba(168, 139, 255, 0.42);
  content: '';
}

.vocab-flashcard__stars { top: 56px; left: 38px; }
.vocab-flashcard__stars::before { top: 150px; left: 46px; }
.vocab-flashcard__stars::after { top: 285px; left: 170px; }

.vocab-flashcard__meta {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--mint);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vocab-flashcard__planet {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(98, 196, 255, 0.6);
  border-radius: 50%;
  color: #081122;
  background: linear-gradient(145deg, #72d7ff, #43dfb1);
  box-shadow: 0 0 0 10px rgba(98, 196, 255, 0.07), 0 0 38px rgba(98, 196, 255, 0.28);
  font-size: 34px;
  font-weight: 950;
  animation: planet-float 4s ease-in-out infinite;
}

.vocab-flashcard__word {
  position: relative;
  font-size: clamp(40px, 12vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vocab-flashcard__word--small {
  color: var(--sky);
  font-size: 18px;
  letter-spacing: 0;
}

.vocab-flashcard__translation {
  position: relative;
  max-width: 340px;
  margin: 11px 0 31px;
  font-size: clamp(29px, 8vw, 40px);
  line-height: 1.12;
}

.vocab-flashcard__hint {
  position: relative;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
}

.vocab-example {
  position: relative;
  display: grid;
  width: 100%;
  padding: 17px;
  border: 1px solid rgba(98, 196, 255, 0.17);
  border-radius: 17px;
  gap: 7px;
  background: rgba(7, 13, 27, 0.56);
  text-align: left;
}

.vocab-example small {
  color: var(--mint);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.vocab-example b {
  font-size: 15px;
  line-height: 1.4;
}

.vocab-example em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.vocab-card-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
}

.vocab-study > .text-button {
  justify-self: center;
  padding: 8px 14px;
  font-size: 11px;
}

.vocab-card {
  min-height: 490px;
  padding: 24px 20px;
  border: 1px solid rgba(98, 196, 255, 0.26);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 12%, rgba(98, 196, 255, 0.15), transparent 24%),
    var(--surface);
  text-align: center;
}

.vocab-planet {
  width: 86px;
  height: 86px;
  margin: 4px auto 25px;
  place-items: center;
  animation: planet-float 4.2s ease-in-out infinite;
}

.vocab-planet b {
  font-size: 32px;
  font-weight: 950;
}

.vocab-card h1 {
  margin: 11px 0 23px;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.16;
}

.vocab-card h1 strong {
  color: var(--sky);
}

.vocab-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.vocab-option {
  min-height: 56px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #0d1428;
  font-size: 13px;
  font-weight: 750;
}

.vocab-option:hover:not(:disabled),
.vocab-option:focus-visible:not(:disabled) {
  border-color: rgba(98, 196, 255, 0.46);
  background: rgba(98, 196, 255, 0.08);
}

.vocab-option.is-correct {
  border-color: rgba(61, 224, 173, 0.52);
  color: var(--mint);
  background: rgba(61, 224, 173, 0.09);
  opacity: 1;
}

.vocab-option.is-wrong {
  border-color: rgba(255, 111, 124, 0.52);
  color: #ff98a2;
  background: rgba(255, 111, 124, 0.08);
  opacity: 1;
}

.vocab-feedback {
  margin-top: 14px;
  padding: 13px;
  border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0;
  background: rgba(61, 224, 173, 0.07);
  text-align: left;
}

.vocab-feedback.is-wrong {
  border-left-color: var(--danger);
  background: rgba(255, 111, 124, 0.07);
}

.vocab-feedback strong {
  font-size: 13px;
}

.vocab-feedback p {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.vocab-feedback small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.vocab-result {
  display: grid;
  min-height: calc(100vh - 110px);
  min-height: calc(100dvh - 110px);
  align-content: center;
  text-align: center;
}

.vocab-result__planet {
  width: 108px;
  height: 108px;
  margin: 0 auto 30px;
  animation: planet-float 4.4s ease-in-out infinite;
}

.vocab-result h1 {
  margin-bottom: 8px;
  font-size: 46px;
}

.vocab-result__planet b {
  place-self: center;
  font-size: 34px;
  font-weight: 950;
}

.vocab-result > p:not(.eyebrow) {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
}

.vocab-result .ghost-button {
  margin-top: 9px;
}

.vocab-home-link {
  justify-self: center;
  margin-top: 7px;
}

.combo-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: rgba(19, 27, 49, 0.8);
  font-size: 11px;
}

.combo-bar > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--coral);
  font-weight: 800;
}

.combo-bar > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.combo-bar i {
  height: 5px;
  border-radius: 4px;
  background: var(--surface-soft);
}

.combo-bar i.is-hot { background: var(--coral); }

.reward-burst {
  position: absolute;
  inset: 50% auto auto 50%;
}

.reward-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  animation: reward-pop 720ms ease-out forwards;
  transform: rotate(calc(var(--i) * 40deg)) translateY(-20px);
}

.result-card {
  display: grid;
  gap: 12px;
  min-height: calc(100vh - 44px);
  min-height: calc(100dvh - 44px);
  align-content: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  text-align: center;
}

.result-medal {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: #101323;
  background: linear-gradient(145deg, var(--mint), var(--sky));
  box-shadow: 0 0 0 9px rgba(61, 224, 173, 0.08), 0 18px 40px rgba(61, 224, 173, 0.2);
  font-size: 39px;
  font-weight: 900;
}

.result-card h1 {
  margin-bottom: 3px;
  font-size: 31px;
}

.result-card > p:not(.eyebrow) {
  color: var(--muted);
}

.reward-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  padding: 14px;
  border-radius: 15px;
  color: var(--gold);
  background: rgba(255, 200, 87, 0.08);
}

.reward-total span {
  display: grid;
  text-align: left;
}

.reward-total small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.ranking-intro {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(98, 196, 255, 0.12), transparent), var(--surface);
}

.ranking-intro h2 {
  margin-bottom: 8px;
  font-size: 27px;
}

.ranking-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ranking-cta {
  display: grid;
  grid-template-columns: 47px 1fr;
  gap: 4px 13px;
  margin-top: 14px;
  padding: 17px;
  border: 1px solid rgba(61, 224, 173, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(61, 224, 173, 0.11), rgba(98, 196, 255, 0.05)), var(--surface);
}

.ranking-cta > span {
  display: grid;
  width: 45px;
  height: 45px;
  grid-row: 1;
  place-items: center;
  border-radius: 14px;
  color: #07131a;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  font-size: 23px;
  font-weight: 900;
}

.ranking-cta h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.ranking-cta div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.ranking-cta .primary-button {
  grid-column: 1 / -1;
  min-height: 49px;
  margin-top: 10px;
}

.ranking-cta .ranking-invite {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.leader-list {
  margin-top: 14px;
}

.leader-row {
  display: grid;
  grid-template-columns: 32px 38px 1fr auto;
  min-height: 57px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.leader-row.is-me {
  border-color: rgba(61, 224, 173, 0.42);
  background: rgba(61, 224, 173, 0.07);
}

.leader-rank {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.leader-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #101323;
  background: linear-gradient(135deg, var(--violet), var(--sky));
  font-weight: 900;
}

.leader-name {
  display: grid;
  min-width: 0;
}

.leader-name b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-row > strong {
  color: var(--gold);
  font-size: 13px;
}

.my-rank {
  position: sticky;
  bottom: calc(var(--nav-height) + 8px);
  margin-top: 13px;
  padding: 13px 16px;
  border: 1px solid rgba(61, 224, 173, 0.35);
  border-radius: 15px;
  background: rgba(12, 23, 38, 0.94);
  color: var(--muted);
  text-align: center;
  backdrop-filter: blur(14px);
}

.my-rank strong { color: var(--mint); }

.spin-balance {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 200, 87, 0.25);
  border-radius: 16px;
  color: var(--gold);
  background: rgba(255, 200, 87, 0.07);
}

.spin-balance span {
  display: grid;
}

.spin-balance small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.weekly-card {
  padding: 20px;
  border: 1px solid rgba(168, 139, 255, 0.27);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(168, 139, 255, 0.18), rgba(255, 111, 158, 0.06)), var(--surface);
}

.weekly-card h2 {
  margin-bottom: 5px;
  font-size: 25px;
}

.weekly-card > strong {
  color: var(--gold);
  font-size: 18px;
}

.weekly-card > p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.weekly-card--soon {
  border-style: dashed;
  border-color: rgba(98, 196, 255, 0.34);
  background: linear-gradient(135deg, rgba(98, 196, 255, 0.13), rgba(168, 139, 255, 0.06)), var(--surface);
}

.weekly-card--soon > strong {
  color: var(--sky);
}

.weekly-practice {
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 9px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  text-align: left;
}

.weekly-practice b {
  color: var(--sky);
  font-size: 10px;
  white-space: nowrap;
}

.reel-variant-picker {
  display: grid;
  gap: 7px;
  margin: 16px 0 8px;
}

.reel-variant-picker > span {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.reel-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(5, 9, 19, 0.45);
}

.reel-themes button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.reel-themes button.is-active {
  color: #07131d;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  box-shadow: 0 5px 17px rgba(98, 196, 255, 0.22);
}

.reel-machine {
  --reel-tone: var(--sky);
  position: relative;
  margin: 18px 0;
  padding: 11px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--reel-tone) 42%, transparent);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(98, 196, 255, 0.12), rgba(168, 139, 255, 0.06)),
    #111a2e;
  box-shadow: inset 0 0 0 4px rgba(5, 9, 19, 0.24), 0 18px 38px rgba(0, 0, 0, 0.24);
  transition: border-color 220ms ease, border-radius 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.reel-machine--portal {
  --reel-tone: var(--violet);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 50%, rgba(98, 196, 255, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(168, 139, 255, 0.18), rgba(98, 196, 255, 0.05)),
    #0e142a;
  box-shadow: inset 0 0 22px rgba(168, 139, 255, 0.18), 0 0 32px rgba(168, 139, 255, 0.14);
}

.reel-machine--satellite {
  --reel-tone: var(--coral);
  border-radius: 14px 28px 14px 28px;
  background:
    linear-gradient(135deg, rgba(255, 138, 98, 0.14), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 6px, transparent 6px 12px),
    #141b2c;
}

.reel-console,
.reel-console-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 29px;
  padding: 0 7px 8px;
  color: #b9c7e1;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.reel-console i {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--reel-tone);
  font-size: 6px;
  font-style: normal;
  white-space: nowrap;
}

.reel-console i b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--reel-tone);
  box-shadow: 0 0 8px var(--reel-tone);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.reel-console-footer {
  min-height: 24px;
  justify-content: center;
  padding: 7px 8px 0;
  color: var(--muted-2);
}

.reel-console-footer i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--reel-tone));
}

.reel-console-footer i:last-child {
  transform: scaleX(-1);
}

.reel-space {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.reel-space i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px var(--reel-tone);
  animation: stars-twinkle 2.7s ease-in-out infinite;
}

.reel-space i:nth-child(1) { top: 18%; left: 7%; }
.reel-space i:nth-child(2) { top: 12%; right: 14%; animation-delay: -1.1s; }
.reel-space i:nth-child(3) { right: 5%; bottom: 18%; animation-delay: -1.8s; }
.reel-space i:nth-child(4) { bottom: 9%; left: 13%; animation-delay: -0.6s; }

.reel-machine--portal .reel-window {
  border-radius: 28px;
  box-shadow: inset 0 18px 24px rgba(0, 0, 0, 0.48), inset 0 -18px 24px rgba(0, 0, 0, 0.48), 0 0 22px rgba(168, 139, 255, 0.18);
}

.reel-machine--satellite .reel-window {
  border-radius: 6px 16px 6px 16px;
}

.reel-window {
  position: relative;
  height: 174px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--reel-tone) 30%, var(--line));
  border-radius: 14px;
  background: #090f20;
  box-shadow: inset 0 18px 24px rgba(0, 0, 0, 0.42), inset 0 -18px 24px rgba(0, 0, 0, 0.42);
}

.reel-window::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--reel-tone), transparent);
  box-shadow: 0 0 11px var(--reel-tone);
  content: "";
  opacity: 0.72;
  animation: cargo-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.reel-track {
  transform: translateY(0);
}

.reel-track.is-spinning {
  transition: transform 4s cubic-bezier(0.11, 0.72, 0.12, 1);
}

.reel-track.is-idle {
  will-change: transform;
}

.reel-track.is-idle-step {
  animation: reel-idle-step 3.1s linear both;
}

.reel-item {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #d8e0f3;
  font-size: 13px;
  font-weight: 750;
}

.reel-item span { color: var(--sky); }
.reel-item--rare span { color: var(--violet); }
.reel-item--epic span { color: var(--pink); }
.reel-item--legendary span { color: var(--gold); }

.reel-pointer {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translateY(-50%);
}

.reel-pointer--left {
  left: 2px;
  border-left: 0;
  border-right: 12px solid var(--reel-tone);
}

.reel-pointer--right {
  right: 2px;
  border-right: 0;
  border-left: 12px solid var(--reel-tone);
}

.prize-result {
  margin-bottom: 15px;
  padding: 18px;
  border: 1px solid rgba(61, 224, 173, 0.28);
  border-radius: 18px;
  background: rgba(61, 224, 173, 0.07);
}

.prize-result h2 {
  margin-bottom: 7px;
  font-size: 22px;
}

.prize-result > p:last-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.prize-claim {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 13px;
  color: #07131f;
  background: var(--mint);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.loading-card--inside {
  min-height: calc(100dvh - 110px);
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 17px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.45);
}

.admin-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.admin-tabs button.is-active {
  color: var(--text);
  background: var(--surface-soft);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.admin-topline > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.admin-topline i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(61, 224, 173, 0.7);
  animation: live-pulse 2s ease-in-out infinite;
}

.admin-topline button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--sky);
  background: var(--surface);
  font-size: 11px;
  font-weight: 800;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.admin-summary article {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(19, 27, 49, 0.88);
}

.admin-summary small {
  min-height: 24px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.35;
}

.admin-summary strong {
  color: var(--text);
  font-size: 25px;
}

.admin-summary span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-raffle {
  padding: 18px;
  border: 1px solid rgba(168, 139, 255, 0.34);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168, 139, 255, 0.17), rgba(98, 196, 255, 0.04)), var(--surface);
}

.admin-raffle > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-raffle h2 {
  margin: 0;
  font-size: 20px;
}

.admin-raffle-actions {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 7px;
}

.admin-raffle-actions > strong {
  color: var(--gold);
  font-size: 17px;
}

.admin-edit-button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(98, 196, 255, 0.25);
  border-radius: 9px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.07);
  font-size: 9px;
  font-weight: 800;
}

.admin-raffle__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 11px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.46);
  font-size: 11px;
}

.admin-raffle__time span {
  color: var(--mint);
  font-weight: 800;
}

.admin-raffle__time b {
  color: var(--text);
}

.admin-raffle__time i {
  font-style: normal;
}

.admin-raffle dl,
.admin-prize dl {
  display: grid;
  margin: 0;
}

.admin-raffle dl {
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.admin-raffle dl > div,
.admin-prize dl > div {
  display: grid;
  gap: 3px;
}

.admin-raffle dl > div {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.32);
}

.admin-raffle dt,
.admin-prize dt {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 750;
}

.admin-raffle dd,
.admin-prize dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.admin-raffle > small {
  display: block;
  margin-top: 11px;
  color: var(--muted-2);
  font-size: 9px;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 26px 2px 8px;
}

.admin-section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.admin-section-heading > span {
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
}

.admin-heading-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.admin-heading-actions > span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
}

.admin-add-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(61, 224, 173, 0.3);
  border-radius: 10px;
  color: var(--mint);
  background: rgba(61, 224, 173, 0.07);
  font-size: 9px;
  font-weight: 850;
}

.admin-note {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

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

.admin-prize {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(19, 27, 49, 0.84);
}

.admin-prize.is-inactive {
  opacity: 0.58;
}

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

.admin-prize > header > div {
  display: grid;
  gap: 3px;
}

.admin-prize-actions {
  justify-items: end;
}

.admin-prize > header strong {
  font-size: 14px;
}

.admin-prize > header small {
  color: var(--violet);
  font-size: 9px;
  font-weight: 750;
}

.admin-status {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(157, 177, 224, 0.08);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-status.is-live {
  color: var(--mint);
  background: rgba(61, 224, 173, 0.09);
}

.admin-prize > p {
  margin: 8px 0 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.admin-prize dl {
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.admin-section-heading--users {
  margin-top: 30px;
}

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

.admin-user {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(19, 27, 49, 0.84);
}

.admin-user summary {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  list-style: none;
}

.admin-user summary::-webkit-details-marker {
  display: none;
}

.admin-user__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #091224;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  font-size: 14px;
  font-weight: 900;
}

.admin-user__identity {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-user__identity strong,
.admin-user__identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user__identity strong {
  font-size: 13px;
}

.admin-user__identity small,
.admin-user__last {
  color: var(--muted);
  font-size: 9px;
}

.admin-user__last {
  white-space: nowrap;
}

.admin-user[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(98, 196, 255, 0.035);
}

.admin-user__body {
  padding: 12px;
}

.admin-user__body dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0;
}

.admin-user__body dl > div {
  display: grid;
  gap: 3px;
  padding: 8px 7px;
  border-radius: 10px;
  background: rgba(8, 12, 24, 0.38);
}

.admin-user__body dt {
  color: var(--muted-2);
  font-size: 8px;
}

.admin-user__body dd {
  margin: 0;
  font-size: 11px;
  font-weight: 850;
}

.admin-user__body > p {
  display: grid;
  gap: 2px;
  margin: 10px 2px;
  color: var(--text);
  font-size: 11px;
}

.admin-user__body > p small,
.admin-user__body > small,
.admin-user__foot > small {
  color: var(--muted-2);
  font-size: 8px;
}

.admin-user__body footer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 8px;
}

.admin-user__body footer span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 9px;
}

.admin-user__body footer .is-premium {
  border-color: rgba(168, 139, 255, 0.3);
  color: var(--violet);
}

.admin-user__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-edit-backdrop {
  position: fixed;
  z-index: 85;
  inset: 0;
  display: grid;
  align-items: end;
  width: min(100%, 560px);
  margin: 0 auto;
  background: rgba(3, 6, 14, 0.76);
  backdrop-filter: blur(8px);
}

.admin-edit-sheet {
  position: relative;
  max-height: 90dvh;
  overflow: auto;
  padding: 25px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #151e35;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.36);
  animation: sheet-in 260ms ease-out;
}

.admin-edit-sheet h2 {
  margin-bottom: 18px;
  font-size: 25px;
}

.admin-edit-form {
  display: grid;
  gap: 13px;
}

.admin-edit-form label:not(.admin-toggle) {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

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

.admin-edit-form textarea {
  min-height: 86px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-edit-form label > small {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
}

.admin-toggle {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(8, 12, 24, 0.32);
}

.admin-toggle input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--mint);
}

.admin-toggle span {
  display: grid;
  gap: 2px;
}

.admin-toggle strong {
  font-size: 11px;
}

.admin-toggle small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.admin-updated {
  margin: 16px 0 4px;
  color: var(--muted-2);
  font-size: 9px;
  text-align: center;
}

.admin-denied {
  display: grid;
  min-height: 60vh;
  place-content: center;
  text-align: center;
}

.admin-denied > span {
  color: var(--danger);
  font-size: 44px;
}

.admin-denied h2 {
  margin: 4px 0 7px;
}

.admin-denied p {
  color: var(--muted);
}

.admin-exercise-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(98, 196, 255, 0.25);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(98, 196, 255, 0.12), rgba(168, 139, 255, 0.06)), var(--surface);
}

.admin-exercise-hero h2 {
  margin: 0 0 3px;
  font-size: 25px;
}

.admin-exercise-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.admin-exercise-hero .admin-add-button {
  flex: 0 0 auto;
  min-height: 38px;
}

.admin-exercise-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 18px;
}

.admin-exercise-stats article {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(19, 27, 49, 0.82);
}

.admin-exercise-stats strong {
  font-size: 19px;
}

.admin-exercise-stats small {
  color: var(--muted);
  font-size: 9px;
}

.admin-import-card {
  padding: 17px;
  border: 1px dashed rgba(61, 224, 173, 0.32);
  border-radius: 18px;
  background: rgba(61, 224, 173, 0.035);
}

.admin-import-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.admin-import-card > div:first-child > p:last-child {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.admin-file-picker {
  position: relative;
  display: grid;
  min-height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(98, 196, 255, 0.26);
  border-radius: 12px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
}

.admin-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
}

.admin-import-state {
  margin: 8px 2px 11px;
  color: var(--muted);
  font-size: 9px;
}

.admin-json-help {
  margin-top: 11px;
}

.admin-json-help summary,
.admin-tense-counts summary {
  color: var(--sky);
  font-size: 10px;
  font-weight: 750;
}

.admin-json-help pre {
  overflow: auto;
  margin: 9px 0 0;
  padding: 12px;
  border-radius: 11px;
  color: #cbd8f2;
  background: #090f20;
  font-size: 9px;
  line-height: 1.5;
}

.admin-tense-counts {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 27, 49, 0.65);
}

.admin-tense-counts ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.admin-tense-counts li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.admin-tense-counts strong {
  color: var(--text);
}

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

.admin-exercise {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(19, 27, 49, 0.78);
}

.admin-exercise.is-inactive {
  opacity: 0.56;
}

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

.admin-exercise header > div {
  display: grid;
  gap: 2px;
}

.admin-exercise header strong {
  font-size: 11px;
}

.admin-exercise header small {
  color: var(--violet);
  font-size: 8px;
}

.admin-exercise > p {
  margin: 10px 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.admin-exercise footer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-exercise footer span {
  padding: 4px 6px;
  border-radius: 7px;
  color: var(--muted);
  background: rgba(157, 177, 224, 0.07);
  font-size: 8px;
}

.spin-cta {
  position: sticky;
  justify-content: space-between;
  min-height: 68px;
  overflow: hidden;
  text-align: left;
  animation: spin-cta-call 3.4s ease-in-out infinite;
}

.spin-cta--free {
  outline: 2px solid rgba(61, 224, 173, 0.35);
  box-shadow: 0 12px 34px rgba(61, 224, 173, 0.2);
}

.spin-cta::after {
  position: absolute;
  top: -65%;
  left: -22%;
  width: 22%;
  height: 230%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  transform: rotate(18deg);
  animation: spin-cta-shine 3.4s ease-in-out infinite;
}

.spin-cta__copy {
  display: grid;
}

.spin-cta__copy b {
  font-size: 17px;
}

.spin-cta__copy small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 750;
  opacity: 0.74;
}

.spin-cta__icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 13px;
  background: rgba(14, 18, 33, 0.14);
  font-size: 22px;
  font-weight: 900;
}

.prize-practice {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(98, 196, 255, 0.42);
  border-radius: 13px;
  color: var(--sky);
  background: rgba(98, 196, 255, 0.08);
  font-weight: 850;
}

.prize-practice span {
  margin-left: 5px;
}

.premium-page {
  display: grid;
  gap: 12px;
  padding: 10px 2px;
  text-align: center;
}

.premium-seal {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 6px auto 3px;
  place-items: center;
  border: 1px solid rgba(168, 139, 255, 0.55);
  border-radius: 50%;
  color: #111426;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  box-shadow: 0 0 0 8px rgba(168, 139, 255, 0.08), 0 20px 45px rgba(168, 139, 255, 0.2);
  font-size: 34px;
  font-weight: 900;
}

.premium-page h1 {
  margin-bottom: 0;
  font-size: 34px;
}

.premium-page ul {
  display: grid;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.premium-page li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.premium-page li > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--violet);
  background: rgba(168, 139, 255, 0.12);
}

.premium-page li > b svg {
  width: 21px;
  height: 21px;
}

.premium-page li span {
  display: grid;
}

.premium-page li small {
  margin-top: 2px;
  color: var(--muted);
}

.referral-page h1 {
  font-size: 38px;
}

.referral-seal {
  color: #07131d;
  background: linear-gradient(145deg, var(--mint), var(--sky));
  box-shadow: 0 0 0 8px rgba(61, 224, 173, 0.07), 0 20px 45px rgba(98, 196, 255, 0.18);
}

.referral-page li > b {
  color: var(--mint);
  font-size: 14px;
}

.referral-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.referral-progress > span {
  display: grid;
  gap: 4px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 27, 49, 0.78);
}

.referral-progress small,
.referral-code,
.referral-note {
  color: var(--muted);
}

.referral-progress small {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.referral-progress strong {
  font-size: 13px;
}

.referral-active {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--mint);
  background: rgba(61, 224, 173, 0.08);
  font-size: 11px;
  font-weight: 750;
}

.referral-share {
  margin-top: 4px;
}

.referral-code {
  margin: -3px 0 0;
  font-size: 10px;
}

.referral-code b {
  color: var(--text);
  letter-spacing: 0.08em;
}

.referral-code--button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 12px;
  min-height: 72px;
  margin: 2px 0 0;
  padding: 12px 15px;
  border: 1px dashed rgba(61, 224, 173, 0.42);
  border-radius: 15px;
  background: rgba(61, 224, 173, 0.06);
  text-align: left;
}

.referral-code--button small {
  grid-column: 1;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.referral-code--button b {
  grid-column: 1;
  font-size: 18px;
}

.referral-code--button span {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
}

.referral-note {
  line-height: 1.45;
}

@keyframes prize-soon-orbit {
  to { transform: rotate(360deg); }
}

.resource-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  align-items: end;
  width: min(100%, 560px);
  margin: 0 auto;
  background: rgba(3, 6, 14, 0.72);
  backdrop-filter: blur(7px);
}

.resource-sheet {
  position: relative;
  padding: 28px 22px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #151e35;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.34);
  animation: sheet-in 260ms ease-out;
}

.skill-lock-sheet {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 4%, rgba(168, 139, 255, 0.2), transparent 14rem),
    #151e35;
}

.skill-lock-stamp svg {
  width: 27px;
  height: 27px;
}

.skill-lock-progress {
  height: 9px;
  margin: 18px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(168, 139, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.5);
}

.skill-lock-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  box-shadow: 0 0 16px rgba(61, 224, 173, 0.5);
}

.skill-lock-count {
  display: block;
  margin-bottom: 18px;
  color: #cdd5e8;
  font-size: 12px;
  text-align: center;
}

.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 22px;
}

.resource-stamp {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 200, 87, 0.12);
  font-size: 27px;
}

.resource-sheet h2 {
  margin-bottom: 9px;
  font-size: 28px;
}

.resource-sheet > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.resource-timer { color: var(--gold); }

.resource-actions {
  display: grid;
  gap: 9px;
  margin: 19px 0 12px;
}

.resource-sheet > small {
  display: block;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.toast-region {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 32px), 510px);
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  background: rgba(25, 35, 62, 0.96);
  box-shadow: var(--shadow);
  font-size: 13px;
  pointer-events: auto;
  animation: toast-in 220ms ease-out;
}

.toast--success { border-color: rgba(61, 224, 173, 0.45); }
.toast--error { border-color: rgba(255, 111, 124, 0.5); }

@keyframes launch-shine {
  0%, 62% { transform: translateX(0) rotate(18deg); opacity: 0; }
  68% { opacity: 1; }
  88%, 100% { transform: translateX(520%) rotate(18deg); opacity: 0; }
}

@keyframes stars-twinkle {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.34; }
}

@keyframes orbit-beam {
  0%, 14% { left: 3%; opacity: 0; transform: scaleX(0.5); }
  22% { opacity: 1; }
  72% { left: 88%; opacity: 0.85; transform: scaleX(1); }
  82%, 100% { left: 91%; opacity: 0; transform: scaleX(0.4); }
}

@keyframes planet-float {
  0%, 100% { transform: translateY(1px) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes planet-unlock {
  0% { filter: grayscale(1) brightness(0.45); opacity: 0.35; transform: scale(0.62) rotate(-14deg); }
  48% { filter: grayscale(0) brightness(1.8); opacity: 1; transform: scale(1.22) rotate(5deg); }
  72% { transform: scale(0.94) rotate(-2deg); }
  100% { filter: none; opacity: 1; transform: scale(1); }
}

@keyframes unlock-wave {
  from { opacity: 0; transform: scale(0.72); }
  35% { opacity: 1; }
  to { opacity: 0; transform: scale(1.3); }
}

@keyframes unlock-message {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(0.84); }
  18%, 72% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -13px) scale(0.96); }
}

@keyframes ufo-cross {
  0% { transform: translate(0, 20px) rotate(-5deg); }
  20% { transform: translate(145px, -6px) rotate(2deg); }
  48%, 63% { transform: translate(310px, 8px) rotate(-1deg); }
  100% { transform: translate(760px, -24px) rotate(4deg); }
}

@keyframes tractor-beam {
  0%, 24%, 75%, 100% { opacity: 0; }
  31%, 66% { opacity: 1; }
}

@keyframes cow-abduction {
  0%, 28% { transform: translateY(18px) rotate(-4deg) scale(1); }
  64% { transform: translateY(-45px) rotate(8deg) scale(0.64); }
  76%, 100% { transform: translateY(-50px) rotate(8deg) scale(0.45); opacity: 0; }
}

@keyframes alien-peek-bottom {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  18%, 72% { transform: translateY(-74px) rotate(-2deg); }
  28% { transform: translateY(-68px) rotate(3deg); }
  36% { transform: translateY(-74px) rotate(-2deg); }
}

@keyframes alien-peek-left {
  0%, 100% { transform: translateX(0) rotate(-2deg); }
  18%, 72% { transform: translateX(232px) rotate(1deg); }
  28% { transform: translateX(226px) rotate(-2deg); }
  36% { transform: translateX(232px) rotate(1deg); }
}

@keyframes alien-peek-right {
  0%, 100% { transform: translateX(0) rotate(2deg); }
  18%, 72% { transform: translateX(-232px) rotate(-1deg); }
  28% { transform: translateX(-226px) rotate(2deg); }
  36% { transform: translateX(-232px) rotate(-1deg); }
}

@keyframes alien-peek-top {
  0%, 100% { transform: translate(-50%, 0) rotate(2deg); }
  18%, 72% { transform: translate(-50%, 104px) rotate(-1deg); }
  28% { transform: translate(-50%, 98px) rotate(2deg); }
  36% { transform: translate(-50%, 104px) rotate(-1deg); }
}

@keyframes daily-orbit {
  to { transform: rotate(345deg); }
}

@keyframes cargo-scan {
  0%, 12% { transform: translateY(-4px); opacity: 0; }
  22% { opacity: 0.8; }
  82% { transform: translateY(171px); opacity: 0.68; }
  92%, 100% { transform: translateY(178px); opacity: 0; }
}

@keyframes reel-idle-step {
  0%, 16% { transform: translateY(0); }
  82% { transform: translateY(-51px); }
  91% { transform: translateY(-59px); }
  96% { transform: translateY(-56px); }
  100% { transform: translateY(-58px); }
}

@keyframes spin-cta-call {
  0%, 68%, 100% { transform: translateY(0) scale(1); box-shadow: 0 12px 30px rgba(255, 111, 158, 0.22); }
  74% { transform: translateY(-4px) scale(1.015); box-shadow: 0 18px 40px rgba(255, 111, 158, 0.42); }
  79% { transform: translateY(1px) scale(0.995); }
  84% { transform: translateY(-2px) scale(1.008); box-shadow: 0 15px 34px rgba(255, 200, 87, 0.34); }
  90% { transform: translateY(0) scale(1); }
}

@keyframes spin-cta-shine {
  0%, 68% { left: -22%; opacity: 0; }
  73% { opacity: 1; }
  91%, 100% { left: 112%; opacity: 0; }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) scale(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.35); }
}

@keyframes core-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 0.95; transform: scale(1.04); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes reward-pop {
  from { opacity: 1; }
  to { opacity: 0; transform: rotate(calc(var(--i) * 40deg)) translateY(-78px) rotate(45deg); }
}

@keyframes daily-reward-reveal {
  0% { opacity: 0.45; transform: scale(0.96); }
  58% { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes vocab-card-reveal {
  from { opacity: 0.72; transform: scale(0.975) rotateY(-3deg); }
  to { opacity: 1; transform: scale(1) rotateY(0); }
}

@keyframes sheet-in {
  from { transform: translateY(28px); opacity: 0; }
}

@keyframes toast-in {
  from { transform: translateY(-8px); opacity: 0; }
}

@media (max-width: 390px) {
  .page-content {
    padding-right: 15px;
    padding-left: 15px;
  }

  .activity-block {
    margin-right: -15px;
    margin-left: -15px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .skill-galaxy {
    width: 338px;
    max-width: 100%;
  }

  .skill-orbit--1 { width: 138px; height: 138px; }
  .skill-orbit--2 { width: 196px; height: 196px; }
  .skill-orbit--3 { width: 254px; height: 254px; }
  .skill-orbit--4 { width: 314px; height: 314px; }
  .skill-planet { --radius: 69px; }
  .skill-planet--orbit-2 { --radius: 98px; }
  .skill-planet--orbit-3 { --radius: 127px; }
  .skill-planet--orbit-4 { --radius: 146px; }

  .skill-planet__label { font-size: 10px; }

  .smart-practice {
    width: 102px;
    height: 102px;
  }

  .orbit-key__row {
    grid-template-columns: 91px 1fr;
  }

  .orbit-key__row > strong { font-size: 10px; }
  .orbit-key button span { font-size: 10px; }
  .orbit-key button b { font-size: 9px; }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-heading > span {
    font-size: 10px;
  }

  .vocab-mode-grid {
    grid-template-columns: 1fr;
  }

  .vocab-coverage {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vocab-coverage__number { min-width: 0; }

  .vocab-mode-card {
    min-height: 180px;
  }

  .vocab-mode-card__icon {
    margin-bottom: 18px;
  }

  .vocab-flashcard {
    min-height: 405px;
  }
}

@media (min-width: 700px) {
  #app {
    margin-top: 18px;
    margin-bottom: 18px;
    border-radius: 30px;
  }

  .app-shell {
    min-height: calc(100vh - 36px);
  }
}

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