/* SparrowBell Connect – public website */
:root {
  --v900: #170b52; --v800: #22107a; --v700: #2a1590; --v600: #3a21a3; --v500: #5a3fd0; --v100: #efeafe; --v50: #f7f4ff;
  --gold: #f6b500; --gold2: #ffd65a; --coral: #ff5a36; --mint: #12b886; --sky: #1c9bef;
  --ink: #17132b; --ink2: #4d4867; --mut: #8a85a3; --line: #e9e6f3; --bg: #f6f5fb; --card: #fff;
  --r: 18px; --r2: 12px; --sh: 0 1px 2px rgba(23,11,82,.06), 0 8px 24px -10px rgba(23,11,82,.18); --sh2: 0 24px 60px -20px rgba(23,11,82,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
main { min-height: 70vh; outline: none; }
[hidden] { display: none !important; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(1200px 600px at 50% 120%, #5a3fd0 0%, transparent 60%), linear-gradient(160deg, #170b52, #2a1590 60%, #3a21a3);
  transition: opacity .6s var(--ease), visibility .6s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro-mark { width: 92px; height: 92px; border-radius: 26px; background: #fff; display: grid; place-items: center; box-shadow: 0 30px 80px -20px #000;
  animation: pop .7s var(--ease) both; }
.intro-mark svg { width: 64px; height: 64px; }
.intro-b { fill: var(--v600); stroke: none; }
.intro-s { stroke: #fff; stroke-width: 6; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .9s .35s var(--ease) forwards; }
.intro-word { color: #fff; text-align: center; animation: rise .7s .25s var(--ease) both; }
.intro-word b { display: block; font-size: 30px; letter-spacing: -.5px; }
.intro-word span { display: block; font-size: 13px; letter-spacing: 8px; text-transform: uppercase; color: var(--gold2); margin-top: 2px; }
@keyframes pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

.demo-ribbon { position: sticky; top: 0; z-index: 60; background: repeating-linear-gradient(45deg, #ffb000 0 14px, #ffc233 14px 28px); color: #2a1a00;
  text-align: center; font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.demo .top { top: 26px; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.logo img { height: 30px; width: auto; }
.logo-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--gold), #ff8a00); padding: 3px 8px; border-radius: 99px; }
.loc { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; color: var(--ink); font-weight: 600; font-size: 14px; flex: none; max-width: 190px; }
.loc svg { width: 18px; height: 18px; color: var(--coral); }
.loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc i { font-style: normal; color: var(--mut); font-size: 11px; }
.search { position: relative; flex: 1; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding-left: 12px; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.search:focus-within { border-color: var(--v500); box-shadow: 0 0 0 4px rgba(90,63,208,.12); }
.search > svg { width: 19px; height: 19px; color: var(--mut); }
.search input { flex: 1; border: 0; outline: 0; padding: 11px 10px; font: inherit; font-size: 15px; background: transparent; min-width: 0; }
.search-go { border: 0; background: linear-gradient(135deg, var(--v600), var(--v500)); color: #fff; font-weight: 700; padding: 0 18px; height: 40px; margin: 3px; border-radius: 11px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 16px; box-shadow: var(--sh2); padding: 8px; max-height: 420px; overflow: auto; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.suggest a:hover, .suggest a.on { background: var(--v50); }
.suggest small { display: block; color: var(--mut); font-size: 12px; }
.suggest .sg-h { font-size: 11px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: 1px; padding: 8px 10px 4px; }
.top-nav { display: flex; align-items: center; gap: 4px; flex: none; }
.tn { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink2); padding: 6px 10px; border-radius: 10px; }
.tn:hover { background: var(--v50); color: var(--v600); }
.tn svg { width: 21px; height: 21px; }
.btn-join { background: linear-gradient(135deg, var(--gold), #ff9500); color: #2a1a00; font-weight: 800; padding: 10px 18px; border-radius: 12px; margin-left: 6px; box-shadow: 0 8px 20px -10px #ff9500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 12px; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh); }
.btn svg { width: 18px; height: 18px; }
.btn.pri { background: linear-gradient(135deg, var(--v600), var(--v500)); color: #fff; border-color: transparent; }
.btn.gold { background: linear-gradient(135deg, var(--gold), #ff9500); color: #2a1a00; border-color: transparent; }
.btn.wa { background: #1faa59; color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link { color: var(--v600); font-weight: 700; }

/* ---------- Sections ---------- */
.sec { padding: 26px 0 6px; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { margin: 0; font-size: 22px; letter-spacing: -.4px; }
.sec-h p { margin: 3px 0 0; color: var(--mut); font-size: 14px; }
.sec-h .link { font-size: 14px; white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--coral); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Offer strip (very top) ---------- */
.ostrip { background: linear-gradient(90deg, #ff5a36, #ff8a00 50%, #f6b500); color: #fff; overflow: hidden; }
.ostrip-in { display: flex; gap: 40px; padding: 9px 0; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
.ostrip a { font-weight: 700; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; }
.ostrip a b { background: rgba(0,0,0,.18); padding: 2px 8px; border-radius: 99px; font-size: 11px; }
.ostrip:hover .ostrip-in { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.65fr 1fr; gap: 14px; padding-top: 18px; }
.slides { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; box-shadow: var(--sh); }
.slide { position: absolute; inset: 0; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); background-size: cover; background-position: center; }
.slide.on { opacity: 1; transform: none; z-index: 1; }
.slide h2 { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.08; margin: 0 0 10px; letter-spacing: -1px; max-width: 560px; text-wrap: balance; }
.slide p { margin: 0 0 18px; opacity: .9; max-width: 480px; font-size: 15.5px; }
.slide .btn { align-self: flex-start; }
.slide::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.th-violet { background: radial-gradient(500px 300px at 85% 10%, rgba(255,214,90,.45), transparent 60%), radial-gradient(600px 400px at 0% 100%, #5a3fd0, transparent 60%), linear-gradient(135deg, #170b52, #3a21a3); }
.th-gold { background: radial-gradient(500px 300px at 90% 0%, rgba(255,255,255,.5), transparent 60%), linear-gradient(135deg, #ff9500, #f6b500 55%, #ffd65a); color: #2a1a00 !important; }
.th-night { background: radial-gradient(400px 300px at 80% 20%, rgba(28,155,239,.6), transparent 60%), linear-gradient(135deg, #0b1020, #1a2350); }
.th-teal { background: radial-gradient(400px 300px at 90% 10%, rgba(255,255,255,.35), transparent 60%), linear-gradient(135deg, #0b6b5c, #12b886); }
.th-coral { background: radial-gradient(400px 300px at 90% 10%, rgba(255,214,90,.6), transparent 60%), linear-gradient(135deg, #c2185b, #ff5a36); }
.th-rose { background: radial-gradient(400px 300px at 90% 10%, rgba(255,255,255,.4), transparent 60%), linear-gradient(135deg, #7b1fa2, #d63f8c); }
.th-gold .btn.pri { background: #170b52; }
.slide-art { position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); pointer-events: none; }
.dots { position: absolute; z-index: 3; right: 22px; bottom: 22px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .3s; }
.dots button.on { width: 26px; background: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hs { border-radius: 20px; padding: 20px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 140px; box-shadow: var(--sh); transition: transform .3s var(--ease); }
.hs:hover { transform: translateY(-3px); }
.hs b { font-size: 19px; letter-spacing: -.3px; }
.hs small { opacity: .85; font-size: 13px; margin-top: 3px; }
.hs .big { position: absolute; right: 16px; top: 12px; font-size: 44px; font-weight: 800; opacity: .95; letter-spacing: -2px; }
.hs-1 { background: linear-gradient(135deg, #ff5a36, #ff9500); }
.hs-2 { background: linear-gradient(135deg, #0b6b5c, #12b886); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.stat { background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh); }
.stat i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--v100); color: var(--v600); }
.stat b { display: block; font-size: 22px; letter-spacing: -.5px; }
.stat small { color: var(--mut); font-size: 12.5px; font-weight: 600; }

/* ---------- Category grid ---------- */
.cats { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 6px 12px; border-radius: 16px; background: #fff; box-shadow: var(--sh); transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.cat .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.cat .ic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 50%); }
.cat .ic svg { width: 26px; height: 26px; stroke-width: 1.9; position: relative; z-index: 1; }
.cat b { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.cat small { font-size: 11px; color: var(--mut); font-weight: 600; }
.cat.more .ic { background: var(--v100); color: var(--v600); }

/* ---------- Cards ---------- */
.ocard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.ocard:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.ocard .oimg { aspect-ratio: 4/3; background: var(--v100); position: relative; overflow: hidden; }
.ocard .oimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ocard:hover .oimg img { transform: scale(1.06); }
.ocard .otag { position: absolute; left: 10px; top: 10px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 99px; letter-spacing: .3px; }
.ocard .okm { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; backdrop-filter: blur(6px); }
.ocard .obody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ocard b { font-size: 15px; line-height: 1.25; }
.ocard small { color: var(--mut); font-size: 12.5px; }
.ocard .ofoot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink2); font-weight: 600; }
.art { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.art::before { content: ''; position: absolute; width: 160%; height: 160%; background: repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,.08) 0 2px, transparent 2px 22px); }
.art span { font-size: 40px; font-weight: 800; letter-spacing: -2px; position: relative; text-shadow: 0 6px 20px rgba(0,0,0,.25); }
.art svg { position: absolute; right: 12px; bottom: 10px; width: 34px; height: 34px; opacity: .55; }
.art.off span { font-size: 22px; letter-spacing: -.3px; padding: 0 18px; text-align: center; line-height: 1.15; }

.vcard { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; display: flex; flex-direction: column; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.vcard .vtop { height: 92px; position: relative; }
.vcard .vav { position: absolute; left: 14px; bottom: -26px; width: 60px; height: 60px; border-radius: 16px; border: 3px solid #fff; overflow: hidden; background: var(--v100); box-shadow: var(--sh); }
.vcard .vav img, .vcard .vav .art { width: 100%; height: 100%; object-fit: cover; }
.vcard .vav .art span { font-size: 22px; letter-spacing: -1px; }
.vcard .vbody { padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vcard b { font-size: 15px; }
.vcard small { color: var(--mut); font-size: 12.5px; }
.rate { display: inline-flex; align-items: center; gap: 4px; background: #1f9d55; color: #fff; font-weight: 800; font-size: 12px; padding: 2px 7px; border-radius: 7px; }
.rate.none { background: var(--v100); color: var(--v600); }
.rk { position: absolute; right: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--v700); font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 99px; }
.rk.g1 { background: linear-gradient(135deg, #ffd65a, #f6b500); color: #3a2600; }

.pcard { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 18px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; transition: transform .25s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard .pav { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; padding: 3px; background: conic-gradient(var(--gold), var(--coral), var(--v500), var(--gold)); }
.pcard .pav > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.pcard .pav .art span { font-size: 24px; }
.pcard b { font-size: 14.5px; }
.pcard small { color: var(--mut); font-size: 12px; }
.lvl { font-size: 11px; font-weight: 800; color: var(--v600); background: var(--v100); padding: 3px 9px; border-radius: 99px; }

/* reels rail */
.reel-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9/16; background: #111; box-shadow: var(--sh); color: #fff; display: block; transition: transform .25s var(--ease); }
.reel-card:hover { transform: translateY(-4px) scale(1.01); }
.reel-card img, .reel-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.8)); }
.reel-card .rc-t { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; }
.reel-card .rc-t b { display: block; font-size: 14px; line-height: 1.25; }
.reel-card .rc-t small { opacity: .85; font-size: 12px; }
.reel-card .rc-play { position: absolute; z-index: 2; top: 10px; right: 10px; display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; background: rgba(0,0,0,.45); padding: 4px 8px; border-radius: 99px; backdrop-filter: blur(6px); }
.reel-card .rc-play svg { width: 12px; height: 12px; fill: #fff; stroke: none; }
.rails-reels { grid-auto-columns: minmax(170px, 190px); }

/* chapters teaser */
.chap { border-radius: var(--r); padding: 20px; background: #fff; box-shadow: var(--sh); display: flex; gap: 14px; align-items: center; transition: transform .25s var(--ease); }
.chap:hover { transform: translateY(-3px); }
.chap .cl { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: none; background: linear-gradient(135deg, var(--v600), var(--v500)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.chap .cl img { width: 100%; height: 100%; object-fit: cover; }
.chap > span:nth-child(2) { flex: 1; min-width: 0; }
.chap b { display: block; font-size: 15.5px; }
.chap small { color: var(--mut); font-size: 12.5px; display: block; }
.chap .lock { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--v600); background: var(--v100); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.chap .lock svg { width: 14px; height: 14px; }

.cta-band { margin: 34px 0 10px; border-radius: 28px; padding: 36px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(246,181,0,.5), transparent 60%), linear-gradient(135deg, #170b52, #3a21a3); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; letter-spacing: -.8px; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.step i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--v600), var(--v500)); margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink2); font-size: 14px; }

/* ---------- Search / listing ---------- */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--mut); padding: 18px 0 6px; }
.crumbs a { color: var(--v600); font-weight: 600; }
.lhead { display: flex; align-items: center; gap: 16px; padding: 6px 0 14px; }
.lhead .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; flex: none; }
.lhead .ic svg { width: 30px; height: 30px; }
.lhead h1 { margin: 0; font-size: 26px; letter-spacing: -.6px; }
.lhead p { margin: 2px 0 0; color: var(--mut); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 13px; color: var(--ink2); }
.chip.on { background: var(--v600); color: #fff; border-color: var(--v600); }
.chip.sub { display: inline-flex; gap: 6px; align-items: center; }
.chip.sub em { font-style: normal; font-size: 11px; color: var(--mut); }
.chip.on em { color: #d9d2ff; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.sel { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.count { margin-left: auto; color: var(--mut); font-size: 13.5px; font-weight: 600; }
.lgrid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.lrow { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 14px; display: grid; grid-template-columns: 170px 1fr; gap: 16px; margin-bottom: 14px; transition: box-shadow .25s; }
.lrow:hover { box-shadow: var(--sh2); }
.lrow .lph { border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--v100); }
.lrow .lph img, .lrow .lph .art { width: 100%; height: 100%; object-fit: cover; }
.lrow h3 { margin: 0; font-size: 18px; letter-spacing: -.3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--sky); font-size: 11.5px; font-weight: 800; }
.verified svg { width: 15px; height: 15px; fill: var(--sky); stroke: #fff; }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--ink2); font-size: 13px; margin: 6px 0; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mut); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--v50); color: var(--v600); }
.tag.o { background: #fff1ec; color: var(--coral); }
.tag.g { background: #eafaf3; color: #0b7a55; }
.lrow p.ab { margin: 0 0 10px; color: var(--ink2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.side-card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 18px; position: sticky; top: 90px; }
.side-card h3 { margin: 0 0 6px; font-size: 17px; }
.side-card p { margin: 0 0 14px; color: var(--ink2); font-size: 14px; }
.empty { text-align: center; padding: 50px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.empty .em { font-size: 44px; }
.empty h3 { margin: 10px 0 6px; }
.empty p { color: var(--ink2); margin: 0 0 16px; }
.subgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.subc { background: #fff; border-radius: 14px; box-shadow: var(--sh); padding: 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; transition: transform .2s; }
.subc:hover { transform: translateY(-2px); color: var(--v600); }
.subc small { color: var(--mut); font-weight: 600; }

/* ---------- Business page ---------- */
.bhero { position: relative; border-radius: 0 0 32px 32px; overflow: hidden; color: #fff; padding: 40px 0 26px; }
.bhero .bbg { position: absolute; inset: 0; }
.bhero .bbg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,5,40,.15), rgba(10,5,40,.75)); }
.bhero .wrap { position: relative; display: flex; gap: 22px; align-items: flex-end; }
.bav { width: 128px; height: 128px; border-radius: 30px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--sh2); flex: none; background: #fff; }
.bav img, .bav .art { width: 100%; height: 100%; object-fit: cover; }
.bav .art span { font-size: 44px; }
.bhero h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 40px); letter-spacing: -1px; line-height: 1.05; }
.bhero .meta { color: rgba(255,255,255,.9); }
.bhero .meta .dot { background: rgba(255,255,255,.6); }
.bhero .rate { font-size: 14px; padding: 4px 9px; }
.bbar2 { position: sticky; top: 61px; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.demo .bbar2 { top: 87px; }
.bbar2 .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bbar2 a { padding: 14px 14px; font-weight: 700; font-size: 14px; color: var(--ink2); border-bottom: 3px solid transparent; white-space: nowrap; }
.bbar2 a.on { color: var(--v600); border-color: var(--v600); }
.bgrid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; padding-top: 20px; }
.panel { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 20px; margin-bottom: 18px; scroll-margin-top: 130px; }
.panel h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.3px; display: flex; align-items: center; gap: 8px; }
.panel p { color: var(--ink2); line-height: 1.6; margin: 0; white-space: pre-line; }
.svc { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.svc:last-child { border: 0; }
.svc b { font-size: 14.5px; }
.svc small { display: block; color: var(--mut); font-size: 13px; }
.svc .pr { font-weight: 800; color: var(--v600); white-space: nowrap; }
.rv-sum { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; margin-bottom: 14px; }
.rv-big { text-align: center; }
.rv-big b { font-size: 44px; letter-spacing: -2px; display: block; }
.rv-big .stars { color: var(--gold); letter-spacing: 2px; }
.bars div { display: grid; grid-template-columns: 24px 1fr 30px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink2); margin: 4px 0; }
.bars i { display: block; height: 8px; border-radius: 99px; background: var(--v100); overflow: hidden; }
.bars i > u { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #ff9500); border-radius: 99px; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review .who { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.review .who i { width: 34px; height: 34px; border-radius: 50%; background: var(--v100); color: var(--v600); display: grid; place-items: center; font-weight: 800; font-style: normal; }
.review small { color: var(--mut); }
.book-card { position: sticky; top: 130px; }
.book-card .bc { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); padding: 20px; margin-bottom: 14px; }
.book-card h3 { margin: 0 0 4px; }
.book-card p { color: var(--ink2); font-size: 14px; margin: 0 0 14px; }
.book-card .row { display: grid; gap: 8px; }
.joincode { border-radius: var(--r); padding: 18px; color: #fff; background: linear-gradient(135deg, #170b52, #3a21a3); }
.joincode b { display: block; font-size: 16px; }
.joincode small { opacity: .8; }
.joincode .code { font-family: ui-monospace, Menlo, monospace; background: rgba(255,255,255,.15); padding: 4px 10px; border-radius: 8px; display: inline-block; margin: 10px 0; font-weight: 700; letter-spacing: 1px; }
.mapbox { border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #e8f4ff, #f1edff); padding: 16px; display: flex; gap: 12px; align-items: center; }
.mapbox svg { width: 34px; height: 34px; color: var(--coral); }
.mbar { display: none; }

/* skeleton */
.sk { position: relative; overflow: hidden; background: #ebe8f4; border-radius: 12px; }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shim 1.2s infinite; }
@keyframes shim { to { transform: translateX(100%); } }
.sk-hero { height: 240px; border-radius: 0 0 32px 32px; }
.sk-line { height: 14px; margin: 10px 0; }

/* ---------- Reels viewer ---------- */
.rview { position: fixed; inset: 0; z-index: 90; background: #000; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.rview::-webkit-scrollbar { display: none; }
.rslide { height: 100vh; height: 100dvh; scroll-snap-align: start; position: relative; display: grid; place-items: center; }
.rslide video { height: 100%; max-width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #111; }
.rslide .rinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 80px 28px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); max-width: 560px; margin: 0 auto; }
.rslide .rinfo b { font-size: 16px; display: block; }
.rslide .rinfo a.who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; }
.rslide .rinfo a.who .av { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; }
.rslide .rinfo a.who .av > * { width: 100%; height: 100%; object-fit: cover; }
.rslide .rinfo a.who .av .art span { font-size: 15px; }
.rside { position: absolute; right: max(14px, calc(50% - 280px + 14px)); bottom: 110px; display: flex; flex-direction: column; gap: 18px; color: #fff; align-items: center; }
.rside button, .rside a { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(8px); }
.rside span { font-size: 11.5px; font-weight: 700; text-align: center; margin-top: -12px; }
.rside .liked { background: #ff2d55; }
.rclose { position: fixed; z-index: 91; top: 16px; left: 16px; background: rgba(255,255,255,.18); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; backdrop-filter: blur(8px); }
.rmute { position: fixed; z-index: 91; top: 16px; right: 16px; background: rgba(255,255,255,.18); color: #fff; border: 0; padding: 0 14px; height: 44px; border-radius: 99px; font-weight: 700; backdrop-filter: blur(8px); }

/* ---------- Sheet / forms ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(15,8,45,.5); backdrop-filter: blur(4px); z-index: 80; animation: fade .25s; }
.sheet { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--sh2); animation: popin .35s var(--ease); }
.sheet-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--v50); color: var(--ink2); }
.sheet h2 { margin: 0 0 4px; letter-spacing: -.4px; }
.sheet .sub { color: var(--ink2); margin: 0 0 16px; font-size: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes popin { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
.f { display: grid; gap: 12px; }
.f label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.f input, .f textarea, .f select { font: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; outline: 0; background: #fff; color: var(--ink); }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--v500); box-shadow: 0 0 0 4px rgba(90,63,208,.12); }
.f .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--v50); padding: 4px; border-radius: 12px; }
.seg2 button { border: 0; background: transparent; padding: 9px; border-radius: 9px; font-weight: 700; color: var(--ink2); }
.seg2 button.on { background: #fff; color: var(--v600); box-shadow: var(--sh); }
.err { color: #c2334d; font-size: 13.5px; font-weight: 600; min-height: 1em; }
.ok-big { text-align: center; padding: 10px 0; }
.ok-big .tick { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 12px; background: #e6f8ef; color: #12b886; display: grid; place-items: center; animation: pop .5s var(--ease); }
.ok-big .tick svg { width: 40px; height: 40px; stroke-width: 2.6; }
.loclist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.loclist button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; text-align: left; font-weight: 600; }
.loclist button.on { border-color: var(--v600); background: var(--v50); color: var(--v600); }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 30px); background: #17132b; color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 120; max-width: calc(100vw - 30px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Account ---------- */
.acc-hero { background: linear-gradient(135deg, #170b52, #3a21a3); color: #fff; border-radius: 0 0 32px 32px; padding: 30px 0 70px; }
.acc-hero .wrap { display: flex; gap: 18px; align-items: center; }
.acc-hero .bav { width: 84px; height: 84px; border-radius: 24px; }
.acc-hero h1 { margin: 0; font-size: 26px; letter-spacing: -.6px; }
.acc-hero small { opacity: .8; }
.acc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-top: -48px; align-items: start; }
.qrcard { background: #fff; border-radius: 24px; box-shadow: var(--sh2); padding: 22px; text-align: center; }
.qrcard .qr { width: 220px; height: 220px; margin: 10px auto; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.qrcard .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.qrcard .code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 18px; letter-spacing: 2px; color: var(--v600); }
.tabs2 { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 16px; box-shadow: var(--sh); overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.tabs2 button { border: 0; background: transparent; padding: 10px 14px; border-radius: 11px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.tabs2 button.on { background: var(--v600); color: #fff; }
.trow { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border: 0; }
.trow .grow { flex: 1; min-width: 0; }
.trow small { display: block; color: var(--mut); font-size: 12.5px; }
.st { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: var(--v100); color: var(--v600); white-space: nowrap; }
.st.Completed, .st.Closed, .st.Live { background: #e6f8ef; color: #0b7a55; }
.st.Rejected, .st.Cancelled, .st.Hidden { background: #fdecef; color: #c2334d; }
.st.Accepted, .st['In Progress'] { background: #fff4dc; color: #8a5a00; }
.myreels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.myreels .reel-card { aspect-ratio: 9/14; }
.upl { border: 2px dashed var(--line); border-radius: 18px; padding: 22px; text-align: center; background: var(--v50); }
.ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pp { background: #fff; border-radius: 16px; box-shadow: var(--sh); padding: 14px; display: flex; gap: 12px; align-items: center; }
.pp .av { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; flex: none; }
.pp .av > * { width: 100%; height: 100%; object-fit: cover; }
.pp .av .art span { font-size: 18px; }
.pp b { font-size: 14px; display: block; }
.pp small { display: block; color: var(--mut); font-size: 12px; }
.pp .role { font-size: 10.5px; font-weight: 800; color: #8a5a00; background: #fff4dc; padding: 2px 7px; border-radius: 99px; display: inline-block; margin-top: 3px; }
.locked { background: linear-gradient(135deg, #fff, var(--v50)); border-radius: var(--r); padding: 30px; text-align: center; box-shadow: var(--sh); }
.locked svg { width: 46px; height: 46px; color: var(--v600); }

/* ---------- Footer & bottom bar ---------- */
.foot { background: #110838; color: #cfc9ef; margin-top: 50px; padding: 40px 0 90px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand img { height: 34px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.foot-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.foot a { display: block; padding: 4px 0; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot-c { text-align: center; font-size: 12.5px; opacity: .6; margin: 30px 0 0; }
.bbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(6, 1fr); } .tn span { display: none; } }
@media (max-width: 900px) {
  .top-in { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .search { order: 3; flex-basis: 100%; }
  .top-nav .tn:not(.acct), .btn-join { display: none; }
  .loc { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .lgrid, .bgrid, .acc-grid { grid-template-columns: 1fr; }
  .side-card, .book-card { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 26px; }
  .cta-band .ctas { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .bbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--mut); }
  .bbar a.on { color: var(--v600); }
  .bbar .bb-reel span { width: 46px; height: 46px; margin-top: -22px; border-radius: 16px; background: linear-gradient(135deg, var(--coral), var(--gold)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px var(--coral); }
  .bbar .bb-reel svg { fill: #fff; stroke: none; }
  .bbar2 { top: 108px; } .demo .bbar2 { top: 134px; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 65; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.3); }
  .mbar .btn { flex: 1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .logo img { height: 24px; }
  .loc { max-width: 140px; padding: 8px 10px; font-size: 13px; }
  .slides { min-height: 260px; border-radius: 20px; }
  .slide { padding: 22px; }
  .hs { min-height: 116px; padding: 16px; }
  .hs .big { font-size: 32px; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat { padding: 10px 2px; border-radius: 14px; }
  .cat .ic { width: 44px; height: 44px; border-radius: 14px; }
  .cat .ic svg { width: 22px; height: 22px; }
  .cat b { font-size: 11px; }
  .cat small { display: none; }
  .rail { grid-auto-columns: 78%; }
  .rails-reels { grid-auto-columns: 42%; }
  .lrow { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .lrow h3 { font-size: 16px; }
  .lrow p.ab { display: none; }
  .bhero .wrap { flex-direction: column; align-items: flex-start; }
  .bav { width: 96px; height: 96px; border-radius: 24px; }
  .rv-sum { grid-template-columns: 1fr; }
  .f .two { grid-template-columns: 1fr; }
  .sheet { top: auto; bottom: 0; transform: translateX(-50%); border-radius: 24px 24px 0 0; width: 100vw; max-height: 90vh; padding-bottom: calc(26px + env(safe-area-inset-bottom)); animation: up .35s var(--ease); }
  @keyframes up { from { transform: translate(-50%, 100%); } }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .ostrip-in { animation: none; }
}

/* Keep every grid inside the screen on phones (rails and long words must not widen the page) */
html, body { overflow-x: clip; max-width: 100%; }
.hero, .lgrid, .bgrid, .acc-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.lgrid { grid-template-columns: minmax(0, 1fr) 320px; } .bgrid { grid-template-columns: minmax(0, 1fr) 340px; } .acc-grid { grid-template-columns: 340px minmax(0, 1fr); }
.cats { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero, .lgrid, .bgrid, .acc-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .top-in > * { min-width: 0; }
}
@media (max-width: 560px) { .stat { padding: 12px; } .stat i { width: 36px; height: 36px; } .stat b { font-size: 19px; } .hs b { font-size: 16px; } .sec-h h2 { font-size: 19px; } .lhead h1 { font-size: 21px; } }
