*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: #05080e;
  color: #a9bccb;
  font-family: "SF Mono", "Courier New", ui-monospace, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(20, 60, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 60, 80, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #38d6e8;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
h1, h2, h3 {
  font-weight: 500;
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 9, 15, 0.92);
  border-bottom: 1px solid #12293a;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: #e8f6fb;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border: 1px solid #1d4d63;
  border-left: 3px solid #28e0f0;
  background: linear-gradient(90deg, rgba(40, 224, 240, 0.12), rgba(40, 224, 240, 0));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  text-shadow: 0 0 8px rgba(40, 224, 240, 0.45);
}
a[data-contract="site-name"]:hover {
  color: #ffffff;
  border-color: #28e0f0;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #7fa4b8;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid #16374a;
  background: rgba(18, 44, 58, 0.4);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
a.runtime-category:hover {
  color: #071018;
  background: #28e0f0;
  border-color: #28e0f0;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #4fe3f2;
  text-transform: uppercase;
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 2px solid #28e0f0;
  text-shadow: 0 0 10px rgba(40, 224, 240, 0.35);
}
.hero-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "diary figure"
    "player meta";
  gap: 14px 18px;
  padding: 16px;
  border: 1px solid #123043;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(35, 190, 220, 0.14), transparent 60%),
    linear-gradient(180deg, #070d16, #04080d 70%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  isolation: isolate;
}
.hero-glow-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 62% 26%, rgba(60, 235, 255, 0.2), transparent 70%),
    radial-gradient(60% 46% at 18% 88%, rgba(150, 22, 40, 0.16), transparent 72%);
  mix-blend-mode: screen;
}
.diary-stack {
  grid-area: diary;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.diary-entry {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid #14425a;
  border-left: 2px solid #28e0f0;
  background: linear-gradient(90deg, rgba(20, 62, 82, 0.55), rgba(10, 26, 36, 0.35));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  backdrop-filter: blur(2px);
}
.diary-entry--lead {
  border-left-color: #6ff3ff;
  background: linear-gradient(90deg, rgba(36, 108, 132, 0.6), rgba(10, 26, 36, 0.3));
  box-shadow: 0 0 16px rgba(40, 224, 240, 0.18);
}
.diary-entry--warn {
  border-color: #551725;
  border-left-color: #b3223a;
  background: linear-gradient(90deg, rgba(96, 18, 34, 0.55), rgba(20, 8, 14, 0.3));
}
.diary-entry--warn .diary-line {
  color: #ff8fa1;
}
.diary-entry--faint {
  opacity: 0.5;
  border-color: #16303f;
  border-left-color: #2c5568;
  border-style: dashed;
  background: rgba(9, 20, 28, 0.35);
}
.diary-timestamp {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #38d6e8;
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.diary-entry--warn .diary-timestamp {
  color: #ff5d76;
}
.diary-entry--faint .diary-timestamp {
  color: #5f8496;
}
.diary-line {
  font-size: 13px;
  color: #cfe6f0;
  line-height: 1.45;
}
.hero-figure {
  grid-area: figure;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.poster-frame {
  flex: 0 0 auto;
  width: 108px;
  border: 1px solid #1c4c62;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  background: #08121a;
  box-shadow: 0 0 22px rgba(40, 224, 240, 0.16);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.hero-caption {
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #eafaff;
  text-shadow: 0 0 14px rgba(40, 224, 240, 0.4);
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 12px;
  color: #7fa4b8;
  border-left: 2px solid #b3223a;
  padding-left: 8px;
  line-height: 1.6;
}
.player-shell {
  grid-area: player;
  position: relative;
  z-index: 3;
  align-self: start;
  border: 1px solid #14425a;
  background: #03070c;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-lightsoff {
  background: #000;
  border-color: #28e0f0;
  box-shadow: 0 0 26px rgba(40, 224, 240, 0.3);
}
.player-shell.is-theater {
  border-color: #b3223a;
  box-shadow: 0 0 26px rgba(179, 34, 58, 0.32);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  padding: 7px;
  border-top: 1px solid #102a39;
  background: linear-gradient(180deg, #0a1520, #060c13);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9dc0d0;
  padding: 4px 8px;
  border: 1px solid #1b3f53;
  background: rgba(16, 42, 56, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  color: #eafaff;
  border-color: #28e0f0;
  background: rgba(40, 224, 240, 0.16);
}
.ctrl-btn.is-active {
  color: #04121a;
  background: #28e0f0;
  border-color: #28e0f0;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 80px;
  min-width: 70px;
  height: 3px;
  background: #17384b;
  cursor: pointer;
  border: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 15px;
  background: #28e0f0;
  border: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 8px rgba(40, 224, 240, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 15px;
  border: none;
  border-radius: 0;
  background: #28e0f0;
}
.overview-meta {
  grid-area: meta;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 14px 18px;
  align-items: start;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid #123043;
  background: rgba(10, 24, 34, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  align-self: start;
}
.status-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #14364a;
}
.status-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.status-key {
  color: #6a8fa3;
  letter-spacing: 0.1em;
}
.status-val {
  color: #eafaff;
  font-variant-numeric: tabular-nums;
}
.cast-strip {
  align-self: start;
  min-width: 0;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border: 1px solid #14364a;
  background: rgba(12, 30, 42, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(135deg, #1f5d74, #0a1a24 60%),
    #0a1a24;
  border: 1px solid #28e0f0;
  box-shadow: inset 0 0 8px rgba(40, 224, 240, 0.3);
}
.cast-name {
  font-size: 12px;
  color: #cfe6f0;
  white-space: nowrap;
}
.synopsis-block, .details-block {
  grid-column: 1 / -1;
  padding: 11px 12px;
  border: 1px solid #102a39;
  background: rgba(8, 19, 28, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.synopsis-para {
  font-size: 13px;
  color: #a9bccb;
  line-height: 1.72;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 20px;
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed #12293a;
  font-size: 12px;
}
.detail-key {
  flex: 0 0 68px;
  color: #6a8fa3;
  letter-spacing: 0.08em;
}
.detail-val {
  color: #d6e9f2;
  min-width: 0;
}
.timeline-section {
  padding: 13px 14px;
  border: 1px solid #102a39;
  background: linear-gradient(180deg, rgba(9, 22, 32, 0.8), rgba(5, 11, 17, 0.8));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 7px 18px;
  padding-left: 14px;
  border-left: 1px solid #16394d;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 10px;
  border: 1px solid #123043;
  background: rgba(10, 25, 35, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 9px;
  height: 1px;
  background: #28e0f0;
}
.timeline-code {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #4fe3f2;
  font-variant-numeric: tabular-nums;
  padding: 1px 5px;
  border: 1px solid #17475d;
  background: rgba(40, 224, 240, 0.08);
}
.timeline-label {
  font-size: 12.5px;
  color: #bdd4e0;
  line-height: 1.5;
}
.episodes-section {
  padding: 13px 14px;
  border: 1px solid #102a39;
  background: rgba(7, 16, 24, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num dur"
    "title title"
    "summary summary";
  gap: 3px 10px;
  padding: 8px 10px;
  border: 1px solid #123043;
  border-left: 2px solid #1d5a72;
  background: rgba(11, 26, 36, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: #28e0f0;
  background: rgba(18, 48, 64, 0.7);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #4fe3f2;
  font-variant-numeric: tabular-nums;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #6a8fa3;
  align-self: center;
  padding: 1px 5px;
  border: 1px solid #16394d;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  color: #eafaff;
  letter-spacing: 0.02em;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  color: #8aa8b8;
  line-height: 1.55;
}
.comments-section {
  padding: 13px 14px;
  border: 1px solid #102a39;
  background: rgba(7, 16, 24, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.comments-columns {
  columns: 2;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 1px solid #123043;
  border-right: 2px solid #1d5a72;
  background: linear-gradient(90deg, rgba(14, 34, 46, 0.6), rgba(9, 20, 28, 0.4));
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.comment-card:nth-child(even) {
  border-right-color: #b3223a;
  background: linear-gradient(90deg, rgba(30, 14, 20, 0.55), rgba(9, 20, 28, 0.4));
}
.comment-nickname {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #4fe3f2;
  margin-bottom: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid #17475d;
}
.comment-card:nth-child(even) .comment-nickname {
  color: #ff7d92;
  border-bottom-color: #4d1622;
}
.comment-text {
  font-size: 12.5px;
  color: #b6cddb;
  line-height: 1.62;
}
.recommend-region {
  padding: 13px 14px;
  border: 1px solid #102a39;
  background: linear-gradient(180deg, rgba(10, 22, 32, 0.7), rgba(5, 11, 17, 0.7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.recommend-region .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 7px;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  gap: 2px 9px;
  align-items: start;
  padding: 6px;
  border: 1px solid #123043;
  background: rgba(11, 26, 36, 0.55);
  color: #cfe6f0;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: #28e0f0;
  background: rgba(19, 50, 66, 0.75);
  transform: translateX(2px);
}
a.recommend-item img, [data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  height: 64px;
  object-fit: cover;
  border: 1px solid #1b3f53;
  filter: saturate(0.85) brightness(0.92);
}
a.recommend-item:hover img {
  filter: saturate(1) brightness(1.05);
}
.recommend-thumb {
  display: block;
}
.recommend-name {
  grid-area: name;
  font-size: 12.5px;
  color: #eafaff;
  line-height: 1.4;
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  color: #7fa4b8;
  line-height: 1.5;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid #12293a;
  background: linear-gradient(180deg, rgba(6, 13, 20, 0.4), rgba(3, 7, 11, 0.9));
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.7;
  color: #5f8496;
}
.footer-friends {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #4fe3f2;
  padding-right: 8px;
  border-right: 1px solid #17475d;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #82a7ba;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: #28e0f0;
  border-bottom-color: #28e0f0;
}
.footer-links {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
a.footer-link {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid #16374a;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}
a[data-contract="footer-home"] {
  color: #4fe3f2;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #04121a;
  background: #4fe3f2;
  border-color: #4fe3f2;
}
a[data-contract="footer-sitemap"] {
  color: #ff7d92;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #04121a;
  background: #ff7d92;
  border-color: #ff7d92;
}
@media (max-width: 1024px) {.hero-screen {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "diary"
      "figure"
      "player"
      "meta";
  }
.overview-meta {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    width: 96px;
  }}
@media (max-width: 720px) {.page-main {
    padding: 10px 10px 24px;
    gap: 14px;
  }
.hero-screen {
    padding: 12px;
    gap: 12px;
  }
.movie-title {
    font-size: 17px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    columns: 1;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    flex-direction: row;
  }
.poster-frame {
    width: 84px;
  }}
@media (max-width: 480px) {.header-inner {
    padding: 7px 10px;
  }
.hero-figure {
    flex-direction: column;
  }
.poster-frame {
    width: 118px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-links {
    width: 100%;
  }
.ctrl-range {
    flex: 1 1 100%;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
