@font-face { font-family: Barlow; font-weight: 400; src: url(fonts/Barlow-Regular.ttf); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 600; src: url(fonts/Barlow-SemiBold.ttf); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; src: url(fonts/BarlowCondensed-ExtraBold.ttf); font-display: swap; }

:root {
  --bg: #0d0d0c; --panel: #171715; --panel-2: #1e1e1b; --inset: #0f0f0e; --line: #2b2a26; --line-2: #3a3833;
  --text: #eeeae0; --soft: #d9d4c8; --muted: #a19c90; --gold: #FDC52D; --on-gold: #14130f; --ok: #7fd18f; --bad: #f3b5a5;
  --cond: 'Barlow Condensed', 'Segoe UI', sans-serif; --slant: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 15px/1.5 Barlow, 'Segoe UI', system-ui, sans-serif; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
h1 { font-size: 44px; }
h2 { font-size: 24px; letter-spacing: .03em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font: 800 13px var(--cond); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; }
.btn:hover { background: var(--panel-2); }
.btn.gold { border: 0; background: var(--gold); color: var(--on-gold); font: 800 16px var(--cond); letter-spacing: .06em;
  text-transform: uppercase; padding: 0 26px; clip-path: var(--slant); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.post[aria-pressed=true] { background: rgba(127, 209, 143, .16); border-color: var(--ok); color: var(--ok); }
.btn.skip[aria-pressed=true] { background: rgba(224, 122, 95, .16); border-color: #e07a5f; color: var(--bad); }
input[type=text], textarea { width: 100%; padding: 0 14px; min-height: 44px; background: var(--inset); border: 1px solid var(--line-2); }
textarea { padding: 10px 14px; min-height: 70px; resize: vertical; line-height: 1.45; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-weight: 600; }

/* mod page */
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 14px 28px;
  background: rgba(13, 13, 12, .94); border-bottom: 1px solid var(--line); }
.top img { height: 40px; }
.top .grow { flex: 1; }
.top select { min-height: 38px; background: var(--inset); border: 1px solid var(--line-2); color: var(--text); padding: 0 10px; }
main { padding: 28px; display: flex; flex-direction: column; gap: 22px; max-width: 1400px; margin: 0 auto; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; }
.filters button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.filters button[aria-pressed=true] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); }
.card video { width: 100%; aspect-ratio: 9 / 16; max-height: 62vh; object-fit: contain; background: #000; display: block; }
.card .body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.card h3 { font-size: 21px; }
.card .hook { color: var(--gold); font-weight: 600; }
.card .votes { display: flex; gap: 8px; }
.card .votes .btn { flex: 1; }
.tag { display: inline-flex; align-self: flex-start; padding: 3px 9px; font-size: 13px; background: #23221f; color: var(--soft); }
.tag.new { background: rgba(253, 197, 45, .14); color: var(--gold); }
.tag.ok { background: rgba(127, 209, 143, .12); color: var(--ok); }
.tag.bad { background: rgba(224, 122, 95, .14); color: var(--bad); }
.empty { padding: 48px; text-align: center; color: var(--muted); background: var(--panel); border: 1px solid var(--line); }
.form { width: min(520px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 26px; background: var(--panel);
  border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; transition: .2s; padding: 12px 18px;
  background: var(--panel-2); border: 1px solid var(--line-2); pointer-events: none; z-index: 9; max-width: 80vw; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.btn.gold.kick { background: #53FC18; color: #0b0b0b; }

.login { min-height: 70vh; display: grid; place-items: center; }
.login .form { align-items: flex-start; }
a.btn { text-decoration: none; color: inherit; }
a.btn.gold { color: var(--on-gold); }
a.btn.gold.kick { color: #0b0b0b; }
@media (max-width: 600px) {
  h1 { font-size: 34px; }
  .top { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .top img { height: 32px; }
  main { padding: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card video { max-height: 70vh; }
}
.start { align-self: flex-start; }
.mt { margin-top: 14px; }

/* review: list on the left, one short big on the right (phones: one at a time with Previous / Next) */
.progress { font: 800 18px var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.done { padding: 12px 16px; background: rgba(127, 209, 143, .1); border: 1px solid rgba(127, 209, 143, .4); color: var(--ok); }
.review { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.slist { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 100px); overflow: auto; }
.sitem { display: flex; gap: 12px; padding: 8px; width: 100%; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; cursor: pointer; }
.sitem:hover { border-color: var(--line-2); }
.sitem[aria-current=true] { border-color: var(--gold); background: #1f1d15; box-shadow: inset 3px 0 0 var(--gold); }
.sitem .th { width: 50px; height: 88px; flex: none; background: var(--inset); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sitem .th img { width: 100%; height: 100%; object-fit: cover; }
.sitem .th i { font-style: normal; color: var(--muted); }
.sitem .t { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sitem .t > b { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.keys { margin-top: 6px; }
.sdetail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sdetail h2 { font-size: 30px; text-transform: none; }
.navbar { display: none; align-items: center; justify-content: space-between; gap: 10px; }
.updated { padding: 10px 14px; border: 1px solid var(--gold); background: rgba(253, 197, 45, .08); color: var(--gold); }
.dgrid { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
.dgrid .media { aspect-ratio: 9 / 16; max-height: 76vh; background: #000; }
.dgrid video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.dside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hook { padding: 8px 12px; background: var(--inset); border-left: 3px solid var(--gold); font: 800 17px var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.vbig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vbig .btn { min-height: 64px; font-size: 20px; }
.notefield > span { font: 800 16px var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.notefield textarea { font-size: 16px; min-height: 104px; border-color: rgba(253, 197, 45, .45); }
.notes { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: rgba(253, 197, 45, .06); border: 1px solid rgba(253, 197, 45, .3); border-left: 4px solid var(--gold); }
.notes.none { background: var(--panel); border-color: var(--line); border-left-color: var(--line-2); }
.notes > b { font: 800 16px var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.note-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; background: var(--inset); border: 1px solid #2a2820; }
.note-item > b { color: var(--gold); }
.note-item p { flex-basis: 100%; margin: 0; font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) {
  .review { grid-template-columns: 1fr; }
  .slist { display: none; }
  .navbar { display: flex; }
  .dgrid { grid-template-columns: 1fr; }
  .dgrid .media { max-height: 64vh; justify-self: center; width: 100%; }
  .sdetail h2 { font-size: 24px; }
}

/* caption fixes a mod asks for */
.fixes { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line, #2a2925); }
.fixes p { margin: 0; }
.fixlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.fixlist li { display: flex; gap: 6px; align-items: center; }
.fixlist s { opacity: .7; }
.fixrow { display: flex; gap: 6px; align-items: center; }
.fixrow input { flex: 1; min-width: 0; }
.fixlist .linkbtn { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; font-size: 18px; padding: 0 6px; min-height: 0; }

/* this week's leaderboard under the list */
.board { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); }
.board ol { margin: 0 0 6px; padding-left: 20px; }
