/* =========================================
   benim.li — Design System
   ========================================= */

/* --- 1. Design Tokens --- */
:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --primary-muted: #99F6E4;
  --primary-ink: #134E4A;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --amber-light: #FEF3C7;
  --amber-ink: #78350F;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --canvas: #FFFFFF;
  --surface: #F8FAFC;
  --surface-muted: #F1F5F9;
  --ink: #0F172A;
  --body: #334155;
  --muted: #64748B;
  --placeholder: #94A3B8;
  --hairline: #E2E8F0;
  --hairline-soft: #F1F5F9;
  --success: #16A34A;
  --error: #DC2626;
  --shadow-card: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-card-hover: 0 4px 12px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-dropdown: 0 8px 24px rgba(15,23,42,0.12), 0 2px 6px rgba(15,23,42,0.06);
  --shadow-modal: 0 20px 60px rgba(15,23,42,0.20), 0 8px 20px rgba(15,23,42,0.10);
  --shadow-sticky: 0 2px 8px rgba(15,23,42,0.08);
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'DM Sans', sans-serif; color: var(--body); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- 3. Body Page Variants --- */
body.body-landing  { background: var(--canvas); }
body.body-profile  { background: var(--surface); }
body.body-dashboard { background: var(--surface); height: 100vh; overflow: hidden; }
body.body-form { background: var(--surface); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; }

/* --- 4. Animations --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse  { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* --- 5. Button System --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.08px; transition: all 150ms ease; white-space: nowrap; cursor: pointer; border: none; font-family: inherit; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-card-hover); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { border-color: var(--primary-muted); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }

/* --- 6. Shared Typography --- */
.display-xl { font-family: 'Bricolage Grotesque', sans-serif; font-size: 64px; font-weight: 700; line-height: 1.02; letter-spacing: -1.6px; color: var(--ink); }
.display-lg { font-family: 'Bricolage Grotesque', sans-serif; font-size: 44px; font-weight: 700; line-height: 1.08; letter-spacing: -0.88px; color: var(--ink); }
.display-md { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.42px; color: var(--ink); }
.body-lg { font-size: 19px; line-height: 1.55; color: var(--body); }
.caption { font-size: 13px; font-weight: 500; color: var(--muted); }

/* --- 7. Logo / Brand --- */
.logo { display: inline-flex; align-items: center; gap: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; font-family: 'Bricolage Grotesque', sans-serif; margin-right: 8px; }
.logo-dot { color: var(--primary); }


/* =========================================
   LANDING PAGE
   ========================================= */

/* Topnav */
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--hairline-soft); height: 64px; }
.topnav-inner { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: all 150ms ease; }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(13,148,136,0.18) 1px, transparent 0); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 70%); opacity: 0.5; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 9999px; background: #fff; border: 1px solid var(--hairline); font-size: 13px; font-weight: 500; color: var(--body); margin-bottom: 20px; box-shadow: var(--shadow-card); }
.eyebrow-tag { background: var(--primary-light); color: var(--primary-ink); padding: 3px 10px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }
.hero h1 .accent { color: var(--primary); }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--amber-light); z-index: -1; border-radius: 4px; }
.hero-sub { margin: 24px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: inline-flex; }
.avatars span { width: 32px; height: 32px; border-radius: 9999px; border: 2px solid #fff; background: var(--primary-muted); margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--primary-ink); font-family: 'Bricolage Grotesque', sans-serif; }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--amber-light); color: var(--amber-ink); }
.avatars span:nth-child(3) { background: #FCE7F3; color: #9D174D; }
.avatars span:nth-child(4) { background: #DBEAFE; color: #1E40AF; }
.meta-stars { color: var(--amber); letter-spacing: 2px; }

/* Phone Mockup — shared base */
.phone { width: 320px; height: 640px; background: #0F172A; border-radius: 44px; padding: 10px; position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; position: relative; }
.phone-notch { position: absolute; left: 50%; transform: translateX(-50%); background: #0F172A; border-radius: 9999px; z-index: 10; }

/* Landing hero phone */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap .phone { box-shadow: var(--shadow-dropdown), 0 30px 80px rgba(15,23,42,0.20); }
.phone-wrap .phone-screen { background: var(--surface); }
.phone-wrap .phone-notch { top: 18px; width: 96px; height: 26px; }

/* Landing hero phone content */
.profile-page { height: 100%; overflow: hidden; padding-top: 36px; }
.profile-header-bg { height: 90px; background: linear-gradient(135deg, var(--primary-light), #B5E5DD); border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; position: relative; }
.profile-avatar-hero { width: 72px; height: 72px; border-radius: 9999px; background: linear-gradient(135deg, #FDE68A, #F59E0B); border: 3px solid #fff; box-shadow: var(--shadow-card); margin: -36px auto 0; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 26px; color: #fff; position: relative; z-index: 2; }
.profile-name { text-align: center; margin-top: 10px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px; }
.profile-username-text { text-align: center; font-size: 11px; color: var(--muted); margin-top: 2px; }
.profile-bio-text { text-align: center; font-size: 11px; color: var(--body); margin: 8px 16px 0; line-height: 1.4; }
.profile-socials { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.social-pill-sm { width: 28px; height: 28px; border-radius: 9999px; background: var(--surface-muted); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.profile-links { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.p-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 14px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-card); font-size: 12px; font-weight: 600; color: var(--ink); min-height: 44px; }
.p-card-icon { width: 26px; height: 26px; border-radius: 7px; background: var(--surface-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.p-card-wa { background: #F0FDF4; border: 1px solid #BBF7D0; box-shadow: var(--shadow-card-hover); min-height: 48px; }
.p-card-wa .p-card-icon { background: var(--wa); color: #fff; }
.p-card-wa-sub { font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.p-card-commerce { background: var(--amber-light); border: 1px solid #FDE68A; }
.p-card-commerce .p-card-icon { background: var(--amber); color: #fff; }
.p-card-commerce-meta { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--amber-ink); }
.p-card-arrow { margin-left: auto; color: var(--placeholder); font-size: 14px; }
.powered-text { text-align: center; font-size: 9px; color: var(--placeholder); margin-top: 12px; padding-bottom: 14px; }

/* Float decorations */
.float-notif { position: absolute; right: -10px; top: 50px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-dropdown); display: flex; align-items: center; gap: 10px; width: 220px; }
.float-notif .icon { width: 32px; height: 32px; border-radius: 9px; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-notif .t1 { font-size: 12px; font-weight: 600; color: var(--ink); }
.float-notif .t2 { font-size: 11px; color: var(--muted); }
.float-stat { position: absolute; left: -32px; bottom: 90px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-dropdown); width: 180px; }
.float-stat .label-row { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.float-stat .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1; }
.float-stat .trend { font-size: 11px; font-weight: 600; color: var(--success); margin-top: 4px; }
@media (max-width: 980px) { .float-notif { right: -8px; } .float-stat { left: -8px; } }
@media (max-width: 480px) { .phone { width: 290px; height: 580px; } .float-notif, .float-stat { display: none; } }

/* Logo Cloud */
.logo-cloud { padding: 48px 0; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); background: var(--canvas); }
.logo-cloud-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.48px; color: var(--muted); text-transform: uppercase; margin-bottom: 24px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px; font-family: 'Bricolage Grotesque', sans-serif; color: var(--placeholder); font-size: 22px; font-weight: 600; letter-spacing: -0.5px; opacity: 0.7; }

/* Section Heads */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow { display: inline-block; background: var(--primary-light); color: var(--primary-ink); padding: 4px 12px; border-radius: 9999px; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; margin-bottom: 16px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--body); }

/* Feature Rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; } .feature-row.reverse { direction: ltr; } }
.feature-text .display-md { margin-bottom: 16px; }
.feature-text p { font-size: 17px; color: var(--body); margin-bottom: 24px; }
.feature-bullets { display: flex; flex-direction: column; gap: 12px; }
.feature-bullets li { display: flex; align-items: flex-start; gap: 12px; list-style: none; font-size: 15px; color: var(--body); }
.check { width: 22px; height: 22px; border-radius: 9999px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 12px; font-weight: 700; }
.visual { background: var(--surface); border-radius: 24px; padding: 32px; border: 1px solid var(--hairline-soft); position: relative; overflow: hidden; }
.visual.wa-bg { background: linear-gradient(180deg, #F0FDF4 0%, #ECFDF3 100%); border-color: #BBF7D0; }
.visual.amber-bg { background: linear-gradient(180deg, var(--amber-light) 0%, #FDF8E5 100%); border-color: #FDE68A; }

/* WhatsApp Mock */
.wa-mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; max-width: 380px; margin: 0 auto; }
.wa-head { background: var(--wa); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.wa-head-avatar { width: 36px; height: 36px; border-radius: 9999px; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Bricolage Grotesque', sans-serif; }
.wa-head-name { font-size: 14px; font-weight: 600; }
.wa-head-sub { font-size: 11px; opacity: 0.85; }
.wa-body { padding: 16px; background: #ECE5DD; display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.wa-msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; color: var(--ink); box-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.wa-msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.wa-msg.out { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 2px; }
.wa-msg .time { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; text-align: right; }

/* Analytics Card */
.analytics-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); border: 1px solid var(--hairline-soft); }
.analytics-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.stat-mini .label-row { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.stat-mini .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.7px; }
.stat-mini .trend { font-size: 12px; font-weight: 600; margin-top: 4px; }
.trend.up { color: var(--success); }
.trend.flat { color: var(--muted); }
.bar-list { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.bar-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); font-weight: 500; }
.bar-track { grid-column: 1 / -1; height: 8px; background: var(--primary-light); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.bar-count { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Product Cards */
.product-card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; border: 1px solid var(--hairline-soft); }
.product-card:last-child { margin-bottom: 0; }
.product-thumb { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, var(--amber-light), #FDE68A); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.product-thumb.t2 { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.product-thumb.t3 { background: linear-gradient(135deg, var(--primary-light), var(--primary-muted)); }
.product-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.product-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.product-price { margin-left: auto; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 700; color: var(--amber-ink); }
.badge-new { display: inline-block; padding: 2px 8px; background: var(--amber-light); color: var(--amber-dark); border-radius: 9999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; margin-left: 6px; }

/* Link Stack Feature Visual */
.links-stack { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.l-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-card); font-size: 14px; font-weight: 600; color: var(--ink); transition: all 200ms ease; }
.l-card:hover { transform: translateY(-2px); border-color: var(--primary-muted); box-shadow: var(--shadow-card-hover); }
.l-card .icon { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.l-card .drag { margin-left: auto; color: var(--placeholder); font-size: 16px; cursor: grab; }
.l-card.wa { background: #F0FDF4; border-color: #BBF7D0; }
.l-card.wa .icon { background: var(--wa); color: #fff; }
.l-card.commerce { background: var(--amber-light); border-color: #FDE68A; color: var(--amber-ink); }
.l-card.commerce .icon { background: var(--amber); color: #fff; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }
.plan { background: #fff; border: 1px solid var(--hairline); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.plan-featured { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-dropdown); position: relative; transform: scale(1.02); }
.plan-featured .plan-name, .plan-featured .plan-desc, .plan-featured .price-amount, .plan-featured .price-suffix { color: #fff; }
.plan-featured .feat li { color: rgba(255,255,255,0.92); }
.plan-featured .check { background: rgba(255,255,255,0.2); color: #fff; }
.plan-tag { position: absolute; top: -12px; right: 24px; background: var(--amber); color: var(--amber-ink); padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }
.plan-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); }
.plan-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.price-amount { font-family: 'Bricolage Grotesque', sans-serif; font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -1.1px; }
.price-suffix { font-size: 14px; color: var(--muted); }
.feat { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feat li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body); }
.plan .btn { width: 100%; }
.plan-featured .btn-amber { background: #fff; color: var(--primary-ink); }
.plan-featured .btn-amber:hover { background: var(--amber); color: var(--amber-ink); }

/* CTA Band */
.cta-band { background: var(--primary); border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; margin: 96px auto; max-width: 1100px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-ink); }
.cta-band .btn-primary:hover { background: var(--primary-light); }
.cta-band .btn-ghost { color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 768px) { .cta-band { padding: 48px 24px; margin: 64px 16px; border-radius: 20px; } }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 64px 0 32px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--hairline); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.48px; color: var(--ink); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--ink); }
.footer-col p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 9999px; background: #fff; border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 150ms ease; }
.footer-socials a:hover { color: var(--primary); border-color: var(--primary-muted); background: var(--primary-light); }

/* Landing Animations */
.fade-up { animation: fadeUp 500ms ease-out backwards; }
.fade-up.d1 { animation-delay: 80ms; }
.fade-up.d2 { animation-delay: 160ms; }
.fade-up.d3 { animation-delay: 240ms; }

/* Landing Responsive Typography */
@media (max-width: 768px) {
  .display-xl { font-size: 44px; letter-spacing: -1.1px; }
  .display-lg { font-size: 32px; letter-spacing: -0.6px; }
  .display-md { font-size: 24px; }
}


/* =========================================
   PUBLIC PROFILE PAGE
   ========================================= */
.page { max-width: 480px; margin: 0 auto; background: var(--canvas); min-height: 100vh; padding-bottom: 32px; box-shadow: 0 0 0 1px rgba(15,23,42,0.04); }
.header-bg { height: 140px; background: radial-gradient(circle at 20% 30%, var(--primary-muted) 0%, transparent 50%), radial-gradient(circle at 80% 70%, #FDE68A 0%, transparent 50%), linear-gradient(135deg, var(--primary-light) 0%, #B5E5DD 100%); border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; position: relative; overflow: hidden; }
.header-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(15,23,42,0.06) 1px, transparent 0); background-size: 18px 18px; opacity: 0.5; }
.header-bg[style] { background: none !important; }
.header-actions { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 2; }
.page .icon-btn { width: 40px; height: 40px; border-radius: 9999px; background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: var(--shadow-card); transition: all 150ms ease; border: none; cursor: pointer; }
.page .icon-btn:hover { background: #fff; transform: scale(1.05); }
.page .follow-top-btn { color: #f43f5e !important; overflow: hidden; white-space: nowrap; min-width: 40px; max-width: 40px; padding: 0; gap: 0; width: auto; transition: max-width 280ms cubic-bezier(0.34,1.56,0.64,1), padding 260ms ease, gap 260ms ease, background 150ms ease; transform: none; }
.page .follow-top-btn:hover { max-width: 150px; padding: 0 14px 0 11px; gap: 7px; background: #fff; transform: none; }
.page .follow-top-btn.following { color: #e11d48 !important; }
.page .follow-top-btn.following:hover { background: #fff1f2; }
.page .follow-top-btn .ftxt { font-size: 12px; font-weight: 700; max-width: 0; overflow: hidden; opacity: 0; flex-shrink: 0; white-space: nowrap; transition: max-width 260ms ease, opacity 130ms ease 80ms; }
.page .follow-top-btn:hover .ftxt { max-width: 120px; opacity: 1; }
.hf-group { display: flex; align-items: center; gap: 6px; }
.hf-count { font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); padding: 3px 9px; border-radius: 9999px; box-shadow: var(--shadow-card); }
.hf-own-heart { cursor: default !important; pointer-events: none; }
.avatar-wrap { position: relative; width: 112px; margin: -56px auto 0; }
.avatar { width: 112px; height: 112px; border-radius: 9999px; background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%); border: 4px solid #fff; box-shadow: var(--shadow-card-hover); display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 40px; color: #fff; letter-spacing: -1px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.name { text-align: center; margin-top: 14px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pro-badge { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 9999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; font-family: 'DM Sans', sans-serif; }
.username { text-align: center; margin: 4px auto 0; background: var(--surface); color: var(--muted); padding: 4px 10px; border-radius: 9999px; font-size: 13px; font-weight: 500; width: fit-content; }
.bio { text-align: center; margin: 12px 24px 0; font-size: 14px; color: var(--body); line-height: 1.55; }
.socials { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; padding: 0 20px; }
.social { width: 38px; height: 38px; border-radius: 9999px; background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all 150ms ease; }
.social:hover { background: var(--primary-light); color: var(--primary); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.stack { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.wa-btn { background: var(--wa); color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: all 150ms ease; }
.wa-btn:hover { background: var(--wa-dark); transform: translateY(-1px); }
.wa-btn .ic { font-size: 24px; flex-shrink: 0; display: flex; align-items: center; }
.wa-btn .t1 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.wa-btn .t2 { font-size: 12px; opacity: 0.9; margin-top: 2px; }
.tg-btn { background: #2AABEE; color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: all 150ms ease; }
.tg-btn:hover { background: #1a9bde; transform: translateY(-1px); }
.tg-btn .ic { font-size: 24px; flex-shrink: 0; display: flex; align-items: center; }
.tg-btn .t1 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.tg-btn .t2 { font-size: 12px; opacity: 0.9; margin-top: 2px; }
.link-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 14px; padding: 14px 16px; min-height: 60px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-card); transition: all 150ms ease; }
.link-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-muted); }
.link-card.commerce { background: var(--amber-light); border: 1px solid #FDE68A; }
.link-card .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
.link-card .t1 { font-size: 15px; font-weight: 600; color: var(--ink); }
.link-card.commerce .t1 { color: var(--amber-ink); }
.link-card .t2 { font-size: 12px; color: var(--muted); margin-top: 1px; }
.link-card .arr { margin-left: auto; color: var(--placeholder); font-size: 18px; }
.link-card .price { margin-left: auto; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 700; color: var(--amber-ink); }
.pwd {
  text-align: center; margin: 28px 16px 0;
}
.pwd a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 13.5px; font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: background 150ms, box-shadow 150ms;
  box-shadow: 0 2px 8px rgba(13,148,136,0.30);
}
.pwd a:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(13,148,136,0.40);
}
.profile-legal-links {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 2px; padding: 10px 16px 4px; text-align: center;
}
.profile-legal-links a {
  font-size: 11px; font-weight: 500; color: var(--placeholder);
  text-decoration: none; padding: 2px 4px; border-radius: 4px;
  transition: color 150ms;
}
.profile-legal-links a:hover { color: var(--muted); }
.profile-legal-links .pll-sep { font-size: 11px; color: var(--hairline); }
.report {
  font-size: 11px; font-weight: 500; color: var(--placeholder);
  background: none; border: none; padding: 2px 4px; border-radius: 4px;
  cursor: pointer; font-family: inherit;
  transition: color 150ms;
}
.report:hover { color: #DC2626; }

/* =====================================================================
   PROFILE LAYOUT VARIANTS
   ===================================================================== */

/* Layout 01 — Tam Ekran (full bleed) */
.pg-l01-hero { position:relative; height:320px; background:var(--primary-light); background-size:cover; background-position:center 25%; overflow:hidden; }
.pg-l01-scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,0.75) 100%); z-index:1; }
.pg-l01-hero .header-actions { position:absolute; top:16px; left:16px; right:16px; z-index:3; }
.pg-l01-bottom { position:absolute; bottom:0; left:0; right:0; padding:40px 20px 20px; z-index:2; }
.pg-l01-handle { display:inline-block; background:rgba(255,255,255,0.18); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,0.22); padding:3px 10px; border-radius:999px; font-size:12px; font-weight:500; color:#fff; margin-bottom:6px; }
.pg-l01-name { font-family:'Bricolage Grotesque',sans-serif; font-size:26px; font-weight:700; letter-spacing:-0.5px; color:#fff; text-shadow:0 1px 8px rgba(0,0,0,0.3); display:flex; align-items:center; gap:8px; }
.pg-l01-bio { font-size:13px; color:rgba(255,255,255,0.85); margin-top:6px; line-height:1.5; }

/* Layout 04 — Sağ Hizalı (right-aligned editorial) */
.pg-l04-band { position:relative; padding:72px 20px 24px; }
.pg-l04-band .header-actions { position:absolute; top:16px; left:16px; right:16px; }
.pg-l04-row { display:flex; align-items:flex-end; gap:16px; flex-direction:row-reverse; }
.pg-l04-avatar .avatar { width:96px; height:96px; font-size:34px; flex-shrink:0; }
.pg-l04-text { flex:1; text-align:right; padding-bottom:4px; min-width:0; }
.pg-l04-name { font-family:'Bricolage Grotesque',sans-serif; font-size:22px; font-weight:700; color:#fff; letter-spacing:-0.4px; text-shadow:0 1px 6px rgba(0,0,0,0.2); display:flex; align-items:center; justify-content:flex-end; gap:6px; }
.pg-l04-handle { font-size:12px; color:rgba(255,255,255,0.85); margin-top:3px; }
.pg-l04-tagline { font-size:12px; color:rgba(255,255,255,0.9); margin-top:6px; line-height:1.45; }
.pg-l07-band { position:relative; padding:72px 20px 24px; }
.pg-l07-band .header-actions { position:absolute; top:16px; left:16px; right:16px; }
.pg-l07-row { display:flex; align-items:flex-end; gap:16px; flex-direction:row; }
.pg-l07-avatar .avatar { width:96px; height:96px; font-size:34px; flex-shrink:0; }
.pg-l07-text { flex:1; text-align:left; padding-bottom:4px; min-width:0; }
.pg-l07-name { font-family:'Bricolage Grotesque',sans-serif; font-size:22px; font-weight:700; color:#fff; letter-spacing:-0.4px; text-shadow:0 1px 6px rgba(0,0,0,0.2); display:flex; align-items:center; justify-content:flex-start; gap:6px; }
.pg-l07-handle { font-size:12px; color:rgba(255,255,255,0.85); margin-top:3px; }
.pg-l07-tagline { font-size:12px; color:rgba(255,255,255,0.9); margin-top:6px; line-height:1.45; }

/* Layout 05 — Yarım (half-split photo) */
.pg-l05-photo { position:relative; height:240px; background:var(--primary-light); background-size:cover; background-position:center 20%; overflow:hidden; }
.pg-l05-scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,0.65) 100%); z-index:1; }
.pg-l05-photo .header-actions { position:absolute; top:16px; left:16px; right:16px; z-index:3; }
.pg-l05-overlay { position:absolute; bottom:14px; left:16px; right:16px; z-index:2; }
.pg-l05-handle { display:inline-block; background:rgba(255,255,255,0.18); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,0.22); padding:2px 8px; border-radius:999px; font-size:11px; font-weight:500; color:#fff; margin-bottom:4px; }
.pg-l05-name { font-family:'Bricolage Grotesque',sans-serif; font-size:22px; font-weight:700; color:#fff; letter-spacing:-0.4px; text-shadow:0 1px 8px rgba(0,0,0,0.35); display:flex; align-items:center; gap:6px; }

/* Layout 06 — Kapak (cover banner + avatar) */
.pg-l06-cover { position:relative; height:150px; background:var(--primary-light); background-size:cover; background-position:center; overflow:hidden; }
.pg-l06-cover .header-actions { position:absolute; top:16px; left:16px; right:16px; }
.pg-l06-av-row { display:flex; align-items:flex-end; padding:0 16px; margin-top:-40px; position:relative; z-index:2; }
.pg-l06-avatar .avatar { border:4px solid #fff; width:80px; height:80px; font-size:28px; }
.pg-l06-text { padding:10px 20px 0; }
.pg-l06-text .name { text-align:left; justify-content:flex-start; font-size:20px; }
.pg-l06-text .username { text-align:left; margin-left:0; }
.pg-l06-text .bio { text-align:left; margin-left:0; margin-right:0; }

/* =====================================================================
   LAYOUT PICKER (design_settings) — phone mockup strip
   ===================================================================== */
/* Strip container */
.dsl-strip { display:flex; gap:10px; overflow-x:auto; padding:4px 0 8px; scrollbar-width:thin; }

/* Each option card — the CARD itself is the indicator, not just the phone inside */
.dsl-opt { flex-shrink:0; display:flex; flex-direction:column; align-items:center; gap:8px; border:2px solid var(--hairline); background:var(--surface-muted); cursor:pointer; padding:10px 8px 9px; border-radius:16px; }
.dsl-opt:hover { border-color:var(--primary-muted); background:var(--primary-light); }

/* Active — whole card lights up with teal ring + teal fill */
.dsl-opt.active { border-color:var(--primary) !important; background:var(--primary-light) !important; box-shadow:0 0 0 2px var(--primary); }

/* Phone inside the card — no border transition, just static */
.dsl-phone { width:80px; height:140px; border-radius:12px; border:1.5px solid rgba(0,0,0,0.07); overflow:hidden; background:var(--canvas); position:relative; }

/* Checkmark badge — use visibility so layout doesn't shift */
.dsl-check { position:absolute; top:5px; right:5px; width:20px; height:20px; border-radius:50%; background:var(--primary); visibility:hidden; display:flex; align-items:center; justify-content:center; z-index:10; box-shadow:0 2px 6px rgba(13,148,136,0.5); }
.dsl-opt.active .dsl-check { visibility:visible; }
.dsl-check svg { width:11px; height:11px; }

/* Label text */
.dsl-label { font-size:11px; font-weight:700; color:var(--muted); }
.dsl-desc { font-size:10px; color:var(--muted); margin-top:-4px; }
.dsl-opt.active .dsl-label { color:var(--primary-dark); }

/* Shared phone internals */
.dslp-scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,0.72) 100%); z-index:1; }
.dslp-bottom { position:absolute; bottom:0; left:0; right:0; padding:5px 8px 9px; z-index:2; }
.dslp-badge { height:5px; width:38%; background:rgba(255,255,255,0.5); border-radius:3px; margin-bottom:5px; }
.dslp-row { height:6px; border-radius:3px; margin-bottom:4px; }
.dslp-row.big { width:72%; background:rgba(255,255,255,0.92); }
.dslp-row.sm { width:48%; background:rgba(255,255,255,0.6); }
.dslp-row.ink { background:var(--ink); opacity:0.18; }
.dslp-row.ink.big { opacity:0.2; }
.dslp-link-pill { height:13px; background:var(--surface-muted); border-radius:5px; margin-bottom:5px; border:1px solid var(--hairline); }

/* Layout 01 — Tam Ekran */
.dslp-full { position:absolute; inset:0; background:linear-gradient(165deg,#0d9488 0%,#134e4a 100%); }
.dslp-full .dslp-links { padding:7px 8px 0; }
.dslp-full .dslp-link-pill { background:rgba(255,255,255,0.88); border-color:rgba(255,255,255,0.2); }

/* Layout 02 — Merkez */
.dslp-centered { position:absolute; inset:0; background:var(--canvas); }
.dslp-top-strip { height:36%; background:linear-gradient(135deg,var(--primary-light) 0%,#b5e5dd 100%); border-radius:0 0 10px 10px; }
.dslp-avatar-c { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--primary-muted),var(--primary)); border:3px solid #fff; margin:-14px auto 0; position:relative; z-index:2; box-shadow:0 3px 8px rgba(0,0,0,0.14); }
.dslp-ctext { text-align:center; margin-top:10px; padding:0 10px; }
.dslp-ctext .dslp-row { margin-left:auto; margin-right:auto; }
.dslp-links-c { padding:9px 8px 0; }

/* Layout 04 — Sağ Hizalı */
.dslp-right { position:absolute; inset:0; background:var(--canvas); }
.dslp-r-band { height:44%; background:linear-gradient(225deg,#134e4a 0%,#0d9488 60%,#5eead4 100%); display:flex; align-items:flex-end; padding:0 8px 8px; gap:6px; }
.dslp-r-textcol { flex:1; display:flex; flex-direction:column; gap:4px; }
.dslp-r-textcol .dslp-row { background:#fff; }
.dslp-r-textcol .dslp-row.big { opacity:0.92; }
.dslp-r-textcol .dslp-row.sm { opacity:0.6; }
.dslp-r-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#ccfbf1,#5eead4); border:2.5px solid #fff; flex-shrink:0; box-shadow:0 3px 8px rgba(0,0,0,0.18); }
.dslp-left { position:absolute; inset:0; background:var(--canvas); }
.dslp-l-band { height:44%; background:linear-gradient(315deg,#134e4a 0%,#0d9488 60%,#5eead4 100%); display:flex; align-items:flex-end; flex-direction:row; padding:0 8px 8px; gap:6px; }
.dslp-l-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,#ccfbf1,#5eead4); border:2.5px solid #fff; flex-shrink:0; box-shadow:0 3px 8px rgba(0,0,0,0.18); }
.dslp-l-textcol { flex:1; display:flex; flex-direction:column; gap:4px; }
.dslp-l-textcol .dslp-row { background:#fff; }
.dslp-l-textcol .dslp-row.big { opacity:0.92; }
.dslp-l-textcol .dslp-row.sm { opacity:0.6; }

/* Layout 05 — Yarım */
.dslp-half { position:absolute; inset:0; background:var(--canvas); }
.dslp-half-photo { height:50%; background:linear-gradient(165deg,#0d9488 0%,#134e4a 100%); position:relative; overflow:hidden; }
.dslp-half-content { padding:8px 8px 0; }
.dslp-half-content .dslp-link-pill { background:var(--surface-muted); }

/* Layout 06 — Kapak */
.dslp-cover { position:absolute; inset:0; background:var(--canvas); }
.dslp-cover-band { height:30%; background:linear-gradient(135deg,var(--primary-light) 0%,#b5e5dd 100%); }
.dslp-cov-av { position:absolute; top:20%; left:9px; width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,var(--primary-muted),var(--primary)); border:2.5px solid #fff; z-index:2; box-shadow:0 2px 6px rgba(0,0,0,0.14); }
.dslp-cov-text { padding:6px 9px 0; margin-top:18px; display:flex; flex-direction:column; gap:4px; }
.dslp-cov-text .dslp-row { margin:0; }

/* =========================================
   LANDING PAGE — BENTO & FEATURE CARDS
   ========================================= */
.bento { display: grid; gap: 16px; }
.bento-2 { grid-template-columns: 1fr 1fr; }
.bento-3 { grid-template-columns: 1fr 1fr 1fr; }
.bento-card { background: #fff; border-radius: 24px; border: 1px solid var(--hairline); overflow: hidden; padding: 28px; transition: box-shadow 200ms, transform 200ms; }
.bento-card:hover { box-shadow: 0 12px 40px rgba(15,23,42,0.10); transform: translateY(-2px); }
.bento-card.teal { background: var(--primary); color: #fff; border-color: var(--primary); }
.bento-card.dark { background: #0F172A; color: #fff; border-color: #0F172A; }
.bento-card.amber { background: #FFFBEB; border-color: #FEF3C7; }
.bento-card.rose { background: #FFF1F2; border-color: #FFE4E6; }
.bento-card.wide { grid-column: span 2; }
.bento-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; background: rgba(13,148,136,0.12); color: var(--primary-ink); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.bento-card.teal .bento-eyebrow { background: rgba(255,255,255,0.2); color: #fff; }
.bento-card.dark .bento-eyebrow { background: rgba(255,255,255,0.1); color: #94A3B8; }
.bento-card.amber .bento-eyebrow { background: #FEF3C7; color: var(--amber-ink); }
.bento-card.rose .bento-eyebrow { background: #FFE4E6; color: #BE123C; }
.bento-h { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.25; margin-bottom: 8px; color: var(--ink); }
.bento-card.teal .bento-h, .bento-card.dark .bento-h { color: #fff; }
.bento-p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.bento-card.teal .bento-p, .bento-card.dark .bento-p { color: rgba(255,255,255,0.7); }

.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feat-row.rev { direction: rtl; }
.feat-row.rev > * { direction: ltr; }
.feat-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; background: var(--primary-light); color: var(--primary-ink); }
.feat-h { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 16px; }
.feat-p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.feat-checks { display: flex; flex-direction: column; gap: 10px; }
.feat-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body); }
.feat-check-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 2px; }
.feat-visual { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); min-height: 340px; display: flex; align-items: center; justify-content: center; position: relative; padding: 32px; }
.feat-visual.primary-light { background: var(--primary-light); }
.feat-visual.lavender { background: #F5F3FF; }

.ln-section { padding: 20px 0; }
.ln-section-sm { padding: 14px 0; }

.ln-head { text-align: center; margin-bottom: 56px; }
.ln-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; background: var(--primary-light); color: var(--primary-ink); margin-bottom: 16px; }
.ln-h { font-family: 'Bricolage Grotesque', sans-serif; font-size: 42px; font-weight: 700; color: var(--ink); letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px; }
.ln-p { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.65; }

/* Product/Store Mockups */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-mock-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--hairline); }
.product-mock-img { height: 240px; background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%); display: flex; align-items: center; justify-content: center; font-size: 32px; overflow: hidden; }
.product-mock-img img { width: 100%; height: 100%; object-fit: cover; }
.product-mock-body { padding: 8px 10px 10px; }
.product-mock-title { font-size: 11px; font-weight: 700; color: var(--ink); }
.product-mock-price { font-size: 11px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.product-mock-btn { margin-top: 6px; background: #25D366; color: #fff; border-radius: 6px; padding: 5px; text-align: center; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Stats Display */
.stats-strip { background: var(--ink); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 44px; font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1; }
.stat-label { font-size: 14px; color: #94A3B8; margin-top: 6px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Personas Grid */
.persona-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.persona-card { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 18px 14px; text-align: center; transition: all 150ms; cursor: default; }
.persona-card:hover { border-color: var(--primary-muted); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.08); }
.persona-emoji { font-size: 28px; margin-bottom: 8px; }
.persona-name { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.persona-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }

/* Theme Chips */
.theme-chip { border-radius: 12px; overflow: hidden; width: 80px; cursor: pointer; border: 2px solid transparent; transition: all 150ms; }
.theme-chip:hover { transform: scale(1.05); }
.theme-chip-top { height: 40px; }
.theme-chip-bot { height: 20px; }
.theme-label { font-size: 10px; font-weight: 600; color: var(--muted); text-align: center; padding: 4px 0; }

/* Component Mockups */
.notification-item { background: var(--surface); border-radius: 10px; padding: 10px 12px; border-left: 3px solid var(--primary); display: flex; align-items: flex-start; gap: 8px; }
.notif-icon { font-size: 18px; flex-shrink: 0; }
.notif-title { font-size: 12px; font-weight: 700; color: var(--ink); }
.notif-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

.map-preview { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--hairline); }
.map-preview-header { padding: 8px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--hairline); }
.map-preview-pin { width: 28px; height: 28px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.map-placeholder { height: 90px; background: linear-gradient(135deg, #E0F2FE, #CCFBF1); position: relative; display: flex; align-items: center; justify-content: center; }
.map-placeholder::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 40px), repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 40px); }
.map-pin-dot { width: 36px; height: 36px; background: var(--primary); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(13,148,136,0.4); }
.map-pin-dot::after { content: ''; width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: rotate(45deg); }
.map-preview-btn { padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--primary); border-top: 1px solid var(--hairline); }

.countdown-mock { background: var(--ink); border-radius: 12px; padding: 14px; color: #fff; }
.countdown-label { font-size: 10px; color: #94A3B8; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 6px; }
.countdown-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.countdown-units { display: flex; gap: 8px; }
.countdown-unit { flex: 1; background: rgba(255,255,255,0.08); border-radius: 8px; padding: 8px; text-align: center; }
.countdown-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; line-height: 1; }
.countdown-label-small { font-size: 9px; color: #94A3B8; margin-top: 3px; }

.event-mock { background: #fff; border-radius: 12px; border: 1px solid var(--hairline); overflow: hidden; }
.event-mock-img { height: 240px; background: linear-gradient(135deg, #6D28D9, #BE185D); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.event-mock-body { padding: 10px; }
.event-mock-tag { display: inline-block; background: #FEF3C7; color: var(--amber-ink); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-bottom: 5px; }
.event-mock-title { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.event-mock-meta { font-size: 10px; color: var(--muted); display: flex; gap: 8px; }
.event-mock-btn { margin-top: 8px; background: var(--primary); color: #fff; border-radius: 7px; padding: 6px; text-align: center; font-size: 11px; font-weight: 600; }

.analytics-mock { background: #fff; border-radius: 12px; border: 1px solid var(--hairline); padding: 14px; }
.analytics-mock-head { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.4px; }
.am-stat-row { display: flex; gap: 12px; margin-bottom: 12px; }
.am-stat { flex: 1; }
.am-stat-n { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); }
.am-stat-l { font-size: 10px; color: var(--muted); }
.am-stat-t { font-size: 10px; font-weight: 600; color: #16A34A; }
.am-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.am-bar-label { font-size: 10px; color: var(--muted); width: 70px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-bar-track { flex: 1; height: 5px; background: var(--hairline); border-radius: 3px; }
.am-bar-fill { height: 100%; background: var(--primary); border-radius: 3px; }
.am-bar-count { font-size: 10px; font-weight: 600; color: var(--ink); width: 28px; text-align: right; }

/* Utility Classes */
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.p-10 { padding: 10px; }
.p-12 { padding: 12px; }
.p-14 { padding: 14px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.px-14 { padding-left: 14px; padding-right: 14px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.px-12-py-10 { padding: 10px 12px; }

.flex-col { display: flex; flex-direction: column; }
.flex-between { display: flex; justify-content: space-between; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-white { background: #fff; }
.bg-surface { background: var(--surface); }
.bg-surface-muted { background: var(--surface-muted); }
.bg-primary-light { background: var(--primary-light); }
.bg-amber-light { background: #FFFBEB; }
.bg-rose-light { background: #FFF1F2; }
.bg-lavender { background: #F5F3FF; }
.bg-green-light { background: #F0FDF4; }
.bg-dark { background: #0F172A; }

.border-hairline { border: 1px solid var(--hairline); }
.border-teal { border-color: var(--primary); }
.border-amber { border-color: #FDE68A; }
.border-rose { border-color: #FFE4E6; }
.border-green { border-color: #BBF7D0; }

.rounded-12 { border-radius: 12px; }
.rounded-14 { border-radius: 14px; }
.rounded-16 { border-radius: 16px; }
.rounded-24 { border-radius: 24px; }

.text-ink { color: var(--ink); }
.text-body { color: var(--body); }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.text-amber-ink { color: var(--amber-ink); }

.font-sm { font-size: 12px; }
.font-base { font-size: 14px; }
.font-lg { font-size: 16px; }
.text-light { opacity: 0.7; }

.shadow-card { box-shadow: var(--shadow-card); }
.shadow-hover { box-shadow: var(--shadow-card-hover); }

@media (max-width: 900px) {
  .bento-2, .bento-3 { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .ln-h { font-size: 30px; }
  .feat-h { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .notif-title { font-size: 11px; }
  .notif-sub { font-size: 10px; }
  .notif-icon { font-size: 16px; }
  .notification-item { padding: 8px 10px; gap: 6px; }
}

/* Profile stack animations (expanded from Django template loop, items 1–14) */
.stack > * { animation: fadeUp 400ms ease-out backwards; }
.stack > *:nth-child(1)  { animation-delay:    0ms; }
.stack > *:nth-child(2)  { animation-delay:  100ms; }
.stack > *:nth-child(3)  { animation-delay:  200ms; }
.stack > *:nth-child(4)  { animation-delay:  300ms; }
.stack > *:nth-child(5)  { animation-delay:  400ms; }
.stack > *:nth-child(6)  { animation-delay:  500ms; }
.stack > *:nth-child(7)  { animation-delay:  600ms; }
.stack > *:nth-child(8)  { animation-delay:  700ms; }
.stack > *:nth-child(9)  { animation-delay:  800ms; }
.stack > *:nth-child(10) { animation-delay:  900ms; }
.stack > *:nth-child(11) { animation-delay: 1000ms; }
.stack > *:nth-child(12) { animation-delay: 1100ms; }
.stack > *:nth-child(13) { animation-delay: 1200ms; }
.stack > *:nth-child(14) { animation-delay: 1300ms; }


/* =========================================
   DASHBOARD
   ========================================= */
.app { display: flex; height: 100vh; }
.app-content { flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.app-scroll { flex: 1; overflow-y: auto; min-width: 0; }
.sidebar { width: 240px; min-width: 240px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--hairline); display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto; overflow-x: hidden; position: relative; transition: width 250ms ease, min-width 250ms ease, padding 250ms ease; }
.sidebar .logo { display: flex; align-items: center; gap: 8px; padding: 8px 8px 16px; font-size: 20px; letter-spacing: -0.4px; white-space: nowrap; }
.sidebar .logo-mark { display: flex; flex-shrink: 0; }
.sidebar-toggle { position: absolute; right: 5px; top: 24px; width: 24px; height: 24px; border-radius: 9999px; background: var(--canvas); border: 1px solid var(--hairline); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); z-index: 20; transition: background 150ms ease, color 150ms ease; padding: 0; }
.sidebar-toggle:hover { background: var(--surface); color: var(--ink); }
.sidebar-toggle svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 250ms ease; }
.sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }
.sidebar.collapsed { width: 60px; min-width: 60px; padding: 16px 6px; }
.sidebar.collapsed .logo-text { display: none; }
.sidebar.collapsed .nav-text { display: none; }
.sidebar.collapsed .nav-badge { display: none; }
.sidebar.collapsed .nav-label { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px; gap: 0; }
.sidebar.collapsed .upgrade-card { display: none; }
.nav-group { margin-top: 8px; }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; color: var(--muted); padding: 8px 12px 4px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 2px; transition: all 150ms ease; }
.nav-item:hover { background: var(--surface-muted); color: var(--ink); }
.nav-item.active { background: var(--primary-light); color: var(--primary-ink); font-weight: 600; }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item .badge { margin-left: auto; background: var(--amber); color: #fff; padding: 1px 7px; border-radius: 9999px; font-size: 10px; font-weight: 700; }
.upgrade-card { margin-top: auto; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: 14px; padding: 16px; position: relative; overflow: hidden; }
.upgrade-card > * { position: relative; }
.upgrade-tag { display: inline-block; background: var(--amber); color: var(--amber-ink); padding: 2px 8px; border-radius: 9999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; margin-bottom: 8px; }
.upgrade-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 600; line-height: 1.2; }
.upgrade-sub { font-size: 12px; opacity: 0.85; margin-top: 4px; line-height: 1.4; }
.upgrade-btn { margin-top: 12px; background: #fff; color: var(--primary-ink); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; width: 100%; }
.main { flex: 1; display: grid; grid-template-columns: 1fr 380px; overflow: hidden; }
@media (max-width: 1100px) { .main { grid-template-columns: 1fr; } .preview-panel { display: none; } }
.app .topnav { flex-shrink: 0; height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline-soft); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.topnav-left { display: flex; align-items: center; gap: 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb .sep { color: var(--placeholder); margin: 0 6px; }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }
.topnav-right { display: flex; align-items: center; gap: 12px; }
.app-topbar-user { position: fixed; top: 0; right: 0; z-index: 60; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 28px; pointer-events: auto; }
.url-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--hairline); padding: 6px 12px; border-radius: 9999px; font-size: 13px; color: var(--body); text-decoration: none; transition: border-color 150ms; }
.url-pill:hover { border-color: var(--primary-muted); }
.url-pill .dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); }
.url-pill code { font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--ink); }
.avatar-mini { width: 36px; height: 36px; border-radius: 9999px; background: linear-gradient(135deg, #FDE68A, #F59E0B); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: var(--shadow-card); cursor: pointer; transition: box-shadow 150ms; overflow: hidden; }
.avatar-mini.ring { box-shadow: 0 0 0 3px var(--primary-muted), var(--shadow-card); }

/* User menu dropdown */
.usr-menu { position: relative; }
.usr-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 248px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 6px; z-index: 200; }
.usr-info { padding: 8px 10px 6px; }
.usr-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usr-handle { font-size: 12px; color: var(--muted); }
.usr-sep { height: 1px; background: var(--hairline); margin: 4px 0; }
.usr-qr-section { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px 10px; }
.usr-qr-section #usrQRCode img,
.usr-qr-section #usrQRCode canvas { width: 200px !important; height: 200px !important; border-radius: 8px; display: block; }
.usr-qr-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); border: none; border-radius: 8px; padding: 6px 16px; cursor: pointer; transition: background 150ms; }
.usr-qr-dl:hover { background: var(--primary-muted); }
.usr-menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--body); text-decoration: none; cursor: pointer; border: none; background: none; width: 100%; transition: background 100ms, color 100ms; }
.usr-menu-item:hover { background: var(--surface-muted); color: var(--ink); }
.usr-menu-item i { width: 16px; text-align: center; font-size: 13px; }
.usr-logout { color: #EF4444; }
.usr-logout:hover { background: rgba(239,68,68,0.08); color: #DC2626; }
.app .icon-btn { width: 36px; height: 36px; border-radius: 9px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all 150ms ease; }
.app .icon-btn:hover { background: var(--surface); color: var(--ink); }
.content { padding: 28px 32px 64px; overflow-y: auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; }
.page-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.add-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.add-link-btn { flex: 1; background: var(--primary); color: #fff; height: 52px; border-radius: 12px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 150ms ease; }
.add-link-btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-card-hover); }
.add-link-btn .plus { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.section-h { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 12px; }
.section-h h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.section-h .count { background: var(--surface); color: var(--muted); padding: 2px 8px; border-radius: 9999px; font-size: 11px; font-weight: 700; }
.link-list { display: flex; flex-direction: column; gap: 10px; }
.link-row { background: #F0FDF4; border: 1px solid var(--hairline-soft); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-card); transition: all 150ms ease; }
.link-row:hover { border-color: var(--primary-muted); box-shadow: var(--shadow-card-hover); }
.link-row.dragging { opacity: 0.5; transform: scale(0.98); }
.link-row.disabled { opacity: 0.55; }
.link-row.static-row { background: var(--surface); cursor: default; }
.link-row.static-row:hover { border-color: var(--hairline); box-shadow: var(--shadow-card); }
.static-section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 12px; }
.static-section-head h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.drag-handle { color: var(--placeholder); cursor: grab; width: 20px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.drag-handle:hover { color: var(--muted); }
.drag-handle .dots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drag-handle .dots span { width: 3px; height: 3px; border-radius: 9999px; background: currentColor; }
.link-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); background: var(--surface); }
.link-icon.wa { background: var(--wa); color: #fff; }
.link-icon.ig { background: linear-gradient(135deg, #FFD75A, #FF6B6B 50%, #C13584); color: #fff; }
.link-icon.tt { background: #000; color: #fff; }
.link-icon.yt { background: #FF0000; color: #fff; }
.link-icon.amber { background: var(--amber); color: #fff; }
.link-body { flex: 1; min-width: 0; }
.link-title { font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.link-tag { background: var(--amber-light); color: var(--amber-dark); padding: 1px 8px; border-radius: 9999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; }
.link-tag.wa { background: #DCFCE7; color: #15803d; }
.link-tag.draft { background: var(--surface-muted); color: var(--muted); }
.link-url { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; margin-top: 2px; }
.link-clicks { background: var(--primary-light); color: var(--primary-ink); padding: 4px 10px; border-radius: 9999px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.link-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ico-btn-sm { width: 32px; height: 32px; border-radius: 8px; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all 150ms ease; }
.ico-btn-sm:hover { background: var(--surface); color: var(--ink); }
.ico-btn-sm.danger:hover { background: #FEE2E2; color: var(--error); }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 9999px; background: var(--hairline); flex-shrink: 0; transition: background 150ms ease; cursor: pointer; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 9999px; background: #fff; box-shadow: var(--shadow-card); transition: transform 150ms ease; }
.toggle.on { background: var(--primary); }
.toggle.on::after { transform: translateX(16px); }
.empty-state { background: var(--surface); border: 2px dashed var(--hairline); border-radius: 20px; padding: 48px 24px; text-align: center; }
.empty-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.empty-sub { font-size: 14px; color: var(--muted); max-width: 320px; margin: 0 auto 20px; }

/* Dashboard Preview Panel */
.preview-panel { background: var(--surface); border-left: 1px solid var(--hairline); overflow-y: auto; padding: 24px 20px; }
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.preview-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); }
.preview-label .live-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); animation: pulse 2s infinite; }
.preview-panel .phone { margin: 0 auto; box-shadow: var(--shadow-modal), 0 30px 60px rgba(15,23,42,0.15); }
.preview-panel .phone-screen { background: #fff; }
.preview-panel .phone-notch { top: 14px; width: 90px; height: 24px; }
.phone-content { height: 100%; padding-top: 30px; overflow: hidden; }
.ph-iframe-mode { padding-top: 0 !important; position: relative; }
.ph-iframe-clip { position: absolute; inset: 0; overflow: hidden; }
.ph-iframe { position: absolute; top: 0; left: 0; width: 390px; height: 807px; border: none; transform: scale(0.7692); transform-origin: top left; pointer-events: none; }
.ph-header { height: 80px; background: linear-gradient(135deg, var(--primary-light), var(--primary-muted)); border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
.ph-avatar { width: 64px; height: 64px; border-radius: 9999px; background: linear-gradient(135deg, #FDE68A, #F59E0B); border: 3px solid #fff; box-shadow: var(--shadow-card); margin: -32px auto 0; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 22px; color: #fff; position: relative; z-index: 2; }
.ph-name { text-align: center; margin-top: 8px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); }
.ph-username { text-align: center; font-size: 10px; color: var(--muted); margin-top: 1px; }
.ph-bio { text-align: center; font-size: 10px; color: var(--body); margin: 6px 14px 0; line-height: 1.4; }
.ph-links { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 6px; }
.ph-link { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 11px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-card); font-size: 11px; font-weight: 600; color: var(--ink); min-height: 38px; }
.ph-link.wa { background: #F0FDF4; border-color: #BBF7D0; box-shadow: var(--shadow-card-hover); }
.ph-link.commerce { background: var(--amber-light); border-color: #FDE68A; color: var(--amber-ink); }
.ph-link .pi { width: 22px; height: 22px; border-radius: 6px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; }
.ph-link.wa .pi { background: var(--wa); color: #fff; }
.ph-link.commerce .pi { background: var(--amber); color: #fff; }
.ph-arr { margin-left: auto; color: var(--placeholder); }
.limit-banner { background: #FEF3C7; border: 1px solid #FDE68A; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: 14px; color: var(--amber-ink); display: flex; align-items: center; gap: 10px; }
@media (max-width: 768px) { .sidebar { display: none; } .sidebar-toggle { display: none; } }


/* =========================================
   LINK FORM PAGE
   ========================================= */
.card { background: #fff; border-radius: 20px; padding: 32px; width: 100%; max-width: 480px; box-shadow: 0 20px 60px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06); }
.card-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; margin-bottom: 4px; }
.card-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.errorlist { list-style: none; color: var(--error); font-size: 13px; margin-top: 4px; }
.actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hairline-soft); }


/* =========================================
   AUTH PAGES (login / signup)
   ========================================= */
body.body-auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--surface); padding: 40px 24px; }
.auth-wrap { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; }
.auth-logo-top { display: inline-flex; align-items: center; gap: 8px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 28px; }
.auth-card { width: 100%; background: #fff; border-radius: 20px; padding: 36px 32px 32px; box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 8px 32px rgba(15,23,42,0.08); border: 1px solid var(--hairline-soft); }

/* Card header */
.auth-head { margin-bottom: 24px; }
.auth-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px; line-height: 1.2; }
.auth-sub { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Google OAuth button */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border: 1.5px solid var(--hairline); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; transition: all 150ms ease; cursor: pointer; }
.google-btn:hover { border-color: #4285F4; background: #F8FBFF; box-shadow: 0 2px 8px rgba(66,133,244,0.12); }

/* Divider */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }

/* Fields */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.auth-input { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--hairline) !important; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink); background: var(--canvas); transition: border-color 150ms ease, box-shadow 150ms ease; outline: none; -webkit-appearance: none; appearance: none; box-shadow: none; }
.auth-input:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px var(--primary-light) !important; outline: none; }
.auth-input::placeholder { color: var(--placeholder); }

/* Password with eye toggle */
.input-wrap { position: relative; }
.input-wrap .auth-input { padding-right: 46px; }
.eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); background: none; border: none; padding: 4px; display: flex; align-items: center; cursor: pointer; transition: color 150ms ease; }
.eye-btn:hover { color: var(--ink); }

/* Field error */
.field-error { font-size: 12px; color: var(--error); margin-top: 5px; }

/* Error banner */
.auth-error-banner { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; color: var(--error); display: flex; align-items: flex-start; gap: 8px; }

/* Remember + Forgot row */
.auth-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.remember-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body); cursor: pointer; font-weight: 400; user-select: none; }
.remember-label input[type="checkbox"] { width: 16px; height: 16px; border-radius: 4px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.forgot-link { font-size: 13px; font-weight: 500; color: var(--primary); }
.forgot-link:hover { color: var(--primary-dark); }

/* Submit */
.auth-submit { width: 100%; height: 48px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 150ms ease; }
.auth-submit:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-card-hover); }

/* Footer */
.auth-footer-text { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--hairline-soft); }
.auth-footer-text a { color: var(--primary); font-weight: 600; }
.auth-footer-text a:hover { color: var(--primary-dark); }

/* Signup helper text */
.field-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Username field with benim.li/ prefix */
.username-wrap { position: relative; display: flex; align-items: center; }
.username-prefix { position: absolute; left: 14px; font-size: 15px; color: var(--muted); pointer-events: none; white-space: nowrap; }
.username-wrap input { padding-left: 76px; }

@media (max-width: 480px) {
  body.body-auth { padding: 24px 16px 48px; align-items: flex-start; }
  .auth-card { padding: 28px 20px 24px; }
  .auth-logo-top { margin-bottom: 20px; }
}


/* =========================================
   PROFILE SETTINGS PAGE
   ========================================= */
body.body-settings { background: var(--surface); min-height: 100vh; }

/* Topnav */
.ps-topnav { height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline-soft); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; flex-shrink: 0; }
.ps-breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ps-breadcrumb a:hover { color: var(--ink); }
.ps-breadcrumb .sep { color: var(--placeholder); }
.ps-breadcrumb .cur { color: var(--ink); font-weight: 600; }
.ps-topnav-right { display: flex; align-items: center; gap: 12px; }
.ps-save-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ps-save-status .dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); }
.ps-preview-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9px; background: #fff; border: 1px solid var(--hairline); font-size: 13px; font-weight: 600; color: var(--ink); transition: all 150ms ease; }
.ps-preview-btn:hover { border-color: var(--primary-muted); color: var(--primary); }

/* Page layout */
.ps-wrap { padding: 32px 28px 64px; display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: flex-start; }
.ps-page-head { margin-bottom: 28px; }
.ps-page-head h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; line-height: 1.2; }
.ps-page-head .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Cards */
.ps-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); margin-bottom: 16px; }
.ps-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ps-card-head h2 { font-size: 16px; font-weight: 600; color: var(--ink); }
.ps-card-head .opt { margin-left: auto; font-size: 12px; color: var(--muted); }

/* Avatar */
.ps-avatar-block { display: flex; align-items: center; gap: 20px; }
.ps-avatar-wrap { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.ps-avatar { width: 96px; height: 96px; border-radius: 9999px; background: linear-gradient(135deg, #fde7d3, #fbbf24 60%, #d97706); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 36px; font-weight: 700; border: 4px solid #fff; box-shadow: var(--shadow-card-hover); overflow: hidden; }
.ps-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ps-avatar-edit { position: absolute; bottom: 0; right: 0; width: 32px; height: 32px; border-radius: 9999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; transition: transform 150ms ease; cursor: pointer; }
.ps-avatar-edit:hover { transform: scale(1.08); }
.ps-avatar-actions { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ps-avatar-actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-avatar-tip { font-size: 12px; color: var(--muted); }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 600; transition: all 150ms ease; cursor: pointer; border: none; font-family: inherit; -webkit-appearance: none; appearance: none; }
.btn-mini.primary { background: var(--ink) !important; color: #fff !important; }
.btn-mini.primary:hover { background: #1E293B !important; }
.btn-mini.ghost { background: #fff !important; color: var(--ink); border: 1px solid var(--hairline) !important; }
.btn-mini.ghost:hover { border-color: var(--primary-muted) !important; }
.btn-mini.danger { background: #fff !important; color: var(--error); border: 1px solid #FECACA !important; }
.btn-mini.danger:hover { background: #FEE2E2 !important; }

/* Form rows */
.ps-form-row { margin-bottom: 18px; }
.ps-form-row:last-child { margin-bottom: 0; }
.ps-form-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ps-form-label .req { color: var(--error); }
.ps-form-label .helper { font-size: 11px; color: var(--muted); font-weight: 500; }
.ps-form-input { width: 100%; height: 48px; background: #fff !important; border: 1px solid var(--hairline) !important; border-radius: 12px; padding: 0 14px !important; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: all 150ms ease; -webkit-appearance: none; appearance: none; }
.ps-form-input:focus { border-color: var(--primary) !important; border-width: 2px !important; padding: 0 13px !important; box-shadow: 0 0 0 3px var(--primary-light) !important; }
.ps-form-input::placeholder { color: var(--placeholder); }
.ps-form-textarea { width: 100%; background: #fff !important; border: 1px solid var(--hairline) !important; border-radius: 12px; padding: 12px 14px !important; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: all 150ms ease; resize: vertical; min-height: 96px; -webkit-appearance: none; appearance: none; }
.ps-form-textarea:focus { border-color: var(--primary) !important; border-width: 2px !important; padding: 11px 13px !important; box-shadow: 0 0 0 3px var(--primary-light) !important; }
.ps-form-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ps-field-error { font-size: 12px; color: var(--error); margin-top: 5px; }

/* Username row */
.ps-username-wrap { display: flex; align-items: stretch; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; background: #fff; transition: all 150ms ease; }
.ps-username-wrap:focus-within { border-color: var(--primary); border-width: 2px; }
.ps-username-wrap .prefix { background: var(--surface); color: var(--muted); padding: 0 14px; display: flex; align-items: center; font-size: 14px; font-weight: 500; border-right: 1px solid var(--hairline); font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.ps-username-wrap input { flex: 1; height: 46px; border: none !important; outline: none; background: transparent !important; padding: 0 14px !important; font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--ink); font-weight: 500; min-width: 0; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.ps-status-pill { display: flex; align-items: center; gap: 4px; padding: 0 14px; font-size: 12px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.ps-status-pill.checking { color: var(--muted); }
.ps-status-pill.available { color: var(--success); }
.ps-status-pill.taken { color: var(--error); }
.ps-status-pill.unchanged { color: var(--muted); }
@keyframes ps-spin { to { transform: rotate(360deg); } }
.ps-spinner { animation: ps-spin 0.8s linear infinite; }

.ps-warning-box { margin-top: 10px; background: #FEF3C7; border: 1px solid #FCD34D; border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.ps-warning-box .ic { flex-shrink: 0; color: var(--amber-dark); }
.ps-warning-box .body { flex: 1; font-size: 13px; color: #78350F; line-height: 1.55; }
.ps-warning-box .body strong { font-weight: 700; }
.ps-warning-box .body code { background: #FFF8E1; padding: 1px 5px; border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--amber-dark); font-family: 'JetBrains Mono', monospace; }

/* Socials */
.ps-socials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ps-more-socials-btn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 12px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color 150ms, background 150ms; }
.ps-more-socials-btn:hover { border-color: var(--primary-muted); background: #fff; }
.ps-more-socials-btn.is-open { border-color: var(--primary-muted); }
.ps-more-icons { display: flex; align-items: center; gap: 5px; }
.pmi { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; flex-shrink: 0; }
.ps-more-chev { font-size: 11px; color: var(--muted); transition: transform 220ms ease; }
.ps-more-socials-btn.is-open .ps-more-chev { transform: rotate(180deg); }

.ps-extra-wrap { grid-column: 1 / -1; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.ps-extra-wrap.is-open { max-height: 1200px; }
.ps-extra-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; }
.ps-social-row { display: flex; align-items: stretch; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; background: #fff; transition: all 150ms ease; }
.ps-social-row:focus-within { border-color: var(--primary); border-width: 2px; }
.ps-social-row .ic { width: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.ps-social-row .ic svg { width: 18px; height: 18px; }
.ps-social-row .ic.ig { background: linear-gradient(135deg, #FFD75A, #FF6B6B 50%, #C13584); }
.ps-social-row .ic.tt { background: #000; }
.ps-social-row .ic.yt { background: #FF0000; }
.ps-social-row .ic.x  { background: #000; }
.ps-social-row .field { flex: 1; display: flex; flex-direction: column; padding: 6px 12px; min-width: 0; margin-bottom: 0; }
.ps-social-row .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); margin-top: 2px; }
.ps-social-row input { border: none !important; outline: none; background: transparent !important; font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--ink); font-weight: 500; padding: 0 !important; height: 22px; width: 100%; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.ps-social-row input::placeholder { color: var(--placeholder); font-weight: 400; }

/* WhatsApp card */
.ps-wa-card { background: #DCFCE7; border: 1px solid #BBF7D0; border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.ps-wa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ps-wa-head .ic { width: 40px; height: 40px; border-radius: 10px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-wa-head .body { flex: 1; }
.ps-wa-head .t1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 600; color: #14532D; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ps-wa-head .badge { background: #14532D; color: #fff; padding: 1px 7px; border-radius: 9999px; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; }
.ps-wa-head .t2 { font-size: 13px; color: #166534; margin-top: 2px; }
.ps-wa-toggle-wrap { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #BBF7D0; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.ps-wa-toggle-wrap .left { flex: 1; }
.ps-wa-toggle-wrap .left .t1 { font-size: 14px; font-weight: 600; color: #14532D; }
.ps-wa-toggle-wrap .left .t2 { font-size: 12px; color: #166534; margin-top: 1px; }
.ps-toggle { position: relative; width: 44px; height: 24px; border-radius: 9999px; background: var(--hairline); flex-shrink: 0; transition: background 150ms ease; cursor: pointer; }
.ps-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 9999px; background: #fff; box-shadow: var(--shadow-card); transition: transform 150ms ease; }
.ps-toggle.on { background: #25D366; }
.ps-toggle.on::after { transform: translateX(20px); }
.ps-wa-form-row { margin-bottom: 16px; }
.ps-wa-form-row:last-child { margin-bottom: 0; }
.ps-wa-form-row .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; color: #14532D; text-transform: uppercase; margin-bottom: 6px; }
.ps-phone-input { display: flex; align-items: stretch; background: #fff; border: 1px solid #BBF7D0; border-radius: 12px; overflow: hidden; transition: all 150ms ease; }
.ps-phone-input:focus-within { border-color: #25D366; border-width: 2px; }
.ps-phone-input .country { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #DCFCE7; border-right: 1px solid #BBF7D0; font-size: 14px; font-weight: 600; color: #14532D; white-space: nowrap; }
.ps-phone-input .flag { width: 22px; height: 16px; background: #E30A17; border-radius: 2px; position: relative; display: flex; align-items: center; justify-content: center; }
.ps-phone-input .flag::before { content: ""; width: 5px; height: 5px; border-radius: 9999px; background: #E30A17; border: 1.5px solid #fff; }
.ps-phone-input .flag::after { content: "★"; font-size: 7px; color: #fff; position: absolute; right: 2px; top: 1px; }
.ps-phone-input input { flex: 1; height: 46px; border: none !important; outline: none; background: transparent !important; padding: 0 14px !important; font-family: 'JetBrains Mono', monospace; font-size: 15px; color: #14532D; font-weight: 500; letter-spacing: 0.4px; min-width: 0; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.ps-wa-textarea { width: 100%; min-height: 88px; background: #fff !important; border: 1px solid #BBF7D0 !important; border-radius: 12px; padding: 12px 14px !important; font-family: inherit; font-size: 14px; color: #14532D; outline: none; resize: vertical; transition: all 150ms ease; line-height: 1.55; -webkit-appearance: none; appearance: none; }
.ps-wa-textarea:focus { border-color: #25D366 !important; border-width: 2px !important; padding: 11px 13px !important; box-shadow: 0 0 0 3px #DCFCE7 !important; }
.ps-wa-counter { font-size: 11px; color: #166534; margin-top: 4px; text-align: right; font-variant-numeric: tabular-nums; }
.ps-wa-preview-bubble { margin-top: 12px; background: #fff; border: 1px solid #BBF7D0; border-radius: 12px; padding: 14px; }
.ps-wa-preview-bubble .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: #166534; text-transform: uppercase; margin-bottom: 8px; }
.ps-wa-stage { background: #E5DDD5; border-radius: 8px; padding: 12px; }
.ps-wa-bubble { background: #DCF8C6; border-radius: 8px 8px 2px 8px; padding: 8px 10px 18px; max-width: 80%; margin-left: auto; position: relative; font-size: 14px; color: #1B3A1B; line-height: 1.45; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.ps-wa-bubble .meta { position: absolute; bottom: 4px; right: 8px; font-size: 10px; color: #4B7B4B; display: flex; align-items: center; gap: 3px; }

/* Actions bar */
.ps-actions-bar { position: sticky; bottom: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-top: 1px solid var(--hairline); padding: 16px 0; margin-top: 8px; display: flex; gap: 10px; justify-content: flex-end; border-radius: 0 0 16px 16px; }

/* Preview column */
.ps-preview-col { position: sticky; top: 32px; }
.ps-preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ps-preview-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); }
.ps-preview-label .live { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); animation: ps-pulse 2s infinite; }
@keyframes ps-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.ps-preview-link { font-size: 12px; color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ps-phone-frame { background: #1E293B; border-radius: 32px; padding: 8px; box-shadow: var(--shadow-card-hover); aspect-ratio: 9 / 16; max-height: 640px; }
.ps-phone-screen { background: #fff; border-radius: 24px; height: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.ps-phone-status { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 11px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.ps-phone-content { flex: 1; overflow-y: auto; background: #fff; }
.ps-phone-content::-webkit-scrollbar { display: none; }
.ps-iframe-wrap { flex: 1; overflow-y: auto; position: relative; }
.ps-iframe-wrap::-webkit-scrollbar { display: none; }
.ps-iframe-wrap { scrollbar-width: none; }
.ps-phone-header-bg { height: 80px; background: radial-gradient(circle at 20% 30%, rgba(13,148,136,0.4), transparent 60%), radial-gradient(circle at 80% 70%, rgba(245,158,11,0.35), transparent 60%), linear-gradient(135deg, #FEF3C7, #CCFBF1); border-radius: 0 0 20px 20px; margin-bottom: -36px; }
.ps-preview-body { padding: 0 18px 18px; position: relative; }
.ps-preview-avatar { width: 72px; height: 72px; border-radius: 9999px; background: linear-gradient(135deg, #fde7d3, #fbbf24 60%, #d97706); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 700; border: 3px solid #fff; margin: 0 auto 10px; box-shadow: var(--shadow-card); overflow: hidden; }
.ps-preview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ps-preview-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); text-align: center; letter-spacing: -0.3px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.ps-preview-username { font-size: 13px; color: var(--muted); text-align: center; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.ps-preview-bio { font-size: 13px; color: var(--body); text-align: center; line-height: 1.45; margin-top: 8px; }
.ps-preview-socials { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ps-preview-socials .pill { width: 32px; height: 32px; border-radius: 9px; background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ps-preview-socials .pill svg { width: 14px; height: 14px; }
.ps-preview-socials .pill.hidden { display: none; }
.ps-preview-wa { margin-top: 16px; background: #25D366; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.ps-preview-wa .ic { flex-shrink: 0; }
.ps-preview-wa .t1 { font-size: 13px; font-weight: 700; }
.ps-preview-wa .t2 { font-size: 11px; opacity: 0.9; margin-top: 1px; }
.ps-preview-wa.hidden { display: none; }
.ps-preview-tg { margin-top: 8px; background: #2AABEE; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.ps-preview-tg .ic { flex-shrink: 0; }
.ps-preview-tg .t1 { font-size: 13px; font-weight: 700; }
.ps-preview-tg .t2 { font-size: 11px; opacity: 0.9; margin-top: 1px; }
.ps-preview-tg.hidden { display: none; }

/* Crop / avatar modal */
.ps-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; }
.ps-modal-backdrop.show { display: flex; }
.ps-crop-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 480px; box-shadow: var(--shadow-modal); padding: 28px; animation: ps-modal-in 200ms ease-out; }
@keyframes ps-modal-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.ps-crop-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 6px; }
.ps-crop-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.ps-crop-drop { border: 2px dashed var(--hairline); border-radius: 14px; padding: 40px 24px; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; transition: all 150ms ease; }
.ps-crop-drop:hover { border-color: var(--primary-muted); background: var(--surface); }
.ps-crop-drop svg { margin: 0 auto 12px; color: var(--placeholder); }
.ps-crop-foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* Responsive */
@media (max-width: 1024px) {
  .ps-wrap { grid-template-columns: 1fr; }
  .ps-preview-col { order: -1; position: static; }
}
@media (max-width: 600px) {
  .ps-socials-grid { grid-template-columns: 1fr; }
  .ps-extra-inner { grid-template-columns: 1fr; }
  .ps-topnav { padding: 0 16px; }
  .ps-wrap { padding: 20px 16px 48px; }
}


/* =========================================
   ANALYTICS PAGE
   ========================================= */
body.body-analytics { background: var(--surface); min-height: 100vh; }

/* Topnav */
.an-topnav { height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline-soft); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; flex-shrink: 0; }
.an-breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.an-breadcrumb a:hover { color: var(--ink); }
.an-breadcrumb .sep { color: var(--placeholder); }
.an-breadcrumb .cur { color: var(--ink); font-weight: 600; }
.an-topnav-right { display: flex; align-items: center; gap: 12px; }
.an-update-time { font-size: 13px; color: var(--muted); }

/* Wrap */
.an-wrap { max-width: 1280px; margin: 0 auto; padding: 32px 28px 64px; }

/* Page head */
.an-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.an-page-head h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; }
.an-page-head .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.an-head-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Segment control */
.an-seg-group { display: inline-flex; gap: 2px; background: #fff; border: 1px solid var(--hairline); border-radius: 11px; padding: 3px; }
.an-seg-btn { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all 150ms ease; text-decoration: none; display: inline-block; }
.an-seg-btn.active { background: var(--primary); color: #fff; }
.an-seg-btn:hover:not(.active) { color: var(--ink); }
.an-export-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink); transition: all 150ms ease; cursor: pointer; position: relative; }
.an-export-btn:hover { border-color: var(--primary-muted); }
.an-pro-pill { background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #78350F; font-size: 9px; font-weight: 700; letter-spacing: 0.4px; padding: 1px 5px; border-radius: 3px; }

/* Free banner */
.an-free-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #0F172A, #1E293B); border-radius: 16px; padding: 18px 22px; margin-bottom: 24px; color: #fff; flex-wrap: wrap; }
.an-free-banner .ic { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #78350F; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.an-free-banner .body { flex: 1; min-width: 200px; }
.an-free-banner .t1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 600; }
.an-free-banner .t2 { font-size: 13px; color: #CBD5E1; margin-top: 2px; }
.an-free-banner .upgrade-btn { background: var(--amber); color: #78350F !important; height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 700 !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.an-free-banner .upgrade-btn:hover { background: #FCD34D; }

/* Empty state */
.an-empty { text-align: center; padding: 80px 24px; }
.an-empty .ic { width: 64px; height: 64px; border-radius: 16px; background: var(--surface-muted); color: var(--placeholder); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.an-empty h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.an-empty p { font-size: 14px; color: var(--muted); max-width: 360px; margin: 0 auto; }

/* Stats strip */
.an-stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.an-stat-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-card); }
.an-stat-card .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.an-stat-card .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.5px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.an-stat-card .delta { margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.an-delta-up { color: var(--success) !important; font-weight: 600 !important; }
.an-delta-down { color: var(--error) !important; font-weight: 600 !important; }

/* Cards */
.an-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); }
.an-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.an-card-head h2 { font-size: 15px; font-weight: 600; color: var(--ink); }
.an-card-head .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.an-card-head .legend { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.an-card-head .legend .dot { width: 8px; height: 8px; border-radius: 9999px; display: inline-block; margin-right: 5px; vertical-align: middle; }

/* Main grid */
.an-main-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 16px; }

/* Chart */
.an-chart-wrap { width: 100%; aspect-ratio: 16 / 7; position: relative; }
.an-chart-wrap svg { width: 100%; height: 100%; display: block; }
.an-chart-x-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); font-weight: 500; padding: 0 4px; }
.an-chart-x-labels .today-lbl { color: var(--primary); font-weight: 700; }

/* Donut */
.an-donut-row { display: flex; align-items: center; gap: 22px; }
.an-donut-wrap { width: 140px; height: 140px; position: relative; flex-shrink: 0; }
.an-donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.an-donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.an-donut-center .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1; }
.an-donut-center .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); margin-top: 4px; }
.an-device-list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.an-device-row { display: flex; align-items: center; gap: 10px; }
.an-device-row .swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.an-device-row .name { font-size: 13px; font-weight: 500; color: var(--ink); flex: 1; }
.an-device-row .pct { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.an-device-row .count { font-size: 11px; color: var(--muted); margin-left: 4px; }

/* Link performance table */
.an-link-scroll { font-family: 'JetBrains Mono'}
.an-link-scroll-cap { max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hairline) transparent; }
.an-link-scroll-cap::-webkit-scrollbar { width: 4px; }
.an-link-scroll-cap::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 99px; }
.an-link-table { width: 100%; border-collapse: collapse; }
.an-link-table th { text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; padding: 0 12px 12px; border-bottom: 1px solid var(--hairline-soft); }
.an-link-table th:first-child { padding-left: 14px; }
.an-link-table th.r { text-align: right; }
.an-link-table td { padding: 12px; border-bottom: 1px solid var(--hairline-soft); vertical-align: middle; }
.an-link-table td:first-child { padding-left: 14px; }
.an-link-table tr:last-child td { border-bottom: none; }
.an-link-cell { display: flex; align-items: center; gap: 12px; }
.an-link-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; font-size: 13px; font-weight: 700; }
.an-link-icon.type-whatsapp { background: var(--wa); }
.an-link-icon.type-commerce { background: var(--amber); color: #78350F; }
.an-link-icon.type-link { background: var(--primary); }
.an-link-icon.type-media { background: #DBEAFE; color: #1D4ED8; }
.an-link-icon.type-event { background: #FED7AA; color: #C2410C; }
.an-link-icon svg { width: 16px; height: 16px; }
.an-link-table tr.row-link { background: #F0FDF4; }
.an-link-table tr.row-whatsapp { background: #F0FDF4; }
.an-link-table tr.row-media { background: #EFF6FF; }
.an-link-table tr.row-event { background: #FFF7ED; }
.an-link-table tr.row-commerce { background: #FFFBEB; }
.an-link-cell .info .t1 { font-size: 14px; font-weight: 600; color: var(--ink); }
.an-link-cell .info .t2 { font-size: 11px; color: var(--muted); margin-top: 1px; font-family: 'JetBrains Mono', monospace; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-link-table td.an-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; color: var(--ink); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; padding-right: 14px; width: 80px; }
.an-bar-cell { display: flex; align-items: center; gap: 10px; }
.an-bar-track { flex: 1; height: 6px; background: var(--hairline-soft); border-radius: 9999px; overflow: hidden; }
.an-bar-fill { height: 100%; background: var(--primary); border-radius: 9999px; }
.an-bar-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; width: 44px; text-align: right; padding-right: 2px; }

/* Bottom grid */
.an-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Source bars */
.an-src-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hairline-soft); }
.an-src-row:last-child { border-bottom: none; }
.an-src-label { display: flex; align-items: center; gap: 8px; width: 160px; flex-shrink: 0; font-size: 13px; font-weight: 500; color: var(--ink); overflow: hidden; }
.an-src-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-src-favicon { width: 20px; height: 20px; border-radius: 5px; background: var(--surface-muted); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.an-src-track { flex: 1; height: 8px; background: var(--surface); border-radius: 9999px; overflow: hidden; }
.an-src-fill { height: 100%; background: var(--primary); border-radius: 9999px; }
.an-src-count { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; width: 60px; text-align: right; }
.an-src-pct { font-size: 11px; color: var(--muted); width: 36px; text-align: right; font-variant-numeric: tabular-nums; }

/* Recent clicks */
.an-recent-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hairline-soft); }
.an-recent-row:last-child { border-bottom: none; }
.an-recent-link { flex: 1; min-width: 0; }
.an-recent-link .t1 { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-recent-link .t2 { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.an-recent-time { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 1100px) { .an-main-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .an-stats-strip { grid-template-columns: 1fr 1fr; } .an-bottom-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .an-wrap { padding: 20px 16px 48px; } .an-topnav { padding: 0 16px; } .an-stats-strip { grid-template-columns: 1fr 1fr; } }

/* ================================================
   THEME PICKER (profile settings)
   ================================================ */
.ps-theme-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.ps-theme-swatch {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  outline: none;
}
.ps-theme-preview {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.ps-theme-swatch.active .ps-theme-preview,
.ps-theme-swatch:hover .ps-theme-preview {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.ps-theme-header {
  height: 36%;
  flex-shrink: 0;
}
.ps-theme-body {
  flex: 1;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ps-theme-card {
  height: 10px;
  border-radius: 4px;
  border: 1px solid;
}
.ps-theme-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .ps-theme-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================
   STORE DASHBOARD  (st- prefix)
   ================================================ */
.st-content { padding: 28px 32px 64px; max-width: 1200px; width: 100%; margin: 0 auto; }

/* Stats strip */
.st-stats-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
@media (max-width: 760px) { .st-stats-strip { grid-template-columns: 1fr; } }
.st-stat-card { background: linear-gradient(135deg,#FFFBEB 0%,#FEF3C7 100%); border: 1px solid #FDE68A; border-radius: 16px; padding: 20px 22px; position: relative; overflow: hidden; }
.st-stat-card::after { content:""; position:absolute; right:-20px; bottom:-20px; width:100px; height:100px; border-radius:50%; background: radial-gradient(circle,rgba(245,158,11,0.18),transparent 70%); pointer-events:none; }
.st-stat-card.muted { background:#fff; border-color:var(--hairline); }
.st-stat-card.muted::after { display:none; }
.st-stat-label { font-size:11px; font-weight:700; letter-spacing:0.6px; color:var(--amber-ink); display:flex; align-items:center; gap:6px; }
.st-stat-card.muted .st-stat-label { color:var(--muted); }
.st-stat-label svg { width:14px; height:14px; }
.st-stat-num { font-family:'Bricolage Grotesque',sans-serif; font-size:32px; font-weight:600; color:var(--ink); letter-spacing:-0.6px; margin-top:8px; }
.st-stat-meta { margin-top:6px; font-size:13px; color:var(--body); }

/* WhatsApp card */
.st-section { margin-bottom: 28px; }
.st-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.st-section-label { font-size:11px; font-weight:700; letter-spacing:0.6px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.st-section-link { font-size:13px; font-weight:600; color:var(--primary); display:inline-flex; align-items:center; gap:4px; }
.st-section-title { font-family:'Bricolage Grotesque',sans-serif; font-size:18px; font-weight:600; color:var(--ink); letter-spacing:-0.2px; display:flex; align-items:center; gap:10px; }
.st-count-pill { background:var(--surface-muted); color:var(--body); padding:2px 9px; border-radius:9999px; font-size:12px; font-weight:600; font-family:'DM Sans',sans-serif; }

.st-wa-card { background:linear-gradient(135deg,#DCF8C6 0%,#ffffff 60%); border:1px solid #BBF0A8; border-radius:18px; padding:22px; position:relative; overflow:hidden; }
.st-wa-card::before { content:""; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px,rgba(37,211,102,0.10) 1px,transparent 0); background-size:16px 16px; -webkit-mask-image:radial-gradient(ellipse at 100% 0%,#000 0%,transparent 60%); mask-image:radial-gradient(ellipse at 100% 0%,#000 0%,transparent 60%); pointer-events:none; }
.st-wa-card > * { position:relative; }
.st-wa-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.st-wa-left { display:flex; gap:14px; align-items:flex-start; }
.st-wa-icon { width:56px; height:56px; border-radius:14px; background:var(--wa); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 6px 16px rgba(37,211,102,0.30); }
.st-wa-icon svg { width:30px; height:30px; }
.st-wa-title { font-family:'Bricolage Grotesque',sans-serif; font-size:20px; font-weight:600; color:var(--ink); letter-spacing:-0.3px; display:flex; align-items:center; gap:8px; }
.st-wa-pin { background:var(--wa); color:#fff; font-size:9px; font-weight:700; letter-spacing:0.4px; padding:2px 7px; border-radius:4px; }
.st-wa-sub { font-size:14px; color:var(--body); margin-top:2px; max-width:460px; }
.st-wa-status { font-size:12px; font-weight:600; color:var(--success); display:inline-flex; align-items:center; gap:6px; flex-shrink:0; margin-top:4px; }
.st-wa-live-dot { width:7px; height:7px; border-radius:50%; background:var(--success); box-shadow:0 0 0 3px rgba(22,163,74,0.18); animation:pulse 1.8s ease-in-out infinite; }
.st-wa-info { display:grid; grid-template-columns:220px 1fr; gap:14px; margin-bottom:14px; }
@media (max-width:700px) { .st-wa-info { grid-template-columns:1fr; } }
.st-wa-field { display:flex; flex-direction:column; gap:6px; }
.st-wa-field-label { font-size:12px; font-weight:600; color:var(--ink); }
.st-wa-field-val { background:#fff; border:1px solid var(--hairline); border-radius:10px; padding:10px 12px; font-size:14px; color:var(--ink); display:flex; align-items:center; gap:8px; min-height:42px; }
.st-wa-flag { font-size:12px; font-weight:600; color:var(--muted); border-right:1px solid var(--hairline); padding-right:8px; flex-shrink:0; }
.st-wa-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.st-wa-setup { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--hairline); border-radius:12px; padding:14px 16px; font-size:14px; color:var(--body); }
.st-wa-setup svg { color:var(--muted); flex-shrink:0; }

/* Product list */
.st-product-list { display:flex; flex-direction:column; gap:10px; }
.st-product-row { display:grid; grid-template-columns:20px 64px minmax(0,1fr) 100px 90px auto auto auto; align-items:center; gap:16px; padding:14px; background:#fff; border:1px solid var(--hairline); border-radius:14px; box-shadow:var(--shadow-card); transition:all 150ms ease; position:relative; cursor:default; }
.st-product-row:hover { border-color:var(--amber); box-shadow:var(--shadow-card-hover); }
.st-product-row.inactive { opacity:0.6; }
.st-product-row.dragging { opacity:0.4; transform:scale(0.98); }
.st-pr-drag { color:var(--muted); font-size:13px; cursor:grab; display:flex; align-items:center; }
.st-pr-drag:active { cursor:grabbing; }
@media (max-width:900px) { .st-product-row { grid-template-columns:20px 56px 1fr auto auto; } .st-pr-price,.st-pr-stock { display:none; } }
.st-pr-stock { display:flex; align-items:center; gap:4px; justify-content:center; }
.st-stock-unlimited { font-size:20px; color:var(--muted); font-weight:300; line-height:1; }
.st-stock-btn { width:22px; height:22px; border-radius:6px; border:1px solid var(--hairline); background:var(--surface); color:var(--ink); font-size:14px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 100ms ease; padding:0; }
.st-stock-btn:hover:not(:disabled) { background:var(--primary-light); border-color:var(--primary-muted); color:var(--primary); }
.st-stock-btn:disabled { opacity:0.35; cursor:not-allowed; }
.st-stock-num { font-family:'Bricolage Grotesque',sans-serif; font-size:16px; font-weight:700; color:var(--ink); min-width:28px; text-align:center; }
.st-stock-num.zero { color:#ef4444; }
.st-pr-thumb { width:64px; height:64px; border-radius:10px; background:linear-gradient(135deg,#FEF3C7,#FDE68A); border:1px solid #FDE68A; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; }
.st-pr-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.st-pr-thumb svg { width:28px; height:28px; color:var(--amber-dark); }
.st-pr-info { min-width:0; }
.st-pr-title { font-size:15px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.st-pr-meta { margin-top:3px; display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.st-pr-badge { padding:1px 7px; border-radius:4px; font-size:10px; font-weight:700; letter-spacing:0.3px; }
.st-pr-badge.available { background:#DCFCE7; color:#166534; }
.st-pr-badge.unavailable { background:var(--surface-muted); color:var(--muted); }
.st-pr-price { font-family:'Bricolage Grotesque',sans-serif; font-size:17px; font-weight:600; color:var(--ink); letter-spacing:-0.2px; text-align:right; white-space:nowrap; }
.st-pr-price .currency { color:var(--amber-dark); font-size:14px; margin-right:1px; }
.st-pr-toggle { display:flex; align-items:center; gap:8px; }
.st-pr-toggle .label { font-size:12px; font-weight:600; }
.st-pr-toggle .label.on { color:var(--primary); }
.st-pr-toggle .label.off { color:var(--muted); }
.st-pr-actions { display:flex; align-items:center; gap:4px; }
.st-pr-btn { width:32px; height:32px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; color:var(--muted); transition:all 150ms ease; border:none; background:none; cursor:pointer; text-decoration:none; }
.st-pr-btn:hover { background:var(--surface); color:var(--ink); }
.st-pr-btn.danger:hover { background:#FEE2E2; color:var(--error); }
.st-pr-toggle-btn { position:relative; width:38px; height:22px; border-radius:9999px; background:var(--hairline); flex-shrink:0; transition:background 150ms ease; cursor:pointer; border:none; padding:0; }
.st-pr-toggle-btn::after { content:""; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:9999px; background:#fff; box-shadow:var(--shadow-card); transition:transform 150ms ease; }
.st-pr-toggle-btn.on { background:var(--primary); }
.st-pr-toggle-btn.on::after { transform:translateX(16px); }

/* Add product tile */
.st-add-tile { border:2px dashed var(--hairline); background:var(--surface); border-radius:14px; padding:18px; display:flex; align-items:center; gap:14px; cursor:pointer; transition:all 150ms ease; margin-top:10px; text-decoration:none; }
.st-add-tile:hover { border-color:var(--amber); background:var(--amber-tint,#FFFBEB); }
.st-add-tile .ic { width:48px; height:48px; border-radius:12px; background:#fff; border:1px dashed var(--amber); display:flex; align-items:center; justify-content:center; color:var(--amber-dark); flex-shrink:0; }
.st-add-tile .ic svg { width:22px; height:22px; }
.st-add-tile .t { font-size:15px; font-weight:600; color:var(--ink); }
.st-add-tile .s { font-size:13px; color:var(--muted); }
.st-add-tile .arr { margin-left:auto; color:var(--muted); }
.st-search-wrap { position:relative; }
.st-search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--muted); font-size:13px; pointer-events:none; }
.st-search-input { height:38px; width:220px; border:1.5px solid var(--hairline-soft); border-radius:9999px; padding:0 18px 0 38px; font-size:14px; font-weight:500; color:var(--ink); background:#fff; outline:none; box-sizing:border-box; box-shadow:0 1px 3px rgba(0,0,0,0.07); }
.st-search-input::placeholder { color:var(--muted); font-weight:400; }
.st-search-input:focus { border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-light); }

/* Empty state */
.st-empty { background:#fff; border:1px solid var(--hairline); border-radius:16px; padding:48px 32px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; margin:8px 0; }
.st-empty-ill { width:100px; height:100px; background:linear-gradient(135deg,#FFFBEB,#FEF3C7); border-radius:24px; display:flex; align-items:center; justify-content:center; position:relative; }
.st-empty-ill svg { width:48px; height:48px; color:var(--amber-dark); }
.st-empty-title { font-family:'Bricolage Grotesque',sans-serif; font-size:20px; font-weight:600; color:var(--ink); letter-spacing:-0.2px; }
.st-empty-sub { font-size:14px; color:var(--muted); max-width:340px; line-height:1.5; }

/* Product form */
.pf-wrap { max-width: 600px; margin: 0 auto; padding: 40px 24px 80px; }
.pf-col { width: 100%; }

.pf-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  align-items: start;
}
.pf-img-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.pf-img-thumb.pf-img-cover { border-color: var(--primary); }
.pf-img-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.pf-img-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transition: opacity 120ms;
}
.pf-img-thumb:hover .pf-img-del { opacity: 1; }
.pf-img-add {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px dashed var(--hairline);
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 120ms, color 120ms;
}
.pf-img-add:hover { border-color: var(--primary); color: var(--primary); }
.pf-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
/* legacy — kept for any old references */
.pf-img-block { display: flex; align-items: flex-start; gap: 20px; padding: 4px 0; }
.pf-img-actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; }

.pf-price-wrap { position: relative; }
.pf-price-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  pointer-events: none;
}
.pf-price-input { padding-left: 30px !important; }

@media (max-width: 768px) {
  .st-wrap { padding: 20px 16px 60px; }
  .st-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .st-grid { grid-template-columns: 1fr; }
}

/* ================================================
   STORE — PUBLIC PROFILE  (sp- prefix)
   ================================================ */
.sp-store {
  width: 100%;
  margin-top: 8px;
  padding: 0 16px 16px;
}
.sp-store-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.sp-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sp-product-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sp-product-img {
  aspect-ratio: 1;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  position: relative;
}
.sp-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-product-info { padding: 8px 10px 4px; flex: 1; }
.sp-product-title { font-size: 13px; font-weight: 700; color: #0F172A; line-height: 1.3; margin-bottom: 2px; }
.sp-product-desc { font-size: 11px; color: #64748B; line-height: 1.45; margin-bottom: 4px; }
.sp-product-price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; color: #0D9488; }

/* ================================================
   LINK FORM  (lf- prefix)
   ================================================ */
body.body-link-form { background: var(--surface); }

.lf-topnav {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  flex-shrink: 0;
}
.lf-breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.lf-breadcrumb a:hover { color: var(--ink); }
.lf-breadcrumb .sep { color: var(--placeholder); }
.lf-breadcrumb .cur { color: var(--ink); font-weight: 600; }
.lf-save-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lf-save-status .dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); }

.lf-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 28px 80px;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 1024px) {
  .lf-wrap { grid-template-columns: 1fr; max-width: 720px; }
  .lf-preview-col { order: -1; }
}

.lf-page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.lf-back-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1px solid var(--hairline);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-decoration: none;
  transition: border-color 150ms, transform 150ms;
}
.lf-back-btn:hover { border-color: var(--primary-light); transform: translateX(-2px); }
.lf-page-head h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.4px; line-height: 1.2; }
.lf-page-head .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Cards */
.lf-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(15,23,42,.06); margin-bottom: 16px; }
.lf-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.lf-card-head h2 { font-size: 16px; font-weight: 600; color: var(--ink); }
.lf-card-head .opt { font-size: 12px; color: var(--muted); }

/* Form rows */
.lf-form-row { margin-bottom: 18px; }
.lf-form-row:last-child { margin-bottom: 0; }
.lf-form-label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.lf-form-label .req { color: var(--error); }
.lf-form-label .helper { font-size: 11px; color: var(--muted); font-weight: 500; }
.lf-form-input, .lf-form-textarea {
  width: 100%; height: 48px;
  background: #fff !important; border: 1px solid var(--hairline) !important;
  border-radius: 12px; padding: 0 14px !important;
  font-family: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none; appearance: none;
}
.lf-form-input:focus, .lf-form-textarea:focus {
  border-color: var(--primary) !important; border-width: 2px !important;
  box-shadow: 0 0 0 3px var(--primary-light) !important;
}
.lf-form-textarea { height: auto; padding: 12px 14px !important; min-height: 80px; resize: vertical; }
.lf-form-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* URL prefix input */
.lf-url-wrap {
  display: flex; align-items: stretch;
  border: 1px solid var(--hairline); border-radius: 12px;
  overflow: hidden; background: #fff;
  transition: border-color 150ms, box-shadow 150ms;
}
.lf-url-wrap:focus-within {
  border-color: var(--primary) !important; border-width: 2px !important;
  box-shadow: 0 0 0 3px var(--primary-light) !important;
}
.lf-url-prefix {
  background: var(--surface); color: var(--muted);
  padding: 0 12px;
  display: flex; align-items: center;
  font-size: 13px; font-weight: 500;
  border-right: 1px solid var(--hairline);
  white-space: nowrap; flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.lf-url-wrap input {
  flex: 1; height: 46px; border: none !important; outline: none !important;
  background: transparent !important; padding: 0 12px !important;
  font-family: inherit; font-size: 15px; color: var(--ink);
  box-shadow: none !important;
}
.lf-url-status {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px; font-size: 12px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.lf-url-status.ok { color: var(--success); }
.lf-url-status.bad { color: var(--error); }

/* Link type selector */
.lf-type-group { display: flex; gap: 6px; flex-wrap: wrap; }
.lf-type-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--hairline); background: #fff; color: var(--muted);
  cursor: pointer; transition: all 150ms;
}
.lf-type-btn:hover { border-color: var(--primary-muted); color: var(--ink); }
.lf-type-btn.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* Icon picker */
.lf-icon-picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
@media (max-width: 600px) { .lf-icon-picker { grid-template-columns: repeat(5, 1fr); } }
.lf-icon-tile {
  aspect-ratio: 1; border: 1.5px solid var(--hairline); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; cursor: pointer;
  transition: all 150ms; color: var(--ink); position: relative;
}
.lf-icon-tile svg { width: 20px; height: 20px; }
.lf-icon-tile:hover { border-color: var(--primary-muted); transform: translateY(-1px); }
.lf-icon-tile.selected { border-color: var(--primary); border-width: 2px; background: var(--primary-light); }
.lf-icon-tile.selected::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 13px; height: 13px; border-radius: 9999px; background: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.lf-icon-tile.brand-ig { background: linear-gradient(135deg,#FFD75A,#FF6B6B 50%,#C13584); color:#fff; border-color:transparent; }
.lf-icon-tile.brand-tt { background:#000; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-yt { background:#FF0000; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-x  { background:#000; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-fb { background:#1877F2; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-li { background:#0A66C2; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-sp { background:#1DB954; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-wa { background:#25D366; color:#fff; border-color:transparent; }
.lf-icon-tile.brand-ty { background:#F27A1A; color:#fff; border-color:transparent; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:17px; }
.lf-icon-tile.brand-hb { background:#FF6000; color:#fff; border-color:transparent; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:17px; }
.lf-icon-tile.brand-iz { background:#1E40AF; color:#fff; border-color:transparent; font-size:10px; font-weight:700; }
.lf-icon-tile.brand-pp { background:#783DBF; color:#fff; border-color:transparent; font-size:10px; font-weight:700; }
.lf-icon-tile.color-amber { color:var(--amber-dark); background:var(--amber-light); }
.lf-icon-tile.color-teal  { color:var(--primary); background:var(--primary-light); }
.lf-icon-tile.upload { background:var(--surface); border:2px dashed var(--hairline); color:var(--muted); flex-direction:column; gap:2px; font-size:9px; font-weight:600; letter-spacing:0.3px; }
.lf-icon-tile.upload:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }

/* UTM accordion */
.lf-accordion { border: 1px solid var(--hairline-soft); border-radius: 12px; overflow: hidden; background: #fff; }
.lf-acc-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 16px; text-align: left; cursor: pointer;
  transition: background 150ms; border: none; background: none; font-family: inherit;
}
.lf-acc-head:hover { background: var(--surface); }
.lf-acc-head .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lf-acc-head .body { flex: 1; text-align: left; }
.lf-acc-head .t1 { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.lf-acc-head .t2 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lf-acc-head .chev { color: var(--muted); transition: transform 200ms; flex-shrink: 0; }
.lf-accordion.open .lf-acc-head .chev { transform: rotate(180deg); }
.lf-acc-body { display: none; padding: 16px; border-top: 1px solid var(--hairline-soft); }
.lf-accordion.open .lf-acc-body { display: block; }
.lf-utm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .lf-utm-grid { grid-template-columns: 1fr; } }
.lf-adv-badge { background: var(--surface-muted); color: var(--muted); padding: 1px 7px; border-radius: 9999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; }
.lf-utm-preview {
  margin-top: 12px; background: var(--ink); color: #fff;
  border-radius: 10px; padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.6; word-break: break-all;
}
.lf-utm-preview .label-row { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: rgba(255,255,255,.6); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.lf-utm-preview .copy-btn { background: rgba(255,255,255,.12); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; }
.lf-utm-preview .key { color: #99F6E4; }
.lf-utm-preview .val { color: #FCD34D; }

/* Visibility toggle */
.lf-toggle-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: 12px;
}
.lf-toggle-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--success-light); color: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lf-toggle-row.off .ic { background: var(--surface-muted); color: var(--muted); }
.lf-toggle-row .body { flex: 1; }
.lf-toggle-row .t1 { font-size: 14px; font-weight: 600; color: var(--ink); }
.lf-toggle-row .t2 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lf-toggle {
  position: relative; width: 44px; height: 24px; border-radius: 9999px;
  background: var(--hairline); flex-shrink: 0;
  transition: background 150ms; cursor: pointer; border: none;
}
.lf-toggle::after { content:""; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:9999px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.15); transition:transform 150ms; }
.lf-toggle.on { background: var(--primary); }
.lf-toggle.on::after { transform: translateX(20px); }

/* Danger zone */
.lf-danger-card {
  background: var(--error-light); border: 1px solid #FCA5A5; border-radius: 14px;
  padding: 18px 20px; display: flex; align-items: center; gap: 16px;
}
.lf-danger-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--error); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lf-danger-card .body { flex: 1; }
.lf-danger-card .t1 { font-size: 15px; font-weight: 600; color: #7F1D1D; }
.lf-danger-card .t2 { font-size: 13px; color: #991B1B; margin-top: 2px; }
.lf-btn-destructive { background: var(--error); color: #fff; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; border: none; cursor: pointer; font-family: inherit; transition: background 150ms; }
.lf-btn-destructive:hover { background: #B91C1C; }

/* Actions bar */
.lf-actions-bar {
  position: sticky; bottom: 0;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--hairline);
  padding: 14px 0; margin-top: 24px;
  display: flex; gap: 10px; justify-content: flex-end;
}

/* Preview column */
.lf-preview-col { position: sticky; top: 96px; }
.lf-preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lf-preview-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); }
.lf-preview-label .live { width: 6px; height: 6px; border-radius: 9999px; background: var(--success); animation: lfPulse 2s infinite; }
@keyframes lfPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.lf-preview-card { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.lf-preview-frame { background: var(--surface); border-radius: 12px; padding: 24px 16px; }
.lf-live-link { background: #fff; border: 1px solid var(--hairline-soft); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 3px rgba(15,23,42,.06); transition: all 200ms; }
.lf-live-link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,.1); }
.lf-live-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--primary-light); color: var(--primary); transition: background 200ms; }
.lf-live-icon svg { width: 18px; height: 18px; }
.lf-live-title { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; }
.lf-live-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.lf-live-arr { color: var(--placeholder); flex-shrink: 0; }
.lf-preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.lf-stat-tile { background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.lf-stat-tile .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); }
.lf-stat-tile .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 2px; line-height: 1; }
.lf-stat-tile .sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.lf-preview-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline-soft); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.lf-preview-foot span:last-child { color: var(--ink); font-weight: 500; }

/* Delete confirm modal */
.lf-modal { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,.5); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lf-modal.show { display: flex; }
.lf-modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(15,23,42,.2); padding: 28px; animation: lfModalIn 200ms ease-out; }
@keyframes lfModalIn { from{opacity:0;transform:scale(.96)} to{opacity:1;transform:scale(1)} }
.lf-modal-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--error-light); color: var(--error); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lf-modal-title { font-family: 'Bricolage Grotesque',sans-serif; font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 6px; }
.lf-modal-sub { font-size: 14px; color: var(--body); line-height: 1.5; }
.lf-modal-sub code { background: var(--surface); padding: 2px 6px; border-radius: 4px; color: var(--ink); font-weight: 600; }
.lf-confirm-input { width: 100%; height: 44px; background: #fff !important; border: 1px solid var(--hairline) !important; border-radius: 10px; padding: 0 14px !important; font-family: inherit; font-size: 14px; color: var(--ink); outline: none; margin-top: 16px; transition: border-color 150ms; -webkit-appearance: none; appearance: none; }
.lf-confirm-input:focus { border-color: var(--error) !important; border-width: 2px !important; }
.lf-modal-foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* ================================================
   EVENTS DASHBOARD  (ev- prefix)
   ================================================ */

/* Stats strip reuses st- classes */

/* Event list rows */
.ev-list { display: flex; flex-direction: column; gap: 10px; }
.ev-row { display: grid; grid-template-columns: 90px minmax(0,1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-card); transition: all 150ms ease; }
.ev-row:hover { border-color: var(--primary-muted); box-shadow: var(--shadow-card-hover); }
.ev-row.past { opacity: 0.6; }
.ev-row.inactive { opacity: 0.5; }
@media (max-width:900px) { .ev-row { grid-template-columns: 80px 1fr auto auto; } .ev-row-ticket { display:none; } }
.ev-date-block { text-align: center; background: var(--primary-light); border-radius: 10px; padding: 8px 6px; flex-shrink: 0; }
.ev-date-day { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 700; color: var(--primary-ink); line-height: 1; }
.ev-date-mon { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--primary); text-transform: uppercase; margin-top: 2px; }
.ev-date-time { font-size: 11px; color: var(--primary); margin-top: 2px; }
.ev-row.past .ev-date-block { background: var(--surface-muted); }
.ev-row.past .ev-date-day { color: var(--muted); }
.ev-row.past .ev-date-mon { color: var(--placeholder); }
.ev-row.past .ev-date-time { color: var(--placeholder); }
.ev-row-info { min-width: 0; }
.ev-row-title { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.ev-past-badge { background: var(--surface-muted); color: var(--muted); padding: 1px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px; flex-shrink: 0; }
.ev-row-meta { margin-top: 3px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ev-row-ticket { font-size: 12px; color: var(--body); min-width: 0; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-row-ticket svg { vertical-align: middle; color: var(--muted); margin-right: 4px; }

/* Add tile reuses st-add-tile */

/* Empty state reuses st-empty */

/* ================================================
   EVENT FORM  (ef- prefix)
   ================================================ */
.ef-wrap { max-width: 640px; margin: 0 auto; padding: 0 24px 80px; }
.evf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px 80px; display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: flex-start; }
.evf-preview-col { position: sticky; top: 72px; }
@media (max-width: 960px) { .evf-wrap { grid-template-columns: 1fr; max-width: 680px; } .evf-preview-col { order: -1; position: static; } }
.ef-dt-row { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
@media (max-width: 600px) { .ef-dt-row { grid-template-columns: 1fr; } }
.ef-img-block { display: flex; align-items: center; gap: 16px; }
.ef-img-preview { width: 80px; height: 80px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; color: var(--muted); }
.ef-img-preview img { width: 100%; height: 100%; object-fit: cover; }
.ef-ticket-row { display: grid; grid-template-columns: 1fr 160px; gap: 12px; }
@media (max-width: 600px) { .ef-ticket-row { grid-template-columns: 1fr; } }

/* ================================================
   PUBLIC PROFILE — EVENTS  (ev- prefix)
   ================================================ */
.ev-section { margin-top: 8px; padding: 0 16px 16px; }

/* =========================================================
   DESIGN SETTINGS PAGE  (ds- prefix)
   ========================================================= */

/* Theme grid — 3-column swatch picker */
.ds-theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 500px) { .ds-theme-grid { grid-template-columns: repeat(4, 1fr); } }

.ds-theme-chip { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; }
.ds-chip-swatch { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid var(--hairline); transition: border-color 150ms ease, box-shadow 150ms ease; }
.ds-theme-chip:hover .ds-chip-swatch { border-color: var(--primary-muted); box-shadow: var(--shadow-card-hover); }
.ds-theme-chip.active .ds-chip-swatch { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.ds-chip-top { height: 50%; display: flex; align-items: center; justify-content: center; }
.ds-chip-aa { font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: -0.3px; }
.ds-chip-bot { height: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0 8px; }
.ds-chip-line { display: block; width: 100%; height: 5px; border-radius: 3px; border: 1px solid; }
.ds-chip-check { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.28); opacity: 0; transition: opacity 150ms ease; }
.ds-theme-chip.active .ds-chip-check { opacity: 1; }
.ds-chip-check svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.ds-chip-label { font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; text-align: center; }

/* Header colour row */
.ds-color-row { display: flex; align-items: center; gap: 16px; }

/* Section visibility rows */
.ds-section-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.ds-section-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.ds-section-icon svg { width: 18px; height: 18px; }
.ds-section-icon.events { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }
.ds-section-icon.store  { background: #FEF3C7; border-color: #FDE68A; color: var(--amber-dark); }
.ds-section-body { flex: 1; min-width: 0; }
.ds-section-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.ds-section-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.ds-section-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); background: var(--surface-muted); padding: 3px 8px; border-radius: 9999px; white-space: nowrap; }

/* Toggle switch */
.ds-toggle-wrap { position: relative; display: inline-flex; cursor: pointer; flex-shrink: 0; }
.ds-toggle-wrap input { position: absolute; opacity: 0; width: 0; height: 0; }
.ds-toggle { width: 44px; height: 26px; border-radius: 9999px; background: var(--surface-muted); border: 1.5px solid var(--hairline); transition: background 200ms ease, border-color 200ms ease; position: relative; }
.ds-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 200ms ease; }
.ds-toggle-wrap input:checked + .ds-toggle { background: var(--primary); border-color: var(--primary); }
.ds-toggle-wrap input:checked + .ds-toggle::after { transform: translateX(18px); }

/* Phone preview — design page specific elements */
.ds-preview-links { padding: 0 10px; display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.ds-preview-link-card { min-height: 28px; border-radius: 8px; background: rgba(0,0,0,0.06); display:flex; align-items:center; gap:5px; padding: 5px 8px; overflow:hidden; }
.ds-preview-section { padding: 0 10px; margin-bottom: 10px; }
.ds-preview-section-label { font-size: 8px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 5px; text-align: center; }
.ds-preview-event-card { min-height: 36px; border-radius: 8px; background: rgba(0,0,0,0.06); display:flex; align-items:center; gap:5px; padding: 5px 8px; overflow:hidden; margin-bottom: 4px; }
.ds-preview-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ds-preview-store-card { height: 52px; border-radius: 8px; background: rgba(0,0,0,0.06); overflow:hidden; }
.ds-prev-link-icon { font-size: 8px; opacity:0.5; flex-shrink:0; }
.ds-prev-link-text { font-size: 8px; color: var(--ink); opacity:0.7; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ds-prev-link-title { font-size: 8px; font-weight:700; color:var(--ink); opacity:0.5; text-align:center; width:100%; }

/* ================================================
   TITLE / SEPARATOR BLOCK  (tb- prefix)
   ================================================ */

/* Dashboard list row */
.link-row.title-row { background: #F3F4F6; }
.link-row.title-row .link-icon { background: #E5E7EB; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0; border-radius: 9px; }
.tb-row-preview { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 4px; }
.tb-rp-line { flex: 1; height: 1px; background: var(--hairline); }
.tb-rp-content { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Add title" secondary button in add-bar */
.add-link-btn-secondary { background: var(--surface) !important; color: var(--body) !important; border: 1.5px solid var(--hairline) !important; }
.add-link-btn-secondary:hover { border-color: var(--primary-muted) !important; color: var(--primary) !important; background: var(--primary-light) !important; }
.add-link-btn-secondary .plus { background: var(--surface-muted) !important; color: var(--muted) !important; }

/* Form live preview card */
.tb-preview-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; min-height: 68px; display: flex; align-items: center; }
.tb-preview-inner { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 28px; }
.tb-preview-inner.ls-above,
.tb-preview-inner.ls-below { flex-direction: column; align-items: stretch; gap: 5px; }
.tb-preview-inner.ls-above .tb-content { display: flex; }
.tb-preview-inner.ls-below .tb-content { display: flex; }
.tb-preview-inner.ls-above.align-center .tb-content,
.tb-preview-inner.ls-below.align-center .tb-content { justify-content: center; }
.tb-preview-inner.ls-above.align-left .tb-content,
.tb-preview-inner.ls-below.align-left .tb-content { justify-content: flex-start; }
.tb-preview-inner.ls-above.align-right .tb-content,
.tb-preview-inner.ls-below.align-right .tb-content { justify-content: flex-end; }
.tb-preview-inner.ls-none.align-center { justify-content: center; }
.tb-preview-inner.ls-none.align-left { justify-content: flex-start; }
.tb-preview-inner.ls-none.align-right { justify-content: flex-end; }
.tb-preview-inner .tb-line { flex: 1; height: 1.5px; background: var(--muted); display: block; }
.tb-preview-inner .tb-line.full { width: 100%; flex: none; height: 1.5px; background: var(--muted); }
.tb-content { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tb-icon { font-size: 16px; line-height: 1; }
.tb-text { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Icon picker grid */
.tb-icon-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-icon-btn { min-width: 44px; height: 44px; border: 2px solid var(--hairline); border-radius: 10px; background: var(--surface); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: border-color 150ms, background 150ms; }
.tb-icon-btn:hover { border-color: var(--primary-muted); background: var(--primary-light); }
.tb-icon-btn.active { border-color: var(--primary); background: var(--primary-light); }

/* Alignment picker */
.tb-align-row { display: flex; gap: 8px; }
.tb-align-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border: 2px solid var(--hairline); border-radius: 10px; background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--body); transition: border-color 150ms, background 150ms; }
.tb-align-btn:hover { border-color: var(--primary-muted); background: var(--primary-light); }
.tb-align-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* Line style picker */
.tb-line-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 480px) { .tb-line-options { grid-template-columns: repeat(4, 1fr); } }
.tb-line-btn { border: 2px solid var(--hairline); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color 150ms, background 150ms; }
.tb-line-btn:hover { border-color: var(--primary-muted); background: var(--primary-light); }
.tb-line-btn.active { border-color: var(--primary); background: var(--primary-light); }
.tb-line-btn span { font-size: 11px; font-weight: 600; color: var(--muted); }
.tb-line-btn.active span { color: var(--primary); }

/* Mini line-style demos inside picker buttons */
.tb-line-demo { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tb-line-demo .demo-line { width: 100%; height: 2px; background: var(--body); border-radius: 1px; }
.tb-line-demo .demo-text { font-size: 10px; font-weight: 700; color: var(--ink); line-height: 1; }
.tb-line-demo.through { flex-direction: row; align-items: center; gap: 4px; }
.tb-line-demo.through .demo-text { flex-shrink: 0; }
.tb-line-demo.through .demo-line { flex: 1; }
.tb-line-demo.none .demo-line { display: none; }

/* Public profile rendering */
.title-block { display: flex; align-items: center; gap: 8px; padding: 6px 0; margin: 2px 0; width: 100%; }
.title-block.ls-through { flex-direction: row; }
.title-block.ls-through .tb-line { flex: 1; }
.title-block.ls-through.align-left .tb-line:first-child { display: none; }
.title-block.ls-through.align-right .tb-line:last-child { display: none; }
.title-block.ls-above,
.title-block.ls-below { flex-direction: column; align-items: stretch; gap: 4px; }
.title-block.ls-above .tb-content,
.title-block.ls-below .tb-content { display: flex; align-items: center; gap: 6px; }
.title-block.ls-above.align-center .tb-content,
.title-block.ls-below.align-center .tb-content { justify-content: center; }
.title-block.ls-above.align-left .tb-content,
.title-block.ls-below.align-left .tb-content { justify-content: flex-start; }
.title-block.ls-above.align-right .tb-content,
.title-block.ls-below.align-right .tb-content { justify-content: flex-end; }
.title-block.ls-none { flex-direction: row; }
.title-block.ls-none.align-center { justify-content: center; }
.title-block.ls-none.align-left { justify-content: flex-start; }
.title-block.ls-none.align-right { justify-content: flex-end; }
.title-block .tb-line { flex: 1; height: 1px; background: rgba(0,0,0,0.12); display: block; }
.title-block .tb-line.full { width: 100%; flex: none; height: 1px; background: rgba(0,0,0,0.12); }
.title-block .tb-content { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.title-block .tb-icon { font-size: 14px; line-height: 1; }
.title-block .tb-text { font-size: 11px; font-weight: 700; color: rgba(0,0,0,0.4); letter-spacing: 0.5px; text-transform: uppercase; }

/* Rich text block — profile rendering */
.rt-block { padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.rt-block strong, .rt-block b { font-weight: 700; }
.rt-block em, .rt-block i { font-style: italic; }
.rt-block u { text-decoration: underline; }
.rt-block s, .rt-block strike { text-decoration: line-through; }

/* Rich text editor — toolbar */
.rt-toolbar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; background: var(--surface-muted); border-radius: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.rt-tb-btn { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border: none; background: none; border-radius: 7px; cursor: pointer; font-size: 13px; color: var(--ink); transition: background 120ms ease; }
.rt-tb-btn:hover { background: var(--canvas); }
.rt-tb-btn.active { background: var(--primary-light); color: var(--primary); }
.rt-tb-sep { width: 1px; height: 20px; background: var(--hairline); margin: 0 4px; }

/* Rich text editor — editable area */
.rt-editor { min-height: 120px; padding: 12px 14px; border: 1.5px solid var(--hairline); border-radius: 10px; font-size: 14px; line-height: 1.7; color: var(--ink); background: var(--canvas); outline: none; word-break: break-word; }
.rt-editor:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.rt-editor:empty:before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; }
.rt-char-counter { text-align: right; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Rich text color pickers */
.rt-color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rt-color-item { display: flex; flex-direction: column; gap: 6px; }
.rt-color-label { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.rt-color-wrap { display: flex; align-items: center; gap: 8px; }
.rt-color-wrap input[type="color"] { width: 40px; height: 40px; border: 2px solid var(--hairline); border-radius: 10px; padding: 3px; cursor: pointer; background: none; flex-shrink: 0; }
.rt-color-hex { font-size: 12px; font-weight: 600; color: var(--ink); flex: 1; }
.rt-color-clear { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.rt-color-clear:hover { color: var(--ink); background: var(--surface-muted); }

/* Rich text preview in form */
.rt-preview-block { padding: 14px 18px; border-radius: 12px; font-size: 14px; line-height: 1.7; min-height: 60px; word-break: break-word; color: var(--ink); }
.rt-preview-block strong, .rt-preview-block b { font-weight: 700; }
.rt-preview-block em, .rt-preview-block i { font-style: italic; }
.rt-preview-block u { text-decoration: underline; }
.rt-preview-block s, .rt-preview-block strike { text-decoration: line-through; }

/* Phone preview title row */
.ph-title { display: flex; align-items: center; gap: 4px; padding: 3px 6px; }
.ph-title-line { flex: 1; height: 1px; background: rgba(0,0,0,0.1); }
.ph-title-text { font-size: 7px; font-weight: 700; color: rgba(0,0,0,0.38); white-space: nowrap; letter-spacing: 0.3px; }

/* =========================================
   MEDIA BLOCK — profile & dashboard
   ========================================= */

/* Public profile */
.media-block { width: 100%; margin: 2px 0; }
.media-embed { border-radius: 14px; overflow: hidden; }
.media-embed-video { position: relative; padding-top: 56.25%; }
.media-embed-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.media-embed-audio { height: 152px; }
.media-embed-audio iframe { width: 100%; height: 100%; border: none; }
.media-provider-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; background: var(--primary-light); color: var(--primary-ink); border-radius: 4px; }
.media-title { font-size: 14px; font-weight: 500; color: var(--body); }
.media-link-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card-bg, #fff); border: 1px solid var(--card-border, #E2E8F0); border-radius: 14px; text-decoration: none; transition: opacity 150ms; }
.media-link-card.media-link-brand .media-link-icon { background: rgba(255,255,255,0.20); color: #fff; }
.media-link-card.media-link-brand .media-link-title { color: #fff; }
.media-link-card.media-link-brand .media-link-provider { color: rgba(255,255,255,0.75); }
.media-link-card.media-link-brand .arr { color: rgba(255,255,255,0.7); }
.media-link-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-muted); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.media-link-provider { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.media-link-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.media-link-card .arr { margin-left: auto; font-size: 18px; color: var(--muted); }

/* Media card color picker in form */
.mc-color-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-color-opt { text-align:left; padding: 12px; border: 2px solid var(--hairline); border-radius: 12px; background: #fff; cursor: pointer; transition: all 150ms; }
.mc-color-opt:hover:not(:disabled) { border-color: var(--primary-muted); }
.mc-color-opt.sel { border-color: var(--primary); background: var(--primary-light); }
.mc-color-opt:disabled { opacity: 0.38; cursor: not-allowed; }
.mc-color-swatch { border-radius: 10px; height: 40px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.mc-color-dot { width: 20px; height: 20px; border-radius: 50%; display: inline-block; }
.mc-color-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.mc-color-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Dashboard row */
.link-row.media-row { background: #EFF6FF; }
.link-icon.media-icon { background: #DBEAFE; }
.link-row.event-row { background: #FFF7ED; }
.link-icon.event-icon { background: #FED7AA; color: #C2410C; flex-direction: column; gap: 0; font-size: 10px; }
.link-icon.event-icon i { font-size: 11px; }
.ev-icon-day { font-size: 13px; font-weight: 800; line-height: 1; }

/* Dashboard form preview */
.media-preview-frame { padding: 0; min-height: 180px; background: var(--surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-preview-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; width: 100%; }
.media-preview-link-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; }
.media-preview-link-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--hairline); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.media-preview-link-provider { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.media-preview-link-title { font-size: 13px; font-weight: 600; color: var(--ink); }

/* Phone preview media card */
.ph-link.ph-media { background: #EFF6FF; }
.ph-wa-btn { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 11px; padding: 8px 10px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #15803D; }
.ph-wa-btn i { color: #25D366; font-size: 13px; }
.ph-tg-btn { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 11px; padding: 8px 10px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #1D4ED8; margin-top: 6px; }
.ph-tg-btn i { color: #229ED9; font-size: 13px; }

/* Media label row: badge + title + external link */
.media-label { display: flex; align-items: center; gap: 6px; margin-top: 8px; margin-bottom: 5px; padding: 0 2px; }
.media-ext-link { display: flex; align-items: center; color: var(--muted); opacity: .7; margin-left: auto; flex-shrink: 0; }
.media-ext-link:hover { opacity: 1; }

/* Fallback open-on-platform link shown when embed is blocked */
.media-open-row { margin-top: 8px; text-align: center; }
.media-open-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--primary); padding: 8px 16px; border: 1px solid var(--primary-muted); border-radius: 8px; }
.media-open-link:hover { background: var(--primary-light); }

/* =========================================
   PRODUCT MARKETPLACE LINKS
   ========================================= */

/* Product form — order channel toggles */
.pf-channel-toggle-row { display: flex; align-items: center; gap: 12px; }
.pf-channel-toggle-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-channel-toggle-icon.wa { background: #DCFCE7; color: #15803D; }
.pf-channel-toggle-icon.tg { background: #E0F3FF; color: #0088CC; }
.pf-channel-toggle-label { flex: 1; }
.pf-channel-toggle-label .t1 { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.pf-channel-toggle-label .t2 { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }

/* Product form — link row */
.pf-link-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pf-link-platform { flex: 0 0 140px; padding: 8px 10px; border: 1px solid var(--hairline); border-radius: 8px; font-size: 13px; background: var(--canvas); color: var(--ink); }
.pf-link-url { flex: 1; }

/* Public profile — product action area */
.sp-product-actions { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.sp-order-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; color: #fff; }
.sp-order-wa { background: var(--wa); }
.sp-order-wa:hover { background: var(--wa-dark); }
.sp-order-tg { background: #2AABEE; }
.sp-order-tg:hover { background: #1e96d4; }
.sp-market-btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; background: var(--surface-muted); color: var(--ink); border: 1px solid var(--hairline); }
.sp-market-btn:hover { background: var(--hairline); }
.sp-market-btn svg { opacity: .6; }

/* Per-platform colours */
.sp-market-trendyol    { background: #FF6000; color: #fff; border-color: #FF6000; }
.sp-market-trendyol:hover { background: #E05500; border-color: #E05500; }
.sp-market-hepsiburada { background: #FF6000; color: #fff; border-color: #FF6000; }
.sp-market-hepsiburada:hover { background: #E05500; border-color: #E05500; }
.sp-market-amazon      { background: #FF9900; color: #111; border-color: #FF9900; }
.sp-market-amazon:hover { background: #e68a00; border-color: #e68a00; }
.sp-market-n11         { background: #6B21D6; color: #fff; border-color: #6B21D6; }
.sp-market-n11:hover   { background: #5a19b8; border-color: #5a19b8; }
.sp-market-etsy        { background: #F56400; color: #fff; border-color: #F56400; }
.sp-market-etsy:hover  { background: #d95a00; border-color: #d95a00; }
.sp-market-ebay        { background: #E53238; color: #fff; border-color: #E53238; }
.sp-market-ebay:hover  { background: #c72c31; border-color: #c72c31; }

/* ── Product card: full-width variant ──────────────────────────────── */
.sp-product-card--full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: visible;      /* don't clip content below the image */
}
.sp-product-img--full {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;  /* clip only the image to card corners */
  overflow: hidden;
}
.sp-product-img--full img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* prevent flex: 1 collapse inside the full card */
.sp-product-card--full .sp-product-info { flex: none; }
.sp-product-card--full .sp-product-actions { display: flex; flex-direction: column; gap: 6px; }

/* ── Product image carousel ──────────────────────────────────────── */
.sp-carousel-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.65);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
}
.sp-car-btn:first-child { left: 5px; }
.sp-car-btn:last-child  { right: 5px; }
.sp-car-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  pointer-events: auto;
}
.sp-car-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 150ms;
}
.sp-car-dot.active { background: rgba(255,255,255,0.9); }

/* ── Product card: list variant ──────────────────────────────────── */
.sp-product-card--list {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  text-decoration: none;
  color: inherit;
  transition: background 120ms;
}
.sp-product-card--list:hover { background: #F8FAFC; }
.sp-product-img--list {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-product-img--list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-product-info--list { flex: 1; min-width: 0; }
.sp-product-list-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sp-list-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 10px; border-radius: 8px;
  font-size: 12px; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.sp-list-btn--wa  { background: #25D366; color: #fff; }
.sp-list-btn--tg  { background: #229ED9; color: #fff; }
.sp-list-btn--mkt { background: #F1F5F9; color: #0F172A; border: 1px solid rgba(0,0,0,0.08); }

/* ── Card style picker in product form ──────────────────────────── */
.pf-card-style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-cs-btn { border: 2px solid var(--hairline); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color 150ms, background 150ms; }
.pf-cs-btn:hover { border-color: var(--primary-muted); background: var(--primary-light); }
.pf-cs-btn.active { border-color: var(--primary); background: var(--primary-light); }
.pf-cs-btn span { font-size: 11px; font-weight: 600; color: var(--muted); }
.pf-cs-btn.active span { color: var(--primary); }
.pf-cs-demo { width: 100%; border-radius: 6px; overflow: hidden; }

/* half demo */
.pf-cs-half { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pf-cs-cell { background: #F1F5F9; border-radius: 5px; overflow: hidden; }
.pf-cs-img { height: 26px; background: #CBD5E1; }
.pf-cs-lines { padding: 4px 5px; display: flex; flex-direction: column; gap: 3px; }
.pf-cs-lines span { display: block; height: 3px; background: #CBD5E1; border-radius: 2px; }
.pf-cs-lines span:last-child { width: 55%; }

/* full demo */
.pf-cs-full { background: #F1F5F9; border-radius: 5px; display: flex; flex-direction: column; overflow: hidden; }
.pf-cs-img-top { height: 28px; background: #CBD5E1; width: 100%; }
.pf-cs-full .pf-cs-lines { padding: 4px 6px; justify-content: flex-start; gap: 3px; }
.pf-cs-full .pf-cs-lines .short { width: 45%; }

/* list demo */
.pf-cs-list { background: #F1F5F9; border-radius: 5px; display: flex; align-items: center; gap: 5px; padding: 5px 7px; height: 36px; }
.pf-cs-icon { width: 22px; height: 22px; flex-shrink: 0; background: #CBD5E1; border-radius: 4px; }
.pf-cs-list .pf-cs-lines { padding: 0; justify-content: center; }
.pf-cs-list .pf-cs-lines .short { width: 50%; }

/* Store title / separator row inside the product grid */
.sp-store-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
}
.sp-store-title.align-left  { justify-content: flex-start; }
.sp-store-title.align-center { justify-content: center; }
.sp-store-title.align-right { justify-content: flex-end; }
.sp-store-title .sp-stl-line { flex: 1; height: 1px; background: rgba(0,0,0,0.1); min-width: 12px; }
.sp-store-title .sp-stl-line.full { display: block; width: 100%; }
.sp-store-title .sp-stl-content { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.sp-store-title .sp-stl-text { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #64748B; white-space: nowrap; }
.sp-store-title .sp-stl-icon { font-size: 14px; line-height: 1; }
/* title-only row in the dashboard list */
.st-title-row { background: #F8FAFC !important; }

/* =========================================
   LINK COVER IMAGE
   ========================================= */
.li-img-preview { position: relative; width: 100%; height: 140px; background: var(--surface-muted); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hairline); }
.li-img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.li-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--muted); width: 100%; height: 100%; }
.li-img-clear { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55); color: #fff; border: none; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; padding: 0; }
.li-img-clear:hover { background: rgba(0,0,0,.8); }
.li-thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.li-thumb-item { aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .15s; background: var(--surface-muted); }
.li-thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.li-thumb-item:hover { border-color: var(--primary-muted); }
.li-thumb-item.selected { border-color: var(--primary); }
.li-fetch-status { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

/* =========================================
   LINK CARD WITH COVER IMAGE
   ========================================= */
.link-card-cover { display: block; background: #fff; border: 1px solid var(--hairline-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); transition: all 150ms ease; text-decoration: none; position: relative; }
.link-card-cover:hover { transform: translateY(-1px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-muted); }
.link-cover-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; }
.link-cover-body { padding: 12px 40px 12px 14px; }
.link-cover-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.link-cover-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.link-cover-arr { position: absolute; right: 14px; bottom: 14px; color: var(--placeholder); }

/* =========================================
   SIDEBAR DROPDOWN (Bileşenler)
   ========================================= */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-item { width: 100%; background: none; border: none; cursor: pointer; text-align: left; }
.nav-chev { width: 14px; height: 14px; margin-left: auto; flex-shrink: 0; color: var(--muted); transition: transform 200ms ease; }
.nav-chev.open { transform: rotate(180deg); }
.nav-submenu { padding-left: 10px; overflow: hidden; }
.nav-sub-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 1px; transition: all 150ms ease; text-decoration: none; }
.nav-sub-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-sub-item:hover { background: var(--surface-muted); color: var(--ink); }
.nav-sub-item.active { background: var(--primary-light); color: var(--primary-ink); font-weight: 600; }
[x-cloak] { display: none !important; }
.sidebar.collapsed .nav-dropdown .nav-chev { display: none; }
.sidebar.collapsed .nav-submenu { display: none; }
.sidebar.collapsed .sidebar-toggle { display: none; }
.sidebar.collapsed .logo { cursor: pointer; border-radius: 10px; transition: background 150ms ease; }
.sidebar.collapsed .logo:hover { background: var(--surface); }

/* =========================================
   SECONDARY SIDEBAR PANEL
   ========================================= */
.sidebar-panel { width: 0; min-width: 0; overflow: hidden; background: var(--canvas); border-right: 1px solid var(--hairline); flex-shrink: 0; transition: width 220ms ease, min-width 220ms ease; display: flex; flex-direction: column; }
.sidebar-panel.open { width: 220px; min-width: 220px; }
.sidebar-panel-inner { width: 220px; padding: 12px 10px; overflow-y: auto; height: 100%; }
.sp-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.sp-title { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.sp-close { width: 24px; height: 24px; border-radius: 6px; background: none; border: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; padding: 0; transition: background 150ms ease; }
.sp-close:hover { background: var(--surface-muted); color: var(--ink); }
.sp-item { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 9px; text-decoration: none; transition: background 150ms ease; margin-bottom: 2px; }
.sp-item:hover { background: var(--surface-muted); }
.sp-ic { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-item-body { min-width: 0; }
.sp-item-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.sp-item-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.sp-arr { width: 12px; height: 12px; margin-left: auto; flex-shrink: 0; color: var(--muted); opacity: 0.5; }
.nav-sub-item .sp-arr { margin-left: auto; }

/* =========================================
   MOBILE NAVIGATION
   ========================================= */
.mob-topbar { display: none; }
@media (max-width: 768px) { .app-topbar-user { display: none; } }
.mob-backdrop { display: none; }

@media (max-width: 768px) {
  /* Mobile top bar */
  .mob-topbar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 50; flex-shrink: 0; }
  .mob-menu-btn { width: 40px; height: 40px; border-radius: 10px; background: none; border: none; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
  .mob-menu-btn:hover { background: var(--surface-muted); }
  .mob-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; text-decoration: none; }
  .mob-logo span { color: var(--primary); }
  .mob-topbar-right { display: flex; align-items: center; gap: 8px; }
  .mob-url-pill { max-width: 130px; overflow: hidden; }
  .mob-url-pill code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 90px; }

  /* Sidebar becomes a fixed drawer */
  .sidebar { display: flex !important; position: fixed; left: -260px; top: 0; bottom: 0; z-index: 200; transition: left 250ms ease; box-shadow: none; width: 240px; min-width: 240px; }
  .sidebar.mob-open { left: 0; box-shadow: 6px 0 24px rgba(0,0,0,0.18); }
  .sidebar.collapsed { width: 240px; min-width: 240px; padding: 16px 12px; }
  .sidebar.collapsed .logo-text { display: flex; }
  .sidebar.collapsed .nav-text { display: flex; }
  .sidebar.collapsed .nav-badge { display: flex; }
  .sidebar.collapsed .nav-label { display: flex; }
  .sidebar.collapsed .nav-item { justify-content: flex-start; padding: 10px 12px; gap: 10px; }
  .sidebar.collapsed .upgrade-card { display: flex; }
  .sidebar-toggle { display: none; }

  /* Secondary panel on mobile: slides in over content */
  .sidebar-panel { position: fixed; left: -220px; top: 0; bottom: 0; z-index: 201; width: 220px; min-width: 220px; transition: left 250ms ease; }
  .sidebar-panel.open { left: 240px; }

  /* Backdrop */
  .mob-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 199; }
  .mob-backdrop.show { display: block; }

}

/* =========================================
   DASHBOARD FAVORITES BAR
   ========================================= */
.fav-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.fav-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fav-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 150ms ease; flex-shrink: 0; }
.fav-btn:hover { background: var(--primary-light); border-color: var(--primary-muted); color: var(--primary); transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
.fav-btn svg { flex-shrink: 0; }
/* Tooltip */
.fav-btn::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; padding: 4px 8px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity 150ms ease; }
.fav-btn::before { content: ''; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: var(--ink); pointer-events: none; opacity: 0; transition: opacity 150ms ease; }
.fav-btn:hover::after, .fav-btn:hover::before { opacity: 1; }
.fav-btn-group { position: relative; }
.fav-dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 6px; display: none; flex-direction: column; gap: 2px; min-width: 172px; z-index: 200; }
.fav-dropdown.open { display: flex; }
.fav-dropdown-item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background 120ms ease; }
.fav-dropdown-item i { width: 16px; text-align: center; color: var(--muted); }
.fav-dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.fav-dropdown-item:hover i { color: var(--primary); }

/* =========================================
   EVENT CARD STYLE PICKER (dashboard form)
   ========================================= */
.ev-style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ev-style-opt { cursor: pointer; }
.ev-style-opt input[type="radio"] { display: none; }
.ev-swatch { border: 2px solid var(--hairline); border-radius: 12px; padding: 12px 8px; text-align: center; transition: all 150ms ease; background: #fff; display: flex; flex-direction: column; align-items: center; }
.ev-swatch:hover { border-color: var(--primary-muted); }
.ev-style-opt input:checked + .ev-swatch { border-color: var(--primary); background: var(--primary-light); }
.ev-sw-icon { font-size: 20px; color: var(--muted); display: block; margin-bottom: 5px; }
.ev-style-opt input:checked + .ev-swatch .ev-sw-icon { color: var(--primary-ink); }
.ev-sw-name { font-size: 11px; font-weight: 700; color: var(--muted); display: block; }
.ev-style-opt input:checked + .ev-swatch .ev-sw-name { color: var(--primary-ink); }
.ev-sw-sub { font-size: 10px; color: var(--placeholder); display: block; margin-top: 2px; }
@media (max-width: 480px) { .ev-style-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================
   EVENT CARD VARIANTS (public profile)
   ========================================= */
/* Shared helpers */
.ev-loc, .ev-date-line { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.ev-loc i, .ev-date-line i { flex-shrink: 0; font-size: 11px; }
.buy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; transition: all 150ms ease; white-space: nowrap; text-decoration: none; cursor: pointer; }
.buy-btn:hover { transform: translateY(-1px); }
.ev-btn-past { opacity: 0.5; pointer-events: none; }
.ev-desc { font-size: 12px; color: var(--body); line-height: 1.5; margin-top: 5px; }

/* 1 · Hero */
.ev-hero { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); position: relative; color: #fff; margin-bottom: 10px; display: block; }
.ev-hero .ev-h-photo { aspect-ratio: 4/5; width: 100%; background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #818cf8 100%); background-size: cover; background-position: center; display: block; }
.ev-hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%); z-index: 2; pointer-events: none; }
.ev-hero .top-row { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 3; }
.ev-hero .pill { background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; color: #fff; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2); }
.ev-hero .date-chip { background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; min-width: 56px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.ev-hero .date-chip .d { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; line-height: 1; color: var(--ink); }
.ev-hero .date-chip .m { font-size: 10px; font-weight: 700; letter-spacing: 0.6px; color: var(--amber-dark); text-transform: uppercase; margin-top: 2px; }
.ev-hero .body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 3; }
.ev-hero .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -0.3px; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.ev-hero .meta-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; color: rgba(255,255,255,0.9); flex-wrap: wrap; }
.ev-hero .buy-btn { margin-top: 14px; background: #fff; color: var(--ink); width: 100%; padding: 12px 16px; font-size: 14px; border-radius: 12px; }
.ev-hero .buy-btn:hover { background: var(--amber); color: #fff; }
.ev-hero.past { opacity: 0.65; }

/* 2 · Side */
.ev-side { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--hairline-soft); display: grid; grid-template-columns: 130px 1fr; min-height: 170px; margin-bottom: 10px; }
.ev-side .ev-s-photo { position: relative; background: linear-gradient(135deg, #7c2d12 0%, #f59e0b 100%); background-size: cover; background-position: center; min-height: 170px; }
.ev-side .corner-date { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-radius: 8px; padding: 4px 8px; text-align: center; }
.ev-side .corner-date .d { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; line-height: 1; color: var(--ink); }
.ev-side .corner-date .m { font-size: 9px; font-weight: 700; letter-spacing: 0.6px; color: var(--amber-dark); text-transform: uppercase; margin-top: 1px; }
.ev-side .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ev-side .tag { align-self: flex-start; background: var(--primary-light); color: var(--primary-ink); padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.ev-side .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); letter-spacing: -0.2px; }
.ev-side .ev-loc { color: var(--muted); }
.ev-side .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; flex-wrap: wrap; }
.ev-side .price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.ev-side .buy-btn { background: var(--ink); color: #fff; padding: 8px 12px; font-size: 12px; border-radius: 8px; }
.ev-side .buy-btn:hover { background: var(--primary); }
.ev-side.past { opacity: 0.65; }

/* 3 · Poster */
.ev-poster { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card-hover); border: 1px solid var(--hairline-soft); margin-bottom: 10px; }
.ev-poster .ev-p-photo { aspect-ratio: 16/10; width: 100%; background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #818cf8 100%); background-size: cover; background-position: center; position: relative; }
.ev-poster .badge { position: absolute; top: 12px; right: 12px; background: var(--amber); color: var(--amber-ink); padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.ev-poster .stub { padding: 16px; border-top: 2px dashed var(--hairline); position: relative; }
.ev-poster .stub::before, .ev-poster .stub::after { content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); }
.ev-poster .stub::before { left: -10px; }
.ev-poster .stub::after { right: -10px; }
.ev-poster .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--ink); letter-spacing: -0.3px; }
.ev-poster .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.ev-poster .info-cell .k { font-size: 9px; font-weight: 600; letter-spacing: 0.6px; color: var(--muted); text-transform: uppercase; }
.ev-poster .info-cell .v { margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.ev-poster .row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ev-poster .price-block .label { font-size: 10px; font-weight: 600; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; }
.ev-poster .price-block .price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1; }
.ev-poster .ev-desc { margin-bottom: 8px; }
.ev-poster .buy-btn { background: var(--amber); color: #fff; padding: 12px 18px; font-size: 13px; border-radius: 10px; }
.ev-poster .buy-btn:hover { background: var(--amber-dark); }
.ev-poster.past { opacity: 0.65; }

/* 4 · Cal */
.ev-cal { background: #fff; border-radius: 16px; border: 1px solid var(--hairline-soft); box-shadow: var(--shadow-card); padding: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin-bottom: 10px; }
.ev-cal .cal { width: 64px; border-radius: 12px; overflow: hidden; text-align: center; border: 1px solid var(--hairline); background: #fff; flex-shrink: 0; }
.ev-cal .cal .top { background: var(--amber); color: #fff; padding: 4px 0; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.ev-cal .cal .day { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; padding: 8px 0 4px; }
.ev-cal .cal .dow { font-size: 10px; font-weight: 600; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; }
.ev-cal .body { min-width: 0; }
.ev-cal .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.2px; }
.ev-cal .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; color: var(--muted); font-size: 12px; }
.ev-cal .row { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ev-cal .price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.ev-cal .price small { font-size: 11px; font-weight: 500; color: var(--muted); }
.ev-cal .buy-btn { background: var(--primary); color: #fff; padding: 8px 14px; font-size: 12px; border-radius: 8px; }
.ev-cal .buy-btn:hover { background: var(--primary-dark); }
.ev-cal.past { opacity: 0.65; }

/* 5 · Bigdate */
.ev-bigdate { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; display: grid; grid-template-columns: 110px 1fr; min-height: 168px; margin-bottom: 10px; }
.ev-bigdate .date-col { background: var(--ink); color: #fff; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.ev-bigdate .mo { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }
.ev-bigdate .day { font-family: 'Bricolage Grotesque', sans-serif; font-size: 56px; font-weight: 700; letter-spacing: -2px; line-height: 0.9; color: #fff; }
.ev-bigdate .dow { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ev-bigdate .yr { margin-top: 8px; padding-top: 8px; width: 60%; border-top: 1px solid rgba(255,255,255,0.15); font-size: 11px; font-weight: 500; letter-spacing: 1.4px; color: rgba(255,255,255,0.65); }
.ev-bigdate .body { padding: 14px 16px; display: flex; flex-direction: column; min-width: 0; }
.ev-bigdate .tag { align-self: flex-start; background: var(--amber-light); color: var(--amber-ink); padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.ev-bigdate .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.2px; }
.ev-bigdate .meta { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.ev-bigdate .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; flex-wrap: wrap; }
.ev-bigdate .price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.ev-bigdate .price small { font-size: 11px; font-weight: 500; color: var(--muted); }
.ev-bigdate .buy-btn { background: var(--ink); color: #fff; padding: 8px 12px; font-size: 12px; border-radius: 8px; }
.ev-bigdate .buy-btn:hover { background: var(--amber); color: var(--amber-ink); }
.ev-bigdate.past { opacity: 0.65; }

/* 6 · Ticket */
.ev-ticket { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; box-shadow: var(--shadow-card); padding: 14px 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ev-ticket .left { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-right: 14px; border-right: 2px dashed var(--hairline); min-width: 60px; }
.ev-ticket .left .m { font-size: 10px; font-weight: 700; letter-spacing: 0.7px; color: var(--amber-dark); text-transform: uppercase; }
.ev-ticket .left .d { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; margin: 2px 0; }
.ev-ticket .left .t { font-size: 11px; font-weight: 600; color: var(--muted); }
.ev-ticket .body { flex: 1; min-width: 0; }
.ev-ticket .title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.2px; }
.ev-ticket .ev-loc { color: var(--muted); margin-top: 4px; display: flex; }
.ev-ticket .row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ev-ticket .price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink); }
.ev-ticket .buy-btn { background: var(--primary-light); color: var(--primary-ink); padding: 7px 12px; font-size: 12px; border-radius: 8px; border: 1px solid var(--primary-muted); }
.ev-ticket .buy-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ev-ticket.past { opacity: 0.65; }

/* ── Follow button (public profile) ──────────────────────────── */
.follow-row { display:flex; align-items:center; gap:12px; margin:10px 0 4px; justify-content:center; flex-wrap:wrap; }
.follow-count { font-size:13px; color:var(--muted); }
.follow-count strong { color:var(--ink); font-weight:700; }
.follow-btn { display:inline-flex; align-items:center; gap:7px; padding:8px 20px; border-radius:9999px; border:1.5px solid var(--primary); background:#fff; color:var(--primary); font-size:13px; font-weight:600; cursor:pointer; transition:all 150ms ease; }
.follow-btn:hover { background:var(--primary); color:#fff; }
.follow-btn.following { background:var(--primary); color:#fff; border-color:var(--primary); }
.follow-btn.following:hover { background:#e11d48; border-color:#e11d48; }

/* ── Community / Network page (nw- prefix) ───────────────────── */
.nw-wrap { padding:24px 32px 64px; }

.nw-page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.nw-page-title { font-family:'Bricolage Grotesque',sans-serif; font-size:26px; font-weight:700; color:var(--ink); letter-spacing:-0.4px; display:flex; align-items:center; gap:10px; }
.nw-new-pill { background:var(--primary-light); color:var(--primary-ink); font-family:'DM Sans',sans-serif; font-size:11px; font-weight:700; letter-spacing:0.4px; padding:3px 9px; border-radius:9999px; text-transform:uppercase; }
.nw-page-sub { font-size:14px; color:var(--muted); margin-top:4px; }
.nw-head-actions { display:flex; gap:10px; align-items:center; }

.nw-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
.nw-stat-card { background:#fff; border:1px solid var(--hairline-soft); border-radius:14px; padding:18px 20px; box-shadow:var(--shadow-card); }
.nw-stat-top { display:flex; align-items:center; justify-content:space-between; }
.nw-stat-label { font-size:11px; font-weight:700; color:var(--muted); letter-spacing:0.3px; text-transform:uppercase; }
.nw-stat-ic { width:32px; height:32px; border-radius:9px; background:var(--primary-light); color:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nw-stat-ic.indigo { background:#E0E7FF; color:#4338CA; }
.nw-stat-ic.rose   { background:#FCE7F3; color:#BE185D; }
.nw-stat-ic.amber  { background:var(--amber-light); color:var(--amber-dark); }
.nw-stat-num { font-family:'Bricolage Grotesque',sans-serif; font-size:28px; font-weight:700; color:var(--ink); letter-spacing:-0.5px; margin-top:10px; line-height:1; }
.nw-stat-meta { display:flex; align-items:center; gap:6px; margin-top:8px; font-size:11px; color:var(--muted); flex-wrap:wrap; }
.nw-delta { display:inline-flex; align-items:center; gap:2px; font-weight:700; color:var(--success); }

.nw-grid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:20px; align-items:start; }

/* List card */
.nw-list-card { background:#fff; border:1px solid var(--hairline-soft); border-radius:16px; box-shadow:var(--shadow-card); overflow:hidden; }
.nw-tabs { display:flex; border-bottom:1px solid var(--hairline-soft); padding:0 8px; gap:4px; }
.nw-tab { display:inline-flex; align-items:center; gap:8px; padding:14px 14px; font-size:13px; font-weight:600; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap; transition:all 150ms ease; background:none; border-left:none; border-right:none; border-top:none; cursor:pointer; }
.nw-tab:hover { color:var(--ink); }
.nw-tab.active { color:var(--primary-ink); border-bottom-color:var(--primary); }
.nw-tab-count { background:var(--surface); color:var(--muted); padding:1px 7px; border-radius:9999px; font-size:11px; font-weight:700; }
.nw-tab.active .nw-tab-count { background:var(--primary-light); color:var(--primary-ink); }

.nw-panel { display:none; }
.nw-panel.active { display:block; max-height:800px; overflow-y:auto; }
.nw-panel .nw-list-toolbar { position:sticky; top:0; z-index:2; background:#fff; }

/* User rows */
.nw-user-row { display:grid; grid-template-columns:52px minmax(0,1fr) auto; gap:14px; padding:14px 20px; border-bottom:1px solid var(--hairline-soft); align-items:center; transition:background 120ms; }
.nw-user-row:hover { background:var(--surface); }
.nw-user-row:last-child { border-bottom:none; }

.nw-avatar { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:16px; color:#fff; flex-shrink:0; text-decoration:none; overflow:hidden; }
.nw-avatar img { width:100%; height:100%; object-fit:cover; }
.nw-av-1 { background:linear-gradient(135deg,#F472B6,#BE185D); }
.nw-av-2 { background:linear-gradient(135deg,#34D399,#059669); }
.nw-av-3 { background:linear-gradient(135deg,#FCD34D,#D97706); }
.nw-av-4 { background:linear-gradient(135deg,#818CF8,#4338CA); }
.nw-av-5 { background:linear-gradient(135deg,#F87171,#B91C1C); }
.nw-av-6 { background:linear-gradient(135deg,#60A5FA,#2563EB); }
.nw-av-7 { background:linear-gradient(135deg,#A78BFA,#6D28D9); }
.nw-av-8 { background:linear-gradient(135deg,#2DD4BF,#0F766E); }

.nw-user-info { min-width:0; }
.nw-user-name { font-size:14px; font-weight:600; color:var(--ink); line-height:1.2; }
.nw-user-name a { color:inherit; text-decoration:none; }
.nw-user-name a:hover { color:var(--primary); }
.nw-user-handle { font-size:12px; color:var(--muted); margin-top:2px; }
.nw-user-meta { display:flex; align-items:center; gap:6px; margin-top:5px; font-size:11px; color:var(--muted); flex-wrap:wrap; }
.nw-dot-sep { color:var(--placeholder); }
.nw-badge { display:inline-flex; align-items:center; background:var(--primary-light); color:var(--primary-ink); padding:2px 7px; border-radius:9999px; font-size:10px; font-weight:700; }
.nw-badge.amber { background:var(--amber-light); color:var(--amber-ink); }

.nw-user-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }

/* Follow button */
.nw-follow-btn { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 14px; border-radius:10px; font-size:13px; font-weight:600; transition:all 150ms ease; white-space:nowrap; cursor:pointer; border:none; font-family:inherit; }
.nw-follow-btn.followback { background:var(--primary); color:#fff; }
.nw-follow-btn.followback:hover { background:var(--primary-dark); }
.nw-follow-btn.following { background:#fff; color:var(--ink); border:1px solid var(--hairline); position:relative; overflow:hidden; }
.nw-follow-btn.following:hover { background:var(--error-light); color:var(--error); border-color:#FCA5A5; }
.nw-follow-btn.following:hover i,
.nw-follow-btn.following:hover .followtxt { visibility:hidden; }
.nw-follow-btn.following::after { content:""; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; color:var(--error); pointer-events:none; }
.nw-follow-btn.following:hover::after { content:"Takipten Çık"; }
.nw-view-btn { display:inline-flex; align-items:center; justify-content:center; height:34px; width:34px; border-radius:10px; background:#fff; border:1px solid var(--hairline); color:var(--muted); font-size:13px; transition:all 150ms; flex-shrink:0; }
.nw-view-btn:hover { border-color:var(--primary-muted); color:var(--primary); background:var(--primary-light); }
.nw-mute-btn { display:inline-flex; align-items:center; justify-content:center; height:34px; width:34px; border-radius:10px; background:#fff; border:1px solid var(--hairline); color:var(--muted); font-size:13px; transition:all 150ms; flex-shrink:0; cursor:pointer; }
.nw-mute-btn:hover { border-color:var(--amber); color:var(--amber-dark); background:var(--amber-light); }
.nw-mute-btn.muted { background:var(--amber-light); border-color:var(--amber); color:var(--amber-dark); }

/* Empty state */
.nw-empty { display:flex; flex-direction:column; align-items:center; padding:48px 20px; color:var(--muted); text-align:center; }
.nw-empty-title { font-size:15px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.nw-empty-sub { font-size:13px; }

/* Side cards */
.nw-side-card { background:#fff; border:1px solid var(--hairline-soft); border-radius:16px; box-shadow:var(--shadow-card); margin-bottom:16px; overflow:hidden; }
.nw-side-head { padding:16px 18px 12px; display:flex; align-items:center; justify-content:space-between; }
.nw-side-head h4 { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:600; color:var(--ink); letter-spacing:-0.2px; }

/* Milestone */
.nw-milestone { padding:0 18px 18px; }
.nw-ms-row { display:flex; align-items:center; justify-content:space-between; font-size:12px; color:var(--muted); margin-bottom:8px; }
.nw-ms-now { font-family:'Bricolage Grotesque',sans-serif; font-size:16px; font-weight:700; color:var(--ink); }
.nw-ms-bar { height:10px; background:var(--surface-muted); border-radius:9999px; overflow:hidden; }
.nw-ms-fill { height:100%; background:linear-gradient(90deg,var(--primary),var(--primary-muted)); border-radius:9999px; transition:width 600ms ease; }
.nw-ms-footnote { margin-top:8px; display:flex; justify-content:space-between; font-size:12px; color:var(--muted); }
.nw-ms-footnote strong { color:var(--ink); }

/* Activity */
.nw-activity { padding:0 18px 8px; }
.nw-act-item { display:grid; grid-template-columns:32px 1fr auto; gap:10px; padding:12px 0; align-items:flex-start; border-top:1px solid var(--hairline-soft); }
.nw-act-item:first-child { border-top:none; }
.nw-act-ic { width:32px; height:32px; border-radius:50%; background:var(--primary-light); color:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nw-act-text { font-size:13px; color:var(--ink); line-height:1.4; }
.nw-act-sub { font-size:11px; color:var(--muted); margin-top:2px; }
.nw-act-time { font-size:11px; color:var(--placeholder); white-space:nowrap; }

/* Notification inbox (inside community sidebar) */
.nw-inbox { max-height:560px; overflow-y:auto; }
.nw-inbox-item { display:grid; grid-template-columns:32px 1fr; gap:10px; padding:12px 18px; border-top:1px solid var(--hairline-soft); transition:background 120ms; }
.nw-inbox-item:first-child { border-top:none; }
.nw-inbox-item.nw-inbox-new { background:var(--primary-light); }
.nw-inbox-av { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; color:#fff; flex-shrink:0; overflow:hidden; }
.nw-inbox-av img { width:100%; height:100%; object-fit:cover; }
.nw-inbox-body { min-width:0; }
.nw-inbox-top { display:flex; align-items:center; gap:5px; margin-bottom:3px; flex-wrap:wrap; }
.nw-inbox-sender { font-size:12px; font-weight:600; color:var(--ink); text-decoration:none; }
.nw-inbox-sender:hover { color:var(--primary); text-decoration:underline; }
.nw-inbox-time { font-size:11px; color:var(--muted); margin-left:auto; white-space:nowrap; }
.nw-inbox-msg { font-size:14px; color:var(--ink); line-height:1.45; word-break:break-word; }

/* Broadcast compose card — new design */
.bc-compose { background:#fff; border:1px solid var(--hairline-soft); border-radius:16px; box-shadow:var(--shadow-card); margin-bottom:16px; overflow:hidden; }
.bc-compose-head {
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
  padding:18px 20px 16px; color:#fff; position:relative; overflow:hidden;
}
.bc-compose-head::before {
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,0.15) 1px,transparent 0);
  background-size:14px 14px;
  mask-image:radial-gradient(ellipse at center top,#000 0%,transparent 70%);
  -webkit-mask-image:radial-gradient(ellipse at center top,#000 0%,transparent 70%);
  pointer-events:none;
}
.bc-compose-title { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:700; letter-spacing:-0.2px; position:relative; }
.bc-compose-title i { font-size:14px; opacity:0.9; }
.bc-compose-reach { margin-top:4px; font-size:12px; color:rgba(255,255,255,0.8); position:relative; }
.bc-compose-body { padding:16px 18px 4px; }
.bc-tpl-row { display:flex; gap:6px; overflow-x:auto; margin:0 -18px; padding:0 18px 12px; scrollbar-width:none; }
.bc-tpl-row::-webkit-scrollbar { display:none; }
.bc-tpl {
  flex-shrink:0; padding:6px 11px;
  background:var(--surface); border:1.5px solid var(--hairline); border-radius:999px;
  font-size:12px; font-weight:500; color:var(--body); white-space:nowrap;
  cursor:pointer; transition:all 120ms;
}
.bc-tpl:hover { border-color:var(--primary-muted); }
.bc-tpl.active { background:var(--primary-light); border-color:var(--primary-muted); color:var(--primary-ink); font-weight:600; }
.bc-compose-textarea {
  width:100%; min-height:100px; resize:none;
  border:1.5px solid var(--hairline); border-radius:12px;
  padding:12px 14px; font-family:inherit; font-size:13px; color:var(--ink);
  background:var(--surface); outline:none; transition:border-color 150ms; line-height:1.45;
}
.bc-compose-textarea:focus { border-color:var(--primary); background:#fff; }
.bc-compose-textarea::placeholder { color:var(--placeholder); }
.bc-compose-meta { display:flex; align-items:center; justify-content:flex-end; margin-top:6px; }
.bc-compose-counter { font-size:11px; color:var(--muted); }
.bc-compose-foot {
  padding:14px 18px 16px; border-top:1px solid var(--hairline-soft);
  margin-top:14px; background:var(--surface);
}
.bc-foot-actions { display:flex; gap:8px; }
.bc-foot-skip {
  flex:0 0 auto; height:42px; padding:0 14px; border-radius:11px;
  font-size:13px; font-weight:600; color:var(--muted);
  background:#fff; border:1px solid var(--hairline); cursor:pointer;
  transition:all 120ms;
}
.bc-foot-skip:hover { color:var(--ink); border-color:var(--hairline); }
.bc-foot-send {
  flex:1; height:42px; border-radius:11px;
  background:var(--primary); color:#fff;
  font-family:inherit; font-size:14px; font-weight:600; border:none; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  transition:background 120ms;
}
.bc-foot-send:hover { background:var(--primary-dark); }
.bc-foot-reach {
  font-size:11px; font-weight:600; opacity:0.8;
  background:rgba(255,255,255,0.18); border-radius:999px;
  padding:2px 7px;
}
.bc-compose-success {
  display:flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:10px;
  background:var(--success-light); color:var(--success);
  font-size:13px; font-weight:600; margin-bottom:10px;
}

/* Component picker */
.bc-picker { margin-bottom:14px; }
.bc-picker-types { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.bc-type-btn {
  display:inline-flex; align-items:center; gap:5px;
  padding:6px 11px; border-radius:999px;
  border:1.5px solid var(--hairline); background:#fff;
  font-size:12px; font-weight:600; color:var(--muted);
  cursor:pointer; transition:all 120ms; white-space:nowrap;
}
.bc-type-btn i { font-size:11px; }
.bc-type-btn.active { border-color:var(--primary); background:var(--primary-light); color:var(--primary-ink); }
.bc-type-btn:hover:not(.active) { border-color:var(--primary-muted); color:var(--ink); }
.bc-carousel { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.bc-car-stage {
  flex:1; min-width:0; border-radius:14px; overflow:hidden;
  border:2px solid var(--primary); box-shadow:0 0 0 3px var(--primary-light);
}
.bc-car-btn {
  flex-shrink:0; width:32px; height:32px; border-radius:10px;
  border:1.5px solid var(--hairline); background:#fff; color:var(--muted);
  display:flex; align-items:center; justify-content:center; font-size:12px;
  cursor:pointer; transition:all 120ms;
}
.bc-car-btn:hover:not(:disabled) { border-color:var(--primary-muted); color:var(--primary); }
.bc-car-btn:disabled { opacity:0.3; cursor:default; }
.bc-car-counter { text-align:center; font-size:11px; color:var(--muted); margin-bottom:8px; min-height:16px; }
/* Constrain tall photo elements inside the carousel stage */
.bc-car-stage .ev-h-photo { aspect-ratio:unset !important; height:160px !important; }
.bc-car-stage .ev-p-photo { aspect-ratio:unset !important; height:120px !important; }
.bc-car-stage .sp-product-img--full { aspect-ratio:unset !important; height:130px !important; }
/* Remove bottom margin from cards inside the carousel */
.bc-car-stage .ev-hero, .bc-car-stage .ev-side, .bc-car-stage .ev-poster,
.bc-car-stage .ev-cal, .bc-car-stage .ev-bigdate, .bc-car-stage .ev-ticket,
.bc-car-stage .cd-flip, .bc-car-stage .cd-ring, .bc-car-stage .cd-hero,
.bc-car-stage .cd-bar, .bc-car-stage .cd-mini, .bc-car-stage .cd-coupon { margin-bottom:0; }
.bc-card-empty { font-size:12px; color:var(--muted); text-align:center; }
.bc-selected-comp {
  display:flex; align-items:center; gap:10px;
  padding:8px 10px; border-radius:10px;
  background:var(--primary-light); border:1.5px solid var(--primary-muted);
  margin-bottom:10px;
}
.bc-selected-thumb {
  width:36px; height:36px; border-radius:8px; flex-shrink:0;
  background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:14px;
  overflow:hidden;
}
.bc-selected-thumb img { width:100%; height:100%; object-fit:cover; }
.bc-selected-info { flex:1; min-width:0; }
.bc-selected-title { font-size:12px; font-weight:600; color:var(--primary-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bc-selected-type { font-size:10px; color:var(--primary); margin-top:1px; }
.bc-selected-clear { color:var(--muted); background:none; border:none; cursor:pointer; padding:4px; font-size:13px; flex-shrink:0; }
.bc-selected-clear:hover { color:var(--ink); }

/* Component mini-card in inbox notifications */
.nw-comp-card {
  display:flex; align-items:center; gap:8px;
  margin-top:7px; padding:7px 9px; border-radius:9px;
  background:rgba(0,0,0,0.04); border:1px solid var(--hairline-soft);
}
.nw-comp-thumb {
  width:32px; height:32px; border-radius:7px; flex-shrink:0;
  background:var(--surface-muted); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:13px;
  overflow:hidden;
}
.nw-comp-thumb img { width:100%; height:100%; object-fit:cover; }
.nw-comp-title { font-size:12px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nw-comp-type { font-size:10px; color:var(--muted); margin-top:1px; }

/* Inbox component card — link-card sized down for notification context */
.nw-inbox-item { cursor:pointer; }
.nw-inbox-comp-wrap { grid-column: 1 / -1; margin-top:-4px; padding-bottom:4px; }
.nw-inbox-comp-card {
  margin-top:8px; padding:9px 11px; min-height:0; border-radius:10px;
  cursor:pointer;
}
.nw-inbox-comp-card .ic {
  width:30px; height:30px; border-radius:7px; font-size:12px;
}
.nw-inbox-comp-card .t1 { font-size:12px; line-height:1.3; }
.nw-inbox-comp-card .t2 { font-size:11px; }
.nw-inbox-comp-card .arr { font-size:11px; }
.nw-inbox-new .nw-inbox-comp-card { background:rgba(255,255,255,0.7); }

/* Broadcast history */
.nw-bc-hist-item {
  display:grid; grid-template-columns:32px 1fr auto;
  gap:10px; padding:12px 18px;
  border-top:1px solid var(--hairline-soft);
  align-items:flex-start;
  transition:opacity 200ms;
}
.nw-bc-hist-item:first-child { border-top:none; }
.nw-bc-hist-ic {
  width:32px; height:32px; border-radius:50%;
  background:var(--primary-light); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:13px;
  flex-shrink:0;
}
.nw-bc-hist-body { min-width:0; }
.nw-bc-hist-cat { font-size:10px; font-weight:700; color:var(--primary-ink); text-transform:uppercase; letter-spacing:0.4px; }
.nw-bc-hist-msg { font-size:13px; color:var(--ink); margin-top:2px; line-height:1.4; word-break:break-word; }
.nw-bc-hist-meta { font-size:11px; color:var(--muted); margin-top:4px; }
.nw-bc-stats { display:flex; gap:10px; margin-top:6px; }
.nw-bc-stat { display:flex; align-items:center; gap:4px; font-size:11px; font-weight:600; color:var(--muted); }
.nw-bc-stat i { font-size:10px; }
.nw-bc-del-btn {
  width:26px; height:26px; border-radius:6px; border:none;
  background:transparent; color:var(--placeholder); cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:12px;
  flex-shrink:0; transition:all 120ms;
}
.nw-bc-del-btn:hover { background:var(--error-light); color:var(--error); }

@media (max-width:1200px) { .nw-stats-row { grid-template-columns:repeat(2,1fr); } .nw-grid { grid-template-columns:1fr; } }
@media (max-width:640px) { .nw-wrap { padding:16px 12px 64px; } .nw-user-row { grid-template-columns:44px 1fr; } .nw-user-actions { display:none; } }

/* ── Notification performance chart ─────────────────────────── */
.nw-chart-card {
  background:#fff;
  border:1px solid var(--hairline-soft);
  border-radius:16px;
  padding:22px 24px 18px;
  box-shadow:var(--shadow-card);
  margin-bottom:20px;
  overflow:hidden;
}
.nw-chart-head {
  display:flex; align-items:flex-start; justify-content:space-between;
  margin-bottom:18px; gap:12px; flex-wrap:wrap;
}
.nw-chart-head h3 {
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:18px; font-weight:600; color:var(--ink); letter-spacing:-0.2px;
}
.nw-chart-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.nw-chart-legend { display:flex; gap:14px; margin-top:8px; }
.nw-legend { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); }
.nw-legend-sw { width:10px; height:10px; border-radius:3px; flex-shrink:0; }
.nw-seg-group {
  display:inline-flex; gap:2px;
  background:var(--surface); border:1px solid var(--hairline);
  border-radius:10px; padding:3px; flex-shrink:0;
}
.nw-seg-btn {
  padding:6px 12px; border-radius:7px;
  font-size:12px; font-weight:600; color:var(--muted);
  transition:all 150ms ease; cursor:pointer;
  background:none; border:none; font-family:inherit;
}
.nw-seg-btn.active { background:#fff; color:var(--ink); box-shadow:var(--shadow-card); }
.nw-seg-btn:hover:not(.active) { color:var(--ink); }
.nw-chart-wrap { position:relative; width:100%; }
.nw-chart-wrap svg { display:block; width:100%; height:auto; }
.nw-chart-tip {
  position:absolute;
  background:var(--ink); color:#fff;
  padding:8px 12px; border-radius:8px;
  font-size:12px;
  pointer-events:none;
  transform:translate(-50%, calc(-100% - 10px));
  white-space:nowrap;
  box-shadow:0 4px 14px rgba(0,0,0,0.18);
  z-index:10;
}
.nw-chart-tip::after {
  content:"";
  position:absolute;
  bottom:-5px; left:50%; transform:translateX(-50%);
  border:5px solid transparent; border-top-color:var(--ink); border-bottom:0;
}
.nw-ct-lbl { font-size:10px; opacity:0.7; text-transform:uppercase; letter-spacing:0.4px; }
.nw-ct-vals { display:flex; gap:10px; margin-top:4px; }
.nw-ct-v { display:inline-flex; align-items:center; gap:4px; font-weight:600; }
.nw-ct-sw { width:6px; height:6px; border-radius:50%; flex-shrink:0; }

/* ── Followers toolbar ───────────────────────────────────────── */
.nw-list-toolbar {
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-bottom:1px solid var(--hairline-soft);
}
.nw-search-box {
  display:flex; align-items:center; gap:8px; flex:1;
  background:var(--surface); border:1.5px solid var(--hairline);
  border-radius:10px; padding:0 12px;
  transition:border-color 150ms, background 150ms;
}
.nw-search-box:focus-within { border-color:var(--primary); background:#fff; }
.nw-search-box i { color:var(--placeholder); font-size:12px; flex-shrink:0; }
.nw-search-box input {
  flex:1; border:none; outline:none; background:transparent;
  font-family:inherit; font-size:13px; color:var(--ink); height:36px;
}
.nw-search-box input::placeholder { color:var(--placeholder); }
.nw-search-clear {
  background:none; border:none; cursor:pointer; padding:4px;
  color:var(--placeholder); font-size:11px;
  display:flex; align-items:center; border-radius:4px;
  transition:color 120ms;
}
.nw-search-clear:hover { color:var(--ink); }
.nw-sort-select {
  height:36px; padding:0 10px;
  border:1.5px solid var(--hairline); border-radius:10px;
  background:var(--surface); color:var(--ink);
  font-family:inherit; font-size:12px; font-weight:600;
  cursor:pointer; outline:none; flex-shrink:0;
  transition:border-color 150ms;
}
.nw-sort-select:focus { border-color:var(--primary); }

/* ── Chart footer button ─────────────────────────────────────── */
.nw-chart-foot {
  display:flex; justify-content:flex-end;
  margin-top:12px; padding-top:12px;
  border-top:1px solid var(--hairline-soft);
}
.nw-hist-btn {
  display:inline-flex; align-items:center; gap:7px;
  height:34px; padding:0 14px;
  border-radius:9px;
  border:1.5px solid var(--hairline);
  background:#fff; color:var(--body);
  font-size:13px; font-weight:600; font-family:inherit;
  cursor:pointer; transition:all 150ms ease;
}
.nw-hist-btn:hover { border-color:var(--primary-muted); color:var(--primary-ink); background:var(--primary-light); }
.nw-hist-btn i { font-size:12px; color:var(--primary); }
.nw-hist-count {
  background:var(--primary-light); color:var(--primary-ink);
  font-size:11px; font-weight:700;
  padding:1px 7px; border-radius:999px;
}

/* ── Megaphone button ────────────────────────────────────────── */
.nw-mega-btn {
  width:48px; height:48px;
  padding:0; border:none; background:none;
  cursor:pointer; flex-shrink:0;
  transition:transform 150ms ease, filter 150ms ease;
  align-self:center;
}
.nw-mega-btn:hover { transform:scale(1.1); filter:drop-shadow(0 4px 10px rgba(236,72,153,0.35)); }
.nw-mega-btn img { width:100%; height:100%; object-fit:contain; display:block; }

/* ── Yayınla & Duyur modal ───────────────────────────────────── */
.bc-modal {
  position:fixed; inset:0;
  z-index:500;
  pointer-events:none;
  display:flex; align-items:center; justify-content:center;
  padding:16px;
}
.bc-modal.open { pointer-events:all; }
.bc-modal-overlay {
  position:absolute; inset:0;
  background:rgba(15,23,42,0.5);
  backdrop-filter:blur(3px);
  opacity:0; transition:opacity 250ms ease;
}
.bc-modal.open .bc-modal-overlay { opacity:1; }
.bc-modal-panel {
  position:relative; z-index:1;
  width:min(520px, 100%);
  max-height:calc(100dvh - 32px);
  overflow-y:auto;
  border-radius:16px;
  box-shadow:0 24px 80px rgba(15,23,42,0.22);
  transform:scale(0.95) translateY(12px);
  opacity:0;
  transition:transform 260ms cubic-bezier(0.34,1.4,0.64,1), opacity 220ms ease;
}
.bc-modal.open .bc-modal-panel { transform:scale(1) translateY(0); opacity:1; }
.bc-modal-panel .bc-compose { margin-bottom:0; border-radius:16px; }
.bc-modal-close {
  position:absolute; top:12px; right:12px; z-index:2;
  width:30px; height:30px; border-radius:8px;
  border:none; background:rgba(255,255,255,0.18);
  color:#fff; font-size:13px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background 120ms ease;
}
.bc-modal-close:hover { background:rgba(255,255,255,0.32); }

/* ── Broadcast history drawer ────────────────────────────────── */
.nw-bc-drawer {
  position:fixed; inset:0;
  z-index:400;
  pointer-events:none;
}
.nw-bc-drawer.open { pointer-events:all; }
.nw-bc-drawer-overlay {
  position:absolute; inset:0;
  background:rgba(15,23,42,0.45);
  backdrop-filter:blur(3px);
  opacity:0; transition:opacity 250ms ease;
}
.nw-bc-drawer.open .nw-bc-drawer-overlay { opacity:1; }
.nw-bc-drawer-panel {
  position:absolute; right:0; top:0; bottom:0;
  width:min(480px, 100vw);
  background:#fff;
  box-shadow:-4px 0 40px rgba(15,23,42,0.14);
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform 280ms cubic-bezier(0.4,0,0.2,1);
}
.nw-bc-drawer.open .nw-bc-drawer-panel { transform:translateX(0); }
.nw-bc-drawer-head {
  display:flex; align-items:flex-start; justify-content:space-between;
  padding:20px 22px 16px;
  border-bottom:1px solid var(--hairline-soft);
  flex-shrink:0;
}
.nw-bc-drawer-head h3 {
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:17px; font-weight:600; color:var(--ink); letter-spacing:-0.2px;
}
.nw-bc-drawer-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.nw-bc-drawer-close {
  width:32px; height:32px; border-radius:8px;
  border:1.5px solid var(--hairline); background:#fff; color:var(--muted);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; cursor:pointer; flex-shrink:0;
  transition:all 120ms ease;
}
.nw-bc-drawer-close:hover { background:var(--surface-muted); color:var(--ink); }
.nw-bc-drawer-body { flex:1; overflow-y:auto; }

/* ── Notifications inbox page ────────────────────────────────── */
.notif-wrap { max-width:680px; margin:0 auto; padding:24px 24px 64px; }
.notif-head { margin-bottom:24px; }
.notif-title { font-family:'Bricolage Grotesque',sans-serif; font-size:26px; font-weight:700; color:var(--ink); letter-spacing:-0.4px; }
.notif-sub { font-size:14px; color:var(--muted); margin-top:4px; }

.notif-list { display:flex; flex-direction:column; gap:0; background:#fff; border:1px solid var(--hairline-soft); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-card); }
.notif-item { display:grid; grid-template-columns:44px 1fr; gap:14px; padding:16px 20px; border-bottom:1px solid var(--hairline-soft); transition:background 120ms; }
.notif-item:last-child { border-bottom:none; }
.notif-item:hover { background:var(--surface); }
.notif-item.notif-new { background:var(--primary-light); }
.notif-item.notif-new:hover { background:#b2f5ea; }

.notif-av { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,#2DD4BF,#0F766E); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:16px; flex-shrink:0; overflow:hidden; }
.notif-av img { width:100%; height:100%; object-fit:cover; }

.notif-body { min-width:0; }
.notif-top { display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12px; color:var(--muted); margin-bottom:6px; }
.notif-cat-ic { color:var(--primary); }
.notif-cat { font-weight:700; color:var(--primary-ink); font-size:11px; text-transform:uppercase; letter-spacing:0.3px; }
.notif-dot-sep { color:var(--placeholder); }
.notif-sender { font-weight:600; color:var(--ink); text-decoration:none; }
.notif-sender:hover { color:var(--primary); }
.notif-time { color:var(--muted); }
.notif-msg { font-size:14px; color:var(--ink); line-height:1.5; }

.notif-empty { display:flex; flex-direction:column; align-items:center; padding:56px 24px; color:var(--muted); text-align:center; }
.notif-empty-title { font-size:16px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.notif-empty-sub { font-size:13px; }

/* =========================================
   COUNTDOWN CARDS (profile page)
   ========================================= */

/* Shared */
.live-dot { width:6px; height:6px; border-radius:50%; background:currentColor; animation:pulse 1.6s ease-in-out infinite; display:inline-block; }

/* 1 · Flip (dark) */
.cd-flip { background:var(--ink); color:#fff; border-radius:16px; padding:20px; box-shadow:var(--shadow-card); position:relative; overflow:hidden; margin-bottom:10px; }
.cd-flip::before { content:""; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0); background-size:18px 18px; -webkit-mask-image:radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%); mask-image:radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%); }
.cd-flip > * { position:relative; }
.cd-flip .head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.cd-flip .label { display:inline-flex; align-items:center; gap:6px; color:var(--amber); font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; }
.cd-flip h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:19px; font-weight:600; line-height:1.2; letter-spacing:-0.3px; margin-bottom:4px; }
.cd-flip .target { font-size:12px; color:rgba(255,255,255,0.6); }
.cd-flip .units { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:16px; }
.cd-flip .unit { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); border-radius:12px; padding:14px 6px 10px; text-align:center; position:relative; }
.cd-flip .unit .v { font-family:'Bricolage Grotesque',sans-serif; font-size:30px; font-weight:700; line-height:1; letter-spacing:-1.5px; font-variant-numeric:tabular-nums; }
.cd-flip .unit .l { font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:600; letter-spacing:0.8px; color:rgba(255,255,255,0.55); text-transform:uppercase; margin-top:6px; }
.cd-flip .row { margin-top:16px; padding-top:14px; border-top:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cd-flip .price { font-family:'Bricolage Grotesque',sans-serif; font-size:16px; font-weight:700; }
.cd-flip .price small { font-size:11px; opacity:0.6; font-weight:500; }
.cd-flip .buy-btn { display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:10px; background:var(--amber); color:var(--amber-ink); font-size:13px; font-weight:600; transition:all 150ms ease; }
.cd-flip .buy-btn:hover { background:#fff; color:var(--ink); }

/* 2 · Ring */
.cd-ring { background:#fff; border-radius:16px; padding:18px; box-shadow:var(--shadow-card); border:1px solid var(--hairline-soft); display:grid; grid-template-columns:110px 1fr; gap:16px; align-items:center; margin-bottom:10px; }
.cd-ring .ring-wrap { position:relative; width:110px; height:110px; }
.cd-ring .ring-wrap svg { width:100%; height:100%; transform:rotate(-90deg); }
.cd-ring .ring-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.cd-ring .ring-center .num { font-family:'Bricolage Grotesque',sans-serif; font-size:36px; font-weight:700; color:var(--ink); line-height:1; letter-spacing:-1.5px; }
.cd-ring .ring-center .lbl { font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:600; color:var(--muted); letter-spacing:0.8px; text-transform:uppercase; margin-top:2px; }
.cd-ring .body { min-width:0; }
.cd-ring .tag { display:inline-block; background:var(--primary-light); color:var(--primary-ink); padding:3px 8px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; margin-bottom:6px; }
.cd-ring h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:16px; font-weight:600; color:var(--ink); line-height:1.2; letter-spacing:-0.2px; }
.cd-ring .meta { margin-top:4px; font-size:12px; color:var(--muted); display:flex; flex-direction:column; gap:2px; }
.cd-ring .row { margin-top:10px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cd-ring .price { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:700; color:var(--ink); }
.cd-ring .price small { font-size:11px; font-weight:500; color:var(--muted); }
.cd-ring .buy-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:10px; background:var(--primary); color:#fff; font-size:12px; font-weight:600; transition:all 150ms ease; }
.cd-ring .buy-btn:hover { background:var(--primary-dark); }

/* 3 · Hero */
.cd-hero { background:linear-gradient(135deg,#F43F5E 0%,#BE123C 100%); color:#fff; border-radius:18px; padding:24px 20px 20px; box-shadow:0 8px 24px rgba(244,63,94,0.18); position:relative; overflow:hidden; margin-bottom:10px; }
.cd-hero::before { content:""; position:absolute; top:-30%; right:-20%; width:200px; height:200px; background:radial-gradient(circle,rgba(255,255,255,0.2) 0%,transparent 70%); }
.cd-hero::after { content:""; position:absolute; bottom:-40%; left:-20%; width:220px; height:220px; background:radial-gradient(circle,rgba(0,0,0,0.15) 0%,transparent 70%); }
.cd-hero > * { position:relative; }
.cd-hero .head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.cd-hero .pill { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,0.2); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,0.3); padding:4px 10px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; }
.cd-hero .target-mini { font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:600; color:rgba(255,255,255,0.85); }
.cd-hero .big { display:flex; align-items:flex-start; gap:8px; margin-bottom:4px; }
.cd-hero .big .n { font-family:'Bricolage Grotesque',sans-serif; font-size:88px; font-weight:700; line-height:0.85; letter-spacing:-4px; font-variant-numeric:tabular-nums; }
.cd-hero .big .unit { margin-top:14px; display:flex; flex-direction:column; }
.cd-hero .big .unit .lbl { font-family:'Bricolage Grotesque',sans-serif; font-size:22px; font-weight:700; letter-spacing:-0.3px; line-height:1; }
.cd-hero .big .unit .sub { font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:600; color:rgba(255,255,255,0.7); letter-spacing:1px; text-transform:uppercase; margin-top:4px; }
.cd-hero .sub-units { display:flex; gap:12px; font-family:'JetBrains Mono',monospace; font-size:12px; color:rgba(255,255,255,0.85); margin-top:4px; }
.cd-hero .sub-units span b { color:#fff; font-weight:700; font-family:'Bricolage Grotesque',sans-serif; font-size:14px; margin-right:2px; }
.cd-hero h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:18px; font-weight:600; line-height:1.2; letter-spacing:-0.2px; margin-top:14px; }
.cd-hero .meta { margin-top:6px; color:rgba(255,255,255,0.85); font-size:12px; display:flex; flex-wrap:wrap; gap:4px 12px; }
.cd-hero .buy-btn { display:block; margin-top:16px; background:#fff; color:#BE123C; width:100%; padding:12px 16px; border-radius:10px; font-size:14px; font-weight:600; text-align:center; transition:all 150ms ease; }
.cd-hero .buy-btn:hover { background:var(--ink); color:#fff; }

/* 4 · Bar */
.cd-bar { background:#fff; border-radius:14px; border:1px solid var(--hairline-soft); box-shadow:var(--shadow-card); padding:14px 16px; margin-bottom:10px; }
.cd-bar .top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.cd-bar .info { min-width:0; flex:1; }
.cd-bar h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:600; color:var(--ink); line-height:1.2; letter-spacing:-0.2px; }
.cd-bar .meta { margin-top:4px; font-size:12px; color:var(--muted); }
.cd-bar .digits { text-align:right; flex-shrink:0; }
.cd-bar .digits .v { font-family:'Bricolage Grotesque',sans-serif; font-size:24px; font-weight:700; color:var(--ink); line-height:1; letter-spacing:-0.8px; font-variant-numeric:tabular-nums; }
.cd-bar .digits .l { font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:600; color:var(--muted); letter-spacing:0.6px; text-transform:uppercase; margin-top:2px; }
.cd-bar .bar { height:8px; background:var(--surface-muted); border-radius:999px; overflow:hidden; }
.cd-bar .bar-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--primary) 0%,var(--primary-muted) 100%); border-radius:999px; transition:width 600ms ease; position:relative; }
.cd-bar .bar-fill::after { content:""; position:absolute; right:0; top:0; bottom:0; width:14px; background:rgba(255,255,255,0.4); border-radius:999px; }
.cd-bar .scale { display:flex; justify-content:space-between; margin-top:8px; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:600; color:var(--placeholder); letter-spacing:0.4px; }
.cd-bar .row { margin-top:12px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cd-bar .price { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:700; color:var(--ink); }
.cd-bar .buy-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:10px; background:var(--ink); color:#fff; font-size:12px; font-weight:600; transition:all 150ms ease; }
.cd-bar .buy-btn:hover { background:var(--primary); }

/* 5 · Mini */
.cd-mini { background:linear-gradient(135deg,#FFFBEB 0%,#FEF3C7 100%); border:1px solid #FDE68A; border-radius:14px; padding:16px 18px; margin-bottom:10px; }
.cd-mini .top { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.cd-mini .marker { width:28px; height:28px; border-radius:8px; background:var(--amber); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cd-mini .info { flex:1; min-width:0; }
.cd-mini h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:600; color:var(--amber-ink); line-height:1.2; letter-spacing:-0.2px; }
.cd-mini .target { font-size:11px; color:var(--amber-ink); opacity:0.7; margin-top:2px; font-family:'JetBrains Mono',monospace; }
.cd-mini .digits-line { display:flex; align-items:baseline; gap:4px; font-family:'Bricolage Grotesque',sans-serif; color:var(--amber-ink); flex-wrap:wrap; margin:6px 0 10px; }
.cd-mini .digits-line .group { display:inline-flex; align-items:baseline; gap:3px; }
.cd-mini .digits-line .v { font-size:28px; font-weight:700; line-height:1; letter-spacing:-0.8px; font-variant-numeric:tabular-nums; }
.cd-mini .digits-line .l { font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:600; letter-spacing:0.6px; opacity:0.75; text-transform:uppercase; }
.cd-mini .digits-line .sep { font-size:20px; font-weight:500; opacity:0.4; line-height:1; margin:0 2px; }
.cd-mini .row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid rgba(120,53,15,0.12); }
.cd-mini .meta-line { font-size:11px; color:var(--amber-ink); opacity:0.8; }
.cd-mini .buy-btn { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:10px; background:var(--amber-ink); color:#fff; font-size:12px; font-weight:600; transition:all 150ms ease; }
.cd-mini .buy-btn:hover { background:var(--amber); }

/* 6 · Coupon */
.cd-coupon { background:#fff; border-radius:14px; box-shadow:var(--shadow-card); border:1px solid var(--hairline-soft); display:grid; grid-template-columns:1fr 100px; overflow:hidden; position:relative; margin-bottom:10px; }
.cd-coupon .left { padding:14px 16px; position:relative; min-width:0; }
.cd-coupon .left::after { content:""; position:absolute; top:14px; bottom:14px; right:-1px; width:0; border-right:2px dashed var(--hairline); }
.cd-coupon .left::before { content:""; position:absolute; width:14px; height:14px; border-radius:50%; background:var(--surface); z-index:2; top:-7px; right:-7px; }
.cd-coupon .right { position:relative; padding:14px 12px; background:var(--primary); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.cd-coupon .right::before { content:""; position:absolute; bottom:-7px; left:-7px; width:14px; height:14px; border-radius:50%; background:var(--surface); z-index:2; }
.cd-coupon .tag { display:inline-flex; align-items:center; gap:5px; background:#FFE4E6; color:#BE123C; padding:3px 8px; border-radius:999px; font-size:10px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; margin-bottom:6px; }
.cd-coupon h3 { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:600; color:var(--ink); line-height:1.2; letter-spacing:-0.2px; }
.cd-coupon .meta { margin-top:6px; font-size:11px; color:var(--muted); }
.cd-coupon .row { margin-top:10px; padding-top:10px; border-top:1px solid var(--hairline-soft); display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cd-coupon .price { font-family:'Bricolage Grotesque',sans-serif; font-size:15px; font-weight:700; color:var(--ink); }
.cd-coupon .buy-btn { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:10px; background:var(--ink); color:#fff; font-size:12px; font-weight:600; transition:all 150ms ease; }
.cd-coupon .buy-btn:hover { background:var(--primary); }
.cd-coupon .right .ends { font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700; letter-spacing:1px; text-transform:uppercase; opacity:0.85; margin-bottom:4px; }
.cd-coupon .right .big-num { font-family:'Bricolage Grotesque',sans-serif; font-size:40px; font-weight:700; line-height:1; letter-spacing:-1.5px; font-variant-numeric:tabular-nums; }
.cd-coupon .right .unit-lbl { font-size:10px; font-weight:700; letter-spacing:0.8px; text-transform:uppercase; opacity:0.9; margin-top:4px; }
.cd-coupon .right .secs { font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:600; opacity:0.85; margin-top:6px; padding-top:6px; border-top:1px solid rgba(255,255,255,0.2); width:100%; }

/* Countdown form card-style picker */
.cd-style-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.cd-style-opt { cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:6px; }
.cd-style-opt input[type=radio] { display:none; }
.cd-style-thumb { width:100%; aspect-ratio:1.6; border-radius:10px; border:2px solid var(--hairline); background:var(--surface-muted); display:flex; align-items:center; justify-content:center; transition:all 150ms ease; }
.cd-style-opt.sel .cd-style-thumb { border-color:var(--primary) !important; background:var(--primary-light) !important; box-shadow:0 0 0 2px var(--primary); }
.cd-style-thumb .cd-thumb-icon { font-size:20px; color:var(--muted); }
.cd-style-opt.sel .cd-thumb-icon { color:var(--primary); }
.cd-thumb-flip .cd-thumb-icon { color:#fff; } .cd-thumb-flip { background:var(--ink) !important; border-color:var(--ink) !important; }
.cd-thumb-hero .cd-thumb-icon { color:#fff; } .cd-thumb-hero { background:#F43F5E !important; border-color:#F43F5E !important; }
.cd-thumb-mini .cd-thumb-icon { color:var(--amber-ink); } .cd-thumb-mini { background:#FEF3C7 !important; border-color:#FDE68A !important; }
.cd-thumb-ring .cd-thumb-icon { color:var(--primary); } .cd-thumb-ring { background:var(--primary-light) !important; border-color:var(--primary-muted) !important; }
.cd-thumb-bar .cd-thumb-icon { color:var(--ink); }
.cd-thumb-coupon .cd-thumb-icon { color:var(--primary); }
.cd-style-name { font-size:11px; font-weight:600; color:var(--muted); text-align:center; }
.cd-style-opt.sel .cd-style-name { color:var(--primary); }
.evf-actions { display:flex; gap:12px; justify-content:flex-end; margin-top:24px; }

/* Location autocomplete (settings) */
.loc-suggestions { position:absolute; top:calc(100% + 4px); left:0; right:0; background:var(--canvas); border:1px solid var(--hairline); border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,0.1); z-index:100; overflow:hidden; }
.loc-suggestion { padding:10px 14px; font-size:13px; color:var(--ink); cursor:pointer; border-bottom:1px solid var(--hairline-soft); }
.loc-suggestion:last-child { border-bottom:none; }
.loc-suggestion:hover { background:var(--surface-muted); }
/* Google Places Autocomplete dropdown */
.pac-container { z-index:9999 !important; border-radius:10px; box-shadow:0 8px 24px rgba(15,23,42,0.12); border:1px solid var(--hairline); font-family:'DM Sans',sans-serif; margin-top:4px; }
.pac-item { padding:8px 12px; font-size:13px; cursor:pointer; border-top:1px solid var(--hairline-soft); }
.pac-item:first-child { border-top:none; }
.pac-item:hover, .pac-item-selected { background:var(--surface); }
.pac-item-query { font-weight:600; color:var(--ink); }
.pac-matched { color:var(--primary); }

/* Location card (public profile) */
.loc-card { background:var(--card-bg,#fff); border:1px solid var(--card-border,#E2E8F0); border-radius:16px; overflow:hidden; margin-bottom:10px; }
.loc-card-head { display:flex; align-items:center; gap:8px; padding:12px 14px 10px; font-size:13px; font-weight:600; color:var(--ink); }
.loc-card-head i { color:var(--primary); font-size:14px; }
.loc-map { display:block; width:100%; height:200px; }
.loc-open-link { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px; font-size:12px; font-weight:600; color:var(--primary); text-decoration:none; border-top:1px solid var(--card-border,#E2E8F0); transition:background 150ms; }
.loc-open-link:hover { background:var(--surface-muted); }

/* ── Map Pin card (profile page) ────────────────────────────────── */
.mappin-card { background:#fff; border-radius:16px; border:1px solid var(--hairline-soft); box-shadow:var(--shadow-card); overflow:hidden; margin-bottom:10px; }
.mappin-header { display:flex; align-items:flex-start; gap:10px; padding:14px 14px 10px; }
.mappin-icon { width:36px; height:36px; border-radius:10px; background:var(--primary-light); color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.mappin-title { font-size:14px; font-weight:700; color:var(--ink); }
.mappin-desc { font-size:12px; color:var(--muted); margin-top:2px; }
.mappin-addr { font-size:11.5px; color:var(--placeholder); margin-top:3px; display:flex; align-items:center; gap:4px; }
.mappin-embed { height:200px; }
.mappin-embed iframe { pointer-events:auto; }
.mappin-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:11px; font-size:13px; font-weight:600; color:var(--primary); text-decoration:none; border-top:1px solid var(--hairline-soft); transition:background 150ms; }
.mappin-btn:hover { background:var(--primary-light); }
