/* =====================================================================
   Fuloz storefront: bright modern marketplace
   Brand: violet #5B3DF5 · accent coral #FF6A3D · ink #14112B
   ===================================================================== */
:root {
  --brand: #5b3df5;
  --brand-600: #4a2be0;
  --brand-700: #3a20b8;
  --brand-50: #f2efff;
  --brand-100: #e5dfff;
  --accent: #ff6a3d;
  --accent-50: #fff1ec;
  --ink: #14112b;
  --ink-2: #3b3854;
  --muted: #6b6880;
  --line: #e9e7f2;
  --line-2: #f1f0f7;
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --green: #12a150;
  --green-50: #e9f8ef;
  --amber: #c27803;
  --amber-50: #fff7e6;
  --red: #e11d48;
  --red-50: #ffecef;
  --blue: #2563eb;
  --blue-50: #eaf1ff;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 17, 43, .06);
  --shadow: 0 6px 24px rgba(20, 17, 43, .08);
  --shadow-lg: 0 18px 50px rgba(20, 17, 43, .14);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1280px;
  --gutter: 16px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; flex: none; }
.ic-lg { width: 28px; height: 28px; flex: none; }
.coin-ic { width: 22px; height: 22px; flex: none; border-radius: 50%; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(91, 61, 245, .28); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2650; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(255, 106, 61, .3); }
.btn-accent:hover { background: #f05524; color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link { color: var(--brand); font-weight: 600; }
.link:hover { text-decoration: underline; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, textarea.input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b6880' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center; }
.field.has-error .input, .field.has-error .select { border-color: var(--red); }
.field-error { color: var(--red); font-size: 13px; margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.grid-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-red { background: var(--red-50); color: var(--red); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-violet { background: var(--brand-50); color: var(--brand-700); }
.badge-gray { background: var(--line-2); color: var(--muted); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert .ic { margin-top: 1px; }
.alert-success { background: var(--green-50); color: #0b6b36; }
.alert-error { background: var(--red-50); color: #a3112f; }
.alert-info { background: var(--brand-50); color: var(--brand-700); }
.alert-warn { background: var(--amber-50); color: #8a5300; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 18px; }

/* ---------- announcement + header ---------- */
.topbar { background: var(--ink); color: #e9e6ff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; text-align: center; }
.topbar .ic-sm { color: var(--accent); }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--bg-soft); }
.search { position: relative; flex: 1; display: flex; align-items: center; height: 46px; border: 2px solid var(--brand); border-radius: 999px; background: #fff; }
.search select { display: none; border: 0; background: transparent; height: 100%; padding: 0 28px 0 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); max-width: 170px; border-right: 1px solid var(--line); border-radius: 999px 0 0 999px; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b6880' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 6px center; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 16px; background: transparent; }
.search input:focus { outline: none; }
.search button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; margin-right: 4px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; }
.search button span { display: none; }
.suggest { position: absolute; left: -2px; right: -2px; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.suggest a:hover, .suggest a.active { background: var(--bg-soft); color: var(--ink); }
.suggest img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--bg-soft); flex: none; }
.suggest .s-name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest .s-price { font-weight: 700; font-size: 13px; color: var(--brand-700); }
.suggest .s-all { justify-content: center; font-weight: 700; color: var(--brand); font-size: 14px; }
.actions { display: flex; align-items: center; gap: 4px; flex: none; }
.act { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 600; border: 0; background: none; }
.act:hover { background: var(--bg-soft); color: var(--ink); }
.act .lbl { display: none; }
.act .count { position: absolute; top: 3px; left: 24px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; border: 2px solid #fff; }
.cur-form select { height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 26px 0 10px; font-size: 13px; font-weight: 700; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b6880' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 6px center; appearance: none; }
.cur-form { display: none; }
.mobile-search { padding: 0 var(--gutter) 12px; }
.mobile-search .search { height: 44px; }

.nav { display: none; border-top: 1px solid var(--line-2); }
.nav-row { display: flex; align-items: center; gap: 4px; height: 48px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border: 0; background: none; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--brand); }
.nav-link.all { background: var(--brand-50); color: var(--brand-700); height: 36px; border-radius: 999px; padding: 0 14px; margin-right: 6px; }
.nav-extra { margin-left: auto; display: flex; gap: 4px; }
.nav-extra .nav-link { color: var(--accent); }
.mega { position: absolute; left: 0; top: 100%; min-width: 520px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: none; z-index: 50; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.mega a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.mega a:hover { background: var(--bg-soft); }
.mega a small { color: var(--muted); }
.mega .mega-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 0 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); font-weight: 800; }

@media (min-width: 768px) {
  .search select { display: block; }
  .search button span { display: inline; }
  .act .lbl { display: inline; }
  .cur-form { display: block; }
  .mobile-search { display: none; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header-row { gap: 28px; height: 76px; }
  .logo img { height: 42px; }
}
@media (max-width: 767px) {
  .header-row .search { display: none; }
  .header-row { justify-content: space-between; }
}

/* drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 17, 43, .45); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto; padding: 16px; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 700; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ic:last-child { margin-left: auto; transition: transform .2s; }
.drawer details[open] summary .ic:last-child { transform: rotate(180deg); }
.drawer details a { display: block; padding: 8px 4px 8px 34px; font-size: 14px; color: var(--ink-2); }
.drawer .d-links a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.drawer .cur-form { display: block; margin-top: 14px; }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 16px 0 10px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .ic-sm { width: 14px; height: 14px; }

/* ---------- sections ---------- */
main { min-height: 50vh; }
.section { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section-head .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--brand); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }

/* ---------- hero ---------- */
.hero { padding-top: 18px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1fr 330px; } }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; align-items: center; min-height: 360px; padding: 28px 24px 56px; color: #fff; overflow: hidden; }
@media (min-width: 640px) { .slide { grid-template-columns: 1.1fr .9fr; padding: 40px 44px 56px; min-height: 400px; } }
.slide .s-text { position: relative; z-index: 2; max-width: 520px; }
.slide .eyebrow { color: rgba(255, 255, 255, .85); }
.slide h1, .slide h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.05; margin: 10px 0 12px; color: #fff; letter-spacing: -.03em; }
.slide p { font-size: 16px; opacity: .92; margin-bottom: 22px; max-width: 420px; }
.slide .btn { background: #fff; color: var(--ink); }
.slide .btn:hover { background: var(--ink); color: #fff; }
.slide .s-art { position: relative; display: none; justify-content: center; align-items: center; z-index: 1; }
@media (min-width: 640px) { .slide .s-art { display: flex; } }
.slide .s-art::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.slide .s-art img { position: relative; width: 290px; height: 290px; object-fit: contain; border-radius: 28px; background: #fff; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); transform: rotate(-3deg); }
.slide .s-art .coin-chip { position: absolute; right: 6%; top: 12%; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(4deg); }
.slide::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.t-violet { background: linear-gradient(120deg, #4a2be0, #7c5cff 60%, #a78bfa); }
.t-ocean { background: linear-gradient(120deg, #0b4f8a, #1d7fd4 60%, #38bdf8); }
.t-rose { background: linear-gradient(120deg, #b0124a, #e8457a 60%, #fb7185); }
.t-sunset { background: linear-gradient(120deg, #e3461b, #ff6a3d 55%, #fbbf24); }
.t-mint { background: linear-gradient(120deg, #047857, #10b981 60%, #6ee7b7); }
.t-amber { background: linear-gradient(120deg, #b45309, #f59e0b 60%, #fcd34d); }
.t-ink { background: linear-gradient(120deg, #14112b, #2f2a5c); }
.dots { position: absolute; left: 24px; bottom: 20px; display: flex; gap: 8px; z-index: 3; }
@media (min-width: 640px) { .dots { left: 44px; } }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .25s, background .25s; }
.dots button[aria-current="true"] { width: 26px; background: #fff; }
.slider-nav { position: absolute; right: 18px; bottom: 14px; display: none; gap: 8px; z-index: 3; }
@media (min-width: 640px) { .slider-nav { display: flex; } }
.slider-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .22); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.slider-nav button:hover { background: rgba(255, 255, 255, .4); }
.hero-side { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .hero-side { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 20px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; }
.tile:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.tile { transition: transform .2s, box-shadow .2s; }
.tile .eyebrow { color: rgba(255, 255, 255, .85); font-size: 11.5px; }
.tile h3 { font-size: 19px; margin: 6px 0 4px; color: #fff; max-width: 85%; }
.tile p { font-size: 13px; opacity: .9; margin: 0 0 12px; }
.tile .go { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13.5px; }
.tile::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .14); }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); }
.trust-item .t-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--brand); flex: none; box-shadow: var(--shadow-sm); }
.trust-item b { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: block; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(9, 1fr); } }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.25; }
.cat-tile .ct-img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.cat-tile img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.cat-tile:hover .ct-img { border-color: var(--brand); transform: translateY(-2px); }

/* rails (horizontal scrollers) */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 60px) / 6); } }
.rail-btn { position: absolute; top: 38%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: none; align-items: center; justify-content: center; }
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }
@media (min-width: 1024px) { .rail-btn { display: inline-flex; } }
.rail-btn:hover { color: var(--brand); border-color: var(--brand); }

/* product grid & card */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .grid.grid-5 { grid-template-columns: repeat(5, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.pcard .pc-img { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.pcard .pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.pcard:hover .pc-img img { transform: scale(1.04); }
.pcard .pc-tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.tag-new { background: var(--ink); color: #fff; }
.tag-hot { background: var(--accent); color: #fff; }
.tag-sale { background: var(--red); color: #fff; }
.pcard .wish { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pcard .wish:hover, .pcard .wish.on { color: var(--red); }
.pcard .wish.on svg { fill: currentColor; }
.pcard .pc-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.pcard .pc-name { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard .pc-name:hover { color: var(--brand); }
.pcard .pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.price { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.pcard .pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); }
.cb-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: 11.5px; font-weight: 800; }
.pcard .quick { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(91, 61, 245, .35); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.pcard:hover .quick, .pcard .quick:focus { opacity: 1; transform: none; }
@media (hover: none) { .pcard .quick { opacity: 1; transform: none; width: 34px; height: 34px; } }

/* promo banners row */
.promos { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .promos { grid-template-columns: repeat(3, 1fr); } }
.promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 170px; padding: 22px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.promo:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo .p-text { position: relative; z-index: 2; max-width: 60%; }
.promo h3 { font-size: 21px; color: #fff; margin: 6px 0 12px; }
.promo .eyebrow { color: rgba(255, 255, 255, .85); font-size: 11.5px; }
.promo .go { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.promo img { position: relative; z-index: 1; width: 130px; height: 130px; object-fit: contain; background: #fff; border-radius: 20px; padding: 8px; transform: rotate(4deg); box-shadow: 0 16px 30px rgba(0, 0, 0, .2); }

/* department tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* how it works */
.how { background: linear-gradient(180deg, var(--brand-50), #fff); border-radius: var(--radius-lg); padding: 30px 22px; }
@media (min-width: 768px) { .how { padding: 40px; } }
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; right: 16px; top: 12px; font-size: 44px; font-weight: 900; color: var(--brand-50); line-height: 1; }
.step .s-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.coins-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.coin-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.coin-pill small { color: var(--muted); font-weight: 600; }

/* seo text */
.seo-text { color: var(--ink-2); font-size: 14.5px; max-width: 900px; }
.seo-text h2 { font-size: 20px; margin-top: 8px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* ---------- listing ---------- */
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.list-head h1 { margin: 0; }
.list-head .count { color: var(--muted); font-size: 14px; }
.cat-intro { color: var(--ink-2); max-width: 820px; margin: 6px 0 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg-soft); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chip:hover { background: var(--brand-50); color: var(--brand-700); }
.chip.on { background: var(--ink); color: #fff; }
.chip small { color: var(--muted); font-weight: 600; }
.chip.on small { color: rgba(255, 255, 255, .7); }
.list-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .list-layout { grid-template-columns: 250px 1fr; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: 140px; align-self: start; } }
.filters.open { display: block; position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; padding: 20px var(--gutter); }
.f-block { border-bottom: 1px solid var(--line); padding: 14px 0; }
.f-block:first-child { padding-top: 0; }
.f-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.f-block a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.f-block a.on { color: var(--brand); font-weight: 700; }
.f-block a small { color: var(--muted); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range .input { height: 40px; padding: 0 10px; }
.quick-prices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick-prices a { display: inline-flex; padding: 0 10px; height: 30px; align-items: center; border-radius: 999px; background: var(--bg-soft); font-size: 12.5px; font-weight: 600; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.toolbar .select { height: 40px; width: auto; min-width: 190px; font-size: 14px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 10px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; }
.empty { text-align: center; padding: 50px 20px; }
.empty .ic-lg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--brand); }

/* ---------- product page ---------- */
.pdp-grid { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 20px; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 900px) { .gallery { position: sticky; top: 140px; align-self: start; grid-template-columns: 76px 1fr; } }
.g-main { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; cursor: zoom-in; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) { .g-main { order: 2; } }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .g-thumbs { order: 1; flex-direction: column; max-height: 560px; overflow-y: auto; } }
.g-thumbs button { flex: none; width: 70px; height: 70px; padding: 3px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.g-thumbs button[aria-current="true"] { border-color: var(--brand); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pdp-info h1 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pdp-meta a { color: var(--brand); font-weight: 600; }
.price-box { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
.price-box .price { font-size: 32px; }
.price-box .crypto-eq { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.price-box .crypto-eq span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; }
.price-box .crypto-eq .coin-ic { width: 16px; height: 16px; }
.price-box .cb-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--green); font-weight: 700; }
.opt-group { margin-bottom: 16px; }
.opt-group > span { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.opt-group > span em { font-style: normal; font-weight: 600; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.opts label span b { color: var(--brand-700); }
.opts input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.opts input:focus-visible + span { outline: 3px solid var(--brand-100); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 100%; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { color: var(--brand); }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; min-width: 150px; }
.perks { display: grid; gap: 10px; margin: 18px 0; }
.perk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.perk .ic { color: var(--brand); margin-top: 2px; }
.perk b { display: block; }
.perk span { color: var(--muted); font-size: 13px; }
.pay-with { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.pay-with h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.pay-with .coins { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-with .coins span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--bg-soft); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.share a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.share a:hover { background: var(--brand-50); color: var(--brand); }
.pdp-tabs { margin-top: 18px; }
.desc { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.desc p { margin: 0 0 .7em; }
.specs { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(20, 17, 43, .08); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .price { font-size: 18px; }
.sticky-buy .btn { flex: 1; height: 48px; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 8, 25, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 12px; background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- cart & checkout ---------- */
.co-layout { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 960px) { .co-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.summary { position: sticky; top: 100px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { padding-top: 0; }
.line img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.line .l-name { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line .l-opts { font-size: 13px; color: var(--muted); margin-top: 3px; }
.line .l-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.line .qty { height: 38px; }
.line .qty button { width: 34px; }
.line .qty input { width: 34px; }
.line .l-total { font-weight: 800; text-align: right; white-space: nowrap; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: none; color: var(--muted); }
.icon-btn:hover { background: var(--red-50); color: var(--red); }
.totals { font-size: 14.5px; }
.totals .row { display: flex; justify-content: space-between; padding: 6px 0; }
.totals .row.big { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.totals .green { color: var(--green); font-weight: 700; }
.mini-lines .ml { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 13.5px; }
.mini-lines img { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; flex: none; }
.mini-lines .ml-name { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.mini-lines .ml-q { color: var(--muted); }
.co-step { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-step b { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.co-step h2 { margin: 0; font-size: 18px; }
.methods { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .methods { grid-template-columns: 1fr 1fr; } }
.method { position: relative; }
.method input { position: absolute; opacity: 0; }
.method span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.method span .coin-ic { width: 32px; height: 32px; }
.method span b { display: block; font-size: 14.5px; }
.method span small { display: block; font-size: 12px; color: var(--muted); }
.method span em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; color: var(--green); background: var(--green-50); padding: 3px 8px; border-radius: 999px; }
.method input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-50); }
.method input:focus-visible + span { outline: 3px solid var(--brand-100); }
.cash-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--green-50); color: #0b6b36; margin-bottom: 14px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- order / pay page ---------- */
.pay-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.pay-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; background: var(--ink); color: #fff; }
.pay-top .ref { font-family: var(--mono); font-size: 13px; opacity: .8; }
.pay-top .timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: 999px; }
.pay-top .timer.low { background: var(--accent); }
.pay-body { display: grid; gap: 22px; padding: 22px 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pay-body { grid-template-columns: 240px minmax(0, 1fr); padding: 26px; } }
.pay-body > *, .co-layout > * { min-width: 0; }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-box .qr { padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; position: relative; }
.qr-box .qr svg { width: 210px; height: 210px; }
.qr-box .qr .qr-logo { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 10px; background: #fff; padding: 4px; }
.qr-box small { color: var(--muted); font-size: 12px; text-align: center; }
.pay-field { margin-bottom: 14px; }
.pay-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.copy-row { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 14px; background: var(--bg-soft); }
.copy-row code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; word-break: break-all; padding: 8px 0; }
.copy-row.amount code { font-size: 20px; font-weight: 800; color: var(--ink); }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: #fff; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }
.copy-btn:hover { color: var(--brand); }
.copy-btn.done { color: var(--green); }
.net-warn { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--amber-50); color: #8a5300; font-size: 13.5px; margin: 6px 0 14px; }
.wallet-btns { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 520px) { .wallet-btns { grid-template-columns: 1fr 1fr; } }
.wallet-btns .btn { width: 100%; }
.wallet-btns .btn img { width: 22px; height: 22px; }
.status-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); font-weight: 600; font-size: 14.5px; }
.status-line.ok { background: var(--green-50); color: #0b6b36; }
.status-line.warn { background: var(--amber-50); color: #8a5300; }
.status-line.err { background: var(--red-50); color: #a3112f; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); animation: pulse 1.6s infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } * { scroll-behavior: auto !important; } }
.txid-form { display: flex; gap: 8px; margin-top: 8px; }
.txid-form .input { height: 44px; font-family: var(--mono); font-size: 13px; }
.switch-coin summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 14px; padding: 10px 0; }
.tracker { display: flex; justify-content: space-between; position: relative; margin: 8px 0 22px; }
.tracker::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 3px; background: var(--line); }
.tracker .t-fill { position: absolute; left: 6%; top: 15px; height: 3px; background: var(--green); }
.tracker .t-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 20%; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.tracker .t-dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.tracker .done .t-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tracker .done { color: var(--ink); }
.tracker .now .t-dot { border-color: var(--brand); }
.tracker .now { color: var(--brand); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { text-align: right; font-weight: 600; word-break: break-all; }

/* ---------- account & auth ---------- */
.auth { max-width: 440px; margin: 30px auto 60px; }
.auth .card { padding: 28px; box-shadow: var(--shadow); border: 0; }
.auth h1 { font-size: 26px; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin-bottom: 20px; }
.auth .alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.acc-layout { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 10px 0 50px; }
@media (min-width: 900px) { .acc-layout { grid-template-columns: 240px 1fr; } }
.acc-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .acc-nav { flex-direction: column; } }
.acc-nav a, .acc-nav button { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink-2); border: 0; background: none; width: 100%; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--bg-soft); }
.acc-nav a.on { background: var(--brand-50); color: var(--brand-700); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.stat { padding: 16px; border-radius: var(--radius); background: var(--bg-soft); }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }
.stat.green { background: var(--green-50); }
.stat.green b { color: var(--green); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.table tr:hover td { background: var(--bg-soft); }
.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; white-space: pre-wrap; word-wrap: break-word; }
.bubble.in { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bubble.out { align-self: flex-start; background: var(--bg-soft); border-bottom-left-radius: 4px; }
.bubble time { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }

/* ---------- static pages ---------- */
.prose { max-width: 820px; font-size: 15.5px; color: var(--ink-2); line-height: 1.75; padding-bottom: 50px; }
.prose h2 { margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.3em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c9c6dd; margin-top: 50px; font-size: 14px; }
.footer a { color: #c9c6dd; }
.footer a:hover { color: #fff; }
.f-top { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding: 44px 0 30px; }
@media (min-width: 900px) { .f-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.f-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .f-brand { grid-column: auto; } }
.f-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.f-brand p { max-width: 340px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--brand); }
.f-coins { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); align-items: center; }
.f-coins span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .06); padding: 4px 10px 4px 4px; border-radius: 999px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; transition: transform .3s, opacity .3s, visibility .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .3s, opacity .3s, visibility 0s; }
.toast a { color: #c4b5fd; font-weight: 800; }
.toast.err { background: var(--red); }

/* 404 */
.nf { text-align: center; padding: 40px 0 10px; }
.nf .big { font-size: 90px; font-weight: 900; line-height: 1; letter-spacing: -.05em; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
