*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0a0d0b;
  --ink-2: #111713;
  --panel: #131a15;
  --panel-2: #182019;
  --line: #2b3a2c;
  --line-soft: #223026;
  --green: #1f4a33;
  --green-deep: #143224;
  --green-bright: #3f7d55;
  --amber: #f0a04b;
  --amber-soft: #f6c48a;
  --amber-deep: #a8621f;
  --paper: #e9e2d2;
  --paper-dim: #b9b3a3;
  --text: #d8dcd2;
  --text-dim: #97a094;
  --radius: 4px;
  --gap: 10px;
}
html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(1200px 600px at 50% -10%, #16241a 0%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.012) 0 1px,
      transparent 1px 7px
    ),
    var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--amber);
  color: #1a1206;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 8px clamp(10px, 2.4vw, 26px);
  background: linear-gradient(180deg, #0d130f 0%, #0b100d 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px -16px rgba(0, 0, 0, 0.9);
}
.header-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.site-brand, .site-brand:visited {
  color: var(--amber-soft);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"] {
  color: var(--amber-soft);
  text-decoration: none;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
  outline: none;
}
.header-tagline {
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category, .runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--amber-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease,
    color 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  background: var(--green);
  border-color: var(--green-bright);
  color: #fff3e2;
  outline: none;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 22px);
  padding: clamp(10px, 1.8vw, 20px) clamp(10px, 2.4vw, 26px) 26px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}
.capsule-hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #16231a 0%, #0f1712 100%);
  overflow: hidden;
}
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-glass-layer {
  position: relative;
  padding: clamp(14px, 2.6vw, 30px) clamp(12px, 2.4vw, 28px);
  background:
    linear-gradient(
      115deg,
      rgba(240, 160, 75, 0.16) 0%,
      rgba(240, 160, 75, 0.05) 38%,
      rgba(255, 255, 255, 0.02) 60%,
      rgba(63, 125, 85, 0.12) 100%
    ),
    repeating-linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 26px
    ),
    rgba(16, 26, 19, 0.72);
  border-bottom: 1px solid var(--line);
}
.hero-glass-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 22%,
    transparent 78%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: 0.06em;
  color: #fdf1de;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 26px rgba(240, 160, 75, 0.35);
}
.hero-tagline {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: var(--amber-soft);
  font-size: clamp(12.5px, 1.5vw, 15px);
  letter-spacing: 0.1em;
}
.hero-seo {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.75;
}
.hero-cutaway {
  position: relative;
  padding: clamp(10px, 1.8vw, 18px) clamp(10px, 2vw, 20px)
    clamp(12px, 2vw, 20px);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.28) 0 1px,
      transparent 1px 64px
    ),
    linear-gradient(180deg, #1b2b21 0%, #101a13 60%, #0c130e 100%);
  border-top: 3px solid var(--green-deep);
}
.hero-cutaway::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--amber) 20%,
    var(--amber-soft) 50%,
    var(--amber) 80%,
    transparent 100%
  );
  opacity: 0.75;
}
.berth-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.berth {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 62px;
  padding: 7px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 10px 3px;
  background: linear-gradient(180deg, #1d2c22 0%, #121b15 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -10px 18px -12px rgba(0, 0, 0, 0.9);
}
.berth::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(240, 160, 75, 0.5),
    rgba(240, 160, 75, 0)
  );
}
.berth-number {
  display: block;
  color: var(--text);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.berth-lamp {
  align-self: flex-start;
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.berth-three .berth-lamp, .berth-four .berth-lamp {
  border-color: var(--amber-deep);
  background: rgba(240, 160, 75, 0.16);
  color: var(--amber-soft);
  box-shadow: 0 0 10px -2px rgba(240, 160, 75, 0.6);
}
.berth-three, .berth-four {
  border-color: #35543c;
  background: linear-gradient(180deg, #223326 0%, #141f18 100%);
}
.berth-five {
  opacity: 0.92;
}
.berth-six {
  opacity: 0.92;
}
.hero-signboard {
  position: absolute;
  z-index: 3;
  top: clamp(8px, 1.4vw, 14px);
  right: clamp(8px, 1.6vw, 16px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 6px 10px;
  border: 1px solid var(--amber-deep);
  border-radius: 3px;
  background: linear-gradient(180deg, #2a1c0c 0%, #1a1108 100%);
  box-shadow: 0 0 22px -6px rgba(240, 160, 75, 0.55);
}
.signboard-text {
  color: var(--amber);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 0 0 12px rgba(240, 160, 75, 0.6);
}
.signboard-sub {
  color: var(--amber-soft);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.hero-coinbox {
  position: absolute;
  z-index: 3;
  left: clamp(8px, 1.6vw, 16px);
  bottom: clamp(8px, 1.6vw, 16px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 10px 7px;
  border: 1px dashed #4a6b4f;
  border-radius: 3px;
  background: rgba(10, 16, 12, 0.82);
}
.coinbox-label {
  color: var(--amber-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.coinbox-slot {
  display: block;
  width: 78px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #050805 0%, #1d2a20 100%);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(240, 160, 75, 0.28);
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
.movie-panel {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
  align-items: start;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2) 0%, #0f1611 100%);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.95);
}
.movie-poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 210px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px;
  background: #0b110d;
  box-shadow: 0 0 0 1px rgba(240, 160, 75, 0.08),
    0 16px 30px -26px rgba(0, 0, 0, 1);
}
.movie-poster-wrap img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
  background: #101711;
}
.movie-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(17px, 2.2vw, 24px);
  letter-spacing: 0.05em;
  color: #f6ecda;
}
.movie-tagline {
  color: var(--amber-soft);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding-left: 9px;
  border-left: 2px solid var(--amber);
}
.movie-player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #050805;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.movie-player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.movie-player-wrap.is-playing {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 1px rgba(63, 125, 85, 0.35),
    0 0 26px -6px rgba(63, 125, 85, 0.5);
}
.movie-player-wrap.is-lights-off {
  background: #000;
  border-color: #000;
}
.movie-player-wrap.is-lights-off video {
  filter: brightness(0.55) contrast(1.05);
}
.movie-player-wrap.is-theater {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px rgba(240, 160, 75, 0.35),
    0 0 34px -8px rgba(240, 160, 75, 0.45);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, #101a13 0%, #0a100c 100%);
  border-top: 1px solid var(--line-soft);
}
.player-controls button, .player-controls select {
  appearance: none;
  -webkit-appearance: none;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #162019;
  color: var(--text);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}
.player-controls button:hover, .player-controls select:hover, .player-controls button:focus-visible, .player-controls select:focus-visible {
  background: var(--green);
  border-color: var(--green-bright);
  color: #fdf3e3;
  outline: none;
}
.player-controls button.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #1a1206;
  font-weight: 700;
}
.player-controls button.is-muted {
  border-color: var(--amber-deep);
  color: var(--amber);
}
.player-controls input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-bright), #2a3a2d);
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--amber);
  border: 1px solid #2a1c0c;
  box-shadow: 0 0 8px -1px rgba(240, 160, 75, 0.8);
}
.player-controls input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #2a3a2d;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: 1px solid #2a1c0c;
}
.player-controls input[type="range"]:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 2px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.status-current {
  border-color: var(--amber-deep);
  background: rgba(240, 160, 75, 0.14);
  color: var(--amber-soft);
  box-shadow: 0 0 12px -4px rgba(240, 160, 75, 0.7);
}
.status-total {
  border-color: #35543c;
  color: #b9d6bf;
}
.status-episode {
  border-style: dashed;
  color: var(--text);
}
.cast-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--amber-soft);
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 1px;
  background: var(--amber);
  box-shadow: 0 0 8px -1px rgba(240, 160, 75, 0.9);
  vertical-align: baseline;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: #131c16;
}
.cast-avatar {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border: 1px solid #2d4033;
  border-radius: 2px;
  background:
    linear-gradient(
      180deg,
      rgba(240, 160, 75, 0.1) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    repeating-linear-gradient(
      90deg,
      #22352a 0 2px,
      #0d150f 2px 9px
    ),
    #0d150f;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    transparent 45%
  );
}
.cast-name {
  color: #eef0e7;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.cast-role {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  color: #c3c9bf;
  font-size: 12.8px;
  line-height: 1.78;
  text-align: justify;
  padding-left: 9px;
  border-left: 1px solid var(--line-soft);
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 4px 10px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.022);
  border-left: 2px solid var(--line);
}
.detail-key {
  flex: 0 0 auto;
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: var(--green-bright);
}
.detail-value {
  margin: 0;
  color: #dbe0d6;
  font-size: 12px;
  letter-spacing: 0.02em;
  min-width: 0;
}
.timeline-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      transparent 1px 5px
    ),
    linear-gradient(180deg, #121a14 0%, #0b110d 100%);
}
.timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--amber-soft);
}
.timeline-heading::after, .episodes-heading::after, .comments-heading::after, .rec-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(
    90deg,
    var(--amber-deep) 0%,
    var(--line) 40%,
    transparent 100%
  );
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--green-bright) transparent;
}
.timeline-scroller::-webkit-scrollbar {
  height: 7px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: #0c120e;
  border-radius: 4px;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 4px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 6px;
  align-items: stretch;
  min-width: 100%;
  width: max-content;
}
.timeline-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 8px 9px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green-bright);
  border-radius: 3px;
  background: linear-gradient(180deg, #17211a 0%, #0e150f 100%);
}
.timeline-stop::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px -1px rgba(240, 160, 75, 0.9);
}
.stop-timecode {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 7px;
  border-radius: 2px;
  background: #050805;
  border: 1px solid var(--line);
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.stop-event {
  color: #c6ccc2;
  font-size: 12px;
  line-height: 1.66;
}
.episodes-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #131c16 0%, #0c120e 100%);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num dur"
    "title title"
    "summary summary";
  gap: 3px 8px;
  padding: 8px 9px 8px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: #151e18;
  transition: border-color 0.16s ease, background 0.16s ease,
    transform 0.16s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #2b3a2c;
}
.episode-card:hover {
  border-color: var(--green-bright);
  background: #18231c;
}
.episode-active {
  border-color: var(--amber-deep);
  background: linear-gradient(
    180deg,
    rgba(240, 160, 75, 0.1) 0%,
    #17201a 100%
  );
  box-shadow: 0 0 20px -10px rgba(240, 160, 75, 0.8);
}
.episode-active::before {
  background: var(--amber);
}
.episode-number {
  grid-area: num;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
.episode-active .episode-number {
  color: var(--amber);
}
.episode-duration {
  grid-area: dur;
  align-self: start;
  justify-self: end;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-active .episode-duration {
  border-color: var(--amber-deep);
  color: var(--amber-soft);
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #eef0e7;
}
.episode-summary {
  grid-area: summary;
  color: #b3bbb0;
  font-size: 11.8px;
  line-height: 1.66;
}
.comments-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #141d17 0%, #0b110d 100%);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px 14px;
  align-items: start;
  padding: 4px 2px 8px;
}
.comment-note {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 12px;
  border: 1px solid #c9c0aa;
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.035) 0 1px,
      transparent 1px 19px
    ),
    linear-gradient(180deg, #e9e2d2 0%, #ddd5c2 100%);
  color: #24291f;
  box-shadow: 0 10px 20px -16px rgba(0, 0, 0, 0.95);
  transform: rotate(-0.5deg);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 46px;
  height: 10px;
  margin-left: -23px;
  background: rgba(240, 160, 75, 0.55);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.comment-note:nth-child(2n) {
  transform: rotate(0.7deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.9deg);
}
.comment-note:nth-child(4n) {
  transform: rotate(0.45deg);
}
.comment-nickname {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 7px;
  border-radius: 2px;
  background: var(--green-deep);
  color: #eef3e6;
  font-size: 11px;
  letter-spacing: 0.1em;
  transform: translateX(-3px);
}
.comment-text {
  color: #2c3227;
  font-size: 12.4px;
  line-height: 1.7;
}
.comment-note:nth-child(odd) .comment-text {
  transform: translateX(4px);
}
.comment-note:nth-child(3n) .comment-text {
  transform: translateX(-3px);
}
.rec-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #121a14 0%, #0b110d 100%);
}
.rec-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
a.rec-card, .rec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: #151e18;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease,
    box-shadow 0.16s ease, background 0.16s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: var(--amber-deep);
  background: #18231c;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -18px rgba(240, 160, 75, 0.9);
  outline: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #0d150f;
  border: 1px solid #223026;
}
.rec-name {
  color: #eef0e7;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.rec-blurb {
  color: var(--text-dim);
  font-size: 11.2px;
  line-height: 1.6;
}
.rec-region-split .rec-columns .rec-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.rec-region-split .rec-columns .rec-card img {
  flex: 0 0 34%;
  width: 34%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.rec-region-split .rec-columns .rec-card .rec-name, .rec-region-split .rec-columns .rec-card .rec-blurb {
  min-width: 0;
}
.rec-region-strip .rec-strip .rec-card img {
  aspect-ratio: 21 / 9;
}
.rec-region-grid .rec-grid .rec-card {
  padding: 5px;
  gap: 4px;
}
.rec-region-grid .rec-grid .rec-card img {
  aspect-ratio: 1 / 1;
}
.rec-region-grid .rec-grid .rec-name {
  font-size: 11.4px;
}
.rec-region-grid .rec-grid .rec-blurb {
  font-size: 10.6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(12px, 2vw, 20px) clamp(10px, 2.4vw, 26px) 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0b100d 0%, #070a08 100%);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--amber-soft);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
  outline: none;
}
.footer-disclaimer {
  max-width: 96ch;
  color: #7f8a7e;
  font-size: 11.5px;
  line-height: 1.75;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
}
.friend-links-label {
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #9db79f;
  font-size: 11.5px;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease,
    background 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
  background: rgba(240, 160, 75, 0.08);
  outline: none;
}
.player {
  display: block;
}
.play, .pause, .mute, .volume, .progress, .speed, .pip, .fullscreen, .theater, .light, .click, .change, .input, .timeupdate {
  transition: background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}
.is-active {
  border-color: var(--amber-deep);
}
.is-playing .play {
  color: var(--amber);
}
.is-muted .mute {
  color: var(--amber);
}
@media (max-width: 1080px) {.rec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.movie-panel {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
.movie-poster-wrap {
    max-width: 160px;
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.site-header {
    padding: 7px 12px;
  }
.header-tagline {
    white-space: normal;
  }
.categories-strip {
    margin-left: 0;
    width: 100%;
  }
.page-main {
    padding: 10px 12px 20px;
  }
.berth-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.hero-signboard {
    position: static;
    align-self: flex-start;
    margin: 0 0 8px;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
.hero-coinbox {
    position: static;
    align-self: flex-start;
    margin-top: 8px;
  }
.movie-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-poster-wrap {
    max-width: 180px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-region-split .rec-columns .rec-card {
    flex-direction: column;
  }
.rec-region-split .rec-columns .rec-card img {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
.timeline-track {
    grid-auto-columns: minmax(150px, 1fr);
  }}
@media (max-width: 520px) {.berth-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls input[type="range"] {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.episode-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "num"
      "title"
      "summary"
      "dur";
  }
.episode-duration {
    justify-self: start;
  }}

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}
