.series-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg,#edf3ff,#f7f4ff); }
.series-cover .series-cover-sheet { position: absolute; width: 32%; height: 77%; padding: 3px; border-radius: 5px; background: #fff; box-shadow: 0 5px 16px #20365730; }
.series-cover .series-cover-sheet img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.series-cover-count { position: absolute; right: 10px; bottom: 8px; z-index: 4; border-radius: 20px; padding: 4px 9px; font-size: 12px; color: #395075; background: #ffffffec; }
.series-detail-page .site-header .desktop-nav { margin-right: auto; }
.series-detail { max-width: 1120px; margin: 0 auto; padding: 24px; }
.series-detail a { color: inherit; }
.series-detail-back { display: inline-block; margin: 0 0 14px; color: #65718c; }
.series-viewer { position: relative; background: #edf0f7; border: 1px solid #e1e5ed; border-radius: 18px; overflow: hidden; }
.series-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.series-track::-webkit-scrollbar { display: none; }
.series-slide { position: relative; flex: 0 0 100%; min-width: 0; display: flex; justify-content: center; align-items: center; scroll-snap-align: start; scroll-snap-stop: always; height: min(76svh,900px); padding: 22px 72px; }
.series-slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 18px #18234416); }
.series-arrow,.series-expand { position: absolute; z-index: 2; background: #ffffffec; color: #23324c; border: 1px solid #d9deeb; border-radius: 50%; cursor: pointer; width: 44px; height: 44px; font-size: 24px; }
.series-arrow { top: calc(50% - 22px); }.series-prev { left: 16px; }.series-next { right: 16px; }.series-arrow:disabled { opacity: .25; cursor: default; }
.series-expand { right: 16px; top: 16px; font-size: 18px; }
.series-counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 24px; background: #ffffffea; font-size: 12px; color: #3c4963; pointer-events: none; }
.series-viewer:fullscreen { background: #172030; border-radius: 0; border: 0; }.series-viewer:fullscreen .series-slide { height: 100dvh; }
.series-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 14px 2px; scrollbar-width: thin; }
.series-thumbs button { flex: 0 0 52px; padding: 2px; height: 72px; background: #fff; border: 2px solid transparent; border-radius: 6px; cursor: pointer; }.series-thumbs button[aria-current="true"] { border-color: #4964e8; }.series-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.series-information { max-width: 820px; margin: 28px auto; }.series-information h1 { font-size: clamp(24px,4vw,36px); line-height: 1.4; margin: 12px 0; }.series-information h2 { font-size: 20px; margin: 28px 0 12px; }.series-information p { color: #566078; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.series-byline { display: flex; align-items: center; gap: 12px; color: #79839a; font-size: 13px; flex-wrap: wrap; }.series-byline a { display: flex; align-items: center; gap: 6px; text-decoration: none; }.series-byline img { width: 28px; height: 28px; border-radius: 50%; }
.series-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }.series-tags a { padding: 5px 12px; background: #edf1ff; border-radius: 18px; color: #4b63c5; font-size: 13px; text-decoration: none; }
.series-page-info { padding: 20px; border: 1px solid #e4e7f0; background: white; border-radius: 14px; margin: 24px 0; }.series-page-info h2 { margin-top: 0; }.series-details summary { cursor: pointer; padding: 12px 0; color: #5b66a0; }.series-details pre { white-space: pre-wrap; word-break: break-word; background: #f3f5fa; border-radius: 8px; padding: 15px; font: inherit; line-height: 1.75; font-size: 14px; max-height: 500px; overflow: auto; }
.series-references { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 16px; }.series-references img { width: 100%; height: 200px; object-fit: contain; background: #f3f5fa; }.series-references figcaption { font-size: 13px; color: #737e94; }
.series-actions { display: flex; gap: 10px; margin: 20px 0; }.series-actions button { cursor: pointer; padding: 8px 16px; border: 1px solid #dbe0f0; background: white; color: #4b5c9b; border-radius: 9px; }
.series-load-status { text-align: center; padding: 100px 20px; }.series-image-error { position: absolute; background: #ffffffed; padding: 16px; border-radius: 10px; }
@media(max-width:700px) {
 .series-detail { padding: 12px 0 24px; }.series-detail-back { margin-left: 16px; font-size: 13px; }.series-viewer { border-radius: 0; border-left: 0; border-right: 0; }
 .series-slide { height: calc(100svh - 125px); min-height: 340px; padding: 0; }.series-arrow { width: 32px; height: 32px; font-size: 20px; top: auto; bottom: 9px; }.series-prev { left: 12px; }.series-next { right: 12px; }.series-expand { width: 34px; height: 34px; right: 10px; top: 10px; }
 .series-thumbs { padding: 12px 16px; }.series-thumbs button { flex-basis: 40px; height: 54px; }.series-information { margin: 18px 16px; }.series-page-info { padding: 16px; }
}
@media(prefers-reduced-motion:no-preference) { .series-track { scroll-behavior: smooth; } }
