:root {
  --bg: #101311;
  --surface: #191d19;
  --line: #30362e;
  --muted: #a8b0a3;
  --white: #f1f3ea;
  --lime: #d7fa70;
  --red: #ff9d90;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font: 15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,select,textarea {
  font: inherit;
}
button,a,input,select,textarea {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
header {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 23px;
  letter-spacing: -1.2px;
  font-weight: 760;
  white-space: nowrap;
}
.dot {
  font-weight: 400;
  color: var(--muted);
}
.mark {
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  color: var(--bg);
  height: 32px;
  width: 32px;
  font-size: 15px;
  border-radius: 10px;
  margin-right: 10px;
  letter-spacing: 0;
}
nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 32px 0;
}
nav a.active {
  color: var(--white);
  border-bottom: 2px solid var(--lime);
}
#saved-count {
  font-size: 10px;
  background: #30362e;
  padding: 3px 6px;
  border-radius: 5px;
  margin-left: 4px;
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--white);
  font-size: 24px;
}
.admin-link {
  font-size: 12px;
  color: var(--muted);
}
main {
  min-height: 70vh;
  max-width: 1560px;
  margin: auto;
  padding: 36px 5% 70px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--lime);
}
.hero {
  position: relative;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #172923;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,18,15,.96),rgba(8,18,15,.55) 53%,transparent);
}
.hero-art {
  position: absolute;
  inset: 0 0 0 36%;
  background: radial-gradient(ellipse at 58% 45%,#e7bf69 0%,#768c55 14%,#2e594e 30%,#152d29 57%,#11241f 77%);
  overflow: hidden;
}
.hero-art:before {
  content: "";
  position: absolute;
  left: 44%;
  top: 12%;
  width: 34%;
  height: 105%;
  border-radius: 50% 50% 0 0;
  transform: rotate(-22deg);
  background: linear-gradient(90deg,#162b25,transparent);
  box-shadow: 60px 0 0 #162b2555,-70px 0 0 #203d3055;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(105deg,transparent 0 65px,#bfd7a70b 66px 67px);
}
.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  z-index: 1;
  position: relative;
  padding: 55px;
  max-width: 660px;
}
.hero h1 {
  font-size: clamp(40px,5vw,68px);
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 22px 0;
}
.hero p {
  color: #c1c9bb;
  max-width: 460px;
  line-height: 1.8;
}
.meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.tag {
  border: 1px solid #697459;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 10px;
  letter-spacing: .5px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 25px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid #48503f;
  background: #232a22;
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.btn.primary {
  background: var(--lime);
  color: #182012;
  border-color: var(--lime);
}
.btn.danger {
  color: var(--red);
  border-color: #69423b;
  background: #31221d;
}
.btn.small {
  padding: 6px 12px;
  font-size: 12px;
}
.hero-number {
  position: absolute;
  bottom: 25px;
  right: 30px;
  z-index: 1;
  color: #c0c9b7;
  font-size: 12px;
  letter-spacing: 4px;
}
.strip {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.strip b {
  color: var(--white);
  font-weight: 500;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 36px 0 22px;
  gap: 15px;
}
.section-title h2 {
  font-size: 26px;
  letter-spacing: -.8px;
  margin: 5px 0 0;
}
.section-title a {
  font-size: 12px;
  color: var(--lime);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 250px;
  gap: 32px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px 18px;
}
.card {
  min-width: 0;
}
.poster {
  aspect-ratio: 16/10;
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #253c36;
  transition: transform .2s;
}
.poster:hover {
  transform: translateY(-4px);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster .art {
  position: absolute;
  inset: 0;
}
.art {
  background: radial-gradient(ellipse at 70% 20%,#c4b96d66,transparent 50%),linear-gradient(135deg,#3c6758,#152d29 75%);
}
.art:before {
  content: "";
  position: absolute;
  width: 45%;
  height: 140%;
  border: 32px solid #d4d6ac29;
  border-radius: 50%;
  transform: rotate(25deg);
  left: 40%;
  top: 5%;
}
.tone-1 {
  background: radial-gradient(circle at 65% 30%,#f5b973 0,transparent 40%),linear-gradient(135deg,#6d352b,#231f26);
}
.tone-2 {
  background: radial-gradient(ellipse at 50% 60%,#637fb6,transparent 55%),linear-gradient(135deg,#15283b,#252338);
}
.tone-3 {
  background: radial-gradient(circle at 30% 20%,#e2c5ad88,transparent 50%),linear-gradient(135deg,#716248,#252d21);
}
.tone-4 {
  background: radial-gradient(circle at 70% 30%,#c5a2be88,transparent 40%),linear-gradient(135deg,#4c3156,#251f32);
}
.art-title {
  position: absolute;
  left: 20px;
  bottom: 22px;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -1px;
  max-width: 75%;
  font-weight: 750;
  text-shadow: 0 2px 12px #000;
}
.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #101310c9;
  font-size: 10px;
}
.play-circle {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: #0002;
}
.card h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 12px 0 6px;
}
.card .meta {
  font-size: 11px;
  gap: 8px;
}
.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.save {
  margin-top: 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 20px;
}
.save.on {
  color: var(--lime);
}
.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.side-box {
  padding: 24px;
  border: 1px solid #414c37;
  border-radius: 12px;
  background: linear-gradient(135deg,#263021,#161d17);
  margin: 20px 0;
}
.side-box h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin: 14px 0;
}
.side-box p {
  font-size: 12px;
  color: var(--muted);
}
.promo img {
  width: 100%;
  border-radius: 8px;
}
.sidebar .eyebrow {
  color: var(--muted);
}
.editorial {
  margin: 24px 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.editorial strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin: 8px 0;
}
.page-head {
  margin: 15px 0 30px;
}
.page-head h1 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -1.7px;
  margin: 12px 0;
}
.page-head p {
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  align-items: center;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 20px;
  color: var(--muted);
  padding: 7px 16px;
  font-size: 12px;
}
.chip.active {
  background: var(--lime);
  border-color: var(--lime);
  color: #182012;
}
.search {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.search input {
  flex: 1;
}
.search select {
  max-width: 190px;
}
.catalog-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
input,select,textarea {
  min-width: 0;
  max-width: 100%;
  background: #101511;
  border: 1px solid #414a3a;
  border-radius: 7px;
  color: var(--white);
  padding: 11px 12px;
}
input[type=checkbox] {
  accent-color: var(--lime);
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #c3cbbd;
  font-size: 12px;
}
.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  border: 1px dashed #46513c;
  border-radius: 14px;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty h2 {
  color: var(--white);
}
.demo-banner {
  font-size: 12px;
  background: #25301c;
  border: 1px solid #586a32;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  color: #d3dfbc;
}
.player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  display: block;
}
.watch {
  max-width: 1080px;
  margin: auto;
}
.watch h1 {
  font-size: 36px;
  letter-spacing: -1px;
}
.description {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.9;
}
.credit {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-shell {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 35px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.admin-nav button {
  padding: 13px;
  text-align: left;
  color: var(--muted);
  border: 0;
  background: none;
  border-radius: 8px;
}
.admin-nav button.active {
  background: #263021;
  color: var(--lime);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 13px;
  margin-bottom: 24px;
}
.panel h2 {
  margin-top: 0;
  font-size: 22px;
  letter-spacing: -.5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full {
  grid-column: 1/-1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.stat {
  background: var(--surface);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat b {
  display: block;
  font-size: 31px;
  font-weight: 600;
  margin: 7px 0;
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
td:first-child {
  white-space: normal;
  min-width: 180px;
}
.status {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #283520;
  color: #cee998;
}
.status.draft {
  background: #3c3420;
  color: #e2c179;
}
.help {
  font-size: 12px;
  color: var(--muted);
}
.login {
  max-width: 460px;
  margin: 45px auto;
}
.login form {
  display: grid;
  gap: 18px;
}
.chart {
  height: 150px;
  display: flex;
  gap: 5px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  margin: 30px 0 12px;
}
.bar {
  flex: 1;
  min-width: 4px;
  background: var(--lime);
  border-radius: 3px 3px 0 0;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.error {
  color: var(--red);
  font-size: 13px;
}
.upload-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.upload-line input {
  flex: 1;
}
progress {
  width: 100%;
  accent-color: var(--lime);
  height: 7px;
}
.ad-frame {
  width: 100%;
  border: 0;
  min-height: 250px;
  background: #131813;
}
.ad-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  margin: 15px 0 5px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 35px 5%;
  max-width: 1560px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 18px;
}
footer p,footer small {
  font-size: 11px;
  color: var(--muted);
}
footer>div {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
footer small {
  width: 100%;
}
.text-button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
dialog {
  background: #1c241b;
  color: var(--white);
  border: 1px solid #586446;
  border-radius: 18px;
  padding: 30px;
  max-width: 520px;
  width: calc(100% - 30px);
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
dialog .check {
  margin: 15px 0;
}
dialog a {
  font-size: 12px;
  display: block;
  margin-top: 20px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%,20px);
  opacity: 0;
  pointer-events: none;
  background: var(--lime);
  color: #15200b;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 13px;
  transition: .2s;
  z-index: 20;
  max-width: 90vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 50;
  background: var(--lime);
  color: #000;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.loading {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
.legal {
  max-width: 800px;
  white-space: pre-wrap;
}
.mobile-only {
  display: none;
}
@media(min-width:1500px) {
  .hero {
    min-height: 580px;
  }
}
@media(max-width:1100px) {
  header {
    gap: 20px;
  }
  .layout {
    grid-template-columns: 1fr 210px;
    gap: 20px;
  }
  .grid {
    grid-template-columns: repeat(2,1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .hero-copy {
    padding: 38px;
  }
  .hero {
    min-height: 480px;
  }
  .stats {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width:760px) {
  header {
    height: auto;
    min-height: 76px;
    padding: 18px 5% 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  .brand {
    font-size: 21px;
  }
  nav {
    order: 4;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 15px;
  }
  nav a {
    padding: 12px 0;
  }
  .admin-link {
    margin-left: auto;
    font-size: 10px;
  }
  .icon-button {
    display: none;
  }
  main {
    padding-top: 22px;
  }
  .hero {
    min-height: 480px;
    align-items: end;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero:after {
    background: linear-gradient(0deg,#0c1915,rgba(12,25,21,.8) 60%,transparent);
  }
  .hero-art {
    inset: 0;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-number {
    display: none;
  }
  .strip {
    font-size: 10px;
  }
  .strip span:last-child {
    display: none;
  }
  .layout {
    display: block;
  }
  .sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
    margin-top: 30px;
  }
  .grid,.catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px 14px;
  }
  .art-title {
    font-size: 18px;
    left: 14px;
  }
  .section-title h2 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    display: block;
  }
  .admin-nav {
    flex-direction: row;
    overflow: auto;
    margin-bottom: 22px;
  }
  .admin-nav button {
    white-space: nowrap;
  }
  .panel {
    padding: 20px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .page-head h1 {
    font-size: 34px;
  }
  .search {
    flex-wrap: wrap;
  }
  .search input {
    width: 100%;
    flex-basis: 100%;
  }
  footer {
    gap: 15px;
  }
  footer>div {
    margin: 0;
    flex-wrap: wrap;
  }
  .watch h1 {
    font-size: 27px;
  }
  .btn {
    padding: 10px 15px;
  }
  .hero-copy .actions {
    gap: 8px;
  }
  .help {
    overflow-wrap: anywhere;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}
/* Category navigation replaces the former editorial strip. */
.category-menu {
  margin: 0;
  padding: 18px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  justify-content: flex-start;
}
.category-menu a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--white);
  font-size: 13px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.category-menu a:hover,.category-menu a:focus-visible {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
#category-form input {
  width: 100%;
}
@media(max-width:760px) {
  .category-menu {
    gap: 8px;
    order: initial;
    width: auto;
  }
  .category-menu a {
    font-size: 12px;
    padding: 7px 13px;
  }
}
[hidden] {
  display: none!important;
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.cookie-actions .btn {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
  white-space: normal;
}
.direct-ad {
  margin: 20px 0;
}
.direct-ad>a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
}
.direct-ad img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}
.direct-ad strong {
  overflow-wrap: anywhere;
}
.direct-ad span {
  color: var(--lime);
  font-size: 12px;
}
@media(max-width:420px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }
}
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
}
.tag-link {
  font-size: 14px;
  padding: 7px 12px;
  border: 1px solid var(--line,#384030);
  border-radius: 8px;
  color: inherit;
}
.tag-link:hover,.tag-link.active,.emoji-reaction.active {
  color: #d7ff62;
  border-color: #d7ff62;
  background: #28321d;
}
.filters {
  border-bottom: 1px solid #343d30;
  padding-bottom: 20px;
}
.reaction-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.like-button {
  font-size: 20px;
  min-height: 54px;
}
.emoji-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.emoji-reaction {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #394331;
  border-radius: 20px;
  background: transparent;
  color: inherit;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 18px;
}
.emoji-reaction small {
  font-size: 12px;
}
.tag-picker {
  border: 1px solid #394331;
  border-radius: 10px;
  padding: 16px;
}
.tag-picker .check {
  display: inline-flex;
  margin: 8px 18px 8px 0;
}
button:disabled {
  opacity: .55;
  cursor: wait;
}
#video-feedback {
  margin: 12px 0 24px;
}
.video-tags {
  justify-content: flex-start;
}
.player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.player-stage .player {
  height: 100%;
  border-radius: 0;
}
.preroll-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #101311;
  z-index: 2;
}
