*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:root {
  --rust: #8c3a24;
  --rust-deep: #5e2416;
  --rust-bright: #b4501f;
  --steel: #2b3238;
  --steel-2: #1c2126;
  --cold: #6d7d8a;
  --cold-2: #9aa8b2;
  --warn: #e0a91b;
  --paper: #d9d2c6;
  --paper-dim: #a89f92;
  --ink: #14171a;
  --line: rgba(154, 168, 178, 0.22);
  --line-strong: rgba(154, 168, 178, 0.4);
  --gap: 12px;
  --gap-tight: 8px;
  --font: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: #101315;
  background-image:
    linear-gradient(160deg, rgba(140, 58, 36, 0.14) 0%, rgba(16, 19, 21, 0) 46%),
    linear-gradient(200deg, rgba(43, 50, 56, 0.5) 0%, rgba(16, 19, 21, 0) 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--steel-2) 0%, #232a30 60%, #1a1f24 100%);
  border-bottom: 2px solid var(--rust-deep);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  padding: 2px 12px 2px 10px;
  border-left: 5px solid var(--rust-bright);
  background: linear-gradient(90deg, rgba(140, 58, 36, 0.34), rgba(140, 58, 36, 0));
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.site-brand:hover { color: var(--warn); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--cold-2);
  padding: 4px 11px;
  border: 1px solid var(--line);
  background: rgba(109, 125, 138, 0.1);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--warn);
  border-color: var(--warn);
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 20px 26px;
}
.section-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--paper-dim);
  text-transform: uppercase;
  padding: 3px 0 3px 9px;
  border-left: 4px solid var(--rust-bright);
  margin-bottom: 8px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
  padding: 18px 18px 26px;
  margin: 0 -20px 18px;
  background:
    linear-gradient(115deg, rgba(20, 23, 26, 0.96) 0%, rgba(28, 33, 38, 0.86) 48%, rgba(94, 36, 22, 0.42) 100%),
    linear-gradient(0deg, #14181b, #14181b);
  border-bottom: 3px solid var(--rust-deep);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 34%;
  width: 160%;
  height: 46px;
  background: linear-gradient(90deg, rgba(109, 125, 138, 0.26), rgba(109, 125, 138, 0));
  transform: rotate(-13deg);
  transform-origin: left top;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--warn) 0 22px, rgba(224, 169, 27, 0) 22px 44px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 260px;
  position: relative;
  border: 1px solid var(--line-strong);
  outline: 1px solid rgba(140, 58, 36, 0.5);
  outline-offset: 4px;
  background: #0c0e10;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.06);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow: 3px 3px 0 rgba(140, 58, 36, 0.55);
}
.movie-tagline {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warn);
  padding-left: 10px;
  border-left: 3px solid var(--rust-bright);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--cold-2);
  max-width: 68ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 7px 12px;
  background: rgba(140, 58, 36, 0.16);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
}
.status-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1;
}
.status-total::after { content: "集"; font-size: 11px; font-weight: 600; margin-left: 2px; color: var(--paper-dim); }
.status-current {
  font-size: 15px;
  font-weight: 800;
  color: var(--warn);
  line-height: 1;
}
.cast { min-width: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 5px 5px 6px;
  background: rgba(43, 50, 56, 0.5);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--rust-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0c0e10;
  border: 1px solid var(--line);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.08);
}
.cast-item:hover .cast-avatar img { filter: grayscale(0) contrast(1.1); }
.cast-name {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--cold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis { min-width: 0; }
.synopsis-para {
  font-size: 12px;
  line-height: 1.58;
  color: var(--cold-2);
  padding: 6px 0 6px 11px;
  border-left: 2px solid var(--line);
}
.synopsis-para + .synopsis-para { border-top: 1px solid var(--line); }
.synopsis-para:first-of-type { border-left-color: var(--rust); color: var(--paper); }
.synopsis-para:hover { border-left-color: var(--warn); color: var(--paper); }
.details { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(28, 33, 38, 0.92);
  min-width: 0;
}
.details-key {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.details-value {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cold-2);
  text-align: right;
  min-width: 0;
}
.player-section {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.player-shell {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--rust);
  background: #0a0c0e;
  padding: 0;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  background: linear-gradient(180deg, #232a30, #171c20);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cold-2);
  padding: 5px 12px;
  border: 1px solid var(--line);
  background: rgba(109, 125, 138, 0.12);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  transition: background-color 0.12s linear, color 0.12s linear;
}
.ctrl-btn:hover {
  color: var(--ink);
  background: var(--warn);
  border-color: var(--warn);
}
.ctrl-btn:active { background: var(--rust-bright); color: var(--paper); }
.player-theater {
  border-color: var(--warn);
  box-shadow: 0 0 0 1px rgba(224, 169, 27, 0.4);
}
.theater-mode .player-section { padding-bottom: 26px; }
.lights-off { background-color: #050607; background-image: none; }
.lights-off .page-main { opacity: 0.86; }
.lights-off .player-shell { box-shadow: 0 0 40px rgba(224, 169, 27, 0.22); }
.player.light .player-shell { border-left-color: var(--warn); }
.player .click { outline: 1px dashed var(--warn); }
.player .fullscreen { position: fixed; inset: 0; z-index: 90; }
.player .pip { opacity: 0.7; }
.player .mute { color: var(--rust-bright); }
.player .play { color: var(--warn); border-color: var(--warn); }
.player .progress { color: var(--cold-2); }
.player .speed { color: var(--paper); }
.player .volume { color: var(--cold-2); }
.player .theater { color: var(--warn); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.38fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.content-grid > .timeline { min-width: 0; }
.timeline { min-width: 0; }
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 3px solid var(--rust-deep);
  padding-left: 0;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px 6px 10px;
  background: rgba(28, 33, 38, 0.94);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 9px;
  height: 2px;
  background: var(--cold);
  transform: translateY(-50%);
}
.timeline-item:hover::before { background: var(--warn); width: 15px; }
.timeline-timecode {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--rust-bright);
}
.timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cold-2);
  line-height: 1.4;
}
.timeline-item:hover .timeline-label { color: var(--paper); }
.episodes {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  background: rgba(28, 33, 38, 0.94);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  min-width: 0;
}
.episode-card:hover { border-top-color: var(--rust-bright); background: rgba(43, 50, 56, 0.9); }
.episode-card--current {
  border-top-color: var(--warn);
  background: linear-gradient(180deg, rgba(140, 58, 36, 0.34), rgba(28, 33, 38, 0.96));
  box-shadow: inset 0 0 0 1px rgba(224, 169, 27, 0.28);
}
.episode-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
}
.episode-card--current .episode-number { color: var(--warn); }
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.24;
}
.episode-card--current .episode-title { color: var(--warn); }
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cold-2);
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  padding: 2px 7px;
  background: rgba(109, 125, 138, 0.16);
  border-left: 2px solid var(--cold);
}
.episode-card--current .episode-duration {
  color: var(--ink);
  background: var(--warn);
  border-left-color: var(--rust-deep);
}
.comments {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  min-width: 0;
}
.comment-card {
  padding: 8px 10px 9px;
  background: rgba(28, 33, 38, 0.92);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.comment-card:hover { border-left-color: var(--rust-bright); background: rgba(43, 50, 56, 0.88); }
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--warn);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--cold-2);
}
.rec-region {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.rec-title {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--paper);
  padding: 4px 12px 4px 10px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--rust-deep), rgba(94, 36, 22, 0.24));
  border-left: 5px solid var(--warn);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  position: relative;
}
.rec-title::after {
  content: attr(data-recommendation-title);
  position: absolute;
  left: 100%;
  top: 4px;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--warn);
  padding: 2px 7px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--cold-2);
  background: rgba(28, 33, 38, 0.92);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--steel);
  padding: 5px 5px 7px;
  min-width: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.12s linear, background-color 0.12s linear;
}
a.rec-item:hover {
  background: rgba(43, 50, 56, 0.94);
  border-bottom-color: var(--rust-bright);
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0c0e10;
  border: 1px solid var(--line);
  filter: grayscale(0.35) contrast(1.06);
}
a.rec-item:hover img { filter: grayscale(0) contrast(1.1); }
a.rec-item [data-runtime="name"] {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.42;
  color: var(--paper-dim);
}
.site-footer {
  padding: 16px 20px 22px;
  background: linear-gradient(180deg, #16191c, #0b0d0f);
  border-top: 3px solid var(--rust-deep);
  display: grid;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 92ch;
  padding-left: 10px;
  border-left: 3px solid var(--steel);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a.footer-link {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--cold-2);
  padding: 4px 11px;
  border: 1px solid var(--line);
  background: rgba(109, 125, 138, 0.1);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
a[data-contract="footer-home"] { color: var(--warn); border-color: rgba(224, 169, 27, 0.4); }
a[data-contract="footer-home"]:hover { background: var(--warn); color: var(--ink); }
a[data-contract="footer-sitemap"] { color: var(--cold-2); }
a[data-contract="footer-sitemap"]:hover { background: var(--rust-bright); border-color: var(--rust-bright); color: var(--paper); }
a.footer-link:hover { text-decoration: none; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--paper-dim);
  padding: 2px 8px;
  background: rgba(140, 58, 36, 0.22);
  border-left: 3px solid var(--rust);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  text-decoration: none;
  color: var(--cold);
  padding: 2px 6px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--warn); border-bottom-color: var(--warn); text-decoration: none; }
@media (max-width: 980px) {.hero { grid-template-columns: minmax(0, 1fr); }
.hero-poster-wrap { max-width: 220px; }
.content-grid { grid-template-columns: minmax(0, 1fr); }
.episode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { border-left-width: 3px; }}
@media (max-width: 760px) {.page-main { padding: 0 14px 20px; }
.hero { margin: 0 -14px 14px; padding: 14px 14px 20px; }
.site-header { padding: 8px 14px; }
.movie-title { font-size: clamp(26px, 8vw, 40px); }
.content-grid { gap: 14px; }}
@media (max-width: 620px) {.episode-list { grid-template-columns: minmax(0, 1fr); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.hero-poster-wrap { max-width: 190px; }
.rec-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.rec-title::after { position: static; margin-left: 8px; display: inline-block; }}
@media (max-width: 420px) {body { font-size: 12.5px; }
.rec-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.ctrl-btn { padding: 5px 9px; font-size: 11px; }
.site-brand { font-size: 17px; }}

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}
