:root {
  color-scheme: dark;
  --bg: #100e0c;
  --bg-2: #1a1613;
  --ink: #f6f1ea;
  --muted: #b3a89c;
  --line: rgba(246, 241, 234, 0.12);
  --accent: #e85d4c;
  --accent-2: #ffb199;
  --danger: #ff8d7a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(232, 93, 76, 0.22), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(255, 177, 153, 0.12), transparent 50%),
    var(--bg);
  color: var(--ink);
}
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 14px 0;
  background: rgba(16, 14, 12, 0.82);
  backdrop-filter: blur(16px);
}
.top-inner {
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  grid-template-areas:
    "brand search social"
    ". sorts ."
    "request request request";
  gap: 12px 18px;
  align-items: center;
}
.brand-row { grid-area: brand; }
.search { grid-area: search; }
.sorts { grid-area: sorts; justify-self: center; }
.request { grid-area: request; }
.socials { grid-area: social; }
.brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.menu {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: grid;
  gap: 5px;
  place-content: center;
  cursor: pointer;
  position: relative;
}
.menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.menu.is-filtered::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #fff;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 8px 14px rgba(255, 24, 48, 0.45));
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0d0b0a;
  color: var(--muted);
}
.search svg { width: 16px; height: 16px; flex: none; }
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  color: #fff;
  caret-color: #fff;
}
.search input:focus { outline: none; }
.search:focus-within { border-color: #fff; color: #fff; }
.socials { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; display: block; }
.chip.tg { background: #2aabee; color: #fff; }
.chip.dc { background: #5865f2; color: #fff; }
.chip.skip { background: #fff; color: #141210; }
.chip.ai { background: linear-gradient(180deg, #ff8ec4, #ff2f86); color: #fff; }
body.home .chip.tg { --chip-glow: rgba(110, 210, 255, 0.95); }
body.home .chip.dc { --chip-glow: rgba(170, 180, 255, 0.95); }
body.home .chip.ai { --chip-glow: rgba(255, 130, 190, 0.95); }
body.home .chip.skip { --chip-glow: rgba(255, 60, 100, 0.95); }
body.home .socials .chip {
  position: relative;
  overflow: hidden;
  animation: chip-float 2.6s ease-in-out infinite, chip-glow 2.6s ease-in-out infinite;
}
body.home .socials .chip:nth-child(2) { animation-delay: 0.45s; }
body.home .socials .chip:nth-child(3) { animation-delay: 0.9s; }
body.home .socials .chip:nth-child(4) { animation-delay: 1.35s; }
body.home .socials .chip svg { animation: chip-wiggle 2.6s ease-in-out infinite; }
body.home .socials .chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.72) 50%, transparent 80%);
  transform: translateX(-140%);
  animation: chip-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
body.home .socials .chip:nth-child(2)::after { animation-delay: 0.35s; }
body.home .socials .chip:nth-child(3)::after { animation-delay: 0.7s; }
body.home .socials .chip:nth-child(4)::after { animation-delay: 1.05s; }
body.home .socials .chip:hover {
  filter: brightness(1.08);
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.08); }
}
@keyframes chip-glow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 4px var(--chip-glow), 0 14px 22px var(--chip-glow); }
}
@keyframes chip-shine {
  0% { transform: translateX(-140%); }
  55%, 100% { transform: translateX(140%); }
}
@keyframes chip-wiggle {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-14deg); }
  70% { transform: rotate(14deg); }
}
.request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "field send"
    ". live"
    "status status";
  gap: 8px;
  min-width: 0;
  justify-items: center;
}
.request input { grid-area: field; justify-self: stretch; }
.request input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 106, 0.45);
  background: rgba(42, 10, 18, 0.85);
  color: #fff;
  caret-color: #fff;
  padding: 11px 16px;
}
.request input:focus { outline: none; border-color: #ff4d6a; }
.request button {
  grid-area: send;
  border: 0;
  border-radius: 999px;
  background: #ff3b6b;
  color: #fff;
  font-weight: 750;
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
}
.request-status {
  grid-area: status;
  justify-self: stretch;
  margin: 0;
  color: #fff;
  font-weight: 750;
  font-size: 14px;
}
.request button:hover { background: #ff2458; }
.sorts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sorts button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1c1917;
  color: #f4efe8;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.sorts button.is-on {
  background: #ff3b6b;
  border-color: #ff3b6b;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 59, 107, 0.28);
}
.live {
  grid-area: live;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  white-space: nowrap;
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #7dff9a;
  box-shadow: 0 0 0 4px rgba(125, 255, 154, 0.16);
}
.count, .eyebrow {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.wrap { width: min(1180px, calc(100% - 10vw)); margin: 0 auto; padding: 12px 0 72px; }
.intro { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.intro h1, .panel h1, .panel h2 { margin: 8px 0; letter-spacing: -0.04em; font-weight: 650; }
.intro p { margin: 0; color: var(--muted); max-width: 46ch; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.watched { margin-top: 16px; }
.watched h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.watched h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 6px;
  border-radius: 99px;
  background: #ff3b6b;
}
.watched.is-popular h2 {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 90, 30, 0.7);
}
.watched.is-popular h2::after {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #ffb020, #ff3b6b);
}
.drop-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a00, #ff2d55);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(255, 60, 40, 0.4);
}
.watched-grid .drop-flag {
  top: 8px;
  right: 8px;
  padding: 3px 6px;
  font-size: 10px;
}
.watched-grid {
  grid-template-columns: repeat(3, minmax(0, 210px));
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}
.watched-grid .card { position: relative; }
.watched-grid .card img { aspect-ratio: 4 / 5; }
.watched-grid .card-copy { gap: 3px; padding: 8px 8px 10px; }
.watched-grid .card-copy strong { font-size: 13px; }
.watched-grid .rank { width: 22px; height: 22px; top: 8px; left: 8px; font-size: 11px; }
.rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: #ff3b6b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.today, .views { color: #ffd0d8; font-size: 12px; }
.folder-info {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.watched-grid .folder-info { font-size: 10px; }
.folder-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.folder-edit label { margin: 0; font-size: 12px; }
.folder-edit input { width: 88px; padding: 8px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card-photo { position: relative; display: block; overflow: hidden; }
.card img { aspect-ratio: 3 / 4; object-fit: cover; background: #241c18; width: 100%; }
.card-copy { display: grid; gap: 6px; padding: 12px 12px 14px; }
.card strong { font-size: 15px; line-height: 1.3; }
.badge {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(232, 93, 76, 0.16);
  color: var(--accent-2);
  font-size: 12px;
}
.empty { color: var(--muted); margin-top: 28px; }

.age-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 6, 0.82);
  backdrop-filter: blur(10px);
}
.age-check:checked ~ .gate,
html.aged .gate {
  display: none !important;
}
.only-pass {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: #000;
}
.only-pass input {
  width: min(260px, 70vw);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
  caret-color: #fff;
  -webkit-text-fill-color: #fff;
  text-align: center;
  font-size: 18px;
}
.only-pass input:focus { outline: none; border-bottom-color: #fff; }
.gate-card, .panel {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: rgba(26, 22, 19, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gate-actions, .login-panel .btn, .panel .btn { margin-top: 8px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  cursor: pointer;
}
.btn-solid { background: var(--accent); color: white; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid rgba(255, 141, 122, 0.4); }

label { display: grid; gap: 6px; margin: 14px 0; color: var(--muted); font-size: 14px; }
input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d0b0a;
  color: var(--ink);
}
.form-error { min-height: 1.2em; color: #fff; margin: 0 0 8px; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(0, 0, 0, 0.62);
}
.drawer-panel {
  width: min(640px, 100%);
  height: 100%;
  overflow: auto;
  padding: 28px 22px 48px;
  background: #100e0c;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 18px;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-head h2 { margin: 0; font-size: 32px; letter-spacing: -0.04em; }
.drawer-list { display: grid; gap: 10px; }
.drawer-list button {
  text-align: left;
  border: 1px solid var(--line);
  background: #1a1613;
  color: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  font-size: 20px;
  cursor: pointer;
}
.drawer-list button.is-on { background: #fff; color: #141210; border-color: #fff; }
.picked {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #141210;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 650;
}
.card .cat { color: var(--muted); font-size: 12px; }
.desk { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 18px; align-items: start; }
.desk .panel { width: auto; }
.admin-list { display: grid; gap: 12px; }
.admin-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}
.admin-row img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; }
.admin-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; word-break: break-all; }

select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d0b0a;
  color: var(--ink);
}

.shell { min-height: 100vh; }
.admin-bar, .admin-tabs, .admin-main { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.admin-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 0 8px;
}
.admin-brand { display: grid; }
.admin-brand span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.admin-brand strong { font-size: 22px; letter-spacing: -0.04em; }
.admin-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-white { background: #fff; color: #141210; }
.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0;
}
.admin-tabs button, .admin-actions .btn, .admin-tabs button {
  border-radius: 999px;
}
.admin-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
}
.admin-tabs button.is-on { background: #fff; color: #141210; }
.admin-main { padding-bottom: 64px; }
.admin-section { display: grid; gap: 16px; }
.dash-head, .traffic, .section-head {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(20, 16, 14, 0.72);
}
.dash-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.dash-head h1, .section-head h1, .traffic h2 { margin: 0; }
.dash-note { color: var(--muted); margin: 8px 0 0; }
.stat-row, .traffic-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill, .metric {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #100e0c;
}
.pill span, .metric span, .metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill strong, .metric strong { display: block; margin-top: 6px; font-size: 28px; letter-spacing: -0.04em; }
.traffic { display: grid; gap: 14px; }
.request-list { display: grid; gap: 8px; }
.request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #100e0c;
}
.request-row strong { display: block; }
.request-row span { color: var(--muted); font-size: 12px; }
.request-x {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.request-x:hover { background: #ff2d55; border-color: #ff2d55; }
.people-list { display: grid; gap: 8px; }
.person {
  display: grid;
  grid-template-columns: 10px minmax(140px, 1.3fr) minmax(0, 1.4fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #100e0c;
}
.person i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a332e;
}
.person.is-live i { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; }
.person code { font: 15px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.person-place, .person-when { color: var(--muted); font-size: 13px; }
.person-when { text-align: right; }
@media (max-width: 700px) {
  .person { grid-template-columns: 10px minmax(0, 1fr); }
  .person-place, .person-when { grid-column: 2; text-align: left; }
}
.traffic-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.refresh { color: #d7ffcf; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.refresh i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #7dff9a;
  display: inline-block;
}
.stack { display: grid; gap: 10px; }
.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(20, 16, 14, 0.72);
}
.folder-line img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex: none;
}
.line p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.panel { width: min(560px, 100%); }
.countdown {
  margin: 0;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 0.95;
}
.countdown:empty { display: none; }
.poster-clock { display: grid; gap: 12px; }
.poster-track {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.poster-track span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
.poster-hero h1 { margin: 0; }
.poster-next { margin: 0; color: #fff; font-size: 16px; }
.interval-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.poster-settings { display: grid; gap: 12px; }
.poster-settings input { max-width: 160px; }
.enqueue { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.enqueue select, .enqueue input { min-width: 180px; width: auto; }
.schedule-time { width: 210px; max-width: 100%; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }
.queue-index {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #fff;
  flex: none;
}
.is-next { border-color: rgba(255, 255, 255, 0.72); }
.is-next .queue-index { background: #fff; color: #141210; border-color: #fff; }
.folder-line[draggable="true"] { cursor: grab; }
.line.is-dragging { opacity: 0.4; }
.line.is-over { border-color: #fff; }
#queueError { color: #fff; }

@media (max-width: 800px) {
  .desk { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watched-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  .top-inner, .wrap { width: min(100% - 32px, 1180px); }
  .top-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "search"
      "sorts"
      "request"
      "social";
    gap: 12px;
  }
  .live { margin-left: 0; }
  .sorts { justify-self: center; }
  .socials { flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
  .chip { padding: 0 10px; }
  .intro { align-items: flex-start; }
  .dash-head, .admin-bar, .line { flex-direction: column; align-items: flex-start; }
  .folder-line { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .folder-line .row-actions { width: 100%; }
  .traffic-head, .enqueue { flex-wrap: wrap; align-items: flex-start; }
}

body.home {
  background:
    radial-gradient(980px 520px at -8% -12%, rgba(255, 36, 72, 0.55), transparent 58%),
    radial-gradient(760px 460px at 110% -8%, rgba(190, 16, 48, 0.42), transparent 52%),
    radial-gradient(900px 540px at 50% 115%, rgba(120, 8, 28, 0.55), transparent 60%),
    #14060a;
}
body.home .top {
  background: rgba(20, 6, 10, 0.9);
  border-bottom: 1px solid rgba(255, 70, 98, 0.45);
  box-shadow: 0 16px 40px rgba(80, 0, 16, 0.28);
}
body.home .menu span { background: #ff4d6a; }
body.home .mark { color: #ff4d67; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body.home .mark span {
    background: linear-gradient(100deg, #fff 0%, #ff8b9c 38%, #ff2d55 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
body.home .search {
  border-color: rgba(255, 80, 106, 0.45);
  background: rgba(42, 10, 18, 0.85);
}
body.home .search:focus-within { border-color: #ff4d6a; }
body.home .sorts button {
  background: #2a1016;
  border-color: rgba(255, 80, 106, 0.28);
}
body.home .sorts button.is-on {
  background: #ff3b6b;
  border-color: #ff3b6b;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 59, 107, 0.28);
}
body.home .intro { align-items: flex-end; }
body.home .intro-copy {
  position: relative;
  padding-left: 18px;
  max-width: 640px;
}
body.home .intro-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, #ffb020, #ff2d55);
}
body.home .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 110, 0.4);
  background: rgba(255, 59, 107, 0.14);
  color: #ffd6de;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 750;
}
body.home .kicker i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #ff3b6b;
  box-shadow: 0 0 0 4px rgba(255, 59, 107, 0.2);
  animation: heat-pulse 1.8s ease-out infinite;
}
@keyframes heat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 107, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(255, 59, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 107, 0); }
}
body.home .intro h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.92;
  font-weight: 750;
  letter-spacing: -0.05em;
}
body.home .intro:not(.is-filtered) h1 {
  background: linear-gradient(100deg, #fff 8%, #ffd0d8 46%, #ff4d6a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.home .intro.is-filtered h1 { color: #fff; }
body.home .intro h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffb020, #ff3b6b);
}
body.home #blurb {
  margin: 14px 0 0;
  max-width: 36ch;
  color: #f3c9d1;
  font-size: 16px;
  line-height: 1.45;
}
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.random-for-u {
  margin-top: 0;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #ff5a7a, #ff2d55);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 45, 85, 0.35);
}
.random-for-u:hover { filter: brightness(1.08); }
.tutorial-open {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 12px 16px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tutorial-open:hover { background: rgba(255, 255, 255, 0.08); }
.tutorial {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 2, 6, 0.84);
  visibility: hidden;
  pointer-events: none;
}
.tutorial.is-open {
  visibility: visible;
  pointer-events: auto;
}
.tutorial-phone {
  position: relative;
  width: min(860px, 100%);
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 90, 110, 0.45);
  background: #12080c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.tutorial-phone video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78dvh, 520px);
  background: #1a0a10;
}
.tutorial-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 0 0 0 4px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: #ff2d55;
  color: transparent;
  font-size: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.tutorial-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.tutorial-x {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.intro-side { display: grid; justify-items: end; gap: 12px; align-content: end; }
.rate { display: grid; justify-items: end; gap: 4px; }
.stars { display: flex; gap: 2px; }
.stars button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  font-size: 26px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}
.stars button.is-on,
.stars button.is-hot { color: #ffb020; text-shadow: 0 0 12px rgba(255, 176, 32, 0.45); }
.rate-score { margin: 0; color: #ffd6de; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
body.home .count {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 90, 110, 0.38);
  background: rgba(255, 59, 107, 0.12);
  color: #fff;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 800px) {
  body.home .intro { flex-direction: column; align-items: flex-start; gap: 16px; }
  .intro-side, .rate { justify-items: start; }
  body.home .count { padding: 10px 14px; }
  body.home .watched { width: 100%; padding: 14px 12px 12px; }
}
body.home .card {
  background: linear-gradient(180deg, #2a1218 0%, #16080d 100%);
  border-color: rgba(255, 70, 98, 0.38);
}
body.home .card:hover {
  transform: translateY(-4px);
  border-color: #ff4d6a;
  box-shadow: 0 18px 40px rgba(255, 30, 60, 0.24);
}
body.home .card img { background: #3a1520; }
body.home .folder-info { color: #ffd0d8; }
body.home .badge {
  background: rgba(255, 59, 107, 0.2);
  color: #ffd0d8;
}
body.home .gate { background: rgba(18, 4, 8, 0.88); }
body.home .gate-card { border-color: rgba(255, 70, 98, 0.45); }
body.home .btn-solid { background: #ff3b6b; color: #fff; }
body.home .drawer { background: rgba(8, 0, 4, 0.55); }
body.home .watched {
  width: 100%;
  margin: 22px auto 0;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 90, 110, 0.48);
  background: rgba(255, 36, 64, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 80, 100, 0.12), 0 16px 40px rgba(90, 0, 24, 0.28);
}
body.home .watched h2 { text-align: center; }
body.home .watched h2::after { margin-left: auto; margin-right: auto; }
body.home .watched-grid {
  margin-top: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
body.home .watched-grid .card.is-hot {
  border-color: transparent;
  background: transparent;
  box-shadow: 0 16px 36px rgba(255, 30, 60, 0.38);
  transform: translateY(-3px);
}
body.home .watched-grid .card.is-hot::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 280%;
  aspect-ratio: 1;
  background: conic-gradient(transparent 0 68%, #ffd36a 84%, #ff2d55 100%);
  animation: orbit 2.4s linear infinite;
  pointer-events: none;
}
body.home .watched-grid .card.is-hot .card-photo,
body.home .watched-grid .card.is-hot .card-copy {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #2a1218 0%, #16080d 100%);
}
body.home .watched-grid .card.is-hot .card-photo { margin: 3px 3px 0; }
body.home .watched-grid .card.is-hot .card-copy { margin: 0 3px 3px; }
@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5a7a, #ff2d55);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 40, 70, 0.45);
}
.to-top:hover { transform: translateY(-2px); }
body.offer-open { overflow: hidden; }
.offer {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 22px 16px;
  background: rgba(6, 2, 6, 0.78);
  backdrop-filter: blur(12px);
}
.offer-card {
  position: relative;
  width: min(400px, 100%);
  margin: auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 70, 100, 0.28);
  background: #100810;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: offer-in 0.2s ease;
}
@keyframes offer-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.offer-hero {
  position: relative;
  height: min(300px, 38dvh);
  min-height: 188px;
  background: #3a1520;
}
.offer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}
.offer-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 108px;
  background: linear-gradient(to top, #100810 0%, rgba(16, 8, 16, 0.2) 70%, transparent 100%);
  pointer-events: none;
}
.offer-kicker {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 6px 11px;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.offer-body { padding: 2px 16px 16px; }
.offer-card h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.offer-lead {
  margin: 8px 0 0;
  color: #cbb8c2;
  font-size: 14px;
  line-height: 1.35;
}
.offer-meta {
  margin: 6px 0 0;
  color: #ffd0d8;
  font-size: 12px;
  line-height: 1.35;
}
.offer-actions { display: grid; gap: 10px; margin-top: 16px; }
.offer-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
}
.offer-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.offer-ico svg { width: 20px; height: 20px; }
.offer-choice strong { display: block; font-size: 16px; line-height: 1.15; }
.offer-choice small { display: block; margin-top: 2px; font-size: 12px; color: #cbb8c2; }
.offer-skip {
  border: 1px solid rgba(224, 176, 90, 0.85);
  background: rgba(224, 176, 90, 0.05);
}
.offer-skip .offer-ico { background: #6e4a16; color: #ffd15c; }
.offer-skip:hover { background: rgba(224, 176, 90, 0.12); }
.offer-open {
  border: 1px solid rgba(255, 45, 85, 0.18);
  background: rgba(255, 45, 85, 0.16);
}
.offer-open .offer-ico { background: #ff2d55; color: #fff; }
.offer-open:hover { background: rgba(255, 45, 85, 0.26); }
.offer-dc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: none;
}
.offer-dc svg { width: 16px; height: 16px; flex: none; }
.offer-dc:hover { background: rgba(255, 255, 255, 0.06); }
.offer-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.offer-share svg { width: 16px; height: 16px; flex: none; }
.offer-share strong { font-size: 15px; font-weight: 750; }
.offer-share small { color: #cbb8c2; font-size: 12px; }
.offer-share span { display: grid; justify-items: start; }
.offer-share:hover { background: rgba(255, 255, 255, 0.06); }
.offer-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
.offer-x:hover { background: rgba(0, 0, 0, 0.28); }
.offer-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: #ff2d55;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
.offer-nav svg { width: 22px; height: 22px; }
.offer-prev { left: 10px; }
.offer-next { right: 10px; }
.offer-nav:hover { filter: brightness(1.08); }
.offer-nav:disabled { background: rgba(8, 2, 6, 0.55); opacity: 0.55; cursor: default; }
.offer-nav:disabled:hover { background: rgba(8, 2, 6, 0.55); filter: none; }
.offer-choice:focus-visible,
.offer-dc:focus-visible,
.offer-share:focus-visible,
.offer-x:focus-visible,
.offer-nav:focus-visible {
  outline: 2px solid #ff4d6a;
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .offer-card h2 { font-size: 28px; }
  .offer-hero { min-height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-card { animation: none; }
}
.mega-link, .lockr-link {
  display: inline-flex;
  align-items: center;
  margin: 8px 8px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #141210;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.lockr-link { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
@media (max-width: 800px) {
  body.home .watched-grid {
    grid-template-columns: repeat(6, minmax(118px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }
}
body.home .drawer-panel {
  width: min(360px, calc(100% - 20px));
  height: auto;
  max-height: calc(100dvh - 16px);
  margin: 8px 12px;
  padding: 12px 14px;
  border-radius: 18px;
  gap: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(280px 160px at 0% 0%, rgba(255, 40, 70, 0.22), transparent 70%),
    #14060a;
  border: 1px solid rgba(255, 70, 98, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
body.home .drawer-head h2 { font-size: 15px; font-weight: 650; }
body.home #drawerClose { padding: 6px 10px; font-size: 12px; }
body.home .drawer-list {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, auto);
  gap: 6px;
  align-items: stretch;
  overflow: hidden;
}
body.home .drawer-list button {
  text-align: center;
  background: #241016;
  border-color: rgba(255, 80, 106, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  min-height: clamp(32px, calc((100dvh - 210px) / 17), 44px);
  font-size: 15px;
  white-space: nowrap;
  display: grid;
  place-items: center;
}
body.home .drawer-list button.is-all { grid-column: 1 / -1; }
body.home .drawer-list button.is-on {
  background: #ff3b6b;
  border-color: #ff3b6b;
  color: #fff;
}
