/* Ridgecrest Raw: dark, gritty, one loud accent. No polish. */
:root {
  --bg: #0b0b0b; --panel: #161616; --panel2: #1e1e1e; --line: #2a2a2a;
  --text: #f4f1ea; --muted: #9b968b; --accent: #ff4d00; --accent-dark: #c23a00;
  --good: #58d13d; --bad: #ff3b30;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: "Helvetica Neue", Arial, "DejaVu Sans", sans-serif; font-size: 16px; line-height: 1.45; }
a { color: var(--text); }
h1, h2, .logo, .cardtitle, .watchtitle, .pagetitle, .sectiontitle, button, .badge {
  font-family: "Oswald", "Arial Narrow", "DejaVu Sans Condensed", "Helvetica Neue Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
}
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 3px solid var(--accent); background: #000; position: sticky; top: 0; z-index: 10; }
.logo { font-size: 24px; font-weight: 700; text-decoration: none; line-height: 1; }
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
nav a:hover { color: var(--accent); }
.navcta { background: var(--accent); color: #000; padding: 6px 12px; }
.navcta:hover { color: #000; background: #ff6a26; }
.navform { display: inline; margin: 0; }
.navbtn { background: none; border: 1px solid var(--line); color: var(--muted); padding: 5px 10px; font-size: 13px; cursor: pointer; text-transform: uppercase; }
.navbtn:hover { color: var(--text); border-color: var(--muted); }
main { max-width: 1100px; margin: 0 auto; padding: 18px 14px 40px; }
footer { border-top: 1px solid var(--line); color: var(--muted); text-align: center; padding: 18px 12px 30px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.pagetitle { font-size: 30px; margin: 6px 0 14px; line-height: 1.1; }
.sectiontitle { font-size: 22px; margin: 30px 0 12px; }
.empty { color: var(--muted); }
.error { background: #2a0d0a; border: 1px solid var(--bad); color: #ffb3ad; padding: 10px 12px; margin: 0 0 14px; }
.notice { background: #12260c; border: 1px solid var(--good); color: #c9f2bd; padding: 10px 12px; margin: 0 0 14px; }
.formnote, .altline { color: var(--muted); font-size: 14px; }
.altline a { color: var(--accent); }
.grid { display: grid; gap: 18px 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { text-decoration: none; display: block; }
.thumbwrap { position: relative; background: var(--panel); aspect-ratio: 4 / 5; overflow: hidden; }
.thumbwrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.card:hover .thumbwrap img { outline: 3px solid var(--accent); outline-offset: -3px; }
.dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,0.85); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; }
.cardmeta { padding: 8px 2px 0; }
.cardtitle { font-size: 17px; line-height: 1.15; font-weight: 600; }
.cardsub { color: var(--muted); font-size: 13px; margin-top: 3px; text-transform: none; letter-spacing: 0; font-family: inherit; }
.playerwrap { background: #000; margin: 0 -14px; }
.playerwrap video { width: 100%; max-height: 72vh; display: block; background: #000; }
.watchtitle { font-size: 28px; line-height: 1.1; margin: 16px 0 8px; }
.watchmeta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; align-items: center; }
.watchmeta .creator { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 16px; }
.desc { white-space: pre-wrap; margin: 12px 0 0; max-width: 65ch; }
.channelsub { color: var(--muted); margin: -8px 0 16px; }
.form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.form input, .form textarea { background: var(--panel2); border: 1px solid var(--line); color: var(--text); padding: 12px; font-size: 16px; font-family: inherit; text-transform: none; letter-spacing: 0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.bigbtn { background: var(--accent); color: #000; border: none; cursor: pointer; font-size: 19px; font-weight: 700; padding: 13px 18px; text-transform: uppercase; }
.bigbtn:hover { background: #ff6a26; }
.myrow { display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 10px; margin-bottom: 10px; }
.myrow img { width: 64px; height: 80px; object-fit: cover; object-position: center 30%; flex: none; }
.myinfo { flex: 1; min-width: 0; }
.mytitle { font-weight: 700; font-size: 17px; }
.mytitle a { text-decoration: none; }
.mytitle a:hover { color: var(--accent); }
.mysub { color: var(--muted); font-size: 13px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 8px; flex: none; }
.b-published { background: var(--good); color: #000; }
.b-pending { background: var(--accent); color: #000; }
.b-rejected { background: var(--bad); color: #000; }
.reviewrow { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); padding: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.reviewrow video { width: 180px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; }
.reviewinfo { flex: 1; min-width: 200px; }
.reviewtitle { font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.reviewsub { color: var(--muted); font-size: 13px; margin: 4px 0; }
.reviewdesc { margin: 8px 0; white-space: pre-wrap; }
.reviewbtns { display: flex; gap: 10px; margin-top: 10px; }
.reviewbtns form { margin: 0; }
.approvebtn, .rejectbtn { border: none; cursor: pointer; font-size: 16px; font-weight: 700; padding: 10px 18px; }
.approvebtn { background: var(--good); color: #000; }
.rejectbtn { background: transparent; color: var(--bad); border: 2px solid var(--bad); padding: 8px 16px; }
.logtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.logtable th, .logtable td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.logtable th { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; }
.logoutrow { margin-top: 26px; }
.deletebtn { background: transparent; color: var(--bad); border: 2px solid var(--bad); cursor: pointer; font-size: 16px; font-weight: 700; padding: 8px 16px; }
.deletebtn:hover { background: var(--bad); color: #000; }
.deletebtn.small { font-size: 13px; padding: 5px 10px; }
.myrow form { margin: 0; }
.pwwrap { display: flex; gap: 8px; }
.pwwrap input { flex: 1; min-width: 0; }
.pwtoggle { background: var(--panel); border: 1px solid var(--line); color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; padding: 0 14px; text-transform: uppercase; letter-spacing: 0.05em; flex: none; }
.pwtoggle:hover { color: var(--text); border-color: var(--muted); }
.thumbph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--panel2); color: var(--muted); font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: 0.12em; }
.thumbph.small { width: 64px; height: 80px; font-size: 14px; flex: none; }
.uploadprogress { max-width: 480px; }
.upbar-track { background: var(--panel2); border: 1px solid var(--line); height: 22px; }
.upbar-fill { background: var(--accent); height: 100%; width: 0%; transition: width 0.15s linear; }
.upbar-fill.indet { width: 100%; opacity: 0.55; }
.upbar-text { margin-top: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; }
.form label.checkrow { flex-direction: row; align-items: center; gap: 10px; }
.form label.checkrow input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.kindbadge { position: absolute; left: 6px; bottom: 6px; background: var(--accent); color: #000; font-size: 12px; font-weight: 700; padding: 2px 6px; }
.vfeed { margin: -18px -14px -40px; height: calc(100dvh - 54px); overflow-y: auto; scroll-snap-type: y mandatory; background: #000; }
.vcard { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.vvid { width: 100%; height: 100%; object-fit: cover; display: block; }
.sndbadge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.75); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.voverlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,0.88) 45%); }
.vtitle { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.vmeta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.vmeta a { color: var(--accent); font-weight: 700; text-decoration: none; }
.cmtoggle { background: var(--panel2); color: var(--text); border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.vcomments { margin-top: 10px; max-height: 36vh; overflow-y: auto; background: rgba(8,8,8,0.92); border: 1px solid var(--line); padding: 4px 10px 10px; }
.comment { border-bottom: 1px solid var(--line); padding: 8px 0; }
.comment:last-of-type { border-bottom: none; }
.cmeta { color: var(--muted); font-size: 12px; }
.cmeta b { color: var(--accent); }
.cbody { white-space: pre-wrap; margin-top: 2px; font-size: 15px; }
.cform { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 560px; }
.cform textarea { background: var(--panel2); border: 1px solid var(--line); color: var(--text); padding: 10px; font-size: 15px; font-family: inherit; }
.cform textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.cform button { align-self: flex-start; }
