*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ol, ul, figure, dl, dd {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --soil: #b0722f;
  --soil-deep: #6b3d18;
  --soil-dark: #4a2a10;
  --wheat: #d9a441;
  --wheat-gold: #e8bd5c;
  --green: #7ba33f;
  --green-soft: #a8c46a;
  --frost: #f7f3e8;
  --frost-dim: #efe7d4;
  --ink: #2e2114;
  --ink-soft: #5a4632;
  --line: rgba(107, 61, 24, 0.22);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "Noto Sans SC", sans-serif;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #fbf7ec 0%, #f6efdf 45%, #f2e8d3 100%);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px clamp(12px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(74, 42, 16, 0.96), rgba(74, 42, 16, 0.9));
  border-bottom: 3px solid var(--wheat);
  box-shadow: 0 2px 10px rgba(74, 42, 16, 0.28);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--frost);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--wheat-gold);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--frost-dim);
  text-decoration: none;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 2px;
  background: rgba(217, 164, 65, 0.1);
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: var(--wheat);
  color: var(--soil-dark);
  border-color: var(--wheat);
}
.page-main {
  display: block;
  padding: 0 0 4px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--soil-dark);
  padding-left: 10px;
  border-left: 4px solid var(--green);
  margin-bottom: 8px;
  line-height: 1.3;
}
.hero {
  position: relative;
  padding: clamp(14px, 2.4vw, 28px) clamp(12px, 3vw, 34px) 0;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(8px, 1.6vw, 22px);
  padding: clamp(12px, 2vw, 24px) clamp(10px, 2vw, 26px) 0;
  border: 1px solid var(--line);
  border-bottom: none;
  background:
    linear-gradient(180deg, #eef3e0 0%, #f3ead2 46%, #e6d7ab 78%, #d8bd7f 100%);
  overflow: hidden;
}
.hero-stage::before, .hero-stage::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  pointer-events: none;
  z-index: 0;
}
.hero-stage::before {
  bottom: 22%;
  height: 46%;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(123, 163, 63, 0.32) 0 2px,
      rgba(123, 163, 63, 0) 2px 16px
    ),
    repeating-linear-gradient(
      78deg,
      rgba(176, 114, 47, 0.22) 0 2px,
      rgba(176, 114, 47, 0) 2px 22px
    );
  transform: skewY(-2deg);
}
.hero-stage::after {
  bottom: 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.45), rgba(107, 61, 24, 0.85));
  transform: skewY(-1.4deg) scaleY(1.1);
  transform-origin: bottom left;
}
.hero-portrait {
  position: relative;
  z-index: 2;
  margin: 0;
  align-self: end;
}
.hero-portrait-left {
  justify-self: start;
  width: clamp(88px, 20vw, 168px);
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--soil-deep);
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(74, 42, 16, 0.34);
  background: var(--soil-deep);
}
.hero-figures {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(10px, 3vw, 40px);
  min-height: clamp(150px, 26vw, 300px);
  padding-bottom: 6px;
}
.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: clamp(84px, 17vw, 176px);
  min-height: clamp(120px, 22vw, 250px);
  border-radius: 50% 50% 6px 6px / 42% 42% 4px 4px;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(247, 243, 232, 0.82) 0 30%, rgba(247, 243, 232, 0) 62%),
    linear-gradient(180deg, #9dbb63 0%, #7ba33f 34%, #b0722f 72%, #6b3d18 100%);
  box-shadow: inset 0 0 0 1px rgba(74, 42, 16, 0.24), 0 8px 18px rgba(74, 42, 16, 0.24);
  overflow: hidden;
}
.hero-figure::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(74, 42, 16, 0.42);
  box-shadow: 0 0 0 6px rgba(247, 243, 232, 0.2);
}
.hero-figure::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12%;
  right: 12%;
  height: 42%;
  border-radius: 40% 40% 0 0 / 60% 60% 0 0;
  background: rgba(74, 42, 16, 0.36);
}
.hero-figure-linqiuhe {
  align-self: flex-start;
}
.hero-figure-zhoudeshun {
  align-self: flex-end;
}
.hero-figure-name {
  position: relative;
  z-index: 1;
  order: -1;
  margin-bottom: 6px;
  padding: 2px 10px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--soil-dark);
  background: rgba(247, 243, 232, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}
.hero-slogan {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: 6px clamp(10px, 3vw, 34px);
  pointer-events: none;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(26px, 5.4vw, 54px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--soil-dark);
  text-shadow:
    0 1px 0 rgba(247, 243, 232, 0.9),
    0 4px 14px rgba(247, 243, 232, 0.7);
  line-height: 1.15;
}
.hero-tagline {
  margin-top: 4px;
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.22em;
  color: var(--soil-deep);
  text-shadow: 0 1px 0 rgba(247, 243, 232, 0.85);
}
.hero-fields {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.hero-wheat-ridge {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(123, 163, 63, 0.9), rgba(217, 164, 65, 0.9), rgba(123, 163, 63, 0.55));
}
.hero-wheat-ridge:nth-child(1) {
  width: 100%;
  opacity: 0.9;
}
.hero-wheat-ridge:nth-child(2) {
  width: 82%;
  margin-left: 9%;
  opacity: 0.72;
}
.hero-wheat-ridge:nth-child(3) {
  width: 62%;
  margin-left: 19%;
  opacity: 0.55;
}
.media-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-top: none;
  background: #1c1208;
  padding: 0;
}
.player-video {
  width: 100%;
  display: block;
  background: #1c1208;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #3a2410, #2a1a0a);
  border-top: 2px solid var(--wheat);
}
.player-btn {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--frost-dim);
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.42);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.player-btn:hover {
  background: var(--wheat);
  color: var(--soil-dark);
}
.player-btn.is-active {
  background: var(--green);
  border-color: var(--green-soft);
  color: var(--frost);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 6px;
  accent-color: var(--wheat);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 92px;
  min-width: 64px;
  height: 6px;
  accent-color: var(--green-soft);
  cursor: pointer;
}
.player-speed {
  padding: 3px 6px;
  font-size: 12px;
  color: var(--frost-dim);
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.42);
  border-radius: 2px;
  cursor: pointer;
}
.overview-info {
  margin-top: 10px;
  padding: clamp(12px, 2vw, 22px);
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(107, 61, 24, 0.1), inset 0 -3px 0 rgba(107, 61, 24, 0.16);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 26px);
  align-items: start;
}
.overview-description {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-left: 3px solid var(--wheat);
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.12), rgba(217, 164, 65, 0));
  border-radius: 2px;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 6px 0 8px;
  border-bottom: 1px dashed var(--line);
}
.status-current {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--frost);
  background: var(--soil-deep);
  padding: 3px 12px;
  border-radius: 2px;
}
.status-total {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--soil-deep);
  background: rgba(123, 163, 63, 0.16);
  border: 1px solid rgba(123, 163, 63, 0.42);
  padding: 3px 12px;
  border-radius: 2px;
}
.cast-section {
  grid-column: 1 / -1;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 8px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cast-card:hover {
  border-color: var(--green);
  box-shadow: 0 3px 12px rgba(123, 163, 63, 0.22);
}
.cast-portrait {
  grid-row: 1 / span 2;
  position: relative;
  width: 52px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--soil);
  border-radius: 2px;
  background: linear-gradient(160deg, #e8d9b4, #b0722f);
}
.cast-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--soil-dark);
  line-height: 1.3;
}
.cast-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.synopsis-section {
  grid-column: 1 / -1;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  align-items: start;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  padding: 8px 10px 8px 32px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.synopsis-item::before {
  counter-increment: syn;
  content: counter(syn, cjk-ideographic);
  position: absolute;
  left: 8px;
  top: 8px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}
.details-section {
  grid-column: 1 / -1;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 6px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(217, 164, 65, 0.09);
  border: 1px solid rgba(107, 61, 24, 0.14);
  border-radius: 2px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--soil-deep);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--ink);
  text-align: right;
}
.timeline-section {
  position: relative;
  padding: clamp(14px, 2vw, 24px) clamp(12px, 3vw, 34px) clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, #f6efdf 0%, #f0e2c4 100%);
  border-top: 3px solid var(--soil-deep);
  border-bottom: 3px solid var(--soil-dark);
  margin-top: 14px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2.4vw, 30px);
  min-width: max-content;
  padding: 14px 4px 6px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--soil) 0 14px, rgba(176, 114, 47, 0) 14px 24px);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.timeline-chip {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frost);
  background: radial-gradient(circle at 34% 30%, var(--wheat-gold), var(--soil) 62%, var(--soil-deep) 100%);
  border: 2px solid var(--frost);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 42, 16, 0.32);
  transition: transform 0.18s ease, background 0.18s ease;
}
.timeline-chip:hover {
  transform: translateY(-2px);
}
.timeline-chip.is-active {
  background: radial-gradient(circle at 34% 30%, var(--green-soft), var(--green) 60%, #4e7024 100%);
  border-color: var(--wheat-gold);
}
.timeline-label {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--soil-dark);
}
.timeline-episode-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease;
}
.timeline-node.is-expanded .timeline-episode-note {
  max-height: 40px;
  opacity: 1;
}
.episodes-section {
  padding: clamp(14px, 2vw, 24px) clamp(12px, 3vw, 34px) clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, #fbf7ec 0%, #f3e9d2 100%);
  border-bottom: 3px solid var(--soil-dark);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: baseline;
  padding: 9px 11px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-left: 4px solid var(--wheat);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.episode-card:hover {
  border-left-color: var(--green);
  box-shadow: 0 4px 14px rgba(107, 61, 24, 0.16);
}
.episode-number {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--soil-deep);
  white-space: nowrap;
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  line-height: 1.35;
}
.episode-duration {
  grid-column: 3;
  grid-row: 1;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--green);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary {
  max-height: 160px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  padding: clamp(14px, 2vw, 24px) clamp(12px, 3vw, 34px) clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, #f3e9d2 0%, #efe0bf 100%);
  border-bottom: 3px solid var(--soil-dark);
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.comment-avatar-rail {
  display: flex;
  justify-content: center;
  padding-top: 2px;
  border-right: 1px solid rgba(107, 61, 24, 0.14);
  padding-right: 8px;
  min-height: 100%;
}
.comment-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 62px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--frost);
  border-radius: 13px;
  background: linear-gradient(180deg, var(--green) 0%, var(--soil) 55%, var(--soil-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 232, 0.35);
}
.comment-body {
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--soil-deep);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-soft);
}
.recommend-region {
  padding: clamp(14px, 2vw, 22px) clamp(12px, 3vw, 34px);
  background: linear-gradient(180deg, #fbf7ec 0%, #f4ead3 100%);
  border-bottom: 3px solid var(--soil-dark);
}
.recommend-region-2 {
  background: linear-gradient(180deg, #f4ead3 0%, #efdfba 100%);
  border-bottom: 4px solid var(--soil-dark);
}
.recommend-heading {
  margin-bottom: 10px;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  text-decoration: none;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: var(--wheat);
  box-shadow: 0 6px 16px rgba(107, 61, 24, 0.2);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: linear-gradient(160deg, #e8d9b4, #b0722f);
}
a.recommend-card [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--soil-dark);
  line-height: 1.35;
}
a.recommend-card [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.site-footer {
  padding: clamp(16px, 2.4vw, 28px) clamp(12px, 3vw, 34px) clamp(20px, 2.6vw, 30px);
  background: linear-gradient(180deg, var(--soil-deep) 0%, var(--soil-dark) 100%);
  border-top: 4px solid var(--wheat);
  color: var(--frost-dim);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px 22px;
  align-items: start;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.72);
  grid-column: 1 / -1;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217, 164, 65, 0.28);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--wheat-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 189, 92, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--frost);
  border-bottom-color: var(--frost);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 232, 0.6);
  padding-right: 6px;
  border-right: 1px solid rgba(217, 164, 65, 0.3);
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(247, 243, 232, 0.82);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--wheat-gold);
  text-decoration: underline;
}
.media-shell.is-theater {
  border-color: var(--wheat);
  box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.4);
}
body.is-theater .hero-stage {
  background: linear-gradient(180deg, #241708 0%, #3a2410 60%, #4a2a10 100%);
}
body.is-theater .hero-title, body.is-theater .hero-tagline {
  color: var(--wheat-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
body.is-lights-off {
  background: #170f06;
}
body.is-lights-off .page-main, body.is-lights-off .site-footer {
  filter: brightness(0.45);
}
body.is-lights-off .media-shell {
  filter: none;
  box-shadow: 0 0 40px rgba(217, 164, 65, 0.3);
}
@media (max-width: 900px) {.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figures {
    min-height: clamp(130px, 24vw, 220px);
  }}
@media (max-width: 720px) {.site-header {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
    padding: 10px 8px 0;
  }
.hero-figure {
    width: clamp(64px, 20vw, 110px);
    min-height: clamp(96px, 26vw, 160px);
  }
.hero-figure-name {
    font-size: 11px;
    padding: 1px 6px;
  }
.hero-slogan {
    padding: 4px 8px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 108px;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.player-btn {
    padding: 3px 8px;
    font-size: 11.5px;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
  }
.overview-description {
    font-size: 13.5px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.synopsis-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
.comment-avatar {
    height: 48px;
  }}
@media (min-width: 1100px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}

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}
