*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #cfd4d2;
  background-image:
    repeating-linear-gradient(0deg, rgba(120, 128, 126, 0.09) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 128, 126, 0.06) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #d4d9d6 0%, #c6ccc9 100%);
  color: #232b2b;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a {
  color: #2c4a4c;
  text-decoration: none;
}
p, h1, h2, h3, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 8px 16px 7px;
  background: linear-gradient(180deg, rgba(190, 196, 193, 0.96), rgba(176, 183, 180, 0.94));
  border-bottom: 2px solid #6f7a78;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7a1f1c;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid #7a1f1c;
  padding-bottom: 1px;
  white-space: nowrap;
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-left: auto;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12.5px;
  color: #33403f;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid #8b9593;
  background: rgba(226, 229, 226, 0.6);
  letter-spacing: 0.06em;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: #7a1f1c;
  border-color: #7a1f1c;
  text-decoration: underline;
}
.page-main {
  display: block;
  padding: 0 16px 4px;
  max-width: 1180px;
  margin: 0 auto;
  border-left: 1px solid rgba(110, 120, 118, 0.35);
  border-right: 1px solid rgba(110, 120, 118, 0.35);
}
.block-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #1c2524;
  padding: 0 0 3px;
  margin-bottom: 7px;
  border-bottom: 2px solid #5d6a68;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
section {
  scroll-margin-top: 44px;
}
.hero-ledger {
  padding: 16px 0 12px;
  border-bottom: 1px solid #98a19f;
  display: block;
}
.ledger-stack {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 20px;
  padding: 10px 10px 12px;
  isolation: isolate;
}
.ledger-cover {
  position: relative;
  z-index: 3;
  margin: 0;
  flex: 0 0 auto;
  width: 208px;
  max-width: 60vw;
  transform: rotate(-2.4deg);
  background: #b9c0bd;
  padding: 6px 6px 4px;
  border: 1px solid #7d8785;
  box-shadow:
    3px 4px 0 rgba(70, 80, 78, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.ledger-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 70, 68, 0.07) 0 1px, transparent 1px 3px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, transparent 42%);
  mix-blend-mode: multiply;
}
.poster-frame {
  position: relative;
  width: 100%;
  background: #8f9895;
  border: 1px solid #5f6a68;
  overflow: hidden;
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.82) contrast(0.98);
}
.ledger-imprint {
  margin-top: 5px;
  border-top: 1px dashed #6c7674;
  padding-top: 3px;
}
.ledger-mimeo {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #7a1f1c;
  text-shadow: 0 0 1px rgba(122, 31, 28, 0.5);
}
.ledger-scraps {
  flex: 1 1 180px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: flex-start;
  padding-top: 6px;
  min-width: 0;
}
.scrap {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #4c5654;
  padding: 3px 7px;
  border: 1px solid #8d9694;
  background: rgba(210, 214, 210, 0.55);
  box-shadow: 1px 1px 0 rgba(80, 90, 88, 0.28);
  white-space: nowrap;
}
.scrap-ticket {
  transform: rotate(1.6deg);
  border-style: dashed;
  border-color: #7c6b52;
  color: #5c4b33;
  background: rgba(200, 193, 172, 0.6);
}
.scrap-waste {
  transform: rotate(-1.2deg);
  background: rgba(188, 193, 190, 0.7);
}
.scrap-cu {
  transform: rotate(2.2deg);
  color: #4a5340;
  border-color: #6e7a5f;
  background: rgba(196, 201, 184, 0.62);
}
.ledger-title-block {
  flex: 1 1 380px;
  min-width: 0;
  display: block;
  padding-top: 4px;
}
.movie-title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #171f1e;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.35),
    2px 2px 0 rgba(90, 100, 98, 0.22);
  border-left: 6px solid #7a1f1c;
  padding-left: 10px;
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  color: #3a4543;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  padding-left: 16px;
  border-left: 1px solid #98a19f;
}
.movie-seo {
  font-size: 12px;
  line-height: 1.6;
  color: #4a5452;
  margin-bottom: 10px;
  padding-left: 16px;
  border-bottom: 1px solid #aab2b0;
  padding-bottom: 8px;
  text-align: justify;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #232b2b;
  border: 1px solid #4d5856;
  padding: 6px;
  box-shadow: 2px 2px 0 rgba(70, 80, 78, 0.3);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #0f1414;
  border: 1px solid #3d4745;
}
.player-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 6px;
  padding: 5px 4px 2px;
  border-top: 1px solid #4d5856;
}
.player-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #b9c4c1;
}
.player-field input[type="range"] {
  width: 96px;
  max-width: 34vw;
  accent-color: #9aa89c;
  background: transparent;
}
.player-field select {
  background: #2f3938;
  color: #cdd6d3;
  border: 1px solid #5d6a68;
  font-size: 11px;
  padding: 1px 3px;
}
.player-btn {
  background: #38423f;
  color: #cfd8d5;
  border: 1px solid #66726f;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  cursor: pointer;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}
.player-btn:hover {
  background: #47524f;
  color: #eef2ef;
}
.player-btn.is-active {
  background: #7a1f1c;
  border-color: #a2453f;
  color: #f3e6e2;
}
.player-shell.is-lights-off {
  background: #050807;
  border-color: #050807;
}
.player-shell.is-lights-off .player-console {
  border-top-color: #1d2423;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 3px #7a1f1c, 2px 2px 0 rgba(70, 80, 78, 0.3);
}
.player-shell video.is-muted { opacity: 0.86; }
.episode-status {
  margin-top: 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid #98a19f;
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #3c4745;
}
.status-total, .status-current {
  font-style: normal;
  font-weight: 700;
  color: #7a1f1c;
  padding: 0 2px;
}
.detail-ledger {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 14px;
  align-items: start;
}
.detail-list dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6c7876;
  border-bottom: 1px dotted #aab2b0;
  padding: 2px 0 1px;
}
.detail-list dd {
  font-size: 12.5px;
  color: #232b2b;
  border-bottom: 1px solid #b5bdba;
  padding: 0 0 3px;
  margin-bottom: 3px;
}
.cast-roster {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 16px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 3px 0 3px 9px;
  border-left: 3px solid #7a1f1c;
  background: linear-gradient(90deg, rgba(190, 196, 193, 0.5), transparent 70%);
}
.cast-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1b2322;
  letter-spacing: 0.06em;
}
.cast-role {
  font-size: 11px;
  color: #5a6563;
  letter-spacing: 0.05em;
}
.cast-role::before {
  content: "／";
  color: #9aa3a1;
  margin-right: 3px;
}
.synopsis-sheet {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.synopsis-body {
  columns: 1;
  font-size: 12.5px;
  line-height: 1.62;
  color: #333d3b;
  text-align: justify;
}
.synopsis-body p {
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #b5bdba;
  break-inside: avoid;
}
.synopsis-body p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.timeline-rail {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.rail-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 10px;
  border-top: 3px solid #5d6a68;
  border-bottom: 3px double #5d6a68;
  background-image: repeating-linear-gradient(90deg, rgba(93, 106, 104, 0.22) 0 2px, transparent 2px 12px);
  scrollbar-width: thin;
}
.rail-node {
  flex: 0 0 178px;
  position: relative;
  padding: 22px 8px 6px;
  border-left: 1px solid #8f9895;
  background: rgba(205, 210, 207, 0.55);
  box-shadow: 1px 1px 0 rgba(80, 90, 88, 0.22);
}
.node-mark {
  position: absolute;
  top: 0;
  left: 7px;
  width: 62px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f0e9dc;
  background: #6e7a5f;
  border: 1px solid #4a5340;
  box-shadow: 0 1px 0 #3c4433, 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #3a4543;
  text-align: justify;
}
.episode-grid {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  align-items: start;
}
.episode-cell {
  padding: 6px 0 6px 0;
  border-bottom: 1px solid #b5bdba;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  column-gap: 8px;
  align-items: baseline;
}
.ep-number {
  grid-area: num;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #7a1f1c;
  white-space: nowrap;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
}
.ep-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1b2322;
}
.ep-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: #49524f;
  margin-top: 3px;
  padding-left: 12px;
  border-left: 2px solid #aab2b0;
  text-align: justify;
}
.ep-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #6c7876;
  margin-top: 3px;
  padding-left: 12px;
}
.comment-wall {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.note-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px 16px;
  align-items: start;
  padding: 4px 2px 6px;
}
.note-card {
  position: relative;
  padding: 8px 10px 9px;
  font-size: 12px;
  line-height: 1.55;
  background: #e6e2d2;
  border: 1px solid #b3ac93;
  box-shadow: 2px 3px 0 rgba(90, 90, 78, 0.28);
  color: #333a34;
}
.note-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 34px;
  height: 10px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(160, 165, 158, 0.55);
  border: 1px solid rgba(120, 126, 118, 0.5);
}
.note-card:nth-child(1) { transform: rotate(-1.3deg); }
.note-card:nth-child(2) { transform: rotate(0.9deg); }
.note-card:nth-child(3) { transform: rotate(-0.6deg); }
.note-card:nth-child(4) { transform: rotate(1.4deg); }
.note-card:nth-child(5) { transform: rotate(-1.1deg); }
.note-card:nth-child(6) { transform: rotate(0.7deg); }
.note-nick {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7a1f1c;
  border-bottom: 1px solid #c3bca6;
  padding-bottom: 3px;
  margin-bottom: 4px;
}
.note-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: #3c4238;
  text-align: justify;
}
.reco-columns {
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #98a19f;
}
.reco-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px 10px;
  align-items: start;
}
a.reco-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: rgba(206, 211, 208, 0.6);
  border: 1px solid #98a19f;
  box-shadow: 1px 2px 0 rgba(80, 90, 88, 0.25);
  color: #2c3634;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.reco-item:hover, a.reco-item:focus {
  transform: translateY(-2px);
  box-shadow: 2px 4px 0 rgba(80, 90, 88, 0.35);
  border-color: #7a1f1c;
  text-decoration: underline;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border: 1px solid #6f7a78;
  filter: saturate(0.85);
}
a.reco-item [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #1b2322;
}
a.reco-item [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.5;
  color: #59635f;
  text-align: justify;
}
.site-footer {
  margin-top: 16px;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, rgba(178, 185, 182, 0.9), rgba(160, 168, 165, 0.92));
  border-top: 2px solid #6f7a78;
  color: #333d3b;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: #4a5452;
  letter-spacing: 0.03em;
  padding-bottom: 6px;
  border-bottom: 1px solid #8d9694;
  text-align: justify;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 6px 0;
  border-bottom: 1px solid #8d9694;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px dotted #5d6a68;
  padding-bottom: 1px;
}
a[data-contract="footer-home"] { color: #7a1f1c; }
a[data-contract="footer-sitemap"] { color: #2c4a4c; }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 7px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6c7876;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #3f4a48;
  text-decoration: none;
  border-bottom: 1px solid #98a19f;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #7a1f1c;
  text-decoration: underline;
}
@media (max-width: 900px) {.synopsis-body { columns: 1; }}
@media (max-width: 760px) {.movie-title { font-size: 26px; }
.ledger-cover { width: 168px; }
.ledger-title-block { flex: 1 1 100%; }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }}
@media (max-width: 520px) {.page-main { padding: 0 10px 4px; }
.site-header { padding: 7px 10px 6px; }
.movie-title { font-size: 22px; border-left-width: 4px; padding-left: 8px; }
.ledger-cover { width: 146px; max-width: 74vw; }
.ledger-stack { gap: 10px; padding: 8px 4px 10px; }
.player-field input[type="range"] { width: 74px; }
.note-stack { grid-template-columns: minmax(0, 1fr); }
.reco-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.rail-node { flex-basis: 150px; }
.ep-number { font-size: 17px; }
.site-footer { padding: 10px 10px 12px; }}
@media (min-width: 1024px) {.synopsis-body { columns: 2; column-gap: 22px; }
.episode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.note-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reco-list { grid-template-columns: repeat(auto-fill, minmax(128px, 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}
