:root {
  --ink-abyss: #060d17;
  --ink-deep: #0a1526;
  --ink-sea: #0e1e33;
  --ink-slate: #16293f;
  --ink-line: #22384f;
  --ink-soft: #2e4a66;
  --mist: #7d97b0;
  --mist-dim: #5b7590;
  --foam: #d7e3ee;
  --paper: #eef3f8;
  --lamp: #f2a03c;
  --lamp-hot: #ffbe5c;
  --lamp-deep: #c9761d;
  --lamp-glow: rgba(242, 160, 60, 0.35);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;

  --gap-tight: 6px;
  --gap: 10px;
  --gap-wide: 16px;
  --pad: 12px;
  --rule: 1px solid rgba(125, 151, 176, 0.16);
  --rule-lamp: 1px solid rgba(242, 160, 60, 0.45);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-abyss);
  background-image:
    radial-gradient(120% 80% at 78% 0%, rgba(20, 46, 74, 0.85) 0%, rgba(6, 13, 23, 0) 62%),
    linear-gradient(180deg, #08111e 0%, #060d17 40%, #050a12 100%);
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 13, 23, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap-wide);
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--lamp-hot);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 10px;
  border-right: 2px solid rgba(242, 160, 60, 0.4);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(242, 160, 60, 0.5);
  background: rgba(242, 160, 60, 0.08);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 14px 40px;
  display: block;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--foam);
  margin: 0 0 8px;
  padding-left: 12px;
  position: relative;
  border-bottom: 1px solid rgba(34, 56, 79, 0.7);
  padding-bottom: 6px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 13px;
  background: linear-gradient(180deg, var(--lamp-hot), var(--lamp-deep));
  clip-path: polygon(0 0, 100% 22%, 0 100%);
}
.hero-storm {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  margin: 0 -14px 18px;
  padding: 30px 14px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: end;
  background:
    radial-gradient(60% 52% at 74% 76%, rgba(242, 160, 60, 0.16) 0%, rgba(242, 160, 60, 0) 68%),
    radial-gradient(140% 100% at 50% 120%, #12304d 0%, #0a1a2c 46%, #050a12 100%);
  border-bottom: 1px solid rgba(34, 56, 79, 0.6);
}
.hero-storm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(125, 151, 176, 0.07) 0px, rgba(125, 151, 176, 0.07) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(65deg, rgba(125, 151, 176, 0.05) 0px, rgba(125, 151, 176, 0.05) 1px, transparent 1px, transparent 46px);
  pointer-events: none;
}
.hero-storm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(6, 13, 23, 0) 0%, rgba(4, 9, 16, 0.92) 100%);
  pointer-events: none;
}
.hero-figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  height: 100%;
  pointer-events: none;
}
.hero-silhouette {
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 46%;
  height: 88%;
  background: linear-gradient(180deg, #0b1626 0%, #050a12 100%);
  clip-path: polygon(
    50% 0%,
    62% 8%,
    70% 22%,
    64% 30%,
    88% 46%,
    96% 100%,
    4% 100%,
    12% 46%,
    36% 30%,
    30% 22%,
    38% 8%
  );
  filter: drop-shadow(0 0 26px rgba(5, 10, 18, 0.9));
}
.hero-lantern {
  position: absolute;
  right: 30%;
  bottom: 52%;
  width: 22px;
  height: 26px;
  border-radius: 46% 46% 40% 40%;
  background: radial-gradient(circle at 50% 44%, var(--lamp-hot) 0%, var(--lamp) 46%, var(--lamp-deep) 100%);
  box-shadow:
    0 0 0 3px rgba(10, 21, 38, 0.9),
    0 0 18px 6px rgba(242, 160, 60, 0.5),
    0 0 60px 26px rgba(242, 160, 60, 0.22),
    0 0 130px 60px rgba(242, 160, 60, 0.12);
}
.hero-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 2px;
  height: 9px;
  background: rgba(242, 160, 60, 0.55);
  transform: translateX(-50%);
}
.hero-rail {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: end;
  max-width: 100%;
  padding-left: 4px;
  border-left: 2px solid rgba(242, 160, 60, 0.55);
  padding-right: 8px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 300px;
  margin-bottom: 12px;
}
.hero-tagline {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.32em;
  color: var(--mist);
  max-height: 250px;
  margin-bottom: 14px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: flex-end;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 46px;
  border-top: 1px solid rgba(242, 160, 60, 0.35);
  padding-top: 4px;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--lamp-hot);
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mist-dim);
}
.movie-overview {
  background:
    linear-gradient(180deg, rgba(14, 30, 51, 0.92) 0%, rgba(10, 21, 38, 0.92) 100%);
  border: 1px solid rgba(34, 56, 79, 0.85);
  border-radius: 3px;
  padding: var(--pad);
  margin-bottom: 20px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: var(--gap-wide);
  align-items: start;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  width: 100%;
}
.poster-media {
  width: 100%;
  border: 1px solid rgba(46, 74, 102, 0.9);
  border-radius: 2px;
  overflow: hidden;
  background: #050a12;
  position: relative;
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 160, 60, 0.12);
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-actions {
  display: flex;
  gap: var(--gap-tight);
}
.action-play {
  flex: 1 1 auto;
  padding: 9px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #1c1103;
  background: linear-gradient(180deg, var(--lamp-hot) 0%, var(--lamp) 55%, var(--lamp-deep) 100%);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 96% 100%, 0 100%);
  transition: filter 0.16s ease, transform 0.16s ease;
}
.action-play:hover, .action-play:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.overview-heading {
  border-bottom: var(--rule);
  padding-bottom: 6px;
}
.overview-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 25px);
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.2;
}
.overview-tagline {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--lamp);
  margin-top: 3px;
}
.panel-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--mist);
  margin-bottom: 6px;
  padding-left: 8px;
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 9px;
  background: var(--lamp);
}
.cast-panel {
  min-width: 0;
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-soft) transparent;
}
.cast-strip::-webkit-scrollbar {
  height: 4px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--ink-soft);
  border-radius: 2px;
}
.cast-item {
  flex: 0 0 auto;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cast-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #3d5c7d 0%, #1b3149 58%, #0c1725 100%);
  border: 1px solid rgba(46, 74, 102, 0.9);
  position: relative;
  flex: 0 0 auto;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px 8px auto 8px;
  height: 14px;
  border-radius: 50% 50% 40% 40%;
  background: rgba(125, 151, 176, 0.28);
}
.cast-name {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}
.synopsis-panel {
  min-width: 0;
}
.synopsis-lead {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--foam);
  padding: 8px 10px;
  background: rgba(22, 41, 63, 0.5);
  border-left: 2px solid rgba(242, 160, 60, 0.5);
  margin-bottom: 6px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 14px;
}
.synopsis-item {
  position: relative;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mist);
  padding-left: 15px;
  counter-increment: syn;
}
.synopsis-list {
  counter-reset: syn;
}
.synopsis-item::before {
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  color: var(--lamp-deep);
  letter-spacing: 0.02em;
}
.episode-status {
  min-width: 0;
}
.status-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-bottom: 5px;
}
.status-current {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--lamp-hot);
}
.status-total {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
}
.status-meter {
  position: relative;
  height: 6px;
  background: rgba(34, 56, 79, 0.9);
  border-radius: 1px;
  overflow: hidden;
}
.status-meter::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(6, 13, 23, 0.85) 0px, rgba(6, 13, 23, 0.85) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}
.meter-fill {
  display: block;
  height: 100%;
  width: 33.3%;
  background: linear-gradient(90deg, var(--lamp-deep) 0%, var(--lamp) 60%, var(--lamp-hot) 100%);
  box-shadow: 0 0 10px rgba(242, 160, 60, 0.55);
}
.details-panel {
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  column-gap: 18px;
  row-gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(125, 151, 176, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist-dim);
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12px;
  color: var(--foam);
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-section {
  margin-bottom: 20px;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid rgba(34, 56, 79, 0.9);
  border-radius: 3px;
  background: #03070d;
  padding: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.player-shell.lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(242, 160, 60, 0.45), 0 0 40px rgba(242, 160, 60, 0.18);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(242, 160, 60, 0.6), 0 0 60px rgba(242, 160, 60, 0.22);
}
.player-video {
  width: 100%;
  display: block;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 2px 2px;
}
.control-btn {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  background: rgba(22, 41, 63, 0.7);
  border: 1px solid rgba(46, 74, 102, 0.9);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 93% 100%, 0 100%);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.control-btn:hover, .control-btn:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(242, 160, 60, 0.55);
  background: rgba(242, 160, 60, 0.08);
}
.control-btn.is-active, .control-btn.play, .control-btn.is-playing {
  color: var(--lamp-hot);
  border-color: rgba(242, 160, 60, 0.6);
  background: rgba(242, 160, 60, 0.12);
}
.control-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 5px;
  border-radius: 1px;
  background: rgba(34, 56, 79, 0.95);
  position: relative;
}
.control-volume {
  flex: 0 1 110px;
  min-width: 70px;
  height: 5px;
  border-radius: 1px;
  background: rgba(34, 56, 79, 0.95);
}
.control-progress::-webkit-slider-thumb, .control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp-hot);
  border: 1px solid #1c1103;
  box-shadow: 0 0 8px rgba(242, 160, 60, 0.7);
  margin-top: 0;
}
.control-progress::-moz-range-thumb, .control-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #1c1103;
  border-radius: 50%;
  background: var(--lamp-hot);
  box-shadow: 0 0 8px rgba(242, 160, 60, 0.7);
}
.control-progress::-moz-range-track, .control-volume::-moz-range-track {
  height: 5px;
  background: rgba(34, 56, 79, 0.95);
  border-radius: 1px;
}
.timeline-section {
  margin-bottom: 20px;
}
.tide-bar {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 34px 12px 12px;
  background:
    linear-gradient(180deg, rgba(14, 30, 51, 0.7) 0%, rgba(8, 17, 30, 0.7) 100%);
  border: 1px solid rgba(34, 56, 79, 0.85);
  border-radius: 3px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-soft) transparent;
  -webkit-overflow-scrolling: touch;
}
.tide-bar:active {
  cursor: grabbing;
}
.tide-bar:focus-visible {
  outline: 1px solid rgba(242, 160, 60, 0.6);
  outline-offset: -2px;
}
.tide-bar::-webkit-scrollbar {
  height: 6px;
}
.tide-bar::-webkit-scrollbar-thumb {
  background: var(--ink-soft);
  border-radius: 3px;
}
.tide-axis {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(46, 74, 102, 0.4) 0%, var(--ink-soft) 12%, var(--ink-soft) 88%, rgba(46, 74, 102, 0.4) 100%);
  pointer-events: none;
}
.tide-axis::after {
  content: "";
  position: absolute;
  inset: -4px 0;
  background-image: repeating-linear-gradient(90deg, rgba(125, 151, 176, 0.34) 0px, rgba(125, 151, 176, 0.34) 1px, transparent 1px, transparent 18px);
  opacity: 0.7;
}
.tide-marks {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: max-content;
  padding: 0 6px;
}
.tide-mark {
  position: relative;
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tide-tick {
  position: relative;
  width: 2px;
  height: 26px;
  background: linear-gradient(180deg, rgba(125, 151, 176, 0.15) 0%, var(--mist-dim) 45%, rgba(125, 151, 176, 0.15) 100%);
  transform: translateY(-14px);
}
.tide-tick::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-sea);
  border: 1px solid var(--mist-dim);
  transform: translate(-50%, -50%);
}
.tide-mark-high .tide-tick {
  height: 40px;
  background: linear-gradient(180deg, rgba(242, 160, 60, 0) 0%, var(--lamp) 45%, rgba(242, 160, 60, 0) 100%);
  transform: translateY(-20px);
}
.tide-mark-high .tide-tick::after {
  background: var(--lamp-hot);
  border-color: #1c1103;
  box-shadow: 0 0 10px rgba(242, 160, 60, 0.75);
}
.tide-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  width: 100%;
}
.tide-mark:nth-child(odd) .tide-label {
  transform: translateY(-8px);
}
.tide-mark:nth-child(even) .tide-label {
  transform: translateY(6px);
}
.tide-mark-high .tide-label {
  transform: translateY(-16px);
}
.tide-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lamp);
}
.tide-text {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episodes-section {
  margin-bottom: 20px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.episode-item {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(14, 30, 51, 0.6);
  border: 1px solid rgba(34, 56, 79, 0.7);
  border-radius: 2px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.episode-item:hover {
  border-color: rgba(125, 151, 176, 0.5);
  background: rgba(22, 41, 63, 0.7);
}
.episode-index {
  flex: 0 0 auto;
  width: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  position: relative;
}
.episode-index::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(125, 151, 176, 0.5) 0px, rgba(125, 151, 176, 0.5) 3px, transparent 3px, transparent 7px);
}
.episode-number {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
  background: var(--ink-deep);
  padding: 3px 5px;
  border: 1px solid rgba(46, 74, 102, 0.9);
  border-radius: 1px;
  white-space: nowrap;
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
  margin-top: 1px;
}
.episode-item-current {
  border: var(--rule-lamp);
  background: rgba(242, 160, 60, 0.07);
  box-shadow: 0 0 0 1px rgba(242, 160, 60, 0.14), 0 0 22px rgba(242, 160, 60, 0.1);
}
.episode-item-current .episode-number {
  color: var(--lamp-hot);
  border-color: rgba(242, 160, 60, 0.7);
  background: rgba(28, 17, 3, 0.9);
}
.episode-item-current .episode-title {
  color: var(--lamp-hot);
}
.episode-item-current .episode-index::before {
  background: repeating-linear-gradient(180deg, rgba(242, 160, 60, 0.75) 0px, rgba(242, 160, 60, 0.75) 3px, transparent 3px, transparent 7px);
}
.comments-section {
  margin-bottom: 20px;
}
.comment-wall {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  margin-bottom: 10px;
  background:
    linear-gradient(180deg, rgba(22, 41, 63, 0.85) 0%, rgba(14, 30, 51, 0.85) 100%);
  border: 1px solid rgba(34, 56, 79, 0.8);
  border-radius: 2px;
  position: relative;
  transform: rotate(-0.4deg);
}
.comment-card:nth-child(even) {
  transform: rotate(0.5deg) translateY(4px);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.7deg) translateY(-2px);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #3d5c7d 0%, #1b3149 60%, #0c1725 100%);
  border: 1px solid rgba(46, 74, 102, 0.9);
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-nick {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lamp);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--foam);
}
.recommend-region {
  margin-bottom: 18px;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-1 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.recommend-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.recommend-card {
  position: relative;
  display: flex;
  min-width: 0;
}
.recommend-card::after {
  content: attr(data-count);
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  line-height: 1;
  color: #1c1103;
  background: var(--lamp-hot);
  padding: 3px 5px;
  border-radius: 1px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 78% 100%, 0 100%);
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 7px;
  background: rgba(14, 30, 51, 0.72);
  border: 1px solid rgba(34, 56, 79, 0.8);
  border-radius: 2px;
  color: var(--foam);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
a.recommend-link:hover, a.recommend-link:focus-visible {
  border-color: rgba(242, 160, 60, 0.6);
  background: rgba(22, 41, 63, 0.9);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #050a12;
  display: block;
}
.recommend-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(34, 56, 79, 0.8);
  background: linear-gradient(180deg, rgba(8, 17, 30, 0.9) 0%, rgba(4, 9, 16, 0.95) 100%);
  padding: 16px 14px 22px;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--mist-dim);
  max-width: 900px;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 8px;
  border-top: var(--rule);
}
.friends-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--mist-dim);
  padding-right: 6px;
  border-right: 1px solid rgba(46, 74, 102, 0.9);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--mist);
  text-decoration: none;
  padding: 2px 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--lamp-hot);
  border-bottom-color: rgba(242, 160, 60, 0.6);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: var(--rule);
}
a.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid rgba(46, 74, 102, 0.9);
  border-radius: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(242, 160, 60, 0.6);
}
@media (max-width: 900px) {.hero-storm {
    grid-template-columns: minmax(0, 1fr);
    min-height: 300px;
    padding-top: 22px;
  }
.hero-figure {
    width: 78%;
    opacity: 0.9;
  }
.hero-rail {
    grid-column: 1;
    padding-right: 40%;
  }
.hero-title, .hero-tagline {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
  }
.hero-title {
    font-size: clamp(22px, 6vw, 30px);
  }
.hero-tagline {
    font-size: 12px;
    letter-spacing: 0.2em;
  }
.overview-grid {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 10px 30px;
  }
.hero-storm {
    margin: 0 -10px 16px;
    padding: 18px 10px 20px;
    min-height: 260px;
  }
.hero-figure {
    width: 88%;
    opacity: 0.72;
  }
.hero-rail {
    padding-right: 30%;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-column {
    max-width: 190px;
    margin: 0 auto;
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-wall {
    columns: 1;
  }
.comment-card, .comment-card:nth-child(even), .comment-card:nth-child(3n) {
    transform: none;
  }
.recommend-grid-1, .recommend-grid-2, .recommend-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.control-progress {
    flex: 1 1 100%;
    order: -1;
  }
.status-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }}
@media (max-width: 420px) {.recommend-grid-1, .recommend-grid-2, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-rail {
    padding-right: 22%;
  }
.hero-stats {
    gap: 4px 10px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !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}
