*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #3d2f28;
  background-color: #f6efe4;
  background-image:
    linear-gradient(180deg, #f7e9d4 0%, #f6efe4 22%, #f4ecdf 60%, #efe6d6 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
a {
  color: inherit;
}
ul {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
:root {
  --brick: #9c3b2c;
  --brick-deep: #7c2b1f;
  --wheat: #e0a83c;
  --wheat-soft: #f0cd7c;
  --moss: #6b7a5a;
  --moss-deep: #4f5c42;
  --ink: #35281f;
  --ink-soft: #6b5a4c;
  --paper: #fdf8ef;
  --paper-warm: #f8efe0;
  --tape: rgba(226, 198, 132, 0.72);
  --night: #2a2320;
  --radius: 12px;
  --radius-sm: 8px;
  --gap: 12px;
  --shadow-soft: 0 2px 6px rgba(90, 60, 35, 0.1);
  --shadow-card: 0 3px 10px rgba(90, 60, 35, 0.13);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 233, 212, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(156, 59, 44, 0.22);
  box-shadow: 0 1px 6px rgba(90, 60, 35, 0.08);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brick-deep);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--tape);
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 3px rgba(90, 60, 35, 0.15);
}
a[data-contract="site-name"]:hover {
  color: #fff;
  background: var(--brick);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--moss-deep);
  text-decoration: none;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(107, 122, 90, 0.45);
  background: rgba(255, 252, 245, 0.7);
  transition: background 0.15s ease, color 0.15s ease;
}
a.runtime-category:hover {
  background: var(--moss);
  color: #fdf8ef;
  border-color: var(--moss);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-title {
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--brick-deep);
  padding-left: 10px;
  border-left: 4px solid var(--wheat);
  margin-bottom: 10px;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
  background: linear-gradient(155deg, #fdf6e9 0%, #f7ead3 55%, #f2e2c8 100%);
  border: 1px solid rgba(156, 59, 44, 0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.hero-poster::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 46%;
  height: 130%;
  background: radial-gradient(circle at 40% 40%, rgba(224, 168, 60, 0.32), rgba(224, 168, 60, 0) 68%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(90, 50, 25, 0.24);
  border: 3px solid #fdf8ef;
  outline: 1px solid rgba(156, 59, 44, 0.25);
  align-self: start;
  width: 100%;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--brick-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--moss-deep);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  background: var(--tape);
  align-self: flex-start;
  transform: rotate(-0.8deg);
  box-shadow: 0 1px 3px rgba(90, 60, 35, 0.14);
  max-width: 100%;
}
.hero-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.btn-watch, .btn-theater {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-watch {
  color: #fdf8ef;
  background: linear-gradient(160deg, var(--brick) 0%, var(--brick-deep) 100%);
  box-shadow: 0 3px 8px rgba(124, 43, 31, 0.34);
}
.btn-watch:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 13px rgba(124, 43, 31, 0.42);
}
.btn-theater {
  color: var(--brick-deep);
  background: rgba(253, 248, 239, 0.9);
  border: 1.5px solid var(--brick);
}
.btn-theater:hover {
  background: var(--wheat-soft);
  color: var(--brick-deep);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.status-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--moss-deep);
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(107, 122, 90, 0.14);
  border: 1px solid rgba(107, 122, 90, 0.35);
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  color: var(--brick-deep);
  background: rgba(224, 168, 60, 0.2);
  border-color: rgba(224, 168, 60, 0.55);
}
.status-chip:nth-child(3) {
  color: #7c4a12;
  background: rgba(240, 205, 124, 0.34);
  border-color: rgba(200, 140, 30, 0.5);
}
.cast-section {
  margin-top: 4px;
}
.cast-section .section-title {
  font-size: 14px;
  margin-bottom: 8px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 62px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5a3a1c;
  background: linear-gradient(155deg, var(--wheat-soft) 0%, #e6bd72 100%);
  border: 2px solid #fdf8ef;
  outline: 1px solid rgba(156, 59, 44, 0.3);
  box-shadow: 0 2px 6px rgba(90, 60, 35, 0.18);
  text-align: center;
  line-height: 1.15;
  padding: 2px;
}
.cast-item:nth-child(even) .cast-avatar {
  background: linear-gradient(155deg, #c3cfae 0%, #9db089 100%);
  color: #33402a;
}
.cast-item:hover .cast-avatar {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}
.synopsis-section {
  margin-top: 4px;
}
.synopsis-section .section-title {
  font-size: 14px;
  margin-bottom: 8px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 246, 0.72);
  border-left: 3px solid rgba(224, 168, 60, 0.7);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-indent: 2em;
}
.details-section {
  margin-top: 4px;
}
.details-section .section-title {
  font-size: 14px;
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(107, 122, 90, 0.08);
  border-top: 1px dashed rgba(107, 122, 90, 0.35);
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(107, 122, 90, 0.28);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--moss-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fdf6e9 0%, #f4e7d1 100%);
  border: 1px solid rgba(156, 59, 44, 0.18);
  box-shadow: var(--shadow-card);
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c1512;
  box-shadow: 0 4px 14px rgba(60, 35, 20, 0.3);
}
.player-panel.is-theater {
  position: fixed;
  inset: 0;
  z-index: 200;
  border-radius: 0;
  padding: 0;
  gap: 0;
  justify-content: center;
  background: #140f0c;
  overflow: auto;
}
.player-panel.is-theater .player-shell {
  border-radius: 0;
  width: 100%;
  max-width: 100%;
}
.player-panel.is-lights-off {
  background: #0d0a08;
}
.player-panel.is-lights-off .player-shell {
  box-shadow: 0 0 40px rgba(224, 168, 60, 0.18);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ctrl-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--moss-deep);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.92);
  border: 1px solid rgba(107, 122, 90, 0.4);
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, transform 0.1s ease;
}
.ctrl-btn:hover {
  background: var(--moss);
  color: #fdf8ef;
  border-color: var(--moss);
}
.ctrl-btn:active {
  transform: scale(0.96);
}
.player-panel.is-lights-off .ctrl-btn {
  color: var(--wheat-soft);
  background: rgba(40, 32, 26, 0.85);
  border-color: rgba(224, 168, 60, 0.45);
}
.timeline-section {
  background: linear-gradient(170deg, #2f2724 0%, #241d1a 100%);
  border-radius: 16px;
  padding: 16px;
  color: #f3e7d6;
  box-shadow: var(--shadow-card);
}
.timeline-section .section-title {
  color: var(--wheat-soft);
  border-left-color: var(--brick);
  margin-bottom: 14px;
}
.timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 22px;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--wheat) 0%, var(--brick) 100%);
}
.timeline-card {
  position: relative;
  background: rgba(253, 248, 239, 0.96);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 8px 12px 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  border-left: 3px solid var(--wheat);
  max-width: 100%;
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wheat);
  border: 2px solid #2f2724;
  box-shadow: 0 0 0 2px rgba(224, 168, 60, 0.35);
}
.timeline-card:nth-child(even) {
  border-left-color: var(--brick);
}
.timeline-card:nth-child(odd) {
  margin-left: 0;
}
.timeline-timecode {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fdf8ef;
  background: var(--brick);
  padding: 1px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}
.episodes-section {
  padding-top: 2px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fdf8ef 0%, #f7eedd 100%);
  border: 1px solid rgba(156, 59, 44, 0.16);
  box-shadow: var(--shadow-soft);
  align-self: start;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.episode-card:hover {
  border-color: rgba(156, 59, 44, 0.4);
  box-shadow: var(--shadow-card);
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fdf8ef;
  background: var(--moss);
  padding: 1px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.episode-title {
  font-size: 14.5px;
  color: var(--brick-deep);
  overflow-wrap: break-word;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 1px;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--moss-deep);
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(107, 122, 90, 0.13);
  border: 1px solid rgba(107, 122, 90, 0.32);
  white-space: nowrap;
}
.comments-section {
  padding-top: 2px;
}
.comment-grid {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid rgba(224, 168, 60, 0.4);
  box-shadow: var(--shadow-soft);
}
.comment-card:nth-child(odd) {
  transform: rotate(-0.35deg);
}
.comment-card:nth-child(even) {
  transform: rotate(0.4deg);
  border-color: rgba(107, 122, 90, 0.38);
}
.comment-nickname {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brick-deep);
  padding: 1px 9px;
  border-radius: var(--radius-sm);
  background: var(--tape);
  margin-bottom: 5px;
  transform: rotate(-0.6deg);
  box-shadow: 0 1px 2px rgba(90, 60, 35, 0.12);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.recommend-region {
  padding: 0;
}
.recommend-title {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #4a3512;
  padding: 4px 16px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: var(--tape);
  transform: rotate(-1deg);
  box-shadow: 0 2px 5px rgba(90, 60, 35, 0.16);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid rgba(156, 59, 44, 0.16);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  align-self: start;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
a.recommend-item:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 59, 44, 0.42);
  box-shadow: var(--shadow-card);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #e6d8c2;
}
a.recommend-item [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  color: var(--brick-deep);
  line-height: 1.35;
  overflow-wrap: break-word;
}
a.recommend-item [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid rgba(156, 59, 44, 0.22);
  background: linear-gradient(180deg, rgba(247, 233, 212, 0.4) 0%, rgba(238, 224, 200, 0.7) 100%);
  border-radius: 16px 16px 0 0;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brick-deep);
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(156, 59, 44, 0.35);
  background: rgba(255, 253, 246, 0.7);
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  background: var(--brick);
  color: #fdf8ef;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #4a3512;
  padding: 2px 10px;
  border-radius: 3px;
  background: var(--tape);
  transform: rotate(-1deg);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--moss-deep);
  text-decoration: none;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(107, 122, 90, 0.3);
  background: rgba(255, 253, 246, 0.6);
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}
a.runtime-friend-link:hover {
  background: var(--moss);
  color: #fdf8ef;
}
.player-panel.is-theater .player-controls {
  padding: 10px 16px;
  justify-content: center;
}
.player-panel.is-lights-off .player-controls .ctrl-btn:hover {
  background: var(--wheat);
  color: #2a2320;
}
@media (max-width: 900px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-media {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
.hero-title {
    font-size: 26px;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 12px 12px 6px;
    gap: 18px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.hero-poster {
    padding: 12px;
  }
.hero-title {
    font-size: 23px;
  }
.hero-desc {
    font-size: 13px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
  }
.comment-grid {
    columns: 1;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-rail {
    padding-left: 18px;
  }
.timeline-card::before {
    left: -18px;
  }
.player-panel.is-theater {
    padding: 8px;
  }
.player-panel.is-theater .player-shell {
    border-radius: var(--radius-sm);
  }
.site-footer {
    margin-top: 10px;
    padding: 14px 12px;
  }}
@media (max-width: 420px) {.cast-item {
    width: 56px;
  }
.cast-avatar {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }
.btn-watch, .btn-theater {
    flex: 1 1 auto;
    text-align: center;
    padding: 8px 12px;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }}

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}
