/* Crip Showcase — public feed of interior design work */
:root{
  --bg:#060608; --bg-2:#0c0c11; --card:#111117; --card-2:#17171f; --ink:#f5f2ed; --ink-2:#b9b4ac; --ink-3:#7f7a72; --line:rgba(255,255,255,.09); --line-2:rgba(255,255,255,.05);
  --accent:#ff8a2a; --accent-strong:#ffa65c; --accent-soft:rgba(255,138,42,.14); --like:#ff4d7d; --ok:#35c47a; --err:#ff6b5e;
  --radius:16px; --shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 18px 50px rgba(0,0,0,.45);
  --glass:rgba(17,17,23,.72); --grad:linear-gradient(92deg,#ff7a1a 0%,#ffb36b 45%,#ff6f91 100%);
  --font:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --head:'Manrope', var(--font); --serif:'Instrument Serif', Georgia, serif;
  color-scheme:dark;
}
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--bg); color:var(--ink); font:15px/1.5 var(--font); }
a{ color:inherit; }
button{ font:inherit; color:inherit; cursor:pointer; }
img{ display:block; max-width:100%; }
[hidden]{ display:none !important; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.wrap{ max-width:1320px; margin:0 auto; padding:0 20px; }

/* ---------- top bar ---------- */
.sc-top{ position:sticky; top:0; z-index:30; background:var(--glass); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line); }
.sc-top .wrap{ display:flex; align-items:center; gap:14px; height:64px; }
.sc-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:none; }
.sc-logo{ width:34px; height:34px; border-radius:10px; background:var(--accent); color:#fff; display:grid; place-items:center; font:800 18px var(--head); }
.sc-brand b{ font:800 18px/1 var(--head); letter-spacing:-.01em; }
.sc-brand small{ display:block; font:600 11px/1.2 var(--font); color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase; margin-top:3px; }
.sc-search{ flex:1; max-width:520px; margin:0 auto; position:relative; }
.sc-search input{ width:100%; height:42px; border:1px solid var(--line); background:var(--bg); border-radius:999px; padding:0 16px 0 40px; font:inherit; outline:none; }
.sc-search input:focus{ border-color:var(--accent); background:var(--card); box-shadow:0 0 0 3px var(--accent-soft); }
.sc-search svg{ position:absolute; left:14px; top:50%; transform:translateY(-50%); width:17px; height:17px; stroke:var(--ink-3); fill:none; stroke-width:2; }
.sc-actions{ display:flex; align-items:center; gap:8px; flex:none; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:7px; height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--line); background:var(--card); font-weight:600; font-size:14px; text-decoration:none; white-space:nowrap; transition:background .15s, border-color .15s, transform .1s; }
.btn:hover{ border-color:rgba(255,255,255,.22); }
.btn:active{ transform:scale(.98); }
.btn.primary{ background:linear-gradient(92deg,#ff7a1a,#ffa65c); border-color:transparent; color:#1a0d02; font-weight:700; box-shadow:0 8px 24px rgba(255,122,26,.25); }
.btn.primary:hover{ background:var(--accent-strong); border-color:var(--accent-strong); }
.btn.dark{ background:var(--ink); border-color:var(--ink); color:var(--bg); }
.btn.ghost{ border-color:transparent; background:transparent; }
.btn.ghost:hover{ background:var(--line-2); }
.btn.sm{ height:34px; padding:0 12px; font-size:13px; }
.btn.danger{ color:var(--err); }
.btn[disabled]{ opacity:.55; pointer-events:none; }
.btn svg{ width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.avatar{ width:36px; height:36px; border-radius:50%; object-fit:cover; background:var(--accent-soft); color:var(--accent-strong); display:grid; place-items:center; font:700 14px var(--head); flex:none; overflow:hidden; }
.avatar img{ width:100%; height:100%; object-fit:cover; }
.avatar.lg{ width:96px; height:96px; font-size:34px; border:4px solid var(--card); box-shadow:var(--shadow); }
.avatar.sm{ width:28px; height:28px; font-size:12px; }
.me-btn{ border:none; background:none; padding:0; border-radius:50%; }
.menu-pop{ position:absolute; right:20px; top:58px; background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); padding:6px; min-width:210px; z-index:40; }
.menu-pop a, .menu-pop button{ display:flex; width:100%; align-items:center; gap:10px; padding:10px 12px; border:none; background:none; border-radius:8px; text-decoration:none; font-size:14px; text-align:left; }
.menu-pop a:hover, .menu-pop button:hover{ background:var(--line-2); }
.menu-pop hr{ border:none; border-top:1px solid var(--line); margin:6px 0; }

/* ---------- hero ---------- */
.sc-hero{ padding-top:34px; padding-bottom:8px; }
.sc-hero h1{ font:800 clamp(26px, 3.6vw, 40px)/1.1 var(--head); letter-spacing:-.02em; margin:0 0 8px; max-width:760px; }
.sc-hero h1 em{ font-style:normal; color:var(--accent); }
.sc-hero p{ margin:0 0 18px; color:var(--ink-2); max-width:640px; font-size:16px; }
.sc-hero .row{ display:flex; gap:10px; flex-wrap:wrap; }
.sc-roles{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; color:var(--ink-3); font-size:13px; }
.sc-roles span{ padding:4px 10px; border:1px dashed var(--line); border-radius:999px; }

/* ---------- filters ---------- */
.sc-filters{ position:sticky; top:64px; z-index:20; background:var(--bg); padding:12px 0 10px; }
.sc-filters .wrap{ display:flex; flex-direction:column; gap:10px; }
.sc-filter-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.tabs{ display:inline-flex; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:3px; }
.tabs button{ border:none; background:none; height:34px; padding:0 16px; border-radius:999px; font-weight:600; font-size:14px; color:var(--ink-2); }
.tabs button.on{ background:var(--ink); color:var(--bg); }
.sc-filter-row select, .sc-filter-row input{ height:40px; border:1px solid var(--line); border-radius:999px; background:var(--card); padding:0 14px; font:inherit; font-size:14px; outline:none; }
.sc-filter-row select:focus, .sc-filter-row input:focus{ border-color:var(--accent); }
.sc-filter-row input{ width:160px; }
.chips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.chips::-webkit-scrollbar{ display:none; }
.chip{ flex:none; height:34px; padding:0 14px; border-radius:999px; border:1px solid var(--line); background:var(--card); font-size:13px; font-weight:600; color:var(--ink-2); }
.chip.on{ background:var(--accent-soft); border-color:var(--accent); color:var(--accent-strong); }

/* ---------- feed (masonry) ---------- */
.feed{ columns:4 260px; column-gap:16px; padding:6px 0 30px; }
.card{ break-inside:avoid; margin:0 0 16px; background:var(--card); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); cursor:pointer; position:relative; transition:transform .15s, box-shadow .15s; }
.card:hover{ transform:translateY(-2px); box-shadow:0 2px 4px rgba(0,0,0,.35), 0 12px 30px rgba(0,0,0,.4); }
.card-img{ position:relative; background:rgba(255,255,255,.06); }
.card-img img{ width:100%; height:100%; object-fit:cover; }
.card-count{ position:absolute; top:10px; right:10px; background:rgba(0,0,0,.55); color:#fff; font-size:12px; font-weight:600; padding:3px 8px; border-radius:999px; display:flex; align-items:center; gap:4px; }
.card-count svg{ width:13px; height:13px; stroke:#fff; fill:none; stroke-width:2; }
.card-body{ padding:12px 14px 14px; }
.card-body h3{ margin:0 0 8px; font:700 15px/1.3 var(--head); overflow-wrap:anywhere; }
.card-meta{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-2); }
.card-meta .who{ flex:1; min-width:0; display:flex; align-items:center; gap:8px; }
.card-meta .who span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-stats{ display:flex; gap:10px; color:var(--ink-3); font-size:12px; margin-top:8px; }
.card-stats b{ color:var(--ink-2); font-weight:600; }
.like-mini{ display:inline-flex; align-items:center; gap:4px; border:none; background:none; padding:4px 6px; border-radius:999px; font-size:13px; font-weight:600; color:var(--ink-2); }
.like-mini svg{ width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:2; }
.like-mini.on{ color:var(--like); }
.like-mini.on svg{ fill:var(--like); stroke:var(--like); }
.role-tag{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:.02em; padding:2px 8px; border-radius:999px; background:var(--line-2); color:var(--ink-2); white-space:nowrap; }
.role-tag.architect{ background:rgba(120,160,255,.14); color:#9dbdff; }
.role-tag.designer{ background:var(--accent-soft); color:var(--accent-strong); }
.role-tag.engineer{ background:rgba(53,196,122,.14); color:#6fe0a4; }
.role-tag.contractor{ background:rgba(180,120,255,.15); color:#c9a6ff; }
.role-tag.carpenter{ background:rgba(214,160,90,.14); color:#e7bf86; }
.role-tag.student{ background:rgba(60,200,220,.13); color:#7fdcea; }
.empty{ text-align:center; padding:60px 20px; color:var(--ink-2); }
.empty h3{ font:800 22px var(--head); margin:0 0 6px; color:var(--ink); }
.empty p{ margin:0 0 18px; }
.sentinel{ height:40px; }
.loading{ display:flex; justify-content:center; padding:20px; color:var(--ink-3); font-size:14px; gap:10px; align-items:center; }
.spin{ width:18px; height:18px; border:2px solid var(--line); border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.skel{ break-inside:avoid; margin:0 0 16px; border-radius:var(--radius); background:linear-gradient(100deg, rgba(255,255,255,.06) 40%, #f3f1ed 50%, rgba(255,255,255,.06) 60%) 0 0/200% 100%; animation:sk 1.2s linear infinite; }
@keyframes sk{ to{ background-position:-200% 0; } }

/* ---------- overlay / modal ---------- */
.ov{ position:fixed; inset:0; z-index:60; background:rgba(20,19,17,.62); display:flex; align-items:center; justify-content:center; padding:24px; animation:fade .15s ease; }
@keyframes fade{ from{ opacity:0; } }
.sheet{ background:var(--card); border-radius:18px; width:min(560px, 100%); max-height:calc(100vh - 48px); overflow:auto; box-shadow:0 30px 80px rgba(0,0,0,.3); }
.sheet-head{ display:flex; align-items:center; gap:10px; padding:16px 18px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--card); z-index:2; }
.sheet-head h2{ margin:0; flex:1; font:800 18px var(--head); }
.sheet-body{ padding:18px; }
.sheet-foot{ display:flex; gap:10px; justify-content:flex-end; padding:14px 18px; border-top:1px solid var(--line); position:sticky; bottom:0; background:var(--card); }
.x-btn{ width:38px; height:38px; border-radius:50%; border:none; background:var(--line-2); display:grid; place-items:center; flex:none; }
.x-btn svg{ width:18px; height:18px; stroke:var(--ink); stroke-width:2.2; fill:none; }

/* post detail */
.post{ background:var(--card); border-radius:18px; width:min(1180px, 100%); height:min(820px, calc(100vh - 48px)); display:grid; grid-template-columns:minmax(0, 1.55fr) minmax(320px, 1fr); overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.35); position:relative; }
.post .x-btn{ position:absolute; top:12px; right:12px; z-index:5; background:var(--glass); }
.gal{ position:relative; background:#111; min-height:0; }
.gal-track{ display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.gal-track::-webkit-scrollbar{ display:none; }
.gal-track figure{ flex:0 0 100%; margin:0; scroll-snap-align:center; display:grid; place-items:center; height:100%; }
.gal-track img{ max-width:100%; max-height:100%; object-fit:contain; }
.gal-nav{ position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%; border:none; background:var(--glass); display:grid; place-items:center; }
.gal-nav svg{ width:20px; height:20px; stroke:var(--ink); stroke-width:2.4; fill:none; }
.gal-nav.prev{ left:12px; } .gal-nav.next{ right:12px; }
.gal-dots{ position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:6px; }
.gal-dots i{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.5); }
.gal-dots i.on{ background:var(--card); }
.post-side{ display:flex; flex-direction:column; min-height:0; }
.post-scroll{ flex:1; overflow:auto; padding:20px 20px 10px; }
.author{ display:flex; align-items:center; gap:10px; text-decoration:none; margin-right:44px; }
.author b{ display:block; font-size:15px; }
.author small{ color:var(--ink-3); font-size:12.5px; display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.post-title{ font:800 22px/1.25 var(--head); margin:16px 0 8px; letter-spacing:-.01em; overflow-wrap:anywhere; }
.post-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.post-tags span{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; background:var(--line-2); color:var(--ink-2); }
.post{ border:1px solid var(--line); background:linear-gradient(180deg,#121219,#0c0c11); }
.gal{ background:radial-gradient(120% 90% at 50% 40%, #1a1a22, #060608); }
.gal-count{ position:absolute; top:14px; left:14px; padding:5px 11px; border-radius:999px; background:rgba(0,0,0,.55); backdrop-filter:blur(8px); color:#fff; font-size:12.5px; font-weight:700; letter-spacing:.04em; }
.pd-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:6px 0 16px; border-radius:14px; overflow:hidden; background:var(--line); border:1px solid var(--line); }
.pd-grid > div{ background:var(--card); padding:10px 12px; min-width:0; }
.pd-grid > div:last-child:nth-child(odd){ grid-column:1 / -1; }
.pd-grid small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); margin-bottom:3px; }
.pd-grid b{ font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.pd-pro{ margin:4px 0 16px; padding:16px; border-radius:16px; background:linear-gradient(140deg, rgba(255,138,42,.16), rgba(255,111,145,.08) 60%, rgba(107,124,255,.08)); border:1px solid rgba(255,138,42,.28); }
.pd-pro-h{ display:flex; align-items:center; gap:10px; }
.pd-pro-h small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); }
.pd-pro-h b{ display:block; font-size:16px; } .pd-pro-h em{ font-style:normal; font-size:12.5px; color:var(--ink-3); }
.pd-pro p{ margin:10px 0 12px; font-size:13.5px; color:var(--ink-2); }
.pd-pro-a{ display:flex; gap:8px; flex-wrap:wrap; } .pd-pro-a .btn{ flex:1 1 auto; justify-content:center; text-decoration:none; }
.post-body{ white-space:pre-wrap; color:var(--ink-2); margin:0 0 12px; word-break:break-word; }
.post-link{ margin:0 0 14px; }
.post-stats{ color:var(--ink-3); font-size:13px; display:flex; gap:14px; padding:10px 0; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.comments{ padding:12px 0; display:flex; flex-direction:column; gap:14px; }
.comment{ display:flex; gap:10px; }
.comment .c-body{ flex:1; min-width:0; background:var(--bg); border-radius:12px; padding:8px 12px; }
.comment .c-body b{ font-size:13px; }
.comment .c-body p{ margin:2px 0 0; font-size:14px; white-space:pre-wrap; word-break:break-word; }
.comment .c-meta{ font-size:11.5px; color:var(--ink-3); margin-top:3px; display:flex; gap:10px; }
.comment .c-meta button{ border:none; background:none; padding:0; color:var(--ink-3); font-size:11.5px; }
.post-actions{ display:flex; gap:6px; padding:10px 14px; border-top:1px solid var(--line); flex-wrap:wrap; }
.act{ display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 14px; border:none; border-radius:999px; background:var(--line-2); font-weight:600; font-size:14px; }
.act svg{ width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.act.on{ color:var(--like); background:rgba(255,77,125,.14); }
.act.on svg{ fill:var(--like); stroke:var(--like); }
.act.more{ margin-left:auto; width:40px; padding:0; justify-content:center; }
.comment-form{ display:flex; gap:8px; padding:10px 14px 14px; }
.comment-form input{ flex:1; height:42px; border:1px solid var(--line); border-radius:999px; padding:0 16px; font:inherit; outline:none; min-width:0; }
.comment-form input:focus{ border-color:var(--accent); }

/* ---------- profile ---------- */
.prof{ padding:26px 0 10px; }
.prof-card{ background:var(--card); border-radius:18px; box-shadow:var(--shadow); overflow:hidden; }
.prof-cover{ height:120px; background:linear-gradient(120deg, #2a2520, #5c4331 55%, var(--accent)); }
.prof-main{ padding:0 22px 20px; display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.prof-main > .avatar.lg{ margin-top:-48px; }
.prof-info{ flex:1; min-width:240px; padding-top:14px; }
.prof-info h1{ margin:0; font:800 26px/1.2 var(--head); letter-spacing:-.01em; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.prof-sub{ color:var(--ink-2); font-size:14px; margin-top:4px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.prof-bio{ margin:12px 0 0; color:var(--ink-2); white-space:pre-wrap; max-width:720px; }
.prof-links{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.prof-links a{ display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border-radius:999px; border:1px solid var(--line); font-size:13px; font-weight:600; text-decoration:none; background:var(--card); }
.prof-links a:hover{ border-color:var(--accent); color:var(--accent-strong); }
.prof-links svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; }
.prof-side{ display:flex; gap:8px; align-items:center; padding-top:14px; flex-wrap:wrap; }
.prof-stats{ display:flex; gap:22px; padding:14px 22px; border-top:1px solid var(--line-2); font-size:13px; color:var(--ink-3); }
.prof-stats b{ display:block; font:800 20px var(--head); color:var(--ink); }
.reg{ font-size:12px; color:var(--ink-3); }
.sec-title{ font:800 18px var(--head); margin:24px 0 12px; }

/* ---------- forms ---------- */
.field{ margin-bottom:14px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--ink-2); }
.field label small{ font-weight:500; color:var(--ink-3); }
.field input, .field select, .field textarea{ width:100%; border:1px solid var(--line); border-radius:10px; padding:10px 12px; font:inherit; outline:none; background:var(--card); }
.field textarea{ min-height:96px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.field .hint{ font-size:12px; color:var(--ink-3); margin-top:5px; }
.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.handle-in{ display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.handle-in span{ padding:0 4px 0 12px; color:var(--ink-3); font-size:14px; }
.handle-in input{ border:none !important; box-shadow:none !important; padding-left:0 !important; }
.role-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.role-grid label{ display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:10px; padding:10px 12px; font-size:14px; font-weight:600; color:var(--ink); margin:0; cursor:pointer; }
.role-grid input{ width:auto; accent-color:var(--accent); }
.role-grid label:has(input:checked){ border-color:var(--accent); background:var(--accent-soft); }
.form-err{ color:var(--err); font-size:13px; min-height:18px; margin:4px 0 0; }
.photos{ display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:8px; }
.ph{ position:relative; aspect-ratio:1; border-radius:10px; overflow:hidden; background:var(--line-2); }
.ph img{ width:100%; height:100%; object-fit:cover; }
.ph .rm{ position:absolute; top:5px; right:5px; width:26px; height:26px; border-radius:50%; border:none; background:rgba(0,0,0,.6); color:#fff; font-size:15px; line-height:1; }
.ph .cover{ position:absolute; left:5px; bottom:5px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; padding:2px 6px; border-radius:6px; }
.ph .mk{ position:absolute; left:5px; bottom:5px; border:none; background:rgba(0,0,0,.55); color:#fff; font-size:10px; font-weight:700; padding:2px 6px; border-radius:6px; }
.ph-add{ aspect-ratio:1; border:2px dashed rgba(255,255,255,.16); border-radius:10px; background:var(--card); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:var(--ink-2); font-size:12px; font-weight:600; }
.ph-add svg{ width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:2; }
.progress-bar{ height:6px; background:var(--line-2); border-radius:999px; overflow:hidden; margin-top:10px; }
.progress-bar i{ display:block; height:100%; width:0; background:var(--accent); transition:width .2s; }
.share-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; }
.share-grid a, .share-grid button{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 6px; border:1px solid var(--line); border-radius:12px; background:var(--card); text-decoration:none; font-size:12px; font-weight:600; }
.share-grid i{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; color:#fff; font-style:normal; font-weight:800; }
.reasons label{ display:flex; gap:10px; align-items:center; padding:10px 12px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; font-size:14px; }
.reasons input{ accent-color:var(--accent); }
.signin-box{ text-align:center; padding:8px 4px; }
.signin-box p{ color:var(--ink-2); margin:0 0 16px; }
.gbtn{ display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 22px; border-radius:999px; border:1px solid var(--line); background:var(--card); font-weight:600; font-size:15px; }
.gbtn svg{ width:20px; height:20px; }
.admin-bar{ background:rgba(255,138,42,.08); border:1px solid #f0d9a8; color:#7a5a12; border-radius:10px; padding:8px 12px; font-size:13px; margin-bottom:12px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* ---------- toast & footer ---------- */
.toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--ink); color:var(--bg); padding:11px 18px; border-radius:12px; font-size:14px; z-index:90; box-shadow:0 10px 30px rgba(0,0,0,.25); max-width:calc(100vw - 32px); animation:fade .15s; }
.toast.err{ background:var(--err); }
.toast.ok{ background:var(--ok); }
.sc-foot{ border-top:1px solid var(--line); padding:26px 0 90px; color:var(--ink-3); font-size:13px; }
.sc-foot .wrap{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.sc-foot a{ color:var(--ink-2); text-decoration:none; }
.sc-foot a:hover{ color:var(--accent-strong); }
.sc-foot .grow{ flex:1; }
.fab{ display:none; }

/* ---------- responsive ---------- */
.search-m{ display:none !important; }
@media (max-width:900px){
  .post{ grid-template-columns:1fr; height:auto; max-height:none; border-radius:0; width:100%; min-height:100%; }
  .ov.full{ padding:0; align-items:stretch; overflow:auto; background:var(--card); }
  .ov.full .post{ box-shadow:none; }
  .gal{ height:62vh; min-height:300px; }
  .post-scroll{ overflow:visible; }
  .post-side{ min-height:auto; }
  .post-actions{ position:sticky; bottom:0; background:var(--card); }
}
@media (max-width:760px){
  .wrap{ padding:0 14px; }
  .sc-top .wrap{ height:58px; gap:10px; }
  .sc-brand small{ display:none; }
  .sc-brand b{ font-size:16px; }
  .sc-search{ display:none; }
  .sc-search.open{ display:block; position:absolute; left:10px; right:10px; top:8px; z-index:5; }
  .hide-m{ display:none !important; }
  .search-m{ display:inline-flex !important; }
  .sc-filters{ position:static; padding-top:8px; }
  .sc-filter-row{ gap:8px; }
  .sc-filter-row select{ flex:1; min-width:0; }
  .tabs{ width:100%; }
  .tabs button{ flex:1; }
  .toast{ bottom:84px; }
  .sc-filter-row input{ width:120px; }
  .feed{ columns:2 150px; column-gap:10px; }
  .card{ margin-bottom:10px; border-radius:12px; }
  .card-body{ padding:9px 10px 10px; }
  .card-body h3{ font-size:13.5px; margin-bottom:6px; }
  .card-meta{ font-size:12px; }
  .card-meta .role-tag{ display:none; }
  .card-stats{ display:none; }
  .sc-hero{ padding-top:22px; padding-bottom:4px; }
  .sc-hero p{ font-size:15px; }
  .ov{ padding:0; align-items:flex-end; }
  .sheet{ width:100%; border-radius:18px 18px 0 0; max-height:92vh; }
  .grid2{ grid-template-columns:1fr; gap:0; }
  .fab{ display:inline-flex; position:fixed; right:16px; bottom:18px; z-index:35; height:52px; padding:0 20px; border-radius:999px; box-shadow:0 10px 24px rgba(238,125,38,.45); }
  .prof-main{ padding:0 16px 16px; }
  .prof-info{ padding-top:0; min-width:0; flex-basis:100%; }
  .prof-side{ padding-top:0; }
  .prof-info h1{ font-size:22px; }
  .prof-stats{ padding:12px 16px; }
  .share-grid{ grid-template-columns:repeat(4, 1fr); gap:6px; }
}
@media (max-width:380px){ .sc-actions .btn.primary .lbl{ display:none; } }

/* ================= marketplace ================= */
.bell{ position:relative; width:40px; padding:0; }
.bell svg{ width:20px; height:20px; }
.bell-count{ position:absolute; top:3px; right:3px; min-width:17px; height:17px; border-radius:999px; background:var(--like); color:#fff; font-size:10.5px; font-weight:700; display:grid; place-items:center; padding:0 4px; }
.bell-pop{ position:absolute; right:20px; top:58px; width:min(380px, calc(100vw - 24px)); max-height:70vh; overflow:auto; background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); z-index:41; }
.bell-head{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--card); }
.bell-item{ display:flex; flex-direction:column; gap:2px; width:100%; text-align:left; border:none; background:var(--card); padding:11px 14px; border-bottom:1px solid var(--line-2); font-size:13.5px; }
.bell-item span{ color:var(--ink-2); font-size:13px; }
.bell-item small{ color:var(--ink-3); font-size:11.5px; }
.bell-item.unread{ background:rgba(255,138,42,.08); }
.bell-item.unread b::before{ content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-right:6px; vertical-align:middle; }
.linkish{ border:none; background:none; color:var(--accent-strong); font-weight:600; font-size:13px; padding:0; }
.muted{ color:var(--ink-3); }
.quick{ display:flex; gap:8px; flex-wrap:wrap; }
.quick button{ border:1px dashed #e7c9ab; background:rgba(255,138,42,.08); border-radius:12px; padding:9px 14px; font-size:13.5px; color:var(--ink-2); text-align:left; }
.quick button b{ color:var(--accent-strong); }
.mk{ padding:26px 0 40px; }
.mk-head{ display:flex; gap:16px; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; margin-bottom:18px; }
.mk-head h1{ margin:0; font:800 28px/1.15 var(--head); letter-spacing:-.01em; }
.mk-head p{ margin:6px 0 0; color:var(--ink-2); max-width:720px; }
.mk-head-act{ display:flex; gap:10px; align-items:center; }
.wallet{ display:flex; align-items:baseline; gap:8px; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:8px 16px; }
.wallet span{ color:var(--ink-3); font-size:13px; }
.wallet b{ font:800 18px var(--head); }
.mk-tabs{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin-bottom:12px; }
.mk-tabs button{ flex:none; border:1px solid var(--line); background:var(--card); border-radius:999px; height:38px; padding:0 16px; font-weight:600; font-size:14px; color:var(--ink-2); }
.mk-tabs button.on{ background:var(--ink); border-color:var(--ink); color:var(--bg); }
.mk-bar{ display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.mk-bar input, .mk-bar select{ height:40px; border:1px solid var(--line); border-radius:999px; padding:0 14px; font:inherit; font-size:14px; background:var(--card); }
.note{ background:rgba(255,138,42,.08); border:1px solid #f3dcc4; border-radius:12px; padding:10px 14px; font-size:14px; color:var(--ink-2); margin-bottom:14px; }
.lead-list{ display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:14px; }
.lead{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:16px; display:flex; flex-direction:column; gap:10px; }
.lead h3{ margin:0; font:800 17px/1.3 var(--head); overflow-wrap:anywhere; }
.lead-top{ display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.lead-tag{ font-size:11.5px; font-weight:700; padding:3px 9px; border-radius:999px; background:var(--accent-soft); color:var(--accent-strong); }
.lead-tag.direct{ background:rgba(120,160,255,.14); color:#9dbdff; }
.lead-tag.open{ background:rgba(53,196,122,.14); color:#6fe0a4; }
.lead-tag.closed{ background:var(--line-2); color:var(--ink-3); }
.lead-when{ margin-left:auto; color:var(--ink-3); font-size:12px; }
.lead-facts{ display:flex; flex-wrap:wrap; gap:6px 12px; font-size:13px; color:var(--ink-2); }
.lead-desc{ margin:0; color:var(--ink-2); font-size:14px; white-space:pre-wrap; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.lead-imgs{ display:flex; gap:6px; overflow-x:auto; }
.lead-imgs img{ width:88px; height:66px; object-fit:cover; border-radius:8px; flex:none; }
.lead-foot{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:auto; }
.lead-act{ margin-left:auto; }
.slots{ display:flex; align-items:center; gap:4px; font-size:12.5px; color:var(--ink-3); }
.slots i{ width:18px; height:6px; border-radius:3px; background:var(--line); }
.slots i.on{ background:var(--accent); }
.slots span{ margin-left:6px; }
.contact{ display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; background:rgba(53,196,122,.1); border:1px solid rgba(53,196,122,.35); border-radius:12px; padding:10px 12px; }
.contact b{ display:block; }
.contact span{ font-size:13.5px; color:var(--ink-2); }
.contact-act{ display:flex; gap:6px; flex-wrap:wrap; }
.u-ctrl{ display:flex; gap:6px; align-items:center; flex-wrap:wrap; border-top:1px solid var(--line-2); padding-top:10px; }
.u-ctrl .grow{ flex:1; }
.u-status{ font-size:12px; font-weight:700; padding:3px 9px; border-radius:999px; background:var(--line-2); }
.u-status.hired{ background:rgba(53,196,122,.14); color:#6fe0a4; }
.u-status.declined, .u-status.bad_contact{ background:rgba(255,107,94,.14); color:var(--err); }
.u-note{ font-size:12.5px; color:var(--ink-3); }
.pros{ display:flex; flex-direction:column; gap:8px; }
.pro-row{ display:flex; gap:10px; align-items:center; background:var(--bg); border-radius:10px; padding:8px 10px; }
.pro-info{ flex:1; min-width:0; }
.pro-info a{ text-decoration:none; }
.pro-info small{ display:block; color:var(--ink-3); font-size:12px; }
.packs{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
.pack{ display:flex; flex-direction:column; gap:4px; align-items:flex-start; text-align:left; border:1.5px solid var(--line); background:var(--card); border-radius:14px; padding:14px; }
.pack:hover{ border-color:var(--accent); }
.pack .price{ font:800 22px var(--head); color:var(--accent-strong); }
.pack small{ color:var(--ink-3); font-size:12px; }
.fine{ color:var(--ink-3); font-size:12px; margin:12px 0 0; }
.mini-h{ font:800 15px var(--head); margin:18px 0 10px; }
.mini-h small{ font:500 12px var(--font); color:var(--ink-3); }
.consent{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--ink-2); margin:6px 0; }
.consent input{ margin-top:3px; accent-color:var(--accent); width:auto; }
.rate{ display:flex; gap:6px; margin-bottom:14px; }
.rate button{ border:none; background:none; font-size:34px; color:rgba(255,255,255,.12); padding:0; line-height:1; }
.rate button.on{ color:#f2a41b; }
.stars{ color:#f2a41b; letter-spacing:1px; }
.stars i{ color:rgba(255,255,255,.12); font-style:normal; }
.prof-rating{ margin-top:4px; font-size:14px; }
.prof-rating small{ color:var(--ink-3); }
.pk-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px; }
.pk{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:14px; display:flex; flex-direction:column; gap:6px; }
.pk.off{ opacity:.55; }
.pk-price{ font:800 20px var(--head); color:var(--accent-strong); }
.pk-price small{ font:500 12px var(--font); color:var(--ink-3); }
.pk p{ margin:0; font-size:13.5px; color:var(--ink-2); white-space:pre-wrap; }
.pk-act{ margin-top:auto; padding-top:6px; }
.rv-list{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:12px; }
.rv{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:14px; }
.rv-stars{ color:#f2a41b; letter-spacing:1px; }
.rv-stars i{ color:rgba(255,255,255,.12); font-style:normal; }
.rv p{ margin:6px 0; font-size:14px; white-space:pre-wrap; }
.promo-tag{ position:absolute; left:10px; top:10px; background:var(--glass); color:var(--ink); font-size:11px; font-weight:700; padding:3px 8px; border-radius:999px; }
.card.promoted{ outline:2px solid var(--accent-soft); }
.ad-card{ display:block; text-decoration:none; }
.admin-box{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:16px; }
.adm-row{ display:flex; gap:10px; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line-2); }
.adm-list{ margin-top:12px; }
.adm-t{ width:100%; border-collapse:collapse; font-size:13px; }
.adm-t th, .adm-t td{ text-align:left; padding:7px 6px; border-bottom:1px solid var(--line-2); }
@media (max-width:760px){
  .lead-list{ grid-template-columns:1fr; }
  .mk-head h1{ font-size:23px; }
  .mk-head-act{ width:100%; }
  .quick button{ width:100%; }
  .bell-pop{ right:8px; top:54px; }
  .u-ctrl .grow{ display:none; }
}

/* ---------- server-rendered SEO pages ---------- */
.seo{ padding:28px 20px 40px; max-width:1000px; }
.seo h1{ font:800 30px/1.2 var(--head); margin:0 0 8px; }
.seo h2{ font:800 20px var(--head); margin:26px 0 12px; }
.seo-post img{ width:100%; border-radius:12px; margin:10px 0; }
.seo-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:12px; }
.seo-grid a{ text-decoration:none; background:var(--card); border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.seo-grid img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.seo-grid span{ display:block; padding:8px 10px; font-weight:600; font-size:14px; }
.seo-cities, .seo-pros{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; }
.seo-cities a, .seo-pros a{ display:block; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:12px 14px; text-decoration:none; }
.seo-pros small, .seo-cities small{ display:block; color:var(--ink-3); font-size:12.5px; margin-top:2px; }
.seo-cities small{ display:inline; }
@media (max-width:1120px){ .sc-actions [data-go=need]{ display:none; } }
@media (max-width:940px){ .sc-actions a[data-go=leads]{ display:none; } }
.note.hist{ background:rgba(120,160,255,.10); border-color:#dbe4f2; margin:0; font-size:13px; }
.ask .note{ margin-bottom:8px; line-height:1.6; }
.ask-btns{ display:flex; gap:8px; flex-wrap:wrap; }
.u-status.released{ background:rgba(120,160,255,.10); color:#3b5b8a; }

/* ---------- advertisement banner (auto-slides, swipe with a finger) ---------- */
.adbar{ position:relative; margin-top:14px; }
.adbar.off{ display:none; }
.ad-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:16px; box-shadow:var(--shadow); background:#1d1a17; }
.ad-track::-webkit-scrollbar{ display:none; }
.ad-slide{ position:relative; flex:0 0 100%; scroll-snap-align:center; height:clamp(120px, 20vw, 210px); display:block; text-decoration:none; color:#fff; overflow:hidden; }
.ad-slide img{ width:100%; height:100%; object-fit:cover; }
.ad-slide .ad-text{ position:absolute; left:0; right:0; bottom:0; padding:28px 18px 14px; background:linear-gradient(transparent, rgba(0,0,0,.72)); display:flex; flex-direction:column; gap:2px; }
.ad-slide .ad-text b{ font:800 clamp(15px, 2vw, 21px)/1.25 var(--head); }
.ad-slide .ad-text small{ font-size:12.5px; opacity:.9; }
.ad-slide .promo-tag{ left:12px; top:12px; }
.ad-own{ background:linear-gradient(120deg, #2a2520, #5c4331 55%, var(--accent)); display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 22px; }
.ad-own .ad-text{ position:static; background:none; padding:0; max-width:760px; }
.ad-own .ad-text small:first-child{ letter-spacing:.08em; font-weight:700; opacity:.8; }
.ad-own .btn{ flex:none; }
.ad-dots{ position:absolute; bottom:8px; right:14px; display:flex; gap:5px; }
.ad-dots i{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.45); }
.ad-dots i.on{ background:var(--card); }
.ad-nav{ position:absolute; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; border:none; background:var(--glass); display:grid; place-items:center; opacity:0; transition:opacity .15s; }
.ad-nav svg{ width:18px; height:18px; stroke:var(--ink); stroke-width:2.4; fill:none; }
.ad-nav.prev{ left:10px; } .ad-nav.next{ right:10px; }
.adbar:hover .ad-nav{ opacity:1; }
.ad-cta{ display:block; margin-top:6px; font-size:12.5px; font-weight:700; color:var(--accent-strong); }
.ad-pic{ height:120px; border-radius:10px; background:var(--line-2); display:grid; place-items:center; overflow:hidden; margin-bottom:8px; color:var(--ink-3); font-size:13px; }
.ad-pic img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:760px){
  .adbar{ margin-top:10px; }
  .ad-own{ padding:0 16px; }
  .ad-own .btn{ display:none; }
  .ad-slide .ad-text{ padding:22px 14px 12px; }
}

/* ---------- sections (Interior, Exterior, Construction…) ---------- */
.secs{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.secs::-webkit-scrollbar{ display:none; }
.sec{ flex:none; display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 15px; border-radius:12px; border:1px solid var(--line); background:var(--card); font-size:14px; font-weight:700; color:var(--ink-2); }
.sec span{ font-size:16px; }
.sec.on{ background:var(--ink); border-color:var(--ink); color:var(--bg); }
.stage-tag{ position:absolute; left:10px; bottom:10px; font-size:11px; font-weight:700; padding:3px 8px; border-radius:999px; background:var(--glass); color:var(--ink); }
.stage-tag.completed{ background:#35c47a; color:#fff; }
.stage-tag.in_progress{ background:#f2a41b; color:#1a1204; }
@media (max-width:760px){
  .sc-filter-row select{ flex:1 1 45%; }
  .sc-filter-row input{ flex:1 1 45%; }
  .sec{ height:36px; padding:0 12px; font-size:13px; border-radius:10px; }
}
.sec-picks{ display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:6px; }
.sec-picks label{ display:flex; gap:8px; align-items:center; font-size:13.5px; border:1px solid var(--line); border-radius:10px; padding:8px 10px; margin:0; color:var(--ink); font-weight:600; }
.sec-picks input{ width:auto; accent-color:var(--accent); }
.adm-btns{ display:flex; gap:6px; flex:none; }
.rep-kpis{ display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-bottom:14px; }
.rep-kpis div{ background:var(--bg); border-radius:10px; padding:10px; }
.rep-kpis b{ display:block; font:800 20px var(--head); }
.rep-kpis small{ color:var(--ink-3); font-size:11.5px; }
.rep-bars{ display:flex; align-items:flex-end; gap:2px; height:90px; border-bottom:1px solid var(--line); }
.rep-bars i{ flex:1; background:var(--accent); border-radius:2px 2px 0 0; min-height:2px; }
.rep-axis{ display:flex; justify-content:space-between; font-size:11px; color:var(--ink-3); margin:4px 0 12px; }
@media (max-width:760px){ .rep-kpis{ grid-template-columns:repeat(2, 1fr); } }

/* ===== v21: Hire / Leads highlighted, app tab bar, hire page ===== */
.btn.hl{ box-shadow:0 6px 16px rgba(238,125,38,.35); }
.btn.dark-o{ border:1.5px solid var(--ink); color:var(--ink); background:var(--card); }
.btn.dark-o:hover{ background:var(--ink); color:var(--bg); }
.btn.big{ height:54px; padding:0 30px; font-size:17px; border-radius:14px; }
.hero-pick{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:18px 0 14px; max-width:860px; }
.pick{ display:flex; flex-direction:column; gap:10px; padding:18px; border-radius:18px; text-decoration:none; color:inherit; background:var(--card); border:1.5px solid var(--line); box-shadow:var(--shadow); transition:transform .15s, border-color .15s; }
.pick:hover{ transform:translateY(-2px); border-color:var(--accent); }
.pick .pi{ font-size:26px; width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:var(--accent-soft); }
.pick b{ display:block; font:800 18px var(--head); margin-bottom:3px; }
.pick small{ color:var(--ink-2); font-size:14px; line-height:1.45; }
.pick .go{ margin-top:auto; font-weight:700; color:var(--accent-strong); }
.pick-hire{ background:linear-gradient(135deg, var(--card) 0%, rgba(255,138,42,.08) 100%); border-color:rgba(255,138,42,.35); }
.pick-pro{ background:linear-gradient(135deg, #2a2520, #4a3a2e); color:#fff; border-color:#2a2520; }
.pick-pro small{ color:rgba(255,255,255,.8); } .pick-pro .pi{ background:rgba(255,255,255,.12); } .pick-pro .go{ color:#ffb57a; }
.quick a{ text-decoration:none; }
.hire-steps{ display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin:6px 0 22px; }
.hire-steps > div{ display:flex; gap:12px; align-items:flex-start; background:var(--card); border-radius:14px; box-shadow:var(--shadow); padding:14px; }
.hire-steps b{ flex:none; width:30px; height:30px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; font-weight:800; }
.hire-steps span{ color:var(--ink-2); font-size:14px; line-height:1.4; } .hire-steps strong{ display:block; color:var(--ink); font-size:15px; margin-bottom:2px; }
.work-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
.work-tile{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:14px; min-height:92px; border-radius:14px; border:1.5px solid var(--line); background:var(--card); text-align:left; font-weight:600; font-size:14px; color:var(--ink); cursor:pointer; }
.work-tile:hover, .work-tile:focus-visible{ border-color:var(--accent); background:var(--accent-soft); }
.work-tile .wi{ font-size:24px; }
.hire-cta{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin:22px 0 16px; }
.tabbar{ display:none; }
@media (max-width:760px){
  .hero-pick{ grid-template-columns:1fr; }
  .hire-steps{ grid-template-columns:1fr; }
  .work-grid{ grid-template-columns:repeat(2, 1fr); }
  .hire-cta .btn{ flex:1 1 100%; justify-content:center; }
  body{ padding-bottom:calc(68px + env(safe-area-inset-bottom)); }
  .tabbar{ display:grid; grid-template-columns:repeat(5, 1fr); align-items:center; position:fixed; left:0; right:0; bottom:0; z-index:40; background:var(--glass); backdrop-filter:blur(10px); border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a{ display:flex; flex-direction:column; align-items:center; gap:2px; text-decoration:none; color:var(--ink-3); font-size:11px; font-weight:600; padding:4px 0; }
  .tabbar svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .tabbar a.on{ color:var(--accent-strong); }
  .tabbar .tab-post{ justify-self:center; width:54px; height:54px; margin-top:-22px; border-radius:50%; border:4px solid var(--card); background:var(--accent); color:#fff; display:grid; place-items:center; box-shadow:0 8px 20px rgba(238,125,38,.45); }
  .tabbar .tab-post svg{ stroke-width:2.6; }
  .fab{ display:none !important; }
}
/* hero split + studio band + wallet strip (Stitch design) */
@media (min-width:900px){
  .sc-hero{ display:grid; grid-template-columns:1.05fr 1fr; gap:28px; align-items:center; }
  .sc-hero .hero-pick{ margin:0; }
}
.hero-l .row{ margin-top:4px; }
.studio-band{ margin-top:30px; margin-bottom:10px; }
.studio-band a{ display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:18px; text-decoration:none; color:#fff; background:linear-gradient(120deg, #2a2520, #5c4331 60%, #8a5a32); }
.studio-band .sb-logo{ flex:none; width:42px; height:42px; border-radius:12px; background:var(--card); color:#2a2520; display:grid; place-items:center; font:800 15px var(--head); }
.studio-band b{ display:block; font:800 17px var(--head); } .studio-band small{ opacity:.85; font-size:13.5px; }
.studio-band .go{ margin-left:auto; flex:none; font-weight:700; color:#ffb57a; }
.wallet-strip{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; background:linear-gradient(140deg, rgba(255,138,42,.26), rgba(255,111,145,.1) 55%, rgba(17,17,23,.9)); border:1px solid rgba(255,138,42,.35); color:var(--ink); border-radius:16px; padding:14px 16px; margin:4px 0 16px; }
.wallet-strip small{ display:block; opacity:.7; font-size:12px; text-transform:uppercase; letter-spacing:.06em; }
.wallet-strip b{ font:800 26px var(--head); }
.wallet-strip .ws-price{ color:#ffb57a; font-weight:600; font-size:14px; }
.wallet-strip .btn{ margin-left:auto; }
@media (max-width:760px){
  .studio-band a{ flex-wrap:wrap; } .studio-band .go{ margin-left:56px; }
  .wallet-strip .btn{ margin-left:0; flex:1 1 100%; justify-content:center; }
}
.mk-bar input, .mk-bar select{ min-width:0; max-width:100%; box-sizing:border-box; }
@media (max-width:760px){ .mk-bar input, .mk-bar select{ flex:1 1 100%; width:100%; } }
.more-wrap{ display:flex; justify-content:center; margin:22px 0 0; }
.more-btn{ height:48px; padding:0 26px; }

/* ---------- requirement wizard (v22) */
.wz-top{ margin:-4px 0 14px; }
.wz-bar{ height:4px; border-radius:4px; background:rgba(255,255,255,.08); overflow:hidden; }
.wz-bar i{ display:block; height:100%; background:var(--grad); border-radius:4px; transition:width .4s ease; }
.wz-dots{ list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:10px 0 0; padding:0; }
.wz-dots li{ display:flex; align-items:center; gap:7px; font-size:12px; font-weight:600; color:var(--ink-3); }
.wz-dots b{ width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:11px; border:1px solid var(--line); flex:none; }
.wz-dots li.on{ color:var(--ink); } .wz-dots li.on b{ background:var(--grad); color:#1a0d02; border-color:transparent; box-shadow:0 0 14px rgba(255,138,42,.45); }
.wz-dots li.done b{ background:rgba(53,196,122,.18); color:#35c47a; border-color:rgba(53,196,122,.4); }
.wz-step{ display:none; animation:wzIn .35s ease; } .wz-step.on{ display:block; }
#needForm.wz-all .wz-step{ display:block; } #needForm.wz-all .wz-hidden{ display:block; position:static; opacity:1; width:auto; height:auto; }
@keyframes wzIn{ from{ opacity:0; transform:translateX(18px); } to{ opacity:1; transform:none; } }
.wz-h{ font:800 20px/1.25 var(--head); margin:4px 0 14px; letter-spacing:-.01em; } .wz-h small{ font:500 13px var(--font); color:var(--ink-3); }
.wz-hidden{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.wz-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:16px; }
.wz-tiles button{ display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:10px 11px; min-height:70px; border-radius:14px; border:1px solid var(--line); background:var(--card-2); color:var(--ink); text-align:left; transition:border-color .15s, background .15s, transform .1s; }
.wz-tiles button span{ font-size:22px; line-height:1; } .wz-tiles button i{ font-style:normal; font-size:12.5px; font-weight:600; line-height:1.25; }
.wz-tiles button:hover{ border-color:rgba(255,138,42,.4); }
.wz-tiles button.on{ border-color:var(--accent); background:linear-gradient(150deg, rgba(255,138,42,.22), rgba(255,111,145,.08)); box-shadow:0 0 0 1px var(--accent) inset; }
.wz-chips{ display:flex; flex-wrap:wrap; gap:7px; }
.wz-chips button{ height:36px; padding:0 13px; border-radius:999px; border:1px solid var(--line); background:var(--card-2); color:var(--ink-2); font-size:13px; font-weight:600; }
.wz-chips button.on{ border-color:var(--accent); background:var(--accent-soft); color:var(--ink); }
.wz-tip, .wz-lock{ font-size:13px; color:var(--ink-2); background:var(--card-2); border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:4px 0 12px; }
.wz-sum{ display:grid; grid-template-columns:repeat(auto-fit, minmax(96px,1fr)); gap:1px; border-radius:14px; overflow:hidden; background:var(--line); border:1px solid var(--line); margin-bottom:16px; }
.wz-sum > div{ background:var(--card-2); padding:9px 11px; min-width:0; } .wz-sum small{ display:block; font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); } .wz-sum b{ font-size:13.5px; overflow-wrap:anywhere; }
@media (max-width:640px){ .wz-tiles{ grid-template-columns:1fr 1fr; } .wz-dots span{ display:none; } .wz-dots{ grid-template-columns:repeat(4,auto); justify-content:space-between; } .wz-dots li.on span{ display:inline; } }

/* ---------- leads dashboard (v22) */
.lead-stats{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:10px; margin:4px 0 18px; }
.ls{ position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:14px 16px; border-radius:16px; border:1px solid var(--line); background:linear-gradient(160deg, var(--card-2), var(--card)); color:var(--ink); text-align:left; overflow:hidden; }
button.ls{ cursor:pointer; transition:border-color .15s, transform .1s; } button.ls:hover{ border-color:rgba(255,138,42,.45); }
.ls small{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.ls b{ font:800 30px/1.1 var(--head); letter-spacing:-.02em; }
.ls span{ font-size:12.5px; color:var(--ink-2); }
.ls-credit{ background:linear-gradient(140deg, rgba(255,138,42,.28), rgba(255,111,145,.12) 55%, rgba(17,17,23,.9)); border-color:rgba(255,138,42,.35); }
.ls-credit b{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; font-size:36px; }
.ls-credit .btn{ position:absolute; right:14px; top:50%; transform:translateY(-50%); }
.lead{ border:1px solid var(--line); background:linear-gradient(170deg, #15151d, #0f0f15); box-shadow:none; transition:border-color .2s, box-shadow .2s, transform .2s; position:relative; overflow:hidden; }
.lead::before{ content:''; position:absolute; left:0; right:0; top:0; height:2px; background:var(--grad); opacity:.7; }
.lead:hover{ border-color:rgba(255,138,42,.35); box-shadow:0 18px 40px rgba(0,0,0,.45); transform:translateY(-2px); }
.lead-facts span{ padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid var(--line-2); }
.lead-foot{ padding-top:10px; border-top:1px dashed var(--line); }
.lead-foot .slots{ font-size:12.5px; color:var(--ink-3); }
@media (max-width:900px){ .lead-stats{ grid-template-columns:1fr 1fr 1fr; } .ls-credit{ grid-column:1 / -1; } }
@media (max-width:640px){ .ls{ padding:12px; } .ls b{ font-size:24px; } .ls span{ font-size:11.5px; } .ls-credit b{ font-size:30px; } }
.ad-own{ background:linear-gradient(120deg, #1b1420, #3a2230 45%, #b8520f); border:1px solid rgba(255,138,42,.25); }
@media (max-width:640px){
  .ad-slide.ad-own{ height:auto; min-height:120px; padding:16px 18px; }
  .ad-own .ad-text b{ font-size:16px; }
  .ad-own .ad-text small:not(:first-child){ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}

/* ---------- ☰ side menu + Crip 3D Design button (v22) */
.burger{ flex:none; width:40px; height:40px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.04); display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; padding:0; }
.burger span{ display:block; width:17px; height:2px; border-radius:2px; background:var(--ink); transition:transform .2s; }
.burger span:nth-child(2){ width:12px; margin-left:-5px; }
.burger:hover span:nth-child(2){ width:17px; margin-left:0; }
.b3d{ flex:none; display:inline-flex; align-items:center; gap:9px; height:42px; padding:0 14px 0 6px; border-radius:999px; text-decoration:none; color:var(--ink); background:linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(92deg,#ff7a1a,#ff6f91,#6b7cff) border-box; border:1.5px solid transparent; box-shadow:0 0 22px rgba(255,111,145,.18); transition:box-shadow .2s, transform .15s; }
.b3d:hover{ box-shadow:0 0 30px rgba(255,138,42,.4); transform:translateY(-1px); }
.b3d-ico{ width:30px; height:30px; border-radius:50%; background:var(--grad); display:grid; place-items:center; }
.b3d-ico svg{ width:17px; height:17px; stroke:#1a0d02; fill:none; stroke-width:2; stroke-linejoin:round; animation:cubeSpin 6s ease-in-out infinite; }
@keyframes cubeSpin{ 0%,70%,100%{ transform:rotate(0); } 80%{ transform:rotate(-14deg) scale(1.08); } 90%{ transform:rotate(10deg); } }
.b3d-t b{ display:block; font:800 13px/1.1 var(--head); } .b3d-t small{ display:block; font-size:10.5px; color:var(--ink-3); }
.sc-search{ max-width:440px; }
@media (max-width:1240px){ .b3d-t small{ display:none; } }
@media (max-width:1500px){ .sc-actions .dark-o{ display:none; } .sc-brand small{ display:none; } }
.sc-search{ min-width:200px; }
@media (max-width:640px){ .sc-search{ min-width:0; } }
@media (max-width:640px){
  .burger{ width:36px; height:36px; }
  .b3d{ height:36px; padding:0 10px 0 4px; gap:6px; margin-left:auto; }
  .b3d-ico{ width:26px; height:26px; } .b3d-t small{ display:none; } .b3d-t b{ font-size:0; } .b3d-t b::after{ content:'3D'; font-size:13px; }
  .sc-brand small{ display:none; }
}
@media (max-width:370px){ .sc-brand > span:last-child{ display:none; } }
.cs-drawer{ position:fixed; inset:0; z-index:60; }
.dr-back{ position:absolute; inset:0; background:rgba(0,0,0,.55); backdrop-filter:blur(3px); opacity:0; transition:opacity .25s; }
.dr-panel{ position:absolute; left:0; top:0; bottom:0; width:min(360px, 88vw); overflow-y:auto; overscroll-behavior:contain; background:linear-gradient(180deg,#101017,#08080c); border-right:1px solid var(--line); padding:14px 14px 30px; transform:translateX(-102%); transition:transform .26s cubic-bezier(.2,.8,.2,1); box-shadow:30px 0 80px rgba(0,0,0,.6); }
.cs-drawer.on .dr-back{ opacity:1; } .cs-drawer.on .dr-panel{ transform:none; }
.dr-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.dr-x{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:none; display:grid; place-items:center; }
.dr-panel svg{ width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.dr-me{ padding:14px; border-radius:16px; background:var(--card); border:1px solid var(--line); margin-bottom:12px; }
.dr-guest, .dr-user{ display:flex; gap:12px; align-items:center; }
.dr-guest .avatar{ display:grid; place-items:center; color:var(--ink-2); }
.dr-guest b, .dr-user b{ display:block; font-size:15px; } .dr-guest small, .dr-user small{ display:block; color:var(--ink-3); font-size:12.5px; line-height:1.35; }
.dr-sign{ width:100%; margin-top:12px; }
.dr-ua{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.dr-ua button{ display:flex; align-items:center; justify-content:center; gap:7px; height:38px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.04); font-weight:600; font-size:13px; color:var(--ink); }
.dr-3d{ position:relative; display:flex; gap:12px; align-items:center; padding:14px; border-radius:18px; text-decoration:none; color:var(--ink); margin-bottom:10px; overflow:hidden; background:radial-gradient(120% 140% at 0% 0%, rgba(255,138,42,.35), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(107,124,255,.35), transparent 55%), #14141c; border:1px solid rgba(255,138,42,.35); }
.dr-3d .iso{ width:92px; height:70px; flex:none; filter:drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.dr-3d em{ font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#ffb36b; }
.dr-3d b{ display:block; font:800 17px var(--head); } .dr-3d small{ display:block; font-size:12.5px; color:var(--ink-2); line-height:1.35; margin:2px 0 6px; } .dr-3d i{ font-style:normal; font-weight:700; font-size:13px; color:#ffa65c; }
.dr-g{ padding:12px 4px 4px; border-top:1px solid var(--line-2); margin-top:6px; }
.dr-g h4{ display:flex; flex-wrap:wrap; align-items:center; gap:0 8px; margin:2px 8px 8px; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.dr-g h4 small{ flex-basis:100%; font-size:11.5px; letter-spacing:0; text-transform:none; font-weight:500; margin-top:2px; padding-left:30px; }
.aj-logo{ width:22px; height:22px; border-radius:6px; background:linear-gradient(135deg,#c9a26a,#8a6a3a); color:#1a1204; display:grid; place-items:center; font-size:9.5px; letter-spacing:0; }
.dr-aj h4{ color:#e2c393; }
.dr-g a, .dr-g button{ display:flex; align-items:center; gap:12px; width:100%; padding:10px; border-radius:12px; border:none; background:none; color:var(--ink); text-decoration:none; font-size:14.5px; font-weight:600; text-align:left; }
.dr-g a:hover, .dr-g button:hover{ background:rgba(255,255,255,.05); }
.dr-g a svg, .dr-g button svg{ color:var(--ink-2); }
.dr-g small{ display:block; font-size:12px; font-weight:500; color:var(--ink-3); }
.dr-chips{ display:flex; flex-wrap:wrap; gap:6px; padding:0 10px 6px 41px; }
.dr-chips a{ width:auto; padding:5px 11px; font-size:12px; font-weight:600; border:1px solid var(--line); border-radius:999px; color:var(--ink-2); }
@media (max-width:640px){
  .sc-brand b{ font-size:0; } .sc-brand b::after{ content:'Crip'; font-size:17px; }
  .sc-top .wrap{ gap:8px; }
  #signInBtn{ height:36px; padding:0 12px; font-size:13px; }
}

/* ---------- Explore designs: header link, phone shortcuts, the explore page (v22) */
.bxp{ flex:none; display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 15px; border-radius:999px; text-decoration:none; color:var(--ink); font-weight:700; font-size:14px; border:1px solid var(--line); background:rgba(255,255,255,.04); transition:background .15s, border-color .15s; }
.bxp svg{ width:18px; height:18px; stroke:#ffb36b; fill:none; stroke-width:1.9; }
.bxp:hover, .bxp.on{ border-color:rgba(255,166,92,.55); background:rgba(255,138,42,.12); }
@media (max-width:1360px){ .sc-actions #postBtn .lbl{ display:none; } }
@media (max-width:1180px){ .bxp span{ display:none; } .bxp{ padding:0 11px; } }
.qnav{ display:none; }
@media (max-width:640px){
  .bxp{ display:none; }
  .qnav{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:10px 12px 6px; }
  .qnav::-webkit-scrollbar{ display:none; }
  .qnav a{ flex:none; display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 14px 0 11px; border-radius:999px; text-decoration:none; color:var(--ink); font-size:13px; font-weight:700; border:1px solid var(--line); background:rgba(255,255,255,.04); }
  .qnav svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linejoin:round; }
  .qnav .q-explore{ background:linear-gradient(92deg, rgba(255,122,26,.22), rgba(255,111,145,.16)); border-color:rgba(255,138,42,.5); } .qnav .q-explore svg{ stroke:#ffb36b; }
  .qnav .q-3d svg{ stroke:#9aa6ff; }
  .qnav a.on{ background:var(--ink); color:var(--bg); border-color:var(--ink); } .qnav a.on svg{ stroke:var(--bg); }
}
/* home: link to the explore page under the feed */
.more-wrap{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.more-wrap small{ color:var(--ink-3); font-size:13px; }
.xp-go{ height:52px; padding:0 26px; font-size:15.5px; font-weight:800; background:linear-gradient(var(--bg-2),var(--bg-2)) padding-box, linear-gradient(92deg,#ff7a1a,#ff6f91,#6b7cff) border-box; border:1.5px solid transparent; box-shadow:0 0 30px rgba(255,122,26,.2); }
.xp-go svg{ width:19px; height:19px; stroke:#ffb36b; fill:none; stroke-width:2; }
/* explore page band */
.xp{ padding:34px 0 8px; }
.xp-in{ display:grid; grid-template-columns:1.25fr 1fr; gap:30px; align-items:center; }
.xp-h1{ font:800 clamp(38px, 5vw, 66px)/1.02 var(--head); letter-spacing:-.035em; margin:16px 0 12px; }
.xp-sub{ color:var(--ink-2); font-size:16.5px; line-height:1.6; max-width:620px; margin:0 0 22px; }
.xp-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.xp-r{ position:relative; height:250px; }
.xp-stack{ position:absolute; inset:0; }
.xs{ position:absolute; margin:0; width:170px; border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.14); background:#111; box-shadow:0 24px 50px rgba(0,0,0,.55); animation:float 7s ease-in-out infinite; }
.xs img{ display:block; width:100%; height:130px; object-fit:cover; }
.xs figcaption{ padding:8px 12px; font-size:12.5px; font-weight:700; background:rgba(12,12,16,.95); }
.xs-1{ left:4%; top:10px; rotate:-7deg; } .xs-2{ left:30%; top:40px; rotate:3deg; z-index:2; animation-delay:-2s; } .xs-3{ left:56%; top:0; rotate:-2deg; animation-delay:-4s; } .xs-4{ right:0; top:70px; rotate:8deg; animation-delay:-5.5s; }
@media (max-width:980px){ .xp-in{ grid-template-columns:1fr; } .xp-r{ height:190px; } .xs{ width:130px; } .xs img{ height:96px; } }
@media (max-width:640px){ .xp{ padding:14px 0 0; } .xp-sub{ font-size:14.5px; margin-bottom:16px; } .xp-cta .lx-btn{ flex:1 1 auto; justify-content:center; } .xp-3d{ display:none !important; } .xp-r{ height:160px; margin:0 -4px; } .xs{ width:108px; } .xs img{ height:78px; } .xs figcaption{ font-size:11px; padding:6px 8px; } .xs-4{ right:2%; } }
.empty-insp{ margin:34px auto 0; max-width:900px; }
.empty-insp small{ display:block; color:var(--ink-3); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.empty-insp div{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.empty-insp a{ position:relative; display:block; border-radius:14px; overflow:hidden; border:1px solid var(--line); text-decoration:none; }
.empty-insp img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .4s; }
.empty-insp a:hover img{ transform:scale(1.06); }
.empty-insp span{ position:absolute; left:0; right:0; bottom:0; padding:18px 10px 8px; background:linear-gradient(transparent, rgba(0,0,0,.8)); color:#fff; font-size:13px; font-weight:700; text-align:left; }
@media (max-width:640px){ .empty-insp div{ grid-template-columns:1fr 1fr; } .empty-insp a:last-child{ grid-column:1 / -1; } }

/* ---------- header always fits the screen (v22c) */
.sc-top .wrap{ max-width:none; padding-left:clamp(12px, 2.2vw, 32px); padding-right:clamp(12px, 2.2vw, 32px); }
.sc-search{ flex:1 1 180px; min-width:120px; max-width:460px; }
.sc-top .wrap > *:not(.sc-search){ flex-shrink:0; }
@media (max-width:1680px){ .sc-actions .dark-o{ display:none; } .sc-brand small{ display:none; } }
@media (max-width:1320px){ .b3d-t small{ display:none; } .sc-actions #postBtn .lbl{ display:none; } }
@media (max-width:1180px){ .bxp span{ display:none; } .bxp{ padding:0 11px; } }
@media (max-width:1024px) and (min-width:641px){
  .sc-search{ display:none; } .sc-search.open{ display:block; position:absolute; left:12px; right:12px; top:11px; z-index:5; max-width:none; }
  .search-m{ display:inline-flex !important; }
  .sc-actions .hl{ padding:0 12px; }
}
@media (max-width:860px) and (min-width:641px){ .b3d-t{ display:none; } .b3d{ padding:0 6px; } .sc-brand > span:last-child small{ display:none; } }
@media (max-width:980px) and (min-width:641px){ .sc-actions #postBtn{ display:none; } .sc-brand > span:last-child{ display:none; } }
