*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --bg: #e9e2d8;
  --bg-2: #f3ece2;
  --paper: #fbf6ee;
  --ink: #3a2a20;
  --ink-soft: #6b5647;
  --ink-faint: #8d7968;
  --line: #d9cbba;
  --tap: #c8452b;
  --tap-soft: #e0917c;
  --tape-blue: #8fb6c9;
  --tape-blue-deep: #5e879b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(58, 42, 32, 0.06), 0 6px 14px -10px rgba(58, 42, 32, 0.45);
  --gap: 14px;
}
body {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(200, 69, 43, 0.06), transparent 60%),
    radial-gradient(120% 90% at 90% 10%, rgba(143, 182, 201, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%, var(--bg));
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, .block-title, .rec-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 236, 226, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  width: 100%;
}
.site-logo {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 10px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
a[data-contract="site-name"] { color: var(--ink); text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--tap); }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px dashed var(--tape-blue-deep);
  color: var(--tape-blue-deep);
  text-decoration: none;
}
a.runtime-category { color: var(--tape-blue-deep); text-decoration: none; }
a.runtime-category:hover { background: var(--tape-blue); color: #2c3d45; }
.page-main {
  display: block;
  padding: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.block { margin-bottom: 18px; }
.block-title {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
}
.block-title::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--tap), var(--tap-soft));
}
.rec-title {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "copy frame"
    "body body";
  gap: 16px;
  align-items: start;
  padding: 10px 0 22px;
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tape-blue-deep);
  background: rgba(143, 182, 201, 0.22);
  border: 1px solid rgba(94, 135, 155, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}
.hero-title {
  font-size: clamp(24px, 3.6vw, 42px);
  position: relative;
  color: var(--ink);
  text-shadow:
    1.5px 0 0 rgba(200, 69, 43, 0.38),
    -1.5px 0 0 rgba(143, 182, 201, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}
.hero-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--tap);
  border-bottom: 2px dotted var(--tap-soft);
  padding-bottom: 3px;
}
.hero-lede {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.btn-play, .btn-theater, .btn-light {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn-play {
  background: linear-gradient(180deg, var(--tap), #a8351f);
  color: #fff5ef;
  border-color: #8f2c19;
}
.btn-theater { background: linear-gradient(180deg, #f7f1e8, #eadfd0); }
.btn-light { background: linear-gradient(180deg, #f7f1e8, #e6ecef); }
.btn-play:hover, .btn-theater:hover, .btn-light:hover { transform: translateY(-1px); }
.btn-theater:hover { background: var(--tape-blue); color: #23343b; }
.btn-light:hover { background: #4a382d; color: #f3ece2; }
.camcorder-frame {
  grid-area: frame;
  position: relative;
  background: linear-gradient(180deg, #4b3a2e, #2f241d);
  border-radius: 18px;
  padding: 12px 12px 8px;
  box-shadow: 0 18px 30px -20px rgba(35, 25, 18, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid #241b15;
  width: 100%;
}
.camcorder-viewfinder {
  position: relative;
  background: #14100d;
  border-radius: 12px;
  padding: 26px 6px 6px;
  overflow: hidden;
}
.camcorder-viewfinder::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55));
  border-radius: 12px;
}
.camcorder-hud {
  position: absolute;
  top: 7px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #e8d9c8;
  z-index: 3;
}
.hud-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff6b52;
  font-weight: 800;
}
.hud-rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4023;
  box-shadow: 0 0 6px rgba(255, 64, 35, 0.9);
  animation: rec-blink 1.6s steps(2, end) infinite;
}
@keyframes rec-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }
.hud-timecode {
  font-variant-numeric: tabular-nums;
  color: #cfc0ae;
}
.camcorder-pip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 26%;
  min-width: 84px;
  max-width: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232, 217, 200, 0.55);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.8);
  z-index: 4;
  background: #1b1511;
}
.pip-still {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.camcorder-player {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
  position: relative;
  z-index: 2;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 2px 2px;
}
.player-controls button, .player-controls select {
  background: rgba(243, 236, 226, 0.1);
  border: 1px solid rgba(232, 217, 200, 0.3);
  color: #e8d9c8;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  cursor: pointer;
  white-space: nowrap;
}
.player-controls button:hover, .player-controls select:hover { background: rgba(200, 69, 43, 0.35); color: #fff; }
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(232, 217, 200, 0.28);
  cursor: pointer;
  min-width: 60px;
  flex: 1 1 70px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tap);
  border: 1px solid #ffd9cd;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #ffd9cd;
  border-radius: 50%;
  background: var(--tap);
}
.player-controls select { background: #3a2c22; }
.player-controls option { color: #f3ece2; background: #3a2c22; }
.camcorder-caption {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #b9a794;
  padding: 7px 4px 2px;
  text-align: right;
}
.camcorder-frame.is-theater {
  transform: scale(1.01);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.is-lights-off { background: #17120e; }
body.is-lights-off .camcorder-frame { box-shadow: 0 0 0 1px rgba(255, 107, 82, 0.35), 0 26px 60px -20px rgba(0, 0, 0, 0.95); }
.overview-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.poster-column { min-width: 0; }
.poster-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
}
.poster-wrap img[data-contract="main-poster"] {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.poster-caption {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
  letter-spacing: 0.06em;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.overview-info .block {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.overview-info .block:last-child { border-bottom: 0; padding-bottom: 0; }
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px 3px 3px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--tape-blue-deep);
  background: var(--tape-blue);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}
.cast-name {
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
}
.cast-role {
  font-size: 11.5px;
  color: var(--tap);
  white-space: nowrap;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(143, 182, 201, 0.2);
  border: 1px solid rgba(94, 135, 155, 0.4);
  color: #3c5763;
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  background: rgba(200, 69, 43, 0.12);
  border-color: rgba(200, 69, 43, 0.4);
  color: #a8351f;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(217, 203, 186, 0.8);
  min-width: 0;
}
.detail-item dt {
  color: var(--ink-faint);
  flex: 0 0 auto;
  font-size: 11.5px;
}
.detail-item dd {
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
}
.film-strip {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 4px 14px;
  background:
    repeating-linear-gradient(90deg, rgba(58, 42, 32, 0.16) 0 8px, transparent 8px 18px) top / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(58, 42, 32, 0.16) 0 8px, transparent 8px 18px) bottom / 100% 9px no-repeat,
    linear-gradient(180deg, #33261e, #241a14);
  border-radius: var(--radius);
  scrollbar-width: thin;
}
.film-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
  min-width: max-content;
  padding: 4px 6px;
}
.film-frame {
  flex: 0 0 auto;
  width: 186px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(180deg, #fdf8f0, #efe4d5);
  border: 1px solid #b9a794;
  border-radius: 6px;
  padding: 8px 9px 10px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.frame-timecode {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--tap);
  border-radius: 4px;
  padding: 1px 6px;
  align-self: flex-start;
}
.frame-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(180deg, #fdf8f0, #f2e8db);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 11px;
  box-shadow: var(--shadow);
  align-self: start;
}
.episode-card::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 0;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--tape-blue), var(--tape-blue-deep));
}
.episode-card:nth-child(3n)::before { background: linear-gradient(180deg, var(--tap-soft), var(--tap)); }
.tape-label {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7a2a17;
  background: rgba(200, 69, 43, 0.16);
  border: 1px dashed rgba(200, 69, 43, 0.55);
  border-radius: 4px;
  padding: 1px 7px;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.episode-duration {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  align-self: flex-end;
  margin-top: auto;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  padding: 6px 0 4px;
}
.comment-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px 14px 12px 13px;
  padding: 10px 12px 11px;
  box-shadow: 0 8px 16px -12px rgba(58, 42, 32, 0.6);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-card:nth-child(2n) { transform: rotate(-0.5deg); background: #fbf4e6; }
.comment-card:nth-child(3n) { transform: rotate(0.6deg); background: #f4f1ea; }
.comment-card:nth-child(4n) { transform: rotate(-0.3deg) translateY(6px); }
.comment-nick {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--tape-blue-deep);
  letter-spacing: 0.03em;
}
.comment-nick::before { content: "— "; color: var(--tap-soft); }
.comment-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}
.rec-section { margin-bottom: 18px; }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  align-self: start;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.rec-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  background: var(--bg-2);
}
.rec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px -16px rgba(58, 42, 32, 0.75);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
a.rec-card { color: var(--ink); text-decoration: none; }
a.rec-card:hover { color: var(--tap); border-color: var(--tap-soft); }
.site-footer {
  margin-top: 26px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #2f241d, #241a14);
  color: #cbb9a6;
  border-top: 3px solid var(--tap);
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #a8977f;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-links a {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 185, 166, 0.3);
  background: rgba(243, 236, 226, 0.07);
}
a[data-contract="footer-home"] { color: #f0e3d2; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: var(--tap-soft); text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: var(--tape-blue); text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #fff; text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 4px;
  border-top: 1px dashed rgba(203, 185, 166, 0.25);
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8d7968;
  text-transform: uppercase;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: #b9c9d1;
  text-decoration: none;
  border-bottom: 1px dotted rgba(185, 201, 209, 0.45);
}
a.runtime-friend-link { color: #b9c9d1; text-decoration: none; }
a.runtime-friend-link:hover { color: #fff; text-decoration: underline; }
.footer-copy {
  font-size: 11px;
  color: #7d6c59;
  letter-spacing: 0.06em;
}
@media (max-width: 960px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "frame"
      "body";
  }
.overview-body { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 260px; }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 12px; }
.header-inner { padding: 7px 12px; }
.hero-section { gap: 12px; padding-bottom: 16px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card { transform: none !important; }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.camcorder-pip { width: 32%; min-width: 72px; }}
@media (max-width: 460px) {.rec-grid { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: none; }
.cast-card { padding-right: 10px; }
.film-frame { width: 164px; }
.player-controls input[type="range"] { flex: 1 1 100%; }}

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}
