:root {
  --ink: #1c1917;
  --ink-soft: #3a3430;
  --paper: #efe7db;
  --paper-deep: #e2d7c6;
  --wall: #d6c8b4;
  --wall-dark: #b9a68d;
  --brick: #8a6f55;
  --red-cord: #c1362b;
  --red-cord-deep: #9e241d;
  --warm-brown: #5e4a38;
  --charcoal: #2b2723;
  --muted: #7a6a58;
  --line: rgba(94, 74, 56, 0.28);
  --title-font: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "STSong", serif;
  --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --shadow-soft: 0 2px 0 rgba(94, 74, 56, 0.18), 0 10px 24px -18px rgba(28, 25, 23, 0.55);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(193, 54, 43, 0.06), transparent 55%),
    repeating-linear-gradient(0deg, rgba(94, 74, 56, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #d9cbb7 0%, #e6dbca 42%, #dccfbb 100%);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(43, 39, 35, 0.94);
  border-bottom: 2px solid var(--red-cord-deep);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
a[data-contract="site-name"].brand-mark {
  font-family: var(--title-font);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f3e6d4;
  text-decoration: none;
  padding: 2px 2px 2px 12px;
  border-left: 4px solid var(--red-cord);
  border-radius: 2px 6px 6px 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"].brand-mark:hover {
  color: #ffffff;
  border-left-color: #e04a3b;
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(243, 230, 212, 0.32);
  background: rgba(243, 230, 212, 0.06);
  color: #e8d9c4;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  background: var(--red-cord);
  border-color: var(--red-cord);
  color: #fff8ef;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-heading {
  font-family: var(--title-font);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--warm-brown);
  padding-left: 11px;
  border-left: 4px solid var(--red-cord);
  margin-bottom: 8px;
  line-height: 1.3;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  grid-template-areas:
    "media copy"
    "cast cast"
    "synopsis synopsis"
    "status details";
  align-items: start;
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.72), rgba(233, 222, 206, 0.62)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px 10px 12px 16px;
  box-shadow: var(--shadow-soft);
}
.hero-media {
  grid-area: media;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  min-width: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  border-radius: 10px 14px 12px 10px;
  overflow: hidden;
  border: 1px solid rgba(94, 74, 56, 0.35);
  background: var(--wall-dark);
  box-shadow: 0 8px 22px -16px rgba(28, 25, 23, 0.85);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(198deg, rgba(255, 244, 228, 0.16), transparent 46%),
    repeating-linear-gradient(0deg, rgba(28, 25, 23, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-caption {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-left: 9px;
  border-left: 2px solid rgba(193, 54, 43, 0.5);
}
.hero-copy {
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.movie-title {
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 4.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.55);
}
.movie-tagline {
  font-family: var(--title-font);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  color: var(--red-cord-deep);
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(94, 74, 56, 0.42);
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 8px;
  border-radius: 12px 8px 12px 10px;
  background: linear-gradient(180deg, #35302b, #23201c);
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.06), 0 10px 26px -20px rgba(0, 0, 0, 0.9);
  transition: background 0.25s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(243, 230, 212, 0.14);
}
.player-controls button {
  flex: 0 0 auto;
  cursor: pointer;
  padding: 4px 9px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border-radius: 7px 5px 8px 6px;
  border: 1px solid rgba(243, 230, 212, 0.28);
  background: rgba(243, 230, 212, 0.07);
  color: #e6d6c0;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.player-controls button:hover {
  background: rgba(193, 54, 43, 0.55);
  border-color: rgba(193, 54, 43, 0.9);
  color: #fff7ec;
}
.player-controls button:active {
  transform: translateY(1px);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 0;
  height: 4px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--red-cord), rgba(243, 230, 212, 0.24));
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-progress {
  flex: 3 1 160px;
}
.ctrl-volume {
  flex: 1 1 70px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2e2cb;
  border: 2px solid var(--red-cord-deep);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f2e2cb;
  border: 2px solid var(--red-cord-deep);
}
.player-shell.is-theater {
  background: linear-gradient(180deg, #1a1714, #100e0c);
  box-shadow: inset 0 0 0 1px rgba(193, 54, 43, 0.35), 0 14px 34px -22px rgba(0, 0, 0, 0.95);
}
.player-shell.is-lights-down video {
  filter: brightness(0.42) saturate(0.7);
}
.player-controls button.is-active {
  background: var(--red-cord);
  border-color: var(--red-cord);
  color: #fff8ef;
}
.player-controls button.is-playing {
  background: rgba(193, 54, 43, 0.72);
  border-color: rgba(193, 54, 43, 1);
  color: #fff8ef;
}
.player-controls button.is-muted {
  color: #8f8171;
  border-style: dashed;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(94, 74, 56, 0.34);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px 6px 10px 8px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.8), rgba(226, 215, 198, 0.55));
  border: 1px solid rgba(94, 74, 56, 0.2);
  border-left: 3px solid rgba(193, 54, 43, 0.62);
}
.cast-name {
  font-family: var(--title-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}
.cast-role {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 1px;
}
.cast-sign {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(94, 74, 56, 0.16);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(94, 74, 56, 0.34);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  align-items: start;
}
.synopsis-para {
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-para::first-letter {
  font-family: var(--title-font);
  font-size: 1.12em;
  color: var(--red-cord-deep);
}
.status-panel {
  grid-area: status;
  min-width: 0;
  align-self: start;
  padding: 10px 12px;
  border-radius: 10px 6px 10px 8px;
  background: rgba(43, 39, 35, 0.055);
  border: 1px solid rgba(94, 74, 56, 0.2);
}
.status-line {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.status-meter {
  width: 100%;
  height: 20px;
  border-radius: 999px;
  background: rgba(94, 74, 56, 0.18);
  border: 1px solid rgba(94, 74, 56, 0.28);
  overflow: hidden;
}
.meter-fill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 69.4%;
  padding-right: 9px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #fff3e6;
  white-space: nowrap;
  background: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14) 0 5px,
      transparent 5px 10px
    ),
    linear-gradient(90deg, var(--red-cord-deep), var(--red-cord));
  border-radius: 999px;
}
.details-panel {
  grid-area: details;
  min-width: 0;
  align-self: start;
  padding: 10px 12px;
  border-radius: 10px 6px 10px 8px;
  background: rgba(43, 39, 35, 0.055);
  border: 1px solid rgba(94, 74, 56, 0.2);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(94, 74, 56, 0.26);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.detail-value {
  min-width: 0;
  font-size: 0.8rem;
  text-align: right;
  color: var(--ink);
}
.timeline-panel {
  min-width: 0;
  padding: 12px 14px 14px;
  border-radius: 12px 8px 12px 10px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.62), rgba(226, 215, 198, 0.5));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 4px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--red-cord) 0 10px,
    var(--red-cord-deep) 10px 20px
  );
  opacity: 0.85;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 1 0 168px;
  scroll-snap-align: start;
  padding: 16px 12px 8px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-cord);
  border: 2px solid #f6ecdd;
  box-shadow: 0 0 0 2px rgba(158, 36, 29, 0.45);
}
.node-time {
  display: block;
  font-family: var(--title-font);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red-cord-deep);
}
.node-label {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid rgba(94, 74, 56, 0.18);
  padding-top: 5px;
}
.episodes-panel {
  min-width: 0;
  padding: 12px 14px 14px;
  border-radius: 12px 8px 12px 10px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.62), rgba(226, 215, 198, 0.5));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 7px;
  min-width: 0;
  padding: 7px 10px 7px 13px;
  border-radius: 8px 5px 9px 7px;
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid rgba(94, 74, 56, 0.18);
  border-left: 3px solid rgba(94, 74, 56, 0.42);
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--title-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--warm-brown);
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.episode-summary {
  flex: 1 1 100%;
  margin-top: 3px;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px dotted rgba(94, 74, 56, 0.24);
  padding-top: 4px;
}
.episode-item.is-current {
  background: linear-gradient(180deg, #332d28, #241f1b);
  border-color: rgba(193, 54, 43, 0.75);
  border-left-color: var(--red-cord);
  box-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.9);
}
.episode-item.is-current .episode-number {
  color: #f0a89b;
}
.episode-item.is-current .episode-title {
  color: #fdf3e6;
}
.episode-item.is-current .episode-duration {
  color: #bda88f;
}
.episode-item.is-current .episode-summary {
  color: #e0d2bd;
  border-top-color: rgba(243, 230, 212, 0.28);
}
.comments-panel {
  min-width: 0;
  padding: 12px 14px 14px;
  border-radius: 12px 8px 12px 10px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.62), rgba(226, 215, 198, 0.5));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.comment-block {
  min-width: 0;
  padding: 7px 10px;
  border-radius: 9px 5px 10px 7px;
  background: rgba(43, 39, 35, 0.07);
}
.comment-block:nth-child(2n) {
  background: rgba(193, 54, 43, 0.09);
}
.comment-block:nth-child(3n) {
  background: rgba(255, 253, 248, 0.72);
}
.comment-nick {
  font-family: var(--title-font);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--warm-brown);
}
.comment-nick::before {
  content: "／ ";
  color: var(--red-cord);
}
.comment-text {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rec-region {
  min-width: 0;
  padding: 12px 14px 14px;
  border-radius: 12px 8px 12px 10px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.62), rgba(226, 215, 198, 0.5));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.rec-title {
  font-family: var(--title-font);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-brown);
  padding-left: 10px;
  border-left: 4px solid var(--red-cord);
  margin-bottom: 8px;
  line-height: 1.3;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  border-radius: 9px 6px 10px 7px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(94, 74, 56, 0.2);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.rec-item:hover {
  transform: translateY(-2px);
  border-color: rgba(193, 54, 43, 0.6);
  box-shadow: 0 10px 22px -18px rgba(28, 25, 23, 0.9);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 6px 4px 7px 5px;
  background: var(--wall-dark);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--charcoal);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a.rec-item:hover [data-runtime="name"] {
  color: var(--red-cord-deep);
}
.rec-region-2 .rec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-region-3 .rec-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rec-region-1 .rec-grid, .rec-region-4 .rec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.site-footer {
  margin-top: 6px;
  padding: 18px 14px 26px;
  background: linear-gradient(180deg, #2b2723, #1c1917);
  border-top: 3px solid var(--red-cord-deep);
  color: #cdbba5;
  font-size: 0.8rem;
}
.footer-nav {
  max-width: 1240px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(243, 230, 212, 0.16);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #e8d9c4;
  text-decoration: none;
  border-bottom: 1px solid rgba(193, 54, 43, 0.65);
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffd9cf;
  border-bottom-color: var(--red-cord);
}
.friend-links {
  max-width: 1240px;
  margin: 0 auto 14px;
}
.friend-heading {
  font-family: var(--title-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e8d9c4;
  padding-left: 10px;
  border-left: 3px solid var(--red-cord);
  margin-bottom: 8px;
}
.friend-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px 12px;
}
a.runtime-friend-link {
  display: block;
  min-width: 0;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: #bda88f;
  text-decoration: none;
  padding: 2px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #f0a89b;
  text-decoration: underline;
  text-decoration-color: rgba(193, 54, 43, 0.8);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 230, 212, 0.12);
  font-size: 0.72rem;
  line-height: 1.7;
  color: #8f8171;
  letter-spacing: 0.02em;
}
@media (max-width: 1080px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-areas:
      "media copy"
      "cast cast"
      "synopsis synopsis"
      "status details";
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-region-1 .rec-grid, .rec-region-4 .rec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.rec-region-2 .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region-3 .rec-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.friend-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "copy"
      "cast"
      "synopsis"
      "status"
      "details";
    gap: 12px;
  }
.hero-media {
    max-width: 420px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid, .rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid, .rec-region-4 .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.friend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-node {
    flex-basis: 152px;
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 10px 20px;
    gap: 10px;
  }
.hero-panel {
    padding: 10px;
    border-radius: 10px 6px 10px 8px;
  }
.hero-media {
    max-width: 100%;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-item {
    padding: 6px 8px 6px 10px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid, .rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid, .rec-region-4 .rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.friend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls button {
    font-size: 0.7rem;
    padding: 4px 7px;
  }
.timeline-node {
    flex-basis: 140px;
  }
.meter-fill {
    font-size: 0.62rem;
    padding-right: 6px;
  }}
@media (max-width: 420px) {.header-inner {
    padding: 7px 10px;
  }
a[data-contract="site-name"].brand-mark {
    font-size: 1.05rem;
  }
.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid, .rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid, .rec-region-4 .rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
