.setup-experience-page {
  background:
    radial-gradient(900px 560px at 12% -5%, rgba(43,140,255,.22), transparent 58%),
    radial-gradient(700px 520px at 95% 12%, rgba(112,78,255,.14), transparent 58%),
    linear-gradient(180deg, #05070b 0%, #0a0e16 100%);
}

.setup-experience-page [hidden] { display: none !important; }

.setup-experience-content {
  padding:
    calc(var(--app-safe-top) + 18px)
    max(14px, var(--app-safe-right))
    calc(var(--app-safe-bottom) + 28px)
    max(14px, var(--app-safe-left));
}

.setup-experience-shell {
  width: min(100%, 820px);
  min-height: calc(var(--app-height) - var(--app-safe-top) - var(--app-safe-bottom) - 46px);
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 22px;
}

.setup-experience-hero {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 22px;
}

.setup-eagle-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}
.setup-eagle {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.45));
}
.setup-eagle-glow {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(43,140,255,.35), rgba(120,78,255,.16));
  box-shadow: 0 18px 60px rgba(43,140,255,.24), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(8deg);
}
.setup-kicker {
  color: #75b5ff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.setup-experience-hero h1 {
  margin: 7px 0 8px;
  color: #f4f7fc;
  font-size: clamp(1.75rem, 5vw, 2.7rem);
  line-height: 1.06;
}
.setup-experience-hero p {
  max-width: 54ch;
  margin: 0;
  color: #aeb8c8;
  font-size: 1rem;
  line-height: 1.55;
}

.setup-wizard-card {
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 25px;
  background: rgba(12,17,26,.9);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.setup-progress-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8ea0b8;
  font-size: .82rem;
  font-weight: 800;
}
.setup-back-button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #dce4ef;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.setup-back-button .material-icons { font-size: 18px; }
.setup-progress-track {
  height: 7px;
  margin: 8px 0 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.setup-progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b8cff, #7668ff);
  box-shadow: 0 0 18px rgba(43,140,255,.45);
  transition: width .25s ease;
}

.setup-stage h2 {
  margin: 0;
  color: #f3f6fb;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.15;
}
.setup-stage > p {
  margin: 8px 0 20px;
  color: #9eabba;
  line-height: 1.5;
}
.setup-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.setup-option-card {
  min-height: 88px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  color: #f0f4fa;
  text-align: left;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.setup-option-card:active { transform: scale(.985); }
.setup-option-card:hover,
.setup-option-card.is-selected {
  border-color: rgba(78,156,255,.72);
  background: linear-gradient(125deg, rgba(43,140,255,.18), rgba(255,255,255,.045));
}
.setup-option-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(43,140,255,.13);
  font-size: 1.4rem;
}
.setup-option-copy strong { display: block; color: #f4f7fc; font-size: 1rem; }
.setup-option-copy span { display: block; margin-top: 4px; color: #91a0b3; font-size: .82rem; line-height: 1.3; }
.setup-option-check { color: #68adff; opacity: 0; }
.setup-option-card.is-selected .setup-option-check { opacity: 1; }

.setup-level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.setup-level-grid .setup-option-card {
  min-height: 118px;
  grid-template-columns: 1fr;
  align-content: center;
  text-align: center;
}
.setup-level-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(43,140,255,.25), rgba(112,78,255,.16));
  color: #eaf3ff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 950;
}

.setup-reminder-panel {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 18px;
  align-items: stretch;
}
.setup-reminder-copy,
.setup-reminder-clock {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.setup-reminder-copy ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.setup-reminder-copy li { display: flex; align-items: center; gap: 8px; color: #aeb9c8; }
.setup-reminder-copy li .material-icons { color: #6cafef; font-size: 20px; }
.setup-reminder-clock { display: grid; align-content: center; text-align: center; }
.setup-reminder-clock .material-icons { color: #7db9ff; font-size: 34px; }
.setup-reminder-clock input {
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  border: 1px solid rgba(92,164,255,.28);
  border-radius: 14px;
  background: #0b111b;
  color: #f4f7fb;
  font-size: 1.35rem;
  font-weight: 850;
  text-align: center;
}
.setup-choice-row { display: flex; gap: 10px; margin-top: 16px; }
.setup-choice-row button { flex: 1; min-height: 48px; border-radius: 13px; font-weight: 850; }
.setup-choice-primary { border: 0; background: linear-gradient(100deg, #2b8cff, #695fff); color: white; }
.setup-choice-secondary { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #c9d1dd; }

.setup-summary-card {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.setup-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #9aa8ba;
}
.setup-summary-row strong { color: #f2f6fb; text-align: right; }
.setup-finish-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(100deg, #2b8cff, #695fff);
  color: white;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(43,140,255,.22);
}
.setup-loading,
.setup-error {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #aeb8c8;
  text-align: center;
}
.setup-error button { min-height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: #2b8cff; color: white; font-weight: 850; }

@media (max-width: 680px) {
  .setup-experience-shell { align-content: start; }
  .setup-experience-hero { grid-template-columns: 76px 1fr; gap: 14px; }
  .setup-eagle-wrap { width: 76px; height: 76px; }
  .setup-eagle { width: 58px; height: 58px; }
  .setup-experience-hero h1 { font-size: 1.55rem; }
  .setup-experience-hero p { font-size: .9rem; }
  .setup-options-grid { grid-template-columns: 1fr; }
  .setup-level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-reminder-panel { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .setup-wizard-card { padding: 16px; border-radius: 20px; }
  .setup-level-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .setup-level-grid .setup-option-card { min-height: 105px; padding: 11px 8px; }
}

.setup-reminder-clock small {
  display: block;
  margin-top: 8px;
  color: #8998ac;
  font-size: .73rem;
}
.setup-reminder-message {
  min-height: 20px;
  margin: 8px 2px 0;
  color: #a79cff;
  font-size: .8rem;
  text-align: center;
}
