:root {
  --ink: #0B0712;
  --card: #150C22;
  --card-hi: #1D1130;
  --line: #2C1D47;
  --purple: #8B5CF0;
  --deep: #3A1C6B;
  --lilac: #C4A6FF;
  --gold: #E8C275;
  --gold-hi: #F7E3B4;
  --cream: #F5F2EB;
  --muted: #A89BBE;
  --orange: #F2643A;
  --orange-hi: #FF7A50;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 15px/1.5 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 0 16px env(safe-area-inset-bottom);
}
a { color: var(--lilac); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top {
  max-width: 1080px; margin: 0 auto; padding: 28px 0 8px; text-align: center;
}
.mark { width: 200px; height: auto; display: block; margin: 0 auto 10px; }
h1 {
  font: 400 44px/1 "Bebas Neue", Impact, sans-serif; letter-spacing: .02em;
  margin: 0; color: var(--gold);
}
.lede { margin: 8px auto 14px; max-width: 34em; color: var(--muted); }
.profiles { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.profiles a {
  color: var(--cream); text-decoration: none; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.profiles a:hover, .profiles a:focus-visible { border-color: var(--lilac); }
.showcase {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: #000; color: var(--cream); text-decoration: none; font-weight: 600;
  border: 1px solid #3b3b3b; border-radius: 999px; padding: 10px 18px;
}
.disclose {
  margin: 14px auto 0; max-width: 36em; font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 12px;
}

/* controls */
.controls {
  position: sticky; top: 0; z-index: 5; max-width: 1080px; margin: 12px auto 0;
  background: rgba(11, 7, 18, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px 0 8px; border-bottom: 1px solid var(--line);
}
.search input {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
}
.search input::placeholder { color: #7d6f93; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.filters select {
  width: 100%; font: inherit; font-size: 14px; color: var(--cream);
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px;
}
input:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lilac); outline-offset: 2px;
}
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.toggle { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.toggle input { accent-color: var(--purple); width: 16px; height: 16px; }
.count { margin: 0; font-size: 13px; color: var(--muted); }

/* cards */
.list {
  max-width: 1080px; margin: 14px auto 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.card {
  background: linear-gradient(160deg, var(--card-hi), var(--card) 60%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px;
  scroll-margin-top: 190px;
}
.card.hit { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232, 194, 117, .25); }
.head { display: flex; gap: 12px; align-items: flex-start; }
.titles { flex: 1; min-width: 0; }
.house {
  margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.name {
  margin: 2px 0 0; font: 400 30px/1 "Bebas Neue", Impact, sans-serif; letter-spacing: .01em;
  color: var(--cream); overflow-wrap: anywhere;
}
.score {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-content: center; text-align: center;
  background: rgba(58, 28, 107, .55);
}
.score b { font: 400 26px/1 "Bebas Neue", Impact, sans-serif; color: var(--gold-hi); }
.score small { font-size: 10px; color: var(--muted); line-height: 1; }
.score.none { border-style: dashed; border-color: var(--line); }
.score.none small { font-size: 10px; padding: 0 6px; }
.meta { margin: 0; font-size: 13px; color: var(--muted); }
.meta strong { color: var(--cream); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 500; color: var(--lilac);
  border: 1px solid rgba(196, 166, 255, .35); border-radius: 999px; padding: 2px 9px;
}
.tag.pr { color: var(--gold); border-color: rgba(232, 194, 117, .45); }
.buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.btn {
  flex: 1 1 140px; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 15px;
}
.btn.orange { background: var(--orange); color: #1a0a04; }
.btn.orange:hover { background: var(--orange-hi); }
.btn.black { background: #000; color: var(--cream); border: 1px solid #3b3b3b; }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .8; }
.shop { margin: -2px 0 0; font-size: 12px; color: var(--muted); }
.mall {
  display: inline-block; margin-left: 4px; font-size: 10px; font-weight: 600; letter-spacing: .04em;
  color: #1a0a04; background: var(--gold); border-radius: 4px; padding: 0 5px; vertical-align: 1px;
}
.nolink { margin: 0; font-size: 13px; color: var(--muted); font-style: italic; }
.watch { display: flex; flex-wrap: wrap; gap: 6px 14px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.watch a { font-size: 13px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.watch a:hover { text-decoration: underline; }
.watch .play { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.watch time { color: var(--muted); font-weight: 400; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.empty button {
  font: inherit; color: var(--cream); background: var(--deep); border: 0; border-radius: 10px;
  padding: 8px 14px; margin-top: 10px; cursor: pointer;
}

/* footer */
.foot {
  max-width: 1080px; margin: 28px auto 0; padding: 16px 0 36px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); text-align: center;
}
.foot p { margin: 0 auto 6px; max-width: 40em; }
.built { opacity: .7; }

@media (min-width: 620px) {
  .filters { grid-template-columns: repeat(4, 1fr); }
  .list { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 52px; }
}
@media (min-width: 980px) {
  .list { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .card { transition: border-color .15s; }
}
