:root {
  --rust: #8c3b21;
  --rust-deep: #5e2412;
  --mustard: #c79a2d;
  --mustard-bright: #e0b13a;
  --faded-blue: #4a6b82;
  --faded-blue-light: #7f9bab;
  --cream: #efe6d2;
  --cream-dim: #ddd0b6;
  --ink: #1c1712;
  --ink-soft: #2c251d;
  --grain: rgba(28, 23, 18, 0.92);
  --font-title: "Courier New", "Nimbus Mono PS", "Liberation Mono", monospace, serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #211a14;
  background-image:
    radial-gradient(ellipse 120% 90% at 12% -8%, rgba(199, 154, 45, 0.16), transparent 60%),
    radial-gradient(ellipse 90% 70% at 100% 4%, rgba(140, 59, 33, 0.24), transparent 62%),
    linear-gradient(178deg, #241c15 0%, #1b1510 48%, #201812 100%);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.34;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9001;
  background:
    radial-gradient(ellipse 60% 40% at 8% 12%, rgba(224, 177, 58, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 96% 78%, rgba(140, 59, 33, 0.18), transparent 72%);
  mix-blend-mode: screen;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--mustard-bright);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
p {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 8px 18px;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.97), rgba(28, 22, 16, 0.86));
  border-bottom: 2px solid var(--rust-deep);
  box-shadow: 0 1px 0 rgba(199, 154, 45, 0.28), 0 6px 16px rgba(0, 0, 0, 0.4);
}
.header-brand {
  flex: 0 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mustard-bright);
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(224, 177, 58, 0.32);
  border-bottom: 2px solid var(--rust);
  padding-bottom: 1px;
}
a[data-contract="site-name"]:hover {
  color: var(--cream);
  text-decoration: none;
  border-bottom-color: var(--mustard-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--faded-blue-light);
  text-decoration: none;
  border: 1px solid rgba(127, 155, 171, 0.42);
  border-radius: 2px;
  background: rgba(74, 107, 130, 0.14);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--mustard);
  border-color: var(--mustard-bright);
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 6px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(199, 154, 45, 0.22);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  padding: 5px;
  background: linear-gradient(160deg, rgba(140, 59, 33, 0.4), rgba(28, 22, 16, 0.9));
  border: 1px solid rgba(199, 154, 45, 0.35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.hero-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) sepia(0.14);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  color: var(--cream);
  text-shadow: 2px 2px 0 rgba(140, 59, 33, 0.7), 0 0 24px rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--mustard-bright);
  letter-spacing: 0.03em;
  padding-left: 10px;
  border-left: 3px solid var(--rust);
}
.hero-seo {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #0c0a07;
  border: 1px solid rgba(199, 154, 45, 0.34);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(44, 37, 29, 0.96), rgba(20, 16, 12, 0.98));
  border-top: 1px solid rgba(199, 154, 45, 0.22);
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  background: rgba(74, 107, 130, 0.22);
  border: 1px solid rgba(127, 155, 171, 0.4);
  border-radius: 2px;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.ctrl-btn:hover {
  background: var(--faded-blue);
  color: #fff;
  border-color: var(--faded-blue-light);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  background: var(--mustard);
  color: var(--ink);
  border-color: var(--mustard-bright);
}
.ctrl-btn.is-muted {
  background: rgba(140, 59, 33, 0.5);
  color: var(--cream);
  border-color: var(--rust);
}
.ctrl-play {
  min-width: 62px;
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--rust), var(--mustard), var(--faded-blue));
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--rust);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--rust);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 56px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(127, 155, 171, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-speed {
  padding: 3px 6px;
  font-size: 0.76rem;
  color: var(--cream);
  background: rgba(44, 37, 29, 0.9);
  border: 1px solid rgba(199, 154, 45, 0.4);
  border-radius: 2px;
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 2px var(--mustard-bright), 0 10px 30px rgba(0, 0, 0, 0.7);
}
.player-shell.lights-off {
  filter: brightness(0.62) contrast(1.12);
}
.player-shell.lights-off .player-controls {
  filter: brightness(1.5);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.status-total {
  padding: 2px 8px;
  color: var(--faded-blue-light);
  border: 1px dashed rgba(127, 155, 171, 0.5);
}
.status-current {
  padding: 2px 8px;
  color: var(--ink);
  background: var(--mustard);
  border: 1px solid var(--mustard-bright);
  font-weight: 700;
}
.cast-strip {
  margin-top: 4px;
  padding-top: 9px;
  border-top: 1px solid rgba(199, 154, 45, 0.2);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  color: var(--mustard-bright);
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 2px solid rgba(140, 59, 33, 0.65);
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .rec-heading::before {
  content: "▍";
  color: var(--rust);
  margin-right: 5px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.cast-avatar-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(199, 154, 45, 0.34);
  background: #14100c;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.78) contrast(1.05) sepia(0.18);
}
.cast-name {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
}
.cast-role {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--mustard);
  letter-spacing: 0.02em;
}
.synopsis-block {
  padding-top: 9px;
  border-top: 1px solid rgba(199, 154, 45, 0.2);
}
.synopsis-para {
  font-size: 0.86rem;
  line-height: 1.52;
  color: var(--cream-dim);
  margin-bottom: 6px;
}
.synopsis-para:first-of-type::first-letter {
  font-family: var(--font-title);
  font-size: 2.1em;
  line-height: 0.9;
  float: left;
  margin: 3px 6px 0 0;
  color: var(--mustard-bright);
}
.details-block {
  padding-top: 9px;
  border-top: 1px solid rgba(199, 154, 45, 0.2);
}
.details-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 12px;
  font-size: 0.8rem;
  margin: 0;
}
.detail-key {
  color: var(--faded-blue-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(127, 155, 171, 0.22);
  padding: 2px 0;
}
.detail-value {
  margin: 0;
  color: var(--cream);
  border-bottom: 1px dotted rgba(199, 154, 45, 0.16);
  padding: 2px 0;
}
.timeline-section {
  padding: 16px 0 4px;
  border-bottom: 1px solid rgba(199, 154, 45, 0.22);
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.9), rgba(16, 12, 9, 0.9));
  border-top: 2px solid var(--rust-deep);
  border-bottom: 2px solid var(--rust-deep);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 10px 10px 12px;
  min-width: 0;
  border-right: 1px dashed rgba(199, 154, 45, 0.3);
}
.timeline-node:last-child {
  border-right: none;
}
.timeline-node::before, .timeline-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: #1b1510;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(199, 154, 45, 0.3);
}
.timeline-node::before {
  left: -4px;
}
.timeline-node::after {
  right: -4px;
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mustard-bright);
}
.timeline-label {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--cream-dim);
}
.episodes-section {
  padding: 16px 0 4px;
  border-bottom: 1px solid rgba(199, 154, 45, 0.22);
}
.episodes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 6px 14px;
  align-items: start;
}
.episode-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  padding: 7px 8px;
  background: rgba(44, 37, 29, 0.3);
  border-left: 3px solid rgba(140, 59, 33, 0.55);
}
.episode-item.episode-current {
  background: linear-gradient(90deg, rgba(199, 154, 45, 0.24), rgba(199, 154, 45, 0.06));
  border-left-color: var(--mustard-bright);
}
.episode-number {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 0.9;
  color: rgba(199, 154, 45, 0.5);
  min-width: 1.2em;
  text-align: right;
}
.episode-current .episode-number {
  color: var(--mustard-bright);
  text-shadow: 0 0 14px rgba(224, 177, 58, 0.45);
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.episode-title {
  font-size: 0.92rem;
  color: var(--cream);
}
.episode-current .episode-title {
  color: var(--mustard-bright);
}
.episode-summary {
  font-size: 0.79rem;
  line-height: 1.42;
  color: var(--cream-dim);
}
.episode-duration {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--faded-blue-light);
}
.comments-section {
  padding: 16px 0 4px;
  border-bottom: 1px solid rgba(199, 154, 45, 0.22);
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 16px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream-dim);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.42);
  transform: rotate(-0.9deg);
}
.comment-card:nth-child(even) {
  transform: rotate(0.8deg);
  background: #e7dcc4;
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.4deg);
  background: #f3ecdb;
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-deep);
}
.comment-text {
  font-size: 0.83rem;
  line-height: 1.46;
  color: var(--ink-soft);
}
.rec-region {
  padding: 16px 0 4px;
  border-bottom: 1px solid rgba(199, 154, 45, 0.22);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 12px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(44, 37, 29, 0.42);
  border: 1px solid rgba(199, 154, 45, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
a.rec-item:hover {
  background: rgba(140, 59, 33, 0.32);
  border-color: var(--mustard-bright);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) sepia(0.12);
}
.rec-thumb {
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: #100d0a;
}
.rec-name {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
}
.rec-blurb {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--cream-dim);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 16px 18px 22px;
  margin-top: 10px;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.6), rgba(12, 9, 7, 0.94));
  border-top: 2px solid var(--rust-deep);
  font-size: 0.78rem;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
a.footer-link {
  color: var(--faded-blue-light);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover {
  color: var(--mustard-bright);
  border-bottom-color: var(--mustard-bright);
  text-decoration: none;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--faded-blue-light);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rust);
  text-transform: uppercase;
}
a.runtime-friend-link {
  color: var(--cream-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 5px;
  border: 1px solid rgba(127, 155, 171, 0.24);
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: var(--ink);
  background: var(--mustard);
  border-color: var(--mustard-bright);
  text-decoration: none;
}
.footer-disclaimer {
  flex: 1 1 100%;
  max-width: 70ch;
  margin: 0 auto;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(221, 208, 182, 0.6);
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 16px 18px;
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 12px 4px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-poster-wrap {
    max-width: 230px;
    margin: 0 auto;
  }
.hero-title {
    font-size: 1.5rem;
  }
.episodes-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.site-header {
    padding: 7px 12px;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 0.72rem;
  }}
@media (max-width: 460px) {body {
    font-size: 14px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  }
.timeline-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    border-right: none;
    border-bottom: 1px dashed rgba(199, 154, 45, 0.3);
  }
.timeline-node:last-child {
    border-bottom: none;
  }
.timeline-node::before, .timeline-node::after {
    display: none;
  }
.episode-number {
    font-size: 1.6rem;
  }
.ctrl-progress {
    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}
