:root {
  --sakura: #ffb7d5;
  --sakura-deep: #ff7fb2;
  --sakura-soft: #ffe3ef;
  --walnut: #6b3f22;
  --walnut-deep: #3d2113;
  --walnut-mid: #8a5730;
  --ink: #2a1710;
  --cream: #fff6f0;
  --bg-top: #241018;
  --bg-mid: #1b0d14;
  --bg-bottom: #120810;
  --line: rgba(255, 183, 213, 0.28);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.35);
  --font-round: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-round);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(255, 127, 178, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 4%, rgba(138, 87, 48, 0.28), transparent 62%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--sakura);
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: 0.82rem;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
ul, ol {
  list-style: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 10px clamp(12px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(36, 16, 24, 0.94), rgba(27, 13, 20, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.header-brand {
  display: flex;
  align-items: center;
}
a[data-contract="site-name"] {
  color: var(--sakura);
  text-decoration: none;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 14px 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 127, 178, 0.22), rgba(107, 63, 34, 0.35));
  border: 2px solid var(--line);
  text-shadow: 0 2px 0 rgba(61, 33, 19, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a[data-contract="site-name"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 127, 178, 0.35);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  color: var(--sakura-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(107, 63, 34, 0.55);
  border: 1px solid rgba(255, 183, 213, 0.3);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
a.runtime-category:hover {
  background: var(--sakura-deep);
  color: #2a1710;
  transform: translateY(-1px);
}
.page-main {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(12px, 2.2vw, 26px) clamp(12px, 3vw, 30px) 34px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(58, 28, 40, 0.92), rgba(34, 16, 24, 0.94)),
    radial-gradient(600px 300px at 80% 0%, rgba(255, 127, 178, 0.16), transparent 70%);
  border: 2px solid rgba(255, 183, 213, 0.22);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 183, 213, 0.12) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 62%, rgba(255, 183, 213, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 86%, rgba(255, 183, 213, 0.1) 0 2px, transparent 3px);
  opacity: 0.7;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  align-self: start;
  border-radius: var(--radius-md);
  padding: 6px;
  background: linear-gradient(150deg, var(--sakura-deep), var(--walnut-mid) 55%, var(--walnut-deep));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.overview-poster {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  color: #fff;
  text-shadow: 0 3px 0 rgba(139, 44, 90, 0.55), 0 0 18px rgba(255, 127, 178, 0.35);
}
.movie-tagline {
  font-size: clamp(0.86rem, 1.7vw, 1rem);
  color: var(--sakura);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px 999px 999px 6px;
  background: rgba(107, 63, 34, 0.5);
  border-left: 4px solid var(--sakura-deep);
  align-self: flex-start;
}
.overview-player-wrap {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(20, 8, 14, 0.9), rgba(40, 18, 28, 0.9));
  border: 2px solid rgba(255, 183, 213, 0.2);
}
.player-video {
  border-radius: var(--radius-sm);
  background: #0b0509;
  width: 100%;
  max-width: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  border: 1px solid rgba(255, 183, 213, 0.32);
  background: rgba(107, 63, 34, 0.6);
  color: var(--sakura-soft);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
.player-btn:hover {
  background: var(--sakura-deep);
  color: var(--ink);
  transform: translateY(-1px);
}
.player-btn.is-playing, .player-btn.is-active, .player-btn.is-muted {
  background: var(--sakura-deep);
  color: var(--ink);
  border-color: var(--sakura);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 0;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--sakura-deep), var(--walnut-mid));
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sakura);
  border: 2px solid var(--walnut-deep);
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sakura);
  border: 2px solid var(--walnut-deep);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 183, 213, 0.35);
  cursor: pointer;
}
.player-speed {
  border: 1px solid rgba(255, 183, 213, 0.32);
  background: rgba(107, 63, 34, 0.6);
  color: var(--sakura-soft);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.episode-status {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 183, 213, 0.08);
  border: 1px dashed rgba(255, 183, 213, 0.32);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.status-heading {
  font-size: 0.95rem;
  color: var(--sakura);
  width: 100%;
}
.status-detail {
  font-size: 0.82rem;
  color: var(--sakura-soft);
  font-weight: 600;
}
.cast-section {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(107, 63, 34, 0.22);
  border: 1px solid rgba(255, 183, 213, 0.16);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 1rem;
  color: var(--sakura);
  margin-bottom: 8px;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(255, 183, 213, 0.4);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(140deg, var(--sakura) 0%, var(--sakura-deep) 45%, var(--walnut-mid) 100%);
  border: 2px solid var(--sakura-soft);
  box-shadow: 0 4px 12px rgba(255, 127, 178, 0.28);
}
.cast-member:nth-child(even) .cast-avatar {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 45%),
    linear-gradient(140deg, #ffd9e6 0%, #c98a5a 50%, var(--walnut-deep) 100%);
}
.cast-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sakura-soft);
  text-align: center;
  white-space: nowrap;
}
.synopsis-section {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 183, 213, 0.06);
  border: 1px solid rgba(255, 183, 213, 0.14);
}
.synopsis-para {
  font-size: 0.84rem;
  color: #f4dbe6;
  margin-bottom: 7px;
  text-indent: 1.6em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-section {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(107, 63, 34, 0.22);
  border: 1px solid rgba(255, 183, 213, 0.14);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px 12px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(20, 8, 14, 0.35);
  border-left: 3px solid var(--sakura-deep);
}
.detail-key {
  font-size: 0.74rem;
  color: var(--sakura);
  font-weight: 700;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 0.78rem;
  color: var(--cream);
  font-weight: 600;
  min-width: 0;
}
.timeline-heading, .episodes-heading, .comments-heading, .region-heading {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #fff;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 999px 999px 999px 6px;
  background: linear-gradient(135deg, rgba(255, 127, 178, 0.32), rgba(107, 63, 34, 0.5));
  border: 2px solid rgba(255, 183, 213, 0.3);
  text-shadow: 0 2px 0 rgba(61, 33, 19, 0.6);
}
.timeline-heading::before, .episodes-heading::before, .comments-heading::before {
  content: "🌸";
  font-size: 0.85em;
}
.timeline-section {
  padding: clamp(12px, 2vw, 18px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(48, 22, 32, 0.85), rgba(28, 13, 20, 0.9));
  border: 2px solid rgba(255, 183, 213, 0.18);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: var(--sakura-deep) transparent;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--sakura-deep), var(--walnut-mid));
  border-radius: 999px;
}
.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 4px 6px 2px;
  position: relative;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 183, 213, 0.15), var(--sakura-deep), rgba(255, 183, 213, 0.15));
  z-index: 0;
}
.timeline-node:first-child::before {
  left: 50%;
}
.timeline-node:last-child::before {
  right: 50%;
}
.timeline-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: radial-gradient(circle at 35% 30%, #fff0f6, var(--sakura) 55%, var(--sakura-deep) 100%);
  border: 3px solid var(--walnut-deep);
  box-shadow: 0 0 0 3px rgba(255, 127, 178, 0.28), 0 5px 14px rgba(0, 0, 0, 0.4);
}
.timeline-timecode {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--sakura-soft);
  padding: 1px 10px;
  border-radius: 999px;
  border: 1px solid var(--sakura-deep);
}
.timeline-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f6dbe7;
  line-height: 1.4;
}
.episodes-section {
  padding: clamp(12px, 2vw, 18px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(48, 22, 32, 0.85), rgba(28, 13, 20, 0.9));
  border: 2px solid rgba(255, 183, 213, 0.18);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 12px 14px 12px 62px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 183, 213, 0.14), rgba(107, 63, 34, 0.3));
  border: 1px solid rgba(255, 183, 213, 0.2);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 64px;
  height: 64px;
  border-radius: 50% 50% 50% 8px;
  background: rgba(255, 127, 178, 0.14);
  transform: rotate(18deg);
  pointer-events: none;
}
.episode-card:hover {
  transform: translateY(-2px);
  border-color: var(--sakura-deep);
  box-shadow: 0 8px 20px rgba(255, 127, 178, 0.22);
}
.episode-number {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 8px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  background: linear-gradient(140deg, var(--sakura-soft), var(--sakura-deep));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.episode-title {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}
.episode-summary {
  font-size: 0.78rem;
  color: #f1d6e2;
  margin-bottom: 8px;
}
.episode-duration {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sakura);
  padding: 1px 10px;
  border-radius: 999px;
  background: rgba(20, 8, 14, 0.5);
  border: 1px solid rgba(255, 183, 213, 0.3);
}
.comments-section {
  padding: clamp(12px, 2vw, 18px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(48, 22, 32, 0.85), rgba(28, 13, 20, 0.9));
  border: 2px solid rgba(255, 183, 213, 0.18);
}
.comments-masonry {
  column-count: 3;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 12px;
  padding: 11px 13px;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 6px;
  border: 1px solid rgba(61, 33, 19, 0.4);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  color: var(--ink);
}
.comment-card:nth-child(5n + 1) {
  background: linear-gradient(140deg, #ffd7e7, #ffa9cb);
}
.comment-card:nth-child(5n + 2) {
  background: linear-gradient(140deg, #ffe8c9, #ffc98a);
}
.comment-card:nth-child(5n + 3) {
  background: linear-gradient(140deg, #d8f0ff, #a8d8f5);
}
.comment-card:nth-child(5n + 4) {
  background: linear-gradient(140deg, #e6dcff, #c0aaf2);
}
.comment-card:nth-child(5n + 5) {
  background: linear-gradient(140deg, #d8f5df, #a3e0b4);
}
.comment-nickname {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--walnut-deep);
  margin-bottom: 5px;
  padding-bottom: 2px;
  border-bottom: 2px dotted rgba(61, 33, 19, 0.35);
}
.comment-text {
  font-size: 0.8rem;
  color: #33200f;
  line-height: 1.5;
}
.recommendations-region {
  padding: clamp(12px, 2vw, 18px);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 183, 213, 0.2);
}
.region-1 {
  background: linear-gradient(180deg, rgba(255, 183, 213, 0.16), rgba(48, 22, 32, 0.9));
}
.region-2 {
  background: linear-gradient(180deg, rgba(138, 87, 48, 0.28), rgba(28, 13, 20, 0.92));
}
.region-3 {
  background: linear-gradient(180deg, rgba(168, 216, 245, 0.14), rgba(28, 13, 20, 0.92));
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(20, 8, 14, 0.55);
  border: 1px solid rgba(255, 183, 213, 0.2);
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}
a.recommendation-card:hover {
  transform: translateY(-3px);
  border-color: var(--sakura-deep);
  box-shadow: 0 8px 20px rgba(255, 127, 178, 0.26);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0b0509;
}
.recommendation-pic {
  display: block;
}
.recommendation-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}
.recommendation-blurb {
  font-size: 0.74rem;
  color: #eccfdc;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  padding: clamp(16px, 3vw, 28px) clamp(14px, 3vw, 34px) 30px;
  background: linear-gradient(180deg, rgba(27, 13, 20, 0.6), rgba(18, 8, 16, 0.95));
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sakura);
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(107, 63, 34, 0.55);
  border: 1px solid rgba(255, 183, 213, 0.3);
}
a.runtime-friend-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sakura-soft);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 183, 213, 0.1);
  border: 1px solid rgba(255, 183, 213, 0.18);
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-friend-link:hover {
  background: var(--sakura-deep);
  color: var(--ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sakura);
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 183, 213, 0.35);
  background: rgba(107, 63, 34, 0.4);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  background: var(--sakura-deep);
  color: var(--ink);
  transform: translateY(-1px);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: #c9a8b8;
  line-height: 1.6;
  max-width: 900px;
}
.player {
  position: relative;
}
.player .click, .player.pause, .player.play, .player.progress, .player.speed, .player.volume, .player.mute, .player.pip, .player.fullscreen, .player.theater, .player.light, .player.input, .player.timeupdate, .player.change {
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.movie-overview.theater-mode {
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(180deg, #0b0509, #1b0d14);
  border-color: var(--sakura-deep);
}
.movie-overview.theater-mode .overview-poster-wrap {
  display: none;
}
body.lights-off {
  background: #050206;
}
body.lights-off .page-main {
  opacity: 0.92;
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 2;
  }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
.comments-masonry {
    column-count: 2;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px 10px 24px;
    gap: 14px;
  }
.site-header {
    padding: 8px 12px;
    gap: 6px 12px;
  }
.movie-overview {
    padding: 12px;
    gap: 12px;
  }
.overview-poster-wrap {
    max-width: 220px;
  }
.comments-masonry {
    column-count: 1;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
.timeline-node {
    width: 140px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 420px) {.cast-member {
    width: 54px;
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    padding: 3px 8px;
    font-size: 0.7rem;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
