/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0b0b0f;
  --bg-2: #13131a;
  --bg-3: #1a1a23;
  --line: #26262f;
  --line-2: #33333f;
  --fg: #f2f2f5;
  --fg-dim: #a2a2b0;
  --fg-faint: #6e6e7c;
  --ok: #3ddc97;
  --warn: #ffb648;
  --bad: #ff5a5a;
  --radius: 10px;
  --wrap: 1360px;
  --gap: 18px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-soft); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 10px 14px; z-index: 99;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- header */
.hd {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 62px;
}
.logo { display: inline-flex; align-items: baseline; gap: 7px; flex: 0 0 auto; }
.logo__mark {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}
.logo__text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo:hover { color: var(--fg); }
.logo:hover .logo__mark { color: var(--accent-soft); }

.search { display: flex; margin-left: auto; width: min(560px, 60vw); }
.search input {
  flex: 1; min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--fg);
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
}
.search input::placeholder { color: var(--fg-faint); }
.search input:focus { outline: none; border-color: var(--accent); }
.search button {
  background: var(--accent);
  color: #fff; border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 16px;
  font: inherit; font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.search button:hover { background: var(--accent-dark); }
/* Phones: search drops to its own full-width row instead of being squashed. */
@media (max-width: 560px) {
  .hd__inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .search { width: 100%; margin-left: 0; }
}

.nav {
  display: flex; gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0;
}
.nav::-webkit-scrollbar { display: none; }
.nav__link {
  flex: 0 0 auto;
  padding: 11px 13px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--fg); }
.nav__link.is-on { color: var(--fg); border-bottom-color: var(--accent); }
/* Pinned popular-tag shortcuts: same look as the main links, set apart by a divider. */
.nav__sep {
  flex: 0 0 auto; align-self: center;
  width: 1px; height: 15px; margin: 0 4px;
  background: var(--line, currentColor); opacity: .35;
}
.nav__link--tag { opacity: .8; }
.nav__link--tag:hover { opacity: 1; }
.nav__link--tag.is-on { opacity: 1; }

/* The Live category is where the money is — give it a pulse. */
.nav__link[href="/category/live"] { color: var(--accent-gold); }
.nav__link[href="/category/live"]::before {
  content: "";
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent-gold);
  margin-right: 6px; vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
.nav__link[href="/category/live"].is-on { border-bottom-color: var(--accent-gold); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .nav__link[href="/category/live"]::before { animation: none; }
}

/* ------------------------------------------------------------------ main */
/* main also carries .wrap, whose side-only padding was cancelling this. */
main, main.wrap { padding: 26px 16px 54px; }

.head { margin-bottom: 20px; }
.head__title {
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: 800;
}
.head__title::after {
  content: ""; display: block;
  width: 42px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 10px;
}
.head__sub { color: var(--fg-dim); margin: 10px 0 0; font-size: 14.5px; }

.sec__title {
  font-size: 17px; font-weight: 800;
  margin: 34px 0 16px;
  padding-left: 11px;
  border-left: 3px solid var(--accent);
}

.cols { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 1100px) {
  .cols:has(.cols__side) { grid-template-columns: 1fr 300px; }
}
.cols__side { display: flex; flex-direction: column; gap: 18px; }

/* ------------------------------------------------------------------ grid */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.card { display: block; }
.card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .14s, transform .14s;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__thumb { border-color: var(--accent); transform: translateY(-2px); }
.card__new {
  position: absolute; top: 7px; left: 7px;
  background: var(--accent); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 4px;
}
.card__dur, .card__flag {
  position: absolute; bottom: 7px; right: 7px;
  background: rgba(0, 0, 0, .82);
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 2px 6px; border-radius: 4px;
}
.card__flag {
  bottom: auto; right: auto; top: 7px; left: 7px;
  background: var(--accent); text-transform: uppercase; letter-spacing: .06em;
}
.card__body { padding: 9px 2px 0; }
.card__title {
  font-size: 14px; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover .card__title { color: var(--accent-soft); }
.card__meta {
  margin-top: 5px;
  display: flex; gap: 9px; flex-wrap: wrap;
  font-size: 12px; color: var(--fg-faint);
}
.card__up { color: var(--fg-dim); }

/* ---------------------------------------------------------------- panels */
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.panel--warn { border-color: var(--warn); }
.panel--result { border-color: var(--accent); margin-bottom: 22px; }
.panel__title {
  font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

.tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tagcloud--big { margin-top: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.5px;
  color: var(--fg-dim);
}
.tag:hover { border-color: var(--accent); color: var(--fg); }
.tag span { color: var(--fg-faint); font-size: 11px; font-variant-numeric: tabular-nums; }

.empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--fg-dim);
}
.empty--big { padding: 80px 20px; }
.empty--big h1 { font-size: 64px; color: var(--accent); }

/* ---------------------------------------------------------------- pager */
.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.pg {
  min-width: 38px; padding: 8px 11px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--fg-dim);
}
.pg:hover { border-color: var(--accent); color: var(--fg); }
.pg--on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pg--gap { background: none; border: 0; color: var(--fg-faint); min-width: 0; padding: 8px 2px; }

/* ----------------------------------------------------------- watch page */
.watch { max-width: 1000px; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch__title { font-size: clamp(18px, 2.6vw, 25px); font-weight: 800; margin: 18px 0 12px; }
.watch__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px; color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}
.chip--up { border-color: var(--line-2); color: var(--fg); font-weight: 600; }
.chip--src { color: var(--fg-faint); }
.chip--demo { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip--xs { font-size: 11px; padding: 2px 8px; }
.watch__desc { color: var(--fg-dim); margin: 0 0 16px; }
.watch__src { margin: 18px 0 0; font-size: 12.5px; color: var(--fg-faint); }
.watch__src a { text-decoration: underline; text-decoration-color: var(--line-2); }

.cta { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; }
.cta__note {
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--fg-faint); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px;
}

.btn {
  display: inline-block;
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px 18px;
  font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.btn:hover { border-color: var(--accent); color: var(--fg); }
.btn--cta {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 6px 22px -10px var(--accent);
}
.btn--cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--ok { background: var(--ok); border-color: var(--ok); color: #06251a; }
.btn--bad { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn--bad:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn--ghost { background: transparent; }
.btn--xs { padding: 5px 10px; font-size: 12px; }

.related { margin-top: 10px; }

/* ------------------------------------------------------------------- ads */
.ad { margin: 0 auto; padding: 12px 16px; text-align: center; max-width: var(--wrap); }
.ad--sidebar { padding: 0; }
.ad--underPlayer { padding: 14px 0; }

/* -------------------------------------------------------------- age gate */
.is-gate { display: grid; place-items: center; min-height: 100vh; }
.is-gate .hd, .is-gate .ft { display: none; }
.is-gate main { padding: 20px; }
.gate { display: grid; place-items: center; }
.gate__card {
  max-width: 520px; text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 38px 30px;
}
.gate__mark { color: var(--accent); font-size: 40px; line-height: 1; margin-bottom: 14px; }
.gate__card h1 { font-size: 23px; font-weight: 800; margin-bottom: 14px; }
.gate__card p { color: var(--fg-dim); font-size: 14.5px; }
.gate__card form { margin: 24px 0 14px; }
.gate__card .btn { width: 100%; padding: 14px; }
.gate__out a { color: var(--fg-faint); font-size: 13px; text-decoration: underline; }
.gate__legal { font-size: 12px; color: var(--fg-faint); margin-top: 20px; }
.gate__legal a { text-decoration: underline; }

/* ----------------------------------------------------------------- prose */
.prose { max-width: 760px; }
.prose h1 { font-size: 27px; font-weight: 800; margin-bottom: 8px; }
.prose h1::after {
  content: ""; display: block; width: 42px; height: 3px;
  background: var(--accent); border-radius: 3px; margin: 12px 0 22px;
}
.prose h2 { font-size: 17px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--fg-dim); }
.prose a { color: var(--accent-soft); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }

/* ---------------------------------------------------------------- footer */
.ft { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 30px; }
.ft__links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
.ft__links a { font-size: 12.5px; color: var(--fg-dim); }
.ft__links a:hover { color: var(--accent-soft); }
.ft__note { font-size: 12px; color: var(--fg-faint); max-width: 900px; margin: 0 0 8px; }
.ft__note--dim { opacity: .65; }
.ft__links--kw { margin-bottom: 10px; }
.ft__links--kw a { color: var(--fg-faint); }

/* Search text under listings: small print, deliberately quiet. */
.seo { max-width: 820px; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.seo h2 { font-size: 13px; font-weight: 600; color: var(--fg-dim); margin: 0 0 6px; letter-spacing: 0; text-transform: none; }
.seo p { font-size: 12.5px; line-height: 1.6; color: var(--fg-faint); margin: 0 0 8px; }
.seo a { color: var(--fg-dim); text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 2px; }
.seo a:hover { color: var(--accent-soft); }

/* ===================================================== admin ============ */
.is-admin { background: #08080c; }
.ahd { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ahd__inner { display: flex; align-items: center; gap: 24px; min-height: 56px; flex-wrap: wrap; }
.ahd__brand { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.ahd__brand em { color: var(--accent); font-style: normal; }
.ahd__nav { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.ahd__nav a { font-size: 13px; font-weight: 600; color: var(--fg-dim); padding: 4px 0; border-bottom: 2px solid transparent; }
.ahd__nav a:hover { color: var(--fg); }
.ahd__nav a.is-on { color: var(--fg); border-bottom-color: var(--accent); }
.awrap { padding: 26px 16px 70px; display: flex; flex-direction: column; gap: 20px; }
.ah1 { font-size: 24px; font-weight: 800; }

.flash {
  background: rgba(61, 220, 151, .1);
  border: 1px solid var(--ok);
  border-radius: var(--radius);
  padding: 11px 14px; font-size: 14px;
}

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-faint); }
.stat:hover { border-color: var(--accent); }
.stat--hot { border-color: var(--warn); }
.stat--hot b { color: var(--warn); }

.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-dim); }
.check__dot {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
}
.check.is-ok .check__dot { background: rgba(61, 220, 151, .16); color: var(--ok); }
.check.is-todo .check__dot { background: rgba(255, 182, 72, .16); color: var(--warn); }
.check.is-todo { color: var(--fg); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--fg-faint); }
.kv dd { margin: 0; }

.hint { font-size: 12.5px; color: var(--fg-faint); margin: 8px 0 0; }
.hint code, code {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px; font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.plist { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }

/* ------------------------------------------------------------ admin form */
.form { display: flex; flex-direction: column; gap: 14px; }
.fl { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; }
.fl > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-faint); }
.fl--sm { flex: 0 1 190px; }
.frow { display: flex; gap: 14px; flex-wrap: wrap; }
input[type="text"], input[type="search"], textarea, select {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  padding: 9px 12px;
  font: inherit; font-size: 14px;
  width: 100%;
}
textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
.fcheck { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-dim); }
.fcheck input { accent-color: var(--accent); width: 16px; height: 16px; }
.fchecks { display: flex; flex-wrap: wrap; gap: 8px; }
.fcheck--pill {
  border: 1px solid var(--line); background: var(--bg-3);
  border-radius: 999px; padding: 6px 13px 6px 10px; gap: 7px;
  cursor: pointer; user-select: none;
}
.fcheck--pill:hover { border-color: var(--accent); }
.fcheck--pill:has(input:checked) { border-color: var(--accent); background: rgba(214, 46, 98, .13); color: var(--fg); }
.fcheck--pill input { width: 14px; height: 14px; }

.rsum { font-size: 14px; color: var(--fg-dim); }
.rsum b { font-variant-numeric: tabular-nums; }
.rsum .ok { color: var(--ok); } .rsum .warn { color: var(--warn); } .rsum .bad { color: var(--bad); }
.rsec { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-faint); margin: 16px 0 7px; }
.rlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.rlist li { display: flex; gap: 10px; flex-wrap: wrap; padding: 7px 10px; background: var(--bg-3); border-radius: 6px; border-left: 3px solid var(--line-2); }
.rlist--ok li { border-left-color: var(--ok); }
.rlist--warn li { border-left-color: var(--warn); }
.rlist--bad li { border-left-color: var(--bad); }
.rl__r { color: var(--fg-faint); font-size: 12.5px; }

.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); }
.tabs a { font-size: 13.5px; font-weight: 600; color: var(--fg-dim); padding: 9px 0; border-bottom: 2px solid transparent; }
.tabs a.is-on { color: var(--fg); border-bottom-color: var(--accent); }

.qrow {
  display: grid; gap: 16px;
  grid-template-columns: 200px 1fr;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
}
@media (min-width: 1000px) { .qrow { grid-template-columns: 200px 1fr 130px; } }
.qrow__thumb img { border-radius: 8px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.qrow__noimg {
  aspect-ratio: 16/9; border: 1px dashed var(--line-2); border-radius: 8px;
  display: grid; place-items: center; color: var(--fg-faint); font-size: 12px;
}
.qrow__fields { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.qrow__meta { display: flex; gap: 7px; flex-wrap: wrap; margin: 0; }
.qrow__why { font-size: 12.5px; color: var(--warn); margin: 0; }
.qrow__why.is-bad { color: var(--bad); }
.qrow__actions { display: flex; flex-direction: column; gap: 8px; }
.qrow__actions .btn { width: 100%; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--fg-faint); padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr.is-off { opacity: .45; }
.tbl__th img { border-radius: 5px; width: 80px; height: 45px; object-fit: cover; }
.tbl__tags { max-width: 230px; }
.tbl__tags .chip { margin: 0 3px 3px 0; }
.tbl__act form { display: flex; gap: 6px; flex-wrap: wrap; }
/* Countries-by-day table on /admin/stats */
.cdwrap { overflow-x: auto; }
.cdt td, .cdt th { padding: 7px 10px; white-space: nowrap; }
.cdt .cd { text-align: right; font-variant-numeric: tabular-nums; min-width: 44px; border-radius: 4px; }
.cdt .cd--0, .cdt .cd--o { color: var(--fg-faint); }
.cdt tr.is-today td { border-bottom-color: var(--accent); }

/* Watch-and-approve in the queue row: the iframe only loads when opened. */
.bulkbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 11px 14px;
}
.bulkbar__n { font-weight: 700; font-size: 13.5px; }
.bulkbar .hint { margin: 0; flex: 1 1 260px; }

.qplay { margin-top: 8px; }
.qplay summary {
  cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--accent);
  list-style: none; padding: 5px 0;
}
.qplay summary::-webkit-details-marker { display: none; }
.qplay summary:hover { color: var(--accent-soft); }
.qplay__frame {
  position: relative; aspect-ratio: 16/9; margin-top: 6px;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000;
}
.qplay__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.chip--trust-inherent { border-color: var(--ok); color: var(--ok); }
.chip--trust-declared { border-color: var(--accent-gold); color: var(--accent-gold); }
.chip--trust-none { border-color: var(--warn); color: var(--warn); }

.pre {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; overflow-x: auto; margin: 8px 0 0; color: var(--fg-dim);
}

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--fg-faint); margin-bottom: 16px; }
.crumbs a { color: var(--fg-dim); }
.crumbs a:hover { color: var(--accent-soft); }
.crumbs__now { color: var(--fg-faint); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================================================== stats =========== */
.statshead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tabs--sm { border: 0; gap: 4px; margin-left: auto; }
.tabs--sm a {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--fg-dim);
}
.tabs--sm a.is-on { border-color: var(--accent); color: var(--fg); background: rgba(214,46,98,.12); }

.hero { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero { grid-template-columns: 250px 1fr; } }
.hero__now {
  background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 2px;
}
.hero__l { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--fg-faint); }
.hero__v { font-size: 56px; font-weight: 800; line-height: 1.05; }
.hero__s { font-size: 12.5px; color: var(--fg-faint); }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tile {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 15px; display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.tile__l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-faint); }
.tile__v { font-size: 26px; font-weight: 700; line-height: 1.15; }
.tile__s { font-size: 12px; color: var(--fg-faint); }
.spark { width: 100%; height: 28px; margin-top: 4px; display: block; }

/* charts */
.ch { margin: 0; }
.ch__title {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--fg-dim); margin: 0 0 4px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
}
.ch__title span { font-size: 11.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--fg-faint); }
.ch__legend { display: flex; gap: 16px; margin: 6px 0 10px; flex-wrap: wrap; }
.ch__legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-dim); }
.ch__legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.ch__wrap { position: relative; }
.ch__svg { width: 100%; height: auto; display: block; overflow: visible; }
.ch__hot { cursor: crosshair; }
.ch__tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 7px;
  padding: 7px 10px; font-size: 12px; color: var(--fg); white-space: nowrap;
  box-shadow: 0 8px 24px -10px #000;
}
.ch__tip b { display: block; color: var(--fg-faint); font-size: 11px; font-weight: 600; margin-bottom: 2px; }

/* ranked bars */
.blist__t { width: 100%; border-collapse: collapse; margin-top: 10px; }
.blist__t tr { border-bottom: 1px solid var(--line); }
.blist__t tr:last-child { border-bottom: 0; }
.blist__t td { padding: 7px 0; vertical-align: middle; }
.blist__k {
  font-size: 13px; color: var(--fg-dim); max-width: 210px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 12px !important;
}
.blist__bar { width: 45%; }
.blist__bar span { display: block; height: 8px; border-radius: 0 4px 4px 0; min-width: 2px; }
.blist__v {
  text-align: right; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; padding-left: 12px !important; width: 60px;
}
.blist__x {
  text-align: right; font-size: 12px; color: var(--fg-faint);
  font-variant-numeric: tabular-nums; padding-left: 12px !important; width: 78px;
}

.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.devsplit { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.dev { display: grid; grid-template-columns: 90px 1fr 42px; align-items: center; gap: 12px; }
.dev__track { display: block; width: 100%; }
.dev__bar { display: block; height: 8px; border-radius: 0 4px 4px 0; min-width: 2px; }
.dev__k { font-size: 12.5px; color: var(--fg-dim); }
.dev__v { font-size: 12.5px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* ===================================================== SEO pages ======= */
.subtopics { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 22px; }
.card__live {
  position: absolute; top: 7px; left: 7px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px;
}
.livedot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 4px; vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
.liveband {
  display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 14px; margin-bottom: 24px;
}
@media (min-width: 720px) { .liveband { grid-template-columns: 300px 1fr; } }
.liveband img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.liveband b { font-size: 18px; display: block; margin-bottom: 6px; }
.liveband p { color: var(--fg-dim); margin: 0 0 14px; font-size: 14px; }
.liveband .cta__note { margin-left: 10px; }
.tbl--camp code { font-size: 11.5px; }

/* ===================================================== outbox ========== */
.draft {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
}
@media (min-width: 860px) { .draft { grid-template-columns: 180px 1fr; } }
.draft__media { display: flex; flex-direction: column; gap: 8px; }
.draft__media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #000; }
.draft__target { margin: 0 0 8px; font-weight: 800; color: var(--accent-soft); font-size: 13.5px; }
.copyrow { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: start; margin-bottom: 8px; }
.copyrow__l { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-faint); padding-top: 6px; }
.copyrow__t {
  margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 13.5px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px;
}
.draft__acts { display: flex; gap: 8px; margin-top: 6px; }

/* Categories index */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 6px; }
.catcard {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; text-decoration: none; color: var(--fg);
  transition: border-color .15s, transform .15s;
}
.catcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.catcard__label { font-size: 18px; font-weight: 700; }
.catcard__count { font-size: 13px; color: var(--fg-faint); }

/* Featured (popular) tags on the tags page */
.tagcloud--feat .tag { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.tags__more { font: 600 13px/1 var(--body); letter-spacing:.04em; text-transform:uppercase; color: var(--fg-faint); margin: 22px 0 10px; }

/* ------------------------------------------------------------ partners */
/* Neutral class names on purpose: cosmetic filter lists hide anything
   called ad/banner/sponsor, and these are plain first-party links. */
.nav__link--live { color: #ff4d6d; }
.nav__link--live::before, .hd__live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b5c; margin-right: 7px; vertical-align: 1px;
  animation: liveblink 1.1s steps(1, end) infinite;
}
.nav__link--ai { color: var(--accent-soft); }
.nav__link--live:hover, .nav__link--ai:hover { color: var(--fg); }
@keyframes liveblink { 0% { opacity: 1; } 50% { opacity: .15; } }


.xl {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  margin: 12px 0 2px; font-size: 14px; font-weight: 700;
}
.xl__a { color: var(--accent-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.xl__a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.xl__a--live { color: #ff4d6d; }
.xl__a .livedot { margin: 0; }

.xc { position: relative; display: grid; place-items: center; align-content: center; }
.xc > a, .xs > a, .xb > a { display: block; line-height: 0; }
.xc img, .xc video, .xc iframe { max-width: 100%; height: auto; border-radius: 8px; }
.xs { position: relative; display: grid; place-items: center; }
.xs img, .xs video { max-width: 100%; height: auto; border-radius: 8px; }
.xc__lbl {
  position: absolute; top: 6px; right: 6px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75); background: rgba(0,0,0,.45); border-radius: 3px; padding: 1px 5px; pointer-events: none;
}
.xb { display: grid; place-items: center; margin: 22px 0 0; }
.xb img, .xb video { max-width: 100%; height: auto; }
.xb--narrow { display: none; }
@media (max-width: 760px) {
  .xb--wide { display: none; }
  .xb--narrow { display: grid; }
}
.xo { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .xo { grid-template-columns: repeat(3, 1fr); } }
.xo__h { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }

/* Phones: the nav scrolls sideways and LIVE CAMS would sit off-screen, so it
   moves up next to the logo instead. */
.hd__live { display: none; }
@media (max-width: 560px) {
  .hd__live {
    display: inline-flex; align-items: center; margin-left: auto;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
    color: #ff4d6d; padding: 6px 2px;
  }
  .nav .nav__link--live { display: none; }
}

/* Admin: RedGIFs for Reddit */
.rg__bar, .rg__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.rg__bar input[type=search] { flex: 1 1 220px; max-width: 320px; width: auto; margin: 0; }
.rg__bar select { width: auto; flex: 0 0 auto; margin: 0; }
.rg__bar input[type=search], .rg__bar select { background: var(--bg-2, #15151c); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; }
.rg__chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-dim); }
.rg__sp { flex: 1; }
.rg__status { font-size: 12.5px; color: var(--fg-faint); margin-bottom: 18px; }
.rg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.rg { background: var(--bg-2, #15151c); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.rg__media { position: relative; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; }
.rg__media img, .rg__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.rg__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 16px; padding-left: 3px; pointer-events: none; }
.rg__dur, .rg__posted { position: absolute; bottom: 6px; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.7); color: #fff; }
.rg__dur { right: 6px; }
.rg__posted { left: 6px; background: var(--ok, #2ecc8f); color: #06251a; text-transform: uppercase; letter-spacing: .05em; }
.rg__stats { font-size: 13px; color: var(--fg-dim); }
.rg__stats b { color: var(--fg); }
.rg__stats span { margin: 0 6px; color: var(--fg-faint); }
.rg__who { font-size: 12.5px; }
.rg__who a { color: var(--accent-soft); }
.rg__v { color: #4aa3ff; font-weight: 700; }
.rg__tags { font-size: 11.5px; color: var(--fg-faint); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rg__copy { margin-top: auto; width: 100%; padding: 9px; border-radius: 8px; border: 0; background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.rg__copy:hover { background: var(--accent-dark); }
.rg__dl { display: block; text-align: center; padding: 7px; border-radius: 8px; border: 1px solid var(--line); color: var(--fg-dim); font-size: 12.5px; font-weight: 600; }
.rg__dl:hover { border-color: var(--accent); color: var(--fg); }
.rg__copy.is-done { background: var(--ok, #2ecc8f); color: #06251a; }
.rg__pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px 0; font-size: 13px; color: var(--fg-dim); }

/* Admin stats: by-day table and day pages */
.daytbl td a { color: var(--accent-soft); }
.daytbl tr.is-off td { color: var(--fg-faint); }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }

/* Wide admin tables scroll sideways on phones instead of running off the page */
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tblwrap .tbl { min-width: 560px; }
@media (max-width: 700px) { .cols2 { grid-template-columns: 1fr; } }
