/* Puppy Radar NFT — Cosmos tokens (REDESIGN-PUPPY 1). Lucide icons ISC; Rubik OFL — see /fonts/. */
@font-face{
  font-family:"Rubik";
  src:url("/fonts/Rubik-var.woff2") format("woff2");
  font-weight:300 900; font-style:normal; font-display:swap;
}
:root {
  --bg: #0d0a2e;
  --bg-img: url("/img/puppy/space.jpg");
  --bg-glow: rgba(255,200,80,.18);
  --tg: rgba(13,10,46,.6);
  --card: #2c2378;
  --card2: #221a63;
  --card-grad: linear-gradient(180deg,#2c2378,#221a63);
  --card-shelf: #120c3e;
  --ln: rgba(160,140,255,.22);
  --ln-soft: rgba(160,140,255,.14);
  --sel: #ffd24a;
  --gold1: #ffe27a;
  --gold2: #ffbd2e;
  --gold-grad: linear-gradient(180deg,#ffe27a,#ffbd2e);
  --gold-t: #2a1700;
  --gold-shelf: #c47f00;
  --accent: #ffd24a;
  --coin: radial-gradient(circle at 35% 30%,#fff3b0,#ffc21a 60%,#c47f00);
  --coin-shelf: #8a5600;
  --blue1: #8fd8ff;
  --blue2: #4fb3ff;
  --blue-grad: linear-gradient(180deg,#8fd8ff,#4fb3ff);
  --blue-t: #06244a;
  --blue-shelf: #1f6fb8;
  --off: #3a3270;
  --off-t: #9d95d6;
  --off-shelf: #1a1446;
  --chip: #2a2272;
  --input: #1a1446;
  --sheet-grad: linear-gradient(180deg,#2a2175,#1a1250);
  --sheet-ln: rgba(255,220,120,.35);
  --scrim: rgba(5,3,25,.62);
  --tabbar: rgba(20,14,60,.92);
  --tab-off: #a49be0;
  --tab-on: #ffd24a;
  --t: #fff;
  --t-lead: #c9c2ff;
  --t2: #b3abef;
  --t3: #a39cdf;
  --lbl: #ffd24a;
  --text-shadow: 0 3px 0 #05031a;
  --tile-gold: #ffbd2e;
  --tile-blue: #4fb3ff;
  --tile-pink: #ff5fa2;
  --tile-violet: #7343ff;
  --tile-green: #3ccf4e;
  --tile-orange: #ff8a2a;
  --grn: #3ccf4e;
  --grn-t: #6fe07c;
  --amber: #ffd24a;
  --net: #6fe07c;
  --font: "Rubik", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: 900 30px/1.1 var(--font);
  --fs-title: 900 21px/1.15 var(--font);
  --fs-h2: 900 20px/1.2 var(--font);
  --fs-t1: 800 16px/1.25 var(--font);
  --fs-t2: 500 12.5px/1.32 var(--font);
  --fs-lead: 500 14px/1.35 var(--font);
  --fs-btn: 900 18px/1 var(--font);
  --fs-btn-sm: 800 14px/1 var(--font);
  --fs-lbl: 800 12px/1.2 var(--font);
  --ls-lbl: .08em;
  --fs-chip: 800 13.5px/1 var(--font);
  --fs-tab: 700 10.5px/1 var(--font);
  --fs-seg: 800 15px/1 var(--font);
  --r: 22px;
  --r-gold: 24px;
  --btn: 20px;
  --btn-sm: 15px;
  --tile: 13px;
  --chip-r: 13px;
  --tag: 9px;
  --seg: 18px;
  --seg-i: 14px;
  --sheet: 30px;
  --tabbar-r: 24px;
  --img: 16px;
  --icb: 14px;
  --sh-card: 0 5px 0 #120c3e, 0 14px 26px rgba(0,0,0,.35);
  --sh-btn: 0 6px 0 #c47f00, 0 14px 26px rgba(0,0,0,.4);
  --sh-blue: 0 5px 0 #1f6fb8;
  --sh-off: 0 6px 0 #1a1446;
  --sh-chip: 0 4px 0 #120c3e;
  --sh-chip-on: 0 4px 0 #c47f00;
  --sh-fab: 0 5px 0 #8a5600, 0 0 0 6px rgba(20,14,60,.92), 0 0 26px rgba(255,200,60,.6);
  --sh-sel: 0 0 0 3px rgba(255,210,74,.18);
  --sp1: 4px; --sp2: 8px; --sp3: 12px; --sp4: 16px; --sp5: 24px; --pad-x: 16px;
  --h-tg: 46px; --logo: 52px; --ava: 40px; --fab: 58px; --h-tab: 66px;
  --h-btn: 56px; --h-btn-sm: 40px; --h-chip: 36px; --tile-s: 40px; --x: 44px;
  --blue: var(--tile-blue);
  --grad: var(--gold-grad);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #0d0a2e;
  color: var(--t);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  display: flex;
  justify-content: center;
}
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

.app {
  width: min(420px, 100%);
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 6%, var(--bg-glow) 0 60px, transparent 140px), linear-gradient(180deg, rgba(13,10,46,.25), rgba(13,10,46,.55)), var(--bg-img) center/cover, var(--bg);
}
body.shot .app { width: 390px; height: 844px; max-height: 100dvh; }

.tgh {
  height: 44px;
  background: var(--tg);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 600;
  font-size: 17px;
  gap: 8px;
  position: relative;
  z-index: 3;
}
.tgh span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgh i { font-style: normal; color: #aaa; font-size: 20px; margin-left: 14px; }

.foot { display: none; height: 0; pointer-events: none; }
.screen {
  position: absolute;
  top: 44px; left: 0; right: 0; bottom: 0;
  overflow: auto;
  padding: 10px 12px calc(118px + env(safe-area-inset-bottom, 0px));
}
.screen.notab { padding-bottom: 16px; }
.screen.wizard { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
.screen::-webkit-scrollbar { width: 0; height: 0; }

.hd { display: flex; align-items: center; gap: 8px; margin: 6px 2px 6px; }
.logo {
  width: var(--logo); height: var(--logo); border-radius: 50%;
  background: var(--coin); padding: 3px;
  position: relative; flex: none; overflow: hidden;
  box-shadow: 0 4px 0 var(--coin-shelf), 0 0 20px rgba(255,200,60,.45);
  border: 0;
}
.logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 12%; display: block; background: var(--card); }
.lot-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: 0 0 8px; min-height: 36px;
}
.lot-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: 999px; background: #1a1d24; border: 1px solid #2a2e36; font-size: 12px;
  flex: none; max-width: calc(100% - 48px);
}
.lot-chip b { font-weight: 700; }
.scope-line { font-size: 10.5px; line-height: 1.35; margin: 2px 0 6px; }
.logo.sm { width: 36px; height: 36px; box-shadow: none; }
.hd-txt { min-width: 0; }
.ttl { font-size: 22px; font-weight: 750; letter-spacing: -0.01em; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 8px;
  border: 1px solid #2f5fa8; background: #0f2442; color: #5aa6ff; margin-top: 4px;
}
.badge.live { color: var(--grn); background: #0f2a17; border-color: #25602f; }
.badge.seeker {
  background: var(--chip); color: var(--accent);
  border: 1.5px solid var(--accent); margin-top: 6px;
}
.ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 50% 38%, #6a7180 0 28%, transparent 29%),
    radial-gradient(circle at 50% 88%, #4a5160 0 40%, transparent 41%),
    linear-gradient(135deg, #2a2f3a, #15181e);
  border: 1.5px solid #2e5ea6;
}
.ava.lg { width: 64px; height: 64px; }
.ic { color: #ccc; font-size: 20px; margin-left: auto; margin-right: 8px; display: inline-flex; align-items: center; }
.ic.gear .i { width: 22px; height: 22px; }

.card { background: var(--card); border: 1px solid var(--ln); border-radius: var(--r); padding: 12px; }
.empty { text-align: center; padding: 26px 14px; }
.empty b { display: block; font-size: 17px; margin: 12px 0 8px; }
.empty small { color: var(--t2); font-size: 12.5px; line-height: 1.45; }
.noimg {
  width: 26px; height: 22px; border: 2px solid #777; border-radius: 4px;
  margin: 0 auto; position: relative;
}
.noimg:after {
  content: ""; position: absolute; left: -4px; top: 9px;
  width: 32px; height: 2px; background: #777; transform: rotate(40deg);
}
h2 { font-size: 16px; margin: 14px 2px 8px; font-weight: 650; }
h3 { font-size: 15px; margin: 0; font-weight: 650; }
.hello { color: #bbb; font-size: 15px; margin: 0 2px; }
.hero { font-size: 26px; font-weight: 800; line-height: 1.2; margin: 6px 2px 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border: 1px solid var(--ln); background: var(--card2);
  border-radius: var(--chip-r); font-size: 13px; margin: 0 4px 6px 0;
  white-space: nowrap; color: var(--t); cursor: pointer;
}
.chip.on { border-color: var(--accent); background: var(--card-shelf); }
.chip.muted { color: #8b919a; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grn); display: inline-block; }
.chips { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 12px 0; }
.chips::-webkit-scrollbar { height: 0; }
.chip { flex: none; }
.filters {
  display: flex; flex-wrap: nowrap; gap: 8px; margin: 12px 0 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { height: 0; }
.filters .chip { margin: 0; flex: none; }

.tab {
  position: absolute;
  left: 14px; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  height: 58px;
  background: #16181d;
  border: 1px solid #2c313a;
  border-radius: 20px;
  display: flex; justify-content: space-around; align-items: flex-end;
  padding: 6px 4px 8px; font-size: 10px; color: #8b919a; z-index: 6;
  box-shadow: 0 12px 32px #000a, 0 0 0 1px #0004;
}
.tab > div { width: 58px; } /* FAB slot spacer */
.tab button { text-align: center; width: 58px; color: inherit; font-size: 10px; font-weight: 600; line-height: 1.1; }
.tab button .i { display: block; width: 24px; height: 24px; margin: 0 auto 4px; color: #9aa; }
.tab button.on, .tab button.on .i { color: var(--accent); }
.fab {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-grad); box-shadow: 0 0 24px rgba(255,200,60,.35);
  font-size: 36px; display: flex; align-items: center; justify-content: center;
  font-weight: 300; z-index: 7; color: #fff;
}
.fabl {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  font-size: 10px; font-weight: 700; z-index: 8; color: #8b919a; pointer-events: none;
}
.fabl.on { color: var(--accent); }

.btn {
  height: 50px; border-radius: var(--btn); background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; box-shadow: 0 6px 22px rgba(196,127,0,.35);
  color: #fff; width: 100%; text-decoration: none;
}
.btn.g { background: #2a2c31; color: #9aa; box-shadow: none; }
.btn.dis, .btn:disabled {
  background: #1d1f24; color: #555; box-shadow: none;
  border: 1px solid #2a2d33; cursor: default;
}
.btn.sm { height: 36px; font-size: 14px; border-radius: 10px; box-shadow: none; }

.dim { position: absolute; inset: 0; background: #000b; z-index: 12; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 14;
  background: #141519; border-radius: var(--sheet) var(--sheet) 0 0;
  padding: 10px 12px 0; border-top: 1px solid #2b2e35;
  max-height: calc(100% - 56px); overflow: auto;
}
.grab { width: 38px; height: 5px; background: #555; border-radius: 3px; margin: 0 auto 10px; }
.x {
  width: 44px; height: 44px; border-radius: 50%; background: #2a2c31;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
}
.sheet-title { font-size: 20px; font-weight: 700; }
.opt {
  border: 1.5px solid var(--accent); border-radius: 15px; background: var(--card2);
  display: flex; align-items: center; gap: 10px; padding: 12px 10px;
  font-size: 13px; font-weight: 700; min-height: 66px; width: 100%; text-align: left; color: #fff;
}
.opt.off { border-color: var(--ln); background: #14161b; }
.opt .sq, .sq {
  width: 40px; height: 40px; border-radius: 11px; background: #23262c;
  display: flex; align-items: center; justify-content: center; color: #7fb4ff; flex: none;
}
.ck {
  margin-left: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ck.off { background: transparent; border: 1.5px solid #555; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.sheet-actions {
  display: flex; gap: 8px; border-top: 1px solid #2a2d33; padding: 12px 0;
  position: sticky; bottom: 0; background: #141519;
}

.tbl { border: 1px solid var(--ln); border-radius: 16px; overflow: hidden; background: var(--card); }
.tbl .tr { display: flex; border-top: 1px solid var(--ln); font-size: 13px; }
.tbl .tr:first-child { border: 0; }
.tbl .tr span { padding: 13px 12px; color: var(--t2); width: 110px; border-right: 1px solid var(--ln); }
.tbl .tr b { padding: 13px 12px; flex: 1; font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; }
.mut { color: var(--t2); font-size: 12px; }
.blu { color: var(--accent); }
.amber { color: var(--amber); }

.mk {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex: none;
}
.mk-logo {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  object-fit: cover; background: #1b1e24; display: block;
}
.cmp-stack {
  display: inline-flex; align-items: center; flex: none; height: 28px;
}
.cmp-stack .mk-logo {
  width: 28px; height: 28px; margin-left: -10px;
  border: 2px solid #1a1d24; box-sizing: border-box;
  position: relative; flex: none;
}
.cmp-stack .mk-logo:first-child { margin-left: 0; z-index: 3; }
.cmp-stack .mk-logo:nth-child(2) { z-index: 2; }
.cmp-stack .mk-logo:nth-child(3) { z-index: 1; }
.crow .mk-logo { width: 36px; height: 36px; }
.inp {
  height: 48px; border: 1px solid var(--ln); border-radius: 14px;
  background: var(--card); display: flex; align-items: center;
  padding: 0 14px; color: var(--t2); font-size: 14px; width: 100%;
}
input.inp { outline: none; }
.tog {
  width: 46px; height: 26px; border-radius: 13px; background: var(--accent);
  position: relative; margin-left: auto; flex: none;
}
.tog:after {
  content: ""; position: absolute; right: 3px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
}
.tog.off { background: #3a3d44; }
.tog.off:after { right: auto; left: 3px; }
.lock { margin-left: auto; color: #666; font-size: 18px; }
.lock.g { color: var(--grn); }

.mr { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-top: 1px solid var(--ln); width: 100%; text-align: left; }
.mr:first-child { border: 0; }
.mr .ic2 { color: var(--accent); font-size: 20px; width: 26px; }
.mr b { font-size: 14px; font-weight: 650; display: block; }
.mr small { display: block; color: var(--t2); font-size: 11px; }
.mr .ch { margin-left: auto; color: #aaa; }
.profile-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin: 16px 4px 8px; gap: 12px;
}
.profile-foot .foot-link {
  background: none; border: 0; color: var(--accent); font-size: 12.5px; font-weight: 600; padding: 0;
}
.profile-foot .mut { font-size: 12px; }
.ref { opacity: 0.55; }

.lotgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 4px; width: 100%;
}
.lot {
  width: auto; min-width: 0; background: var(--card); border: 1px solid var(--ln);
  border-radius: 18px; padding: 10px; text-align: left; color: inherit;
}
.lot-art {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  border-radius: 14px; overflow: hidden; background: #1b1e24;
}
.lot-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 14px; display: block;
}
.lot-art .lot-mk {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 2px 8px #0008;
}
.lot-art .lot-mk .mk-logo, .lot-art .lot-mk .mk { width: 28px; height: 28px; }
.lot-art .bm {
  position: absolute; right: 8px; top: 8px; left: auto; z-index: 2; color: #fff;
  filter: drop-shadow(0 1px 2px #000a);
}
.lot img { width: 100%; height: 136px; object-fit: cover; border-radius: 14px; display: block; }
.hero-img { width: 100%; height: 270px; object-fit: cover; border-radius: 22px; display: block; }
.crop-bottom .hero-img { height: 90px; object-position: bottom; border-radius: 0 0 22px 22px; width: 92%; margin: 0 auto; }

.prog { height: 4px; background: #2a2d33; border-radius: 2px; margin: 6px 0 14px; }
.prog i { display: block; height: 4px; background: var(--accent); border-radius: 2px; }
.wh { display: flex; align-items: center; gap: 14px; margin: 8px 4px 12px; }
.wh b { font-size: 23px; }
.wh small { display: block; color: var(--t2); font-size: 12px; }
.foc {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  background: #121418; border-top: 1px solid #2a2d33;
  border-radius: 20px 20px 0 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
.basis {
  border: 1px solid var(--ln); background: var(--card-shelf); border-radius: 16px; padding: 14px;
}
.cond {
  border-color: var(--accent); background: var(--card-shelf);
}
.stats { display: flex; text-align: center; }
.stats div { flex: 1; }
.stats div + div { border-left: 1px solid var(--ln); }
.stats b { font-size: 20px; }
.quota { display: flex; padding: 10px 12px; }
.quota > div { flex: 1; }
.quota > div + div { border-left: 1px solid var(--ln); padding-left: 8px; }

.triad {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  text-align: left; margin: 12px 0;
}
.triad small { color: var(--t2); font-size: 10px; display: block; }
.triad b { font-size: 14px; }
.verdict { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--t2); }
.verdict.ok { color: var(--grn); }
.plus { color: var(--grn); font-weight: 800; }

.compare {
  border: 1px solid #234866; border-radius: 14px; background: #111821; margin-top: 8px;
}
.compare .head { padding: 10px; }
.crow {
  border-top: 1px solid var(--ln); padding: 12px 10px; display: flex; gap: 10px;
}
.seg { display: flex; padding: 4px; border-radius: 16px; }
.seg button { flex: 1; height: 42px; border-radius: 12px; font-weight: 700; font-size: 14px; color: #999; }
.seg button.on { background: var(--gold-grad); color: #fff; box-shadow: 0 6px 22px rgba(196,127,0,.35); }

.toast {
  position: absolute; left: 16px; right: 16px; bottom: 132px; z-index: 30;
  background: #1b1e24; border: 1px solid var(--ln); border-radius: 14px;
  padding: 12px 14px; font-size: 13px;
}
.pro-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 14px; margin-bottom: 8px; width: 100%; text-align: left; }
.pro-col { padding: 12px 10px; border-radius: 16px; }
.pro-col.pro {
  border-color: #2f6fd0;
  background: linear-gradient(180deg, #0f2342, #0c1626);
}
.pro-col h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.point { font-size: 11px; margin-top: 7px; display: flex; gap: 6px; line-height: 1.3; }
.tick {
  flex: none; width: 13px; height: 13px; border-radius: 50%; font-size: 9px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.back { font-size: 28px; line-height: 1; color: #fff; }

.splash { text-align: center; position: relative; min-height: 100%; padding-top: 8px; }
.brand-title {
  font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; color: #fff;
}
.hero-ph {
  position: relative; height: 420px; margin: 4px -4px 0; overflow: hidden;
  background: transparent;
}
.hero-ph .hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.loadtxt { color: #c8cdd5; font-size: 14px; margin-top: 10px; font-weight: 500; }
.track {
  margin: 16px auto 0; width: 248px; height: 6px; border-radius: 999px;
  background: #1a2030; overflow: hidden; border: 1px solid #243047;
}
.bar {
  display: block; height: 100%; width: 72%; border-radius: 999px;
  background: var(--gold-grad);
  box-shadow: 0 0 12px var(--accent);
  animation: load 1.6s ease-in-out infinite;
}
@keyframes load { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.radar-card { padding: 0; }
.radar-main { display: flex; gap: 10px; padding: 12px; }
.pause {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #555; background: none; color: #ddd; font-size: 13px;
}
.gift-ph { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; background: #17304f;
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex: none;
}

/* ---- line icons ---- */
.i { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.i.sm { width: 15px; height: 15px; }
.btn { gap: 8px; }
.fab .i { width: 30px; height: 30px; stroke-width: 2.2; }
.sq .i, .icon-tile .i { width: 22px; height: 22px; }
.mr .ic2 .i { width: 22px; height: 22px; }
.mr .ch .i { width: 18px; height: 18px; }
.sq-ic { width: 42px; height: 42px; background: #14233a; }
.sq-ic .i { width: 22px; height: 22px; }
.ck .i { width: 12px; height: 12px; stroke-width: 3; }
.chip .i.sm { margin-left: 2px; }
.lock .i { width: 18px; height: 18px; }
.stat { font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dot.off { background: #6b717b; }
.stats b { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; }

/* ---- buttons / headers ---- */
.btn.danger { background: #d13b3b; box-shadow: none; }
.btn.danger-t { color: #ff6b6b; }
.sub-hd { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.sub-hd b { font-size: 18px; font-weight: 700; }
.pro-hd { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.pro-hd b { font-size: 17px; }

/* ---- modal ---- */
.modal {
  position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); z-index: 16;
  background: #15171c; border: 1px solid #2b2e35; border-radius: 24px; padding: 28px 18px 16px;
  text-align: center; display: flex; flex-direction: column; gap: 10px;
}
.modal h3 { font-size: 21px; font-weight: 800; margin: 4px 0 0; }
.modal p { margin: 0 0 6px; color: var(--t2); font-size: 14px; line-height: 1.45; }
.modal-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border-radius: 50%; background: #2a2c31; display: flex; align-items: center; justify-content: center;
}
.link-plain {
  background: none; border: 0; color: var(--t2); font-size: 14px; padding: 8px;
  text-decoration: none; width: 100%;
}
.crown {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  background: #14233a; color: #ffc83d; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(255,200,60,.25);
}
.crown.sq-crown {
  border-radius: 16px; background: var(--accent); color: #fff; box-shadow: none;
}
.crown .i { width: 32px; height: 32px; }
.crown.red { color: #ff6b6b; background: #2a1517; box-shadow: none; }
.crown.lg { width: 92px; height: 92px; }
.crown.lg .i { width: 46px; height: 46px; }

/* ---- PRO ---- */
.pro-hd { gap: 8px; }
.pro-brand { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.pro-brand b { font-size: 16px; font-weight: 800; }
.pro-badge {
  font-size: 11px; font-weight: 800; color: #fff; background: var(--accent);
  border-radius: 7px; padding: 2px 7px; letter-spacing: .02em;
}
.pro-hero {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px !important;
  text-align: left; margin-top: 6px;
}
.pro-hero-txt { flex: 1; min-width: 0; }
.pro-hero-txt .hero { margin: 0 0 6px; font-size: 20px; line-height: 1.2; text-align: left; }
.pro-hero-txt .mut { font-size: 12px; line-height: 1.35; }
.pro-radar {
  position: relative; width: 78px; height: 78px; flex: none; border-radius: 50%;
  background: var(--card-grad);
  border: 2px solid var(--sel); box-shadow: none;
}
.pro-radar i {
  position: absolute; inset: 12px; border: 1.5px solid rgba(255,210,74,.35); border-radius: 50%;
}
.pro-radar i:nth-child(2) { inset: 24px; }
.pro-radar span {
  position: absolute; left: 50%; top: 12px; width: 2px; height: 28px; background: var(--accent);
  transform-origin: bottom center; transform: rotate(35deg);
}
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.period {
  position: relative; border: 1.5px solid var(--ln); border-radius: 16px; background: var(--card);
  padding: 22px 6px 10px; text-align: center; display: flex; flex-direction: column; gap: 3px; align-items: center;
}
.period.on { border-color: var(--accent); background: #112038; }
.period .ck { position: absolute; top: 8px; right: 8px; }
.period b { font-size: 12px; font-weight: 700; color: var(--t2); }
.period .price { font-size: 17px; font-weight: 800; }
.period .pm { font-size: 10px; color: var(--t3); }
.period .save { font-size: 10px; font-weight: 700; color: var(--grn); background: #0f2a17; border-radius: 8px; padding: 2px 6px; }

/* ---- sheets / pickers ---- */
.sheet.tall, .picker-sheet {
  top: 52px; bottom: 0; max-height: none; min-height: calc(100% - 52px);
  border-radius: 24px 24px 0 0;
}
.searchbox {
  display: flex; align-items: center; gap: 8px; height: 44px; margin: 12px 0 8px; padding: 0 12px;
  border: 1px solid var(--ln); border-radius: 14px; background: var(--card); color: var(--t2);
}
.sinp { flex: 1; background: none; border: 0; outline: none; font-size: 14px; }
.plist { max-height: none; flex: 1; overflow: auto; padding-bottom: 8px; }
.ck-box {
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #555;
  background: transparent; display: inline-flex; align-items: center; justify-content: center;
  flex: none; color: #fff;
}
.ck-box:not(.off) { background: var(--accent); border-color: var(--accent); }
.rd-box,
.sq.rd-box {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #555;
  background: transparent; box-shadow: none;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; color: transparent;
}
.rd-box:not(.off),
.sq.rd-box:not(.off) { border-color: var(--accent); background: transparent; box-shadow: none; }
.rd-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: block;
}
.art-ph {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  background: #23262c; flex: none;
}
.art-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.range {
  accent-color: var(--accent); width: 100%; height: 4px;
}
.acc .acc-body { padding: 4px 12px 12px; border-top: 1px solid var(--ln); }
.acc.open > .mr { border-bottom: 0; }
.prow {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 6px;
  border-bottom: 1px solid #20232a; text-align: left;
}
.prow.on { background: #112038; border-radius: 12px; }
.prow b { font-size: 14px; }
.copt {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px;
  border: 1.5px solid var(--ln); border-radius: 15px; background: #14161b; margin-bottom: 8px;
}
.copt.on { border-color: var(--accent); background: var(--card2); }
.clist-wrap { margin: 8px 0 4px; }
.clist {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 4px;
  border: 0; border-bottom: 1px solid #22262e; background: none; border-radius: 0; color: inherit;
}
.clist:last-child { border-bottom: 0; }
.clist.on b { color: #fff; }
.rad {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #555; flex: none; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.rad.on { border-color: var(--accent); background: var(--accent); }
.rad .i { width: 12px; height: 12px; stroke-width: 3; }

/* ---- radars ---- */
.radar-card.is-paused { opacity: .75; }
.radar-open { display: flex; gap: 10px; flex: 1; color: inherit; min-width: 0; }
.radar-ico { width: 50px; height: 50px; border: 2px solid var(--accent); }
.radar-ico .i { width: 26px; height: 26px; }
.radar-ctl { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.pause { display: flex; align-items: center; justify-content: center; }
.pause.on { border-color: var(--accent); color: var(--accent); background: #12233c; }
.pause .i { width: 16px; height: 16px; }
.radar-inline-menu {
  display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px;
  padding: 0 12px 12px; margin-top: -4px;
}
.rim-btn {
  height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid #3a3f4a; background: #1a1d24;
  color: #e8eaed; font-size: 12px; font-weight: 600; width: auto; flex: 0 0 auto;
  white-space: nowrap;
}
.rim-btn.danger { color: #ff6b6b; border-color: #3a2a2c; background: #1a1516; }
.quiet-row {
  padding: 4px 10px; display: flex; align-items: center; gap: 8px;
}
.quiet-toggle-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 4px; background: none; border: 0; flex: 1; min-width: 0;
}
.quiet-row .quiet-meta { font-size: 12px; color: var(--t2); margin-top: 2px; }
.quiet-panel { margin-top: 10px; }
.card.stats { padding: 8px 4px !important; }
.sig { width: 100%; text-align: left; margin-bottom: 8px; color: inherit; }

/* ---- catalog ---- */
.lot { position: relative; overflow: hidden; }
.lotlist { display: flex; flex-direction: column; gap: 8px; }
.lotrow {
  display: flex; align-items: center; gap: 10px; padding: 8px; width: 100%;
  background: var(--card); border: 1px solid var(--ln); border-radius: 16px; color: inherit;
}
.lotrow img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #1b1e24; }
.skel .sk-img { aspect-ratio: 1 / 1; height: auto; border-radius: 14px; }
.skel .sk-line { height: 12px; border-radius: 6px; margin-top: 10px; }
.skel .sk-line.s { width: 60%; }
.skel .sk-img, .skel .sk-line {
  background: linear-gradient(90deg, #1b1e24 25%, #262a32 50%, #1b1e24 75%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.orbit {
  position: absolute; left: 8%; top: 14%; width: 72px; height: 72px;
  border-radius: 50%; border: 2px solid rgba(255,210,74,.45); overflow: hidden;
  box-shadow: none; z-index: 2;
}
.orbit img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit.empty {
  right: 10%; left: auto; background: transparent; border-color: rgba(255,210,74,.25);
  box-shadow: none;
}
.splash .hero-ph { position: relative; }

/* ---- lot ---- */
.lot-page { position: relative; text-align: center; }
.lot-back {
  position: static; width: 36px; height: 36px; border-radius: 50%;
  background: #2a2c31; display: flex; align-items: center; justify-content: center;
  flex: none; margin-left: auto;
}
.lot-top .lot-back { margin-left: auto; }
.hero-img { background: #1b1e24; }
.cmp-btn { margin: 0 0 10px; width: 100%; color: inherit; }
.alink { height: 32px; align-self: center; color: var(--accent); background: var(--card-shelf); border-color: var(--ln); font-weight: 700; font-size: 10.5px; }


/* PASS 5.1 density + lot sheet + dual range */
.ttl { font-size: 26px; font-weight: 800; }
.sheet-title { font-size: 26px; font-weight: 800; }
.sheet-hd { align-items: flex-start; }
.sheet-hd .x { margin-left: auto; }
.sheet.tall, .picker-sheet, .lot-sheet {
  top: auto; min-height: 78%; max-height: 92%;
  height: auto; display: flex; flex-direction: column;
}
.sheet { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.lot-sheet { text-align: left; }
.lot-sheet-scroll { overflow: auto; flex: 1; padding-bottom: 20px; }
.lot-hero-wrap {
  display: flex; justify-content: center; align-items: center;
  background: transparent; padding: 8px 0 4px; margin: 4px 0;
  border: 0; box-shadow: none;
}
.lot-hero-wrap .hero-img {
  width: 68%; aspect-ratio: 1; height: auto; object-fit: cover;
  border-radius: 18px; display: block; margin: 0 auto;
  border: 0; box-shadow: none; outline: 0; background: #1b1e24;
}
.lot-model-title {
  font-size: 24px; font-weight: 800; text-align: center;
  line-height: 1.25; margin: 6px 8px 4px; word-break: break-word;
  overflow: visible; white-space: normal;
}
.lot-cell {
  display: block; min-width: 0; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.35;
}
.rar-badge { font-weight: 700; color: inherit; }
.tbl .tr {
  display: grid; grid-template-columns: 110px 1fr; align-items: center;
}
.tbl .tr span { width: auto; }
.tbl .tr b.lot-cell { padding: 13px 12px; }
.dual-range {
  position: relative; height: 28px; margin: 10px 2px 4px;
}
.dual-range input[type=range] {
  position: absolute; left: 0; right: 0; width: 100%;
  pointer-events: none; appearance: none; background: transparent; height: 28px;
}
.dual-range input[type=range]::-webkit-slider-thumb {
  pointer-events: auto; appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent); border: 2px solid #fff;
}
.dual-range input[type=range]::-webkit-slider-runnable-track {
  height: 4px; background: #2a2e36; border-radius: 2px;
}
.price-card { margin: 8px 0 12px; }
.sort-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px;
}
.sort-tile {
  display: flex; align-items: center; gap: 8px; padding: 12px 10px;
  border: 1.5px solid var(--ln); border-radius: 15px; background: #14161b;
  text-align: left; color: inherit; min-height: 58px;
}
.sort-tile.on { border-color: var(--accent); background: var(--card2); }
.sort-tile b { font-size: 12px; flex: 1; }
.pick-all-chip {
  margin: 4px 0 10px; width: auto; max-width: max-content;
  display: inline-flex; padding: 8px 14px; flex: none;
  align-self: flex-start;
}
.picker-sheet .searchbox {
  height: 56px; min-height: 56px; border-radius: 16px;
  margin: 12px 0 10px; padding: 0 14px; gap: 10px;
}
.cur-ico {
  margin-right: 6px; color: var(--accent); font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex: none;
}
.cur-ico.gram { color: #6ab0ff; }
.cur-ico.gram .i { width: 16px; height: 16px; color: #6ab0ff; }
.cur-ico.stars { color: #f0b400; }
.pro-soon {
  text-align: center; margin-top: 14px; font-size: 14px; font-weight: 650;
  color: #d2d7df; line-height: 1.4; padding: 4px 12px 8px;
  white-space: normal; overflow: visible;
}
.dim.backdrop { background: #000a; }
.cmp-stack .mk-logo {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid #1a1d24; margin-left: -8px; background: #222;
}
.swatch {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 2px solid #2a2e36;
}
.plist-head {
  display: flex; gap: 10px; padding: 4px 6px 8px; color: var(--t3); font-size: 11px; font-weight: 700;
}
.field-err { color: #ff5c5c; font-size: 12px; margin: 6px 2px 0; line-height: 1.35; }
.inp.err { border-color: #ff5c5c; }
.filter-on { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent); }
.quiet-row.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.time-inp { gap: 8px; }
.time-inp input { flex: 1; background: none; border: 0; outline: none; color: inherit; }
.fbadge {
  margin-left: 4px; background: var(--accent); color: #fff; border-radius: 8px;
  font-size: 10px; padding: 1px 5px; font-weight: 800;
}
.bm {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 32px; height: 32px; border-radius: 10px; background: #0008;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.bm.on { color: #ffd166; }
.lot { position: relative; }
.lot-main { width: 100%; text-align: left; color: inherit; }
.lot-mk { position: absolute; left: 8px; top: 8px; z-index: 2; }
.fav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fav-card {
  background: #1b1e24; border-radius: 14px; padding: 10px; text-align: left;
}
.modal.center {
  top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px); max-width: 358px;
}
.modal.wide {
  left: 16px; right: 16px; width: auto; max-width: none;
  padding: 32px 18px 18px; border-radius: 22px;
}
/* wide+center: equal insets, vertical center — do NOT keep translateX(-50%) */
.modal.center.wide {
  left: 16px; right: 16px; width: auto; max-width: none;
  top: 50%; bottom: auto;
  transform: translateY(-50%);
}
.modal.bottom {
  top: auto; bottom: 24px; transform: none; left: 16px; right: 16px;
}
.modal.wide h3 { font-size: 20px; line-height: 1.25; max-width: 16em; margin-left: auto; margin-right: auto; }
.support-modal { box-shadow: 0 0 40px rgba(196,127,0,.35); }
.logo-ring, .logo { width: 52px; height: 52px; }
.hd .logo, .hd .logo-wrap { width: 52px; height: 52px; }
.ava {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); overflow: hidden; background: #2a2e36; flex: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ava-ini {
  font-size: 13px; font-weight: 800; color: #fff; letter-spacing: .02em;
}
.ava.lg { width: 56px; height: 56px; }
.ava.lg .ava-ini { font-size: 18px; }
.radar-ico { width: 52px; height: 52px; }
.radar-name.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.nowrap { white-space: nowrap; }
.chip.dis, .btn.dis { opacity: .4; pointer-events: none; }
.splash.fade-out { opacity: 0; transition: opacity .32s ease; }
.screen { padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)); }
.profile-foot { margin-bottom: 24px; }
.link-plain {
  background: none; border: 0; color: var(--t2); font-size: 14px; padding: 10px;
  text-decoration: none; width: 100%;
}
.home-chips {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden;
  width: 100%; box-sizing: border-box;
  padding: 0 12px 0 2px; /* right inset so «Наши каналы» clears 390px edge */
}
.home-chips .chip {
  flex: 1 1 0; min-width: 0; margin: 0; text-align: center;
  font-size: 10px; padding: 8px 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sort-grid-7 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.sort-tile.full { grid-column: 1 / -1; }
.sort-tile b { font-size: 12px; line-height: 1.25; }
.sheet-scroll { overflow: auto; flex: 1; min-height: 0; padding-bottom: 8px; }
.sticky-actions { margin-top: auto; }
.sig.skel { padding: 14px; margin-bottom: 10px; }
.art-missing { background: #1a1d24; border: 0; }
.art-missing::after { content: none; }
.mut, .hello, .chip, .prow, .opt { font-size: 13px; }
.inp, .sinp { font-size: 13px; }
.prow { padding: 12px 8px; gap: 12px; }
.plist { gap: 2px; }
.card { border-radius: 18px; }
.sheet { border-radius: 22px 22px 0 0; }
.hd { margin: 8px 2px 10px; }
.ttl { letter-spacing: -0.01em; }
.modal.wide .btn { width: 100%; }
.modal.wide .link-plain { display: block; width: 100%; margin-top: 4px; }


/* ===== REDESIGN-PUPPY 1 component overrides (Cosmos) ===== */
.tgh {
  height: var(--h-tg); background: var(--tg); font-weight: 700; font-size: 15px;
}
.tgh i { color: var(--t2); font-size: 18px; }
.screen { top: var(--h-tg); padding: 10px 16px calc(128px + env(safe-area-inset-bottom, 0px)); }
.hd { gap: 10px; }
.logo.sm { width: 36px; height: 36px; padding: 2px; box-shadow: 0 3px 0 var(--coin-shelf); }
.ttl { font: var(--fs-title); text-shadow: var(--text-shadow); letter-spacing: -0.01em; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: var(--tag); background: var(--chip); color: var(--accent);
  border: 1px solid rgba(255,210,74,.35); font-weight: 800; font-size: 11.5px; margin-top: 3px;
}
.badge.live { color: var(--grn-t); border-color: rgba(60,207,78,.4); background: var(--chip); }
.badge.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grn);
  box-shadow: 0 0 8px var(--grn); display: inline-block;
}
.badge.seeker {
  background: var(--chip); color: var(--accent); border: 1.5px solid var(--accent);
}
.ava {
  width: var(--ava); height: var(--ava); border-radius: 50%; flex: none; border: 0; padding: 0;
  background: linear-gradient(180deg,#a98bff,#7343ff);
  box-shadow: 0 3px 0 #4a24c2;
  display: inline-flex; align-items: center; justify-content: center;
}
.ava.lg, .profile-ava, .ava.profile {
  width: 88px; height: 88px; box-shadow: 0 6px 0 #4a24c2, 0 0 0 4px rgba(255,210,74,.6);
}
.ava.lg .ava-ini, .ava.profile .ava-ini { font-size: 30px; }
.ic { color: var(--t2); }
.ic, .ic.gear {
  width: 40px; height: 40px; border-radius: var(--icb); background: var(--chip);
  box-shadow: var(--sh-chip); border: 1.5px solid rgba(160,140,255,.2);
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto; margin-right: 8px;
}
.card {
  background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 22px;
  box-shadow: var(--sh-card); padding: 12px;
}
.empty { text-align: center; padding: 16px 14px 20px; }
.empty img, .empty .puppy-look { height: 96px; display: block; margin: 0 auto 4px; }
.empty b { display: block; font-size: 17px; margin: 8px 0 6px; }
.empty small { color: var(--t2); font-size: 12.5px; line-height: 1.45; }
.noimg { display: none; }
.hello { color: var(--t2); font-size: 15px; }
.hero { font: var(--fs-h1); text-shadow: var(--text-shadow); margin: 6px 2px 12px; }
h2 { font: var(--fs-lbl); letter-spacing: var(--ls-lbl); color: var(--lbl); margin: 18px 2px 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: var(--h-chip);
  padding: 0 13px; border: 1.5px solid rgba(160,140,255,.18); background: var(--chip);
  border-radius: var(--chip-r); font: var(--fs-chip); margin: 0 4px 6px 0;
  white-space: nowrap; color: var(--t); box-shadow: var(--sh-chip); cursor: pointer;
}
.chip.on {
  background: var(--gold-grad); color: var(--gold-t); border-color: transparent;
  box-shadow: var(--sh-chip-on);
}
.chip.muted { color: var(--off-t); }
.chip.dis, .btn.dis { opacity: 1; filter: grayscale(1); }
.home-chips {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden;
  width: 100%; box-sizing: border-box;
  padding: 0 12px 0 2px;
}
.home-chips .chip {
  flex: 1 1 0; min-width: 0; margin: 0; text-align: center; justify-content: center;
  font-size: 10px; padding: 8px 4px; height: auto;
  overflow: hidden; text-overflow: ellipsis;
}
.tab {
  position: absolute; left: 14px; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  height: var(--h-tab); background: var(--tabbar);
  border: 1.5px solid rgba(255,220,120,.3); border-radius: var(--tabbar-r);
  display: flex; justify-content: space-around; align-items: flex-end;
  padding: 6px 4px 8px; font: var(--fs-tab); color: var(--tab-off); z-index: 6;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); margin: 0;
}
.tab button { color: inherit; font: inherit; width: 58px; text-align: center; }
.tab button .i { display: block; width: 22px; height: 22px; margin: 0 auto 4px; color: inherit; }
.tab button.on, .tab button.on .i { color: var(--tab-on); }
.fab {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(46px + env(safe-area-inset-bottom, 0px));
  width: var(--fab); height: var(--fab); border-radius: 50%;
  background: var(--coin); box-shadow: var(--sh-fab);
  font-size: 30px; display: flex; align-items: center; justify-content: center;
  font-weight: 300; z-index: 7; color: #5a3300; border: 0;
}
.fab .i { color: #5a3300; width: 30px; height: 30px; }
.fabl { color: var(--tab-off); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.fabl.on { color: var(--tab-on); }
.btn {
  height: var(--h-btn); border-radius: var(--btn); background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font: var(--fs-btn); color: var(--gold-t); width: 100%; text-decoration: none;
  box-shadow: var(--sh-btn);
}
.btn:active:not(.dis):not(:disabled) { transform: translateY(3px); box-shadow: 0 3px 0 var(--gold-shelf); }
.btn.g {
  background: rgba(255,255,255,.1); color: #fff;
  box-shadow: 0 5px 0 rgba(0,0,0,.35); border: 1.5px solid rgba(255,255,255,.18);
}
.btn.dis, .btn:disabled {
  background: var(--off); color: var(--off-t); box-shadow: var(--sh-off);
  border: 0; cursor: default; filter: grayscale(1);
}
.btn.sm {
  height: var(--h-btn-sm); font: var(--fs-btn-sm); border-radius: var(--btn-sm);
  background: var(--blue-grad); color: var(--blue-t); box-shadow: var(--sh-blue);
}
.btn.danger { background: #ff3d6e; color: #fff; box-shadow: 0 5px 0 #a01840; filter: none; }
.btn.danger-t { color: #ff7a98; }
.dim { background: var(--scrim); }
.dim.backdrop { background: var(--scrim); }
.sheet {
  background: var(--sheet-grad); border-radius: var(--sheet) var(--sheet) 0 0;
  border-top: 1.5px solid var(--sheet-ln); box-shadow: 0 -10px 40px rgba(0,0,0,.5);
  padding: 10px 16px 0;
}
.grab { width: 44px; height: 5px; background: rgba(255,255,255,.3); border-radius: 3px; }
.x {
  width: var(--x); height: var(--x); border-radius: 50%; background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15); color: #fff;
}
.sheet-title { font: var(--fs-h2); text-shadow: var(--text-shadow); }
.opt {
  border: 1.5px solid var(--sel); border-radius: 16px; background: var(--chip);
  box-shadow: var(--sh-chip); min-height: 52px; height: auto; padding: 12px;
}
.opt.off { border-color: var(--ln); }
.opt .sq, .sq, .sq-ic, .icon-tile, .mr .ic2, .radar-ico {
  width: 40px; height: 40px; border-radius: var(--tile);
  display: flex; align-items: center; justify-content: center; flex: none;
  color: #1a1446;
  background: var(--gold-grad);
  box-shadow: 0 3px 0 var(--gold-shelf), inset 0 -2px 0 rgba(0,0,0,.12);
}
/* Radio marker must beat `.sq` gold tile (P2-1 PRELAUNCH 1.1.2). */
.prow .rd-box,
.sq.rd-box {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; box-shadow: none; color: transparent;
  border: 1.5px solid #555;
}
.prow .rd-box:not(.off),
.sq.rd-box:not(.off) { border-color: var(--accent); background: transparent; box-shadow: none; }
.sq-ic.blue, .icon-tile.blue, .mr .ic2.blue { background: var(--blue-grad); box-shadow: 0 3px 0 var(--blue-shelf), inset 0 -2px 0 rgba(0,0,0,.12); color: #1a1446; }
.sq-ic.green, .icon-tile.green { background: linear-gradient(180deg,#6fe07c,#3ccf4e); box-shadow: 0 3px 0 #1f8a2c, inset 0 -2px 0 rgba(0,0,0,.12); color: #1a1446; }
.sq-ic.orange, .icon-tile.orange { background: linear-gradient(180deg,#ffb05a,#ff8a2a); box-shadow: 0 3px 0 #c45e10, inset 0 -2px 0 rgba(0,0,0,.12); color: #1a1446; }
.sq-ic.pink, .icon-tile.pink { background: linear-gradient(180deg,#ff8ec0,#ff5fa2); box-shadow: 0 3px 0 #c23070, inset 0 -2px 0 rgba(0,0,0,.12); color: #1a1446; }
.sq-ic.violet, .icon-tile.violet, .crown {
  background: linear-gradient(180deg,#a98bff,#7343ff); box-shadow: 0 3px 0 #4a24c2, inset 0 -2px 0 rgba(0,0,0,.12); color: #fff;
}
.ck {
  margin-left: auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-grad); color: var(--gold-t); box-shadow: 0 2px 0 var(--gold-shelf);
}
.ck.off { background: transparent; border: 1.5px solid #6d639f; box-shadow: none; }
.blu { color: var(--lbl); }
.amber { color: var(--amber); }
.mut { color: var(--t2); }
.mk-logo, .cmp-stack .mk-logo {
  background: #fff; border: 2px solid var(--card2);
}
.cmp-stack .mk-logo { width: 28px; height: 28px; margin-left: -10px; }
.inp, input.inp, .searchbox {
  height: 48px; border-radius: 16px; background: var(--input);
  border: 1.5px solid rgba(160,140,255,.25); color: var(--t); font-weight: 500; font-size: 14px;
}
.inp::placeholder, .sinp::placeholder { color: var(--off-t); }
.inp.err { border-color: #ff3d6e; }
.field-err { color: #ff7a98; }
.tog {
  width: 50px; height: 30px; border-radius: 15px; background: var(--off); position: relative;
}
.tog:after {
  content: ""; position: absolute; top: 3px; left: 3px; right: auto;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.tog:not(.off) {
  background: linear-gradient(180deg,#6fe07c,#3ccf4e); box-shadow: inset 0 -2px 0 #1f8a2c;
}
.tog:not(.off):after { left: 23px; right: auto; }
.tog.off { background: var(--off); box-shadow: none; }
.tog.off:after { left: 3px; right: auto; }
.lock { color: var(--accent); }
.mr { border-top: 1px solid var(--ln-soft); }
.mr .ic2 { width: 40px; margin: 0; font-size: 0; }
.lot {
  background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 22px;
  box-shadow: var(--sh-card); padding: 8px 8px 12px;
}
.lot-art { border-radius: var(--img); aspect-ratio: 1; object-fit: cover; }
.lot-art, .lot-art img { border-radius: 16px; }
.bm.on { color: var(--accent); }
.prog { height: 6px; background: var(--input); border-radius: 3px; }
.prog i { height: 100%; background: linear-gradient(90deg,#ffe27a,#ffbd2e); border-radius: 3px; }
.foc {
  background: var(--sheet-grad); border-top: 1.5px solid rgba(255,220,120,.3);
  border-radius: 26px 26px 0 0; padding: 12px 16px 22px;
}
.basis, .cond, .copt.on, .sort-tile.on, .prow.on {
  border-color: var(--sel); box-shadow: var(--sh-sel); background: var(--card-grad);
}
.stats div { padding: 10px; }
.stats b { font-weight: 900; font-size: 20px; }
.triad { display: flex; gap: 6px; margin: 12px 0; grid-template-columns: none; }
.triad > div, .triad > span {
  flex: 1; background: var(--input); border-radius: 16px; padding: 9px 8px;
  text-align: center; border: 1.5px solid var(--ln);
}
.triad small { display: block; font-size: 10.5px; color: var(--t2); font-weight: 700; white-space: nowrap; }
.triad b { display: block; font-weight: 900; font-size: 15px; margin-top: 3px; }
.triad > :first-child { border-color: var(--accent); }
.triad > :first-child b { color: var(--accent); }
.triad .net b, .triad > :nth-child(3) b { color: var(--net); }
.verdict { color: var(--t2); }
.verdict.ok { color: var(--grn-t); }
.plus { color: var(--grn-t); }
.compare {
  border: 1.5px solid var(--ln); border-radius: 22px; background: var(--card-grad);
  box-shadow: var(--sh-card);
}
.seg { background: var(--input); border-radius: var(--seg); padding: 5px; gap: 4px; }
.seg button {
  flex: 1; height: 42px; border-radius: var(--seg-i); font: var(--fs-seg); color: var(--tab-off);
  background: transparent; box-shadow: none;
}
.seg button.on {
  background: var(--gold-grad); color: var(--gold-t); box-shadow: 0 3px 0 var(--gold-shelf);
}
.toast {
  background: var(--sheet-grad); border: 1.5px solid var(--sheet-ln); border-radius: 16px;
  font-weight: 800; font-size: 14px;
}
.splash { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding-bottom: 40px; }
.brand-title {
  font-weight: 900; font-size: 40px; color: var(--accent); text-shadow: 0 4px 0 #05031a;
  margin: 8px 0 4px; letter-spacing: -0.02em;
}
.hero-ph {
  width: 270px; height: 270px; border-radius: 50%; margin: 26px 0;
  display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle, rgba(255,210,74,.35), rgba(255,210,74,0) 68%);
}
.hero-ph .hero-img {
  height: 250px; width: auto; max-width: 100%; object-fit: contain;
  border-radius: 0; background: transparent;
}
.loadtxt { color: var(--t-lead); font-weight: 800; font-size: 16px; margin-top: 10px; }
.track {
  width: 220px; height: 10px; border-radius: 5px; background: var(--input);
  margin-top: 14px; overflow: hidden; border: 0; box-shadow: 0 3px 0 #05031a;
}
.bar {
  display: block; height: 100%; width: 62%; border-radius: 5px;
  background: var(--gold-grad); box-shadow: none;
  animation: load 1.6s ease-in-out infinite;
}
.orbit { border-color: rgba(255,210,74,.45); box-shadow: none; }
.radar-card { background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 22px; box-shadow: var(--sh-card); }
.radar-ico {
  width: 50px; height: 50px; border: 0;
  background: var(--gold-grad); color: #1a1446;
}
.pause {
  width: 34px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(160,140,255,.2);
  background: var(--chip); color: var(--t); box-shadow: var(--sh-chip);
}
.pause.on { border-color: var(--sel); color: var(--accent); background: var(--chip); }
.radar-card.is-paused { opacity: .6; }
.pro-badge {
  background: var(--gold-grad); color: var(--gold-t); border-radius: var(--tag);
  box-shadow: 0 2px 0 var(--gold-shelf); font-weight: 800;
}
.pro-hero {
  background: var(--gold-grad) !important; color: var(--gold-t);
  border-radius: 24px; height: 128px; overflow: hidden; border: 0 !important;
  box-shadow: var(--sh-btn);
}
.pro-hero-txt .hero { color: var(--gold-t); font-weight: 900; font-size: 20px; max-width: 215px; text-shadow: none; }
.pro-hero-txt .mut { color: #5a3a00; }
.pro-radar { display: none !important; }
.pro-hero-mascot {
  height: 130px; width: auto; margin: -6px -4px -20px 0; flex: none; display: block;
}
.pro-col.pro { border-color: var(--sel); box-shadow: var(--sh-sel); }
.pro-col.pro .tick, .tick.y { background: var(--accent); color: var(--gold-t); }
.tick { background: var(--off); color: var(--off-t); width: 16px; height: 16px; border-radius: 50%; }
.period {
  background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 18px;
  box-shadow: 0 4px 0 var(--card-shelf); padding: 22px 8px 10px;
}
.period.on {
  border-color: var(--sel); box-shadow: 0 4px 0 var(--gold-shelf), 0 0 18px rgba(255,210,74,.3);
}
.period .ck { top: 5px; right: 50%; margin-right: -9px; width: 18px; height: 18px; }
.period .price { font-weight: 900; font-size: 19px; color: var(--t); }
.period .save { color: var(--grn-t); background: transparent; font-weight: 800; }
.pro-soon {
  display: inline-block; background: var(--chip); color: var(--accent);
  border-radius: var(--tag); padding: 4px 10px; font-weight: 800; font-size: 12px;
}
.lot-hero-wrap .hero-img {
  width: 68%; aspect-ratio: 1; height: auto; object-fit: cover;
  border-radius: 26px; box-shadow: 0 6px 0 var(--card-shelf), 0 0 0 3px rgba(255,210,74,.5), 0 0 40px rgba(255,200,60,.35);
  background: var(--card2);
}
.crop-bottom .lot-hero-wrap .hero-img, .crop-bottom .hero-img {
  width: 40%; border-radius: 26px;
}
.lot-hero-wrap .art-missing.hero-img {
  width: 67%;
}
.lot-model-title { font: var(--fs-h1); font-size: 26px; text-shadow: var(--text-shadow); }
.tbl { background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 22px; box-shadow: var(--sh-card); }
.tbl .tr { border-top: 1px solid var(--ln-soft); font-size: 13.5px; }
.tbl .tr span { color: var(--t2); }
.rim-btn {
  background: var(--chip); border: 1.5px solid var(--ln); border-radius: 12px; color: var(--t);
  box-shadow: var(--sh-chip);
}
.rim-btn.danger { color: #ff7a98; border-color: rgba(255,61,110,.35); background: var(--chip); }
.modal {
  background: var(--card-grad); border: 1.5px solid var(--ln); border-radius: 24px;
  box-shadow: var(--sh-card); width: calc(100% - 32px); max-width: 358px;
}
.modal-x { background: rgba(255,255,255,.1); }
.ck-box:not(.off) { background: var(--gold-grad); border-color: transparent; color: var(--gold-t); }
.rad.on { border-color: var(--sel); background: var(--gold-grad); color: var(--gold-t); }
.range, input[type=range] { accent-color: var(--accent); }
.dual-range input[type=range]::-webkit-slider-thumb {
  background: #fff; border: 0; width: 22px; height: 22px;
  box-shadow: 0 3px 0 var(--gold-shelf);
}
.dual-range input[type=range]::-webkit-slider-runnable-track {
  height: 8px; background: var(--input); border-radius: 4px;
}
.filter-on, .quiet-row.on { border-color: var(--sel) !important; box-shadow: var(--sh-sel); }
.fbadge { background: var(--gold-grad); color: var(--gold-t); }
.cur-ico, .cur-ico.gram, .cur-ico.gram .i { color: var(--accent); }
.sheet-actions { background: var(--sheet-grad); border-top: 1px solid var(--sheet-ln); }
.art-missing {
  display: block; background: var(--input); border: 1.5px dashed var(--ln);
  border-radius: 16px;
}
.lot-hero-wrap .art-missing.hero-img {
  width: 220px; max-width: 70%; aspect-ratio: 1; margin: 0 auto;
}
.skel .sk-img, .skel .sk-line {
  background: linear-gradient(90deg, var(--input) 25%, var(--chip) 50%, var(--input) 75%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
.profile-foot .foot-link { color: var(--accent); }
.support-modal { box-shadow: 0 0 40px rgba(255,200,60,.25); }
.alink { color: var(--accent); background: var(--chip); border-color: var(--ln); }
.wh b { font: var(--fs-h2); text-shadow: var(--text-shadow); }
.quota { background: var(--input); border-radius: 14px; }
.btn.sm.gold-chip {
  width: auto; height: 36px; padding: 0 16px; font-size: 13.5px; font-weight: 800;
  border-radius: var(--chip-r); background: var(--gold-grad); color: var(--gold-t);
  box-shadow: var(--sh-chip-on); border: 0;
}
.badge.seeker {
  background: var(--chip); color: var(--accent); border: 1.5px solid var(--accent);
}
