/* ==========================================================================
   EconomyMC Store — PayNow-inspired template
   Design tokens → base → layout → components → pages → responsive
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0e0f13;
  --bg-2: #121318;
  --surface: #1a1b22;
  --surface-2: #21222b;
  --surface-3: #2a2b36;
  --border: #2a2b36;
  --border-2: #363746;

  /* Text */
  --text: #f3f4f8;
  --muted: #9b9db0;
  --dim: #6c6e80;

  /* Brand */
  --pink: #ec4fb6;
  --pink-2: #d13a9c;
  --blue: #3fa9f5;
  --blue-2: #258fdc;
  --gold: #f5b83d;
  --green: #4ade80;
  --green-2: #22c55e;
  --red: #ef5350;
  --purple: #8b5cf6;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 66px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 0% -10%, rgba(236, 79, 182, .08), transparent 60%),
    radial-gradient(900px 520px at 100% 10%, rgba(63, 169, 245, .07), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.page { flex: 1; padding-bottom: 64px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.sprite { display: block; width: 100%; height: 100%; }

/* ---------- Announcement ---------- */
.announce {
  background: linear-gradient(90deg, var(--pink-2), var(--pink) 40%, var(--blue) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.announce .icon { width: 15px; height: 15px; }
.announce b { font-weight: 800; letter-spacing: .03em; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 15, 19, .84);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; flex: none; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
.brand b { color: var(--gold); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-link {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-link .icon { width: 16px; height: 16px; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: #fff; background: var(--pink); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.dropdown.open .nav-link .chev { transform: rotate(180deg); }

.top-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.nav + .top-actions { margin-left: 0; }
.chip-btn {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s;
}
.chip-btn:hover { background: var(--surface-3); border-color: var(--border-2); }
.chip-btn .icon { width: 15px; height: 15px; color: var(--muted); }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  background: var(--pink); color: #fff; font-weight: 700; font-size: 14px;
  transition: background .15s, transform .15s;
}
.cart-btn:hover { background: #f264c2; }
.cart-btn.bump { animation: bump .45s ease; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.25); font-size: 12px; font-weight: 800;
}
.user-btn {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px 0 6px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-weight: 600; font-size: 14px; max-width: 190px;
}
.user-btn:hover { background: var(--surface-3); }
.user-btn .avatar { width: 28px; height: 28px; border-radius: 6px; }
.user-btn .user-ico { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-3); }
.user-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); place-items: center; }

/* Dropdowns */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
  min-width: 230px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown-right { left: auto; right: 0; }
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dd-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: left;
  transition: background .12s;
}
.dd-item:hover, .dd-item.active { background: var(--surface-2); }
.dd-item.active { color: var(--pink); }
.dd-item small { margin-left: auto; color: var(--dim); font-weight: 500; font-size: 12px; }
.dd-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.dd-ico .sprite { width: 20px; height: 20px; }
.cur-sym { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-size: 13px; }
.dd-sep { height: 1px; margin: 6px 4px; background: var(--border); }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,10,.6); opacity: 0; visibility: hidden; transition: .2s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(340px, 88vw); background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
body.drawer-open, body.modal-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.drawer-label { padding: 14px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.drawer .nav-link { height: 46px; font-size: 15px; }
.drawer-cur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 4px; }
.drawer-cur button { height: 38px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: 13px; }
.drawer-cur button.active { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(14,15,19,.15) 0%, rgba(14,15,19,.55) 70%, var(--bg) 100%),
    repeating-conic-gradient(rgba(255,255,255,.028) 0 25%, transparent 0 50%) 0 0 / 56px 56px,
    linear-gradient(135deg, #1b3a2b 0%, #17253f 45%, #2d1640 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46px; z-index: -1;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, #2b4a2e 0 28px, #24402a 28px 56px);
  opacity: .35;
}
.hero-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 46px 20px 52px; }
.hero.compact .hero-inner { padding: 26px 20px 30px; }
.hero-side { display: flex; flex-direction: column; gap: 2px; }
.hero-side.right { align-items: flex-end; text-align: right; }
.hero-kicker { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-action { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; transition: color .15s; }
.hero-action:hover { color: var(--gold); }
.hero-action .icon { width: 18px; height: 18px; color: var(--muted); }
.hero-sub { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,.2); animation: pulse 2s infinite; }
.hero-logo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo .logo-coin { width: 74px; height: 74px; margin-bottom: 6px; animation: floaty 4s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.hero.compact .logo-coin { width: 52px; height: 52px; }
.logo-word {
  font-weight: 900; font-size: clamp(34px, 5.4vw, 62px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff1b0 0%, #f7c64c 45%, #e0901a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #7b4706) drop-shadow(0 12px 22px rgba(0,0,0,.55));
}
.logo-word span {
  background: linear-gradient(180deg, #ffb3e4 0%, var(--pink) 60%, var(--pink-2) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero.compact .logo-word { font-size: clamp(28px, 4vw, 42px); }
.logo-tag { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero.compact .logo-tag { display: none; }
.hero-deco { position: absolute; z-index: -1; opacity: .5; animation: floaty 6s ease-in-out infinite; }
.hero-deco.d1 { width: 46px; height: 46px; left: 8%; top: 22%; animation-delay: -1s; }
.hero-deco.d2 { width: 36px; height: 36px; right: 12%; top: 18%; animation-delay: -3s; }
.hero-deco.d3 { width: 30px; height: 30px; left: 28%; bottom: 18%; animation-delay: -2s; opacity: .35; }
.hero-deco.d4 { width: 40px; height: 40px; right: 26%; bottom: 20%; animation-delay: -4s; opacity: .35; }
.hero.compact .hero-deco { display: none; }

/* ---------- Welcome bar ---------- */
.welcome {
  margin-top: 22px;
  display: flex; align-items: stretch; justify-content: space-between;
  min-height: 86px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.welcome-info { display: flex; align-items: center; gap: 14px; padding: 16px 22px; min-width: 0; }
.welcome-info .wi-mark { width: 42px; height: 42px; flex: none; }
.welcome-title { font-weight: 700; font-size: 17px; }
.welcome-sub { color: var(--pink); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome-actions { display: flex; flex: none; }
.slant {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-width: 170px; padding: 12px 26px 12px 52px;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
  color: #fff; font-size: 12px; font-weight: 500; line-height: 1.35; text-align: left;
  transition: filter .15s;
}
.slant:hover { filter: brightness(1.1); }
.slant b { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.slant-blue { background: var(--blue); }
.slant-pink { background: var(--pink); margin-left: -30px; padding-right: 96px; min-width: 230px; }
.slant-pink img { position: absolute; right: 14px; bottom: -8px; height: 96px; width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }

/* ---------- Panels & sections ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.panel-sm { padding: 18px; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.panel-title .badge { margin-left: auto; }
.pt-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(236,79,182,.14); color: var(--pink); }
.pt-icon.blue { background: rgba(63,169,245,.14); color: var(--blue); }
.pt-icon.gold { background: rgba(245,184,61,.14); color: var(--gold); }
.pt-icon.green { background: rgba(74,222,128,.14); color: var(--green); }
.pt-icon .icon { width: 17px; height: 17px; }

.section { margin-top: 36px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s; }
.link-more:hover { color: var(--pink); }
.link-more .icon { width: 16px; height: 16px; }

.band {
  --c: var(--pink);
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 10px; margin-bottom: 14px;
  background: var(--c); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 20px -10px var(--c);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.band .band-count { margin-left: auto; font-size: 12px; font-weight: 700; background: rgba(0,0,0,.18); padding: 3px 9px; border-radius: 999px; }

.page-head { margin-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--dim); margin-bottom: 8px; font-weight: 500; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pink); }
.crumbs .icon { width: 13px; height: 13px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 24px; }
.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 18px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  font-weight: 700; font-size: 14px; white-space: nowrap; user-select: none;
  transition: background .15s, transform .1s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px -8px var(--pink); }
.btn-primary:hover { background: #f264c2; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -8px var(--blue); }
.btn-blue:hover { background: #59b6f7; }
.btn-green { background: var(--green-2); color: #fff; }
.btn-green:hover { background: #2fd36a; }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--border-2); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #f36a67; }
.btn-soft-danger { background: rgba(239,83,80,.12); color: var(--red); }
.btn-soft-danger:hover { background: var(--red); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-icon { width: 42px; padding: 0; }
.btn-sm.btn-icon { width: 34px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: var(--surface-3); color: var(--text); white-space: nowrap;
}
.badge .icon { width: 12px; height: 12px; }
.badge-pink { background: var(--pink); color: #fff; }
.badge-blue { background: var(--blue); color: #fff; }
.badge-gold { background: var(--gold); color: #2a1a00; }
.badge-green { background: rgba(74,222,128,.15); color: var(--green); }
.badge-red { background: rgba(239,83,80,.15); color: var(--red); }
.badge-amber { background: rgba(245,184,61,.15); color: var(--gold); }
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--border-2); color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border); outline: none;
  transition: border-color .15s, box-shadow .15s; font-size: 14px;
}
textarea.input { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b9db0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,79,182,.18); }
.input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,83,80,.15); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); width: 17px; height: 17px; pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.hint { font-size: 12px; color: var(--dim); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; margin: 0; border-radius: 6px;
  background: var(--bg-2); border: 1.5px solid var(--border-2); cursor: pointer;
  transition: background .15s, border-color .15s; display: grid; place-items: center;
}
.check input:checked {
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--pink);
}
.check.invalid input { border-color: var(--red); }
.check a { color: var(--pink); font-weight: 600; }
.check b { color: var(--text); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; }
.seg-btn { height: 46px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--surface-3); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; height: 34px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--muted); transition: .12s; }
.qty button:hover { color: var(--text); background: var(--surface-3); }
.qty button .icon { width: 14px; height: 14px; }
.qty input { width: 38px; height: 100%; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 14px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-lg { height: 44px; }
.qty-lg button { width: 42px; }
.qty-lg input { width: 50px; font-size: 15px; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  --c: var(--pink);
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 13px; color: var(--muted); transition: .15s; white-space: nowrap;
}
.pill .sprite { width: 18px; height: 18px; }
.pill:hover { color: var(--text); border-color: var(--border-2); }
.pill.active { background: var(--c); border-color: var(--c); color: #fff; }

/* Tooltip */
.tip {
  position: relative; display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--surface-3); color: var(--muted); font-size: 10px; font-weight: 800; cursor: help;
}
.tip::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: 220px; padding: 8px 10px; border-radius: 8px;
  background: #000; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; text-align: left;
  opacity: 0; visibility: hidden; transition: .15s; z-index: 10; pointer-events: none;
}
.tip:hover::after, .tip:focus::after { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* ---------- Promo banner ---------- */
.promo {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 20px; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(105deg, #2c1131 0%, #1d1626 40%, var(--surface) 75%);
}
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(236,79,182,.05) 22px 44px);
}
.promo-art { position: absolute; z-index: -1; width: 150px; height: 150px; right: 34%; top: 50%; transform: translateY(-50%) rotate(-12deg); opacity: .12; }
.promo-copy { min-width: 0; }
.promo h2 { font-size: clamp(22px, 3.2vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.promo p { color: var(--pink); font-weight: 600; margin-top: 4px; }
.promo-code { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 10px; border: 1px dashed rgba(236,79,182,.5); background: rgba(236,79,182,.08); font-size: 13px; color: var(--muted); }
.promo-code b { color: #fff; letter-spacing: .08em; }
.countdown { display: flex; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--border); flex: none; }
.cd-unit { min-width: 58px; text-align: center; }
.cd-num { font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lbl { margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cd-sep { font-size: 26px; font-weight: 800; color: var(--dim); line-height: 1; padding-top: 1px; }

/* ---------- Goal ---------- */
.goal { margin-top: 18px; display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.goal-label { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; font-size: 14px; }
.progress { flex: 1; min-width: 0; height: 30px; display: flex; overflow: hidden; border-radius: 9px; background: var(--surface-3); }
.progress-fill {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden;
  background: repeating-linear-gradient(-45deg, var(--pink) 0 14px, var(--pink-2) 14px 28px);
  background-size: 40px 40px; animation: stripes 1.4s linear infinite;
  transition: width 1s ease;
}
.progress-rest { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; padding: 0 8px; }
.goal-pct { font-weight: 800; color: var(--pink); font-size: 15px; }
.mini-progress { height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.mini-progress > div { height: 100%; background: linear-gradient(90deg, var(--pink), var(--blue)); border-radius: 6px; }

/* ---------- Category bento ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 148px; gap: 14px; }
.cat-tile {
  --c: var(--pink);
  position: relative; overflow: hidden; isolation: isolate;
  padding: 20px 22px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 70%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #15161c) 0%, #15161c 100%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--border));
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(rgba(255,255,255,.035) 0 25%, transparent 0 50%) 0 0 / 32px 32px;
}
.cat-tile:first-child { grid-row: span 2; }
.cat-art { position: absolute; z-index: -1; right: 6px; top: 50%; width: 108px; height: 108px; transform: translateY(-50%) rotate(-10deg); transition: transform .3s ease; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.cat-tile:first-child .cat-art { width: 190px; height: 190px; right: 10px; top: 38%; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px color-mix(in srgb, var(--c) 60%, transparent); border-color: color-mix(in srgb, var(--c) 60%, var(--border)); }
.cat-tile:hover .cat-art { transform: translateY(-50%) rotate(0) scale(1.08); }
.cat-name { font-size: 23px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.cat-tile:first-child .cat-name { font-size: 36px; }
.cat-cta { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.cat-cta .icon { width: 15px; height: 15px; transition: transform .2s; }
.cat-tile:hover .cat-cta .icon { transform: translateX(3px); }
.cat-count { position: absolute; top: 16px; left: 18px; }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.pcard {
  --c: var(--pink);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--border)); box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--c) 70%, transparent); }
.pcard-art {
  position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; cursor: pointer;
  background:
    radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c) 38%, transparent), transparent 62%),
    repeating-conic-gradient(rgba(255,255,255,.02) 0 25%, transparent 0 50%) 0 0 / 24px 24px,
    var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.pcard-art .sprite { width: 42%; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s ease; }
.pcard:hover .pcard-art .sprite { transform: translateY(-5px) scale(1.06); }
.pcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.pcard-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.pcard-name { font-weight: 700; font-size: 16px; }
.pcard-name a:hover { color: var(--pink); }
.pcard-desc { flex: 1; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pcard-actions { display: flex; gap: 6px; }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 17px; color: var(--pink); }
.price-now .icon { width: 14px; height: 14px; }
.price-old { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; font-size: 13px; font-weight: 700; opacity: .9; }
.price-period { color: var(--muted); font-size: 13px; font-weight: 500; }
.price.plain .price-now { color: var(--text); }
.price-lg .price-now { font-size: 26px; }
.price-lg .price-old { font-size: 16px; }
.price-center { justify-content: center; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.offer {
  --c: var(--pink);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  padding: 18px; border-radius: var(--radius);
  background: linear-gradient(120deg, color-mix(in srgb, var(--c) 18%, var(--surface)) 0%, var(--surface) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--border));
  transition: transform .2s, border-color .2s;
}
.offer:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, var(--border)); }
.offer-art { width: 92px; height: 92px; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.25); display: grid; place-items: center; }
.offer h3 { font-size: 17px; font-weight: 800; }
.offer p { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); padding: 4px 40px; background: var(--gold); color: #2a1a00; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Sidebar widgets ---------- */
.top-buyer { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 12px; background: linear-gradient(120deg, rgba(245,184,61,.14), rgba(245,184,61,.02)); border: 1px solid rgba(245,184,61,.25); }
.top-buyer img { width: 62px; height: auto; flex: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.tb-name { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 6px; }
.tb-name .icon { color: var(--gold); width: 16px; height: 16px; }
.tb-total { color: var(--gold); font-weight: 700; font-size: 14px; }
.rank-list { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background .12s; }
.rank-row:hover { background: var(--surface-2); }
.rank-pos { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--surface-3); color: var(--muted); flex: none; }
.rank-row:nth-child(1) .rank-pos { background: rgba(203,213,225,.18); color: #e2e8f0; }
.rank-row:nth-child(2) .rank-pos { background: rgba(217,119,6,.2); color: #f59e0b; }
.rank-row .avatar { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.rank-row .rr-name { font-weight: 600; font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .rr-val { font-weight: 700; font-size: 13px; color: var(--muted); }

.recent-list { display: flex; flex-direction: column; gap: 2px; }
.recent { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; transition: background .12s; }
.recent:hover { background: var(--surface-2); }
.recent .avatar { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.recent-main { flex: 1; min-width: 0; }
.recent-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item b { color: var(--pink); font-weight: 600; }
.recent-time { font-size: 11px; color: var(--dim); white-space: nowrap; }
.recent-heads { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.recent-heads img { width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.info-card p { font-size: 13.5px; color: var(--muted); }

.avatar { background: var(--surface-3); image-rendering: pixelated; }

/* ---------- Rank comparison ---------- */
.cmp { --cols: 5; display: flex; flex-direction: column; gap: 6px; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(170px, 1.35fr) repeat(var(--cols), minmax(0, 1fr)); gap: 8px; align-items: center; }
.cmp-head { margin-bottom: 14px; align-items: stretch; }
.cmp-feat-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.cmp-feat-box .icon { width: 48px; height: 48px; color: #fff; }
.cmp-rank { --c: var(--pink); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 12px; text-align: center; position: relative; transition: background .2s; }
.cmp-rank:hover { background: var(--surface-2); }
.cmp-rank.featured { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.cmp-rank .badge { position: absolute; top: -10px; }
.cmp-art { width: 70px; height: 70px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.cmp-name { font-weight: 800; font-size: 16px; }
.cmp-rank .price { justify-content: center; }
.cmp-rank .price-now { font-size: 14px; }
.cmp-rank .price-old { font-size: 12px; }
.cmp-btns { display: flex; gap: 6px; margin-top: 4px; }
.cmp-row { min-height: 54px; padding: 0 16px; border-radius: 10px; }
.cmp-row:nth-of-type(even) { background: var(--surface-2); }
.cmp-feat { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; }
.cmp-cell { display: flex; justify-content: center; text-align: center; font-weight: 700; font-size: 13px; }
.yes, .no { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.yes { background: var(--green); color: #0b2e16; }
.no { background: rgba(239,83,80,.14); color: var(--red); }
.yes .icon, .no .icon { width: 15px; height: 15px; stroke-width: 3; }
.cmp-m { display: none; }
.cmp-m-card { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.cmp-m-top { --c: var(--pink); display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 22%, var(--surface-2)), var(--surface-2)); }
.cmp-m-top .cmp-art { width: 56px; height: 56px; flex: none; }
.cmp-m-top .grow { flex: 1; min-width: 0; }
.cmp-m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; border-top: 1px solid var(--border); }
.cmp-m-row span:first-child { color: var(--muted); font-weight: 500; }
.cmp-m-row span:last-child { font-weight: 700; }

/* ---------- Gift cards ---------- */
.gc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gc-tile {
  position: relative; overflow: hidden; isolation: isolate; grid-column: span 2;
  min-height: 120px; padding: 18px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface-2); border: 2px solid transparent;
  transition: border-color .15s, transform .15s, background .15s;
}
.gc-tile:nth-child(n+4) { grid-column: span 3; min-height: 168px; }
.gc-tile:hover { transform: translateY(-2px); background: var(--surface-3); }
.gc-tile.selected { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 8%, var(--surface-2)); }
.gc-tile .gc-bg { position: absolute; right: -14px; bottom: -14px; width: 110px; height: 110px; opacity: .08; z-index: -1; transform: rotate(-12deg); }
.gc-amt { font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.gc-tile:nth-child(n+4) .gc-amt { font-size: 38px; }
.gc-cur { font-size: 14px; color: var(--muted); font-weight: 700; align-self: flex-end; padding-bottom: 6px; }
.gc-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .15s; }
.gc-check .icon { width: 14px; height: 14px; stroke-width: 3; color: #fff; }
.gc-tile.selected .gc-check { opacity: 1; transform: none; }
.gc-result { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; background: var(--surface-2); display: flex; align-items: center; gap: 10px; }
.gc-result.ok { background: rgba(74,222,128,.1); color: var(--green); }
.gc-result.err { background: rgba(239,83,80,.1); color: var(--red); }
.gc-result .icon { width: 16px; height: 16px; }

/* ---------- Line items (cart / checkout) ---------- */
.line-items { display: flex; flex-direction: column; gap: 8px; }
.li-head, .li { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr 1fr auto; gap: 14px; align-items: center; }
.li-head { padding: 0 16px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.li { padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .15s; }
.li:hover { border-color: var(--border-2); }
.li-pkg { display: flex; align-items: center; gap: 14px; min-width: 0; }
.li-art { --c: var(--pink); width: 52px; height: 52px; flex: none; padding: 9px; border-radius: 10px; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), var(--surface-3); }
.li-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-name a:hover { color: var(--pink); }
.li-meta { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.li-meta .icon { width: 13px; height: 13px; color: var(--pink); }
.li-price { font-weight: 700; color: var(--pink); }
.li-price small { display: block; color: var(--dim); font-weight: 500; font-size: 12px; }
.li-act { display: flex; gap: 6px; justify-content: flex-end; }
.li-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Summary */
.summary-rows { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 16px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.sum-row b { color: var(--text); font-weight: 700; }
.sum-row.discount b { color: var(--green); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.sum-total span { font-weight: 700; }
.sum-total b { font-size: 26px; font-weight: 800; color: var(--green); }
.applied { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(74,222,128,.08); border: 1px dashed rgba(74,222,128,.4); font-size: 13px; }
.applied .icon { width: 16px; height: 16px; color: var(--green); }
.applied b { color: var(--green); letter-spacing: .04em; }
.applied button { margin-left: auto; color: var(--muted); display: grid; place-items: center; }
.applied button:hover { color: var(--red); }
.promo-forms { display: flex; flex-direction: column; gap: 14px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--dim); text-align: center; }
.secure .icon { width: 14px; height: 14px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pay-logo { height: 26px; padding: 0 10px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .03em; }

/* Steps */
.steps { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--dim); }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-weight: 800; font-size: 13px; }
.step.done { color: var(--muted); }
.step.done .step-n { background: rgba(74,222,128,.15); color: var(--green); border-color: transparent; }
.step.active { color: var(--text); }
.step.active .step-n { background: var(--pink); color: #fff; border-color: var(--pink); }
.step-line { flex: 0 1 60px; height: 2px; background: var(--border); border-radius: 2px; }

/* Payment methods */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt span { display: flex; flex-direction: column; gap: 8px; padding: 14px; height: 100%; border-radius: 12px; background: var(--surface-2); border: 2px solid transparent; transition: .15s; font-weight: 700; font-size: 14px; }
.pay-opt span small { color: var(--muted); font-weight: 500; font-size: 12px; }
.pay-opt span .pay-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); }
.pay-opt span .pay-ico .icon { width: 18px; height: 18px; }
.pay-opt:hover span { background: var(--surface-3); }
.pay-opt input:checked + span { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 8%, var(--surface-2)); }
.pay-opt input:checked + span .pay-ico { background: var(--pink); color: #fff; }
.pay-opt input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }

.account-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.account-card img { width: 54px; height: 54px; border-radius: 10px; }
.account-card .grow { flex: 1; min-width: 0; }
.account-card .ac-name { font-weight: 800; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Package page ---------- */
.pkg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; margin-top: 24px; align-items: start; }
.pkg-gallery {
  --c: var(--pink);
  position: sticky; top: calc(var(--header-h) + 18px);
  aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%),
    repeating-conic-gradient(rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 40px 40px,
    var(--surface);
  border: 1px solid var(--border);
}
.pkg-gallery .sprite { width: 46%; height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.55)); animation: floaty 5s ease-in-out infinite; }
.pkg-gallery .pcard-badges { top: 18px; left: 18px; right: 18px; }
.pkg-info { display: flex; flex-direction: column; gap: 18px; }
.pkg-info h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.02em; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pkg-buy { display: flex; flex-direction: column; gap: 16px; }
.pkg-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pkg-row .btn { flex: 1; min-width: 160px; }
.perks { display: flex; flex-direction: column; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.perks li .yes { width: 22px; height: 22px; margin-top: 1px; }
.perks li .yes .icon { width: 13px; height: 13px; }
.gift-box { padding: 14px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 12px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-list div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 12px; border-radius: 10px; background: var(--surface-2); }
.feature-list .icon { color: var(--blue); width: 17px; height: 17px; }

/* ---------- Patrons ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  --c: var(--pink);
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .2s, border-color .2s;
}
.tier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.tier:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--border)); }
.tier.popular { border-color: color-mix(in srgb, var(--c) 60%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface)); }
.tier-top { display: flex; align-items: center; gap: 12px; }
.tier-top .tier-art { width: 46px; height: 46px; flex: none; }
.tier h3 { font-size: 19px; font-weight: 800; }
.tier .perks { flex: 1; }
.tier .perks li { font-size: 13px; }
.patron-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.patron {
  --c: var(--pink);
  display: flex; flex-direction: column; align-items: center; padding: 18px 12px 16px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid transparent;
  transition: transform .2s, border-color .2s;
}
.patron:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.patron img { height: 132px; width: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.patron-tag { margin-top: -10px; position: relative; padding: 9px 16px; border-radius: 10px; background: var(--surface-3); text-align: center; max-width: 100%; }
.patron-name { color: var(--pink); font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.patron-sub { font-size: 12px; color: var(--muted); }
.patron-group { margin-top: 26px; }
.patron-wrap { padding: 18px; }

/* ---------- History ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat .pt-icon { width: 44px; height: 44px; border-radius: 12px; }
.stat .pt-icon .icon { width: 20px; height: 20px; }
.stat-val { font-size: 22px; font-weight: 800; line-height: 1.1; }
.stat-lbl { font-size: 12.5px; color: var(--muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .input-icon { flex: 1; min-width: 200px; }
.toolbar select { width: 180px; }
.orders { display: flex; flex-direction: column; gap: 8px; }
.order-head, .order-row { display: grid; grid-template-columns: 1.3fr 2fr 1fr 1fr 110px; gap: 14px; align-items: center; }
.order-head { padding: 0 16px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.order { border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; overflow: hidden; transition: border-color .15s; }
.order.open, .order:hover { border-color: var(--border-2); }
.order-row { padding: 14px 16px; cursor: pointer; }
.order-id { font-weight: 800; font-size: 14px; font-family: ui-monospace, 'SF Mono', Consolas, monospace; letter-spacing: .02em; }
.order-date { font-size: 12.5px; color: var(--muted); }
.order-items { display: flex; align-items: center; gap: 10px; min-width: 0; }
.order-sprites { display: flex; flex: none; }
.order-sprites .li-art { width: 34px; height: 34px; padding: 6px; border-radius: 8px; border: 2px solid var(--surface-2); }
.order-sprites .li-art + .li-art { margin-left: -10px; }
.order-items span { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-total { font-weight: 800; }
.order-toggle { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.order-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.order.open .order-toggle .icon { transform: rotate(180deg); }
.order-detail { display: none; padding: 4px 16px 16px; }
.order.open .order-detail { display: block; }
.od-inner { border-top: 1px solid var(--border); padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.od-items { display: flex; flex-direction: column; gap: 8px; }
.od-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.od-item .li-art { width: 38px; height: 38px; padding: 7px; border-radius: 8px; }
.od-item .grow { flex: 1; min-width: 0; }
.od-item b { font-weight: 700; }
.od-meta { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.od-meta div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.od-meta div b { color: var(--text); font-weight: 600; text-align: right; }
.od-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- Empty / notice ---------- */
.empty { text-align: center; padding: 52px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .empty-art { width: 84px; height: 84px; opacity: .9; margin-bottom: 6px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.4)); }
.empty h3 { font-size: 20px; font-weight: 800; }
.empty p { color: var(--muted); max-width: 420px; }
.empty .btn { margin-top: 8px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(63,169,245,.08); border: 1px solid rgba(63,169,245,.25); font-size: 13.5px; color: var(--muted); }
.notice .icon { color: var(--blue); margin-top: 2px; }
.notice b { color: var(--text); }

/* ---------- Modal ---------- */
.modal-wrap {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(5,6,10,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.modal-wrap.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 560px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: var(--shadow);
  transform: translateY(14px) scale(.98); transition: transform .22s ease;
}
.modal-wrap.open .modal { transform: none; }
.modal-sm { max-width: 440px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 22px 0; }
.mh-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mh-art { --c: var(--pink); width: 60px; height: 60px; flex: none; padding: 10px; border-radius: 12px; background: radial-gradient(circle, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%), var(--surface-2); }
.mh-title h3 { font-size: 22px; font-weight: 800; margin-top: 4px; }
.modal-close { width: 36px; height: 36px; flex: none; border-radius: 9px; background: var(--red); color: #fff; display: grid; place-items: center; transition: background .15s; }
.modal-close:hover { background: #f36a67; }
.modal-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.modal-body h4 { font-size: 14px; font-weight: 700; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px 22px; border-top: 1px solid var(--border); }
.mf-actions { display: flex; gap: 8px; }
.login-title { font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.login-preview { width: 64px; height: 64px; border-radius: 12px; margin: 0 auto; background: var(--surface-2); }
.success-ico { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.14); color: var(--green); }
.success-ico .icon { width: 36px; height: 36px; stroke-width: 3; }

/* ---------- Toast ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 380px;
  padding: 12px 14px; border-radius: 12px; pointer-events: auto;
  background: var(--surface-2); border: 1px solid var(--border-2); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 500; animation: toastIn .25s ease;
}
.toast.out { animation: toastOut .25s ease forwards; }
.toast-ico { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(74,222,128,.15); color: var(--green); }
.toast.error .toast-ico { background: rgba(239,83,80,.15); color: var(--red); }
.toast.info .toast-ico { background: rgba(63,169,245,.15); color: var(--blue); }
.toast-ico .icon { width: 16px; height: 16px; }
.toast a { color: var(--pink); font-weight: 700; margin-left: auto; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 46px 0 26px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer p { color: var(--muted); font-size: 13.5px; margin-top: 12px; max-width: 340px; }
.footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--pink); }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: .15s; }
.socials a:hover { color: #fff; background: var(--pink); border-color: var(--pink); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.footer-bottom b { color: var(--muted); }

/* ---------- Animations ---------- */
@keyframes stripes { to { background-position: 40px 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-link { padding: 0 11px; }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: grid; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg { grid-template-columns: 1fr; }
  .pkg-gallery { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .pkg-gallery .sprite { width: 28%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 30px 20px 34px; }
  .hero.compact .hero-inner { padding: 20px 20px 24px; }
  .hero-logo { grid-column: 1 / -1; order: -1; }
  .hero-action { font-size: 16px; }
  .cmp { display: none; }
  .cmp-m { display: block; }
  .promo { flex-direction: column; align-items: flex-start; }
  .promo-art { right: 4%; top: 30%; }
  .info-grid { grid-template-columns: 1fr; }
  .li-head { display: none; }
  .li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "pkg act" "price qty";
    row-gap: 12px;
  }
  .li-pkg { grid-area: pkg; }
  .li-name { white-space: normal; }
  .li-price { grid-area: price; }
  .li-qty { grid-area: qty; justify-self: end; }
  .li-act { grid-area: act; align-self: start; }
  .order-head { display: none; }
  .order-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id total" "items items" "status toggle"; row-gap: 10px; }
  .order-row > :nth-child(1) { grid-area: id; }
  .order-row > :nth-child(2) { grid-area: items; }
  .order-row > :nth-child(3) { grid-area: total; justify-self: end; }
  .order-row > :nth-child(4) { grid-area: status; }
  .order-row > :nth-child(5) { grid-area: toggle; }
  .od-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .hero-inner, .hero.compact .hero-inner { padding-left: 16px; padding-right: 16px; }
  .announce .container { font-size: 12px; }
  .hero-deco { display: none; }
  .hero-logo .logo-coin { width: 56px; height: 56px; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 12px; }
  .cat-tile:first-child { grid-column: span 2; grid-row: span 1; }
  .cat-tile:first-child .cat-art { width: 130px; height: 130px; top: 50%; }
  .cat-tile:first-child .cat-name { font-size: 28px; }
  .cat-name { font-size: 18px; }
  .cat-art { width: 76px; height: 76px; right: 0; }
  .cat-tile { padding: 16px; }
  .cat-tile:last-child:nth-child(even) { grid-column: span 2; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-art { aspect-ratio: 1; }
  .pcard-art .sprite { width: 40%; margin-top: 14px; }
  .pcard-badges { top: 8px; left: 8px; right: 8px; }
  .pcard-badges .badge { font-size: 9.5px; padding: 2px 6px; }
  .pcard-body { padding: 12px; }
  .pcard-name { font-size: 14.5px; }
  .pcard-desc { display: none; }
  .pcard-foot { flex-direction: column; align-items: stretch; }
  .pcard-actions .btn { flex: 1; }
  .aside { grid-template-columns: 1fr; }
  .welcome { flex-direction: column; }
  .welcome-info { padding: 14px 16px; }
  .welcome-actions { height: 74px; }
  .slant { flex: 1; min-width: 0; padding-left: 40px; }
  .slant-blue { clip-path: none; padding-left: 16px; }
  .slant-pink { padding-right: 72px; min-width: 0; }
  .slant-pink img { height: 80px; right: 8px; }
  .goal { flex-wrap: wrap; gap: 10px; }
  .goal .progress { order: 3; flex-basis: 100%; }
  .goal-pct { margin-left: auto; }
  .gc-grid { grid-template-columns: 1fr 1fr; }
  .gc-tile, .gc-tile:nth-child(n+4) { grid-column: span 1; min-height: 110px; }
  .gc-tile:nth-child(5) { grid-column: span 2; }
  .gc-amt, .gc-tile:nth-child(n+4) .gc-amt { font-size: 26px; }
  .panel { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 20px; }
  .tier-grid { grid-template-columns: 1fr; }
  .patron-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .patron img { height: 108px; }
  .patron-tag { padding: 8px 10px; }
  .patron-name { font-size: 13px; }
  .patron-wrap { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toolbar select { width: 100%; }
  .toasts { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; max-width: none; }
  .step-line { flex-basis: 20px; }
  .step span.step-txt { display: none; }
  .step.active span.step-txt { display: inline; }
}

@media (max-width: 600px) {
  .user-btn span, .cart-total, .chip-btn .icon { display: none; }
  .user-btn { padding: 0 6px; }
  .topbar-inner { gap: 10px; }
  .top-actions { gap: 6px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .promo { padding: 22px 18px; }
  .countdown { width: 100%; justify-content: space-between; }
  .cd-unit { min-width: 0; flex: 1; }
  .cd-num { font-size: 26px; }
  .cd-sep { display: none; }
  .modal-wrap { align-items: flex-end; padding: 0; }
  .modal { max-width: none; border-radius: 18px 18px 0 0; max-height: 92vh; max-height: 92dvh; border-bottom: 0; }
  .modal-foot { flex-direction: column; align-items: stretch; }
  .mf-actions .btn { flex: 1; }
  .pkg-row .btn { min-width: 0; }
  .offer { grid-template-columns: 70px 1fr; gap: 12px; padding: 14px; }
  .offer-art { width: 70px; height: 70px; padding: 10px; }
}

@media (max-width: 420px) {
  .topbar .brand > span:last-child { display: none; }
  .grid-products { gap: 10px; }
  .pcard-actions .btn-icon { width: 38px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat-val { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-side, .hero-side.right { align-items: center; text-align: center; }
  .input-group.stack-sm { flex-direction: column; }
}

/* ==========================================================================
   PayNow theme additions
   ========================================================================== */
:root { --pink-2: color-mix(in srgb, var(--pink) 82%, #000); --blue-2: color-mix(in srgb, var(--blue) 82%, #000); }
:where(.sprite-slot) { display: block; width: 100%; height: 100%; }
.pcard-art img.pimg, .pkg-gallery img.pimg { width: 62%; height: auto; max-height: 78%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s ease; }
.pcard:hover .pcard-art img.pimg { transform: translateY(-5px) scale(1.06); }
.pcard-art .sprite-slot, .pkg-gallery .sprite-slot { width: 42%; height: auto; aspect-ratio: 1; }
.pkg-gallery .sprite-slot { width: 46%; }
.sprite-slot > .sprite { width: 100% !important; height: 100% !important; margin: 0 !important; }
.pkg-gallery .sprite-slot { animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(0,0,0,.55)); }
.pcard-art .sprite-slot { filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); transition: transform .3s ease; }
.pcard:hover .pcard-art .sprite-slot { transform: translateY(-5px) scale(1.06); }
@media (max-width: 720px) { .pcard-art .sprite-slot { width: 40%; margin-top: 14px; } }
.cat-art img { width: 100%; height: 100%; object-fit: contain; }
.li-art img, .mh-art img, .offer-art img, .order-sprites img { width: 100%; height: 100%; object-fit: contain; }
.prose { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin: 18px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose a { color: var(--pink); font-weight: 600; }
.prose strong, .prose b { color: var(--text); }
.prose img { border-radius: 10px; margin: 10px 0; }
.out-of-stock { opacity: .55; }
.notification { margin-top: 18px; }
.notification.error { background: rgba(239,83,80,.08); border-color: rgba(239,83,80,.3); }
.notification.error .icon { color: var(--red); }
.notification.success { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.3); }
.notification.success .icon { color: var(--green); }
.modules { display: flex; flex-direction: column; gap: 20px; }
.modules:empty { display: none; }
.module-goal .progress { height: 26px; }
.goal-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.goal-meta b { color: var(--text); }
.btn.loading { pointer-events: none; opacity: .7; }
.btn.loading .icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.options-grid { display: grid; gap: 12px; }
.sub-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); flex-wrap: wrap; }
.sub-row .grow { flex: 1; min-width: 160px; }
.auth-wrap { max-width: 520px; margin: 36px auto 0; }
