/* Serial Number Jersey Match: same look as Jersey Match Library (colors, fonts), lighter layout for reading. */
:root{
  --bg:#F3F4F6; --surface:#FFFFFF; --surface-2:#F8F9FB; --ink:#111318; --muted:#596170; --line:#DCE0E6; --chip:#ECEEF2;
  --accent:#C8102E; --accent-ink:#FFFFFF; --accent-soft:#FBE7EA; --good:#13774A; --good-soft:#E2F2E9;
  --shadow:0 1px 2px rgba(17,19,24,.06),0 8px 24px rgba(17,19,24,.07);
  --display:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;
  --body:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0C0E12; --surface:#151820; --surface-2:#1A1E27; --ink:#ECEEF2; --muted:#9AA2B1; --line:#272D3A; --chip:#1E2330;
  --accent:#FF4D5E; --accent-ink:#16060A; --accent-soft:#3A1219; --good:#4FCB8C; --good-soft:#12291D; --shadow:0 1px 2px rgba(0,0,0,.4); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0C0E12; --surface:#151820; --surface-2:#1A1E27; --ink:#ECEEF2; --muted:#9AA2B1; --line:#272D3A; --chip:#1E2330;
  --accent:#FF4D5E; --accent-ink:#16060A; --accent-soft:#3A1219; --good:#4FCB8C; --good-soft:#12291D; color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6}
a{color:inherit;text-decoration-color:color-mix(in srgb,var(--accent) 55%,transparent);text-underline-offset:3px}
a:hover{color:var(--accent)}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.mono{font-family:var(--mono);font-size:.92em;white-space:nowrap}
.small{font-size:14px}.muted{color:var(--muted)}
h1,h2{font-family:var(--display);text-transform:uppercase;line-height:1;letter-spacing:.01em;margin:0}
h1{font-size:clamp(40px,7vw,72px);font-weight:900}
h1 em{font-style:normal;color:var(--accent)}
h2{font-size:clamp(26px,4vw,34px);font-weight:800;margin:0 0 10px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;font-weight:700}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn.primary:hover{filter:brightness(1.08);color:var(--accent-ink)}
/* header */
header.top{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
header.top .wrap{display:flex;align-items:center;gap:18px;min-height:64px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;font-size:17px;line-height:1.1}
.logo b{color:var(--accent)}
.logo .mark{font-family:var(--mono);font-weight:700;background:var(--ink);color:var(--surface);border-radius:6px;padding:4px 7px;font-size:14px}
.nav{display:flex;gap:16px;margin-left:auto;font-size:15px}
.nav a{text-decoration:none;color:var(--muted)}.nav a[aria-current],.nav a:hover{color:var(--ink)}
.libbtn{min-height:38px;font-size:15px}
@media (max-width:860px){.nav{display:none}.libbtn{margin-left:auto}}
@media (max-width:420px){.logo span:last-child{font-size:15px}.libbtn{padding:0 12px;font-size:14px}}
main{padding-bottom:48px}
.crumbs{font-size:14px;color:var(--muted);padding-top:18px}.crumbs a{color:var(--muted)}
/* hero + checker */
.hero{padding:40px 0 10px}
.hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;align-items:start}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.lede{font-size:clamp(18px,2.2vw,21px);color:var(--muted);max-width:760px;margin:14px 0}
.checker{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);display:grid;gap:10px}
.ck-title{font-family:var(--display);text-transform:uppercase;font-size:24px;font-weight:800}
.checker label{display:grid;gap:4px;font-size:14px;font-weight:600}
.checker input{font:inherit;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink)}
.ck-out:empty{display:none}
.ck-out{border-radius:10px;padding:12px;background:var(--surface-2);font-size:15px}
.ck-out.yes{background:var(--good-soft)}.ck-out.no{background:var(--accent-soft)}
.ck-out .btn{margin-top:8px}
/* sections */
section{margin-top:40px}
.sechead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.sechead a{font-weight:600}
.gcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.gcard{display:grid;gap:4px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-decoration:none}
.gcard b{font-size:18px;line-height:1.25}.gcard span{color:var(--muted);font-size:15px}
.gcard:hover{border-color:var(--accent);color:inherit}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);text-decoration:none;font-size:15px;font-weight:600}
.chip:hover{border-color:var(--accent)}
.cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding:20px;border-radius:14px;background:var(--ink);color:var(--surface)}
.cta p{margin:4px 0 0;opacity:.8;font-size:15px}.cta b{font-size:19px}
.cta a:not(.btn){color:inherit}
/* live auctions */
.live{margin-top:28px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.livehead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.livehead h2{margin:0;font-size:clamp(22px,3.4vw,30px)}
.live > p{margin:6px 0 12px}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media (max-width:760px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.card{display:flex;flex-direction:column;gap:3px;padding:8px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-size:13px;line-height:1.3;background:var(--surface-2)}
.card:hover{border-color:var(--accent);color:inherit}
.card .img{position:relative;height:120px;border-radius:6px;background:#eee;overflow:hidden}
.card img{width:100%;height:100%;object-fit:contain;background:#f3f3f3}
.card .clock{position:absolute;left:6px;bottom:6px;padding:2px 7px;border-radius:999px;background:rgba(17,19,24,.82);color:#fff;font-size:11px;font-weight:700}
.card .clock.soon{background:#c8102e}
.card .top{display:flex;justify-content:space-between;align-items:baseline;margin-top:4px}
.card .price{font-weight:700;font-size:15px}.card .ser{font-family:var(--mono);font-size:12px}.card .ser i{font-style:normal;color:var(--accent);font-weight:700}
.card .who{font-weight:700}.card .t{color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card.skel{height:220px;background:linear-gradient(90deg,var(--chip),var(--surface-2),var(--chip));background-size:200% 100%;animation:sk 1.2s infinite}
@keyframes sk{to{background-position:-200% 0}}
/* articles */
.prose{max-width:820px}
.prose h1{margin-top:12px;font-size:clamp(36px,6vw,60px)}
.prose section h2{font-size:clamp(24px,3.4vw,30px)}
.prose ul{padding-left:20px}.prose li{margin:6px 0}
.cols{columns:2;gap:24px}@media (max-width:600px){.cols{columns:1}}
.related .gcards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.faq{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:var(--surface);margin:8px 0}
.faq summary{font-weight:700;cursor:pointer}.faq p{margin:8px 0 0}
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--surface-2);font-size:13px;text-transform:uppercase;letter-spacing:.03em}
td.num{text-align:right;white-space:nowrap}
.gloss dt{font-weight:700;margin-top:16px;font-size:18px}.gloss dd{margin:4px 0 0}
/* supplies */
.stiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:12px 0}
.stile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-decoration:none;text-align:center;font-size:14px;line-height:1.25}
.stile img{width:100%;height:auto;max-width:150px;border-radius:8px;background:#fff}
.stile span{font-size:12px;font-weight:700;color:#c46a00}
.stile:hover{border-color:var(--accent);color:inherit}
/* footer */
footer{border-top:1px solid var(--line);background:var(--surface);padding:28px 0;font-size:15px}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px}
.fgrid div{display:flex;flex-direction:column;gap:6px}.fgrid a{color:var(--muted)}
@media (max-width:760px){.fgrid{grid-template-columns:1fr}}
/* mobile sticky bar: one line, dismissible, only on small screens */
.stickybar{position:fixed;left:10px;right:10px;bottom:10px;z-index:30;display:flex;align-items:center;gap:6px;padding:6px 6px 6px 16px;border-radius:999px;background:var(--accent);color:var(--accent-ink);box-shadow:var(--shadow)}
.stickybar a{flex:1;color:inherit;text-decoration:none;font-weight:700;font-size:15px}
.stickybar button{border:0;background:transparent;color:inherit;font-size:22px;width:36px;height:36px;cursor:pointer}
@media (min-width:761px){.stickybar{display:none!important}}
/* eBay reminder */
.modal{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.5);display:grid;place-items:center;padding:16px}
.modal .box{background:var(--surface);color:var(--ink);border-radius:14px;padding:20px;max-width:460px;box-shadow:var(--shadow)}
.modal .row{display:flex;gap:8px;justify-content:flex-end;margin-top:12px;flex-wrap:wrap}
.hero-grid>*,.cta>*{min-width:0}
.ck-out .btn,.cta .btn,.livehead .btn{white-space:normal;text-align:center;max-width:100%;padding:8px 18px;line-height:1.25}
/* card checker */
.cardcheck{margin:18px 0}
.cardcheck select{font:inherit;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);width:100%}
.cardcheck select:disabled{opacity:.6}
.ccrow{display:grid;grid-template-columns:1fr 2fr;gap:10px}@media (max-width:600px){.ccrow{grid-template-columns:1fr}}
.ccser{display:flex;align-items:center;gap:8px}.ccser input{width:120px}.ccser b{font-family:var(--mono);font-size:18px}
.facts{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.fact{font-size:13px;padding:3px 9px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--muted)}
.fact.on{color:var(--ink);font-weight:700;border-color:var(--good)}
.cards>p{grid-column:1/-1;margin:0}
.nav a{white-space:nowrap}
@media (max-width:1100px){.nav{gap:12px;font-size:14px}}
@media (max-width:980px){.nav{display:none}.libbtn{margin-left:auto}}

/* seller warning */
.swtag { color: #b45309; font-weight: 600; }
.swwarn { background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; border-radius: 8px; padding: 10px 12px; }
@media (prefers-color-scheme: dark) { .swtag { color: #fbbf24; } .swwarn { background: #3b2410; border-color: #9a5b1c; color: #fde8cc; } }
