/* =====================================================================
   BasicMobile — live auction catalog (/catalog).
   Builds on pages.css tokens. Concept: the lot tag — every card reads
   like the paper tag hung on a car at the yard: photo, a perforated
   stub with the lot number, sale clock and auction.
   ===================================================================== */
:root{
  --copart:#1d4fbf; --iaai:#c8102e; --soon:#b42335;
  --stub:#f7f8fa; --card-r:10px; --side:292px;
}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;background:var(--ink);color:#fff;padding:10px 14px;border-radius:var(--r-sm)}
.skip-link:focus{left:8px}
body.page-catalog{background:var(--paper)}

/* ------------------------------------------------------------ head */
.cat-head{padding-top:clamp(24px,3.2vw,44px);padding-bottom:clamp(20px,2.6vw,36px)}
.cat-live{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 14px;color:var(--ink-2);font-size:var(--t-sm);font-weight:500}
.cat-live-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 rgba(19,122,85,.45);animation:cat-pulse 2.4s ease-out infinite}
@keyframes cat-pulse{0%{box-shadow:0 0 0 0 rgba(19,122,85,.45)}70%{box-shadow:0 0 0 9px rgba(19,122,85,0)}100%{box-shadow:0 0 0 0 rgba(19,122,85,0)}}
.cat-updated{color:var(--muted);font-weight:400}
.cat-updated:not(:empty)::before{content:"";display:inline-block;width:1px;height:12px;background:var(--line-2);margin-right:10px;vertical-align:-1px}
.cat-title{max-width:20ch;font:600 clamp(34px,3.9vw,54px)/1.04 var(--serif);letter-spacing:-.024em;color:var(--ink);text-wrap:balance}

/* The sentence filter: the page's one bold move. Real selects, styled as blanks on a form. */
.cat-sentence{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:clamp(18px,2.2vw,28px);max-width:1180px;font:500 clamp(21px,1.85vw,27px)/1.5 var(--serif);color:var(--ink-2);letter-spacing:-.01em}
.cat-sentence .tok{position:relative;display:inline-flex}
.cat-sentence select{appearance:none;-webkit-appearance:none;border:0;border-bottom:2px solid var(--accent);border-radius:0;background:transparent;padding:0 26px 2px 2px;font:600 1em/1.3 var(--serif);color:var(--accent);cursor:pointer;max-width:min(78vw,420px);text-overflow:ellipsis}
.cat-sentence .tok::after{content:"";position:absolute;right:6px;top:50%;width:8px;height:8px;margin-top:-7px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);pointer-events:none}
.cat-sentence select:hover{color:var(--accent-ink);border-color:var(--accent-ink)}
.cat-sentence select:focus-visible{outline:3px solid rgba(22,88,214,.35);outline-offset:4px}
.cat-sentence select option{font-family:var(--sans);font-size:16px;color:var(--ink)}

@media (min-width:1101px){.cat-sentence:not(.wraps){flex-wrap:nowrap;white-space:nowrap}}

/* ------------------------------------------------------------ layout */
.cat-layout{display:grid;grid-template-columns:var(--side) minmax(0,1fr);gap:clamp(24px,3vw,44px);align-items:start;padding-bottom:clamp(64px,7vw,104px)}

/* ------------------------------------------------------------ filters */
.cat-filters{position:sticky;top:calc(var(--shell-h) + 16px);max-height:calc(100vh - var(--shell-h) - 32px);display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--card-r);background:var(--paper)}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 12px;border-bottom:1px solid var(--line)}
.sheet-head h2{font:600 var(--t-lg)/1.2 var(--serif)}
.sheet-close{display:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--mist);place-items:center}
.sheet-close svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.sheet-body{overflow:auto;padding:4px 18px 18px;overscroll-behavior:contain;scrollbar-width:thin}
.sheet-foot{display:none}
.f-group{border:0;margin:0;padding:16px 0 0;min-width:0}
.f-group + .f-group{border-top:1px solid var(--mist-2);margin-top:16px}
.f-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.f-two + .f-two,.f-group.f-two{border-top:0;margin-top:0}
.f-label{display:block;padding:0;margin:0 0 6px;color:var(--ink);font:600 14px/1.3 var(--sans)}
.f-label-row{display:flex;align-items:baseline;justify-content:space-between}
.f-out{font:600 15px/1 var(--sans);color:var(--accent);font-variant-numeric:tabular-nums}
.f-input{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line-2);border-radius:var(--r-md);background:#fff;color:var(--ink);font:400 16px/1.3 var(--sans)}
select.f-input{appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 16px) 19px,calc(100% - 11px) 19px;background-size:5px 5px;background-repeat:no-repeat}
.f-input:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(22,88,214,.16)}
.f-input:disabled{background-color:var(--mist);color:var(--muted)}
.f-range{width:100%;margin:8px 0 2px;accent-color:var(--accent);height:28px}
.f-toggles{display:grid;gap:4px}
.f-switch{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;padding:8px 0;cursor:pointer}
.f-switch input{appearance:none;-webkit-appearance:none;margin:0;width:40px;height:24px;border-radius:999px;background:var(--line-2);position:relative;cursor:pointer;transition:background-color .18s}
.f-switch input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(14,28,54,.3);transition:transform .18s}
.f-switch input:checked{background:var(--accent)}
.f-switch input:checked::after{transform:translateX(16px)}
.f-switch b{display:block;color:var(--ink);font-size:15px;font-weight:600;line-height:1.25}
.f-switch small{display:block;color:var(--muted);font-size:13px;line-height:1.35}
.f-seg{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;border-radius:var(--r-md);background:var(--mist)}
.f-seg label{position:relative}
.f-seg input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.f-seg span{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:4px;font-size:14px;font-weight:600;color:var(--ink-2)}
.f-seg input:checked + span{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(14,28,54,.12)}
.f-seg input:focus-visible + span{outline:3px solid var(--accent);outline-offset:1px}
.f-checks{display:grid;gap:0}
.f-check{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;min-height:36px;cursor:pointer;font-size:15px;color:var(--ink-2)}
.f-check input{width:18px;height:18px;margin:0;accent-color:var(--accent)}
.f-check em{font-style:normal;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.f-states{grid-template-columns:1fr 1fr;column-gap:12px;max-height:228px;overflow:auto;padding-right:4px}
.f-states .f-check{grid-template-columns:20px 1fr auto;gap:8px}
.f-more{justify-self:start;margin-top:4px;padding:6px 0;border:0;background:none;color:var(--accent);font-weight:600;font-size:14px}
.f-note{margin-top:18px;padding:10px 12px;border-radius:var(--r-md);background:var(--mist);color:var(--muted);font-size:13px;line-height:1.45}

/* ------------------------------------------------------------ results bar */
.cat-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.cat-count{color:var(--ink);font:600 var(--t-lg)/1.2 var(--serif);font-variant-numeric:lining-nums tabular-nums}
.cat-count small{display:block;margin-top:2px;font:400 14px/1.3 var(--sans);color:var(--muted)}
.cat-sort{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;font-weight:500}
.cat-sort select{appearance:none;min-height:42px;padding:0 34px 0 12px;border:1px solid var(--line-2);border-radius:var(--r-md);background:#fff linear-gradient(45deg,transparent 50%,var(--muted) 50%) calc(100% - 17px) 18px/5px 5px no-repeat;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 17px) 18px,calc(100% - 12px) 18px;background-size:5px 5px;background-repeat:no-repeat;color:var(--ink);font:600 15px/1 var(--sans)}
.cat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.cat-chips:empty{display:none}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 8px 0 12px;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:500}
.chip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.chip:hover{border-color:var(--ink)}
.chip-clear{border-color:transparent;color:var(--accent);font-weight:600;padding:0 10px}

/* ------------------------------------------------------------ grid + lot tag cards */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:clamp(16px,1.8vw,24px);margin-top:18px}
.car{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--card-r);background:var(--paper);overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.car:hover{border-color:var(--line-2);box-shadow:var(--shadow)}
.car:focus-within{border-color:var(--accent)}
.car-link{position:absolute;inset:0;z-index:2;border-radius:var(--card-r)}
.car-link:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.car-photo{position:relative;aspect-ratio:4/3;background:var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath d='M6 22h52M12 22l5-9h24l9 9M18 22a4 4 0 1 0 8 0M40 22a4 4 0 1 0 8 0' fill='none' stroke='%23c3ccd9' stroke-width='2'/%3E%3C/svg%3E") center/64px no-repeat;overflow:hidden}
.car-photo img{width:100%;height:100%;object-fit:cover;transition:opacity .25s}
.car-photo img.alt{position:absolute;inset:0;opacity:0}
.car:hover .car-photo img.alt.ready{opacity:1}
.car-badges{position:absolute;left:10px;right:10px;top:10px;display:flex;justify-content:space-between;gap:6px;pointer-events:none}
.badge{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--ink);font:600 12.5px/1 var(--sans);box-shadow:0 1px 2px rgba(14,28,54,.18)}
.badge i{width:7px;height:7px;border-radius:50%;background:var(--copart)}
.badge.iaai i{background:var(--iaai)}
.badge.runs{background:var(--ok);color:#fff}
.badge.runs svg{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.car-main{display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px}
.car-name{font:600 19px/1.22 var(--serif);color:var(--ink);letter-spacing:-.01em}
.car-name span{display:block;font:500 14px/1.35 var(--sans);color:var(--muted);letter-spacing:0;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.car-price{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.car-price strong{font:650 24px/1 var(--serif);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.01em}
.car-price em{font-style:normal;font-size:13px;font-weight:600;color:var(--ok)}
.car-price em.bid{color:var(--muted)}
.car-specs{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0;font-size:13.5px;line-height:1.35}
.car-specs div{min-width:0}
.car-specs dt{color:var(--muted);font-size:12px}
.car-specs dd{margin:0;color:var(--ink);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.car-specs dd.clean{color:var(--ok)}
/* last row: location + sale clock, same white surface */
.car-stub{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:0 16px 16px;font-size:13.5px;color:var(--muted)}
.car-where{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.car-where svg{flex:none;width:14px;height:14px;fill:none;stroke:var(--muted);stroke-width:2}
.car-clock{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:var(--mist);color:var(--ink-2);font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.car-clock.soon{background:var(--err-soft);color:var(--soon)}
/* in-grid explainer tile */
.how-tile{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 2fr;gap:24px;align-items:center;padding:clamp(20px,2.4vw,30px);border-radius:var(--card-r);background:var(--ink);color:rgba(255,255,255,.78)}
.how-tile h3{color:#fff;font:600 clamp(22px,2vw,27px)/1.18 var(--serif);letter-spacing:-.01em}
.how-tile h3 + p{margin-top:8px;font-size:15px}
.how-tile ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:how}
.how-tile li{counter-increment:how;padding-top:12px;border-top:1px solid var(--navy-line);font-size:14.5px;line-height:1.45}
.how-tile li::before{content:counter(how);display:block;font:600 22px/1 var(--serif);color:#9db8f5;margin-bottom:8px}
.how-tile li b{display:block;color:#fff;font-weight:600;margin-bottom:2px}
.how-tile .how-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.how-tile .btn{min-height:44px}
.how-tile .btn-ghost{color:#fff;border-color:var(--navy-line)}
.how-tile .btn-ghost:hover{border-color:#fff;color:#fff}
/* skeleton */
.car.skel{pointer-events:none}
.skel .car-photo,.skel-line{background:linear-gradient(90deg,var(--mist) 0,var(--mist-2) 40%,var(--mist) 80%) 0 0/200% 100%;animation:skel 1.3s linear infinite}
.skel-line{height:14px;border-radius:4px}
.skel-line.w60{width:60%}.skel-line.w40{width:40%;height:22px}.skel-line.w80{width:80%}
@keyframes skel{to{background-position:-200% 0}}
/* empty */
.cat-empty{margin-top:18px;padding:clamp(28px,4vw,48px);border:1px dashed var(--line-2);border-radius:var(--card-r);text-align:left}
.cat-empty h3{font:600 var(--t-xl)/1.2 var(--serif)}
.cat-empty p{margin-top:8px;color:var(--muted);max-width:56ch}
.cat-empty .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.cat-more{display:flex;flex-direction:column;align-items:center;margin-top:28px}
#cat-sentinel{height:1px;width:100%}

/* ------------------------------------------------------------ mobile filter button */
.cat-fab{display:none}
.cat-scrim{position:fixed;inset:0;z-index:70;background:rgba(14,28,54,.45);opacity:0;transition:opacity .25s}
.cat-scrim.show{opacity:1}

/* ------------------------------------------------------------ lot drawer */
.lot{position:fixed;inset:0;z-index:120}
.lot-scrim{position:absolute;inset:0;background:rgba(14,28,54,.5);opacity:0;transition:opacity .28s}
.lot.open .lot-scrim{opacity:1}
.lot-panel{position:absolute;top:0;right:0;bottom:0;width:min(860px,100%);display:flex;flex-direction:column;background:var(--paper);box-shadow:-20px 0 60px -20px rgba(14,28,54,.35);transform:translateX(40px);opacity:0;transition:transform .32s cubic-bezier(.2,.7,.2,1),opacity .24s;outline:0}
.lot.open .lot-panel{transform:none;opacity:1}
.lot-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-bottom:1px solid var(--line)}
.lot-top button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:var(--r-md);background:none;color:var(--ink);font-weight:600;font-size:15px}
.lot-top button:hover{background:var(--mist)}
.lot-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lot-body{flex:1;overflow:auto;overscroll-behavior:contain}
.gal{position:relative;background:#0e1c36}
.gal-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/3;max-height:60vh}
.gal-track::-webkit-scrollbar{display:none}
.gal-track img{flex:0 0 100%;width:100%;height:100%;object-fit:contain;scroll-snap-align:center;background:#0e1c36}
.gal-nav{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border:0;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.gal-nav svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gal-prev{left:12px}.gal-next{right:12px}
.gal-count{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:999px;background:rgba(14,28,54,.75);color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.gal-more{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.gal-more svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}.gal-more:hover{background:rgba(14,28,54,.9)}
.gal-thumbs{display:flex;gap:6px;padding:8px 16px;overflow-x:auto;scrollbar-width:thin;background:var(--mist)}
.gal-thumbs button{flex:none;width:72px;height:54px;padding:0;border:2px solid transparent;border-radius:4px;overflow:hidden;background:var(--mist-2)}
.gal-thumbs button[aria-current="true"]{border-color:var(--accent)}
.gal-thumbs img{width:100%;height:100%;object-fit:cover}
.lot-info{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:22px 24px 32px}
.lot-kicker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.lot-kicker .badge{box-shadow:none;border:1px solid var(--line)}
.lot-title{font:600 clamp(26px,3vw,36px)/1.1 var(--serif);letter-spacing:-.02em;color:var(--ink)}
.lot-sub{margin-top:6px;color:var(--muted);font-size:15px}
.lot-specs{margin:22px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.lot-specs div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--mist-2);font-size:15px}
.lot-specs dt{color:var(--muted)}
.lot-specs dd{margin:0;color:var(--ink);font-weight:500;text-align:right}
.lot-h{margin:26px 0 10px;font:600 var(--t-lg)/1.25 var(--serif);color:var(--ink)}
.lot-dmg{margin:0;display:grid;gap:10px}
.lot-dmg div{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--mist-2);border-radius:12px;background:var(--paper,transparent)}
.lot-dmg dt{font-weight:600;color:var(--ink);font-size:15px}
.lot-dmg dd{margin:0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.lot-note{font-size:15px;line-height:1.6;color:var(--ink-2)}
.lot-buy{position:sticky;top:16px;align-self:start;padding:18px;border:1px solid var(--line-2);border-radius:var(--card-r);background:var(--paper)}
.lot-buy .lbl{color:var(--muted);font-size:13.5px;font-weight:500}
.lot-buy .big{display:block;margin-top:2px;font:650 34px/1.05 var(--serif);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.015em}
.lot-buy .fine{margin-top:8px;color:var(--muted);font-size:13.5px;line-height:1.5}
.lot-est{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.lot-est-h{margin:0 0 6px;font:600 14px/1.3 var(--sans);color:var(--ink)}
.lot-est dl{margin:0}
.lot-est dl div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:13.5px;line-height:1.4}
.lot-est dt{color:var(--muted)}
.lot-est dd{margin:0;color:var(--ink-2);font-weight:500;text-align:right;font-variant-numeric:lining-nums tabular-nums}
.lot-est .tot{margin-top:4px;padding-top:8px;border-top:1px solid var(--mist-2)}
.lot-est .tot dt,.lot-est .tot dd{color:var(--ink);font-weight:700}
.lot-est-note{margin-top:8px;color:var(--muted);font-size:12.5px;line-height:1.5}
.lot-clock{display:flex;justify-content:space-between;gap:10px;margin:14px 0;padding:10px 12px;border-radius:var(--r-md);background:var(--mist);font-size:14px}
.lot-clock b{font-variant-numeric:tabular-nums;color:var(--ink)}
.lot-clock b.soon{color:var(--soon)}
.lot-ctas{display:grid;gap:8px}
.lot-ctas .btn{width:100%}
.lot-ctas .btn svg{width:18px;height:18px}
.btn-wa svg{fill:#fff}
.btn-ext svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lot-trust{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.5}
.lot-similar{padding:0 24px 32px}
.lot-similar .cat-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:10px}
.lot-similar .car-specs,.lot-similar .car-stub{display:none}
.lot-similar .car-name{font-size:16px}
.lot-similar .car-price strong{font-size:19px}
/* Live check found the car gone: calm notice at the top of the drawer, CTA off, price dimmed. */
.lot-sold{display:flex;align-items:center;gap:10px;padding:14px 24px;background:var(--mist);border-bottom:1px solid var(--line);color:var(--ink);font-size:15px;font-weight:600;line-height:1.4}
.lot-sold svg{flex:none;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lot-buy.is-gone .lbl,.lot-buy.is-gone .big,.lot-buy.is-gone .fine{opacity:.45}
.lot-ctas .btn.is-disabled,.lot-dock .btn.is-disabled{opacity:.4;cursor:not-allowed;pointer-events:none}
.lot-missing{padding:48px 24px}
.lot-missing h2{font:600 var(--t-xl)/1.2 var(--serif)}
.lot-missing p{margin:8px 0 18px;color:var(--muted)}
html.lot-open{overflow:hidden}

/* ------------------------------------------------------------ responsive */
@media (max-width:1100px){:root{--side:260px}.how-tile{grid-template-columns:1fr}.lot-info{grid-template-columns:1fr}.lot-buy{position:static}}
@media (max-width:900px){
  .cat-layout{grid-template-columns:1fr}
  .cat-filters{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:80;max-height:88dvh;border-radius:16px 16px 0 0;border:0;box-shadow:0 -12px 40px -12px rgba(14,28,54,.35);transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.7,.2,1);visibility:hidden}
  .cat-filters.open{transform:none;visibility:visible}
  .sheet-head{padding:10px 16px 10px 18px}
  .sheet-head::before{content:"";position:absolute;left:50%;top:6px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--line-2)}
  .sheet-close{display:grid}
  .sheet-foot{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
  .cat-fab{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:75;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:0 22px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:600 16px/1 var(--sans);box-shadow:0 10px 30px -8px rgba(14,28,54,.55)}
  .cat-fab svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
  .cat-fab b{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent);display:grid;place-items:center;font-size:13px}
  html.sheet-open{overflow:hidden}
  html.sheet-open .cat-fab,html.lot-open .cat-fab{visibility:hidden}
  .lot-panel{width:100%;transform:translateY(24px)}
  .lot-info{padding:18px 16px 24px;gap:20px}
  .lot-sold{padding:12px 16px}
  .lot-specs{grid-template-columns:1fr}
  .lot-similar{padding:0 16px 96px}
  .cat-more{margin-bottom:64px}
}
@media (max-width:600px){
  .cat-updated{flex-basis:100%;padding-left:18px}
  .cat-updated:not(:empty)::before{display:none}
  .cat-title{font-size:clamp(30px,8.6vw,38px)}
  .cat-sentence{font-size:21px;gap:2px 8px}
  .cat-grid{grid-template-columns:1fr}
  .cat-sort select{max-width:200px}
  .cat-sort span{display:none}
  .how-tile ol{grid-template-columns:1fr}
  .lot-top{padding:6px 8px}
  .gal-nav{display:none}
  .lot-similar .cat-grid{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  .cat-live-dot,.skel .car-photo,.skel-line{animation:none}
  .car,.lot-panel,.lot-scrim,.cat-filters,.cat-scrim{transition:none}
}

/* fieldset legends: keep them inside the group, not on its border */
fieldset.f-group > legend.f-label{float:left;width:100%}
fieldset.f-group > legend.f-label + *{clear:both}
/* mobile lot: price + CTAs first, sticky WhatsApp dock */
.lot-dock{display:none}
@media (max-width:900px){
  .lot-buy{order:-1}
  .lot-info > div:first-child{display:contents}
  .lot-info{row-gap:0}
  .lot-kicker{margin-bottom:10px}
  .lot-buy{margin-top:18px}
  .lot-kicker,.lot-title,.lot-sub{order:-2}
  .lot-similar{padding-bottom:24px}
}

.car-specs dd.warn{color:var(--warn)}
.lot-specs dd.clean{color:var(--ok)}
@media (max-width:900px){
  .cat-fab{min-height:44px;padding:0 18px;font-size:15px;box-shadow:0 0 0 6px rgba(255,255,255,.9),0 10px 28px -8px rgba(14,28,54,.55);transition:transform .25s,opacity .25s}
  .cat-fab.away{transform:translate(-50%,90px);opacity:0}
  .cat-results{padding-bottom:72px}
}
/* phones: the sentence becomes a compact row of pill selects */
@media (max-width:600px){
  .cat-sentence{flex-wrap:nowrap;gap:8px;overflow-x:auto;margin:16px calc(-1 * var(--gutter)) 0;padding:2px var(--gutter) 6px;font:600 15px/1 var(--sans);scrollbar-width:none}
  .cat-sentence::-webkit-scrollbar{display:none}
  .cat-sentence > span:not(.measure){display:none}
  .cat-sentence .tok{flex:none}
  .cat-sentence select{height:40px;padding:0 30px 0 14px;border:1px solid var(--line-2);border-radius:999px;background:#fff;font:600 15px/1 var(--sans);color:var(--ink);max-width:70vw}
  .cat-sentence select:hover{color:var(--ink)}
  .cat-sentence .tok::after{right:13px;width:6px;height:6px;margin-top:-5px;border-color:var(--muted);border-width:0 1.6px 1.6px 0}
}
@media (prefers-reduced-motion:reduce){.cat-fab{transition:none}}

/* ------------------------------------------------------------ v2: hero board, auction switch, price label, gallery stage */
@media (min-width:1101px){
  .cat-head{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:56px;align-items:start}
  .cat-board{margin-top:4px}
}
.cat-board{padding:18px 20px 16px;border:1px solid var(--line);border-radius:var(--card-r);background:var(--paper)}
.cat-board-h{margin:0 0 6px;font:600 14px/1.3 var(--sans);color:var(--ink)}
.cat-board dl{margin:0}
.cat-board dl div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--mist-2)}
.cat-board dl div:last-child{border-bottom:0}
.cat-board dt{color:var(--muted);font-size:14px}
.cat-board dd{margin:0;font:600 20px/1 var(--serif);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.cat-board-note{margin-top:8px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12.5px;line-height:1.45}
@media (max-width:1100px){.cat-board{display:none!important}}

.auc-switch{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:560px;padding:4px;margin:0 0 18px;border-radius:12px;background:var(--mist);isolation:isolate}
.auc-ind{position:absolute;z-index:-1;top:4px;bottom:4px;left:0;width:0;border-radius:9px;background:var(--ink);box-shadow:0 6px 16px -8px rgba(14,28,54,.6);transition:transform .32s cubic-bezier(.2,.7,.2,1),width .32s cubic-bezier(.2,.7,.2,1)}
.auc-switch button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--ink);font:600 15px/1 var(--sans);transition:color .2s}
.auc-switch button:hover:not([aria-checked="true"]){background:rgba(14,28,54,.05)}
.auc-switch button:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.auc-switch button[aria-checked="true"]{color:#fff}
.auc-n{font:500 13px/1 var(--sans);color:var(--muted);font-variant-numeric:tabular-nums;transition:color .2s}
.auc-switch button[aria-checked="true"] .auc-n{color:rgba(255,255,255,.72)}
.auc-logo{display:block;height:24px;background-color:var(--ink);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat;transition:background-color .2s}
.auc-copart{width:63px;--m:url("images/catalog-copart-mark.png")}
.auc-iaa{width:38px;--m:url("images/catalog-iaa-mark.png")}
.auc-switch button[aria-checked="true"] .auc-logo{background-color:#fff}
@media (max-width:600px){
  .auc-switch{max-width:none;margin-bottom:14px}
  .auc-switch button{flex-direction:column;gap:5px;min-height:58px}
  .auc-logo{height:20px}.auc-copart{width:53px}.auc-iaa{width:32px}
  .auc-all{font-size:14px}
}
@media (prefers-reduced-motion:reduce){.auc-ind{transition:none}}

.car-price{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px}
.car-price em{font-size:12.5px;line-height:1}

.gal{background:var(--mist)}
.gal-track{width:min(100%,calc(62vh * 4 / 3));margin:0 auto;max-height:none;background:#0e1c36}
/* CTA labels stay on one line in narrow columns */
.how-tile .how-cta .btn,.lot-drawer .btn,.lot-dock .btn,[class*="lot-"] .btn-primary{white-space:nowrap}
@media (min-width:1025px) and (max-width:1240px){.how-tile .how-cta .btn,[class*="lot-"] .btn-primary{font-size:15px;padding-left:14px;padding-right:14px}}
.how-tile h3,.how-tile p,.how-tile li{text-wrap:balance}
.how-tile li b{white-space:nowrap}
/* Card titles: year + make on one line, no "Mercedes-/Benz" breaks */
.car-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lot-similar .car-name{font-size:15px}
/* "Every car runs and drives" promise under the catalog title */
.cat-rd{display:inline-flex;align-items:center;gap:12px;margin:18px 0 6px;padding:10px 18px 10px 10px;border-radius:999px;background:#e9f7ef;border:1px solid #bfe6cf;color:#0f5132}
.cat-rd-ic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15824c;color:#fff;flex:none;box-shadow:0 4px 12px rgba(21,130,76,.35)}
.cat-rd b{display:block;font:600 17px/1.2 var(--sans,inherit);color:#0f5132}
.cat-rd small{display:block;font:500 13px/1.3 var(--sans,inherit);color:#2d6a4f;margin-top:2px}
@media (max-width:600px){.cat-rd{margin:14px 0 4px;padding:8px 14px 8px 8px;gap:10px}.cat-rd b{font-size:15px}.cat-rd small{font-size:12px}.cat-rd-ic{width:30px;height:30px}}


/* =====================================================================
   Mobile catalog (phones <=600px): sticky filter bar, picker sheets, chips,
   endless scroll, full-screen lot sheet. Desktop keeps the sentence + sidebar.
   ===================================================================== */
html.scroll-lock{overflow:hidden;overscroll-behavior:none}
html.scroll-lock body{overscroll-behavior:none}
.pk-scrim,.lot-scrim,.cat-scrim{touch-action:none}
.cat-grid.is-loading{opacity:.55;pointer-events:none;transition:opacity .15s}
/* below-the-fold cards are skipped by the renderer until they scroll near */
.cat-grid > .car:nth-child(n+9){content-visibility:auto;contain-intrinsic-size:auto 520px}
.mbar,.mbar-sentinel,.cat-clear{display:none}
.cat-clear[hidden]{display:none!important}

/* picker sheets (make / model / budget), built on first use */
.pk{position:fixed;inset:0;z-index:90}
.pk[hidden]{display:none}
.pk-scrim{position:absolute;inset:0;background:rgba(14,28,54,.45);opacity:0;transition:opacity .25s}
.pk.open .pk-scrim{opacity:1}
.pk-panel{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;max-height:92dvh;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -12px 40px -12px rgba(14,28,54,.35);transform:translate3d(0,105%,0);transition:transform .3s cubic-bezier(.2,.7,.2,1);outline:0;padding-bottom:env(safe-area-inset-bottom);will-change:transform}
.pk-panel.tall{height:88dvh}
.pk.open .pk-panel{transform:none}
.pk-head{position:relative;display:flex;align-items:center;gap:4px;min-height:72px;padding:18px 8px 8px 18px;touch-action:none}
.pk-head::before{content:"";position:absolute;left:50%;top:7px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--line-2)}
.pk-head h2{flex:1;min-width:0;font:600 21px/1.15 var(--serif);letter-spacing:-.01em}
.pk-head h2 small{display:block;margin-top:2px;font:500 13px/1.2 var(--sans);color:var(--muted);letter-spacing:0}
.pk-back,.pk-close{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--mist);color:var(--ink)}
.pk-back{margin-left:-10px;margin-right:4px}
.pk-back svg,.pk-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pk-clear{flex:none;min-height:44px;padding:0 12px;border:0;background:none;color:var(--accent);font:600 15px/1 var(--sans)}
.pk-search{padding:2px 16px 10px}
.pk-search input{min-height:48px}
.pk-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 16px 20px}
.pk-h{margin:12px 0 10px;font:600 14px/1.3 var(--sans);color:var(--ink)}
.pk-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:6px}
.pk-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:62px;padding:6px 4px;border:1px solid var(--line-2);border-radius:var(--card-r);background:#fff;color:var(--ink);text-align:center}
.pk-tile b{font:600 14.5px/1.15 var(--sans);overflow-wrap:anywhere}
.pk-tile small{font:500 12px/1 var(--sans);color:var(--muted);font-variant-numeric:tabular-nums}
.pk-tile.on{background:var(--ink);border-color:var(--ink);color:#fff}
.pk-tile.on small{color:rgba(255,255,255,.72)}
.pk-letter{position:sticky;top:0;z-index:1;margin:0 -16px;padding:6px 16px;background:var(--mist);color:var(--muted);font:600 13px/1.4 var(--sans)}
.pk-row{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:0 2px;border:0;border-bottom:1px solid var(--mist-2);background:none;color:var(--ink);font:500 16px/1.2 var(--sans);text-align:left}
.pk-row span{flex:1;min-width:0}
.pk-row em{font-style:normal;color:var(--muted);font-size:13.5px;font-variant-numeric:tabular-nums}
.pk-row svg{flex:none;width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.pk-row.on{color:var(--accent-ink);font-weight:600}
.pk-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0 20px}
.pk-chip{min-height:56px;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--ink);font:600 17px/1 var(--sans);font-variant-numeric:tabular-nums}
.pk-chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.pk-skel{height:52px;margin:8px 0;border-radius:8px;background:linear-gradient(90deg,var(--mist) 0,var(--mist-2) 40%,var(--mist) 80%) 0 0/200% 100%;animation:skel 1.3s linear infinite}
.pk-none{padding:24px 2px;color:var(--muted)}
.pk button:active,.mbar button:active,.qc:active{transform:scale(.98)}

@media (max-width:900px){.cat-layout{grid-template-columns:minmax(0,1fr)}.cat-results{min-width:0}}
@media (max-width:600px){
  .cat-sentence{display:none}
  .cat-head{padding-bottom:6px}
  .cat-updated{min-height:1.45em}
  .cat-fab{display:none}
  .f-ph-hide{display:none}
  .auc-switch{display:none}
  .cat-results{display:flex;flex-direction:column;padding-bottom:0}
  .mbar-sentinel{display:block;order:0;height:1px;margin-bottom:-1px}
  .mbar{order:0;display:flex;align-items:center;gap:8px;position:sticky;top:var(--shell-h);z-index:55;margin:0 calc(-1 * var(--gutter));padding:8px var(--gutter);background:rgba(255,255,255,.98);border-bottom:1px solid transparent;transition:border-color .15s,box-shadow .15s}
  .mbar.stuck{border-bottom-color:var(--line);box-shadow:0 8px 16px -14px rgba(14,28,54,.45)}
  .mb-btn{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:2px;height:44px;padding:0 10px 0 13px;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--ink-2);font:600 14px/1 var(--sans);-webkit-tap-highlight-color:transparent}
  .mb-btn:nth-child(-n+2){flex-grow:1.25}
  .mb-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mb-chev{display:none;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .mb-btn.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-ink)}
  .mb-btn.dim{background:var(--mist);color:var(--muted);border-color:var(--line)}
  .mb-filt{flex:none;width:46px;justify-content:center;padding:0;color:var(--ink)}
  .mb-filt svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mb-ft{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .mb-filt b{position:absolute;top:-5px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;display:grid;place-items:center;font:600 12px/1 var(--sans)}
  .mb-filt b[hidden]{display:none}
  .cat-chips{order:1;display:flex;flex-wrap:nowrap;gap:8px;margin:0 calc(-1 * var(--gutter));padding:6px var(--gutter) 4px;min-height:54px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .cat-chips::-webkit-scrollbar{display:none}
  .cat-chips:empty{display:flex}
  .cat-chips .chip{flex:none;min-height:44px;padding:0 10px 0 15px;font-size:14.5px;white-space:nowrap}
  .cat-chips .qc{padding:0 16px;font-weight:600}
  .qc.on{background:var(--ink);border-color:var(--ink);color:#fff}
  .qc:not(.on):hover{border-color:var(--line-2)}
  .cat-bar{order:2;min-height:56px;margin-top:2px;gap:8px}
  .cat-count{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;font-size:19px}
  .cat-count small{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cat-clear{display:inline-flex;align-items:center;flex:none;min-height:44px;padding:0 6px;border:0;background:none;color:var(--accent);font:600 14.5px/1 var(--sans);white-space:nowrap}
  .cat-sort{flex:0 1 150px;min-width:112px}
  .cat-sort select{width:100%;min-height:44px;max-width:none;font-size:14.5px;text-overflow:ellipsis}
  .cat-grid{order:3;margin-top:8px}
  .cat-empty{order:4}
  .cat-more{order:5;margin-bottom:24px}
  .cat-more .btn{min-height:48px}
  .cat-grid > .car:nth-child(n+9){contain-intrinsic-size:auto 560px}
}
@media (min-width:400px) and (max-width:600px){
  .mb-chev{display:block}
  .mb-btn{padding:0 8px 0 14px}
}
@media (min-width:480px) and (max-width:600px){
  .mb-filt{width:auto;padding:0 14px;gap:8px}
  .mb-ft{position:static;width:auto;height:auto;overflow:visible;clip:auto}
}

/* lot sheet: full screen on phones/tablets, swipe down to close, sticky CTA bar that never covers content */
@media (max-width:900px){
  .lot-panel{top:0;bottom:0;width:100%;transform:translate3d(0,100%,0);opacity:1;box-shadow:none;transition:transform .32s cubic-bezier(.2,.7,.2,1);will-change:transform}
  .lot.open .lot-panel{transform:none}
  .lot-top{position:relative;padding:max(12px,env(safe-area-inset-top)) 8px 4px;touch-action:none}
  .lot-top::before{content:"";position:absolute;left:50%;top:6px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--line-2)}
  .lot-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .lot-dock{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -10px 24px -14px rgba(14,28,54,.3)}
  .lot-dock[hidden]{display:none}
  .lot-dock .btn{min-height:50px;padding:0 16px;font-size:15px;white-space:nowrap}
  .lot-dock .btn svg{width:20px;height:20px}
  .lot-ctas .btn-wa,.lot-ctas .btn-primary{display:none}
  .lot-similar{padding-bottom:20px}
}
@media (prefers-reduced-motion:reduce){.pk-panel,.pk-scrim,.lot-panel,.mbar{transition:none}.pk-skel{animation:none}}

/* low-end devices: no looping paint animations (same layout, static placeholders) */
.cat-lowend .cat-live-dot,.cat-lowend .skel .car-photo,.cat-lowend .skel-line,.cat-lowend .pk-skel{animation:none}
.cat-lowend .pk-panel,.cat-lowend .lot-panel{will-change:auto}

/* ---- Desktop: the "Show me any make under any budget" sentence repeated the filters on the left */
@media (min-width:901px){.cat-sentence{display:none}}

/* ---- Phones: full-width photo on top (whole car visible), name + price row, spec chips, location/sale row */
@media (max-width:600px){
  .cat-grid{gap:14px}
  .cat-grid > .car .car-photo{aspect-ratio:16/11}
  .cat-grid > .car .car-main{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:10px;align-items:start;padding:13px 14px 4px}
  .cat-grid > .car .car-name{grid-column:1;font-size:18px;line-height:1.2}
  .cat-grid > .car .car-name span{font-size:13px}
  .cat-grid > .car .car-price{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
  .cat-grid > .car .car-price strong{font-size:23px}
  .cat-grid > .car .car-price em{font-size:12px}
  .cat-grid > .car .car-specs{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px;font-size:13px}
  .cat-grid > .car .car-specs dt{display:none}
  .cat-grid > .car .car-specs div:nth-child(4){display:none}
  .cat-grid > .car .car-specs dd{padding:5px 10px;border-radius:999px;background:var(--mist);font-size:12.5px;line-height:1.2;font-weight:600;color:var(--ink-2)}
  .cat-grid > .car .car-specs dd.clean{background:var(--ok-soft,#e6f4ec);color:var(--ok)}
  .cat-grid > .car .car-stub{flex-wrap:wrap;row-gap:6px;padding:8px 14px 14px;font-size:13px}
  .cat-grid > .car .car-where{flex:1 1 auto}
  .cat-grid > .car:nth-child(n+9){contain-intrinsic-size:auto 430px}
}

/* ---- Nigeria: currency choice (shown only to visitors from Nigeria) */
.cur-switch{display:inline-flex;align-items:center;gap:6px;margin-left:auto;margin-right:12px;font-size:13px;color:var(--muted)}
.cur-switch button{min-width:36px;height:34px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink-2);font:600 14px/1 var(--sans);cursor:pointer}
.cur-switch button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.cur-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;background:rgba(14,28,54,.55)}
.cur-card{width:min(420px,100%);padding:26px 24px 22px;border-radius:16px;background:#fff;box-shadow:0 20px 60px rgba(14,28,54,.35);text-align:center}
.cur-card h2{margin:0 0 18px;font:600 22px/1.2 var(--serif);color:var(--ink)}
.cur-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cur-btns button{height:54px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:600 17px/1 var(--sans);cursor:pointer}
.cur-btns button:first-child{background:var(--accent);border-color:var(--accent);color:#fff}
.cur-btns button:focus-visible{outline:3px solid rgba(22,88,214,.35);outline-offset:2px}
.cur-card p{margin:14px 0 0;font-size:13px;line-height:1.4;color:var(--muted)}
@media (max-width:600px){.cat-bar:has(.cur-switch){flex-wrap:wrap;row-gap:6px}.cur-switch{order:3;flex:1 0 100%;gap:6px;margin:0}.cur-switch button{min-width:0;height:30px;padding:0 10px;font-size:12px}}
