:root {
  --navy: #07152e;
  --navy-2: #0d2345;
  --panel: rgba(8, 24, 50, 0.78);
  --panel-2: rgba(255, 255, 255, 0.1);
  --teal: #1dd6c3;
  --teal-2: #41f1db;
  --gold: #ffcf54;
  --gold-2: #f9a826;
  --green: #38d96d;
  --red: #ff5b70;
  --blue: #61a6ff;
  --white: #f7fbff;
  --muted: #9fb1ca;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --round: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(29, 214, 195, 0.22), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(255, 207, 84, 0.18), transparent 28%),
    linear-gradient(135deg, #050816 0%, #07152e 42%, #122f5f 100%);
  overflow: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
}

.desktop-stage {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
}

.phone-shell {
  width: min(430px, 100vw);
  height: min(920px, 100dvh);
  min-height: 720px;
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  border: 10px solid rgba(255, 255, 255, 0.08);
  background: #061228;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.11);
}

.status-bar {
  height: 34px;
  padding: 10px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.status-icons {
  letter-spacing: 1px;
  font-size: 11px;
}

.app-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(145deg, #091a38, #092a44 60%, #0a413e);
}

.scene-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-bg::before {
  content: "";
  position: absolute;
  inset: -90px -70px auto;
  height: 340px;
  background:
    radial-gradient(circle at 22% 34%, rgba(255, 207, 84, 0.42), transparent 22%),
    radial-gradient(circle at 72% 25%, rgba(92, 166, 255, 0.46), transparent 25%),
    linear-gradient(135deg, rgba(29, 214, 195, 0.5), rgba(18, 47, 95, 0.1));
  filter: blur(2px);
}

.city-skyline {
  position: absolute;
  inset: 140px 0 auto 0;
  height: 210px;
  opacity: 0.65;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(255, 255, 255, 0.08) 4% 18%, transparent 18% 22%, rgba(255, 255, 255, 0.1) 22% 37%, transparent 37% 43%, rgba(255, 255, 255, 0.08) 43% 62%, transparent 62% 68%, rgba(255, 255, 255, 0.11) 68% 84%, transparent 84%),
    linear-gradient(180deg, transparent 0 35%, rgba(255, 255, 255, 0.06) 35%);
  clip-path: polygon(0 48%, 8% 48%, 8% 30%, 18% 30%, 18% 50%, 27% 50%, 27% 20%, 40% 20%, 40% 46%, 52% 46%, 52% 12%, 66% 12%, 66% 43%, 78% 43%, 78% 25%, 91% 25%, 91% 51%, 100% 51%, 100% 100%, 0 100%);
}

.street {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 9%, transparent 9% 18%) 0 52% / 130px 12px repeat-x,
    linear-gradient(180deg, #1f2c3a, #111926);
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.game-layer {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 44px 16px 94px;
  overflow-y: auto;
  scrollbar-width: none;
}

.game-layer::-webkit-scrollbar {
  display: none;
}

.top-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark,
.coach-avatar,
.contact-avatar,
.bank-token {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffe07c, #ff9f31);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.logo-mark {
  width: 48px;
  height: 48px;
  font-size: 27px;
}

.logo-copy span,
.eyebrow {
  display: block;
  font-size: 11px;
  color: var(--teal-2);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.logo-copy strong {
  font-size: 21px;
  line-height: 1;
}

.chip-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.resource-chip {
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  gap: 5px;
  align-items: center;
}

.screen {
  display: none;
  animation: rise 0.34s ease both;
}

.screen.active {
  display: block;
}

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

.card {
  border-radius: var(--round);
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-card {
  min-height: 224px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 207, 84, 0.38), transparent 24%),
    linear-gradient(145deg, rgba(14, 58, 102, 0.92), rgba(5, 23, 49, 0.82));
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -38px;
  bottom: -55px;
  background: radial-gradient(circle, rgba(29, 214, 195, 0.42), transparent 68%);
}

.goal-title {
  font-size: 34px;
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 8px 0 12px;
}

.progress-orb {
  position: absolute;
  right: 18px;
  top: 54px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--green) var(--progress, 0deg), rgba(255, 255, 255, 0.13) 0),
    linear-gradient(145deg, #0e2445, #0a162d);
  box-shadow: inset 0 0 0 10px rgba(4, 12, 25, 0.8), 0 14px 30px rgba(0, 0, 0, 0.3);
}

.progress-orb strong {
  font-size: 25px;
  letter-spacing: -0.06em;
}

.hero-stats {
  width: calc(100% - 132px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-stat {
  padding: 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.mini-stat span,
.label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.game-btn {
  border-radius: 18px;
  min-height: 54px;
  padding: 13px 14px;
  color: #08172f;
  font-weight: 1000;
  background: linear-gradient(180deg, #ffdf6b, #f6a624);
  box-shadow: inset 0 -5px 0 rgba(118, 60, 0, 0.22), 0 12px 26px rgba(0, 0, 0, 0.26);
  transform: translateY(0);
  transition: 0.16s ease;
}

.game-btn:active {
  transform: translateY(3px);
  box-shadow: inset 0 -2px 0 rgba(118, 60, 0, 0.22), 0 6px 14px rgba(0, 0, 0, 0.2);
}

.game-btn.secondary {
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.game-btn.green {
  background: linear-gradient(180deg, #58ee87, #1cb958);
}

.game-btn.blue {
  color: white;
  background: linear-gradient(180deg, #66b8ff, #2275e8);
}

.game-btn.red {
  color: white;
  background: linear-gradient(180deg, #ff7b8d, #d9324a);
}

.coach-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.coach-avatar {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #f9bdd9, #7ed8ff);
  font-size: 28px;
}

.coach-message {
  color: #dfeaff;
  line-height: 1.35;
}

.mission-card {
  display: grid;
  gap: 8px;
}

.mission-row,
.reward-row,
.message-row,
.call-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.mission-row small,
.reward-row small,
.message-row small,
.call-row small {
  color: var(--muted);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 7px;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--gold));
}

.board-card {
  padding: 12px;
  min-height: 650px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 207, 84, 0.16), transparent 21%),
    radial-gradient(circle at 75% 45%, rgba(29, 214, 195, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(88, 166, 255, 0.18), rgba(255, 255, 255, 0.07));
}

.board-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.space {
  position: relative;
  min-height: 74px;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

.space:nth-child(odd) {
  transform: translateY(12px);
}

.space.completed {
  background: linear-gradient(160deg, rgba(52, 219, 108, 0.8), rgba(17, 124, 86, 0.68));
}

.space.current {
  outline: 3px solid var(--gold);
  animation: pulse 1.4s infinite;
}

.space.missed {
  background: linear-gradient(160deg, rgba(255, 91, 112, 0.55), rgba(255, 255, 255, 0.07));
}

.space-num {
  font-weight: 1000;
  font-size: 13px;
}

.space-target {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.space-icon {
  position: absolute;
  right: 6px;
  bottom: 3px;
  font-size: 25px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 207, 84, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 207, 84, 0.4);
  }
}

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

.deposit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 13px 12px;
  color: white;
  background: rgba(3, 10, 24, 0.48);
  outline: none;
}

.field textarea {
  min-height: 70px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 214, 195, 0.14);
}

.bank-scene {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 32% 34%, transparent 34%),
    linear-gradient(180deg, #16426a, #0e1c33 48%, #172333 48%);
}

.bank-building {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 66px) 0 0/66px 48px,
    linear-gradient(180deg, #dce9f7, #93a9c0);
  color: #07152e;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.bank-sign {
  position: absolute;
  top: 28px;
  left: 34px;
  font-size: 42px;
  color: #ffd86c;
  font-weight: 1000;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.bank-door {
  width: 88px;
  height: 112px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(145deg, #102846, #59c0d7);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.3);
}

.atm-machine {
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(145deg, #eff7ff, #8a9bae 45%, #536170);
  box-shadow: inset 0 -18px 0 rgba(0, 0, 0, 0.14), 0 24px 50px rgba(0, 0, 0, 0.3);
  color: #0a1831;
}

.atm-top {
  border-radius: 16px;
  background: linear-gradient(180deg, #40ffc8, #10b77b);
  padding: 10px;
  font-weight: 1000;
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.atm-screen {
  min-height: 190px;
  margin: 14px 0;
  border-radius: 18px;
  padding: 15px;
  background: linear-gradient(145deg, #2be4ff, #0870b7);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.2);
  color: white;
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.atm-screen strong {
  font-size: 26px;
}

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

.keypad button,
.atm-action {
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, #f9fbff, #bfccd7);
  color: #07152e;
  font-weight: 1000;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.atm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.receipt {
  background: #f9fbff;
  color: #101828;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  border: 2px dashed rgba(8, 23, 47, 0.26);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  background: rgba(255, 207, 84, 0.18);
  color: #ffe8a3;
}

.bottom-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(3, 10, 24, 0.74);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.nav-btn {
  min-height: 58px;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 900;
}

.nav-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-btn.active {
  color: #08172f;
  background: linear-gradient(180deg, var(--teal-2), var(--teal));
}

.phone-fab {
  position: absolute;
  z-index: 26;
  right: 18px;
  bottom: 92px;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, #232b43, #0a1225);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-fab svg {
  width: 25px;
  fill: white;
}

.phone-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 1000;
  background: var(--red);
}

.phone-overlay,
.modal-overlay,
.call-overlay,
.splash {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.phone-overlay.open,
.modal-overlay.open,
.call-overlay.open,
.splash.open {
  display: grid;
}

.modal-overlay {
  overflow-y: auto;
  align-items: start;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}

.quest-phone {
  width: min(360px, 100%);
  height: min(720px, calc(100dvh - 56px));
  border-radius: 38px;
  padding: 16px;
  background: linear-gradient(145deg, #111525, #040714);
  border: 7px solid #1f273d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.11);
  animation: phoneUp 0.28s ease both;
  overflow: hidden;
}

@keyframes phoneUp {
  from {
    transform: translateY(80px) scale(0.94);
    opacity: 0;
  }
}

.phone-screen {
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(29, 214, 195, 0.36), transparent 28%),
    linear-gradient(160deg, #101d3d, #070a15 72%);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px 10px;
}

.phone-close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 1000;
}

.phone-body {
  height: calc(100% - 66px);
  overflow-y: auto;
  padding: 0 14px 18px;
  scrollbar-width: none;
}

.phone-body::-webkit-scrollbar {
  display: none;
}

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

.phone-app {
  min-height: 88px;
  border-radius: 22px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  gap: 5px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.phone-app .app-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #1dd6c3, #2978ff);
  font-size: 23px;
}

.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50px;
  z-index: 60;
  display: none;
  padding: 12px;
  border-radius: 18px;
  background: rgba(4, 10, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
  animation: toastIn 0.28s ease both;
}

.toast.show {
  display: flex;
  gap: 10px;
  align-items: center;
}

@keyframes toastIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
}

.call-card,
.setup-card {
  width: min(380px, 100%);
  border-radius: 32px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(9, 20, 43, 0.96), rgba(5, 11, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  animation: rise 0.28s ease both;
}

.setup-card {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  scrollbar-width: none;
}

.setup-card::-webkit-scrollbar {
  display: none;
}

.incoming-call {
  text-align: center;
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.big-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 38px;
  font-size: 58px;
  background: linear-gradient(145deg, #f8bfdb, #58a9ff);
  display: grid;
  place-items: center;
  animation: vibrate 1s infinite;
}

@keyframes vibrate {
  0%,
  100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-2deg);
  }
  40% {
    transform: rotate(2deg);
  }
}

.call-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dialogue {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.4;
}

.response-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.response-list button {
  text-align: left;
  border-radius: 15px;
  padding: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.splash {
  z-index: 80;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(29, 214, 195, 0.24), transparent 36%),
    linear-gradient(145deg, #07152e, #07101e);
}

.splash-card {
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.coin-loader {
  width: 132px;
  height: 132px;
  border-radius: 42px;
  display: grid;
  place-items: center;
  font-size: 76px;
  background: linear-gradient(145deg, #ffeb86, #ef9e1f);
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.14), 0 22px 50px rgba(0, 0, 0, 0.38);
  animation: flipCoin 1.4s infinite ease-in-out;
}

@keyframes flipCoin {
  50% {
    transform: rotateY(180deg) translateY(-8px);
  }
}

.loading-bar {
  width: 250px;
  height: 14px;
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.loading-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  animation: load 1.6s ease both;
}

@keyframes load {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 70;
}

.confetti i {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 4px;
  animation: fall 1.4s ease-out forwards;
}

@keyframes fall {
  to {
    transform: translateY(720px) rotate(600deg);
    opacity: 0;
  }
}

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 30px 12px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 480px) {
  .desktop-stage {
    padding: 0;
  }

  .phone-shell {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .game-layer {
    padding-left: 14px;
    padding-right: 14px;
  }
}
