:root {
  --bg: #141414;
  --panel: #181818;
  --text: #fff;
  --muted: #b3b3b3;
  --line: #333;
  --accent: #e50914;
  --link: #fff;
  --shell: min(1680px, calc(100% - 3rem));
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Cantarell, "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 20, 20, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-inner, .main, .foot-inner {
  width: var(--shell);
  margin: 0 auto;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  vertical-align: -0.2em;
  fill: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.langs {
  display: flex;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #181818;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.langs a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  min-height: 1.75rem;
}
.langs a:hover { color: #fff; text-decoration: none; }
.langs a.is-on { color: #fff; background: var(--accent); }

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--accent); text-decoration: none; }

.nav-search { flex: 1; position: relative; max-width: 40rem; }
.nav-search input,
.search-modal-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem 0.5rem 2.45rem;
  background: #181818 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23b3b3b3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.2 12.2 16 16'/%3E%3C/svg%3E") 0.85rem 50% no-repeat;
  color: var(--text);
  outline: none;
  font: inherit;
}
.nav-search input:focus,
.search-modal-form input:focus { border-color: var(--accent); }

.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.suggest a, .suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}
.suggest a:hover, .suggest button:hover { background: #2a2a2a; color: var(--accent); }

.icon-btn.search-open { display: none; }
.search-open .ico { width: 1.2rem; height: 1.2rem; }
.icon-btn, .btn {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; padding: 0; }
.btn:hover, .icon-btn:hover { text-decoration: none; filter: brightness(1.08); }

.main {
  flex: 1 0 auto;
  padding: 1.5rem 0 3rem;
}
.tape h1, .watch h1, .legal h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: none;
}
.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 46rem;
  font-size: 1rem;
}

.qrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.qrow-related { margin-top: 1.5rem; }
.more { margin-top: 2rem; }
.more h2 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.video-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}
@media (min-width: 760px) { .video-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .video-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .video-list { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1560px) { .video-list { grid-template-columns: repeat(6, 1fr); } }

.preview { color: inherit; text-decoration: none; }
.preview:hover { color: inherit; text-decoration: none; }
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease-out;
}
.preview:hover .thumb img { transform: scale(1.045); }
.preview-meta {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-stats {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 0.85rem;
}
.preview-stats .ico { width: 0.85rem; height: 0.85rem; margin-right: 0.25rem; }

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  font-size: 0.92rem;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: var(--muted);
}
.pager a {
  color: var(--text);
  border: 1px solid var(--line);
  background: #181818;
}
.pager a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.empty {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  color: var(--muted);
}
.empty h2 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.empty .btn { margin-top: 0.9rem; }
.muted, .desc { color: var(--muted); }
.desc { max-width: 48rem; }
.crumbs {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.watch { width: 100%; }
.player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
}
.player video, .player iframe, .player [data-player] { width: 100%; height: 100%; border: 0; display: block; }
#player-companion:not([hidden]) { margin: -0.25rem 0 1rem; }
#player-companion img, #player-companion iframe { max-width: 100%; border: 0; }
.player-empty { height: 100%; display: grid; place-items: center; color: #fff; }
.watch-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.15rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.watch-stat, .watch-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  background: #181818;
  border: 1px solid var(--line);
  font: inherit;
  text-decoration: none;
}
.watch-act button, .watch-act { cursor: pointer; }
.watch-act button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.watch-stat b, .watch-act b { font-weight: 700; color: var(--text); }
.watch-act:hover, .watch-act button:hover { color: var(--accent); text-decoration: none; border-color: #3a3a40; }
.watch-act .is-on, .watch-act button.is-on { color: var(--accent); }
.comments { margin-top: 2rem; max-width: 40rem; }
.comments h2 { margin: 0 0 0.85rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.comment-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.6rem; }
.comment-list li {
  background: var(--panel);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}
.comment-list strong { display: block; font-size: 0.9rem; }
.comment-list p { margin: 0.25rem 0 0; color: var(--muted); }
.engage-form { display: grid; gap: 0.75rem; }
.engage-form label { display: grid; gap: 0.35rem; color: var(--muted); font-size: 0.85rem; }
.engage-form input, .engage-form textarea, .engage-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  background: #181818;
  color: var(--text);
  font: inherit;
}
.engage-form textarea { min-height: 6rem; }
.engage-form input:focus, .engage-form textarea:focus, .engage-form select:focus {
  border-color: var(--accent);
  outline: none;
}
.engage-form .btn { justify-self: start; }

.legal { max-width: 46rem; }
.legal-body { color: var(--muted); font-size: 1rem; }
.legal-body h2 { color: var(--text); font-size: 1.15rem; letter-spacing: -0.02em; margin: 1.5rem 0 0.45rem; }
.legal-body p { margin: 0 0 0.85rem; }
.legal-body ul { margin: 0 0 0.85rem; padding-left: 1.2rem; }
.legal-body li { margin: 0.3rem 0; }

.report-modal {
  width: min(28rem, calc(100% - 1.5rem));
  max-width: calc(100% - 1.5rem);
  overflow-x: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  background: var(--panel);
  color: var(--text);
}
.report-modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.report-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0 0 0.9rem;
}
.report-modal-head h2 { margin: 0; font-size: 1.1rem; }
.report-modal-head button {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 999px;
}
.report-modal-head button:hover { color: #fff; background: #2a2a2a; }

html.modal-open,
html.modal-open body { overflow: hidden; }

.search-modal {
  width: min(32rem, calc(100% - 1.5rem));
  max-width: calc(100% - 1.5rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
  overscroll-behavior: none;
}
.search-modal::backdrop,
.age-modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.search-modal-form {
  width: 100%;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.5rem;
  display: grid;
  gap: 0.35rem;
}
.search-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.search-field { flex: 1; min-width: 0; }
.search-go {
  flex: 0 0 auto;
  width: auto;
  padding: 0 0.9rem;
}
.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #181818;
  color: var(--text);
  cursor: pointer;
}
.search-close:hover { background: #2a2a2a; }
.search-modal .suggest {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  max-height: min(11rem, 36dvh);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: none;
}
.search-modal .suggest a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.age-modal {
  width: min(22rem, calc(100% - 1.5rem));
  max-width: calc(100% - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.age-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 0.85rem;
}
.age-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.age-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.age-card p { margin: 0; color: var(--muted); }
.age-actions { display: grid; gap: 0.35rem; margin-top: 1rem; }
.age-actions .btn { width: 100%; }
.age-no {
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}
.age-no:hover { color: var(--text); }

.foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  background: #141414;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.foot-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.foot-brand:hover { color: var(--accent); text-decoration: none; }
.foot-cols { display: flex; align-items: flex-start; gap: 2.5rem; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 8rem; }
.foot-label {
  margin: 0;
  min-height: 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15rem;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 80%, #fff);
}
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--text); }

.ach-open { cursor: pointer; }
.ach-modal {
  width: min(40rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.ach-modal::backdrop { background: rgba(0, 0, 0, 0.72); }
.ach-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.ach-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.ach-head h2 { margin: 0; font-size: 1.2rem; }
.ach-head button {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 10px;
  background: #2a2a2a;
  color: var(--text);
  cursor: pointer;
}
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.7rem;
}
.ach-card {
  min-height: 8.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #181818;
  padding: 0.75rem;
}
.ach-card.is-locked {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
}
.ach-ico { font-size: 1.7rem; line-height: 1; }
.ach-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.ach-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.ach-toasts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(16.5rem, calc(100% - 2rem));
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--text);
  opacity: 1;
  transition: opacity 0.45s ease;
}
.ach-toasts.is-out { opacity: 0; }
.ach-toasts:popover-open {
  position: fixed;
  width: min(16.5rem, calc(100vw - 2rem));
  height: auto;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  inset: 1rem auto auto 50%;
  transform: translateX(-50%);
}
@media (min-width: 700px) {
  .ach-toasts:popover-open {
    inset: 1.25rem 1.25rem auto auto;
    transform: none;
  }
}
.ach-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  background: #181818;
  border: 1px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.ach-toast span { font-size: 1.05rem; line-height: 1; }
.ach-toast strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.ach-toast p {
  margin: 0.12rem 0 0;
  color: #b3b3b3;
  font-size: 0.72rem;
}

@media (max-width: 699px) {
  :root { --shell: min(1680px, calc(100% - 1.25rem)); }
  .nav-search { display: none; }
  .icon-btn.search-open { display: inline-flex; }
  .main { padding: 1rem 0 2rem; }
  .foot-inner { justify-content: flex-start; }
  .foot-cols { gap: 1.5rem; }
  .video-list { gap: 1rem 0.7rem; }
  .player { border-radius: 12px; }
}
