*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #15181a;
  background-image:
    linear-gradient(180deg, #1b2220 0%, #15181a 38%, #101314 100%);
  color: #c9ccc7;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-stretch: condensed;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, li {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(17, 21, 21, 0.94);
  border-bottom: 1px solid #2c3532;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0d79a;
  padding: 2px 8px 2px 0;
  border-right: 2px solid #6d5a2e;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: #f0d79a;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #ffe9b4;
  text-decoration: underline;
}
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #a9b4ad;
  background-color: #202826;
  border: 1px solid #33403c;
  border-radius: 2px;
}
a.runtime-category {
  color: #a9b4ad;
  text-decoration: none;
}
a.runtime-category:hover {
  color: #1a1f1d;
  background-color: #c9a24a;
  border-color: #c9a24a;
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 26px;
}
.block-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d8c187;
  padding-left: 8px;
  border-left: 3px solid #b8862f;
  margin-bottom: 8px;
  text-transform: none;
}
.hero-dorm {
  padding: 10px 0 14px;
  border-bottom: 1px solid #262e2c;
}
.hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ece6d6;
  line-height: 1.1;
}
.hero-tagline {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #8b968f;
}
.dorm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 16px;
}
.bunk-cell {
  position: relative;
  min-width: 0;
}
.bunk-frame {
  position: relative;
  height: 100%;
  min-height: 96px;
  background-color: #232a28;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 7px),
    linear-gradient(160deg, #2b3330 0%, #1c2321 100%);
  border: 1px solid #39433f;
  overflow: hidden;
}
.bunk-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 70% 10%, rgba(255, 196, 92, 0.10), transparent 60%);
}
.bunk-photo {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.62) contrast(1.05);
}
.bunk-avatars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 5px 5px 4px;
  background: linear-gradient(180deg, rgba(10, 13, 12, 0) 0%, rgba(10, 13, 12, 0.88) 62%);
}
.avatar-chip {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #e6dcc2;
  background-color: rgba(38, 48, 45, 0.92);
  border: 1px solid #5d6a62;
  border-radius: 2px;
  white-space: nowrap;
}
.bunk-1 .bunk-frame {
  border-color: #6b5a2c;
}
.bunk-2 .bunk-frame {
  border-color: #3d4a52;
}
.bunk-3 .bunk-frame {
  border-color: #4a4a3d;
}
.bunk-4 .bunk-frame {
  border-color: #3a4a44;
}
.bunk-5 .bunk-frame {
  border-color: #473f4d;
}
.bunk-6 .bunk-frame {
  border-color: #4d4038;
}
.bunk-1 .avatar-chip {
  border-color: #c9a24a;
  color: #ffe6ab;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
  background-color: #1b201f;
  border: 1px solid #2d3633;
  border-left: 3px solid #6d5a2e;
}
.poster-column {
  min-width: 0;
}
.poster-wrap {
  margin: 0;
  width: 100%;
  border: 1px solid #3a3323;
  background-color: #101413;
}
.poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
}
.overview-info {
  min-width: 0;
}
.episode-status {
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #2b3431;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: #d9c489;
  background-color: #232a26;
  border-left: 2px solid #b8862f;
  padding: 4px 8px;
}
.cast-block {
  margin-bottom: 12px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}
.cast-card {
  position: relative;
  min-width: 0;
  background-color: #161b1a;
  border: 1px solid #313a37;
  overflow: hidden;
}
.cast-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #202725;
}
.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) saturate(0.6) contrast(1.1);
}
.cast-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 10, 0.05) 30%, rgba(8, 10, 10, 0.92) 100%);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 3px 4px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ece1c6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-1 .cast-name {
  color: #ffdf9c;
}
.synopsis-block {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2b3431;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0;
  color: #a6afa8;
  margin-bottom: 5px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 2px 0;
  border-bottom: 1px dotted #2c3431;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7f8a83;
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #d2d6cf;
  text-align: right;
  word-break: break-word;
}
.player-panel {
  margin: 14px 0;
}
.player-shell {
  position: relative;
  width: 100%;
  background-color: #0b0e0d;
  border: 1px solid #2f3835;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background-color: #1c2321;
  border-top: 1px solid #2f3835;
}
.player-controls button {
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #c5cdc6;
  background-color: #262f2c;
  border: 1px solid #3a4541;
  border-radius: 2px;
  white-space: nowrap;
}
.player-controls button:hover {
  color: #141917;
  background-color: #c9a24a;
  border-color: #c9a24a;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background-color: #3b4642;
  border-radius: 2px;
  outline: none;
}
.player-controls input[data-player-action="progress"] {
  flex: 1 1 140px;
  min-width: 90px;
}
.player-controls input[data-player-action="volume"] {
  flex: 0 0 auto;
  width: 76px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #d8c187;
  border: 1px solid #6d5a2e;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d8c187;
  border: 1px solid #6d5a2e;
  cursor: pointer;
}
.player-shell.is-fullscreen {
  border-color: #c9a24a;
}
.player-controls button.is-muted, .player-controls button.is-light-off, .player-controls button.is-theater {
  color: #141917;
  background-color: #b8862f;
  border-color: #b8862f;
}
.player-panel.is-theater .player-shell {
  box-shadow: 0 0 0 1px #4a3c18, 0 8px 26px rgba(0, 0, 0, 0.6);
}
body.is-lights-off {
  background-color: #050706;
  background-image: none;
}
body.is-lights-off .page-main {
  filter: brightness(0.72);
}
.player {
  display: block;
}
.player-controls button.play::before {
  content: "";
}
.timeline-section {
  margin: 14px 0;
  padding: 12px 14px 14px;
  background-color: #191e1d;
  border: 1px solid #2b3431;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "tag time"
    "label label";
  align-items: center;
  gap: 3px 8px;
  padding: 7px 9px 8px 12px;
  background-color: #1f2523;
  border: 1px solid #303936;
  border-left: 4px solid #5c6b64;
}
.timeline-tag {
  grid-area: tag;
  justify-self: start;
  padding: 1px 7px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #10140f;
  border-radius: 2px;
  white-space: nowrap;
}
.timeline-timecode {
  grid-area: time;
  justify-self: end;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #8f9a93;
  white-space: nowrap;
}
.timeline-label {
  grid-area: label;
  font-size: 13px;
  line-height: 1.3;
  color: #d5d9d1;
  word-break: break-word;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
}
.node-emotion-1 {
  border-left-color: #7fa06a;
}
.node-emotion-1 .timeline-tag {
  background-color: #7fa06a;
}
.node-emotion-2 {
  border-left-color: #c9a24a;
}
.node-emotion-2 .timeline-tag {
  background-color: #c9a24a;
}
.node-emotion-3 {
  border-left-color: #b07a3a;
}
.node-emotion-3 .timeline-tag {
  background-color: #b07a3a;
}
.node-emotion-4 {
  border-left-color: #b5493a;
}
.node-emotion-4 .timeline-tag {
  background-color: #b5493a;
  color: #f6e6dd;
}
.node-emotion-5 {
  border-left-color: #5b6f8a;
}
.node-emotion-5 .timeline-tag {
  background-color: #5b6f8a;
  color: #e6edf6;
}
.node-emotion-6 {
  border-left-color: #8fa6a0;
}
.node-emotion-6 .timeline-tag {
  background-color: #8fa6a0;
}
.episodes-section {
  margin: 14px 0;
}
.episodes-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #4a5551 #1b201f;
}
.episodes-row::-webkit-scrollbar {
  height: 7px;
}
.episodes-row::-webkit-scrollbar-track {
  background-color: #1b201f;
}
.episodes-row::-webkit-scrollbar-thumb {
  background-color: #4a5551;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  background-color: #1e2422;
  border: 1px solid #2e3734;
  border-top: 2px solid #3f4a46;
}
.episode-card:hover {
  border-top-color: #c9a24a;
  background-color: #232a27;
}
.episode-number {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #b8862f;
  white-space: nowrap;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e6e1d2;
  line-height: 1.25;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: #9aa39c;
}
.episode-duration {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6f7a74;
  white-space: nowrap;
}
.comments-section {
  margin: 14px 0;
  padding: 12px 14px 14px;
  background-color: #181d1c;
  border: 1px solid #2b3431;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comments-col-right {
  padding-top: 16px;
}
.comment-note {
  position: relative;
  padding: 8px 10px 9px;
  background-color: #22282a;
  border: 1px solid #333c3e;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
}
.comment-note::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, transparent 48%, #3d4749 50%);
}
.comments-col-left .comment-note {
  background-color: #232a29;
  border-color: #38403c;
  transform: rotate(-0.35deg);
}
.comments-col-right .comment-note {
  background-color: #262a2e;
  border-color: #3a4046;
  transform: rotate(0.4deg);
}
.comment-nickname {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #d8c187;
  border-bottom: 1px solid #4a4433;
  padding-bottom: 1px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #a8b0aa;
}
.recommend-region {
  margin: 14px 0;
  padding: 10px 12px 12px;
  background-color: #171c1b;
  border: 1px solid #2a3331;
}
.region-1 {
  border-left: 3px solid #6d5a2e;
}
.region-2 {
  border-left: 3px solid #3d4a52;
}
.region-3 {
  border-left: 3px solid #473f4d;
}
.region-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e2d9c3;
  margin-bottom: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid #2f3936;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.region-2 .recommend-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 5px 5px 7px;
  background-color: #1e2422;
  border: 1px solid #2f3835;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
a.recommend-card {
  color: #c9ccc7;
  text-decoration: none;
}
a.recommend-card:hover {
  background-color: #262e2b;
  border-color: #6d5a2e;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background-color: #121615;
  filter: saturate(0.72) brightness(0.82);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.95) brightness(0.95);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #e4dfd0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: #8f998f;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.site-footer {
  background-color: #101413;
  border-top: 1px solid #2b3431;
  margin-top: 8px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 18px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #b9a06a;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0d79a;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #6f7a74;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #8c9a92;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #8c9a92;
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: #cbbf93;
  text-decoration: underline;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.5;
  color: #5f6a64;
  padding-top: 8px;
  border-top: 1px dotted #2b3431;
}
@media (max-width: 1024px) {.overview-body {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.region-2 .recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row, .region-2 .recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 10px 10px 22px;
  }
.hero-title {
    font-size: 22px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.poster-column {
    max-width: 220px;
  }
.dorm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-col-right {
    padding-top: 0;
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row, .region-2 .recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-row {
    grid-auto-columns: minmax(160px, 1fr);
  }}
@media (max-width: 520px) {.header-bar {
    gap: 8px;
    padding: 7px 10px;
  }
.site-brand {
    font-size: 15px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row, .region-2 .recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.player-controls button {
    padding: 3px 7px;
    font-size: 11px;
  }
.player-controls input[data-player-action="volume"] {
    width: 60px;
  }}
@media (max-width: 380px) {.dorm-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row, .region-2 .recommend-row {
    grid-template-columns: 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}
