/* ShootGigs M0.2 — responsive product board, no framework, no build step
 * ONE codebase / ONE URL serves desktop, tablet and phone.
 * Phone: single column + fixed bottom apply bar. Desktop: five-column compact
 * board, two-column brief with a side apply card, full nav. Tap targets >= 44px. */
:root{
  --ink:#101828; --ink-2:#344054; --ink-3:#667085;
  --line:#E4E7EC; --bg:#FFFFFF; --bg-soft:#F7F8FC; --bg-tint:#F0EDFF;
  --brand:#5B4BEF; --brand-dark:#4738D6; --brand-soft:#EEEBFF;
  --green:#0E9F6E; --green-soft:#E7F8F1;
  --amber:#B54708; --amber-soft:#FFFAEB;
  --accent:#FF6B57; --ok:#067647; --ok-bg:#ECFDF3;
  --radius:14px; --radius-sm:10px;
  --shadow:0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.05);
  --wrap:1600px; --header-h:64px;
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;line-height:1.22;letter-spacing:-.02em}
p{margin:0}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
/* v36: the wide shell belongs to the product board. Reading surfaces keep a
   comfortable measure instead of stretching across a 1600px viewport. */
.detail-grid,.timeline,.how-lines,.page-head{max-width:1180px;margin-left:auto;margin-right:auto}
.prose{max-width:860px;margin-left:auto;margin-right:auto}
.form-card,.auth-card{max-width:620px;margin-left:auto;margin-right:auto}

/* preview bar */
.demo-bar{display:flex;align-items:center;gap:6px;justify-content:center;flex-wrap:wrap;padding:6px 12px;background:var(--amber-soft);color:var(--amber);font-size:11.5px;text-align:center;border-bottom:1px solid #FEDF89;line-height:1.4}
.demo-bar strong{font-weight:650}
.demo-dot{width:7px;height:7px;border-radius:50%;background:#F79009;flex:none}

/* header */
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:20px;min-height:var(--header-h)}
.brand{display:inline-flex;align-items:center;gap:10px;flex:none}
.brand-mark{width:34px;height:34px;flex:none;display:block;border-radius:10px}
/* Wordmark: the "oo" of Shoot becomes a twin lens — the memory hook.
   Brand purple stays the only chromatic accent; coral is just a light spot. */
.wordmark{display:inline-flex;align-items:center;font-size:19px;font-weight:820;letter-spacing:-.045em;line-height:1;color:var(--ink);white-space:nowrap}
.wordmark em{font-style:normal;color:var(--brand);margin-left:.01em}
.wordmark .lens{position:relative;display:inline-block;flex:none;width:.66em;height:.66em;margin:0 .025em;border-radius:50%;box-shadow:inset 0 0 0 .135em currentColor;transform:translateY(.045em)}
.wordmark .lens::after{content:"";position:absolute;inset:.19em;border-radius:50%;background:var(--brand)}

.main-nav{display:flex;gap:24px;margin-left:14px;flex:1}
.main-nav a{font-size:14px;color:var(--ink-2);font-weight:550;padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap}
.main-nav a:hover,.main-nav a.active{color:var(--brand);border-bottom-color:var(--brand)}
.header-actions{display:flex;align-items:center;gap:9px;flex:none}
.lang-picker{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;padding:5px 8px;color:var(--ink-3)}
.lang-picker select{border:0;background:transparent;color:var(--ink-2);font-size:13px;outline:none;cursor:pointer;max-width:92px}
.auth-chip{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--ok);background:var(--ok-bg);border:1px solid #ABEFC6;border-radius:999px;padding:6px 11px;font-weight:600;white-space:nowrap}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:var(--radius-sm);font-weight:620;font-size:14px;border:1px solid transparent;cursor:pointer;min-height:44px;transition:transform .12s ease,background .12s ease;border-color .12s ease;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 4px 12px rgba(91,75,239,.2)}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink-2)}
.btn-ghost:hover{border-color:var(--brand);color:var(--brand)}
.btn-sm{padding:8px 13px;font-size:13px;min-height:38px}
.btn-lg{padding:14px 22px;font-size:15px;min-height:50px}
.btn-block{width:100%}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn-link{background:none;border:0;color:var(--brand);font-size:13px;cursor:pointer;padding:6px;min-height:38px}

main{min-height:60vh;outline:none}
section{padding:36px 0}
.eyebrow{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--brand);margin-bottom:10px}
.h1{font-size:clamp(29px,5vw,44px);font-weight:780;letter-spacing:-.04em}
.h2{font-size:clamp(24px,3.2vw,34px);font-weight:740;letter-spacing:-.035em}
.h3{font-size:18px;font-weight:680}
.lead{font-size:16px;color:var(--ink-2);max-width:680px}
.muted{color:var(--ink-3)}
.small{font-size:13px}

/* positioning strip + page head */
.position-bar{background:var(--ink);color:#fff;font-size:12.5px;padding:9px 12px;text-align:center;letter-spacing:.01em;overflow-wrap:anywhere}
.lead,.product-name,.rights-callout,.req-text,.brief-row span:last-child,.page-head .h2{overflow-wrap:anywhere}
.page-head{padding:22px 0 12px}
.page-head .lead{margin-top:10px;font-size:15px}
.count-line{display:flex;align-items:baseline;gap:8px;margin-top:12px;font-size:13px;color:var(--ink-3)}
.count-line strong{font-size:20px;color:var(--ink);font-weight:750;white-space:nowrap;flex:none}
.public-note{margin-top:14px;background:var(--bg-soft);border:1px solid var(--line);border-radius:10px;padding:10px 13px;font-size:12.5px;color:var(--ink-3)}

/* v35 (2026-11-13): no filter row is pinned. The whole filter bar scrolls
   away so the product list keeps the full viewport; tabs look unchanged. */
.type-tabs{position:static;top:auto;z-index:auto;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#fff;border-bottom:1px solid var(--line);padding:10px 20px;margin:0 -20px}
.type-tabs::-webkit-scrollbar{display:none}
.type-tab{flex:none;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;color:var(--ink-2);border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:400;cursor:pointer;min-height:40px;white-space:nowrap}
/* Only the first "All ..." option of each row is bold; every other filter
   stays regular. Font-size and height stay identical across all three rows. */
.type-tab[data-type="all"],.chip[data-category="all"],.chip[data-market="all"]{font-weight:700}
.type-tab:hover{border-color:var(--brand);color:var(--brand)}
.type-tab.active{background:var(--brand);border-color:var(--brand);color:#fff}
.type-tab.soon{color:var(--amber);background:var(--amber-soft);border-color:#FEDF89}
.type-tab.soon.active{background:var(--amber);border-color:var(--amber);color:#fff}
.type-tab .n{font-size:11.5px;opacity:.8;background:rgba(0,0,0,.07);border-radius:999px;padding:1px 6px}
.type-tab.active .n{background:rgba(255,255,255,.22)}

/* v35: home "Three video lines" explainer cards removed as redundant.
   .how-lines on the How page is a separate, still-live component. */

/* filters */
.filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 12px}
.chips{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:100%}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1px solid var(--line);background:#fff;color:var(--ink-2);border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:400;cursor:pointer;min-height:40px;white-space:nowrap}
.chip:hover{border-color:var(--brand);color:var(--brand)}
.chip.active{background:var(--brand);border-color:var(--brand);color:#fff}
/* Category row sits between the video-type tabs and the market/search row.
   No label prefix: chips start at the same left edge as the market row below,
   and wrap freely (no hidden horizontal scroller) so none is ever clipped. */
.category-row{display:block;margin:12px 0 0;padding:0 0 12px;border-bottom:1px solid var(--line)}
.cat-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.cat-more{border-style:dashed;border-color:#C9C2FF;color:var(--brand);background:#fff;font-weight:600}
.cat-more:hover{border-color:var(--brand);background:var(--brand-soft)}
/* v48 Amazon-style segmented search: scope dropdown | query | brand button.
   The 2px dark border replaces the too-light v42 1px --line one; focus
   switches the border to the brand purple with a soft ring. */
.search-input{flex:1;min-width:190px;display:flex;align-items:stretch;border:2px solid #232733;border-radius:10px;background:#fff;overflow:hidden}
.search-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,75,239,.14)}
.search-input input{border:0;outline:none;width:100%;min-width:0;font-size:15.5px;padding:10px 12px;background:transparent;color:var(--ink)}
.search-scope{flex:none;width:64px;max-width:170px;appearance:none;-webkit-appearance:none;border:0;border-right:1px solid var(--line);background:var(--bg-soft) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 9px center;background-size:10px 6px;padding:10px 26px 10px 12px;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-scope:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.search-go{flex:none;display:flex;align-items:center;justify-content:center;width:46px;border:0;background:var(--brand);color:#fff;cursor:pointer}
.search-go:hover{background:var(--brand-dark)}
.search-go svg{width:17px;height:17px}

/* ---------- v36 Amazon-style product board ----------
   Wide shell + 236px grouped filter sidebar + 5-up results. The same option
   set is rendered twice (sidebar / phone panel) and CSS picks which is shown,
   so no breakpoint-dependent DOM rebuild is needed. */
.board-section{padding:22px 0 40px}
.board-wrap{max-width:1600px}
/* v42: the intro copy above the board is gone; the PC search now lives in
   the results bar, and the phone search in the top bar. */
.mobile-search{display:none}
.results-search{display:none}
.board-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}
.filter-sidebar{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.sb-group{padding:14px 16px;border-bottom:1px solid var(--line)}
.sb-group h3{font-size:12px;font-weight:700;letter-spacing:.01em;color:var(--ink);margin-bottom:9px}
.sb-options{display:flex;flex-direction:column;gap:2px}
.sb-option{display:flex;align-items:center;gap:9px;width:100%;min-height:30px;padding:4px 2px;border:0;background:transparent;color:var(--ink-2);font-size:13px;text-align:left;cursor:pointer;border-radius:6px}
.sb-option:hover{color:var(--brand);background:var(--bg-soft)}
.sb-option.active{color:var(--brand);font-weight:650}
.sb-box{position:relative;width:15px;height:15px;flex:none;border:1.5px solid #C9CDD6;border-radius:4px;background:#fff}
.sb-option.active .sb-box{background:var(--brand);border-color:var(--brand)}
.sb-option.active .sb-box::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(42deg)}
.sb-label{flex:1;min-width:0;line-height:1.35}
.sb-n{flex:none;font-size:11px;color:var(--ink-3);background:var(--bg-soft);border-radius:999px;padding:1px 6px}
.sb-option.active .sb-n{background:var(--brand-soft);color:var(--brand)}
.sb-foot{padding:12px 16px}
.sb-foot .btn{width:100%}
.sb-foot .btn:disabled{opacity:.45;cursor:default;transform:none}
.board-results{min-width:0}
.results-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 12px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.results-bar .count-line{margin-top:0}
.bar-actions{display:inline-flex;align-items:center;gap:10px}
/* Phone-only "Filters" trigger: summons the on-demand drawer. On desktop the
   sidebar is always visible, so the button (and drawer) never render open. */
.filters-toggle{display:none;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:#fff;color:var(--ink-2);font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap}
.filters-toggle svg{flex:none;color:var(--ink-3)}
.filters-toggle.has-active{border-color:var(--brand);color:var(--brand)}
.filters-toggle .ft-n{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;border-radius:999px;background:var(--brand);color:#fff;font-size:10.5px;font-weight:700;padding:0 4px}
.filters-toggle .ft-n[hidden]{display:none}
/* v41: the Home-header funnel and the inline filter sheet are phone-only.
   Both are hidden on desktop; the max-width:960px block switches them on. */
.hd-filter-btn{display:none}
.hd-filter-badge[hidden]{display:none}
.filter-sheet{display:none}
.sort-wrap{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-3)}
.sort-wrap select{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff;color:var(--ink-2);font-size:13px;cursor:pointer;max-width:230px}

/* product board */
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;scroll-margin-top:calc(var(--header-h) + 16px)}
.product-card{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;transition:border-color .15s ease,box-shadow .15s ease}
.product-card:hover{border-color:#C9C2FF;box-shadow:var(--shadow)}
/* The image is absolutely fitted to the box: a grid/flex child with height:100%
   can grow to the image's own aspect ratio and get clipped by overflow:hidden.
   Absolute + inset keeps object-fit:contain genuinely "show the whole picture". */
.thumb{width:92px;height:92px;flex:none;position:relative;border-radius:10px;background:var(--bg-soft);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--ink-3);font-size:11px;font-weight:700;letter-spacing:.04em;text-align:center}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.p-body{flex:1;min-width:0;display:flex;flex-direction:column}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}
.badge{display:inline-flex;align-items:center;font-size:10px;font-weight:750;letter-spacing:.07em;text-transform:uppercase;border-radius:5px;padding:3px 7px;background:var(--brand-soft);color:var(--brand)}
.badge.ugc{background:var(--green-soft);color:var(--green)}
.badge.rights{background:var(--amber-soft);color:var(--amber)}
.badge.norights{background:var(--bg-soft);color:var(--ink-3)}
.badge.sample{background:#fff;border:1px solid var(--line);color:var(--ink-3)}
.product-name{font-size:15.5px;font-weight:700;letter-spacing:-.015em;line-height:1.35;margin-bottom:6px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.p-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.tag{font-size:11.5px;padding:3px 8px;border-radius:6px;background:var(--bg-soft);color:var(--ink-2);border:1px solid var(--line)}
.tag.strong{color:var(--ok);background:var(--ok-bg);border-color:#ABEFC6;font-weight:650}
.p-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;border-top:1px solid var(--line);padding-top:10px}
/* v33 card hierarchy (2026-11-13): eligibility is the only visual anchor.
   Market + product value share ONE plain-text line (v23 rule), pay is plain
   text, the video line and the rights term sit at the very bottom of the
   card, and the CTA is a solid brand button. The card-level Delivery row was
   removed; the brief detail page still shows the full delivery window. */
.p-line-meta{font-size:11px;color:var(--ink-3);line-height:1.4;margin-bottom:5px}
.p-pay{font-size:12px;font-weight:650;color:var(--ink-2);line-height:1.4;margin-bottom:6px}
.p-pay.hasfee{color:var(--ok)}
.p-card-bottom{margin-top:auto}
.p-gate{display:flex;flex-direction:column;gap:2px;padding:2px 0 6px}
.p-gate strong{font-size:11.5px;line-height:1.3;color:var(--brand);font-weight:700}
.p-gate span{font-size:10px;line-height:1.3;color:var(--ink-3)}
.p-gate span b{font-weight:650}
/* Only "Rights required" is highlighted; "No copyright needed" stays grey.
   #C2410C = 5.18:1 on white, passes WCAG AA even at 9px in 5-column cards.
   The brighter #E8590C (3.58:1) fails small-text AA and was rejected. */
.p-gate span b.warn{color:#C2410C}
.p-foot{justify-content:flex-end}
.p-foot .btn{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 3px 10px rgba(91,75,239,.18)}
.p-foot .btn:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
.empty-state{text-align:center;padding:44px 20px;border:1px dashed var(--line);border-radius:14px;background:var(--bg-soft)}
.product-grid > .empty-state{grid-column:1/-1;max-width:none}
.empty-state h3{margin-bottom:8px}

/* ---------- v38 mobile shell ---------- */
/* Header search exists only on phones (brand left, search right); desktop
   keeps the v36 sidebar search, so the form is display:none here. */
.header-search{display:none}
.tabbar{display:none}
/* Account / Inbox / My applications pages are reachable on desktop too. */
.tab-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.inbox-empty .inbox-ico{color:var(--brand);margin-bottom:10px}
.inbox-empty{margin-top:8px}
/* v40: Inbox is one contact entry, not a second message centre. */
.inbox-empty .inbox-actions{margin-top:18px}
.inbox-empty .inbox-mail{margin-top:16px;font-size:12.5px;color:var(--ink-3)}
.inbox-empty .inbox-mail a{color:var(--brand);font-weight:600}
.chat-planned{margin:12px 0;padding:10px 12px;border-radius:8px;background:var(--amber-soft);border:1px solid #FEDF89;color:var(--amber);font-size:13px;line-height:1.55}
.acc-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.acc-lang{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--ink-3);white-space:nowrap}
.acc-lang select{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff;color:var(--ink-2);font-size:13px}
.acc-id{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.acc-id-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.acc-id-text .acc-label{font-size:11px;color:var(--ink-3);letter-spacing:.04em;text-transform:uppercase;font-weight:650}
.acc-id-text strong{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-auth{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}
.acc-auth-btns{display:flex;gap:10px}
.acc-gate{font-size:13px;line-height:1.55;margin-top:10px}
.acc-list{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.acc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--ink-2);font-size:14px;font-weight:600;text-decoration:none}
.acc-row:last-child{border-bottom:0}
.acc-row i{font-style:normal;color:var(--ink-3);font-size:18px;line-height:1}
/* v39: the change-password row is a <button> styled like the link rows;
   the chevron rotates while the inline form is open. */
.acc-row-btn{width:100%;background:#fff;border:0;border-bottom:1px solid var(--line);font-family:inherit;text-align:left;cursor:pointer}
.acc-row-btn.open i{transform:rotate(90deg)}
.acc-row-btn i{transition:transform .18s ease}
.acc-pw-form{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--bg-soft)}
.acc-pw-form[hidden]{display:none}   /* author display:flex beats the UA [hidden] rule */
.acc-pw-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--ink-3)}
.acc-pw-form input{border:1px solid var(--line);border-radius:9px;padding:9px 11px;background:#fff;color:var(--ink-1);font-size:14px;font-family:inherit}
.acc-pw-form input:focus{outline:2px solid var(--brand);outline-offset:1px}
.acc-pw-form .btn{align-self:flex-start;margin-top:2px}
.apps-hint{font-size:12px;color:var(--ink-3);margin:0 0 14px;line-height:1.5}
.apps-list{display:flex;flex-direction:column;gap:10px}
.app-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.app-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.app-info strong{font-size:13.5px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.app-meta{font-size:11px;color:var(--ink-3)}
.app-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.app-status{font-size:11px;font-weight:650;color:#92400E;background:#FEF3C7;border:1px solid #FDE68A;border-radius:6px;padding:2px 8px}
.app-side a{font-size:12px;font-weight:650;color:var(--brand);text-decoration:none;white-space:nowrap}
.soon-panel{display:flex;gap:18px;align-items:flex-start;background:var(--amber-soft);border:1px solid #FEDF89;border-radius:14px;padding:24px;margin-top:18px}
.soon-panel .ico{width:40px;height:40px;flex:none;border-radius:10px;background:#fff;color:var(--amber);display:grid;place-items:center;font-size:19px;font-weight:800}
.soon-panel h2{font-size:20px;margin-bottom:8px}
.soon-panel p{font-size:13.5px;color:var(--ink-2);max-width:640px}
.soon-panel .foot{font-size:12.5px;color:var(--amber);margin-top:12px;font-weight:600}

/* detail */
.breadcrumb{font-size:13px;color:var(--ink-3);margin-bottom:16px}
.breadcrumb a:hover{color:var(--brand)}
.detail-grid{display:grid;grid-template-columns:1.8fr .8fr;gap:34px;align-items:start}
.detail-body h2{font-size:20px;margin:26px 0 9px}
.detail-body p,.detail-body li{color:var(--ink-2);font-size:14.5px}
.detail-body ul{padding-left:20px;margin:8px 0}
.detail-body li{margin-bottom:6px}
.detail-hero{display:flex;gap:20px;align-items:flex-start;margin-bottom:6px}
/* Only the text column may grow. The image stays a fixed square so the
   whole product shot is visible at a readable size in the Brief. */
.detail-hero > div:not(.thumb){flex:1;min-width:0}
.detail-hero .thumb{flex:none;width:200px;height:200px;border-radius:12px}
.detail-hero .h2{font-size:27px;line-height:1.3}
/* Listing button sits directly under the product name: creators open the
   retailer listing before deciding to apply. ONE component, two themes —
   Amazon orange (all 19 live briefs) and a platform-neutral outline for any
   other retailer (walmart / temu / ...), per the client's P0 decision.
   .detail-amazon-link is kept as a legacy alias so existing DOM hooks/tests
   keep resolving; .detail-listing-link is the retailer-neutral base name.
   Dark #232F3E on #FF9900 is ~8:1 (WCAG AAA); the neutral ink-on-white
   variant is even higher. 44px min-height = comfortable phone tap target.
   The purple Apply CTA in the side card stays the only conversion button. */
.detail-listing-link,.detail-amazon-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;margin-top:14px;padding:10px 17px;min-height:44px;border:1px solid #E08800;border-radius:10px;background:#FF9900;color:#232F3E;font-size:14.5px;font-weight:700;line-height:1.35;text-decoration:none;white-space:nowrap;box-shadow:0 2px 0 #D07C00,0 6px 14px rgba(255,153,0,.24);transition:transform .12s ease,background .12s ease,box-shadow .12s ease}
.amazon-ico,.listing-ico{flex:none;width:20px;height:20px;border-radius:50%}
.detail-listing-link:hover,.detail-amazon-link:hover{background:#FFAA26;text-decoration:none;transform:translateY(-1px);box-shadow:0 3px 0 #D07C00,0 9px 18px rgba(255,153,0,.30)}
.detail-listing-link:active,.detail-amazon-link:active{transform:translateY(1px);box-shadow:0 1px 0 #D07C00,0 3px 8px rgba(255,153,0,.22)}
.detail-listing-link:focus-visible,.detail-amazon-link:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
/* Platform-neutral theme: no retailer colour, no retailer logo. Deliberately
   quieter than the orange button and the purple Apply CTA. */
.detail-listing-link.is-neutral{background:#FFFFFF;border-color:#C9CDD8;color:var(--ink);box-shadow:0 2px 0 #E4E7EC,0 6px 14px rgba(16,24,40,.08)}
.detail-listing-link.is-neutral:hover{background:var(--bg-soft);transform:translateY(-1px);box-shadow:0 3px 0 #E4E7EC,0 9px 18px rgba(16,24,40,.10)}
.detail-listing-link.is-neutral:active{transform:translateY(1px);box-shadow:0 1px 0 #E4E7EC,0 3px 8px rgba(16,24,40,.08)}
.brief-box{background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:10px}
.brief-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:14px}
.brief-row:last-child{border-bottom:0}
.brief-row span:first-child{color:var(--ink-3);flex:none}
.brief-row span:last-child{font-weight:600;text-align:right}
.req-text{white-space:pre-line;background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:16px;font-size:14px;color:var(--ink-2);line-height:1.7}
.rights-callout{border-radius:12px;padding:14px 16px;font-size:13.5px;margin:14px 0}
.rights-callout.need{background:var(--amber-soft);border:1px solid #FEDF89;color:var(--amber)}
.rights-callout.no{background:var(--green-soft);border:1px solid #A6E9CC;color:var(--green)}
/* Brief notes: eligibility / pay / publishing / submission share ONE boxed
   section at the end of the brief, so the first screen stays product-first.
   All four blocks use the same structure; hairlines separate them and the
   first paragraph of each is the primary copy. */
.detail-notes{margin-top:30px;padding:16px 20px 20px;background:var(--bg-soft);border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}
.notes-eyebrow{display:inline-block;font-size:10.5px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:var(--brand)}
.detail-notes .note-block{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.detail-notes .note-block:first-of-type{margin-top:12px;padding-top:0;border-top:0}
.detail-notes h2{font-size:17px;margin:0 0 7px}
.detail-notes p{font-size:14.5px;line-height:1.7}
.detail-notes p + p{margin-top:5px}
.side-card{position:sticky;top:calc(var(--header-h) + 14px);background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.side-card .h3{margin-bottom:6px}
.notice{background:var(--bg-soft);border:1px solid var(--line);color:var(--ink-3);border-radius:10px;padding:11px 13px;font-size:12.5px;margin-top:12px}

/* auth gate */
.auth-wrap{max-width:460px;margin:0 auto}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.auth-switch{display:flex;gap:8px;background:var(--bg-soft);border-radius:10px;padding:5px;margin-bottom:20px}
.auth-switch button{flex:1;border:0;background:transparent;border-radius:8px;padding:9px;font-size:13.5px;font-weight:620;color:var(--ink-3);cursor:pointer;min-height:42px}
.auth-switch button.active{background:#fff;color:var(--brand);box-shadow:0 1px 3px rgba(16,24,40,.08)}
.gate-note{background:var(--brand-soft);border-radius:10px;padding:13px 15px;font-size:13px;color:var(--brand-dark);margin-bottom:18px}
.demo-hint{background:var(--amber-soft);border:1px solid #FEDF89;color:var(--amber);border-radius:10px;padding:11px 13px;font-size:12.5px;margin-top:14px}
/* v49: forgot-password entry on the sign-in form + the reset view */
.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}
.label-row label{margin-bottom:0}
.forgot-link{font-size:12.5px;font-weight:600;color:var(--brand);white-space:nowrap}
.forgot-link:hover{text-decoration:underline}
.reset-ok{background:var(--ok-bg);border:1px solid #ABEFC6;color:var(--ok);border-radius:10px;padding:12px 14px;font-size:13px;margin-top:14px;line-height:1.5}

/* forms */
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.field{margin-bottom:17px}
.field label{display:block;font-size:13.5px;font-weight:620;margin-bottom:7px}
.field label .req{color:var(--accent)}
.field input,.field select,.field textarea{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:16px;outline:none;min-height:46px;transition:border-color .12s ease,box-shadow .12s ease}
.field textarea{min-height:90px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,75,239,.12)}
.field .hint{font-size:12px;color:var(--ink-3);margin-top:6px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.check-row{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;font-size:13.5px;color:var(--ink-2)}
.check-row input{width:19px;height:19px;margin-top:2px;flex:none;accent-color:var(--brand)}
.check-row label{font-weight:500;margin:0}
.check-row.rights{background:var(--amber-soft);border:1px solid #FEDF89;border-radius:10px;padding:13px}
.check-row.rights label{color:var(--amber)}
.form-divider{border-top:1px solid var(--line);margin:20px 0 16px}
/* v51 注册页「Your channels」区块：小标题 + 说明，不抢主表单的视觉权重 */
.sub-head{margin:0 0 14px}
.sub-head strong{display:block;font-size:14px;letter-spacing:.01em;color:var(--ink)}
.sub-head .hint{margin-top:4px;font-size:12px;line-height:1.55;color:var(--ink-3)}
.auth-error{background:#FEF3F2;border:1px solid #FECDCA;color:#B42318;border-radius:10px;padding:12px 14px;font-size:13px;margin-top:14px;line-height:1.5}
.form-note{font-size:12.5px;color:var(--ink-3);margin-top:12px}
.error-text{color:#B42318;font-size:12.5px;margin-top:6px;display:none}
.field.invalid input,.field.invalid select{border-color:#F97066}
.field.invalid .error-text{display:block}
.json-preview{margin-top:18px;background:#0F1115;color:#D6DEEB;border-radius:12px;padding:16px;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:auto;max-height:320px;white-space:pre-wrap;word-break:break-word}
.result-banner{border-radius:12px;padding:15px 17px;margin-bottom:16px;font-size:14px}
.result-banner.demo{background:var(--amber-soft);color:var(--amber);border:1px solid #FEDF89}
/* v53：真实提交结果（成功 / 失败），替代原来的 JSON 预览 */
.result-banner.success{background:#ECFDF3;color:#027A48;border:1px solid #ABEFC6}
.result-banner.error{background:#FEF3F2;color:#B42318;border:1px solid #FECDCA}

/* how it works */
.step-num{width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.timeline{position:relative;max-width:700px}
.timeline::before{content:"";position:absolute;left:15px;top:16px;bottom:16px;width:2px;background:var(--line)}
.step{position:relative;padding-left:50px;margin-bottom:24px}
.step .step-num{position:absolute;left:0;top:0}
.step:last-child{margin-bottom:0}
.how-lines{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.how-line{border:1px solid var(--line);border-radius:12px;padding:18px}
.how-line h3{font-size:15px;margin-bottom:7px}
.how-line p{font-size:13px;color:var(--ink-2)}
.how-line.soon{background:var(--amber-soft);border-color:#FEDF89}

/* legal */
.prose{max-width:760px}
.prose h2{font-size:19px;margin:26px 0 9px}
.prose p,.prose li{color:var(--ink-2);font-size:14.5px;margin-bottom:9px}
.prose ul{padding-left:20px}
.placeholder{background:var(--amber-soft);border:1px solid #FEDF89;color:var(--amber);border-radius:12px;padding:15px 17px;margin-bottom:24px;font-size:14px}

/* footer */
.site-footer{background:var(--bg-soft);border-top:1px solid var(--line);margin-top:24px;padding:40px 0 40px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:30px}
.footer-brand{margin-bottom:12px}
.footer-note{font-size:12.5px;color:var(--ink-3);margin-top:8px}
.site-footer h4{font-size:12.5px;margin-bottom:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3)}
.site-footer a{display:block;font-size:13.5px;color:var(--ink-2);margin-bottom:8px}
.site-footer a:hover{color:var(--brand)}
.footer-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:28px;padding-top:18px;font-size:12.5px;color:var(--ink-3)}

/* mobile sticky CTA + toast */
.mobile-cta{display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
.mobile-cta .btn{width:100%}
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:11px 18px;border-radius:10px;font-size:13.5px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:60;max-width:min(90vw,420px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* v34 — "Back to filters" instead of freezing the filter rows.
   Fixed, but only visible after scrolling: zero space stolen while browsing.
   Lifted above the phone apply bar on brief pages. */
.back-to-top{position:fixed;right:20px;bottom:20px;z-index:45;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-2);font-size:13.5px;font-weight:620;box-shadow:0 6px 20px rgba(16,24,40,.16);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease,color .12s ease,border-color .12s ease}
.back-to-top.show{opacity:1;pointer-events:auto;transform:none}
.back-to-top:hover{border-color:var(--brand);color:var(--brand)}
.back-to-top svg{flex:none}
/* One brief flash marks WHERE the filters are after the jump back. */
.filter-flash{animation:filterFlash 1.4s ease-out}
@keyframes filterFlash{0%{box-shadow:0 0 0 3px rgba(91,75,239,.35)}70%{box-shadow:0 0 0 3px rgba(91,75,239,.16)}100%{box-shadow:0 0 0 3px rgba(91,75,239,0)}}

/* ---------- desktop: 5 products per row ----------
   v36: with the 1600px shell + 236px sidebar, each card is ~230-260px wide,
   so the copy can go back to readable sizes (the old 1120px shell forced
   9-10px text). Vertical cards keep the whole card as the click target. */
@media (min-width:961px){
  .product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
  .product-grid .product-card{flex-direction:column;gap:10px;padding:12px}
  .product-grid .thumb{width:100%;height:auto;aspect-ratio:1/1;flex:none;border-radius:8px}
  .product-grid .thumb img{object-fit:contain}
  .product-grid .p-body{min-height:0}
  .product-grid .product-name{font-size:14px;line-height:1.35;-webkit-line-clamp:2;min-height:38px;margin-bottom:5px}
  .product-grid .p-line-meta{font-size:11.5px;line-height:1.4;margin-bottom:5px}
  .product-grid .p-pay{font-size:12px;line-height:1.4;margin-bottom:6px}
  .product-grid .p-gate{padding:2px 0 5px}
  .product-grid .p-gate strong{font-size:11.5px}
  .product-grid .p-gate span{font-size:10.5px}
  .product-grid .p-foot{flex-direction:column;align-items:stretch;gap:6px;padding-top:9px;margin-top:auto}
  .product-grid .p-foot .btn{width:100%;min-height:34px;padding:6px 10px;font-size:12.5px}

  /* v47: back to ONE page scrollbar — the filter sidebar and the product
     list scroll TOGETHER like any normal page (user decision 2026-11-16;
     the v41 panes / v44 shell / v46 chaining experiments are all reverted).
     The v42/v43 results-bar layout (count left of search, sort right, wide
     search inside the bar) and the 8px tighter top are kept. */
  .board-section{padding:8px 0 24px}
  .results-bar{margin-bottom:12px;gap:16px;flex-wrap:wrap;justify-content:flex-start}
  /* v43: the count is immediately LEFT of the search; the auto margin keeps
     the sort control pinned to the far right instead of spreading three
     blocks evenly across the row. */
  .bar-actions{margin-left:auto}
  /* v42: the wide search sits INSIDE the results bar, sharing its row with
     the count and the sort control — no extra vertical row is consumed. */
  .results-search{display:flex;flex:1 1 380px;min-width:260px;max-width:560px}
  .results-search .search-input{width:100%;min-width:0}
  .results-bar .count-line{white-space:nowrap}
  .product-grid{padding:2px 2px 12px}
}
/* Narrow desktop (browser zoom 125% / window not maximised): still 5 across,
   just tighter, so ~175px cards stay readable instead of falling back to 2. */
@media (min-width:961px) and (max-width:1079px){
  .product-grid{gap:9px}
  .product-grid .product-card{padding:8px;gap:7px}
}

/* ---------- responsive: tablet / phone layout ---------- */
@media (max-width:960px){
  :root{--header-h:58px}
  .header-inner{min-height:58px;gap:10px}
  .main-nav{display:none}
  .lang-picker{display:none}
  /* v41 phone top bar: funnel LEFT, long search RIGHT. On the board the
     ShootGigs brand lockup is removed so the placeholder displays in full;
     other routes keep the wordmark and hide both browsing controls. */
  .header-search{display:none}
  body.on-list .header-search{display:flex;flex:1;min-width:0;align-items:stretch;margin-left:0;background:#fff;border:2px solid #232733;border-radius:10px;padding:0;color:var(--ink-3);overflow:hidden}
  body.on-list .header-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,75,239,.14)}
  .header-search .search-scope{padding:8px 22px 8px 10px;background-position:right 7px center;background-size:9px 5.5px;font-size:12.5px;max-width:130px;border-right:1px solid var(--line)}
  .header-search input{flex:1;min-width:0;width:100%;border:0;background:none;font-size:13.5px;color:var(--ink-2);outline:none;padding:9px 10px}
  .header-search input::placeholder{color:var(--ink-3);opacity:1}
  .header-search .search-go{width:40px}
  .header-actions #authSlot{display:none}
  body.on-list .brand{display:none}
  body.on-list .header-actions{display:none}
  .mobile-search{display:none}
  /* Home-page funnel: icon-only (40px) so the field keeps maximum width. */
  body.on-list .hd-filter-btn{display:inline-flex;position:relative;flex:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--brand);cursor:pointer}
  body.on-list .hd-filter-btn svg{flex:none}
  body.filters-open .hd-filter-btn{background:var(--brand-soft);border-color:var(--brand)}
  .hd-filter-badge{position:absolute;top:-6px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--brand);color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
  .hd-filter-badge[hidden]{display:none}
  /* phone: the header has no room for a picker, so it lives in the footer */
  .site-footer .footer-lang{display:block;padding:0 0 18px}
  .footer-lang label{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--ink-3)}
  .footer-lang select{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff;color:var(--ink-2);font-size:13px;max-width:180px}
  .header-actions{margin-left:auto}
  /* phone: show every tab at once instead of a clipped horizontal scroller */
  .type-tabs{position:static;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:10px 14px;margin:0 -14px}
  .type-tab{width:100%;min-width:0;justify-content:center;padding:9px 6px;font-size:12.5px}
  .chips{flex:1 1 100%;flex-wrap:wrap;overflow:visible}
  .category-row{margin:12px 0 0;padding-bottom:10px}
  .cat-chips{gap:7px}
  .chip{font-size:12.5px}
  .cat-chip{padding:8px 10px}
  .search-input{flex:1 1 100%;min-width:0}
  .product-grid{grid-template-columns:1fr}
  .how-lines{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:1fr}
  .detail-notes{margin-top:24px;padding:14px 16px 16px;border-radius:14px}
  .detail-notes h2{font-size:16px}
  .detail-notes p{font-size:14px;line-height:1.65}
  .side-card{position:static}
  /* the fixed bottom apply bar is a phone/tablet affordance only; on desktop
     the side card already carries the CTA, so never show a duplicate bar */
  body.has-detail-cta .mobile-cta{display:block}
  body.has-detail-cta .site-footer{padding-bottom:100px}
  /* v34 phone: a 44px round icon only. A labelled pill is ~125px wide on a
     390px screen and covered the card's View brief CTA — the exact browsing
     friction the freeze was rejected for. aria-label keeps it accessible. */
  .back-to-top{right:14px;bottom:14px;width:44px;height:44px;padding:0;justify-content:center;border-radius:50%}
  .back-to-top span{display:none}
  body.has-detail-cta .back-to-top{bottom:calc(82px + env(safe-area-inset-bottom))}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  section{padding:26px 0}
  .page-head{padding:24px 0 14px}
  .product-card{padding:12px;gap:12px}
  .thumb{width:76px;height:76px}
  .p-foot{flex-wrap:wrap}
  .p-foot .btn{flex:1}
  .field-row{grid-template-columns:1fr;gap:0}
  .form-card,.auth-card{padding:20px}
  .soon-panel{padding:18px}
  .detail-hero{flex-direction:column;align-items:flex-start;gap:12px}
  .detail-hero > div{width:100%}
  .detail-hero .thumb{width:100%;max-width:300px;height:auto;aspect-ratio:1/1}
  .detail-hero .h2{font-size:22px}
  .brief-row{flex-direction:column;gap:2px}
  .brief-row span:last-child{text-align:left}

  /* v41 phone: one full-width column of compact cards. The Home header
     funnel expands an inline filter sheet above the results — no separate
     Filters tab and no full-screen drawer. */
  .board-section{padding:0 0 28px}
  .board-wrap{padding:0}
  /* v38: search lives in the top bar; the old in-page row is retired. */
  /* v42: .results-search stays hidden here (base display:none) — phones keep
     exactly one search field, in the header. */
  .mobile-search .search-input{width:100%;min-width:0}
  .board-layout{display:block}
  .board-results{padding:0 12px}
  .results-bar{padding:8px 0;margin-bottom:8px;gap:8px}
  .results-bar .count-line{font-size:12px;margin-top:0}
  .results-bar .count-line strong{font-size:17px}
  .sort-wrap span{display:none}
  .sort-wrap select{max-width:132px;font-size:12px;padding:7px 8px}
  /* v41: no full-screen drawer, no 96px group rail and no empty right pane.
     The PC sidebar is retired on phones; one compact inline sheet shows ALL
     five groups at once in a two-column chip grid and scrolls internally. */
  .filter-sidebar{display:none}
  .filter-sheet{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 12px 10px;overflow:hidden;box-shadow:var(--shadow)}
  body.filters-open .filter-sheet{display:block}
  .fs-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}
  .fs-head strong{font-size:14px}
  .fs-actions{display:flex;align-items:center;gap:6px}
  .fs-clear,.fs-done{border:0;background:none;color:var(--brand);font-size:12px;font-weight:650;cursor:pointer;padding:6px 8px;border-radius:8px}
  .fs-clear:disabled{opacity:.4;cursor:default}
  .fs-done{background:var(--brand-soft);padding:6px 12px}
  .fs-body{max-height:min(62dvh,520px);overflow-y:auto;overscroll-behavior:contain;padding:2px 12px 12px}
  .fs-group{padding:10px 0;border-bottom:1px solid var(--line)}
  .fs-group:last-child{border-bottom:0}
  .fs-group h3{font-size:11.5px;font-weight:700;color:var(--ink);margin-bottom:8px}
  .fs-group .sb-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .fs-group .sb-option{min-height:38px;padding:6px 8px;gap:6px;background:var(--bg-soft);border:1px solid var(--line);border-radius:8px;font-size:12px}
  .fs-group .sb-option.active{background:var(--brand-soft);border-color:var(--brand)}
  .fs-group .sb-box{width:14px;height:14px}
  .fs-group .sb-option.active .sb-box::after{left:3px;top:0}
  .fs-group .sb-n{font-size:10px;padding:0 5px}
  /* v37 phone compact card: the full-width button made every card ~230px
     tall (2.5 cards per screen) and repeated a heavy shout on every card.
     The whole card is a link already, so the CTA becomes a plain brand
     text-link in the bottom-right corner; spacing tightens so one screen
     shows ~4 cards instead of 2.5. Desktop v33 card is untouched. */
  .product-grid{grid-template-columns:1fr;gap:8px}
  .product-card{padding:10px 12px;gap:10px;align-items:center}
  .thumb{width:96px;height:96px}
  .product-name{font-size:14.5px;margin-bottom:3px}
  .p-line-meta{font-size:11.5px;margin-bottom:2px}
  .p-pay{font-size:12.5px;margin-bottom:3px}
  .p-card-bottom{margin-top:2px}
  .p-gate{padding:0 0 2px;gap:1px}
  .p-gate strong{font-size:12px}
  .p-gate span{font-size:11px}
  .p-foot{margin-top:3px;padding-top:0;border-top:0;justify-content:flex-end}
  .p-foot .btn{width:auto;min-width:0;flex:none;min-height:0;background:none;border:0;box-shadow:none;color:var(--brand);font-weight:700;font-size:12.5px;padding:4px 0 2px}
  .p-foot .btn:hover{background:none;color:var(--brand-dark);border:0}

  /* v38 bottom tab bar (Amazon app pattern). Hidden on detail / apply-form /
     sign-in screens via body.no-tabbar; the filter drawer (z 90) covers it
     while open, and body.filters-open keeps the Filters key highlighted. */
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
  .tabbar .t-item{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0 7px;border:0;background:none;color:var(--ink-3);font-size:10.5px;font-weight:600;text-decoration:none;cursor:pointer;font-family:inherit}
  .tabbar .t-item.active{color:var(--brand)}
  .tabbar .t-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* active-filter count badge riding the Filters tab icon (v39) */
  .tabbar .t-badge{position:absolute;top:1px;left:50%;margin-left:2px;min-width:16px;height:16px;border-radius:999px;background:var(--brand);color:#fff;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;pointer-events:none}
  .tabbar .t-badge[hidden]{display:none}
  /* v41: no Filters tab — the header funnel carries the active state. */
  body.no-tabbar .tabbar{display:none}
  body:not(.has-detail-cta) .site-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  body:not(.has-detail-cta) .back-to-top{bottom:calc(66px + env(safe-area-inset-bottom))}
  /* v40 chat-bubble clearance lives in the index.html embed loader, NOT here:
     Tawk_API.customStyle.visibility.mobile sets yOffset (TAWK_CONFIG.mobileYOffset
     = 78px, clears the 56px tab bar + safe area) and position 'bl', so the bubble
     never overlaps the bottom-right "Back to filters" round button. A CSS
     !important override would FIGHT tawk's own inline offsets, so none here. */
  /* tab pages keep the page-head rhythm of the rest of the site */
  .tab-page-head{padding:18px 14px 6px;margin:0}
}
@media (max-width:420px){
  .wrap{padding:0 14px}
  .board-wrap{padding:0}
  .type-tabs{padding:9px 14px;margin:0 -14px}
  .type-tab{font-size:12px;padding:8px 4px;gap:5px}
  .type-tab .n{font-size:11px;padding:1px 5px}
  .chip{font-size:12px}
  .cat-chip{padding:8px 8px}
  .wordmark{font-size:16px}
  .brand-mark{width:30px;height:30px}
  .header-actions .btn-sm{padding:7px 10px;font-size:12.5px}
  .product-name{font-size:14px}
  .detail-listing-link,.detail-amazon-link{font-size:14px;margin-top:12px;padding:9px 14px;white-space:normal}
  .amazon-ico,.listing-ico{width:20px;height:20px}
  .thumb{width:88px;height:88px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
  .h1{font-size:28px}
}
.footer-lang{display:none}
/* German UI: contractual / rights / privacy wording stays in English.
   This notice is shown only while the DE interface is active. */
.legal-note{display:none;margin:14px 0 0;padding:10px 12px;border-radius:8px;background:var(--amber-soft);border:1px solid #FEDF89;color:var(--amber);font-size:12.5px;line-height:1.5}
html[lang="de-DE"] .legal-note{display:block}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
