:root {
  --bg: #0a090c;
  --bg-2: #121116;
  --card: #17161c;
  --ink: #f6f1ea;
  --mute: #9a95a3;
  --line: rgba(255, 255, 255, 0.08);
  --hot: #ff5a6a;
  --hot-2: #ff8a6a;
  --lamp: #f0c27a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 Outfit, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.hidden { display: none !important; }
html[data-crawler="1"] #cookie-banner { display: none !important; }

.mark {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hot);
  line-height: 1;
}
.mark em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  margin-left: 0.06em;
}

.gate {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2rem 1.2rem;
  background: #07060a;
}
.gate-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(240, 194, 122, 0.18), transparent 42%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 90, 106, 0.2), transparent 46%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.03), transparent 55%);
}
.gate-slats {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 18px,
    rgba(0, 0, 0, 0.18) 18px 20px
  );
  opacity: 0.35;
  pointer-events: none;
}
.gate-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gate-panel {
  position: relative;
  width: min(440px, 100%);
  text-align: center;
  padding: 2.4rem 1.8rem 2rem;
  background: rgba(14, 13, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--hot);
  color: var(--hot);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gate-mark { display: block; margin-bottom: 1.1rem; font-size: 2.1rem; }
.gate-panel h1 {
  margin: 0 0 0.7rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.2;
}
.gate-panel p {
  margin: 0 0 1.5rem;
  color: var(--mute);
}
#gate-enter {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  color: #1a0b0d;
  font-weight: 700;
  cursor: pointer;
}
#gate-enter:hover { filter: brightness(1.06); }
.gate-leave {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--mute);
  font-size: 0.92rem;
}
.gate-leave:hover { color: var(--ink); }

.top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 0.85rem 1.3rem;
  background: rgba(10, 9, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.menu-btn {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.menu-btn[aria-expanded="true"] {
  border-color: rgba(255, 90, 106, 0.55);
  color: var(--hot);
}
.top-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  max-width: 680px;
  margin-left: auto;
}
body.menu-open,
body.report-open-body {
  overflow: hidden;
}
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
}
.site-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.site-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #121116;
  border-right: 1px solid var(--line);
  padding: 1rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.4);
}
.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}
.menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.site-menu-label {
  margin: 0.55rem 0.15rem 0.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.site-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  cursor: pointer;
}
.site-menu-item:hover,
.site-menu-item.on {
  border-color: rgba(255, 90, 106, 0.55);
  color: var(--ink);
}
.lucky {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--mute);
  cursor: pointer;
  padding: 0;
}
.lucky svg {
  width: 20px;
  height: 20px;
}
.lucky:hover {
  color: var(--ink);
  border-color: rgba(255, 90, 106, 0.55);
}
.lucky:disabled { opacity: 0.55; cursor: wait; }
.lucky.is-rolling { animation: lucky-roll 0.45s ease; }
@keyframes lucky-roll {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(-18deg) scale(1.06); }
  70% { transform: rotate(16deg) scale(1.06); }
  100% { transform: rotate(0deg); }
}
.seek {
  position: relative;
  flex: 1;
  min-width: 0;
}
.seek svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--mute);
}
.seek input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 1rem 0.62rem 2.2rem;
  outline: none;
}
.seek input:focus { border-color: rgba(255, 90, 106, 0.55); }
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  background: #141318;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.suggest-item:hover,
.suggest-item.on {
  background: rgba(255, 90, 106, 0.12);
}
.suggest-thumb {
  width: 54px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  background: #0c0b10;
  flex: 0 0 auto;
}
.suggest-copy { min-width: 0; }
.suggest-copy strong {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest-copy span {
  display: block;
  color: var(--mute);
  font-size: 0.74rem;
}
.suggest-mark {
  color: var(--hot);
  background: rgba(255,90,106,.12);
}
.top-count {
  color: var(--mute);
  font-size: 0.82rem;
  white-space: nowrap;
}

.tags {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 1.3rem 0.85rem;
  scrollbar-width: none;
}
.tags::-webkit-scrollbar { display: none; }
.tags a {
  flex: 0 0 auto;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 500;
}
.tags a.on,
.tags a:hover {
  color: #1a0b0d;
  background: var(--hot);
  border-color: var(--hot);
}

main { padding: 1rem 1.3rem 3.5rem; min-height: 64vh; }

.strip {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.strip h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}
.meta { margin: 0.25rem 0 0; color: var(--mute); font-size: 0.86rem; }
.sorts { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.sorts button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  color: var(--mute);
  cursor: pointer;
}
.sorts button.on,
.sorts button:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.row {
  margin-bottom: 1.7rem;
}
.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.row-head h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}
.row-head span {
  color: var(--mute);
  font-size: 0.8rem;
}
.row-head a {
  color: var(--mute);
  font-size: 0.84rem;
  font-weight: 500;
}
.row-head a:hover { color: var(--hot); }
.rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.rail .card {
  flex: 0 0 210px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem 0.85rem;
}
.card { color: inherit; }
.card-wrap { position: relative; }
.card-forget {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 9, 12, 0.82);
  color: #f6f1ea;
  font: 700 1.05rem/1 Outfit, "Segoe UI", sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.card-forget:hover { background: var(--hot); color: #14080a; }
.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0e0d12;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.thumb.is-broken img { opacity: 0; }
.card:hover .thumb img { transform: scale(1.06); }
.thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}
.dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 6px;
  padding: 0.12rem 0.38rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.qual {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  background: rgba(255, 90, 106, 0.92);
  color: #1a0b0d;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
}
.card h3 {
  margin: 0.5rem 0 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card p { margin: 0; font-size: 0.75rem; color: var(--mute); }

.skel {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(90deg, #15141a, #1d1c24, #15141a);
  background-size: 200% 100%;
  animation: shine 1.1s linear infinite;
}
@keyframes shine {
  to { background-position: -200% 0; }
}

.pager {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
}
.pager button {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager span { color: var(--mute); font-size: 0.86rem; }

#watch-view {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#watch-view .more-head,
#watch-view .grid {
  align-self: stretch;
}

.watch-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: min(100%, 960px);
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 0.88rem;
}
.watch-back:hover { color: var(--ink); }

.stage {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
#watch-view.is-maxfill .stage {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  aspect-ratio: 16 / 9;
}

.intro {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #07060a;
  cursor: pointer;
}
.stage.is-intro .intro { display: block; }
.stage.is-intro .player-mark,
.stage.is-intro .player-ui,
.stage.is-intro .player-note { opacity: 0; pointer-events: none; }
.intro-clip {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #07060a;
}
#player, #embed {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  border: 0;
}
#player.on, #embed.on { display: block; }

.player-mark {
  position: absolute;
  top: 0.7rem;
  left: 0.85rem;
  z-index: 5;
  pointer-events: none;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(0.95rem, 2.1vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ff5a6a;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.75), 0 0 18px rgba(0,0,0,.35);
  opacity: 0.92;
}
.player-mark em {
  font-style: italic;
  font-weight: 500;
  color: #f6f1ea;
  margin-left: 0.05em;
}

.player-note {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  margin: 0;
  place-items: center;
  color: var(--mute);
  font-size: 0.92rem;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}
.player-note:not(:empty) { display: grid; }
.player-note a {
  pointer-events: auto;
  color: var(--ink);
  text-decoration: underline;
}

.player-ui {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.stage.is-native .player-ui { display: block; }
.player-ui .player-big {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 90, 106, 0.92);
  color: #14080a;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.player-ui .player-big svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.stage.is-native.is-paused .player-big {
  opacity: 1;
  pointer-events: auto;
}

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.18rem;
  padding: 1.6rem 0.65rem 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}
.stage.is-native.is-paused .player-bar,
.stage.is-native.is-seeking .player-bar,
.stage.is-native.is-controls .player-bar {
  opacity: 1;
  transform: none;
}
.stage.is-native.is-playing:not(.is-controls):not(.is-seeking):not(.is-zoomed) {
  cursor: none;
}
.stage.is-zoomed #player { cursor: grab; }
.stage.is-zoomed.is-panning #player { cursor: grabbing; }
#player { transform-origin: center center; }

.player-settings-wrap {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  line-height: 0;
}
#player-settings[aria-expanded="true"],
#player-wide[aria-pressed="true"] { background: rgba(255,255,255,.08); }
#player-wide .ic-wide-off,
#watch-view.is-maxfill #player-wide .ic-wide { display: none; }
#watch-view.is-maxfill #player-wide .ic-wide-off { display: block; }
.player-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.55rem);
  width: 236px;
  padding: 0.7rem 0.8rem 0.75rem;
  background: rgba(14, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  pointer-events: auto;
  z-index: 6;
}
.player-menu-title {
  margin: 0 0 0.7rem;
  color: var(--mute);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.player-opt {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 0.95rem;
  color: #f3efe8;
  font-size: 0.82rem;
}
.player-opt:last-of-type { margin-bottom: 0; }
.player-opt span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.player-opt em {
  font-style: normal;
  color: var(--hot);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  font-weight: 600;
}
.player-opt input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.player-opt input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}
.player-opt input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--hot);
}
.player-opt input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}
.player-opt input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--hot);
}
.player-opt-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.player-switch {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 20px;
}
.player-switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.player-switch i {
  display: block;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.16s ease;
}
.player-switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease;
}
.player-switch input:checked + i { background: var(--hot); }
.player-switch input:checked + i::after { transform: translateX(16px); }
.player-opt-hint {
  display: none;
  margin: 0.55rem 0 0;
  color: var(--mute);
  font-size: 0.7rem;
}
#player::-webkit-media-controls,
#player::-webkit-media-controls-overlay-cast-button,
#intro-player::-webkit-media-controls,
#intro-player::-webkit-media-controls-overlay-cast-button {
  display: none !important;
}
.stage.is-zoomed .player-opt-hint { display: block; }
.player-bar button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}
.player-bar button:hover { background: rgba(255,255,255,.08); }
.player-bar svg { width: 18px; height: 18px; fill: currentColor; display: block; margin: 0 auto; }
#player-play .ic-pause,
.stage.is-playing #player-play .ic-play { display: none; }
.stage.is-playing #player-play .ic-pause { display: block; }
#player-mute .ic-mute,
.stage.is-muted #player-mute .ic-vol { display: none; }
.stage.is-muted #player-mute .ic-mute { display: block; }
#player-seek, #player-vol {
  accent-color: var(--hot);
  background: transparent;
}
#player-seek { flex: 1; height: 4px; min-width: 0; cursor: pointer; }
#player-vol { width: 52px; height: 4px; cursor: pointer; }
#player-time {
  color: #ece8e2;
  font-size: 0.74rem;
  white-space: nowrap;
  min-width: 0;
  margin: 0 0.1rem 0 0.15rem;
}
.stage:fullscreen, .stage:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  aspect-ratio: auto;
}

@media (max-width: 720px) {
  #player-vol { display: none; }
  #player-time { min-width: 0; }
  .player-ui .player-big { width: 58px; height: 58px; }
}
.watch-copy {
  width: min(100%, 960px);
  margin: 1rem auto 0;
}
.watch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}
#watch-title {
  margin: 0 0 0.3rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 500;
  flex: 1;
}
.report-open {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  padding: 0.38rem 0.85rem;
  cursor: pointer;
  font-size: 0.82rem;
}
.report-open:hover {
  color: var(--ink);
  border-color: rgba(255, 90, 106, 0.55);
}
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.report-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}
.report-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #141318;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.report-panel h2 {
  margin: 0 0 0.25rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.report-lead {
  margin: 0 0 1rem;
  color: var(--mute);
  font-size: 0.88rem;
}
.report-options {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.report-options legend {
  padding: 0 0.35rem;
  color: var(--mute);
  font-size: 0.78rem;
}
.report-options label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.35rem 0;
  cursor: pointer;
  font-size: 0.92rem;
}
.report-options input {
  margin-top: 0.2rem;
  accent-color: var(--hot);
}
.report-field {
  display: block;
  margin: 0 0 1rem;
}
.report-field span,
.report-captcha > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mute);
  font-size: 0.78rem;
}
.report-field textarea,
.report-captcha input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  outline: none;
  color: var(--ink);
  caret-color: var(--ink);
}
.report-field textarea:focus,
.report-captcha input:focus {
  border-color: rgba(255, 90, 106, 0.55);
}
.report-confirm {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--mute);
  cursor: pointer;
}
.report-confirm input {
  margin-top: 0.2rem;
  accent-color: var(--hot);
}
.report-captcha { margin: 0 0 1rem; }
.report-captcha-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.report-captcha img {
  display: block;
  width: 188px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #121116;
}
.report-refresh {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
.report-msg {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
}
.report-msg.err { color: var(--hot); }
.report-msg.ok { color: #7dcea0; }
.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.report-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  padding: 0.55rem 1rem;
  cursor: pointer;
}
.report-actions .report-submit {
  background: var(--hot);
  border-color: transparent;
  color: #14080a;
  font-weight: 650;
}
.report-actions .report-submit:disabled { opacity: 0.6; cursor: wait; }
.watch-meta { margin: 0; color: var(--mute); }
.watch-source {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 90, 106, 0.55);
}
.watch-source:hover { color: var(--hot); }
.watch-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0 1.6rem; }
.watch-tags a {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.8rem;
}
.watch-tags a:hover { color: var(--ink); border-color: rgba(255,255,255,0.2); }
.more-head {
  margin: 0 0 0.8rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1rem 1.3rem 1.4rem;
  color: var(--mute);
  font-size: 0.78rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.foot-host {
  margin: 0;
  flex: 1 1 16rem;
  line-height: 1.4;
}
.foot a, .foot-link {
  color: var(--mute);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.foot a:hover, .foot-link:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(7, 6, 10, 0.72);
}
.cookie-panel {
  width: min(720px, 100%);
  margin: 0;
  background: #141318;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem 0.95rem;
}
@media (max-width: 720px) {
  .cookie-banner {
    align-items: center;
    padding: 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
  .cookie-panel {
    width: 100%;
    max-height: min(86dvh, 86vh);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.15rem 1.1rem 1.2rem;
  }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button {
    width: 100%;
    min-height: 46px;
  }
}
.cookie-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.cookie-panel p {
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 0.88rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-actions button {
  min-width: 8.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}
.cookie-actions .cookie-accept {
  background: var(--hot);
  border-color: transparent;
  color: #14080a;
  font-weight: 650;
}
.cookie-more {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--mute);
  font-size: 0.8rem;
}
.cookie-more:hover { color: var(--ink); }

.empty {
  grid-column: 1 / -1;
  color: var(--mute);
  padding: 3rem 0.5rem;
  text-align: center;
}

@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top { flex-wrap: wrap; gap: 0.65rem; padding: 0.7rem 0.9rem; }
  .lucky { display: none; }
  .top-tools { max-width: none; width: 100%; flex-basis: 100%; margin: 0; }
  .seek { max-width: none; width: 100%; margin: 0; }
  .top-count { display: none; }
  .strip h1 { font-size: 1.35rem; }
}
@media (hover: none) and (pointer: coarse) {
  .lucky { display: none; }
}
