/* 0skeng Index: shared stylesheet. Solid colours only, one typeface used at
   two widths, black hairlines, one red. Tokens first, then base type, then
   the pieces each page uses. */

@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F2F2F2;
  --ink: #000000;
  --ink-2: #5A5A5A;
  --hair: #D4D4D4;
  --red: #E4141B;
  --on-red: #FFFFFF;
  --text: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
  box-sizing: border-box;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --paper: #000000; --paper-2: #141414; --ink: #FFFFFF; --ink-2: #A6A6A6; --hair: #333333; --red: #FF3B3B; --on-red: #000000; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #000000; --paper-2: #141414; --ink: #FFFFFF; --ink-2: #A6A6A6; --hair: #333333; --red: #FF3B3B; --on-red: #000000; }

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 1rem; line-height: 1.5; font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; transition: color .15s var(--ease); }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
p { margin: 0 0 1rem; }
code { font-family: var(--mono); font-size: .9em; }
pre { background: var(--paper-2); border-left: 4px solid var(--ink); padding: .9rem 1.1rem; overflow-x: auto; font-size: .88rem; line-height: 1.5; margin: 0 0 1rem; }
pre code { font-size: inherit; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
::selection { background: var(--red); color: var(--on-red); }
button { font: inherit; }

.wrap { max-width: 78ch; margin: 0 auto; padding: 1.25rem 1.25rem 4rem; }
.wrap.wide { max-width: 104rem; }

/* ---------------------------------------------------------------- masthead */
.mast { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem 1rem; padding: .25rem 0 .9rem; position: relative; }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left center; }
.mast .brand {
  grid-row: 1; grid-column: 1; justify-self: start;
  display: inline-block; background: var(--ink); color: var(--paper); padding: .3rem .55rem .32rem;
  font-weight: 800; font-stretch: 125%; font-size: .95rem; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; line-height: 1;
}
.mast .brand:hover { background: var(--red); color: var(--on-red); }
.mast nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .1rem 1.25rem; font-size: .92rem; font-weight: 500; }
.mast nav a { text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.mast nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.theme, .theme-slot { grid-row: 1; grid-column: 2; justify-self: end; }
.theme { font-size: .8rem; font-weight: 500; color: var(--ink); background: none; border: 1px solid var(--ink); padding: .3rem .6rem; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.theme:hover { background: var(--ink); color: var(--paper); }

/* -------------------------------------------------------------------- hero */
.hero { padding: 2.5rem 0 1.25rem; }
h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(2.1rem, 1.1rem + 4vw, 4rem); line-height: .96; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 1.1rem; max-width: 16ch; text-wrap: balance; }
.lead { font-size: 1.15rem; line-height: 1.4; max-width: 58ch; margin-bottom: .8rem; }
.facts { color: var(--ink-2); font-size: .9rem; margin: 0; max-width: 70ch; }

/* ---------------------------------------------------------------- sections */
section { padding: 2rem 0 .5rem; border-top: 1px solid var(--ink); }
h2 { font-weight: 800; font-stretch: 118%; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .8rem; text-wrap: balance; }
h3 { font-size: 1rem; font-weight: 700; margin: 1.4rem 0 .45rem; }
.updated { color: var(--ink-2); font-size: .9rem; margin-bottom: 1rem; max-width: 62ch; }
.more { margin-top: 1rem; }

/* ---------------------------------------------------- deals: the lot list */
.lots { list-style: none; margin: .25rem 0 0; padding: 0; border-top: 1px solid var(--hair); }
.lots li {
  display: grid; grid-template-columns: 4.6rem 1fr auto; grid-template-areas: "tag name price" "tag meta meta";
  column-gap: 1rem; row-gap: .05rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--hair);
}
.lots .name { grid-area: name; font-weight: 600; font-size: 1.02rem; }
.lots .name a { text-decoration: none; }
.lots li:hover .name a { text-decoration: underline; }
.lots .price { grid-area: price; font-weight: 800; font-stretch: 112%; font-size: 1.2rem; white-space: nowrap; }
.lots .meta { grid-area: meta; color: var(--ink-2); font-size: .88rem; }
.tag { grid-area: tag; align-self: center; justify-self: start; background: var(--red); color: var(--on-red); padding: .3rem .45rem .28rem; line-height: 1; min-width: 4.1rem; transition: transform .25s var(--ease); }
.tag b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.05rem; letter-spacing: -.01em; }
.tag b::before { content: "\2212"; }
.tag small { display: block; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: .18rem; }
.lots li:hover .tag { transform: translateX(.25rem); }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: stamp .45s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * 60ms); }
  @keyframes stamp { from { transform: translateX(-.6rem); opacity: 0; } to { transform: none; opacity: 1; } }
  .mast::after { animation: rule .8s var(--ease) both; }
  @keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 30rem) {
  .lots li { grid-template-columns: 4.2rem 1fr; grid-template-areas: "tag name" "tag price" "tag meta"; }
}

/* ------------------------------------------------------------------ tables */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll table { min-width: 36rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
td:first-child, th:first-child { white-space: nowrap; }
thead th { font-weight: 700; border-bottom: 2px solid var(--ink); font-size: .85rem; }
td.num, th.num { text-align: right; white-space: nowrap; }
tbody tr { transition: background-color .15s var(--ease); }
tbody tr:hover { background: var(--paper-2); }
td code { font-size: .82em; color: var(--ink-2); }

/* -------------------------------------------------------------- accordion */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: .75rem 2.2rem .75rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .7rem; width: 1.35rem; height: 1.35rem; display: grid; place-content: center; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1rem; line-height: 1; transition: transform .25s var(--ease), background-color .15s var(--ease); }
.faq summary:hover::after { background: var(--red); color: var(--on-red); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1rem; max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: reveal .3s var(--ease) both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(-.3rem); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------- endpoints list */
.endpoints { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 1px solid var(--hair); }
.endpoints li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding: .55rem 0; border-bottom: 1px solid var(--hair); }
.endpoints code { background: var(--paper-2); padding: .15rem .45rem; }
.endpoints span { color: var(--ink-2); font-size: .88rem; flex: 1 1 14rem; }
.copy { font-size: .75rem; font-weight: 600; color: var(--ink); background: none; border: 1px solid var(--ink); padding: .15rem .6rem; cursor: pointer; transition: transform .1s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.copy:hover { background: var(--ink); color: var(--paper); }
.copy:active { transform: scale(.95); }
.copy[data-done] { background: var(--red); border-color: var(--red); color: var(--on-red); }

/* ------------------------------------------------------------- glossary */
dl.gloss { margin: 0; }
dl.gloss dt { font-weight: 700; margin-top: .8rem; }
dl.gloss dd { margin: .15rem 0 0; max-width: 64ch; }

/* --------------------------------------------------------- agent notice */
.notice { border: 1px solid var(--ink); padding: 1rem 1.2rem; margin: 2rem 0 0; font-size: .92rem; color: var(--ink-2); }
.notice h2 { font-size: .95rem; font-stretch: 100%; font-weight: 700; color: var(--ink); margin: 0 0 .4rem; }
.notice p { margin: .3rem 0; }
.notice code { font-size: .88em; }

/* --------------------------------------------- prices page: filter, boxes */
.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.25rem; }
.filter label { border: 1px solid var(--ink); padding: .3rem .8rem; cursor: pointer; font-size: .88rem; font-weight: 500; transition: background-color .15s var(--ease), color .15s var(--ease); }
.filter label:hover { background: var(--paper-2); }
.filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter input:checked + label { background: var(--ink); color: var(--paper); }
.filter input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
body:has(#cat-tcg:checked) section.cat:not(#tcg),
body:has(#cat-vinyl:checked) section.cat:not(#vinyl),
body:has(#cat-hifi:checked) section.cat:not(#hifi),
body:has(#cat-prints:checked) section.cat:not(#prints) { display: none; }
.cat .blurb { max-width: 70ch; }
.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin: 1rem 0 1.5rem; }
.box { background: var(--paper); padding: .9rem 1rem 1rem; display: grid; grid-template-rows: auto auto 1fr auto; gap: .2rem; transition: background-color .15s var(--ease); }
.box:hover { background: var(--paper-2); }
.box .name { font-weight: 600; line-height: 1.25; }
.box .cond { color: var(--ink-2); font-size: .85rem; }
.box .sold { font-weight: 800; font-stretch: 112%; font-size: 1.55rem; letter-spacing: -.02em; margin: .35rem 0 .2rem; align-self: end; }
.box .row { display: flex; flex-wrap: wrap; gap: .15rem .9rem; font-size: .82rem; color: var(--ink-2); }
.box .row .k { color: var(--ink-2); }
.box .row .v { color: var(--ink); font-weight: 500; }
.box .row .down { color: var(--red); }
.box .sku { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); margin-top: .15rem; }
.low { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--on-red); background: var(--red); padding: .05rem .3rem; margin-left: .3rem; text-decoration: none; }

/* ------------------------------------------------- name page: parts */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.25rem 1.5rem; margin-top: 1rem; }
.parts .glyph { display: block; font-weight: 800; font-stretch: 125%; font-size: 4rem; line-height: 1; letter-spacing: -.03em; color: var(--red); margin-bottom: .4rem; }
.parts p { margin: 0; font-size: .95rem; }
.cut { position: relative; white-space: nowrap; }
.cut s { text-decoration: none; color: var(--ink-2); }
.cut::after { content: ""; position: absolute; left: -.1em; right: -.1em; top: 52%; height: 3px; background: var(--red); transform: rotate(-5deg); transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .cut::after { animation: slash .45s var(--ease) 1s both; }
  @keyframes slash { from { right: 100%; } to { right: -.1em; } }
}

/* ------------------------------------------------------------- footer */
footer.site { border-top: 2px solid var(--ink); margin-top: 3rem; padding-top: 1.25rem; color: var(--ink-2); font-size: .88rem; }
footer.site ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* ------------------------------------------------------ subscribe form */
form.sub { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
form.sub input[type="email"] { flex: 1 1 16rem; padding: .55rem .7rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; }
form.sub button { padding: .55rem 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }

/* -------------------------------------------------------- beta notice */
.beta { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); width: calc(100% - 2rem); max-width: 40rem; display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 1.1rem; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-left: 5px solid var(--red); font-size: .92rem; line-height: 1.45; z-index: 1000; }
.beta p { margin: 0; }
.beta button { flex: none; font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.beta button:hover { background: var(--red); border-color: var(--red); color: var(--on-red); }
@media (prefers-reduced-motion: no-preference) { .beta { animation: rise .4s var(--ease) both; animation-delay: .8s; } @keyframes rise { from { opacity: 0; transform: translate(-50%, 1rem); } to { opacity: 1; transform: translate(-50%, 0); } } }

/* Honeypot: not visible to sighted humans, present in the DOM for automated traversal. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
