/* BioHive — design system for the marketing site, auth and the creator dashboard.
   Hand-written, no framework. Honey + ink palette, soft cards, generous radius, motion that respects reduced-motion. */
:root {
	--honey: #FFC21A; --honey-deep: #F5A800; --honey-soft: #FFF3C7; --honey-glow: rgba(255,194,26,.35);
	--ink: #121110; --ink-2: #2a2825; --muted: #6f6b63; --faint: #a7a39a;
	--bg: #FFFDF7; --panel: #ffffff; --panel-2: #F7F4EA; --line: #ebe7da; --line-2: #ddd8c8;
	--ok: #1f9d55; --ok-soft: #e8f8ee; --warn: #d97706; --warn-soft: #fff4e0; --bad: #dc2626; --bad-soft: #fdecec; --info: #2563eb; --info-soft: #e9f0ff;
	--lilac: #E9E4FF; --mint: #DDF5E7; --peach: #FFE3D3; --sky: #DCEEFF; --rose: #FFE0EA;
	--r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
	--shadow-sm: 0 1px 2px rgba(18,17,16,.04), 0 2px 8px rgba(18,17,16,.04);
	--shadow: 0 10px 30px rgba(18,17,16,.08), 0 2px 6px rgba(18,17,16,.04);
	--shadow-lg: 0 30px 70px rgba(18,17,16,.16), 0 8px 20px rgba(18,17,16,.06);
	--font: "Plus Jakarta Sans", Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 .45em; font-weight: 800; }
h1 { font-size: clamp(30px, 5vw, 40px); }
h2 { font-size: clamp(20px, 2.4vw, 24px); }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--panel-2); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.center { text-align: center; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-2.tight { gap: 12px; }
@media (min-width: 480px) { .grid-2.tight { grid-template-columns: 1fr 1fr; } }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--honey); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--panel); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .18s var(--spring), box-shadow .2s, background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 10px 24px rgba(18,17,16,.22); }
.btn-honey { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn-honey:hover { background: var(--honey-deep); border-color: var(--honey-deep); box-shadow: 0 10px 24px var(--honey-glow); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--panel-2); box-shadow: none; }
.btn-outline { background: transparent; }
.btn-danger-ghost { background: transparent; color: var(--bad); border-color: transparent; }
.btn-danger-ghost:hover { background: var(--bad-soft); box-shadow: none; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.btn-social { width: 100%; background: #fff; border-color: var(--line-2); font-weight: 600; padding: 12px 16px; justify-content: center; gap: 10px; }
.btn-social svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-social.apple { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-social.apple:hover { background: #000; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13.5px; }
label.check { flex-direction: row; align-items: center; gap: 8px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], input[type=number], input[type=tel], textarea, select { -webkit-appearance: none; appearance: none; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--panel); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--honey-glow); }
input[type=color] { width: 46px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 10px; background: none; padding: 2px; }
input[type=file] { font-size: 14px; }
textarea { resize: vertical; }
.handle-input { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--panel); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.handle-input span { padding: 12px 0 12px 14px; color: var(--muted); font-weight: 600; white-space: nowrap; font-size: 15px; }
.handle-input input { border: 0; border-radius: 0; padding-left: 2px; flex: 1; min-width: 0; width: auto; }
.handle-input input:focus { box-shadow: none; }
.handle-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--honey-glow); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .copy-row { flex-direction: column; } .copy-row .btn { width: 100%; } }

/* ---------- Flash / status / pills ---------- */
.flash { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: 600; border: 1px solid; transition: opacity .6s; animation: flashIn .35s var(--ease); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }
.flash-success { background: var(--ok-soft); border-color: #bde9cd; color: #166534; }
.flash-error { background: var(--bad-soft); border-color: #f7c5c5; color: #991b1b; }
.flash-info { background: var(--info-soft); border-color: #c7d8ff; color: #1e40af; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--panel-2); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.status-bar { padding: 10px 16px; background: var(--honey-soft); border-bottom: 1px solid #f3dd8a; font-size: 14px; text-align: center; font-weight: 500; }
.status-bar.warn { background: var(--warn-soft); border-color: #fbd6a1; }
.status-bar.danger { background: var(--bad-soft); border-color: #f7c5c5; }
.impersonate-bar { padding: 10px 16px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.impersonate-bar .btn { color: #fff; border-color: #444; }

/* ============================================================
   MARKETING SITE
   ============================================================ */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,253,247,.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand .bee { width: 28px; height: 22px; display: inline-block; vertical-align: -3px; transition: transform .4s var(--spring); }
.brand:hover .bee { transform: rotate(-12deg) translateY(-2px); }
.site-nav nav { display: flex; gap: 6px; align-items: center; }
.site-nav nav a { text-decoration: none; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.site-nav nav a:hover { background: var(--panel-2); color: var(--ink); }
.site-nav nav a.btn { color: #fff; }
.site-nav nav a.btn-honey { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.site-nav nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; display: none; box-shadow: var(--shadow); }
	.site-nav.open nav { display: flex; animation: flashIn .25s var(--ease); }
	.site-nav nav a { padding: 12px 14px; }
	.site-nav nav a.btn { margin-top: 6px; }
	.site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
	.site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; padding: 48px 0 32px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 56px; } }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(60% 60% at 70% 30%, var(--honey-glow), transparent 70%), radial-gradient(40% 50% at 15% 60%, rgba(233,228,255,.9), transparent 70%); filter: blur(10px); pointer-events: none; z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--honey-soft); border: 1px solid #f3dd8a; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.5); } 70% { box-shadow: 0 0 0 8px rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }
.hero h1 { font-size: clamp(38px, 7vw, 64px); margin-bottom: 18px; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .hl { position: relative; display: inline-block; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .32em; background: var(--honey); border-radius: 6px; z-index: -1; transform: scaleX(0); transform-origin: left; animation: underline .7s var(--ease) .6s forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); max-width: 540px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .fine { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.hero .fine span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.reveal { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s } .reveal.d2 { animation-delay: .18s } .reveal.d3 { animation-delay: .28s } .reveal.d4 { animation-delay: .38s } .reveal.d5 { animation-delay: .5s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Animated "how it works" scene (pure CSS, one 11s timeline) ---------- */
.scene-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.scene { --T: 11s; position: relative; width: 420px; height: 540px; margin: 0 auto; }
@media (max-width: 460px) { .scene { zoom: .78; } }
@media (max-width: 370px) { .scene { zoom: .68; } }
.scene * { animation-duration: var(--T); animation-iteration-count: infinite; animation-timing-function: ease-in-out; animation-fill-mode: both; }
.sc-paste { position: absolute; left: 0; top: 0; width: 420px; height: 54px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); display: flex; align-items: center; padding: 0 6px 0 18px; gap: 10px; z-index: 3; }
.sc-paste .ico { color: var(--faint); flex-shrink: 0; display: flex; }
.sc-url { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; display: flex; align-items: center; }
.sc-url .txt { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation-name: typeUrl; animation-timing-function: steps(34, end); }
.sc-url .caret { width: 2px; height: 16px; background: var(--ink); margin-left: 1px; animation-name: caretBlink; animation-duration: 1s; animation-timing-function: steps(2, end); }
@keyframes typeUrl { 0%, 3% { width: 0; } 17%, 90% { width: 100%; } 100% { width: 0; } }
@keyframes caretBlink { 50% { opacity: 0; } }
.sc-import { background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 999px; flex-shrink: 0; animation-name: importBtn; }
@keyframes importBtn { 0%, 17% { transform: scale(1); background: #121110; color: #fff; } 19% { transform: scale(.94); background: #F5A800; color: #121110; } 22%, 100% { transform: scale(1); background: #121110; color: #fff; } }
.sc-steps { position: absolute; left: 0; top: 68px; display: flex; gap: 6px; z-index: 2; margin: 0; padding: 0; }
.sc-steps li { list-style: none; font-size: 11.5px; font-weight: 700; color: var(--faint); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.sc-steps li:nth-child(1) { animation-name: stepA; } .sc-steps li:nth-child(2) { animation-name: stepB; } .sc-steps li:nth-child(3) { animation-name: stepC; }
@keyframes stepA { 0%, 20% { background: #FFC21A; color: #121110; border-color: #FFC21A; } 24%, 100% { background: #fff; color: #a7a39a; border-color: #ebe7da; } }
@keyframes stepB { 0%, 21% { background: #fff; color: #a7a39a; border-color: #ebe7da; } 24%, 46% { background: #FFC21A; color: #121110; border-color: #FFC21A; } 50%, 100% { background: #fff; color: #a7a39a; border-color: #ebe7da; } }
@keyframes stepC { 0%, 48% { background: #fff; color: #a7a39a; border-color: #ebe7da; } 52%, 92% { background: #FFC21A; color: #121110; border-color: #FFC21A; } 96%, 100% { background: #fff; color: #a7a39a; border-color: #ebe7da; } }

/* the product card that builds itself, then flies into the phone */
.sc-card { position: absolute; left: 0; top: 116px; width: 184px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); transform-origin: top left; z-index: 4; animation-name: cardFly; }
@keyframes cardFly {
	0%, 19% { opacity: 0; transform: translate(0, 10px) scale(.96); }
	22%, 44% { opacity: 1; transform: translate(0, 0) scale(1); }
	52%, 90% { opacity: 1; transform: translate(233px, 103px) scale(.46); }
	95%, 100% { opacity: 0; transform: translate(233px, 103px) scale(.46); }
}
.sc-card .im { height: 118px; border-radius: 12px; position: relative; overflow: hidden; animation-name: imgIn; }
.sc-card .im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); animation-name: shimmer; animation-timing-function: linear; }
@keyframes shimmer { 0%, 22% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.sc-card .im .bag { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; animation-name: bagPop; }
@keyframes bagPop { 0%, 24% { transform: scale(0) rotate(-20deg); opacity: 0; } 28% { transform: scale(1.15) rotate(4deg); opacity: 1; } 31%, 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes imgIn { 0%, 21% { background: #f3f0e6; } 25%, 100% { background: linear-gradient(135deg, #FFE3D3, #FFC21A); } }
.sc-card .ln { height: 9px; border-radius: 5px; background: var(--ink); margin-top: 10px; transform-origin: left; animation-name: lineIn; }
.sc-card .ln.l2 { width: 60%; background: #d9d5c8; height: 7px; margin-top: 7px; animation-name: lineIn2; }
@keyframes lineIn { 0%, 27% { transform: scaleX(0); } 31%, 100% { transform: scaleX(1); } }
@keyframes lineIn2 { 0%, 29% { transform: scaleX(0); } 33%, 100% { transform: scaleX(1); } }
.sc-card .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.sc-card .pr { font-weight: 800; font-size: 14px; animation-name: priceIn; }
@keyframes priceIn { 0%, 32% { opacity: 0; transform: translateY(6px); } 36%, 100% { opacity: 1; transform: none; } }
.sc-card .shop { background: var(--honey); font-weight: 800; font-size: 11px; padding: 6px 12px; border-radius: 999px; animation-name: shopIn; position: relative; }
@keyframes shopIn { 0%, 34% { opacity: 0; transform: scale(.6); } 38% { opacity: 1; transform: scale(1.1); } 40%, 60% { transform: scale(1); background: #FFC21A; } 62% { transform: scale(.9); background: #F5A800; } 64%, 100% { transform: scale(1); background: #FFC21A; } }

/* phone */
.sc-phone { position: absolute; right: 0; top: 108px; width: 204px; height: 386px; overflow: hidden; background: #fff; border: 7px solid #15140f; border-radius: 34px; padding: 14px 10px; box-shadow: var(--shadow-lg); z-index: 2; animation-name: phoneFloat; animation-duration: 6s; }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sc-phone .notch { width: 60px; height: 5px; background: #15140f; border-radius: 3px; margin: 0 auto 10px; opacity: .85; }
.sc-phone .av { width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 5px; background: linear-gradient(135deg, var(--honey), #ff7a59); border: 2px solid var(--honey); }
.sc-phone .nm { text-align: center; font-weight: 800; font-size: 10.5px; }
.sc-phone .bi { text-align: center; font-size: 8px; color: var(--muted); margin-bottom: 9px; }
.sc-phone .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sc-phone .mini { border: 1px solid var(--line); border-radius: 9px; padding: 4px; }
.sc-phone .mini.slot { border: 1.5px dashed #d9d5c8; background: #faf8f1; animation-name: slotHide; }
@keyframes slotHide { 0%, 50% { opacity: 1; } 53%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
.sc-phone .mini .i { aspect-ratio: 1; border-radius: 6px; }
.sc-phone .mini .l { height: 5px; width: 80%; background: #e9e6db; border-radius: 3px; margin: 5px 0 4px; }
.sc-phone .mini .b { font-size: 6.5px; font-weight: 800; background: var(--honey); border-radius: 999px; padding: 2px 6px; display: inline-block; }
.c1 { background: #E9E4FF } .c2 { background: #DDF5E7 } .c3 { background: #DCEEFF } .c4 { background: #FFE0EA } .c5 { background: #FFF3C7 }

/* tap + click counter */
.sc-tap { position: absolute; left: 286px; top: 300px; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink); z-index: 6; animation-name: tap; }
@keyframes tap { 0%, 57% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1); } 63% { transform: scale(.7); } 66% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
.sc-plus { position: absolute; left: 296px; top: 284px; font-weight: 800; font-size: 14px; color: var(--ok); z-index: 6; animation-name: plusOne; }
@keyframes plusOne { 0%, 62% { opacity: 0; transform: translateY(0); } 65% { opacity: 1; } 78%, 100% { opacity: 0; transform: translateY(-36px); } }
.sc-stat { position: absolute; left: 0; top: 400px; width: 184px; background: #15140f; color: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); z-index: 5; animation-name: statIn; }
@keyframes statIn { 0%, 44% { opacity: 0; transform: translateY(14px); } 50%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(14px); } }
.sc-stat .lb { font-size: 11px; color: #a7a39a; font-weight: 600; }
.sc-stat .num { font-size: 28px; font-weight: 800; letter-spacing: -.03em; height: 34px; overflow: hidden; line-height: 34px; }
.sc-stat .roll { display: block; animation-name: roll; }
@keyframes roll { 0%, 64% { transform: translateY(0); } 68%, 100% { transform: translateY(-34px); } }
.sc-stat .bar { height: 5px; background: #2a2825; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.sc-stat .bar i { display: block; height: 100%; width: 100%; background: var(--honey); border-radius: 3px; transform-origin: left; animation-name: barGrow; }
@keyframes barGrow { 0%, 64% { transform: scaleX(.72); } 70%, 100% { transform: scaleX(1); } }
.sc-badge { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 11.5px; font-weight: 700; box-shadow: var(--shadow); z-index: 5; display: flex; align-items: center; gap: 6px; }
.sc-badge.b1 { left: 10px; top: 126px; animation-name: badge1; }
@keyframes badge1 { 0%, 30% { opacity: 0; transform: translateY(6px); } 35%, 45% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-4px); } }
.scene-caption { font-size: 13.5px; color: var(--muted); text-align: center; max-width: 380px; }

/* "works with" marquee */
.marquee { padding: 10px 0 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .lbl { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .track span { padding: 9px 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.alt { background: var(--panel-2); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; letter-spacing: -0.03em; }
.section-head p { font-size: 17px; color: var(--muted); }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 12px; }
.js .io { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .io.in { opacity: 1; transform: none; }
.io.d1 { transition-delay: .08s } .io.d2 { transition-delay: .16s } .io.d3 { transition-delay: .24s } .io.d4 { transition-delay: .32s } .io.d5 { transition-delay: .4s } .io.d6 { transition-delay: .48s }

.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--honey); font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }
.step .art { position: absolute; right: -14px; bottom: -14px; font-size: 76px; opacity: .08; transform: rotate(-8deg); }

.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.tile { border-radius: var(--r-lg); padding: 28px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile.lilac { background: var(--lilac); border-color: transparent; } .tile.mint { background: var(--mint); border-color: transparent; } .tile.peach { background: var(--peach); border-color: transparent; } .tile.sky { background: var(--sky); border-color: transparent; } .tile.honey { background: var(--honey-soft); border-color: transparent; } .tile.ink { background: var(--ink); color: #fff; border-color: transparent; }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.tile.ink .ic { background: rgba(255,255,255,.12); }
.tile h3 { font-size: 19px; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); }
.tile.ink p { color: #c9c5bb; }

/* Pricing */
.pricing { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pricing::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.28), transparent 65%); right: -120px; top: -160px; }
.pricing .section-head h2 { color: #fff; }
.pricing .section-head p { color: #c9c5bb; }
.pricing .kicker { color: var(--honey); }
.price-card { position: relative; max-width: 460px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-lg); }
@media (max-width: 480px) { .price-card { padding: 30px 22px; } }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--honey); font-weight: 800; font-size: 12.5px; padding: 6px 14px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap; }
.price { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 8px 0 6px; }
.price span { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; text-align: left; display: grid; gap: 8px; }
.checks li { padding: 0 0 0 30px; position: relative; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--honey-soft); color: var(--ink); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 700; cursor: pointer; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--faint); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 18px; }
.cta-band { text-align: center; padding: 72px 20px; }
.cta-band h2 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.035em; margin-bottom: 10px; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13.5px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Auth */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 24px 16px 48px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px; box-shadow: var(--shadow); animation: rise .5s var(--ease); }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: var(--r-lg); } }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
.auth-card .social { display: grid; gap: 10px; margin-bottom: 18px; }
.auth-card .foot { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.auth-card .foot a { font-weight: 600; }
.code-input { font-size: 28px !important; letter-spacing: .25em; text-align: center; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding: 14px !important; }
.auth-card form.foot .linklike { color: var(--ink); font-weight: 600; }
.prose { max-width: 760px; margin: 48px auto; padding: 0 20px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin-top: 32px; font-size: 20px; }
.prose p, .prose li { color: var(--ink-2); }

/* ============================================================
   APP SHELL (dashboard)
   ============================================================ */
body.app { background: var(--bg); }
.app-shell { display: flex; min-height: 100vh; }
.app-side { width: 240px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; }
.app-side nav { display: flex; flex-direction: column; gap: 2px; }
.app-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--muted); transition: background .15s, color .15s; }
.app-side nav a svg { width: 19px; height: 19px; flex-shrink: 0; opacity: .8; }
.app-side nav a.on, .app-side nav a:hover { background: var(--panel-2); color: var(--ink); }
.app-side nav a.on { background: var(--honey-soft); }
.side-store { padding: 14px; background: var(--panel-2); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.store-link { font-weight: 700; text-decoration: none; word-break: break-all; font-size: 13.5px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.app-main { flex: 1; min-width: 0; padding: 28px 32px 60px; max-width: 1120px; overflow-x: clip; }
body.app { overflow-x: hidden; }
.grid-2 > *, .stat-grid > *, .card { min-width: 0; }
.card img, .card svg:not(.spark), .card iframe { max-width: 100%; }
.card pre, .card code { white-space: pre-wrap; word-break: break-word; }
.row > input[type=text], .row > input[type=url], .row > input[type=email] { flex: 1; min-width: 0; width: auto; }
.app-top { display: none; }
.tabbar { display: none; }
@media (max-width: 760px) {
	.app-side { display: none; }
	.app-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
	.app-top .brand { font-size: 18px; }
	.app-main { padding: 20px 16px calc(84px + env(safe-area-inset-bottom)); }
	.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; font-size: 10.5px; font-weight: 700; color: var(--faint); padding: 6px 2px; border-radius: 12px; }
	.tabbar a svg { width: 22px; height: 22px; }
	.tabbar a.on { color: var(--ink); }
	.tabbar a.on svg { color: var(--honey-deep); }
}
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 2px; }
.page-head p { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; }
@media (max-width: 520px) { .card { padding: 18px; border-radius: 20px; } }
.card.empty { text-align: center; padding: 56px 24px; background: linear-gradient(180deg, #fff, var(--panel-2)); }
.card.empty h2 { font-size: 24px; }
.card.empty .big { font-size: 48px; margin-bottom: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .stat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.stat-n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-l { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table td, .table th { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.thumb-cell { width: 44px; }
.thumb-cell img { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; display: block; }
.table.admin { font-size: 13px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seg { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; padding: 3px; gap: 2px; }
.seg a { padding: 6px 14px; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--muted); border-radius: 999px; }
.seg a.on { background: var(--ink); color: #fff; }
.spark-wrap { color: var(--honey-deep); }
.spark { width: 100%; height: 140px; display: block; }
.spark-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Product list */
.product-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.product-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; transition: box-shadow .2s, transform .2s var(--ease); }
.product-row:hover { box-shadow: var(--shadow-sm); }
.product-row.inactive { opacity: .55; }
.product-row.sortable-ghost { opacity: .3; }
.product-row.sortable-chosen { box-shadow: var(--shadow); transform: scale(1.01); }
.drag { cursor: grab; color: #c9c5bb; user-select: none; font-size: 16px; letter-spacing: -3px; padding: 4px; touch-action: none; }
.thumb { width: 58px; height: 58px; border-radius: 14px; background: var(--panel-2); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { flex: 1; min-width: 0; }
.ptitle { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinfo a { color: var(--muted); text-decoration: none; }
.pactions { display: flex; gap: 2px; flex-shrink: 0; }
@media (max-width: 600px) { .product-row { flex-wrap: wrap; } .pactions { width: 100%; justify-content: flex-end; } }
.img-preview { aspect-ratio: 1; max-width: 220px; border: 1.5px dashed var(--line-2); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--panel-2); }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.avatar-row input[type=file] { flex: 1 1 200px; min-width: 0; }
.avatar.placeholder { display: flex; align-items: center; justify-content: center; background: var(--honey); font-weight: 800; font-size: 24px; }

/* Toolbar, chips, tags */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar input[type=search] { flex: 1; min-width: 180px; border-radius: 999px; padding-left: 18px; }
select { padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236f6b63' stroke-width='2' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.toolbar select { width: auto; border-radius: 999px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted); transition: all .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { font-weight: 600; opacity: .6; font-size: 11.5px; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 11px; font-weight: 700; background: var(--honey-soft); color: var(--ink); padding: 2px 8px; border-radius: 999px; text-decoration: none; }

/* Share card on dashboard */
.share-card { background: var(--ink); color: #fff; border-color: transparent; }
.share-card h2 { color: #fff; }
.share-card p { color: #c9c5bb; }
.share-card input { background: #2a2825; border-color: #3a3835; color: #fff; }
.share-card .btn { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.share-card .btn-ghost { background: transparent; border-color: #4a4845; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal, .io { opacity: 1; transform: none; }
	.sc-card { opacity: 1; transform: translate(209px, 103px) scale(.49); }
	.sc-stat { opacity: 1; transform: none; }
	.sc-url .txt { width: 100%; }
}

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; pointer-events: none; }
.cookie-banner.show { transform: none; opacity: 1; pointer-events: auto; }
.cb-inner { max-width: 760px; margin: 0 auto; background: #121110; color: #fff; border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-size: 14px; }
.cb-inner p { margin: 0; flex: 1; min-width: 220px; line-height: 1.45; }
.cb-inner a { color: #FFC21A; }
.cb-actions { display: flex; gap: 8px; }
.cb-inner .btn { background: transparent; color: #fff; border-color: #444; font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #444; cursor: pointer; }
.cb-inner .btn-primary { background: #FFC21A; border-color: #FFC21A; color: #121110; }
body.app .cookie-banner { bottom: 70px; }

/* Confirm dialog */
.bh-dialog { border: 0; padding: 0; border-radius: 22px; background: #fff; color: var(--ink); width: min(92vw, 420px); box-shadow: 0 30px 80px rgba(18,17,16,.3); }
.bh-dialog::backdrop { background: rgba(18,17,16,.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.bh-dialog[open] { animation: dlgIn .22s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.bh-dialog-body { margin: 0; padding: 26px 24px 22px; text-align: center; }
.bh-dialog-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--bad-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; }
.bh-dialog h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.bh-dialog p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.bh-dialog-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.bh-dialog-actions .btn { min-width: 120px; }
.btn-danger { background: #c62828; border-color: #c62828; color: #fff; }
.btn-danger:hover { background: #a91f1f; border-color: #a91f1f; }
@media (max-width: 480px) { .bh-dialog { width: calc(100vw - 32px); } .bh-dialog-actions { flex-direction: column-reverse; } .bh-dialog-actions .btn { width: 100%; } }

/* Sticky save bar for long forms (settings) */
.save-bar { grid-column: 1 / -1; position: sticky; bottom: 16px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: 0 12px 32px rgba(18,17,16,.14); }
.save-bar .btn { min-width: 160px; }
@media (max-width: 760px) { .save-bar { bottom: calc(76px + env(safe-area-inset-bottom)); } .save-bar .muted { display: none; } .save-bar .btn { width: 100%; } }

/* ---------- Creator directory (/creators + homepage "Top creators") ---------- */
.hero.hero-sm .wrap { grid-template-columns: 1fr; }
.hero-copy.center { text-align: center; max-width: 720px; margin: 0 auto; }
.dir-search { display: flex; gap: 10px; max-width: 640px; margin: 22px auto 0; }
.dir-search input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 16px; }
.dir-search input:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 4px var(--honey-soft); }
.dir-search .btn { height: 52px; border-radius: 999px; padding: 0 22px; }
.creator-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .creator-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .creator-grid { grid-template-columns: 1fr 1fr 1fr; } }
.creator-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.creator-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.cc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: var(--line); }
.cc-th { aspect-ratio: 1; background: #f4f1ea; overflow: hidden; }
.cc-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-body { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.cc-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; outline: 3px solid var(--accent, var(--honey)); outline-offset: 2px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; background: var(--accent, var(--honey)); color: var(--ink); margin-top: -42px; border: 3px solid #fff; }
.cc-txt { min-width: 0; }
.cc-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.cc-handle { font-size: 13px; color: var(--muted); margin-top: 1px; }
.cc-bio { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.cc-meta { font-size: 12.5px; font-weight: 700; color: var(--honey-deep); margin-top: 8px; }
.dir-empty { text-align: center; padding: 40px 0 20px; }
.dir-empty .big { font-size: 48px; margin-bottom: 10px; }
.section .dir-search { margin-bottom: 28px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.pager-links { display: inline-flex; align-items: center; gap: 8px; }

/* ===== Owner admin ===== */
.admin-tabs { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: -6px 0 20px; padding-bottom: 2px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { flex: 0 0 auto; padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.admin-tabs a:hover { color: var(--ink); }
.admin-tabs a.on { color: var(--ink); border-bottom-color: var(--honey-deep); }
.admin-tabs .dot-n { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.stat-grid.mini { margin-bottom: 12px; }
.stat-grid.mini .stat { padding: 12px 14px; border-radius: 14px; }
.stat-grid.mini .stat-n { font-size: 22px; }
.stat .up { color: var(--ok); font-weight: 800; }
.stat .down { color: var(--bad); font-weight: 800; }
.warn-t { color: var(--warn); }
.nowrap { flex-wrap: nowrap; }
.card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 18px 0 8px; }
.card.note { background: var(--info-soft); border-color: #cddcff; }
.bars-wrap { color: var(--honey-deep); }
.bars { width: 100%; height: 130px; display: block; }
.bars rect { fill: currentColor; }
.bars rect.z { fill: var(--line); }
.bars rect:hover { fill: var(--ink); }
.alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.alerts li a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 16px; border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--panel-2); border-left: 4px solid var(--line-2); }
.alerts li.al-bad a { background: var(--bad-soft); border-left-color: var(--bad); }
.alerts li.al-warn a { background: var(--warn-soft); border-left-color: var(--warn); }
.alerts li a:hover { filter: brightness(.98); }
.funnel, .hbars { display: flex; flex-direction: column; gap: 10px; }
.fn-row, .hb { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.fn-l, .hb-l { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-t, .hb-t { height: 10px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.fn-t i, .hb-t i { display: block; height: 100%; background: var(--honey); border-radius: 999px; }
.fn-n, .hb-n { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; min-width: 44px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.feed li:last-child { border-bottom: 0; }
.fd-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fd-k { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 6px; background: var(--panel-2); color: var(--muted); }
.fd-store { background: var(--honey-soft); color: #8a5a00; }
.fd-signup { background: var(--sky); color: #1d4f91; }
.fd-product { background: var(--mint); color: #17663a; }
.fd-stripe { background: var(--lilac); color: #4b3aa8; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.hours span { height: 28px; border-radius: 4px; background: var(--honey-deep); }
.quick-links .btn { margin: 0; }

/* ===== Shop codes (SUMI4) ===== */
.pcode { display: inline-flex; align-items: center; font: 800 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; padding: 4px 7px; border-radius: 7px; background: var(--ink); color: #fff; border: 0; vertical-align: 2px; cursor: pointer; }
.pcode:hover { background: var(--honey-deep); color: var(--ink); }
.shopper-find { display: block; max-width: 460px; margin: 0 0 22px; padding: 10px 12px 12px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-sm); }
.shopper-find .sf-l { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px 2px; }
.shopper-find .sf-row { display: flex; gap: 8px; }
.shopper-find input { flex: 1; min-width: 0; border: 0; background: var(--panel-2); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 700; letter-spacing: .03em; }
.find { padding: 40px 0 64px; }
.find .wrap { max-width: 640px; }
.find-box label { display: block; font-weight: 800; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.02em; margin-bottom: 12px; }
.find-row { display: flex; gap: 10px; }
.find-row input { flex: 1; min-width: 0; font-size: 18px; font-weight: 800; letter-spacing: .04em; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; }
.find-result { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.find-card { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
@media (min-width: 560px) { .find-card { grid-template-columns: 240px 1fr; } }
.find-img { position: relative; aspect-ratio: 1; background: var(--panel-2); display: flex; align-items: center; justify-content: center; }
.find-img img { width: 100%; height: 100%; object-fit: cover; }
.find-img .pcode { position: absolute; top: 10px; left: 10px; font-size: 13px; }
.find-img .noimg { font-size: 48px; }
.find-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.find-title { font-weight: 800; font-size: 20px; line-height: 1.25; }
.find-promo b { font-family: ui-monospace, monospace; background: var(--honey-soft); padding: 2px 6px; border-radius: 6px; }
.find-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.find-price { font-weight: 800; font-size: 20px; }
.find-store { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); }
.find-store img, .find-store .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; background: var(--honey-soft); font-weight: 800; }
.find-store span { display: flex; flex-direction: column; min-width: 0; }
.find-store small { color: var(--muted); font-size: 13px; }
.find-creators { display: flex; flex-direction: column; gap: 10px; }
.find-h { font-size: 18px; margin: 26px 0 12px; }
.find-msg { margin-top: 26px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.find-msg h2 { font-size: 20px; margin: 0 0 6px; }
.find-foot-note { margin-top: 30px; }
