/* ═══════════════════════════════════════════
   FiveM Ready .gratis — by verro
   dark premium · liquid glass · 3D pills
   ═══════════════════════════════════════════ */

:root {
  --bg: #08080a;
  --ink: #f5f5f7;
  --ink-2: #c9c9d1;
  --muted: #82828c;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(22, 22, 26, 0.72);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-hi: rgba(255, 255, 255, 0.22);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  --shadow-md: 0 16px 44px -14px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ok: #4ade80;
  --blurple: #5865f2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: -0.006em;
  font-feature-settings: "cv05", "cv11", "ss01";
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(700px 500px at 85% 20%, rgba(120, 125, 145, 0.08), transparent 65%),
    radial-gradient(800px 600px at 10% 90%, rgba(90, 90, 105, 0.09), transparent 60%),
    var(--bg);
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* drifting smoke blobs */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}
.blob-1 { width: 560px; height: 560px; top: -220px; left: -140px; background: radial-gradient(circle, rgba(140, 143, 160, 0.16), transparent 70%); }
.blob-2 { width: 500px; height: 500px; top: 28%; right: -180px; background: radial-gradient(circle, rgba(100, 102, 118, 0.14), transparent 70%); animation-delay: -7s; }
.blob-3 { width: 460px; height: 460px; bottom: -180px; left: 28%; background: radial-gradient(circle, rgba(165, 168, 182, 0.10), transparent 70%); animation-delay: -13s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, -36px) scale(1.1); }
}

/* fine grid + noise + vignette — the "premium" texture stack */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 1;
}

::selection { background: #fff; color: #08080a; }

/* ═══════ GLASS PRIMITIVES ═══════ */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--stroke);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.glass-inset {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

/* ═══════ 3D PILL BUTTONS ═══════ */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
  user-select: none;
}
.pill:active { transform: translateY(2px) scale(0.985); }

/* primary: polished silver pill */
.pill-dark {
  color: #0b0b0d;
  background: linear-gradient(175deg, #ffffff 0%, #e4e4e9 55%, #b9b9c2 100%);
  box-shadow:
    inset 0 1.5px 0 #fff,
    inset 0 -3px 7px rgba(0, 0, 0, 0.25),
    0 12px 30px -8px rgba(0, 0, 0, 0.8),
    0 0 34px -6px rgba(255, 255, 255, 0.18);
}
.pill-dark:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1.5px 0 #fff,
    inset 0 -3px 7px rgba(0, 0, 0, 0.25),
    0 16px 38px -8px rgba(0, 0, 0, 0.85),
    0 0 46px -4px rgba(255, 255, 255, 0.3);
}
.pill-dark:active {
  box-shadow:
    inset 0 3px 9px rgba(0, 0, 0, 0.3),
    0 5px 14px -4px rgba(0, 0, 0, 0.6);
}

/* discord blurple pill */
.pill-blurple {
  color: #fff;
  background: linear-gradient(175deg, #7a86ff 0%, #5865f2 55%, #3d48c3 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 7px rgba(0, 0, 30, 0.45),
    0 12px 30px -6px rgba(88, 101, 242, 0.55),
    0 2px 5px rgba(0, 0, 0, 0.4);
}
.pill-blurple:hover {
  filter: brightness(1.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 7px rgba(0, 0, 30, 0.45),
    0 16px 40px -6px rgba(88, 101, 242, 0.7),
    0 2px 5px rgba(0, 0, 0, 0.4);
}

.pill-light {
  color: var(--ink);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 5px rgba(0, 0, 0, 0.3),
    0 6px 18px -4px rgba(0, 0, 0, 0.5);
}
.pill-light:hover { background: linear-gradient(175deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)); }

.pill-ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-weight: 600;
}
.pill-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }

.pill-lg { padding: 17px 34px; font-size: 16px; }
.pill-sm { padding: 8px 16px; font-size: 12.5px; }

.pill:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5) opacity(0.45);
  transform: none;
}

/* ═══════ LAYOUT ═══════ */
.wrap {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.hero { text-align: center; margin-bottom: 40px; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 30%, #a7a7b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.12));
}
.hero-sub {
  margin: 18px auto 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.hero-sub b { color: var(--ink); font-weight: 600; }

/* perk badges under the hero */
.perks {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.perk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--muted);
}
.perk b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.perk i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

/* mini steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.step {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 18px;
  padding: 13px 14px;
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover { transform: translateY(-3px); border-color: var(--stroke-hi); }
.step-n {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(170deg, #fdfdfe, #b9b9c2);
  color: #0c0c0e;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(0,0,0,0.15), 0 4px 9px rgba(0, 0, 0, 0.5);
}
.step b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.step small { color: var(--muted); font-size: 11px; line-height: 1.4; display: block; margin-top: 1px; }

/* ═══════ PANEL ═══════ */
.panel {
  position: relative;
  border-radius: 30px;
  padding: 40px 36px;
  min-height: 340px;
  display: grid;
  overflow: hidden;
}
/* top sheen inside the panel */
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}
.panel::after {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 220px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.state {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.45s ease both;
}
.state.hidden { display: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.state > p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 410px;
  margin: 10px 0 24px;
  line-height: 1.65;
}

.discord-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(160deg, #6470f3, #4752c4);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 7px rgba(0, 0, 30, 0.4),
    0 14px 34px -6px rgba(88, 101, 242, 0.6);
  margin-bottom: 18px;
}

.hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.mono-sm { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* spinner */
.spinner {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin: 26px 0 22px;
}
@keyframes spin { to { transform: rotate(360deg); } }
#authSub { margin-top: 8px; }

/* ═══════ NOT A MEMBER YET ═══════ */
#stateJoin .userline { width: 100%; }
.member-no {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}

.server-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px;
  border-radius: 22px;
  text-align: left;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.06) 45%, rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(122, 134, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 32px -10px rgba(88, 101, 242, 0.3);
}
.server-card::after {
  content: "";
  position: absolute;
  top: -50px; left: -30px;
  width: 220px; height: 140px;
  background: radial-gradient(ellipse, rgba(122, 134, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.server-card.shake { animation: shake 0.5s; }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
  50% { transform: translateX(-3px); }
}
.server-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 17px;
  background: linear-gradient(165deg, #26262d, #101014);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.55);
}
.server-icon img {
  width: 38px; height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.server-eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165, 173, 255, 0.85);
  margin-bottom: 3px;
}
.server-meta { position: relative; min-width: 0; flex: 1; }
.server-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.server-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
}
.dot-on {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
.server-join { padding: 11px 20px; font-size: 13.5px; flex-shrink: 0; }

.join-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 410px;
  margin-bottom: 20px;
}
.join-note b { color: var(--ink); font-weight: 600; }

/* ═══════ FLOATING REFRESH ═══════ */
.refresh-fab {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--ink-2);
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--stroke);
  box-shadow:
    var(--shadow-md),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.15s, color 0.15s, border-color 0.15s;
}
.refresh-fab:hover { color: var(--ink); border-color: var(--stroke-hi); transform: scale(1.06); }
.refresh-fab:active { transform: scale(0.94); }
.refresh-fab.hidden { display: none; }
.refresh-fab.spinning svg { animation: spin 0.8s linear infinite; }
.refresh-fab.spinning { pointer-events: none; opacity: 0.75; }

/* floating Discord invite (logged-out counterpart of the refresh fab) */
.discord-fab {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
  padding: 11px 19px;
  font-size: 13.5px;
}
.discord-fab.hidden { display: none; }

/* ═══════ DASHBOARD ═══════ */
#stateIn { align-items: stretch; text-align: left; }

.userline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 15px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  background: #1a1a1e;
}
.userinfo { display: flex; flex-direction: column; min-width: 0; }
.userinfo b {
  font-size: 15.5px;
  letter-spacing: -0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}
.member-ok {
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.5);
}
.userline .logout-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 13px;
}
.stat-v {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}
/* negative invite balance — invitees left after accounts were claimed */
.stat-negative {
  color: #f87171;
  text-shadow: 0 0 24px rgba(248, 113, 113, 0.35);
}
.stat-l {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
}

/* ═══════ CLAIM CONFIG ═══════ */
.claim-config {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.cfg-block { display: grid; gap: 8px; }
.cfg-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  user-select: none;
}
.type-chip:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.type-chip:active { transform: scale(0.96); }
.type-chip svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }
/* type with nothing left in stock */
.type-chip.type-empty:not(.active) {
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.type-chip.active {
  color: #0b0b0d;
  background: linear-gradient(175deg, #ffffff 0%, #d8d8de 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 4px rgba(0, 0, 0, 0.18),
    0 6px 16px -4px rgba(0, 0, 0, 0.55);
}

.qty-row { display: flex; align-items: center; gap: 12px; }
.stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
}
.stepper button {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.stepper button:hover { background: rgba(255, 255, 255, 0.08); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper span {
  min-width: 34px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pill-claim { width: 100%; position: relative; overflow: hidden; }
.pill-claim::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen {
  0%, 55% { left: -80%; }
  85%, 100% { left: 130%; }
}
#claimHint { text-align: center; align-self: center; }

/* delivered accounts */
.delivered {
  margin-top: 22px;
  animation: fadeUp 0.4s ease both;
}
.delivered.hidden { display: none; }
.delivered-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 4px;
}
.delivered-meta { display: flex; align-items: center; gap: 10px; }
#exportBtn.hidden { display: none; }

.acc-warn {
  margin-top: 11px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #e5c07b;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

/* VPN text-mark inside the account icon */
.vpn-txt {
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.delivered ul { list-style: none; display: grid; gap: 8px; }
.acc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 11px 14px;
  animation: fadeUp 0.35s ease both;
}
.acc-ico {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-2);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.acc-creds {
  font-size: 12px;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acc-creds b {
  display: block;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.acc-creds small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.acc .pill { flex-shrink: 0; }

/* ═══════ HOW TO CLAIM MORE ═══════ */
.more {
  margin-top: 14px;
  border-radius: 26px;
  padding: 32px 30px;
}
.more h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}
.more-intro {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  text-align: center;
  max-width: 440px;
  margin: 10px auto 22px;
}
.more-intro b { color: var(--ink); font-weight: 600; }
.more-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.more-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
}
.more-n {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(170deg, #fdfdfe, #b9b9c2);
  color: #0c0c0e;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(0,0,0,0.15), 0 4px 9px rgba(0, 0, 0, 0.5);
}
.more-steps b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.more-steps small { color: var(--muted); font-size: 11.5px; line-height: 1.4; display: block; margin-top: 1px; }
.more .hint { display: block; text-align: center; }

/* "What accounts can I claim?" toggle + reveal */
.types-toggle {
  display: flex;
  width: 100%;
  padding: 12px 20px;
  font-size: 13.5px;
}
.types-toggle .chev { transition: transform 0.25s ease; }
.types-toggle.open .chev { transform: rotate(180deg); }
.types-reveal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 9px;
  margin-top: 14px;
  animation: fadeUp 0.3s ease both;
}
.types-reveal[hidden] { display: none; }
.claim-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 8px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.claim-type:hover { transform: translateY(-2px); border-color: var(--stroke-hi); color: var(--ink); }
.claim-type .ct-ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ═══════ ACTIVITY FEED (floating, bottom-left) ═══════ */
.activity {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  padding: 11px 18px;
  overflow: hidden;
  max-width: min(360px, calc(100vw - 36px));
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
.activity-text {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s, transform 0.35s;
}
.activity-text.swap { opacity: 0; transform: translateY(8px); }
.activity-text b { color: var(--ink); font-weight: 700; }
.activity-text .mono-sm { margin-left: 6px; }

/* ═══════ FOOTER ═══════ */
.foot {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}
.foot b { color: var(--ink); }
.foot-note { font-size: 10.5px; opacity: 0.6; }

/* ═══════ TOAST ═══════ */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 100;
  background: linear-gradient(175deg, #ffffff, #dcdce2);
  color: #0b0b0d;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.3s;
  pointer-events: none;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 620px) {
  /* the whole page is scaled down a step on phones */
  body { font-size: 14px; }
  .wrap { padding: 20px 14px 32px; max-width: 100%; }

  /* the live ticker is desktop-only — too cramped on a phone */
  .activity { display: none !important; }

  /* both floating buttons sit at the top of the PAGE and scroll away
     instead of following the viewport */
  .discord-fab,
  .refresh-fab {
    position: absolute;
    top: 14px;
    right: 14px;
  }
  .discord-fab { padding: 8px 14px; font-size: 12px; }
  .refresh-fab { width: 38px; height: 38px; }

  /* hero */
  h1 { font-size: clamp(26px, 8.5vw, 34px); letter-spacing: -0.03em; }
  .hero { margin-bottom: 26px; }
  .hero-sub { font-size: 13.5px; margin-top: 12px; }
  .perks { gap: 8px; margin-top: 18px; }
  .perk { padding: 8px 14px; font-size: 12px; }
  .perk b { font-size: 12.5px; }

  /* steps */
  .steps { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
  .step { padding: 10px 12px; gap: 10px; border-radius: 15px; }
  .step-n { width: 22px; height: 22px; font-size: 11px; }
  .step b { font-size: 12.5px; }
  .step small { font-size: 10.5px; }

  /* panel */
  .panel { padding: 22px 16px; border-radius: 22px; min-height: 0; }
  h2 { font-size: 18px; }
  .state > p { font-size: 12.5px; margin: 8px 0 18px; }
  .discord-badge { width: 52px; height: 52px; border-radius: 18px; margin-bottom: 14px; }
  .discord-badge svg { width: 25px; height: 25px; }
  .pill-lg { padding: 14px 24px; font-size: 14.5px; }
  .hint { font-size: 11px; margin-top: 11px; }

  /* dashboard */
  .userline { padding: 12px 12px; border-radius: 16px; margin-bottom: 16px; gap: 10px; }
  .userline .logout-btn { top: 10px; right: 10px; }
  .avatar { width: 40px; height: 40px; }
  .userinfo b { font-size: 14px; max-width: 150px; }
  .member-ok, .member-no { font-size: 11px; }
  .stats { gap: 7px; margin-bottom: 16px; }
  .stat { padding: 12px 6px 10px; }
  .stat-v { font-size: 21px; }
  .stat-l { font-size: 9px; letter-spacing: 0.08em; }
  .cfg-label { font-size: 9px; }
  .type-chip { padding: 7px 12px; font-size: 11.5px; }
  .type-chip svg { width: 13px; height: 13px; }
  .stepper button { width: 32px; height: 32px; font-size: 16px; }
  .stepper span { min-width: 30px; font-size: 14px; }

  /* issued accounts */
  .acc { padding: 10px 12px; gap: 10px; border-radius: 14px; }
  .acc-ico { width: 30px; height: 30px; border-radius: 10px; }
  .acc-creds { white-space: normal; font-size: 11px; word-break: break-all; }
  .acc-warn { font-size: 10.5px; padding: 8px 11px; }

  /* server card */
  .server-card { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .server-icon { width: 46px; height: 46px; border-radius: 14px; }
  .server-icon img { width: 30px; height: 30px; }
  .server-meta b { font-size: 15px; }
  .server-join { width: 100%; justify-content: center; }
  .join-note { font-size: 12px; margin-bottom: 16px; }

  /* how to claim more */
  .more { padding: 22px 16px; border-radius: 22px; }
  .more h3 { font-size: 17px; }
  .more-intro { font-size: 12.5px; margin-bottom: 18px; }
  .more-steps { gap: 10px; margin-bottom: 18px; }
  .more-n { width: 22px; height: 22px; font-size: 11px; }
  .more-steps b { font-size: 12.5px; }
  .more-steps small { font-size: 11px; }
  .types-toggle { padding: 11px 16px; font-size: 12.5px; }
  .types-reveal { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 7px; }
  .claim-type { padding: 12px 6px 10px; font-size: 11px; }
  .claim-type .ct-ico { width: 30px; height: 30px; border-radius: 10px; }

  .foot { margin-top: 24px; font-size: 11.5px; }
  .foot-note { font-size: 10px; }
  .toast { font-size: 12.5px; padding: 10px 18px; bottom: 18px; }
}
