:root {
  --bg-0: #000000;
  --bg-card: #0c1322;
  --bg-card-soft: #111a2e;
  --bg-inner: #161f36;
  --bg-pill: #1a2440;

  --border-soft: rgba(91, 184, 255, 0.06);
  --border: rgba(91, 184, 255, 0.12);
  --border-strong: rgba(91, 184, 255, 0.30);

  --accent: #3d6fff;
  --accent-bright: #5bb8ff;
  --accent-deep: #1a4ecc;
  --accent-glow: rgba(91, 184, 255, 0.45);
  --accent-glow-soft: rgba(91, 184, 255, 0.20);
  --accent-glow-faint: rgba(91, 184, 255, 0.08);

  --ok: #34d399;
  --ok-bg: rgba(52, 211, 153, 0.12);

  --text-primary: #ffffff;
  --text-secondary: #8a93a6;
  --text-muted: #5b6478;
  --text-faint: #3d4459;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 32px;

  --button-font-size: 14px;
  --button-font-weight: 650;
  --button-letter-spacing: 0.01em;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
*::-webkit-scrollbar { width: 0; height: 0; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Reserve scrollbar gutter so layout doesn't shift when content height changes between tabs */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #000000;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px calc(82px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

/* ========== TOPBAR ========== */
.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 8px;
  margin-top: -8px;
  margin-bottom: 20px;
}

.topbar__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 198px;
  max-width: 60vw;
  position: relative;
}

.logo-img {
  display: block;
  width: 198px;
  max-width: 60vw;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}


/* ========== SCREENS ========== */
.screen {
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 280ms var(--easing);
}

.screen.is-active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ========== CARD ========== */
.card {
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.card::before { content: none; }
.card::after { content: none; }

.card--hero {
  padding: 18px 20px 20px;
}

.card--mini {
  padding: 14px 18px;
  cursor: pointer;
  transition: background 220ms var(--easing), border-color 220ms var(--easing);
}

.card--mini:hover,
.card--mini:focus-visible {
  background: var(--bg-card-soft);
  border-color: var(--border-strong);
  outline: none;
}

.card__head {
  margin-bottom: 14px;
}

.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__title {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 4px 0 0;
  color: var(--text-primary);
}

.card__minititle {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--text-primary);
}

.muted {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.muted--sm {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ===== Home hero ===== */
.screen[data-screen="home"] .card--hero {
  background:
    radial-gradient(135% 90% at 88% -12%, rgba(91, 184, 255, 0.13) 0%, transparent 55%),
    #0A0A0A;
}

.screen[data-screen="home"] .card__head {
  margin-bottom: 16px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero__eyebrow svg {
  width: 14px;
  height: 14px;
}

.screen[data-screen="home"] .card__title {
  font-size: 28px;
  line-height: 1.05;
  margin-top: 9px;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .screen[data-screen="home"] .card__title { font-size: 25px; }
}

@media (max-width: 340px) {
  .screen[data-screen="home"] .card__title { font-size: 22px; }
}

.card__subtitle {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== Home: offer feature tiles ===== */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(91, 184, 255, 0.07) 0%, transparent 60%),
    #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
  background: linear-gradient(160deg, #5bb8ff 0%, #3d6fff 52%, #2a5cf0 100%);
  border: 1px solid rgba(155, 210, 255, 0.45);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.20) inset,
    0 0 0 4px rgba(91, 184, 255, 0.06),
    0 12px 24px -12px rgba(61, 111, 255, 0.90);
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.feature__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* ========== ICON BUTTON ========== */
.iconbtn {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-inner);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: border-color 220ms var(--easing), color 220ms var(--easing);
  flex-shrink: 0;
}

.iconbtn:hover {
  border-color: var(--border-strong);
  color: var(--accent-bright);
}

.iconbtn svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== ROW CARDS ========== */
.rowcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.rowcards--stack {
  grid-template-columns: 1fr;
}

.rowcard {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.rowcard__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-glow-faint);
  color: var(--accent-bright);
}

.rowcard__icon--accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
}

.rowcard__icon--ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.rowcard__icon svg {
  width: 18px;
  height: 18px;
}

.rowcard__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.rowcard__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rowcard__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== PROFILE IDENTITY ========== */
.screen[data-screen="profile"] .card__title {
  text-align: center;
  margin: 0 0 12px;
  font-size: 22px;
}

.screen[data-screen="profile"] .rowcards {
  margin-bottom: 10px;
}

.screen[data-screen="profile"] .card--hero {
  padding: 14px 16px 16px;
}

/* ========== STATUS DASHBOARD ========== */
.status-card {
  min-height: min(372px, calc(100dvh - 218px));
  display: flex;
  flex-direction: column;
}

.status-card .emptystate {
  flex: 1;
  justify-content: center;
  padding: 34px 20px 24px;
}

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

.profile-card {
  min-height: 82px;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 34px -30px rgba(0, 0, 0, 0.88);
}

.profile-card--tile {
  min-height: 108px;
  padding: 10px 10px 12px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 11px;
}

.profile-card--action {
  appearance: none;
  width: 100%;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
}

.profile-card--action:active {
  transform: translateY(1px);
}

.profile-card::after { content: none; }

.profile-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent) !important;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(91, 184, 255, 0.30) 0%, rgba(61, 111, 255, 0.12) 55%, rgba(7, 12, 24, 0.90) 100%);
  border: 1px solid rgba(155, 210, 255, 0.30);
  box-shadow:
    0 0 0 4px rgba(91, 184, 255, 0.06),
    0 16px 28px -20px rgba(91, 184, 255, 0.90);
}

.profile-card__avatar::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 2;
}

.profile-card__avatar.is-loaded {
  background: rgba(7, 12, 24, 0.88);
}

.profile-card__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-card__fallback {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.profile-card__fallback.is-hidden {
  display: none;
}

.profile-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.profile-card__body--center {
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 1 auto;
}

.profile-card__name {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card--tile .profile-card__name {
  width: 100%;
  font-size: 14px;
}

.profile-card__meta {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card--tile .profile-card__meta {
  width: 100%;
}

.profile-card__support-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent) !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(91, 184, 255, 0.28) 0%, rgba(61, 111, 255, 0.20) 56%, rgba(26, 78, 204, 0.76) 100%),
    rgba(7, 12, 24, 0.88);
  border: 1px solid rgba(155, 210, 255, 0.28);
  box-shadow:
    0 0 0 4px rgba(91, 184, 255, 0.06),
    0 16px 28px -20px rgba(61, 111, 255, 0.85);
}

.profile-card__support-icon svg {
  width: 20px;
  height: 20px;
}

/* ========== BALANCE ========== */
.balance-card {
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 17px 16px 20px;
  display: grid;
  gap: 14px;
  min-height: 142px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 34px -28px rgba(0, 0, 0, 0.80),
    0 0 38px -26px rgba(91, 184, 255, 0.32);
}

.balance-card::after { content: none; }

.balance-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.balance-card__icon {
  background: var(--accent);
  border: none;
  color: #ffffff;
  box-shadow: none;
}

.balance-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.balance-card__value {
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.balance-card__button {
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  padding: 13px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  letter-spacing: var(--button-letter-spacing);
  text-transform: none;
  cursor: pointer;
  transition: filter 220ms var(--easing), transform 160ms var(--easing);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.16) inset,
    0 10px 22px -16px rgba(61, 111, 255, 0.90);
}

.balance-card__button:hover { filter: brightness(1.08); }
.balance-card__button:active { transform: scale(0.97); }

.balance-card__button svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

/* ========== WALLET ========== */
.wallet {
  min-height: calc(100dvh - 136px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet__hero {
  min-height: 178px;
  border: 1px solid rgba(91, 184, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background:
    radial-gradient(ellipse 95% 70% at 78% 10%, rgba(91, 184, 255, 0.20) 0%, transparent 62%),
    radial-gradient(ellipse 75% 60% at 18% 0%, rgba(61, 111, 255, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, rgba(22, 32, 58, 0.96) 0%, rgba(6, 10, 20, 0.96) 100%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 50px -28px rgba(0, 0, 0, 0.9),
    0 0 54px -28px rgba(91, 184, 255, 0.34);
}

.wallet__label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.wallet__amount {
  color: var(--text-primary);
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.topup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 0 4px;
}

.topup__label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topup__field {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  cursor: text;
  padding: 4px 6px;
  border-radius: 8px;
  max-width: 100%;
  transition: background 220ms var(--easing);
}

.topup__field:focus-within {
  background: rgba(91, 184, 255, 0.04);
}

.topup__currency {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
}

.topup__sizer {
  visibility: hidden;
  pointer-events: none;
  white-space: pre;
  position: absolute;
  left: -9999px;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: inherit;
}

.topup__input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0;
  margin: 0;
  width: 1ch;
  min-width: 1ch;
  caret-color: var(--accent-bright);
  text-align: left;
  box-shadow: none;
  border-radius: 0;
}

.topup__input::placeholder {
  color: var(--text-faint);
  opacity: 1;
  font-weight: 800;
}

.topup__input::-webkit-outer-spin-button,
.topup__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.topup__hint {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 220ms var(--easing);
  min-height: 18px;
}

.topup__hint.is-error {
  color: #ff6b6b;
}

.wallet__pay {
  margin-top: 4px;
}

.wallet__pay:disabled,
.setup__cta:disabled {
  filter: grayscale(0.4) brightness(0.7);
  cursor: not-allowed;
  box-shadow: none;
}

/* ========== SETUP SERVER ========== */
.setup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.setup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setup__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 16px;
  border-radius: var(--radius-md);
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    border-color 200ms var(--easing),
    background 200ms var(--easing),
    box-shadow 200ms var(--easing);
}

.setup__field:focus-within {
  background: #0d0d0d;
  border-color: rgba(91, 184, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(91, 184, 255, 0.08);
}

.setup__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.setup__input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: none;
  outline: none;
  color: var(--text-primary);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 0;
  margin: 0;
  width: 100%;
  caret-color: var(--accent-bright);
  border-radius: 0;
  box-shadow: none;
}

.setup__input::placeholder {
  color: var(--text-faint);
  font-weight: 400;
}

.setup__passrow,
.setup__lockedrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.setup__field--locked {
  background: #050505;
  cursor: default;
}

.setup__field--locked:focus-within {
  background: #050505;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.setup__field--locked .setup__input {
  color: var(--text-secondary);
  cursor: default;
  pointer-events: none;
}

.setup__lockicon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.setup__lockicon svg {
  width: 16px;
  height: 16px;
}

.setup__eye {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: color 160ms var(--easing);
}

.setup__eye:hover,
.setup__eye.is-on {
  color: var(--accent-bright);
}

.setup__eye svg {
  width: 20px;
  height: 20px;
}

.setup__notice {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: 12px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.setup__cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.setup__cost-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.setup__cost-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.setup__cost-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.setup__cost-value {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.setup__cta {
  margin-top: 6px;
}

/* ========== PILLS ========== */
.pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.pill {
  background: var(--bg-pill);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pill--accent {
  background: linear-gradient(180deg, rgba(61, 111, 255, 0.22) 0%, rgba(26, 78, 204, 0.10) 100%);
  border-color: var(--border-strong);
}

.pill__num {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pill--accent .pill__num {
  color: var(--accent-bright);
}

.pill__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ========== CTA BUTTON ========== */
.cta {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  background-clip: padding-box;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 999px;
  padding: 13px 26px;
  color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  letter-spacing: var(--button-letter-spacing);
  cursor: pointer;
  transition: filter 220ms var(--easing), transform 160ms var(--easing);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.cta::before { content: none; }
.cta::after { content: none; }

.cta:focus,
.cta:focus-visible {
  outline: none;
  box-shadow: none;
}

.cta:hover { filter: brightness(1.06); }
.cta:active { transform: scale(0.97); filter: brightness(0.96); }

.cta--sm {
  padding: 10px 22px;
  font-size: 12.5px;
  width: auto;
}

.cta__arrow {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

/* ========== CHEVRON ========== */
.chev {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.chev svg {
  width: 18px;
  height: 18px;
}

/* ========== EMPTY STATE ========== */
.emptystate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 20px 20px;
  text-align: center;
}

.emptystate__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--bg-inner);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  color: var(--accent-bright);
}

.emptystate__icon svg {
  width: 26px;
  height: 26px;
}

.emptystate__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ========== SUPPORT CHAT ========== */
.support {
  min-height: calc(100dvh - 136px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px;
}

.support__titlewrap {
  min-width: 0;
}

.support__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-primary);
}

.support__status {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support__messages {
  flex: 1;
  min-height: 360px;
  max-height: calc(100dvh - 250px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px 10px;
}

.support__empty {
  margin: auto;
  max-width: 280px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.support__bubble {
  max-width: 84%;
  border: 1px solid rgba(91, 184, 255, 0.10);
  border-radius: 18px;
  padding: 11px 13px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.9);
}

.support__bubble--user {
  align-self: flex-end;
  background: linear-gradient(180deg, #3D6FFF 0%, #1A4ECC 100%);
  border-color: rgba(155, 210, 255, 0.36);
}

.support__bubble--support {
  align-self: flex-start;
  background: rgba(22, 31, 54, 0.86);
}

.support__bubble--system {
  align-self: center;
  max-width: 92%;
  background: rgba(52, 211, 153, 0.10);
  border-color: rgba(52, 211, 153, 0.18);
  color: #b7f3d8;
  font-size: 12px;
}

.support__composer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(91, 184, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 32, 58, 0.90) 0%, rgba(8, 13, 26, 0.92) 100%);
  box-shadow:
    0 1px 0 0 rgba(91, 184, 255, 0.08) inset,
    0 16px 36px -22px rgba(0, 0, 0, 0.8);
}

.support__row {
  display: grid;
  grid-template-columns: 44px 1fr 48px;
  gap: 8px;
  align-items: end;
}

.support__composer textarea {
  width: 100%;
  min-height: 46px;
  max-height: 120px;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  padding: 12px 4px 10px 8px;
}

.support__composer textarea::placeholder {
  color: var(--text-muted);
}

.support__send {
  appearance: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(155, 210, 255, 0.42);
  border-radius: 16px;
  background: linear-gradient(180deg, #5BA8FF 0%, #3D6FFF 48%, #1A4ECC 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(61, 111, 255, 0.65);
}

.support__send:disabled {
  cursor: default;
  filter: grayscale(0.5);
  opacity: 0.55;
}

.support__send svg {
  width: 20px;
  height: 20px;
}

/* ----- attach button ----- */
.support__attach {
  appearance: none;
  width: 44px;
  height: 48px;
  border: 1px solid rgba(91, 184, 255, 0.16);
  border-radius: 16px;
  background: rgba(91, 184, 255, 0.06);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms var(--easing), border-color 200ms var(--easing), transform 120ms var(--easing);
}

.support__attach:hover {
  background: rgba(91, 184, 255, 0.12);
  border-color: var(--border-strong);
}

.support__attach:active {
  transform: scale(0.94);
}

.support__attach:disabled {
  opacity: 0.45;
  cursor: default;
}

.support__attach svg {
  width: 20px;
  height: 20px;
}

/* ----- composer previews (selected, not yet sent) ----- */
.support__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(91, 184, 255, 0.10);
}

.support__chip {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-inner);
  flex: 0 0 auto;
}

.support__chip--file {
  width: auto;
  min-width: 132px;
  max-width: 176px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 30px 0 12px;
}

.support__chip-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.support__chip-icon {
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  flex: 0 0 auto;
}

.support__chip-icon svg {
  width: 22px;
  height: 22px;
}

.support__chip-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.support__chip-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.support__chip-remove svg {
  width: 12px;
  height: 12px;
}

/* ----- attachments inside bubbles ----- */
.support__bubble--media {
  padding: 4px;
  width: fit-content;
  max-width: 80%;
}

.support__photo {
  appearance: none;
  display: block;
  padding: 0;
  border: none;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

.support__photo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 340px;
  object-fit: contain;
  border-radius: 13px;
}

.support__file {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 200px;
  padding: 10px 12px;
  border: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.support__bubble--support .support__file {
  background: rgba(91, 184, 255, 0.10);
}

.support__file-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(91, 184, 255, 0.16);
  color: var(--accent-bright);
}

.support__bubble--user .support__file-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.support__file-icon svg {
  width: 20px;
  height: 20px;
}

.support__file-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.support__file-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support__file-size {
  font-size: 11px;
  opacity: 0.7;
}

.support__file-dl {
  flex: 0 0 auto;
  opacity: 0.8;
}

.support__file-dl svg {
  width: 18px;
  height: 18px;
}

.support__caption {
  padding: 7px 8px 3px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.support__gone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px dashed rgba(138, 147, 166, 0.4);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}
.support__gone::before {
  content: "🗑";
  font-style: normal;
}

/* ========== SETUP ANIMATION (placeholder, redesign later) ========== */
/* ========== STATUS: server list ========== */
.srvlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.srvlist.is-hidden { display: none; }

.srv {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-inner);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.srv__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-faint);
}
.srv__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.srv__host {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srv__phase {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* configuring — pulsing accent dot + swipe line on the bottom edge */
.srv.is-busy .srv__dot {
  background: var(--accent-bright);
  animation: srv-pulse 1.6s var(--easing) infinite;
}
.srv.is-busy .srv__phase { color: var(--accent-bright); }
.srv__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(91, 184, 255, 0.10);
  overflow: hidden;
}
.srv__bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  animation: setup-sweep 1.4s linear infinite;
}

/* done */
.srv.is-done .srv__dot { background: var(--ok); }
.srv.is-done .srv__phase { color: var(--ok); }

/* failed */
.srv.is-failed .srv__dot { background: #f87171; }
.srv.is-failed .srv__phase { color: #f87171; }

/* queued */
.srv.is-pending .srv__dot { background: var(--text-muted); }

@keyframes srv-pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 6px rgba(91, 184, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 184, 255, 0); }
}
@keyframes setup-sweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ========== ACTIVITY: transactions ledger ========== */
.txlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.txlist.is-hidden { display: none; }

.tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-inner);
  border: 1px solid var(--border-soft);
}
.tx__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-pill);
  color: var(--text-secondary);
}
.tx__icon svg { width: 18px; height: 18px; }
.tx--deposit .tx__icon,
.tx--refund .tx__icon {
  color: var(--ok);
  background: var(--ok-bg);
}
.tx__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tx__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx__meta {
  font-size: 12px;
  color: var(--text-muted);
}
.tx__status.is-prog { color: var(--accent-bright); }
.tx__status.is-refunded { color: var(--text-secondary); }
.tx__status.is-failed { color: #f87171; }
.tx__status.is-done { color: var(--text-muted); }
.tx__amt {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.tx__amt.is-plus { color: var(--ok); }

/* ========== META (status dot) ========== */
.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 22px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

.meta__dot.is-off {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 32px);
  max-width: 488px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(91, 184, 255, 0.14);
  border-radius: 22px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  box-shadow:
    0 1px 0 0 rgba(91, 184, 255, 0.10) inset,
    0 16px 40px -12px rgba(0, 0, 0, 0.7),
    0 0 48px -20px rgba(91, 184, 255, 0.20);
  z-index: 50;
}

.navitem {
  appearance: none;
  background: transparent;
  border: none;
  padding: 10px 0;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: color 220ms var(--easing), background 220ms var(--easing);
  position: relative;
}

.navitem svg {
  width: 22px;
  height: 22px;
  transition: transform 220ms var(--easing);
}

.navitem:hover {
  color: var(--text-secondary);
}

.navitem.is-active {
  color: var(--text-primary);
  background: var(--accent);
  box-shadow: none;
}

.navitem.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.navitem:active svg {
  transform: scale(0.92);
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--easing), transform 220ms var(--easing);
  z-index: 100;
  max-width: min(90vw, 360px);
  text-align: center;
  line-height: 1.35;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 12px 28px -8px rgba(0, 0, 0, 0.6),
    0 0 28px -10px var(--accent-glow-soft);
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== MOBILE TWEAKS ========== */
@media (max-width: 480px) {
  .app {
    padding: 0 12px calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .card {
    padding: 18px 16px;
    border-radius: 24px;
  }

  .card__title {
    font-size: 24px;
  }

  .card__head {
    margin-bottom: 18px;
  }

  .rowcards {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .rowcard {
    padding: 12px 14px;
    gap: 14px;
  }

  .rowcard__value {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cta {
    padding: 15px 18px;
    font-size: var(--button-font-size);
  }

  .card--mini {
    padding: 16px 18px;
  }

  .card__minititle {
    font-size: 14px;
  }

  .topbar {
    padding: 0 0 7px;
    margin-top: -4px;
    margin-bottom: 17px;
  }

  .topbar__logo {
    width: 300px;
  }

  .topbar__logo,
  .logo-img {
    width: 208px;
    max-width: 62vw;
  }

  .navbar {
    width: calc(100% - 24px);
    padding: 6px;
    border-radius: 20px;
  }

  .navitem {
    padding: 10px 0;
  }

  .navitem svg {
    width: 20px;
    height: 20px;
  }
}

/* very narrow phones */
@media (max-width: 360px) {
  .card__title {
    font-size: 22px;
  }

  .logo-img,
  .topbar__logo {
    width: 190px;
    max-width: 60vw;
  }
}

/* Full-screen support chat */
body.is-support-screen {
  overflow: hidden;
}

body.is-support-screen .app {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

body.is-support-screen .topbar,
body.is-support-screen .navbar {
  display: none;
}

body.is-support-screen .screen[data-screen="support"].is-active {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
}

body.is-support-screen .support {
  flex: 1;
  min-height: 0;
  height: 100%;
  gap: 10px;
}

body.is-support-screen .support__head {
  flex-shrink: 0;
  padding: 2px 0 4px;
}

body.is-support-screen .support__messages {
  flex: 1;
  min-height: 0;
  max-height: none;
  padding: 4px 2px 8px;
}

body.is-support-screen .support__composer {
  flex-shrink: 0;
}

body.is-support-screen .toast {
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

/* Compact full-screen flows (no top logo, no bottom nav) */
body.is-setup-screen .navbar,
body.is-wallet-screen .navbar,
body.is-docs-screen .navbar {
  display: none;
}

body.is-setup-screen .topbar,
body.is-wallet-screen .topbar,
body.is-docs-screen .topbar {
  display: none;
}

body.is-setup-screen .app,
body.is-wallet-screen .app,
body.is-docs-screen .app {
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

body.is-setup-screen .toast {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

body.is-setup-screen .setup {
  gap: 12px;
}

body.is-setup-screen .setup__form {
  gap: 10px;
}

body.is-setup-screen .setup__field {
  padding: 10px 16px 12px;
}

body.is-setup-screen .setup__notice {
  padding: 10px 14px;
  font-size: 11.5px;
  line-height: 1.4;
}

body.is-setup-screen .setup__cta {
  margin-top: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Setup: auth method toggle + branching ===== */
.is-hidden { display: none !important; }

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}
.segmented__btn {
  flex: 1;
  padding: 11px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font: 600 14px/1 "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.2s var(--easing), color 0.2s var(--easing);
}
.segmented__btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.setup__authblock { display: flex; flex-direction: column; gap: 10px; }

.keybox {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.keybox__code {
  flex: 1;
  min-width: 0;
  font: 500 12px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--accent-bright);
  word-break: break-all;
  white-space: pre-wrap;
}
.keybox__copy {
  flex: 0 0 auto;
  width: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: #0A0A0A;
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.keybox__copy svg { width: 18px; height: 18px; }
.keybox__copy:active { color: var(--accent-bright); }

.setup__check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font: 500 14px/1.3 "Inter", sans-serif;
  cursor: pointer;
}
.setup__check input { width: 20px; height: 20px; accent-color: var(--accent); }

.setup__doclink {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  background: #0A0A0A;
  color: var(--text-secondary);
  font: 600 14px/1 "Inter", sans-serif;
  cursor: pointer;
}
.setup__doclink svg { width: 18px; height: 18px; color: var(--accent-bright); }
.setup__doclink:active { border-color: var(--border-strong); }

/* ===== Requirements screen ===== */
.reqlist { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 18px; }
.reqitem { display: flex; gap: 12px; align-items: flex-start; }
.reqitem__dot {
  flex: 0 0 auto;
  width: 9px; height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-glow);
}
.reqitem b { color: var(--text-primary); font: 600 15px/1.3 "Inter", sans-serif; }
.reqitem p { margin: 3px 0 0; color: var(--text-secondary); font: 400 13px/1.45 "Inter", sans-serif; }

/* ===== Full guide screen ===== */
.guide__lead {
  margin: 2px 0 4px;
  color: var(--text-secondary);
  font: 400 14px/1.55 "Inter", sans-serif;
}
.guide__lead b { color: var(--text-primary); font-weight: 600; }
.guide__sec {
  padding: 16px 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}
.guide__sechead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.guide__num {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--accent-glow-faint);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  font: 700 12px/1 "Inter", sans-serif;
  box-shadow: 0 0 14px var(--accent-glow-soft);
}
.guide__sectitle {
  margin: 0;
  color: var(--text-primary);
  font: 650 16px/1.2 "Inter", sans-serif;
  letter-spacing: -0.01em;
}
.guide__text {
  margin: 0;
  color: var(--text-secondary);
  font: 400 13px/1.5 "Inter", sans-serif;
}
.guide__text b { color: var(--text-primary); font-weight: 600; }
.guide__text + .guide__steps { margin-top: 12px; }
.guide__steps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.guide__steps + .guide__note { margin-top: 14px; }
.guide__step { display: flex; gap: 12px; align-items: flex-start; }
.guide__stepn {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--bg-pill);
  color: var(--accent-bright);
  font: 700 12px/1 "Inter", sans-serif;
}
.guide__step b { color: var(--text-primary); font: 600 14px/1.3 "Inter", sans-serif; }
.guide__step p { margin: 3px 0 0; color: var(--text-secondary); font: 400 13px/1.45 "Inter", sans-serif; }
.guide__note {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: var(--text-secondary);
  font: 500 12.5px/1.45 "Inter", sans-serif;
}
.guide code {
  font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--accent-bright);
  background: rgba(91, 184, 255, 0.08);
  padding: 1px 5px;
  border-radius: 6px;
}
