/* RigGator styles. Written phone-first: the base rules are the phone layout,
   and the min-width blocks further down add room for tablets and desktops. */
:root{--bg:#f5f6f8;--panel:#eceef1;--line:#d9dde3;--line2:#a3aab5;--text:#16181c;--muted:#5b6270;--acc:#e8590c;--acc-ink:#b83d0a;--acc-hover:#9c3308;--tint:#fbeee8;
--head:"Barlow Condensed","Arial Narrow",sans-serif;--body:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
--pad:16px;--gap:48px;--r:8px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.5}
a{color:var(--acc-ink);text-underline-offset:3px}a:hover{color:var(--acc-hover)}
img{max-width:100%}
:focus-visible{outline:3px solid var(--acc);outline-offset:2px;border-radius:4px}
[hidden]{display:none!important}
.wrap{max-width:1200px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.preview{background:var(--acc);color:var(--text);text-align:center;font-size:13px;font-weight:600;padding:6px 12px}

/* header: logo and search share the first row, the menu sits on a second row you can swipe */
.top{background:#fff;border-bottom:1px solid var(--line)}
.top .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding-top:10px;padding-bottom:0}
.top img{height:30px;width:auto;display:block}
.find{position:relative;flex:1 1 140px;min-width:0}
.find input,.field{width:100%;min-height:44px;padding:0 14px;font:inherit;border:1px solid var(--line2);border-radius:6px;background:#fff;color:var(--text)}
.top nav{display:flex;gap:4px;width:calc(100% + 2*var(--pad));margin:0 calc(-1*var(--pad));padding:0 calc(var(--pad) - 10px);overflow-x:auto;scrollbar-width:none;border-top:1px solid var(--line);font-weight:500;font-size:15px}
.top nav::-webkit-scrollbar{display:none}
.top nav a{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:0 10px;color:var(--text);text-decoration:none;white-space:nowrap}
.top nav a:hover{color:var(--acc-ink)}
/* phones and small tablets: the menu sits centered under the logo (Nick, 2026-11-14). Auto margins, so it still swipes if it ever runs wider than the screen */
@media (max-width:859px){.top nav a:first-child{margin-left:auto}.top nav a:last-child{margin-right:auto}}
.results{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(22,24,28,.14);overflow:hidden}
.results:empty{display:none}.results a{padding:13px 16px;border-top:1px solid var(--line);text-decoration:none;color:var(--text)}.results a:first-child{border-top:0}.results a:hover{background:var(--bg)}

/* type */
h1,h2,.num,.big-num,.sub{font-family:var(--head);margin:0}
h1{font-weight:700;font-size:clamp(34px,9vw,56px);line-height:1.02;text-transform:uppercase;letter-spacing:.01em;text-wrap:balance}
h2{font-weight:700;font-size:clamp(26px,6vw,32px);line-height:1.1;text-transform:uppercase;text-wrap:balance}
h3,.eyebrow{margin:0;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
h4{margin:0;font-size:17px;font-weight:600;line-height:1.3;text-wrap:balance}
p{margin:0;text-wrap:pretty}.muted{color:var(--muted)}.small{font-size:14px}.xs{font-size:13px}
.lede{font-size:17px;color:var(--muted);max-width:68ch}
.sub{font-weight:600;font-size:clamp(21px,5vw,30px);line-height:1.15;text-wrap:balance}
.num{font-weight:700}.num,.big-num,td,.barlab{font-variant-numeric:tabular-nums}
.crumbs{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 8px}.crumbs a{color:var(--muted)}

/* page rhythm */
main.wrap{display:flex;flex-direction:column;gap:var(--gap);padding-top:24px;padding-bottom:64px}
.hero+main.wrap{padding-top:40px}
section,.stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px}
.grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.g-rig{grid-template-columns:repeat(2,minmax(0,1fr))}
.g-two,.g-moves{gap:20px;align-items:start}
.hero{background:#fff;border-bottom:1px solid var(--line);padding:32px 0 36px}
.hero .wrap{display:flex;flex-direction:column;gap:20px}
.hero form{display:flex;flex-direction:column;gap:10px;position:relative;max-width:820px}
.hero form input{min-height:52px;padding:0 16px;font:inherit;border:1px solid var(--line2);border-radius:6px;width:100%}
.hero form .btn{min-height:52px}

/* cards */
.card,.rig,.lcard,.tbl,.filters{background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.card{display:flex;flex-direction:column;gap:8px;padding:20px;text-decoration:none;color:var(--text)}
.card .num{font-size:34px;line-height:1.1}
.card.strong{border:2px solid var(--text);gap:14px}
.card.dark{background:var(--text);color:#fff;border-color:var(--text)}.card.dark .muted{color:#cfd4db}
.rig{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:var(--text)}
.rig .meta{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px;font-weight:600;line-height:1.25}
.rig .meta span:last-child{font-weight:400;color:var(--muted);font-size:13px}
.rig.all{align-items:center;justify-content:center;min-height:120px;background:var(--bg);color:var(--acc-ink);font-weight:600}
.lcard{display:flex;gap:12px;padding:12px;text-decoration:none;color:var(--text)}
.lcard>div:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.lcard .num{font-size:26px;line-height:1}
.lcard strong{font-weight:600;line-height:1.35}
a.card,a.rig,a.lcard{transition:border-color .15s,box-shadow .15s}
a.card:hover,a.rig:hover,a.lcard:hover{border-color:var(--line2);box-shadow:0 6px 20px rgba(22,24,28,.08);color:var(--text)}
a.lcard:hover strong,a.card:hover h4{color:var(--acc-ink)}
.ph{display:flex;align-items:center;justify-content:center;padding:6px;background:var(--panel);border:1px dashed var(--line2);border-radius:6px;color:var(--muted);font-size:12px;line-height:1.25;text-align:center}
.rig .ph{aspect-ratio:16/10;border:0;border-radius:0}
.thumb{width:72px;height:72px;flex:0 0 72px}.lcard .thumb{width:88px;height:88px;flex:0 0 88px}
.photo{aspect-ratio:16/10;font-size:14px}.photo.big{aspect-ratio:4/3}.photo.sm{aspect-ratio:auto;min-height:64px}
.big-num{font-weight:700;font-size:clamp(44px,13vw,76px);line-height:1}
.bar{position:relative;height:12px;background:var(--panel);border-radius:6px}
.bar i{position:absolute;top:0;height:12px;background:var(--acc);border-radius:6px}
.bar b{position:absolute;top:-4px;width:3px;height:20px;background:var(--text)}
.barlab{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:6px}
.tag{padding:3px 8px;background:var(--tint);color:var(--acc-hover);border-radius:4px;font-size:13px;font-weight:600;white-space:nowrap}
.note{padding:20px;background:var(--panel);border-radius:var(--r);gap:8px}
ul.plain{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column}
ul.plain li{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:40px;border-top:1px solid var(--line)}
dl.spec{margin:0;display:grid;grid-template-columns:minmax(110px,40%) 1fr;gap:10px 16px}dl.spec dt{color:var(--muted)}dl.spec dd{margin:0;font-weight:500}

/* tables */
.tbl{overflow:hidden}
table{width:100%;border-collapse:collapse;font-size:15px}
th{padding:12px 16px;text-align:left;color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
td{padding:14px 16px;border-top:1px solid var(--line);vertical-align:middle}
.tbl.fixed table{table-layout:fixed}.tbl.fixed td{overflow-wrap:anywhere}
.tbl.fixed th,.tbl.fixed td{padding:10px 8px;font-size:14px}.tbl.fixed th{font-size:11px;letter-spacing:.02em}
.tbl.fixed th:first-child,.tbl.fixed td:first-child{padding-left:14px}

/* on a phone, the wide tables turn into stacked cards: one listing, category or set per card */
.cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cards table,.cards tbody{display:block}
.cards tr{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:14px;border-top:1px solid var(--line)}
.cards tbody tr:first-child{border-top:0}
.cards td{display:block;padding:0;border:0}
.listings tr{position:relative;padding-left:98px;min-height:100px;align-content:start}
.listings td:nth-child(1){position:absolute;left:14px;top:14px}
.listings td:nth-child(2){font-family:var(--head);font-size:26px;font-weight:700;line-height:1;order:1}
.listings td:nth-child(8){order:2}
.listings td:nth-child(3){order:3;flex:1 1 100%;font-weight:600;line-height:1.35}
.listings td:nth-child(n+4):nth-child(-n+7){order:4;font-size:13px;color:var(--muted)}
.listings td:nth-child(9){order:5;flex:1 1 100%;margin-top:2px}
.listings td:empty{display:none}
.board td:nth-child(1){flex:1 1 100%;font-size:17px}
.board td:nth-child(2){font-family:var(--head);font-size:24px;line-height:1}
.board td:nth-child(3){color:var(--muted);font-size:14px}.board td:nth-child(3)::before{content:"Median "}
.board td:nth-child(4){flex:1 1 100%;padding:6px 0 2px}
.board td:nth-child(5){color:var(--muted);font-size:13px}.board td:nth-child(5)::after{content:" listings"}
.sets tr{position:relative;padding-left:98px;min-height:100px;align-content:start}
.sets td:nth-child(1){position:absolute;left:14px;top:14px}
.sets td:nth-child(2){flex:1 1 100%;font-size:17px;line-height:1.3}
.sets td:nth-child(3){flex:1 1 100%}
.sets td:nth-child(4){flex:1 1 100%;font-size:13px}.sets td:nth-child(4)::before{content:"New: "}
.sets td:nth-child(5){flex:1 1 100%;margin-top:6px}.sets td:nth-child(5) .btn{width:100%}

/* controls: every tap target is at least 44px tall */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;background:var(--acc-ink);color:#fff;border:1px solid var(--acc-ink);font:inherit;font-weight:600;text-decoration:none;border-radius:6px;white-space:nowrap;cursor:pointer;transition:background-color .15s}
.btn:hover{background:var(--acc-hover);color:#fff}.btn.alt{background:#fff;color:var(--text);border-color:var(--line2)}.btn.alt:hover{background:var(--bg);color:var(--text)}
.btn.hot{background:var(--acc);border-color:var(--acc);color:var(--text)}
.btns{display:flex;flex-wrap:wrap;gap:10px}.btns .btn{flex:1 1 auto}
.filters{padding:16px;gap:14px}
.fgroup{display:flex;flex-direction:column;gap:8px;min-width:0}.fgroup>span{font-size:13px;font-weight:600;color:var(--muted)}
.fgroup{--bleed:16px}
/* filter buttons wrap onto more lines. Nothing runs off the side of the screen (Nick, 2026-11-14) */
.fgroup .chips,.tabs{display:flex;flex-wrap:wrap;gap:8px}
.chip{flex:0 0 auto;min-height:44px;padding:0 16px;font:inherit;font-weight:500;border-radius:22px;cursor:pointer;background:#fff;color:var(--text);border:1px solid var(--line2);white-space:nowrap}
.chip:hover{border-color:var(--text)}
.chip[aria-pressed=true]{background:var(--text);color:#fff;border-color:var(--text)}
.tabs{gap:0;box-shadow:inset 0 -1px 0 var(--line)}
.tab{flex:0 0 auto;min-height:48px;padding:0 14px;font:inherit;font-weight:600;cursor:pointer;background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);white-space:nowrap}
.tab[aria-pressed=true]{border-bottom-color:var(--acc);color:var(--text)}
form.inline{display:flex;flex-direction:column;gap:10px}form.inline .field{min-height:48px}

footer{background:var(--text);color:#cfd4db}
footer .wrap{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding-top:36px;padding-bottom:40px}
footer img{height:28px;width:auto}footer p{font-size:14px}
footer nav{display:flex;flex-wrap:wrap;gap:4px 20px}footer a{color:#fff;font-size:14px;display:inline-flex;align-items:center;min-height:44px}

/* small tablets and up */
@media (min-width:600px){
  :root{--pad:24px}
  .g-rig{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
  .g-card{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
  .g-list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
  .g-three{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
  .hero form{flex-direction:row}.hero form input{flex:1}.hero form .btn{padding:0 28px}
  .btns .btn{flex:0 0 auto}
  form.inline{flex-direction:row;flex-wrap:wrap}form.inline .field{flex:1 1 140px;width:auto}
  .card{padding:24px}.card.strong{padding:28px}
  .tbl.fixed th,.tbl.fixed td{padding:12px 14px;font-size:15px}.tbl.fixed th{font-size:12px}
  footer .wrap{flex-direction:row;flex-wrap:wrap;align-items:center;gap:24px}footer p{flex:1 1 320px}
}
/* tablets in landscape and desktops: real tables come back, header goes on one line */
@media (min-width:860px){
  :root{--gap:64px}
  .top{position:sticky;top:0;z-index:20}
  .top .wrap{flex-wrap:nowrap;gap:24px;padding-top:14px;padding-bottom:14px}
  .top img{height:36px}
  .find{flex:1 1 260px;max-width:420px}
  .top nav{width:auto;margin:0 0 0 auto;padding:0;overflow:visible;border-top:0;gap:8px;font-size:16px}
  main.wrap{padding-top:40px;padding-bottom:88px}
  .hero{padding:56px 0 48px}.hero .wrap{gap:24px}.hero+main.wrap{padding-top:56px}
  section,.stack{gap:20px}
  .lede{font-size:18px}
  .g-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .g-moves{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .g-rig{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .g-card{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
  .g-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}
  .rig .meta{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:0 14px}
  .rig.all{min-height:172px}
  .card .num{font-size:38px}
  .filters{padding:20px}
  .fgroup{flex-direction:row;align-items:center}.fgroup>span{min-width:86px;font-weight:400;font-size:14px}
  .cards thead{position:static;width:auto;height:auto;clip-path:none;display:table-header-group}
  .cards table{display:table}.cards tbody{display:table-row-group}
  .cards tr{display:table-row;padding:0;min-height:0;position:static}
  .cards td{display:table-cell;padding:14px 16px;border-top:1px solid var(--line);position:static!important;font-family:inherit!important;font-size:15px!important;font-weight:inherit;color:inherit!important;line-height:inherit!important;margin:0}
  .cards td::before,.cards td::after{content:none!important}
  .listings td:nth-child(2),.board td:nth-child(2){font-weight:600}
  .listings td:empty{display:table-cell}
  .sets td:nth-child(5) .btn{width:auto}
  .bar{min-width:180px}
  tbody tr:hover td{background:#fafbfc}
  footer .wrap{padding-top:44px;padding-bottom:44px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
/* breakdown tables on phones: numbers never break mid-figure */
@media (max-width:599px){
  .tbl.fixed col:nth-child(1){width:27%!important}.tbl.fixed col:nth-child(2){width:37%!important}.tbl.fixed col:nth-child(3){width:18%!important}.tbl.fixed col:nth-child(4){width:18%!important}
  .tbl.fixed td:nth-child(n+3){white-space:nowrap;overflow-wrap:normal}
  .tbl.fixed th{font-size:10px;letter-spacing:0}
}
/* phones: the price comes before the photos on a product page */
.lead>:first-child{order:2}
@media (min-width:860px){.lead>:first-child{order:0}#deal .field{flex:0 1 220px}}
@media (max-width:599px){
  .tbl.fixed col:nth-child(1){width:31%!important}.tbl.fixed col:nth-child(2){width:35%!important}.tbl.fixed col:nth-child(3){width:17%!important}.tbl.fixed col:nth-child(4){width:17%!important}
  .tbl.fixed td{font-size:13px;overflow-wrap:normal}.tbl.fixed th:first-child,.tbl.fixed td:first-child{padding-left:12px}
}

/* deals band, and the controls for the listings table */
.band{background:var(--text);color:#fff;padding:20px 16px 24px;border-radius:var(--r);margin:0 calc(-1*var(--pad) + 4px)}
.band p{color:#cfd4db}.band .row a{color:#fff}
.controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.ctl{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--muted);min-width:0}
.ctl.wide2{grid-column:1/-1}
.ctl select.field{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6270' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;padding-right:36px;font-weight:400}
.ctl.check{flex-direction:row;align-items:center;gap:10px;min-height:44px;align-self:end;font-size:15px;color:var(--text)}
.ctl.check input{width:22px;height:22px;accent-color:var(--acc-ink)}
.morefilters summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--acc-ink)}
.morefilters .controls{padding-top:8px}
.ltitle{color:var(--text);font-weight:600;text-decoration:none}.ltitle:hover{color:var(--acc-ink);text-decoration:underline}
@media (min-width:600px){.band{padding:28px;margin:0}.controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:860px){.controls{grid-template-columns:2fr repeat(3,1fr)}.ctl.wide2{grid-column:auto}.cards.listings td:nth-child(3){font-weight:400}}
/* a price is never split across lines, at any screen width */
.num,.big-num,.barlab span,.tag,.tbl.fixed td:nth-child(n+2),.cards td:nth-child(2),.board td:nth-child(n+2),.sets td:nth-child(3) strong{white-space:nowrap}
.tbl.fixed td{overflow-wrap:normal}
.big-num{font-size:clamp(34px,10.5vw,76px)}
.tbl.fixed col:nth-child(1){width:30%!important}.tbl.fixed col:nth-child(2){width:37%!important}.tbl.fixed col:nth-child(3){width:17%!important}.tbl.fixed col:nth-child(4){width:16%!important}
@media (max-width:599px){
  .tbl.fixed col:nth-child(1){width:28%!important}.tbl.fixed col:nth-child(2){width:39%!important}.tbl.fixed col:nth-child(3){width:17%!important}.tbl.fixed col:nth-child(4){width:16%!important}
  .tbl.fixed th,.tbl.fixed td{padding:10px 5px;font-size:12.5px}.tbl.fixed th{font-size:9.5px}
  .tbl.fixed th:first-child,.tbl.fixed td:first-child{padding-left:10px}
}
@media (min-width:860px) and (max-width:1100px){.tbl.fixed th,.tbl.fixed td{padding:12px 8px;font-size:14px}.tbl.fixed th{font-size:11px;letter-spacing:.02em}.tbl.fixed th:first-child,.tbl.fixed td:first-child{padding-left:14px}}
/* the big price sizes itself to its card, so it always fits on one line */
.card.strong{container-type:inline-size}
.big-num{font-size:clamp(30px,13cqi,76px)}
@media (max-width:359px){.tbl.fixed th{font-size:8.5px}}
/* listing photos are always a square, whatever shape the seller's photo is */
img.thumb{width:88px;height:88px;min-width:88px;max-width:none;aspect-ratio:1/1;object-fit:cover;border-radius:6px;background:var(--panel);display:block}
.listings .ph.thumb,.lcard .thumb{width:88px;height:88px;min-width:88px;flex:0 0 88px}
@media (max-width:859px){.listings tr,.sets tr{padding-left:114px;min-height:116px}}

/* price guides accordion */
details.acc{background:#fff;border:1px solid var(--line);border-radius:var(--r)}
details.acc summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 16px;cursor:pointer;list-style:none}
details.acc summary::-webkit-details-marker{display:none}
details.acc summary>span{display:flex;flex-direction:column;gap:2px}
details.acc summary::after{content:"";flex:0 0 10px;width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .15s;margin-right:6px}
details.acc[open] summary::after{transform:rotate(-135deg)}
details.acc[open] summary{border-bottom:1px solid var(--line)}
details.acc ul.plain{margin:0;padding:0 16px 8px}details.acc ul.plain li:first-child{border-top:0}
details.acc ul.plain li{min-height:48px}
/* ad positions, standard sizes only. Each reserves its exact height so the page does not jump while the image loads. */
.adrow{padding:12px 0 0}.adrow.onwhite{background:#fff;padding-bottom:0}.adrow .wrap:empty{display:none}
.ad{display:flex;flex-direction:column;align-items:center;gap:4px;margin:0 auto}
.ad a{display:block;line-height:0}.ad img{display:block;max-width:100%;height:auto;border-radius:4px}
.adlabel{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);line-height:1.2}
.ad-top,.ad-inline{min-height:118px}
.ad-box{min-height:268px;align-items:flex-start}
@media (min-width:780px){.ad-top,.ad-inline{min-height:108px}.adrow{padding-top:16px}}
@media (min-width:860px){.ad-box{align-items:center}}
/* price guides in columns */
.g-acc{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px}
@media (min-width:600px){.g-acc{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:980px){.g-acc{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* forms */
textarea.field{padding:12px 14px;min-height:96px;resize:vertical;line-height:1.5}
.inline2{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
@media (min-width:600px){.inline2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.prose{gap:14px;max-width:760px}.prose p{max-width:68ch}
/* newsletter */
.card.dark .field,footer .field{border-color:transparent}
footer form.inline{flex-direction:row;flex-wrap:wrap}footer form.inline .field{flex:1 1 180px;width:auto}
footer [data-out]{color:#cfd4db}
dialog.nl{width:min(92vw,460px);padding:28px 24px 24px;border:0;border-radius:12px;background:var(--text);color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
dialog.nl::backdrop{background:rgba(22,24,28,.55)}
dialog.nl h2{margin-bottom:8px}dialog.nl p{color:#cfd4db;margin-bottom:14px}dialog.nl [data-out]{margin:8px 0 0}
dialog.nl .x{position:absolute;top:8px;right:8px;width:44px;height:44px;background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer}
footer .fcol{gap:10px;align-items:flex-start;width:100%}
@media (min-width:600px){footer .fcol{flex:1 1 300px;width:auto}footer nav{flex:1 1 100%}}
footer .fcol p{flex:none}
.g-three .inline2{grid-template-columns:minmax(0,1fr)}
/* the price block at the top of a guide */
.hero-price{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:20px;container-type:normal}
.hp-main{display:flex;flex-direction:column;gap:14px;container-type:inline-size;min-width:0}
.hp-side{display:flex;flex-direction:column;gap:16px;justify-content:center;min-width:0}
@media (min-width:860px){.hero-price{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px;padding:32px;align-items:center}
  .hp-side{border-left:1px solid var(--line);padding-left:36px}.hp-side p{font-size:17px}}
.lcard .out{color:var(--acc-ink);font-weight:600}
[data-fsum]{font-weight:600}[data-fsum]:empty{display:none}
html{overflow-anchor:none}
details.acc summary a{color:var(--text);text-decoration:none}details.acc summary a:hover{color:var(--acc-ink);text-decoration:underline}
#listings .filters{margin-bottom:4px}
/* a listing title with no normal spaces must wrap, never widen the table past its box */
.listings table{max-width:100%}
.listings td:nth-child(3){overflow-wrap:anywhere;word-break:break-word;min-width:0}
.lcard strong,.ltitle{overflow-wrap:anywhere}
/* small laptops and tablets on their side: nine columns need tighter spacing to fit the box */
@media (min-width:860px) and (max-width:1139px){.cards.listings th,.cards.listings td{padding:12px 7px;font-size:13.5px!important}.cards.listings th{font-size:11px!important;letter-spacing:0}.cards.listings th:first-child,.cards.listings td:first-child{padding-left:12px}.cards.listings img.thumb,.listings .ph.thumb{width:64px;height:64px;min-width:64px;flex:0 0 64px}}
/* under 1024px the Marketplace column goes: the last column already says "View on eBay / Facebook" */
@media (min-width:860px) and (max-width:1023px){.cards.listings th:nth-child(7),.cards.listings td:nth-child(7){display:none}.cards.sets th,.cards.sets td{padding:12px 8px;font-size:14px!important}}
@media (min-width:860px) and (max-width:899px){.cards.listings th:nth-child(5),.cards.listings td:nth-child(5){display:none}.cards.sets th,.cards.sets td{padding:12px 6px;font-size:13.5px!important}}
/* legal pages, email settings pages */
.legal h2{font-size:24px;margin-top:22px}.legal ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;max-width:68ch}.legal li{line-height:1.55}
.rigpick{display:grid;grid-template-columns:1fr;gap:2px 20px}@media (min-width:620px){.rigpick{grid-template-columns:1fr 1fr}}
.rigpick .ctl.check{align-self:auto}
/* reference photos: a real picture of the part type or the vehicle, always labelled, never a grey box */
.pic{position:relative;display:block;overflow:hidden;border-radius:6px;background:#fff;border:1px solid var(--line)}
.pic img{display:block;width:100%;height:100%;object-fit:cover}
.pic em{position:absolute;left:0;right:0;bottom:0;padding:2px 4px;background:rgba(20,23,28,.72);color:#fff;font-style:normal;font-size:10px;line-height:1.3;text-align:center;white-space:nowrap;overflow:hidden}
.pic.thumb{width:88px;height:88px;min-width:88px;flex:0 0 88px}.pic.thumb em{font-size:9px;letter-spacing:0}
.pic.photo{aspect-ratio:4/3}.pic.photo.sm{aspect-ratio:16/10}.pic.photo.big img,.pic.photo.sm img{object-fit:contain}
.pic.photo em{font-size:12px;padding:5px 8px;text-align:left}
.rig .pic{aspect-ratio:16/10;border:0;border-radius:0}
@media (min-width:860px) and (max-width:1139px){.cards.listings .pic.thumb{width:64px;height:64px;min-width:64px;flex:0 0 64px}.cards.listings .pic.thumb em{font-size:8px}}
/* vehicle photos: the whole vehicle always shows; a wide photo gets a soft band above and below instead of losing its ends */
.rig .pic,.pic.photo:has(img[srcset]){background:var(--panel)}
.rig .pic img,.pic.photo img[srcset]{object-fit:contain}
.pic.photo:has(img[srcset]){aspect-ratio:3/2}
.rig .pic{aspect-ratio:3/2}
/* the price-report pop-up: same pop-up as the signup one, on a light background */
dialog.nl.light{background:#fff;color:var(--text);width:min(92vw,520px)}dialog.nl.light p{color:var(--muted)}dialog.nl.light .x{color:var(--text)}
dialog.nl.light .ctl.check span{color:var(--text)}
.card.report{display:flex;flex-direction:column;gap:10px;justify-content:center}.card.report h2,.card.report h4,.card.report p{margin:0}
section:has(> .card.report){align-items:stretch}
/* overline in the logo's orange */
.eyebrow.brand{color:var(--acc-ink)}
.bothways{max-width:68ch}
/* footer: the signup runs to the right edge of the page, in line with the content above */
footer .fcol form.inline{width:100%}
@media (min-width:600px){footer .wrap{align-items:flex-start}footer .fcol{flex:1 1 320px}}
/* phones: filters sized for thumbs and kept inside the screen (Nick, 2026-11-14) */
.cards.sets td:nth-child(2){white-space:normal;min-width:0;overflow-wrap:anywhere}
.quick{gap:14px}
@media (max-width:599px){
  .chip{min-height:40px;padding:0 13px;font-size:15px}
  .tab{min-height:44px;padding:0 12px;font-size:15px}
  /* Deals page: the dropdowns replace the rows of buttons */
  .phone-open .quick{display:none}
  .phone-open .morefilters>summary{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip-path:inset(50%)}
  .phone-open .morefilters .controls{padding-top:0}
}
/* The area a phone shows past the end of the page (below the footer when you pull up, and behind the browser's bottom bar) takes the page's root colour. Make it the footer's dark colour so no white band shows under the footer (Nick, 2026-11-14) */
html{background:var(--text)}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>footer{margin-top:auto;padding-bottom:env(safe-area-inset-bottom)}
/* "List your part" pop-up */
dialog.sell{max-height:92vh;overflow:auto}
dialog.sell label:not(.ctl){font-weight:600;font-size:15px}
dialog.sell .sell2{display:grid;grid-template-columns:1fr 110px;gap:10px}
dialog.sell [hidden]{display:none}
.linkbtn{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--acc-ink);text-decoration:underline;cursor:pointer}
/* the answer a form gives: a green box when it worked, a red one when it did not (Nick, 2026-11-15) */
[data-out].msg{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;border-radius:10px;border:1px solid;font-weight:600;font-size:15px;line-height:1.4}
[data-out].msg::before{flex:0 0 auto;width:22px;height:22px;border-radius:50%;color:#fff;font-size:14px;line-height:22px;text-align:center}
[data-out].msg-ok,footer [data-out].msg-ok,dialog.nl [data-out].msg-ok{background:#e7f6ec;border-color:#2e9a57;color:#14532d}
[data-out].msg-ok::before{content:"\2713";background:#1f8a4c}
[data-out].msg-bad,footer [data-out].msg-bad,dialog.nl [data-out].msg-bad{background:#fdecec;border-color:#d64545;color:#7a1414}
[data-out].msg-bad::before{content:"!";background:#c93636}
/* "List your part" in the main menu */
.top nav a.navsell{color:var(--acc-ink);font-weight:700}
@media (max-width:859px){.top nav a.navsell{margin-right:auto}
  /* phones: the logo sits centered on its own line, with the search box full width under it (Nick, 2026-11-15) */
  .top .wrap>a:first-child{flex:0 0 100%;display:flex;justify-content:center}.top .find{flex:1 1 100%}}
@media (min-width:860px){.top nav a.navsell{background:var(--acc);color:#16181c;border-radius:8px;padding:0 14px;min-height:40px;margin-left:6px}.top nav a.navsell:hover{color:#16181c;filter:brightness(1.06)}}
@media (max-width:430px){.top nav{gap:0;padding:0 4px}.top nav a{padding:0 8px;font-size:15px}}
@media (max-width:374px){.top nav a{padding:0 6px;font-size:14px}}
@media (max-width:339px){.top nav{padding:0 2px}.top nav a{padding:0 4px;font-size:13px}}
/* a listing with no photo of its own: a plain tile that says where the real photo is. Never a stand-in photo (Nick, 2026-11-15) */
.nophoto{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:88px;height:88px;min-width:88px;flex:0 0 88px;border-radius:6px;background:#eceef2;border:1px solid var(--line);color:#5b6270;font-size:11px;line-height:1.25;text-align:center;padding:4px}
.nophoto strong{font-size:13px;font-weight:700;color:#3d4350}
/* set pages and set cards: the seller's photo from a current eBay listing of that exact set, or a plain tile (Nick, 2026-11-15) */
.pic.setpic img{width:100%;height:100%;object-fit:cover;display:block}
a.pic.setpic{text-decoration:none}
/* a supplied set photo's note (which wheel is pictured) is a full sentence, so it wraps */
.pic em.note{white-space:normal;font-size:12px;padding:5px 8px;line-height:1.35}
.nophoto.setph.photo{width:auto;height:auto;min-width:0;flex:none;font-size:14px;aspect-ratio:4/3}.nophoto.setph.photo.sm{aspect-ratio:16/10}.nophoto.setph.photo strong{font-size:16px}
/* photo field in "List your part", and the small "Report this listing" link */
.filefield{padding:9px 10px;height:auto;min-height:44px}
.linkbtn.small{font-size:13px;font-weight:600;color:var(--muted)}
