
:root {
  color-scheme: light;
  --ink: #211d39;
  --ink-soft: #57536f;
  --paper: #fffefa;
  --page: #f2f0fc;
  --line: #dfdceb;
  --violet: #7352cd;
  --blue: #249ed6;
  --coral: #ef7182;
  --measure: 1180px;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 94% 12%, rgba(112, 88, 211, .10), transparent 28rem),
    radial-gradient(ellipse at 3% 38%, rgba(62, 186, 225, .10), transparent 24rem),
    var(--page);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 7px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: 11px 16px; border-radius: 8px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255, 254, 250, .93); border-bottom: 1px solid rgba(57, 48, 89, .12); backdrop-filter: blur(14px); }
.header-inner { max-width: var(--measure); margin: 0 auto; padding: 0 28px; }
.masthead { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; width: 52px; height: 38px; flex: 0 0 auto; object-fit: contain; }
.brand-kicker { display: block; color: #817d95; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.header-note { display: flex; align-items: center; gap: 9px; color: #746f89; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #36b993; box-shadow: 0 0 0 3px rgba(54,185,147,.12); }
.nav-wrap { border-top: 1px solid rgba(57, 48, 89, .08); }
.page-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; padding: 9px 0 11px; }
.nav-link { display: flex; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: #656179; font-size: 13px; font-weight: 750; text-align: center; text-decoration: none; transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease; }
.nav-link:hover { transform: translateY(-1px); border-color: #e5e0f4; background: #f7f5fc; color: var(--ink); }
.nav-link[aria-current="page"] { border-color: #d9d1f2; background: #eee9fa; color: #493985; }
.nav-index { color: #a09bb0; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.nav-link[aria-current="page"] .nav-index { color: var(--violet); }
.catalog-main { max-width: var(--measure); min-height: calc(100svh - 210px); margin: 0 auto; padding: 32px 28px 58px; }
.page-intro { max-width: 970px; margin: 0 auto 22px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #706b86; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-rule { width: 24px; height: 2px; background: linear-gradient(90deg, var(--violet), #db83b3); }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: 9px; }
.page-title { max-width: 740px; margin: 0; font-size: clamp(30px, 5.1vw, 55px); font-weight: 900; letter-spacing: -.065em; line-height: 1.12; }
.page-detail { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e0dced; border-radius: 999px; background: rgba(255,254,250,.7); color: #6f6a83; font-size: 11px; font-weight: 750; white-space: nowrap; }
.detail-mark { width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--blue), var(--violet)); transform: rotate(45deg); }
.progress-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 18px; }
.progress-segment { height: 3px; border-radius: 3px; background: #dedbea; }
.progress-segment.is-active { background: linear-gradient(90deg, #36b7db, #7460ce 70%, #e77798); }
.poster-area { position: relative; width: 100%; margin: 0 auto; }
.poster-toolbar { display: flex; max-width: 980px; align-items: center; justify-content: space-between; margin: 0 auto 9px; padding: 0 2px; color: #817c95; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.poster-open { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #dcd7ec; border-radius: 6px; background: rgba(255,254,250,.76); color: #514482; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; font-size: 11px; letter-spacing: 0; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.poster-open:hover { transform: translateY(-1px); border-color: #b8a9e4; background: white; }
.poster-frame { max-width: 980px; margin: 0 auto; overflow: hidden; padding: clamp(5px, 1vw, 9px); border: 1px solid #ddd9e8; border-radius: 11px; background: #fffefa; box-shadow: 0 12px 32px rgba(50, 41, 78, .07), 0 2px 4px rgba(50, 41, 78, .04); }
.poster-image { display: block; width: 100%; height: auto; border-radius: 5px; }
.page-turn { display: flex; max-width: 980px; align-items: center; justify-content: space-between; gap: 16px; margin: 20px auto 0; }
.turn-link { display: inline-flex; min-height: 43px; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #ded9eb; border-radius: 8px; background: rgba(255,254,250,.72); color: #514c67; font-size: 12px; font-weight: 750; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.turn-link:hover { transform: translateY(-1px); border-color: #c2b6e9; background: white; }
.turn-link[aria-disabled="true"] { border-color: transparent; background: transparent; color: #aaa6b7; pointer-events: none; }
.turn-caption { color: #8a869b; font-family: "Arial Narrow", "Bahnschrift", sans-serif; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.site-footer { padding: 19px 28px 27px; border-top: 1px solid rgba(57, 48, 89, .11); color: #79758b; text-align: center; font-size: 11px; line-height: 1.7; }
.footer-brand { color: #494361; font-weight: 800; }
@media (min-width: 1500px) { :root { --measure: 1260px; } .poster-frame { max-width: 1020px; } .poster-toolbar, .page-turn { max-width: 1020px; } }
@media (max-width: 700px) {
  .header-inner { padding-inline: 18px; }
  .masthead { min-height: 64px; }
  .header-note { font-size: 9px; letter-spacing: .08em; }
  .brand-logo { width: 46px; height: 34px; }
  .page-nav { display: flex; gap: 5px; overflow-x: auto; padding: 7px 1px 10px; scrollbar-width: none; }
  .page-nav::-webkit-scrollbar { display: none; }
  .nav-link { min-width: max-content; min-height: 40px; justify-content: flex-start; padding-inline: 12px; font-size: 12px; }
  .catalog-main { min-height: calc(100svh - 180px); padding: 25px 16px 38px; }
  .page-intro { margin-bottom: 18px; }
  .intro-row { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 10px; }
  .page-title { font-size: clamp(31px, 8.2vw, 44px); }
  .page-detail { min-height: 31px; padding: 7px 10px; font-size: 10px; }
  .progress-track { gap: 4px; margin-top: 15px; }
  .poster-toolbar { margin-bottom: 8px; font-size: 9px; }
  .poster-frame { padding: 4px; border-radius: 8px; }
  .poster-image { border-radius: 4px; }
  .page-turn { margin-top: 14px; }
  .turn-link { min-height: 41px; gap: 6px; padding: 8px 10px; font-size: 11px; }
  .turn-caption { display: none; }
  .site-footer { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
