@font-face { font-family: "Geist"; src: url(../fonts/geist-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin-wght.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --bg:#08090b; --surface:#0f1216; --surface-2:#14181d; --surface-3:#1a1f25; --line:rgba(226,236,245,.075); --line-2:rgba(226,236,245,.12); --line-3:rgba(226,236,245,.2);
  --text:#eef2f5; --text-2:#a9b3bc; --text-3:#78838d; --accent:#909bab; --accent-hi:#a4adba; --accent-text:#b8bfca; --accent-ink:#1d0d03; --accent-soft:rgba(144, 155, 171,.1); --accent-line:rgba(144, 155, 171,.36);
  --ok:#6cc59a; --neg:#df8080; --gold:#9ba5b3; --font:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"Geist Mono",ui-monospace,Menlo,Consolas,monospace; --ease:cubic-bezier(.22,1,.36,1); color-scheme: dark; }
*,*::before,*::after { box-sizing: border-box; } html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; } img { max-width: 100%; height: auto; display: block; } button, input, select { font: inherit; color: inherit; } button { cursor: pointer; }
h1, h2, h3, p { margin: 0; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1240px); margin-inline: auto; }
.shafts { position: absolute; inset: 0 0 auto 0; height: 700px; overflow: hidden; pointer-events: none; z-index: 0; } .shafts i { position: absolute; top: -200px; width: 220px; height: 1100px; transform: rotate(24deg); background: linear-gradient(180deg, rgba(238,242,245,.07), transparent 70%); filter: blur(24px); } .shafts i:nth-child(1) { left: 14%; } .shafts i:nth-child(2) { left: 48%; width: 300px; opacity: .6; } .shafts i:nth-child(3) { left: 76%; width: 160px; }
.grad { background: linear-gradient(180deg, #77828c 0%, #c6ced5 34%, #f3f6f8 62%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.label { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
/* nav */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding-inline: clamp(16px, 4vw, 40px); pointer-events: none; }
.nav-in { pointer-events: auto; display: flex; align-items: center; gap: 14px; width: min(100%, 1240px); height: 54px; padding: 0 10px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11,13,16,.72); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 18px 40px -18px #000; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: .02em; color: var(--text); } .brand img { width: 26px; height: 26px; } .brand small { font: 500 .6rem var(--mono); letter-spacing: .22em; color: var(--text-3); display: block; margin-top: 2px; } .brand span { line-height: 1; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; } .nav-links a { padding: 8px 12px; border-radius: 999px; font-size: .9rem; color: var(--text-2); } .nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.wallet { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-weight: 560; font-variant-numeric: tabular-nums; } .wallet.on { display: inline-flex; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 560; font-size: .92rem; white-space: nowrap; transition: transform .16s var(--ease), background .2s, border-color .2s; } .btn:active { transform: scale(.97); } .btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -8px var(--accent-line); } .btn-primary:hover:not(:disabled) { background: var(--accent-hi); }
.btn-ghost { background: rgba(255,255,255,.035); border-color: var(--line-2); color: var(--text); } .btn-ghost:hover:not(:disabled) { border-color: var(--line-3); }
.user-menu { position: relative; } .dropdown { position: absolute; right: 0; top: 46px; min-width: 190px; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px #000; display: none; } .dropdown.open { display: block; } .dropdown button { width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; color: var(--text-2); } .dropdown button:hover { background: var(--surface-3); color: var(--text); }
/* hero */
.hero { position: relative; padding: 9rem 0 2.5rem; text-align: center; } .hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; } .hero p { max-width: 40rem; margin: 18px auto 0; font-size: 1.1rem; }
.notice { position: relative; z-index: 2; margin: 0 auto 18px; max-width: 760px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); font-size: .92rem; display: none; } .notice.on { display: block; } .notice.bad { border-color: rgba(223,128,128,.4); background: rgba(223,128,128,.08); color: #f0aaaa; }
/* controls */
.controls { position: sticky; top: 76px; z-index: 20; padding: 12px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { flex: 1; min-width: 200px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 14px; } .search:focus { outline: 2px solid var(--accent); border-color: transparent; }
select { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; gap: 7px; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2); font-size: .88rem; } .chip small { color: var(--text-3); font-variant-numeric: tabular-nums; } .chip:hover { border-color: var(--line-3); color: var(--text); } .chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 18px 0 70px; }
.item { position: relative; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); overflow: hidden; transition: transform .35s var(--ease), border-color .25s; display: grid; } .item:hover { transform: translateY(-5px); border-color: var(--accent-line); }
.thumb { aspect-ratio: 1; position: relative; display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, color-mix(in oklab, var(--c) 34%, #0b0d10), #0b0d10 72%); } .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .glyph { width: 46%; opacity: .9; color: var(--c); filter: drop-shadow(0 0 18px var(--c)); } .thumb .glyph svg { width: 100%; height: auto; }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; justify-content: space-between; pointer-events: none; }
.tag { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 560; background: rgba(8,9,11,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); color: var(--text-2); } .tag.new { color: var(--accent-text); border-color: var(--accent-line); } .tag.own { color: var(--ok); border-color: rgba(108,197,154,.4); } .tag.plus { color: #4dffa0; border-color: rgba(77,255,160,.4); } .tag.hw { color: #8894a5; border-color: rgba(136, 148, 165,.4); }
.info { padding: 14px 16px 16px; display: grid; gap: 4px; } .info b { color: var(--text); font-weight: 560; font-size: .98rem; } .info small { color: var(--text-3); font-size: .78rem; }
.buy { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .price { font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; display: inline-flex; gap: 6px; align-items: center; } .price.free { color: var(--ok); }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--text-3); }
/* sections */
.sec { padding: 70px 0; } .sec h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 540; letter-spacing: -.035em; line-height: 1.08; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; } .card { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); display: grid; gap: 8px; align-content: start; } .card h3 { color: var(--text); font-size: 1.15rem; font-weight: 560; }
.plus-card { border-color: var(--accent-line); background: radial-gradient(520px 220px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.plus-mark { color: #4dffa0; font-weight: 800; text-shadow: 0 0 14px rgba(77,255,160,.6); }
.price-big { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; color: var(--text); line-height: 1; } .price-big small { font-size: .9rem; color: var(--text-3); font-weight: 400; margin-left: 6px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--text-3); font-size: .85rem; } footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; } footer a:hover { color: var(--text); }
/* modals */
.overlay { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 16px; background: rgba(8,9,11,.82); backdrop-filter: blur(10px); } .overlay.open { display: grid; }
.modal { width: min(440px, 100%); border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 30px 80px -30px #000; padding: 26px; display: grid; gap: 14px; position: relative; } .modal h2 { font-size: 1.4rem; color: var(--text); font-weight: 560; letter-spacing: -.02em; }
.close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-2); } .tabs button { flex: 1; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); } .tabs button.active { background: var(--surface-3); color: var(--text); }
label { display: grid; gap: 6px; font-size: .82rem; color: var(--text-3); } input.f { height: 46px; width: 100%; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); padding: 0 14px; } input.f:focus { outline: 2px solid var(--accent); border-color: transparent; }
.msg { min-height: 20px; font-size: .88rem; } .msg.err { color: var(--neg); } .msg.ok { color: var(--ok); }
.preview { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; } .preview .thumb { border-radius: 14px; overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 90; padding: 12px 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--accent-line); color: var(--text); box-shadow: 0 20px 50px -15px #000; opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; } .toast.on { opacity: 1; transform: translateX(-50%); }
@media (max-width: 860px) { .nav-links { display: none; } .cards { grid-template-columns: 1fr; } .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .controls { top: 74px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; } html { scroll-behavior: auto; } }

/* coin packs */
.packs-sec { position: relative; z-index: 1; padding: 0 0 30px; }
.packs-head { text-align: center; margin-bottom: 22px; } .packs-head h2 { margin-top: 12px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 540; letter-spacing: -.035em; line-height: 1.08; } .packs-head p { max-width: 38rem; margin: 12px auto 0; }
.pk-msg { margin: 0 auto 16px; max-width: 760px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: .92rem; text-align: center; }
.pk-msg.ok { border-color: rgba(108,197,154,.5); background: rgba(108,197,154,.08); } .pk-msg.err { border-color: rgba(223,128,128,.5); background: rgba(223,128,128,.08); }
.pk-who { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; min-height: 36px; }
.pk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; font-size: .9rem; }
.pk-chip.plus { border-color: rgba(34,211,238,.5); color: #71fe98; } .pk-chip img { height: 15px; width: auto; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pack { --pc: #96a0b0; position: relative; display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(240px 150px at 50% 0%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 72%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); transition: transform .2s, border-color .2s; }
.pack:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc) 55%, transparent); }
.pack.featured { grid-column: 1 / -1; grid-template-columns: minmax(170px, 260px) 1fr; align-items: center; border-color: color-mix(in srgb, var(--pc) 60%, transparent); }
.pack-ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); padding: 4px 40px; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); color: var(--accent-ink); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pack-art { display: grid; place-items: center; min-height: 140px; position: relative; } .pack-art svg { width: 100%; max-width: 180px; height: auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.45)); }
.pack-art .pack-plus { position: absolute; right: 8%; bottom: 2px; height: 32px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.pack-body { display: grid; gap: 9px; } .pack h3 { font-size: 1.1rem; color: var(--text); letter-spacing: -.01em; }
.pack-coins { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .pack-coins b { font-size: 1.9rem; font-weight: 700; color: var(--text); letter-spacing: -.03em; } .pack-coins span { color: var(--text-3); font-size: .9rem; }
.pack-tags { display: flex; gap: 7px; flex-wrap: wrap; min-height: 24px; }
.pack-tag { padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; border: 1px solid color-mix(in srgb, var(--pc) 55%, transparent); color: color-mix(in srgb, var(--pc) 80%, white); background: color-mix(in srgb, var(--pc) 12%, transparent); } .pack-tag.plus { --pc: #22d3ee; }
.pack-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .pack-price { font-size: 1.45rem; font-weight: 700; color: var(--text); } .pack-price small { font-size: .78rem; color: var(--text-3); font-weight: 500; margin-left: 4px; }
.pack .btn:disabled { opacity: .45; cursor: not-allowed; }
.pk-terms { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin-top: 22px; color: var(--text-2); font-size: .92rem; cursor: pointer; } .pk-terms input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; } .pk-terms a { color: var(--accent-text); text-decoration: underline; }
.pk-fine { margin: 10px auto 0; max-width: 44rem; text-align: center; color: var(--text-3); font-size: .82rem; }
@media (max-width: 640px) { .pack.featured { grid-template-columns: 1fr; } }
/* multi-page */
.nav-links a.on { color: var(--text); background: rgba(255,255,255,.06); }
.page-hero { padding: 9rem 0 1.6rem; text-align: center; position: relative; } .page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; } .page-hero p { max-width: 40rem; margin: 16px auto 0; }
.page-hero .label { display: block; margin-bottom: 14px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
a.card.go { display: grid; gap: 8px; transition: transform .2s, border-color .2s; } a.card.go:hover { transform: translateY(-3px); border-color: var(--accent-line); } a.card.go .more { color: var(--accent-text); font-weight: 600; font-size: .9rem; }
.plus-benefits { margin-top: 26px; }
.pack-plus-big { width: 120px; height: auto; filter: drop-shadow(0 12px 22px rgba(0,0,0,.45)); }
.price-from { font-size: 1.1rem; color: var(--text-2); } .price-from b { color: var(--text); font-size: 2.2rem; letter-spacing: -.03em; }


/* Bear+ page */
.sp-hero { position: relative; padding: 8.5rem 0 1.5rem; text-align: center; } .sp-hero-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; }
.sp-logo { width: 132px; height: 132px; filter: drop-shadow(0 18px 40px rgba(77,255,160,.28)); } .sp-hero h1 { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.sp-lede { max-width: 38rem; font-size: 1.08rem; }
.sp-price { display: flex; align-items: baseline; gap: 8px; } .sp-price b { font-size: 3rem; font-weight: 700; color: var(--text); letter-spacing: -.04em; } .sp-price span { color: var(--text-3); }
.sp-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .sp-badges span { padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.08); color: #71fe98; font-size: .82rem; font-weight: 600; }
.sp-status { padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(108,197,154,.5); background: rgba(108,197,154,.08); color: var(--text); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; } .sp-status button { height: 34px; padding: 0 14px; }
.sp-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 30px; } .sp-feats .card { display: grid; gap: 10px; align-content: start; }
.sp-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); } .sp-ico svg { width: 22px; height: 22px; }
.sp-demo { margin-top: 24px; padding: 28px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); display: grid; gap: 20px; justify-items: center; }
.sp-nick { font-size: 1.8rem; font-weight: 650; color: var(--text); letter-spacing: -.02em; } .sp-nick .plus-mark { color: #4dffa0; -webkit-text-fill-color: currentColor; font-weight: 800; }
.sp-sw { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; } .sp-sw button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; background: var(--c); } .sp-sw button[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.sp-cos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 26px; max-width: 880px; } .sp-cos figure { margin: 0; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; } .sp-cos img { width: 100%; height: auto; } .sp-cos figcaption { padding: 10px 14px 14px; color: var(--text); font-weight: 600; display: grid; } .sp-cos small { color: #71fe98; font-weight: 500; }
.sp-table { margin-top: 26px; max-width: 820px; border-radius: 20px; border: 1px solid var(--line-2); overflow: hidden; background: var(--surface); } .sp-table table { width: 100%; border-collapse: collapse; } .sp-table th, .sp-table td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); } .sp-table thead th { border-top: 0; color: var(--text-3); font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; } .sp-table td:first-child { color: var(--text); } .sp-col { color: var(--text); background: rgba(34,211,238,.05); font-weight: 600; }
@media (max-width: 640px) { .sp-table th, .sp-table td { padding: 12px 10px; font-size: .9rem; } }
.sp-status[hidden] { display: none; }

/* in-page checkout */
#coOverlay { overflow-y: auto; place-items: start center; padding: 24px 16px; } #coOverlay .modal { margin: auto; }
.co-modal { width: min(940px, 100%); grid-template-columns: 1fr 1.15fr; gap: 18px 32px; align-items: start; padding: 32px; } .co-modal h2 { grid-column: 1 / -1; font-size: 1.6rem; }
.co-paytitle { color: var(--text); font-weight: 600; margin-bottom: 12px; }
@media (max-width: 760px) { .co-modal { grid-template-columns: 1fr; padding: 22px; } }
.co-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); margin: 12px 0; }
.co-line b { color: var(--text); display: block; } .co-line span { color: var(--text-3); font-size: .85rem; } .co-line strong { color: var(--text); font-size: 1.1rem; }
.co-art svg { width: 84px; height: auto; display: block; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px; border-top: 1px solid var(--line); color: var(--text-2); } .co-total b { color: var(--text); font-size: 1.4rem; }
.sp-checkout { margin-top: 18px; width: min(100%, 420px); padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); } .sp-checkout[hidden] { display: none; }

/* payment receipt */
#rcOverlay { z-index: 95; } .rc-modal { width: min(460px, 100%); text-align: center; justify-items: center; padding: 34px 30px 28px; gap: 12px; }
.rc-check { width: 92px; height: 92px; } .rc-circle { fill: rgba(76,218,141,.1); stroke: #4cda8d; stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: rcDraw .6s ease-out forwards; transform-origin: center; }
.rc-tick { fill: none; stroke: #4cda8d; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rcDraw .4s .5s ease-out forwards; }
.rc-check { animation: rcPop .5s .85s ease-out; }
@keyframes rcDraw { to { stroke-dashoffset: 0; } } @keyframes rcPop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
.rc-sub { color: var(--text-2); margin: 0; }
.rc-rows { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); text-align: left; margin-top: 6px; } .rc-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line); } .rc-rows > div:first-child { border-top: 0; } .rc-rows span { color: var(--text-3); } .rc-rows b { color: var(--text); text-align: right; }
.rc-id { width: 100%; display: grid; gap: 6px; text-align: left; margin-top: 4px; } .rc-id span { color: var(--text-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; } .rc-id code { padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-3); background: var(--surface-2); color: var(--text); font: 500 .95rem/1.2 var(--mono); word-break: break-all; }
.rc-copy { justify-self: start; background: none; border: 0; color: var(--accent-text); padding: 2px 0; font-weight: 600; }
.rc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .rc-circle, .rc-tick { animation: none; stroke-dashoffset: 0; } .rc-check { animation: none; } }

/* category chips: scroll with arrows, wheel or touch */
.chips-wrap { position: relative; } .chips-wrap .chips { scroll-behavior: smooth; padding-inline: 2px; }
.chips-arrow { position: absolute; top: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-3); background: rgba(15,18,22,.94); color: var(--text); font-size: 1.3rem; line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,.5); } .chips-arrow[hidden] { display: none; } .chips-arrow:hover { border-color: var(--accent-line); }
.chips-arrow.prev { left: -6px; } .chips-arrow.next { right: -6px; }
.tag.coll { color: var(--accent-text); border-color: var(--accent-line); text-transform: uppercase; letter-spacing: .05em; font-size: .66rem; margin-right: 4px; }

/* storefront home (Lunar-style) */
.home-top { padding-top: 84px; }
.crumbs { font: 500 .74rem var(--mono); color: var(--text-3); letter-spacing: .04em; padding: 14px 2px 10px; } .crumbs span { opacity: .5; margin: 0 4px; }
.hero-car { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); aspect-ratio: 16/6.4; min-height: 220px; box-shadow: 0 30px 60px -30px #000; }
.hc-track { display: flex; height: 100%; transition: transform .7s var(--ease); }
.hc-slide { position: relative; flex: 0 0 100%; display: block; height: 100%; } .hc-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,11,.82), transparent 42%); pointer-events: none; }
.hc-cap { position: absolute; left: clamp(16px, 3vw, 34px); bottom: clamp(14px, 2.4vw, 28px); z-index: 2; display: grid; gap: 4px; } .hc-cap b { color: #fff; font-size: clamp(1.1rem, .8rem + 1.4vw, 1.9rem); font-weight: 650; letter-spacing: -.02em; text-shadow: 0 2px 12px #000; } .hc-cap small { color: var(--text-2); font-size: clamp(.8rem, .7rem + .3vw, 1rem); text-shadow: 0 1px 8px #000; }
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-3); background: rgba(11,13,16,.7); color: var(--text); font-size: 1.4rem; line-height: 1; backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; } .hero-car:hover .hc-arrow, .hc-arrow:focus-visible { opacity: 1; } .hc-arrow.prev { left: 12px; } .hc-arrow.next { right: 12px; }
.hc-dots { position: absolute; right: 18px; bottom: 16px; z-index: 3; display: flex; gap: 6px; } .hc-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.28); } .hc-dots button.on { background: var(--accent); }
.home-search { display: flex; align-items: center; gap: 10px; height: 46px; margin: 18px auto 0; max-width: 640px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-3); } .home-search:focus-within { outline: 2px solid var(--accent); border-color: transparent; } .home-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0; color: var(--text); }
.cat-row { display: flex; gap: 10px; overflow-x: auto; padding: 22px 0 8px; justify-content: center; scrollbar-width: none; } .cat-row::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 96px; display: grid; justify-items: center; gap: 8px; font-size: .84rem; font-weight: 560; color: var(--text); transition: transform .25s var(--ease); } .cat:hover { transform: translateY(-4px); }
.cat-img { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); } .cat:hover .cat-img { border-color: var(--accent-line); } .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.rail { margin-top: 34px; } .rail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .rail-head h2 { font-size: 1.15rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-right: 2px; }
.rail-head > a { margin-left: auto; font-size: .84rem; color: var(--text-3); } .rail-head > a:hover { color: var(--accent-text); } .rail-head .live { font-size: .7rem; padding: 2px 8px; border-radius: 6px; background: rgba(108,197,154,.14); color: var(--ok); }
.rail-btns { display: flex; gap: 6px; } .rail-btns button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 1.1rem; line-height: 1; } .rail-btns button:hover { color: var(--text); border-color: var(--line-3); }
.rail-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; } .rail-track::-webkit-scrollbar { display: none; }
.pcard { flex: none; width: 188px; scroll-snap-align: start; display: grid; gap: 3px; align-content: start; } .pcard .thumb { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 8px; transition: transform .3s var(--ease), border-color .2s; } .pcard:hover .thumb { transform: translateY(-4px); border-color: var(--accent-line); }
.pcard .thumb .tag { position: absolute; top: 8px; left: 8px; } .pcard b { color: var(--text); font-size: .94rem; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pcard small { color: var(--text-3); font-size: .78rem; } .pcard .price { color: var(--gold); font-weight: 600; font-size: .9rem; margin-top: 2px; } .pcard .price.free { color: var(--ok); }
.col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } .col-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; display: block; transition: transform .3s var(--ease), border-color .2s; } .col-card:hover { transform: translateY(-4px); border-color: var(--accent-line); } .col-card img { width: 100%; height: 100%; object-fit: cover; }
.col-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(0deg, rgba(8,9,11,.9), transparent); color: #fff; font-weight: 620; display: grid; } .col-card small { color: var(--text-2); font-weight: 400; font-size: .76rem; }
.plus-band { margin-top: 38px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 28px; border-radius: 20px; border: 1px solid var(--accent-line); background: radial-gradient(90% 160% at 0% 50%, rgba(144, 155, 171,.16), transparent 70%), var(--surface); } .plus-band img { width: 84px; height: 84px; object-fit: contain; } .plus-band h3 { color: var(--text); font-size: 1.5rem; font-weight: 600; margin: 6px 0 4px; letter-spacing: -.02em; } .plus-band p { max-width: 38rem; }
.support { margin: 38px 0 70px; display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 22px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); } .support h3 { color: var(--text); font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 860px) { .col-grid { grid-template-columns: repeat(2, 1fr); } .hero-car { aspect-ratio: 16/9; } .cat-row { justify-content: flex-start; } .plus-band { grid-template-columns: 1fr; } .plus-band img { width: 64px; height: 64px; } .support { flex-direction: column; align-items: flex-start; } .hc-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hc-track { transition: none; } }

/* coins + Bear+ pages */
.coins-hero { padding-top: 84px; } .ch-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; padding: 26px 0 8px; }
.ch-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; margin: 12px 0; } .ch-copy p { max-width: 34rem; }
.trust { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; } .trust li { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: .82rem; } .trust li::before { content: "✓ "; color: var(--ok); }
.coins-hero .pk-who { display: grid; justify-content: stretch; gap: 10px; margin: 0; padding: 22px; border-radius: 20px; border: 1px solid var(--accent-line); background: radial-gradient(120% 140% at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); min-height: 0; } .coins-hero .pk-chip { justify-content: center; font-size: 1.15rem; padding: 12px 16px; }
.coins-page .packs-sec { padding-top: 26px; }
.coins-page .pk-grid { grid-template-columns: repeat(3, 1fr); } .coins-page .pack.featured { grid-column: 1 / -1; }
.pack { transition: transform .3s var(--ease), border-color .2s; } .pack:hover .pack-art svg { transform: scale(1.06) rotate(-1.5deg); } .pack-art svg { transition: transform .4s var(--ease); }
.pack-flag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: color-mix(in srgb, var(--pc) 22%, #0b0d10); border: 1px solid color-mix(in srgb, var(--pc) 60%, transparent); color: color-mix(in srgb, var(--pc) 70%, white); } .pack-flag.hot { background: linear-gradient(90deg, var(--accent), var(--accent-hi)); color: var(--accent-ink); border-color: transparent; }
.pack-per { color: var(--text-3); font-size: .78rem; margin-top: -3px; }
.pack .btn { height: 42px; padding: 0 22px; }
.spend { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; } .spend::-webkit-scrollbar { display: none; }
.spend-card { flex: none; width: 188px; display: grid; gap: 3px; } .spend-card .thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 8px; background: radial-gradient(120% 100% at 50% 0%, color-mix(in oklab, var(--c) 34%, #0b0d10), #0b0d10 72%); transition: transform .3s var(--ease), border-color .2s; } .spend-card:hover .thumb { transform: translateY(-4px); border-color: var(--accent-line); } .spend-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.spend-card b { color: var(--text); font-size: .94rem; font-weight: 560; } .spend-card small { color: var(--text-3); font-size: .78rem; } .spend-card .price { color: var(--gold); font-weight: 600; }
.faq-sec details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 8px; } .faq-sec summary { cursor: pointer; padding: 15px 18px; color: var(--text); font-weight: 560; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq-sec summary::-webkit-details-marker { display: none; } .faq-sec summary::after { content: "+"; color: var(--accent-text); font-size: 1.2rem; line-height: 1; } .faq-sec details[open] summary::after { content: "–"; } .faq-sec details p { padding: 0 18px 16px; }
.sp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; text-align: left; padding-top: 8.5rem; } .sp-hero .shafts { grid-column: 1 / -1; } .sp-hero-in { justify-items: start; }
.sp-badges { justify-content: flex-start; } .sp-status { justify-content: flex-start; } .sp-lede { max-width: 32rem; }
.sp-show { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; border-radius: 24px; border: 1px solid var(--accent-line); background: radial-gradient(90% 90% at 50% 0%, rgba(77,255,160,.14), transparent 70%), var(--surface); box-shadow: 0 40px 80px -40px rgba(77,255,160,.25); } .sp-show img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); animation: floaty 5s ease-in-out infinite; } .sp-show img:nth-child(even) { animation-delay: -2.5s; }
@media (max-width: 860px) { .ch-grid, .sp-hero { grid-template-columns: 1fr; } .coins-page .pk-grid { grid-template-columns: 1fr; } .sp-hero { text-align: center; } .sp-hero-in { justify-items: center; } .sp-badges, .sp-status { justify-content: center; } }
@media (min-width: 861px) and (max-width: 1100px) { .coins-page .pk-grid { grid-template-columns: repeat(2, 1fr); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } } @media (prefers-reduced-motion: reduce) { .sp-show img { animation: none; } }

/* cart + codes */
.cart-btn { position:relative; display:inline-grid; place-items:center; width:40px; height:40px; border-radius:12px; border:1px solid var(--line, rgba(255,255,255,.1)); background:transparent; color:inherit; cursor:pointer; margin-right:8px; }
.cart-btn:hover { background:rgba(255,255,255,.06); }
.cart-btn em { position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--accent, #909bab); color:#16100a; font:700 11px/18px inherit; font-style:normal; text-align:center; }
.cart-overlay { position:fixed; inset:0; z-index:90; background:rgba(4,5,8,.6); backdrop-filter:blur(3px); opacity:0; pointer-events:none; transition:opacity .2s; }
.cart-overlay.on { opacity:1; pointer-events:auto; }
.cart-drawer { position:absolute; right:0; top:0; bottom:0; width:min(440px,100%); background:#0d0e13; border-left:1px solid rgba(255,255,255,.08); display:flex; flex-direction:column; transform:translateX(24px); transition:transform .25s; }
.cart-overlay.on .cart-drawer { transform:none; }
.cart-drawer header { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.07); }
.cart-drawer h2 { font-size:1.15rem; margin:0; }
.close-x { background:none; border:0; color:inherit; font-size:1.7rem; line-height:1; cursor:pointer; opacity:.7; }
.cart-body { flex:1; overflow:auto; padding:16px 20px 24px; display:flex; flex-direction:column; gap:14px; }
.cart-list { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.cart-line { display:grid; grid-template-columns:56px 1fr auto 26px; gap:12px; align-items:center; padding:8px 10px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.cart-line.own { opacity:.5; }
.cl-img { width:56px; height:56px; border-radius:10px; background:rgba(255,255,255,.04); overflow:hidden; }
.cl-img img { width:100%; height:100%; object-fit:cover; display:block; }
.cl-info b { display:block; font-size:.92rem; } .cl-info small { color:#8f94a3; }
.cl-price { font-weight:600; white-space:nowrap; }
.cl-x { background:none; border:0; color:#8f94a3; font-size:1.3rem; cursor:pointer; }
.cl-x:hover { color:#fff; }
.cart-empty { display:grid; gap:8px; justify-items:center; text-align:center; padding:36px 0; color:#8f94a3; }
.cart-code { display:grid; gap:6px; }
.cart-code label { font-size:.82rem; color:#9ba0ae; }
.cart-code > div { display:flex; gap:8px; } .cart-code input { flex:1; text-transform:uppercase; }
.cart-sum { display:grid; gap:6px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.cart-sum > div { display:flex; justify-content:space-between; }
.cart-sum .tot { font-size:1.08rem; font-weight:700; border-top:1px solid rgba(255,255,255,.08); padding-top:8px; margin-top:2px; }
.cart-sum .disc b { color:#4ade80; } .cart-sum .bal { color:#8f94a3; font-size:.88rem; }
.cart-actions { display:flex; gap:10px; } .cart-actions .btn-primary { flex:1; height:46px; }
.msg.ok { color:#4ade80; }
.cart-add { height:36px; width:38px; padding:0; display:inline-grid; place-items:center; }
.cart-add.on { border-color:var(--accent, #909bab); color:var(--accent, #909bab); }
@media (max-width:520px) { .cart-line { grid-template-columns:48px 1fr auto 22px; } }

.chip .chip-ico { margin-right:6px; vertical-align:-2px; opacity:.85; }

/* 3D fitting room */
.fit-modal { width:min(880px,calc(100vw - 24px)); max-width:none; display:grid; grid-template-columns:460px 1fr; gap:22px; padding:22px; }
.fit-stage { position:relative; border-radius:16px; overflow:hidden; background:#11121a; min-height:520px; }
.fit-stage canvas { display:block; width:100%; height:auto; max-width:460px; touch-action:none; cursor:grab; }
.fit-hint { position:absolute; left:0; right:0; bottom:10px; text-align:center; font-size:.78rem; color:#8f94a3; margin:0; pointer-events:none; }
.fit-side { display:flex; flex-direction:column; gap:12px; min-width:0; }
.fit-side h2 { margin:0; font-size:1.2rem; }
.fit-lab { font-size:.8rem; color:#9ba0ae; letter-spacing:.04em; text-transform:uppercase; }
.fit-skin { display:flex; gap:8px; } .fit-skin input { flex:1; min-width:0; }
.fit-file { cursor:pointer; text-align:center; }
.fit-worn { display:grid; gap:6px; flex:1; align-content:start; overflow:auto; max-height:260px; }
.fit-chip { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; border-radius:10px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); }
.fit-chip small { display:block; color:#8f94a3; } .fit-chip.own { border-color:rgba(74,222,128,.35); }
.fit-chip button { background:none; border:0; color:#8f94a3; font-size:1.2rem; cursor:pointer; }
.fit-empty { color:#8f94a3; font-size:.88rem; margin:0; }
.fit-actions { display:grid; gap:8px; }
.fit-btn { height:36px; padding:0 10px; font-weight:700; letter-spacing:.04em; }
@media (max-width:860px) { .fit-modal { grid-template-columns:1fr; max-height:92vh; overflow:auto; } .fit-stage { min-height:0; } .fit-stage canvas { margin:0 auto; } }

/* catalogue card (v2) */
.item-art { position: relative; }
.item-art .view3d { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(8,9,12,.62); backdrop-filter: blur(8px); color: #fff; font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; opacity: .92; transition: background .2s, border-color .2s, transform .2s; }
.item-art .view3d:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); transform: translateY(-1px); }
.item .info { padding: 14px 16px 16px; gap: 2px; }
.item .info-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.item .info-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .info-top .price { flex: none; font-size: .95rem; }
.item .buy-row { display: grid; grid-template-columns: 1fr 42px; gap: 8px; margin-top: 12px; }
.item .buy-row .btn { height: 42px; padding: 0; justify-content: center; }
.item .buy-row .cart-add { width: 42px; display: grid; place-items: center; }
.item .own-note { margin-top: 12px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(74,222,128,.28); background: rgba(74,222,128,.07); color: var(--ok); font-size: .84rem; font-weight: 600; }
.item .own-note.plus { border-color: rgba(34,211,238,.3); background: rgba(34,211,238,.07); color: #54ff84; }
.cart-add.on { border-color: var(--accent); color: var(--accent); background: rgba(144, 155, 171,.1); }

/* 3D viewer (v2: one cosmetic) */
.fit-head { display:grid; gap:6px; } .fit-head h2 { margin:0; font-size:1.5rem; letter-spacing:-.02em; } .fit-price { margin-top:2px; font-size:1.1rem; }
.fit-skin-box { display:grid; gap:8px; padding:14px; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); }
.fit-file { font-size:.82rem; color:#8f94a3; cursor:pointer; text-decoration:underline; text-underline-offset:3px; } .fit-file:hover { color:#fff; }
.fit-actions { display:grid; gap:8px; margin-top:auto; } .fit-actions .btn { height:46px; }

.fit-stage { background: radial-gradient(90% 60% at 50% 38%, #1b1e2b, #0b0c11 78%); }
.fit-views { position:absolute; left:50%; bottom:36px; transform:translateX(-50%); display:inline-flex; gap:4px; padding:4px; border-radius:999px; background:rgba(8,9,12,.7); border:1px solid rgba(255,255,255,.1); backdrop-filter:blur(8px); }
.fit-views button { height:30px; padding:0 14px; border-radius:999px; border:0; background:transparent; color:#aab0bf; font:inherit; font-size:.78rem; font-weight:600; cursor:pointer; transition:background .2s,color .2s; }
.fit-views button:hover { color:#fff; } .fit-views button.on { background:var(--accent); color:#16100a; }
/* cart badge + buy confirmation */
.cart-btn em { position:absolute; top:-6px; right:-6px; min-width:19px; height:19px; padding:0 5px; border-radius:10px; background:var(--accent); color:#16100a; font-family:inherit; font-size:11px; font-weight:700; line-height:19px; font-style:normal; text-align:center; box-shadow:0 0 0 2px #0b0c10; }

.buy-modal { width:min(440px,calc(100vw - 24px)); display:grid; gap:16px; padding:26px; }
.buy-hero { display:grid; grid-template-columns:132px 1fr; gap:18px; align-items:center; }
.buy-hero .thumb { border-radius:16px; overflow:hidden; border:1px solid var(--line); }
.buy-id b { display:block; color:var(--text); font-size:1.3rem; letter-spacing:-.02em; margin-bottom:6px; }
.buy-lines { display:grid; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); overflow:hidden; }
.buy-lines > div { display:flex; justify-content:space-between; padding:12px 16px; color:#9ba0ae; font-size:.92rem; } .buy-lines > div + div { border-top:1px solid rgba(255,255,255,.06); }
.buy-lines b { color:var(--text); font-variant-numeric:tabular-nums; } .buy-lines .after { background:rgba(255,255,255,.03); } .buy-lines .after b { color:var(--gold); } .buy-lines .after.short b { color:#f87171; }
.buy-actions { display:grid; gap:8px; } .buy-actions .btn { height:46px; }
.buy-foot { text-align:center; color:var(--text-3); font-size:.78rem; }

/* ---- cart v2 (large, explanatory) ---- */
.cart-drawer { width: min(560px, 100%); }
.cart-drawer > header { align-items: flex-start; } .cart-drawer > header small { color: var(--text-3); font-size: .8rem; }
.cart-body { gap: 18px; padding: 18px 24px 30px; }
.cart-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cart-steps li { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); font-size: .78rem; color: #aab0bf; }
.cart-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #16100a; font-size: .74rem; flex: none; }
.cart-sec { display: grid; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.cart-sec > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .cart-sec h3 { margin: 0; font-size: 1.02rem; }
.cart-tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.cart-tag.coin { color: var(--gold); background: rgba(144, 155, 171,.1); border: 1px solid rgba(144, 155, 171,.28); }
.cart-tag.money { color: #54ff84; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.28); }
.cart-note { margin: 0; color: #8f94a3; font-size: .82rem; line-height: 1.5; } .cart-note b { color: #cfd3de; }
.cart-line { grid-template-columns: 64px 1fr auto 26px; }
.cl-img { width: 64px; height: 64px; display: grid; place-items: center; } .cl-img.coin { background: rgba(144, 155, 171,.08); }
.cl-price s { color: #6f7484; font-weight: 400; margin-right: 4px; }
.cart-line.pack { margin-bottom: -4px; }
.cart-packpay { display: grid; gap: 6px; } .cart-packpay .btn { height: 46px; } .cart-packpay small { color: var(--ok); text-align: center; font-size: .78rem; }
.cart-sum .bal.short b { color: #f87171; }
.cart-pay { height: 50px; display: grid; place-items: center; font-weight: 700; }
.cart-sec.codes { background: rgba(144, 155, 171,.04); border-color: rgba(144, 155, 171,.2); }
.cart-code > div { display: flex; gap: 8px; } .cart-code input { flex: 1; text-transform: uppercase; }
.cart-coupons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .cart-coupons > small { width: 100%; color: #8f94a3; }
.cart-coupon { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 10px; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.28); } .cart-coupon b { color: var(--ok); } .cart-coupon i { font-style: normal; color: #8f94a3; font-size: .76rem; }
.cart-clear { justify-self: center; background: none; border: 0; color: #8f94a3; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: .82rem; } .cart-clear:hover { color: #fff; }
.cart-empty { padding: 40px 10px; } .cart-empty > b { color: var(--text); font-size: 1.1rem; } .cart-empty > div { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.pack-buy .cart-add { height: 42px; width: 42px; padding: 0; display: grid; place-items: center; flex: none; }
/* pack checkout (large) */
.co-modal { width: min(880px, calc(100vw - 24px)); max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; padding: 28px; }
.co-head { grid-column: 1 / -1; display: grid; gap: 6px; } .co-head h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.02em; }
.co-gets { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; } .co-gets li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); font-size: .92rem; color: #aab0bf; } .co-gets b { color: var(--gold); } .co-gets small { color: #6f7484; }
.co-lines { display: grid; margin-top: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); overflow: hidden; } .co-lines > div { display: flex; justify-content: space-between; padding: 11px 14px; color: #9ba0ae; } .co-lines > div + div { border-top: 1px solid rgba(255,255,255,.06); } .co-lines b { color: var(--text); } .co-lines .disc b { color: var(--ok); }
.co-code { display: grid; gap: 6px; margin-top: 14px; } .co-code label { font-size: .82rem; color: #9ba0ae; } .co-code > div { display: flex; gap: 8px; } .co-code input { flex: 1; text-transform: uppercase; }
.co-right .co-total { margin-bottom: 8px; } .msg.ok { color: var(--ok); }
@media (max-width: 820px) { .co-modal { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; } .cart-steps { grid-template-columns: 1fr; } }

/* ---- catalogue v2: collection themes ---- */
:root { --theme-glow: 195,202,217; }
.theme-bg { position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); background-size: cover; background-position: center; filter: saturate(1.2) brightness(.5); transform: translateZ(0); will-change: opacity; }
.theme-bg.on { opacity: .62; }
.theme-veil { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(1100px 620px at 50% -8%, rgba(var(--theme-glow), .2), transparent 70%), linear-gradient(180deg, rgba(8,9,11,.3), var(--bg) 85%); transition: background .6s; }
#fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.cat-hero { padding-top: 8.5rem; text-align: center; } .cat-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; } .cat-hero p { max-width: 38rem; margin: 14px auto 0; }
.col-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 26px 0 18px; }
.col-tile { position: relative; aspect-ratio: 16 / 11; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(var(--g), .28), var(--surface)); text-align: left; color: #fff; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; isolation: isolate; }
.col-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); z-index: -2; }
.col-ico { position: absolute; right: 12px; top: 10px; font-size: 1.7rem; opacity: .9; z-index: -1; }
.col-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,9,0) 25%, rgba(6,7,9,.88)); z-index: -1; }
.col-tile:hover { transform: translateY(-4px); border-color: rgba(var(--g), .7); box-shadow: 0 16px 36px -14px rgba(var(--g), .5); } .col-tile:hover img { transform: scale(1.07); }
.col-tile.on { border-color: rgb(var(--g)); box-shadow: 0 0 0 2px rgba(var(--g), .55), 0 18px 40px -14px rgba(var(--g), .6); }
.col-new { position: absolute; top: 9px; left: 9px; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgb(var(--g)); color: #12080a; }
.col-name { position: absolute; left: 12px; right: 12px; bottom: 10px; display: grid; gap: 1px; } .col-name b { font-size: 1rem; letter-spacing: -.01em; } .col-name small { color: rgba(255,255,255,.7); font-size: .72rem; }
.col-banner { --g: 195,202,217; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 28px; align-items: center; padding: 22px 26px; margin-bottom: 8px; border-radius: 22px; border: 1px solid rgba(var(--g), .35); background: linear-gradient(120deg, rgba(var(--g), .16), rgba(var(--g), .04) 60%, transparent), rgba(10,12,15,.6); backdrop-filter: blur(10px); animation: cbIn .5s var(--ease); }
@keyframes cbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.col-banner[hidden] { display: none; }
.cb-text h2 { font-size: 2rem; letter-spacing: -.03em; color: var(--text); margin: 6px 0 4px; } .cb-text p { max-width: 36rem; }
.cb-stats { display: flex; gap: 22px; justify-content: flex-end; } .cb-stats > div { display: grid; text-align: center; } .cb-stats b { font-size: 1.35rem; color: var(--text); font-variant-numeric: tabular-nums; } .cb-stats small { color: var(--text-3); font-size: .74rem; }
.cb-prog { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; } .cb-bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; } .cb-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, rgba(var(--g), .7), rgb(var(--g))); transition: width .6s var(--ease); }
.cb-add { grid-column: 1 / -1; height: 48px; font-weight: 650; } .cb-done { color: var(--ok); font-weight: 600; }
.controls { top: 74px; }
.tb { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(12,14,18,.78); backdrop-filter: blur(14px); }
.tb-search { flex: 1 1 240px; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-3); } .tb-search .search { flex: 1; height: 42px; border: 0; background: none; padding: 0; outline: 0 !important; min-width: 0; color: var(--text); }
.tb-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tb-field { display: grid; gap: 5px; } .tb-field > span { font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dd { position: relative; } .dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 168px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: .9rem; transition: border-color .2s; } .dd-btn:hover, .dd.open .dd-btn { border-color: var(--accent-line); } .dd.open .dd-btn svg { transform: rotate(180deg); color: var(--accent); }
.dd-menu { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); min-width: 100%; display: none; padding: 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 22px 48px -16px #000; } .dd.open .dd-menu { display: grid; gap: 2px; }
.dd-menu button { padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--text-2); text-align: left; font-size: .9rem; white-space: nowrap; } .dd-menu button:hover { background: rgba(255,255,255,.06); color: var(--text); } .dd-menu button.on { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }
.seg { display: inline-flex; height: 44px; padding: 4px; gap: 2px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); } .seg button { padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-size: .86rem; font-weight: 560; transition: background .2s, color .2s; } .seg button:hover { color: var(--text); } .seg button.on { background: var(--accent); color: var(--accent-ink); } .seg.dens button { padding: 0 12px; }
.chips { padding-top: 12px; } .chip[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: var(--accent-ink); } .chip[aria-pressed="true"] small { color: inherit; opacity: .7; }
.resbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 2px 0; color: var(--text-2); } .resbar > b { color: var(--text); margin-right: 6px; }
.rpill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); font-size: .8rem; } .rpill i { font-style: normal; opacity: .7; } .rpill:hover i { opacity: 1; }
.rclear { background: none; border: 0; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; } .rclear:hover { color: var(--text); }
.grid { grid-template-columns: repeat(auto-fill, minmax(var(--gmin, 220px), 1fr)); } .grid[data-dens="s"] { --gmin: 170px; } .grid[data-dens="m"] { --gmin: 220px; } .grid[data-dens="l"] { --gmin: 290px; }
@media (max-width: 1100px) { .col-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .col-banner { grid-template-columns: 1fr; } .cb-stats { justify-content: flex-start; } }
@media (max-width: 640px) { .col-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tb-field { flex: 1 1 140px; } .dd-btn { min-width: 0; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .theme-bg, .col-banner, .col-tile, .col-tile img { transition: none; animation: none; } }

/* ---- Bear+ v2: persuasive, interactive ---- */
.plus-veil { --theme-glow: 63,224,197; background: radial-gradient(1100px 640px at 70% -6%, rgba(41, 246, 98,.22), transparent 70%), radial-gradient(900px 500px at 5% 20%, rgba(77,255,160,.10), transparent 70%), linear-gradient(180deg, rgba(8,9,11,.2), var(--bg) 88%); }
.sp2 .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); } .sp2 .rv.in { opacity: 1; transform: none; }
.sp2 .sec h2 { margin-top: 12px; } .sp2-sub { margin-top: 12px; max-width: 42rem; }
.sp2-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 8.5rem 0 2.5rem; }
.sp2-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.04; color: var(--text); margin: 14px 0 18px; }
.sp2-grad { background: linear-gradient(95deg, #4dffa0, #29f662 45%, #71fe98); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sp2-lede { max-width: 34rem; font-size: 1.1rem; }
.sp2-price { display: flex; align-items: center; gap: 16px; margin: 24px 0 6px; } .sp2-price b { font-size: 3.6rem; font-weight: 700; color: var(--text); letter-spacing: -.04em; line-height: 1; } .sp2-price sup { font-size: 1.5rem; vertical-align: top; margin-right: 2px; color: var(--text-2); }
.sp2-price span { display: grid; color: var(--text); font-weight: 560; } .sp2-price small { color: var(--text-3); font-weight: 400; font-size: .84rem; }
.sp2-cta { height: 54px; padding: 0 30px; font-size: 1.04rem; background: linear-gradient(135deg, #4dffa0, #29f662); color: #00250a; box-shadow: 0 14px 34px -10px rgba(77,255,160,.55), inset 0 1px 0 rgba(255,255,255,.4); } .sp2-cta:hover:not(:disabled) { background: linear-gradient(135deg, #7affb9, #4dfc7e); transform: translateY(-2px); }
.sp2-cta2 { height: 54px; }
.sp2-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 18px 0 0; } .sp2-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--text-2); } .sp2-trust svg { color: #4dffa0; }
.sp2-stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; perspective: 900px; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease); }
.sp2-sun { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(77,255,160,.38), rgba(41, 246, 98,.12) 55%, transparent 72%); filter: blur(6px); animation: spPulse 4.5s ease-in-out infinite; }
.sp2-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(113, 254, 152,.32); animation: spSpin 38s linear infinite; } .sp2-ring.r1 { inset: 6%; } .sp2-ring.r2 { inset: 22%; animation-duration: 26s; animation-direction: reverse; border-color: rgba(77,255,160,.28); }
.sp2-logo { position: absolute; left: 50%; top: 50%; width: 36%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 40px rgba(77,255,160,.5)); animation: floaty 5s ease-in-out infinite; }
.sp2-card { position: absolute; margin: 0; width: 34%; aspect-ratio: 9 / 10; border-radius: 22px; overflow: hidden; border: 1px solid rgba(113, 254, 152,.3); background: linear-gradient(160deg, rgba(41, 246, 98,.16), rgba(12,15,18,.9)); box-shadow: 0 22px 44px -16px rgba(0,0,0,.8), 0 0 40px -10px rgba(77,255,160,.35); transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .3s var(--ease); animation: spBob 6s ease-in-out infinite; }
.sp2-card img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.sp2-card.c1 { left: 2%; top: 8%; animation-delay: -1s; } .sp2-card.c2 { right: 2%; top: 14%; animation-delay: -2.5s; } .sp2-card.c3 { left: 8%; bottom: 6%; animation-delay: -4s; } .sp2-card.c4 { right: 6%; bottom: 8%; animation-delay: -5.2s; }
@keyframes spPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.1); opacity: 1; } } @keyframes spSpin { to { transform: rotate(360deg); } } @keyframes spBob { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }
.sp2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 40px; }
.sp2-stat { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 22px 12px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(41, 246, 98,.07), rgba(255,255,255,.015)); } .sp2-stat b { font-size: 2.8rem; font-weight: 700; letter-spacing: -.04em; color: #71fe98; font-variant-numeric: tabular-nums; line-height: 1; } .sp2-stat span { color: var(--text-2); font-size: .9rem; }
.sp2-demo { display: grid; grid-template-columns: 340px 1fr; gap: 22px; margin-top: 26px; padding: 22px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.sp2-controls { display: grid; gap: 18px; align-content: start; } .sp2-field { display: grid; gap: 8px; } .sp2-field > span { font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sp2-field .f { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 14px; color: var(--text); font-size: 1rem; } .sp2-field .f:focus { outline: 2px solid #4dffa0; border-color: transparent; }
.sp-pick { position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px dashed var(--line-3); display: grid; place-items: center; background: conic-gradient(#ff4d4d, #a1aab8, #4dffa0, #4cc4ea, #b58cff, #ff4d4d); } .sp-pick input { position: absolute; inset: -6px; width: 48px; height: 48px; opacity: 0; cursor: pointer; }
.sp2-switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; width: fit-content; } .sp2-switch input { position: absolute; opacity: 0; } .sp2-switch b { color: var(--text); font-weight: 560; }
.sp2-track { width: 52px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-2); padding: 3px; transition: background .25s; } .sp2-track i { display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); } .sp2-switch input:checked + .sp2-track { background: #29f662; border-color: transparent; } .sp2-switch input:checked + .sp2-track i { transform: translateX(22px); background: #00250a; } .sp2-switch input:focus-visible + .sp2-track { outline: 2px solid #4dffa0; outline-offset: 3px; }
.sp2-mc { --pc: #4dffa0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-family: "Geist Mono", ui-monospace, Menlo, Consolas, monospace; }
.sp2-mc > div { position: relative; padding: 26px 16px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.4)), repeating-linear-gradient(45deg, #1d2a1a 0 12px, #18231a 12px 24px); border: 1px solid rgba(255,255,255,.08); color: #fff; font-size: .88rem; overflow: hidden; } .sp2-mc small { position: absolute; top: 8px; left: 12px; font: 500 .62rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.mc-chat { grid-column: 1 / -1; } .mc-chat p { margin: 4px 0; } .mc-t { color: #8a8f99; } .mc-n { font-weight: 700; } .mc-n.gray { color: #c9ccd2; font-weight: 500; } .mc-m { color: #e8e8e8; }
.mc-plus { color: var(--pc); font-weight: 800; text-shadow: 0 0 12px var(--pc); transition: color .2s, opacity .2s; } .sp2-mc.off .mc-plus { display: none; } [data-nick] { color: #fff; }
.mc-tab > div { padding: 5px 8px; margin-top: 4px; background: rgba(255,255,255,.07); border-radius: 4px; text-align: center; }
.mc-head { display: grid; justify-items: center; align-content: end; min-height: 170px; } .mc-tag { padding: 3px 10px; border-radius: 3px; background: rgba(0,0,0,.55); font-weight: 600; margin-bottom: 10px; }
.mc-steve { width: 44px; height: 92px; background: linear-gradient(180deg, #8a5a3a 0 22%, #13ba42 22% 62%, #3b3f9e 62% 100%); border-radius: 3px; box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.sp2-calc { margin-top: 26px; padding: 26px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(41, 246, 98,.06), rgba(255,255,255,.01)); display: grid; gap: 22px; }
.calc-in label { display: block; color: var(--text-2); margin-bottom: 12px; } .calc-in b { color: #71fe98; font-size: 1.2rem; }
.sp2-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); outline: none; } .sp2-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #4dffa0, #29f662); border: 3px solid #08090b; box-shadow: 0 0 0 2px #4dffa0, 0 6px 16px rgba(77,255,160,.5); cursor: grab; } .sp2-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #4dffa0; border: 3px solid #08090b; }
.calc-bars { display: grid; gap: 12px; } .cbar { display: grid; grid-template-columns: 70px 1fr 90px; align-items: center; gap: 14px; color: var(--text-2); } .cbar b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; } .cbar-track { height: 16px; border-radius: 10px; background: rgba(255,255,255,.07); overflow: hidden; } .cbar-track i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #5d6872, #8e99a3); transition: width .5s var(--ease); } .cbar.plus .cbar-track i { background: linear-gradient(90deg, #29f662, #4dffa0); box-shadow: 0 0 18px rgba(77,255,160,.5); } .cbar.plus { color: #71fe98; }
.calc-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; } .calc-out > div { padding: 16px 18px; border-radius: 16px; background: rgba(77,255,160,.07); border: 1px solid rgba(77,255,160,.25); display: grid; gap: 2px; } .calc-out small { color: var(--text-3); } .calc-out strong { font-size: 2rem; color: #4dffa0; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .calc-out em { font-style: normal; color: var(--text-2); font-size: .82rem; }
.sp2-excl { margin-top: 26px; display: grid; gap: 18px; } .excl-tabs { display: flex; flex-wrap: wrap; gap: 8px; } .excl-tabs button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2); transition: background .2s, color .2s, border-color .2s; } .excl-tabs button:hover { color: var(--text); } .excl-tabs button.on { background: #4dffa0; color: #00250a; border-color: transparent; font-weight: 600; }
.excl-view { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: center; padding: 22px; border-radius: 24px; border: 1px solid rgba(77,255,160,.25); background: radial-gradient(500px 300px at 0% 50%, rgba(77,255,160,.12), transparent 70%), rgba(255,255,255,.02); }
.excl-art { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(320px 260px at 50% 55%, rgba(77,255,160,.2), transparent 70%), #0b0d10; } .excl-art img { width: 100%; height: auto; transition: opacity .18s, transform .35s var(--ease); } .excl-art img.swap { opacity: 0; transform: scale(.96); }
.excl-info { display: grid; gap: 12px; justify-items: start; } .excl-info h3 { font-size: 2rem; letter-spacing: -.03em; color: var(--text); } .excl-info p { max-width: 30rem; font-size: 1.02rem; }
.sp2-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .sp2-steps li { position: relative; padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); } .sp2-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #4dffa0, #29f662); color: #00250a; font-size: 1.1rem; margin-bottom: 14px; } .sp2-steps h3 { color: var(--text); margin-bottom: 6px; }
.sp2-table td svg { vertical-align: -3px; } .sp2-table .yes { color: #71fe98; } .sp2-table .no { color: var(--text-3); }
.sp2-final { margin-bottom: 70px; } .final-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; padding: 34px; border-radius: 28px; border: 1px solid rgba(77,255,160,.35); background: radial-gradient(700px 260px at 50% 0%, rgba(77,255,160,.2), transparent 70%), linear-gradient(180deg, rgba(41, 246, 98,.08), rgba(255,255,255,.01)); } .final-in h2 { font-size: 2rem; color: var(--text); letter-spacing: -.03em; } .final-in p { max-width: 28rem; }
.sp2-bar { position: fixed; left: 50%; bottom: 18px; z-index: 45; transform: translate(-50%, 140%); width: min(640px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px 10px 20px; border-radius: 18px; border: 1px solid rgba(77,255,160,.4); background: rgba(10,14,15,.9); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -14px #000; transition: transform .45s var(--ease); } .sp2-bar.on { transform: translate(-50%, 0); } .sp2-bar > div { display: grid; line-height: 1.25; } .sp2-bar b { color: var(--text); font-size: 1.05rem; } .sp2-bar span { color: var(--text-3); font-size: .8rem; } .sp2-bar .btn { background: linear-gradient(135deg, #4dffa0, #29f662); color: #00250a; height: 44px; }
@media (max-width: 960px) { .sp2-hero { grid-template-columns: 1fr; padding-top: 7rem; } .sp2-stage { max-width: 420px; } .sp2-demo, .excl-view { grid-template-columns: 1fr; } .sp2-stats { grid-template-columns: repeat(2, 1fr); } .sp2-steps { grid-template-columns: 1fr; } .calc-out { grid-template-columns: 1fr; } .cbar { grid-template-columns: 56px 1fr 70px; } }
@media (prefers-reduced-motion: reduce) { .sp2 .rv { opacity: 1; transform: none; transition: none; } .sp2-sun, .sp2-ring, .sp2-logo, .sp2-card { animation: none; } }

.sp2 [id], .sp2 section { scroll-margin-top: 96px; }

/* ---- smooth page-to-page navigation (cross-document view transitions + soft entrance as fallback) ---- */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: .2s cubic-bezier(.4, 0, 1, 1) both vtOut; }
::view-transition-new(root) { animation: .38s cubic-bezier(.22, 1, .36, 1) .04s both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px) scale(.994); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px) scale(.996); } }
main { animation: pageIn .5s cubic-bezier(.22, 1, .36, 1) both; } @keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.nav-links a { transition: background .25s, color .25s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root), main { animation: none; } }

/* ---- Bear+ page fixes ---- */
.sp2-copy .cta-row { justify-content: flex-start; margin-top: 22px; }
body.sp-active .sp2-copy .pk-terms { display: none; }
body.sp-active .sp2-cta { background: rgba(77,255,160,.12); color: #71fe98; border: 1px solid rgba(77,255,160,.45); box-shadow: none; opacity: 1; cursor: default; }
body.sp-active .sp2-copy .sp-status { background: linear-gradient(135deg, rgba(77,255,160,.14), rgba(41, 246, 98,.06)); border-color: rgba(77,255,160,.45); }
.sp2-copy .sp-status { margin-top: 16px; max-width: 520px; justify-content: space-between; }
.sp2-logoprev { --pc: #29f662; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: radial-gradient(220px 120px at 20% 50%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%), rgba(255,255,255,.02); }
.sp2-logoprev [data-plus-big] { --emblem-color: var(--pc); width: 76px; height: 78px; flex: none; filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--pc) 55%, transparent)); transition: filter .3s; } .sp2-logoprev svg { width: 100%; height: 100%; display: block; }
.sp2-logoprev b { color: var(--text); display: block; } .sp2-logoprev small { color: var(--text-3); font-size: .78rem; line-height: 1.4; display: block; margin-top: 2px; }
.sp2-mc { --pc: #29f662; font-family: "Geist Mono", ui-monospace, Menlo, Consolas, monospace; gap: 12px; }
.sp2-mc > div { background: linear-gradient(180deg, rgba(8,12,10,.55), rgba(8,12,10,.78)), repeating-conic-gradient(#2c4a22 0 25%, #274420 0 50%) 0 0 / 28px 28px; image-rendering: pixelated; }
.mc-chat { background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.34)), repeating-conic-gradient(#3b5a2c 0 25%, #355428 0 50%) 0 0 / 28px 28px !important; }
.mc-chat p { margin: 5px 0; padding: 3px 8px; background: rgba(0,0,0,.52); width: fit-content; max-width: 100%; text-shadow: 1px 1px 0 rgba(0,0,0,.6); }
.mc-plus { display: inline-block; width: 1.28em; height: 1.28em; vertical-align: -.32em; margin-right: .32em; --emblem-color: var(--pc); transition: filter .2s; } .mc-plus svg { width: 100%; height: 100%; display: block; } .sp2-mc.off .mc-plus { display: none; }
.mc-tab > div { display: flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 5px 10px; margin-top: 4px; background: rgba(0,0,0,.55); border-radius: 0; text-align: left; } .mc-tab > div.me { background: rgba(255,255,255,.16); } .mc-av { width: 18px; height: 18px; image-rendering: pixelated; border-radius: 2px; flex: none; }
.mc-head { min-height: 250px; } .mc-tag { display: inline-flex; align-items: center; padding: 3px 10px; background: rgba(0,0,0,.6); font-weight: 600; margin-bottom: 12px; text-shadow: 1px 1px 0 rgba(0,0,0,.6); } .mc-tag .mc-plus { margin-right: .4em; }
.mc-body { width: auto; height: 170px; image-rendering: pixelated; filter: drop-shadow(0 10px 6px rgba(0,0,0,.45)); } .mc-steve { display: none; }
.sp-sw button[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }

/* ---- Bear+ demo: a real-looking Minecraft screen ---- */
.sp2-right { display: grid; gap: 12px; align-content: start; min-width: 0; }
.mcs { --pc: #29f662; --px: calc(100cqw / 427); container-type: inline-size; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #6fb4f5; font-family: "Geist Mono", ui-monospace, Menlo, Consolas, monospace; box-shadow: 0 30px 60px -28px #000; }
.mcs canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mcs .mc-plus { display: inline-block; width: calc(var(--px) * 9); height: calc(var(--px) * 9); vertical-align: calc(var(--px) * -1.8); margin-right: calc(var(--px) * 1.5); --emblem-color: var(--pc); filter: drop-shadow(calc(var(--px) * .7) calc(var(--px) * .7) 0 rgba(0,0,0,.55)); } .mcs .mc-plus svg { width: 100%; height: 100%; display: block; } .mcs.off .mc-plus { display: none; }
.mcs [data-nick], .mcs .tab-n, .mcs p { color: #fff; text-shadow: calc(var(--px) * .9) calc(var(--px) * .9) 0 #3f3f3f; }
.mc-tab2 { position: absolute; top: calc(var(--px) * 6); left: 50%; transform: translateX(-50%); width: calc(var(--px) * 190); background: rgba(0,0,0,.45); padding: calc(var(--px) * 2); display: grid; gap: calc(var(--px) * 1); font-size: calc(var(--px) * 7.5); }
.tab-h, .tab-f { text-align: center; color: #fff; padding: calc(var(--px) * 1.5) 0; text-shadow: calc(var(--px) * .9) calc(var(--px) * .9) 0 #3f3f3f; } .tab-f { color: #cfcfcf; font-size: .9em; }
.tab-r { display: flex; align-items: center; gap: calc(var(--px) * 4); height: calc(var(--px) * 10); padding: 0 calc(var(--px) * 3); background: rgba(255,255,255,.14); } .tab-r.me { background: rgba(255,255,255,.28); } .tab-r img { width: calc(var(--px) * 8); height: calc(var(--px) * 8); image-rendering: pixelated; flex: none; } .tab-n { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.ping { display: inline-flex; align-items: flex-end; gap: calc(var(--px) * .6); height: calc(var(--px) * 7); } .ping u { width: calc(var(--px) * 1.4); background: #55ff55; box-shadow: calc(var(--px) * .5) calc(var(--px) * .5) 0 rgba(0,0,0,.5); } .ping u:nth-child(1) { height: 25%; } .ping u:nth-child(2) { height: 45%; } .ping u:nth-child(3) { height: 65%; } .ping u:nth-child(4) { height: 85%; } .ping u:nth-child(5) { height: 100%; }
.mc-f5 { position: absolute; right: calc(var(--px) * 6); top: calc(var(--px) * 6); padding: calc(var(--px) * 2) calc(var(--px) * 5); background: rgba(0,0,0,.45); color: #cfcfcf; font-size: calc(var(--px) * 6); }
.mc-player { position: absolute; left: 50%; bottom: calc(var(--px) * 46); transform: translateX(-50%); display: grid; justify-items: center; }
.mc-tag { display: inline-flex; align-items: center; padding: calc(var(--px) * 1.5) calc(var(--px) * 4); background: rgba(0,0,0,.45); font-size: calc(var(--px) * 8); margin-bottom: calc(var(--px) * 3); white-space: nowrap; }
.mc-body { width: auto; height: calc(var(--px) * 108); image-rendering: pixelated; filter: drop-shadow(0 calc(var(--px) * 3) calc(var(--px) * 1.5) rgba(0,0,0,.4)); }
.mc-chat2 { position: absolute; left: calc(var(--px) * 4); bottom: calc(var(--px) * 44); width: calc(var(--px) * 232); display: grid; gap: 0; font-size: calc(var(--px) * 7); }
.mc-chat2 p { margin: 0; padding: calc(var(--px) * 1) calc(var(--px) * 3); background: rgba(0,0,0,.5); line-height: calc(var(--px) * 9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mc-chat2 p.sys { color: #9ea8b6; text-shadow: calc(var(--px) * .9) calc(var(--px) * .9) 0 #3f3f15; } .mc-chat2 p:last-child { animation: mcIn .25s ease-out; } @keyframes mcIn { from { opacity: 0; transform: translateY(6px); } }
.mc-hud { position: absolute; left: 50%; bottom: calc(var(--px) * 4); transform: translateX(-50%); width: calc(var(--px) * 182); display: grid; gap: calc(var(--px) * 2); }
.mc-stats { display: flex; justify-content: space-between; } .mc-hearts, .mc-food { display: inline-flex; gap: calc(var(--px) * .3); } .mc-food { flex-direction: row-reverse; } .mc-hearts i, .mc-food i { width: calc(var(--px) * 8.6); height: calc(var(--px) * 8); display: block; } .mc-hearts svg, .mc-food svg { width: 100%; height: 100%; display: block; }
.mc-xp { height: calc(var(--px) * 5); background: #2b2b2b; border: calc(var(--px) * .8) solid #000; } .mc-xp i { display: block; height: 100%; width: 38%; background: #80ff20; }
.mc-hotbar { display: grid; grid-template-columns: repeat(9, 1fr); background: #8b8b8b; border: calc(var(--px) * 1) solid #373737; padding: calc(var(--px) * 1); gap: calc(var(--px) * 1); } .mc-hotbar span { aspect-ratio: 1; background: #8b8b8b; border: calc(var(--px) * 1) solid #373737; border-top-color: #373737; border-left-color: #373737; border-right-color: #fff; border-bottom-color: #fff; display: grid; place-items: center; } .mc-hotbar span.sel { outline: calc(var(--px) * 1.4) solid #fff; outline-offset: calc(var(--px) * -1); } .mc-hotbar b { width: 62%; height: 62%; display: block; box-shadow: inset 0 0 0 calc(var(--px) * .6) rgba(0,0,0,.35); }
.mc-say { display: flex; gap: 8px; } .mc-say input { flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); padding: 0 14px; color: var(--text); } .mc-say input:focus { outline: 2px solid var(--accent); border-color: transparent; } .mc-say .btn { height: 44px; }
.sp2-demo { grid-template-columns: 330px minmax(0, 1fr); }
@media (max-width: 960px) { .sp2-demo { grid-template-columns: 1fr; } }

.mc-player { bottom: calc(var(--px) * 31); } .mc-body { height: calc(var(--px) * 92); }

/* dropdown menus: above the chips row, fully opaque */
.tb { position: relative; z-index: 30; }
.chips-wrap { position: relative; z-index: 1; }
.dd.open { z-index: 60; }
.dd-menu { z-index: 70; background: #14181d; opacity: 1; box-shadow: 0 24px 48px -12px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); }

/* accessory groups */
.chip-sep { flex: none; width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; align-self: center; }
.chip.sub { height: 30px; padding: 0 11px; font-size: .82rem; }

/* Bear: la marca es plata; las acciones principales (comprar, canjear, continuar) van en verde */
.btn-primary { background: linear-gradient(120deg, #5be28f, #2fcf74 50%, #1fa85c); color: #04200f; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -8px rgba(47, 207, 116, .55); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 30px -8px rgba(47, 207, 116, .7); }
