/* ================= Public site ================= */
:root { --hero-size: 420px; }

/* ---------- nav: transparent glass, categories centred ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; }
.nav {
  max-width: 1120px; margin: 0 auto; min-height: 58px; padding: 6px 8px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  background: color-mix(in srgb, var(--bg) 28%, transparent) !important;
  backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .35);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 58%, transparent) !important; box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .45); }
.nav-cats { min-width: 0; display: flex; justify-content: center; }
.nav-seg.seg { background: transparent; border-color: transparent; padding: 2px; }
.nav-seg.seg button { height: 38px; padding: 0 16px; font-size: 12.5px; letter-spacing: .06em; color: var(--text-2); }
.nav-seg.seg button:hover { color: var(--text); }
.nav-seg.seg button.on { color: #fff; }
.nav-seg .pill { top: 2px; bottom: 2px; background: var(--brand-grad) !important; box-shadow: var(--shadow-brand) !important; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand-grad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  animation: pop .5s var(--spring);
}
@keyframes pop { from { transform: scale(0); } }
.account-btn { padding: 0 4px; border-radius: 999px; }
.sec-label { font-size: .5em; font-weight: 700; letter-spacing: .08em; vertical-align: middle; color: var(--brand-2); margin-left: 6px; }
:root[data-theme="light"] .sec-label { color: var(--brand); }
@media (max-width: 900px) {
  .nav { grid-template-columns: minmax(0, 1fr); border-radius: 26px; padding: 6px; gap: 4px; }
  .nav-cats { grid-row: 1; }
  .nav-actions { grid-row: 2; justify-content: center !important; }
  .nav-side { display: none; }
  .nav-cats { justify-content: safe center; overflow: hidden; }
  .nav-cats.overflow { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-cats .seg { max-width: 100%; }
  .nav-seg.seg button { padding: 0 12px; font-size: 11.5px; }
  .nav-actions { gap: 0; }
  .nav-actions .btn.icon { width: 36px; }
}
@media (max-width: 480px) { .nav-actions a[aria-label="Video Review"] { display: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 56px 20px 40px; max-width: 760px; margin: 0 auto; }
.hero-logo { margin: 0 auto 18px; max-width: min(var(--hero-size), 86vw); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 22px 50px color-mix(in srgb, var(--brand) 55%, transparent)); animation: heroIn 1.1s var(--spring) both, bob 7s ease-in-out 1.1s infinite; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px) scale(.92); filter: blur(8px); } }
@keyframes bob { 50% { transform: translateY(-7px); } }
.hero-handle { font-weight: 800; font-size: 17px; }
.hero-tagline { font-size: clamp(26px, 5vw, 44px); font-weight: 800; letter-spacing: -.035em; margin-top: 6px; }
.hero-bio { margin: 10px auto 0; max-width: 520px; color: var(--muted); font-size: 16px; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.hero > * { animation: rise .9s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .1s; } .hero > :nth-child(3) { animation-delay: .16s; } .hero > :nth-child(4) { animation-delay: .22s; }
.hero > :nth-child(5) { animation-delay: .28s; } .hero > :nth-child(6) { animation-delay: .34s; } .hero > :nth-child(7) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.social {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); transition: transform .35s var(--spring), background .25s, color .25s, box-shadow .25s;
}
.social .i { width: 20px; height: 20px; }
.social:hover { transform: translateY(-4px) scale(1.06); background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.socials.small .social { width: 38px; height: 38px; border-radius: 12px; }

/* ---------- sections ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 56px 20px 10px; scroll-margin-top: 70px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.section-sub { margin-top: 6px; }
.section-head > div { min-width: 0; max-width: 100%; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 6px; }
:root[data-theme="light"] .eyebrow { color: var(--brand); }

/* ---------- gallery ---------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.tile {
  position: relative; break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--surface); border: 1px solid var(--border); transform: translateZ(0);
}
.tile img, .tile video { width: 100%; height: auto; transition: transform .8s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile-cap { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.tile:hover .tile-cap { opacity: 1; transform: none; }
.gallery .empty { column-span: all; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 30px; background: rgba(5, 3, 9, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: fadeIn .3s; }
.lightbox.closing { animation: fadeOut .25s forwards; }
.lb-body { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 0 56px; }
.lb-stage { flex: 0 1 auto; min-width: 0; display: grid; place-items: center; }
.lightbox .lb-stage img, .lightbox .lb-stage video { display: block; max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.lb-body.has-song .lb-stage img, .lb-body.has-song .lb-stage video { max-width: min(100%, 78vh); }
.lb-song { flex: none; }
.lb-song:empty { display: none; }
.song-panel.inline { position: relative; left: auto; top: auto; width: 340px; transform: translateX(-16px) scale(.96); transform-origin: left center; }
.song-panel.inline.in { transform: none; }
.song-panel.inline .spn-arrow { left: -9px; top: calc(50% - 8px); border-right: 0; border-top: 0; }
@media (max-width: 860px) {
  .lb-body { flex-direction: column; gap: 18px; padding: 50px 0 10px; overflow: auto; justify-content: flex-start; }
  .lb-body.has-song .lb-stage img, .lb-body.has-song .lb-stage video { max-height: 52vh; }
  .lightbox .lb-nav { top: auto; bottom: 18px; }
  .lb-body { padding-bottom: 76px; }
  .song-panel.inline { width: min(340px, calc(100vw - 40px)); transform: translateY(-12px) scale(.96); transform-origin: center top; }
  .song-panel.inline .spn-arrow { left: calc(50% - 8px); top: -9px; border-right: 0; border-bottom: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
}
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; }
.lightbox .lb-cap p { color: rgba(255, 255, 255, .65); font-size: 14px; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); border-color: transparent; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-nav.prev { left: 16px; } .lightbox .lb-nav.next { right: 16px; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: calc(var(--radius) + 4px); overflow: hidden; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); transition: transform .5s var(--spring), box-shadow .4s, border-color .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-2); }
.product:active { transform: scale(.985); }
.p-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .p-media img { transform: scale(1.06); }
.p-media .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%), var(--bg-2); }
.p-media .ph .i { width: 42px; height: 42px; }
.p-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-badges .chip { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(10, 6, 16, .55); color: #fff; border-color: rgba(255, 255, 255, .15); }
.p-badges .chip.brand { background: var(--brand-grad); }
.p-body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.p-title { font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.p-sub { color: var(--muted); font-size: 14px; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 18px; }
.price s { color: var(--muted); font-weight: 500; font-size: 14px; }
.soon-veil { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: #fff; text-align: center; background: linear-gradient(180deg, rgba(20, 10, 30, .15), rgba(20, 10, 30, .75)); backdrop-filter: blur(3px); }
.soon-veil strong { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.countdown { display: flex; gap: 6px; }
.countdown div { min-width: 48px; padding: 6px 6px 4px; border-radius: 10px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.countdown small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.product.soon .p-media img { filter: saturate(.7); }

/* product sheet */
.pv-desc { color: var(--text-2); white-space: pre-line; line-height: 1.65; }
.features { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 9px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features li .i { color: var(--good); margin-top: 2px; }
.secure-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--hover); font-size: 13px; color: var(--text-2); margin-top: 14px; }
.secure-note .i { color: var(--brand-2); margin-top: 1px; }

/* cart */
.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); animation: rise .4s var(--ease); }
.cart-item img, .cart-item .thumb { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--bg-2); flex: none; display: grid; place-items: center; color: var(--muted); }
.cart-item .ci-t { flex: 1; min-width: 0; }
.cart-item .ci-t strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.totals { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; }
.totals .total { font-size: 19px; font-weight: 800; padding-top: 10px; border-top: 1px solid var(--border); }
.totals .disc { color: var(--good); }
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); transition: background .4s; }
.steps span.on { background: var(--brand-grad); }

.pay-options { display: grid; gap: 10px; }
.pay-opt {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); cursor: pointer; text-align: left;
  border: 1.5px solid var(--border); background: var(--surface); transition: border-color .25s, background .25s, transform .3s var(--spring);
}
.pay-opt:active { transform: scale(.98); }
.pay-opt .po-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.pay-opt .po-ic .i { width: 22px; height: 22px; }
.pay-opt.paypal .po-ic { background: #ffc439; color: #003087; }
.pay-opt .po-t { flex: 1; }
.pay-opt .po-t strong { display: block; }
.pay-opt .po-t span { font-size: 13px; color: var(--muted); }
.pay-opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-2); flex: none; display: grid; place-items: center; transition: .3s var(--spring); }
.pay-opt.on { border-color: var(--brand); background: var(--hover); }
.pay-opt.on .radio { border-color: transparent; background: var(--brand-grad); }
.pay-opt.on .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pop .35s var(--spring); }
.paypal-slot { margin-top: 14px; min-height: 50px; }
.instructions { white-space: pre-line; padding: 16px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-2); background: var(--surface); font-size: 14px; line-height: 1.7; }

/* success */
.success { text-align: center; padding: 10px 0 4px; }
.check-anim { width: 88px; height: 88px; margin: 0 auto 16px; }
.check-anim circle { stroke: var(--good); stroke-width: 3; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .7s var(--ease) forwards; }
.check-anim path { stroke: var(--good); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 24px; }
.keybox { margin-top: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--hover); text-align: left; }
.keybox .k { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 16px; font-weight: 700; margin-top: 6px; letter-spacing: .03em; }

/* promise */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.promise-item { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.promise-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--brand-grad); color: #fff; }
.promise-item h4 { font-size: 15px; margin-bottom: 2px; }
.promise-item p { font-size: 13px; }

/* footer */
.footer { text-align: center; padding: 70px 20px 44px; display: grid; gap: 12px; justify-items: center; }
.footer-logo { width: 110px; opacity: .9; }
.footer .socials { margin-top: 0; }
.footer-links a:hover { color: var(--text); }

/* ---------- Apple-style polish ---------- */
.hero-logo { will-change: transform, opacity, filter; transform-origin: 50% 70%; }
.product, .tile { transform-style: preserve-3d; transition: transform .6s var(--spring), box-shadow .4s, border-color .3s; }
.product:hover { transform: none; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; transition: background .2s; mix-blend-mode: soft-light; }
:root[data-theme="light"] .product { border-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -18px rgba(40, 20, 70, .25); }
:root[data-theme="light"] .product:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 30px 60px -28px rgba(60, 20, 100, .35); }
:root[data-theme="light"] .tile { border-color: transparent; box-shadow: 0 10px 30px -18px rgba(40, 20, 70, .3); }
:root[data-theme="light"] .promise-item { background: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
:root[data-theme="light"] .hero-logo img { filter: drop-shadow(0 18px 34px color-mix(in srgb, var(--brand) 32%, transparent)); }
:root[data-theme="light"] .social { background: #fff; border-color: transparent; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
:root[data-theme="light"] .btn:not(.primary):not(.ghost) { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
:root[data-theme="light"] .bg-fx .grid { opacity: .25; }
:root[data-theme="light"] .p-media .ph, :root[data-theme="light"] .ss-empty { background: linear-gradient(135deg, #efe8f7, #f7f3fb); }
.section-head h2, .pp-info h1 { background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 62%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- product page ---------- */
.pp { max-width: 1120px; margin: 0 auto; padding: 22px 20px 40px; animation: rise .6s var(--ease) both; }
.pp-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.crumb { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .12em; }
.crumb:hover { color: var(--text); }
.crumb::before { content: "/"; margin-right: 10px; opacity: .5; }

.ss { display: grid; gap: 12px; }
.ss-frame { position: relative; border-radius: 30px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); isolation: isolate; }
.ss-empty { aspect-ratio: 16 / 9; border-radius: 30px; display: grid; place-items: center; color: var(--muted); background: var(--bg-2); }
.ss-empty .i { width: 48px; height: 48px; }
.ss-stage { position: absolute; inset: 0; }
.ss-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06) translateX(calc(var(--dir, 1) * 3%)); transition: opacity .9s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.ss-slide.on { opacity: 1; transform: none; pointer-events: auto; z-index: 1; }
.ss-slide.out-left { transform: scale(.98) translateX(-3%); }
.ss-slide.out-right { transform: scale(.98) translateX(3%); }
.ss-slide img, .ss-slide video, .ss-slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.ss-slide[data-type="img"].on img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.045); } }
.ss-bars { position: absolute; z-index: 3; top: 14px; left: 18px; right: 18px; display: flex; gap: 6px; }
.ss-bars button { position: relative; flex: 1; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.ss-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.ss-bars button > span { position: absolute; left: 0; top: 5px; height: 3px; width: 0; border-radius: 3px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .6); }
.ss-btn {
  position: absolute; z-index: 3; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center; color: #fff; background: rgba(20, 14, 30, .35); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  opacity: 0; transition: opacity .3s, transform .35s var(--spring), background .2s;
}
.ss-btn.prev { left: 16px; transform: translateX(-8px); } .ss-btn.next { right: 16px; transform: translateX(8px); }
.ss-frame:hover .ss-btn, .ss-btn:focus-visible { opacity: 1; transform: none; }
.ss-btn:hover { background: rgba(20, 14, 30, .55); }
.ss-btn:active { transform: scale(.9) !important; }
@media (hover: none) { .ss-btn { opacity: 1; transform: none; width: 40px; height: 40px; margin-top: -20px; } }
.ss-count { position: absolute; z-index: 3; right: 16px; bottom: 14px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20, 14, 30, .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ss-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.ss-thumbs::-webkit-scrollbar { display: none; }
.ss-thumbs button { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-2); color: var(--muted); display: grid; place-items: center; opacity: .55; transition: opacity .3s, transform .35s var(--spring), border-color .3s; }
.ss-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.ss-thumbs button.on { opacity: 1; border-color: var(--brand); }
.ss-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin-top: 34px; align-items: start; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: 1fr; gap: 24px; } }
.pp-info h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.pp-sub { font-size: 19px; color: var(--muted); margin-top: 8px; }
.pp-block { margin-top: 26px; }
.pp-block h3 { font-size: 17px; }
.buybox { position: sticky; top: 92px; display: grid; gap: 12px; padding: 24px; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
:root[data-theme="light"] .buybox { background: rgba(255, 255, 255, .8); border-color: transparent; }
.buybox .countdown { color: var(--text); }
.buybox .countdown div { background: var(--surface-2); border: 1px solid var(--border); }
.bb-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bb-price strong { font-size: 34px; letter-spacing: -.03em; }
.bb-price s { color: var(--muted); font-size: 17px; }
.bb-perks { display: grid; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.bb-perks div { display: flex; gap: 10px; align-items: center; }
.bb-perks .i { color: var(--brand-2); width: 17px; height: 17px; }
.pp-more { margin-top: 70px; }
.pp-more h2 { font-size: 26px; margin-bottom: 18px; }

.p-badges .chip.brand { color: #fff !important; }


/* content fades out under the top edge instead of peeking above the floating bar */
.nav-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--bg) 35%, color-mix(in srgb, var(--bg) 0%, transparent));
}

/* ================= Loading screen: spotlight reveal → morph into the hero logo ================= */
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: -30%; }
@property --sr { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
#loader {
  --d: 0s; /* start offset */
  position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; overflow: hidden;
  background: var(--bg);
  animation: ldFailsafe 0s 9s forwards; /* never block the site */
}
#loader::before { /* faint floor glow */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 50%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  opacity: 0; animation: ldFade 1.6s .2s ease-out forwards;
}
.ld-stage { position: relative; display: grid; justify-items: center; gap: 26px; filter: drop-shadow(0 22px 50px color-mix(in srgb, var(--brand) 55%, transparent)); }
.ld-logo {
  position: relative; width: min(var(--hero-size, 420px), 86vw); aspect-ratio: 1954 / 692;
  --sx: -30%; --sr: 0%;
  -webkit-mask: radial-gradient(ellipse var(--sr) 140% at var(--sx) 50%, #000 55%, transparent 100%);
  mask: radial-gradient(ellipse var(--sr) 140% at var(--sx) 50%, #000 55%, transparent 100%);
  animation: ldSpot 1.9s .25s cubic-bezier(.65, 0, .35, 1) forwards, ldBloom 1.1s 1.75s ease-out both;
  will-change: transform;
}
.ld-img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* moving light that travels with the spotlight */
.ld-spot {
  position: absolute; left: 50%; top: 50%; width: min(520px, 90vw); aspect-ratio: 2.4; translate: -50% -58%; pointer-events: none;
  --sx: -30%;
  background: radial-gradient(ellipse 30% 60% at var(--sx) 50%, color-mix(in srgb, var(--brand-2) 55%, transparent), transparent 70%);
  filter: blur(30px); animation: ldSpotLight 1.9s .25s cubic-bezier(.65, 0, .35, 1) forwards;
}
/* chrome highlight that keeps sliding across the letters while we wait */
.ld-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .9) 47%, rgba(255, 255, 255, .2) 53%, transparent 64%);
  background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: overlay;
  -webkit-mask: var(--ld-mask, url(/assets/logo.webp)) center / contain no-repeat; mask: var(--ld-mask, url(/assets/logo.webp)) center / contain no-repeat;
  animation: ldShine 2.6s 2.1s cubic-bezier(.45, 0, .2, 1) infinite;
}
/* little four-point glints on the letters */
.ld-glints { position: absolute; inset: 0; pointer-events: none; }
.ld-glints i {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; opacity: 0; transform: scale(0) rotate(0deg);
  background: radial-gradient(circle, #fff 0 12%, transparent 13%), conic-gradient(from 0deg, transparent 0 20%, rgba(255, 255, 255, .95) 25%, transparent 30% 45%, rgba(255, 255, 255, .95) 50%, transparent 55% 70%, rgba(255, 255, 255, .95) 75%, transparent 80% 95%, rgba(255, 255, 255, .95) 100%);
  -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 70%); mask: radial-gradient(circle, #000 0 20%, transparent 70%);
  filter: drop-shadow(0 0 6px var(--brand-2));
  animation: ldGlint 1.2s cubic-bezier(.3, 0, .2, 1) forwards;
}
.ld-tag { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .55em; text-indent: .55em; color: var(--muted); white-space: nowrap; }
.ld-tag span { display: inline-block; opacity: 0; transform: translateY(8px); filter: blur(5px); animation: ldLetter .8s cubic-bezier(.16, 1, .3, 1) forwards; }
@media (max-width: 520px) { .ld-tag { font-size: 10px; letter-spacing: .34em; text-indent: .34em; } }

/* quick version on reloads */
#loader.quick .ld-logo { animation: ldQuick .6s cubic-bezier(.16, 1, .3, 1) both; --sr: 400%; --sx: 50%; }
#loader.quick .ld-spot, #loader.quick .ld-tag { display: none; }
#loader.quick .ld-shine { animation-delay: .3s; }

/* exit — the background dissolves; the logo itself is flown into the hero by JS */
#loader.done { background: transparent; transition: background .9s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
#loader.done::before, #loader.done .ld-spot { transition: opacity .5s; opacity: 0; }
#loader.done .ld-tag { transition: opacity .35s, transform .5s; opacity: 0; transform: translateY(10px); }
#loader.done .ld-shine { animation: none; opacity: 0; }

body.loading { overflow: hidden; }
body.loading .hero > * { animation-play-state: paused !important; }
body.loading .hero-logo img { animation: none !important; opacity: 0; }
.hero > .hero-logo { animation: none; } /* the intro logo lands here, so it must not shift */
.nav-wrap { transition: opacity .9s .35s var(--ease), transform .9s .35s var(--spring); }
body.loading .nav-wrap { opacity: 0; transform: translateY(-16px); }

@keyframes ldSpot {
  0% { --sx: -30%; --sr: 22%; }
  62% { --sx: 118%; --sr: 30%; }
  100% { --sx: 50%; --sr: 400%; }
}
@keyframes ldSpotLight { 0% { --sx: -30%; opacity: 0; } 15% { opacity: 1; } 62% { --sx: 118%; opacity: 1; } 100% { --sx: 50%; opacity: .55; } }
@keyframes ldBloom { 0% { filter: brightness(1); } 18% { filter: brightness(1.9) saturate(1.2); } 100% { filter: brightness(1); } }
@keyframes ldShine { 0% { opacity: 1; background-position: 130% 0; } 55%, 100% { opacity: 1; background-position: -30% 0; } }
@keyframes ldGlint { 0% { opacity: 0; transform: scale(0) rotate(0deg); } 35% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.2) rotate(120deg); } }
@keyframes ldLetter { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ldFade { to { opacity: 1; } }
@keyframes ldQuick { from { opacity: 0; transform: scale(.96); filter: blur(10px); } }
@keyframes ldFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .ld-logo { animation: none; -webkit-mask: none; mask: none; }
  .ld-spot, .ld-glints, .ld-shine { display: none; }
  .ld-tag span { animation: none; opacity: 1; transform: none; filter: none; }
}


.owned-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--text); }
.owned-note .i { color: var(--good); margin-top: 2px; }
.owned-note.warn { background: color-mix(in srgb, var(--warn) 14%, transparent); }
.owned-note.warn .i { color: var(--warn); }
.owned-note strong { display: block; }
.owned-note span { font-size: 13px; color: var(--muted); }

/* ================= Portfolio covers: seamless grid ================= */
.pcover { position: relative; background: var(--bg-2) center / cover no-repeat; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.pcover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.pcover-shield { position: absolute; inset: 0; z-index: 1; background: transparent; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .albums { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
/* square cover card, each with its own rounded corners and shadow */
.album { position: relative; display: block; aspect-ratio: 1; overflow: hidden; cursor: pointer; outline-offset: 3px; isolation: isolate;
  border-radius: calc(var(--radius) + 4px); border: 1px solid var(--border); background: var(--bg-2);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .7); transition: transform .5s var(--spring), box-shadow .5s var(--ease); }
.album:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .75); }
@media (max-width: 560px) { .album { border-radius: var(--radius); } .album-meta { padding: 12px; } .album-meta strong { font-size: 15px; } }
.album-cover { position: absolute; inset: 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), filter .6s var(--ease); }
.album::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent 45%, rgba(6, 3, 12, .85)); opacity: 0; transition: opacity .5s var(--ease); }
/* light sheen that sweeps across on hover */
.album-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: soft-light; }
.album-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; display: grid; gap: 2px;
  transform: translateY(14px); opacity: 0; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s var(--ease); }
.album-meta .eyebrow { color: rgba(255, 255, 255, .7) !important; margin: 0; font-size: 10.5px; }
.album-meta strong { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.album-artist { font-size: 13px; color: rgba(255, 255, 255, .75); }
.album-go { position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #111; background: #fff;
  transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .5s cubic-bezier(.34, 1.5, .64, 1), opacity .3s; }
.album-go .i { width: 16px; height: 16px; }
.album:hover .album-cover, .album:focus-visible .album-cover { transform: scale(1.07); }
.album:hover::after, .album:focus-visible::after { opacity: 1; }
.album:hover .album-meta, .album:focus-visible .album-meta { transform: none; opacity: 1; }
.album:hover .album-go, .album:focus-visible .album-go { transform: none; opacity: 1; }
.album:hover .album-sheen { animation: sheen 1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes sheen { to { background-position: -50% 0; } }
/* the others step back a little so the hovered cover pops */
@media (hover: hover) { .albums:hover .album:not(:hover) .album-cover { filter: brightness(.6) saturate(.8); } }
@media (hover: none) { .album::after { opacity: 1; } .album-meta { transform: none; opacity: 1; } }

/* album page */
.album-hero { position: relative; display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 36px; align-items: start; margin-bottom: 34px; }
.album-hero-cover { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.album-hero-text { display: grid; gap: 12px; align-content: start; padding-top: 6px; }
.album-hero-text .eyebrow { margin: 0; }
.album-hero h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.album-song { font-size: 18px; color: var(--text-2); }
.album-song strong { color: var(--text); }
.album-facts { display: flex; gap: 8px; flex-wrap: wrap; }
.album-hero-text > p { color: var(--muted); font-size: 16px; max-width: 580px; white-space: pre-line; }
.album-credits { font-size: 14px !important; }
@media (max-width: 760px) { .album-hero { grid-template-columns: 1fr; gap: 22px; } .album-hero-cover { max-width: 320px; } }
.album-grid { margin-top: 10px; }
/* "original size" categories (e.g. 3D ART): justified rows — same height per row, real proportions, full width */
.albums.justified { display: flex; flex-wrap: wrap; gap: 14px; }
.albums.justified > .album { flex: none; aspect-ratio: auto; width: 260px; height: 260px; }
@media (max-width: 560px) { .albums.justified { gap: 8px; } }
.album-cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-player { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); }
.sp-play { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); transition: transform .35s var(--spring); }
.sp-play:hover { transform: scale(1.07); } .sp-play:active { transform: scale(.93); }
.sp-play .i { width: 18px; height: 18px; }
.sp-track { flex: 1; min-width: 0; display: grid; gap: 7px; }
.sp-bar { position: relative; height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; cursor: pointer; }
.sp-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand-grad); border-radius: 5px; }
.sp-times { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-family: var(--mono); color: var(--muted); }
.sp-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; opacity: 0; transition: opacity .3s; }
.sp-eq i { width: 3px; height: 30%; border-radius: 2px; background: var(--brand-2); }
.sp-player.playing .sp-eq { opacity: 1; }
.sp-player.playing .sp-eq i { animation: eq .9s ease-in-out infinite; }
.sp-player.playing .sp-eq i:nth-child(2) { animation-delay: -.3s; } .sp-player.playing .sp-eq i:nth-child(3) { animation-delay: -.6s; } .sp-player.playing .sp-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.sp-embed { width: 100%; border: 0; border-radius: 14px; background: var(--panel); }
.tile video { pointer-events: none; }

/* PayPal checkout frame */
.pp-box { margin-top: 16px; border-radius: 22px; border: 1px solid var(--border); background: var(--panel-2); overflow: hidden; box-shadow: var(--shadow); animation: rise .5s var(--ease) both; }
.pp-box-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%); }
.pp-lock { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--brand-grad); box-shadow: var(--shadow-brand); }
.pp-lock .i { width: 18px; height: 18px; }
.pp-box-head strong { display: block; font-size: 15px; }
.pp-box-head span { font-size: 12.5px; color: var(--muted); }
.pp-amount { margin-left: auto; text-align: right; }
.pp-amount strong { font-size: 20px; letter-spacing: -.02em; }
.pp-box .paypal-slot { margin: 0; padding: 18px 18px 8px; display: grid; gap: 10px; background: transparent; }
.pp-go { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: #ffc439; color: #111; font: 800 16px var(--font, inherit); letter-spacing: -.01em; box-shadow: 0 12px 30px -14px rgba(255, 196, 57, .7);
  transition: transform .3s var(--spring), filter .2s, box-shadow .3s; }
.pp-go:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 16px 36px -14px rgba(255, 196, 57, .85); }
.pp-go:active:not(:disabled) { transform: scale(.98); }
.pp-go .pp-go-ic { display: grid; } .pp-go .pp-go-ic .i { width: 22px; height: 22px; color: #003087; }
.pp-go > .i { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.pp-go:hover:not(:disabled) > .i { transform: translateX(3px); }
.pp-go.loading { cursor: progress; }
.pp-go.loading > .i { animation: spin .8s linear infinite; }
.pp-note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5; }
/* Chrome paints an opaque white canvas behind a cross-origin iframe when the page is dark and the frame is light — matching the scheme keeps it transparent */
.sp-embed { color-scheme: light; background: transparent !important; }
.pp-skel { display: grid; gap: 12px; }
.pp-skel span { height: 48px; border-radius: 999px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.pp-box-foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px 16px; font-size: 12px; color: var(--muted); }
.pp-box-foot .i { width: 14px; height: 14px; color: var(--good); }
.pp-confirm { padding: 30px 0 10px; }
.pp-ring { position: relative; width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--brand-2); }
.pp-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--brand); animation: spin .9s linear infinite; }
.pp-ring .i { width: 28px; height: 28px; }
.pp-confirm h3 { font-size: 20px; }

/* ---------- covers with a song + the song panel on the left ---------- */
.has-song { cursor: pointer; }
.song-badge { position: absolute; z-index: 4; left: 12px; top: 12px; height: 30px; min-width: 30px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  color: #fff; background: rgba(12, 8, 20, .55); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none; transition: background .35s var(--ease), transform .45s var(--spring); }
.song-badge .sb-ic { display: grid; } .song-badge .sb-ic .i { width: 14px; height: 14px; }
.sb-eq { display: none; gap: 2px; align-items: flex-end; height: 12px; }
.sb-eq i { width: 3px; height: 40%; border-radius: 2px; background: #fff; animation: eq .9s ease-in-out infinite; }
.sb-eq i:nth-child(2) { animation-delay: -.3s; } .sb-eq i:nth-child(3) { animation-delay: -.6s; }
.has-song:hover .song-badge { transform: scale(1.08); }
.is-current .song-badge { background: var(--brand-grad); border-color: transparent; }
.is-playing .song-badge .sb-eq { display: inline-flex; }
.is-current::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--brand-2); }
.album-hero-cover.has-song { position: relative; }

.song-panel { position: absolute; z-index: 60; left: 0; top: 0; width: min(340px, calc(100vw - 24px));
  display: grid; gap: 14px; padding: 16px; border-radius: 22px; border: 1px solid var(--border); background: var(--panel); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .65), var(--shadow);
  opacity: 0; transition: opacity .35s var(--ease), transform .5s var(--spring); }
.song-panel.side-left { transform: translateX(18px) scale(.96); transform-origin: right var(--ay, 50%); }
.song-panel.side-right { transform: translateX(-18px) scale(.96); transform-origin: left var(--ay, 50%); }
.song-panel.side-below { transform: translateY(-14px) scale(.96); transform-origin: var(--ax, 50%) top; }
.song-panel.docked { position: fixed; left: 22px; bottom: 22px; top: auto; transform: translateX(-30px); }
.song-panel.in { opacity: 1; transform: none; }
.song-panel.out { opacity: 0; pointer-events: none; }
.spn-arrow { position: absolute; width: 16px; height: 16px; background: var(--panel); border: 1px solid var(--border); transform: rotate(45deg); pointer-events: none; }
.side-left .spn-arrow { right: -9px; top: calc(var(--ay, 50%) - 8px); border-left: 0; border-bottom: 0; }
.side-right .spn-arrow { left: -9px; top: calc(var(--ay, 50%) - 8px); border-right: 0; border-top: 0; }
.side-below .spn-arrow { top: -9px; left: calc(var(--ax, 50%) - 8px); border-right: 0; border-bottom: 0; }
.docked .spn-arrow { display: none; }
.spn-close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); cursor: pointer; transition: transform .3s var(--spring), background .2s; }
.spn-close:hover { transform: rotate(90deg); background: var(--hover); color: var(--text); }
.spn-close .i { width: 14px; height: 14px; }
.spn-top { display: flex; gap: 14px; align-items: center; padding-right: 34px; }
.spn-cover { width: 76px; height: 76px; flex: none; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.spn-text { min-width: 0; display: grid; gap: 3px; }
.spn-text strong { font-size: 18px; letter-spacing: -.02em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.spn-artist { color: var(--text-2); font-size: 14px; }
.spn-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.spn-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 var(--brand-2); animation: spnPulse 1.8s ease-out infinite; }
@keyframes spnPulse { 0% { box-shadow: 0 0 0 0 rgba(180, 145, 220, .6); } 100% { box-shadow: 0 0 0 9px rgba(180, 145, 220, 0); } }
.spn-facts { display: flex; gap: 6px; flex-wrap: wrap; }
.song-panel .sp-player { box-shadow: none; background: var(--surface); padding: 10px 12px; }
.song-panel .sp-play { width: 42px; height: 42px; }
.spn-credits { margin: 0; font-size: 13px; color: var(--muted); white-space: pre-line; }
.spn-open { justify-self: start; }
@media (max-width: 560px) { .song-panel.docked { left: 10px; right: 10px; bottom: 10px; width: auto; } .spn-cover { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .song-panel, .song-panel.out { transition: opacity .2s; transform: none; } .sb-eq i, .spn-dot { animation: none; } }

/* ---------- share ---------- */
.share-btn.on-card { position: absolute; z-index: 6; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center;
  color: #fff; background: rgba(12, 8, 20, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer;
  opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .45s var(--spring), background .2s; }
.share-btn.on-card .i { width: 15px; height: 15px; }
.album:hover .share-btn.on-card, .album:focus-within .share-btn.on-card { opacity: 1; transform: none; }
.share-btn.on-card:hover { background: var(--brand); }
@media (hover: none) { .share-btn.on-card { opacity: 1; transform: none; width: 30px; height: 30px; top: 8px; right: 8px; } }
.lightbox .lb-share { position: absolute; top: 18px; right: 70px; color: #fff; background: rgba(255, 255, 255, .12); border-color: transparent; }
.sh { display: grid; gap: 16px; }
.sh-card { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.sh-img { width: 72px; height: 72px; flex: none; border-radius: 12px; background: var(--bg-2) center / cover no-repeat; }
.sh-meta { min-width: 0; display: grid; gap: 2px; }
.sh-meta strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-meta span { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-meta small { font-size: 11.5px; color: var(--muted); }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sh-opt { display: grid; justify-items: center; gap: 7px; padding: 12px 4px; border: 0; border-radius: 16px; background: none; color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, transform .3s var(--spring); }
.sh-opt:hover { background: var(--hover); transform: translateY(-2px); color: var(--text); }
.sh-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sh-ic .i { width: 22px; height: 22px; }
.ig .sh-ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.dc .sh-ic { background: #5865f2; } .vb .sh-ic { background: #7360f2; } .wa .sh-ic { background: #25d366; } .tg .sh-ic { background: #229ed9; }
.fb .sh-ic { background: #1877f2; } .xx .sh-ic { background: #111; border: 1px solid rgba(255, 255, 255, .18); } .em .sh-ic { background: var(--brand-grad); }
.sh-link { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.sh-link .mono { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
@media (max-width: 400px) { .sh-grid { gap: 4px; } .sh-ic { width: 42px; height: 42px; } }

/* ---------- likes ---------- */
.rx { display: inline-flex; align-items: center; gap: 6px; }
.rx-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rx-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font: 700 13px var(--font, inherit); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .3s var(--spring); }
.rx-btn:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.rx-btn:active { transform: scale(.94); }
.rx-ic { display: grid; } .rx-ic .i { width: 17px; height: 17px; transition: transform .35s var(--spring); }
.rx-n { font-variant-numeric: tabular-nums; min-width: 1ch; }
.rx-like.on { color: #ff4d7d; border-color: color-mix(in srgb, #ff4d7d 40%, transparent); background: color-mix(in srgb, #ff4d7d 12%, var(--surface)); }
.rx-like.on .i { fill: currentColor; }
.rx-btn.pop .i { animation: rxPop .5s var(--spring); }
@keyframes rxPop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.rx-burst { position: fixed; z-index: 2000; pointer-events: none; color: #ff4d7d; }
.rx-burst .i { width: 13px; height: 13px; fill: currentColor; }
/* on cards and in the full view: a small glass pill over the image */
.rx.dark .rx-btn { background: rgba(12, 8, 20, .5); border-color: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rx.dark .rx-btn:hover { background: rgba(12, 8, 20, .7); }
.rx.dark .rx-like.on { color: #ff6b93; background: rgba(40, 8, 20, .6); border-color: rgba(255, 77, 125, .5); }
.rx.compact .rx-btn { height: 30px; padding: 0 10px 0 9px; font-size: 12px; gap: 5px; }
.rx.compact .rx-ic .i { width: 15px; height: 15px; }
.p-media { position: relative; }
.lightbox .lb-rx { position: absolute; top: 18px; left: 18px; z-index: 2; }
