/* Poseidon series dossier: centered cover, quiet editorial copy and chapter rows. */
.series-page{max-width:920px;margin:auto;--series-panel:#142032;--series-subtle:#1b2a40;--series-accent:#81d6ee;--series-muted:#95a8bd}
html[data-theme="light"] .series-page{--series-panel:#fff;--series-subtle:#edf3f8;--series-accent:#166585;--series-muted:#5c7289}
.series-page .back-link{margin-bottom:16px}
.series-overview{background:var(--series-panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 16px 45px #00000018;display:grid;grid-template-columns:270px minmax(0,1fr)}
.series-artwork{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-height:350px;padding:28px}
.series-backdrop{position:absolute;inset:-30px;width:calc(100% + 60px);height:calc(100% + 60px);object-fit:cover;filter:blur(18px);opacity:.35;z-index:-2;pointer-events:none}
.series-artwork::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,var(--series-panel),transparent 75%),linear-gradient(90deg,var(--series-panel),transparent 60%);pointer-events:none}
.series-cover{display:block;width:190px;height:auto;aspect-ratio:5/7;object-fit:cover;border-radius:9px;border:1px solid #ffffff28;box-shadow:0 12px 32px #0008}
.series-copy{padding:28px 24px 22px;min-width:0;align-self:center}
.series-copy h1{font:600 21px/1.55 'Segoe UI',Roboto,Arial,Vazirmatn,sans-serif;margin:0 0 12px;letter-spacing:0;text-align:start;overflow-wrap:anywhere;color:var(--ink)}
.series-aliases{font-size:11px;color:var(--series-muted);margin-bottom:16px}.series-aliases summary{cursor:pointer;width:fit-content}.series-aliases p{margin:8px 0;line-height:1.9;overflow-wrap:anywhere}
.series-synopsis h2{font-size:11px;color:var(--series-muted);font-weight:500;margin:0 0 6px}
.series-synopsis p{font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0;text-align:start;color:var(--ink);opacity:.85}
.series-synopsis p.expanded{display:block;overflow:visible}.series-more{display:block;background:none;color:var(--series-accent);font-size:11px;padding:8px 0 0;margin-inline-start:auto}
.series-facts{display:grid;grid-template-columns:.8fr 1fr 1.3fr;gap:0;margin:22px 0 0;border:1px solid var(--line);border-radius:10px;padding:12px 0;background:var(--series-subtle)}
.series-facts>div{display:flex;flex-direction:column;gap:6px;align-items:center;padding:0 8px;min-width:0}.series-facts>div+div{border-inline-start:1px solid var(--line)}
.series-facts dt{font-size:10px;color:var(--series-muted)}.series-facts dd{font-size:12px;font-weight:600;margin:0;text-align:center;line-height:1.6;overflow-wrap:anywhere}.series-facts>div:first-child dd{color:var(--series-accent);font-size:17px;line-height:1.15}.series-facts small{font-size:9px;font-weight:400;padding-inline-start:5px}
.series-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin:14px 0 24px}.series-actions button{min-height:47px;border-radius:11px;font-size:12px;padding:10px 14px;display:flex;gap:9px;align-items:center;justify-content:center}.series-actions .primary{background:#62c9e6;color:#072233;box-shadow:0 5px 22px #22aac914}.series-actions span{font-size:10px;opacity:.8;white-space:nowrap}.series-actions .secondary{background:var(--series-panel);border-color:var(--line)}
.series-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.series-chapters{padding:18px;background:var(--series-panel);border:1px solid var(--line);border-radius:15px;overflow:hidden}.series-chapters .section-bar{margin:0 0 14px;gap:12px}.series-chapters h2{font-size:15px}.series-chapters h2>span{font-size:11px;font-weight:500;padding:2px 8px;background:var(--series-subtle);border-radius:6px;color:var(--series-accent);margin-inline-start:6px}.series-chapters .sort-button{border:1px solid var(--line);padding:6px 9px;border-radius:7px;font-size:10px;background:var(--series-subtle)}
.series-chapters .field{max-width:none;border-radius:9px;padding:9px 12px;background:var(--mist);box-shadow:none;gap:10px}.series-chapters .field svg{width:18px;height:18px;fill:none;stroke:var(--series-muted);stroke-width:1.7;stroke-linecap:round;flex-shrink:0}.series-chapters .field input{font-size:13px}
.series-chapter-list{display:flex;flex-direction:column;gap:0;max-height:510px;padding:0;margin:14px -18px -18px;scrollbar-width:thin}.series-chapter-list .chapter-tile{border:0;border-top:1px solid var(--line);border-radius:0;display:grid;grid-template-columns:1fr auto 16px;align-items:center;gap:14px;padding:18px;background:transparent;min-height:64px;font-size:13px;flex-shrink:0}.series-chapter-list .chapter-tile:nth-child(even){background:#829eba06}.series-chapter-list .chapter-tile:hover{background:#64d5f20b}.series-chapter-list .chapter-tile.read{border-inline-start:3px solid #64a99c;padding-inline-start:15px}.series-chapter-list small{font-size:10px;color:var(--series-muted);white-space:nowrap}.chapter-open{color:var(--series-accent)}
@media(max-width:700px){.series-page .back-link{margin-bottom:12px}.series-overview{display:block;border-radius:14px}.series-artwork{min-height:260px;padding:20px 20px 16px}.series-cover{width:158px}.series-artwork::after{background:linear-gradient(0deg,var(--series-panel),transparent 90%)}.series-copy{padding:0 16px 17px}.series-copy h1{font-size:17px;line-height:1.5;margin-bottom:10px}.series-aliases{margin-bottom:14px}.series-synopsis p{font-size:12px;line-height:1.95}.series-facts{margin-top:18px;padding:11px 0}.series-facts dd{font-size:11px}.series-facts dt{font-size:9px}.series-actions{gap:8px;margin:12px 0 20px}.series-actions button{padding:10px 8px;gap:7px;flex-wrap:wrap;font-size:11px}.series-actions svg{width:16px;height:16px}.series-chapters{padding:15px}.series-chapter-list{margin:13px -15px -15px}.series-chapter-list .chapter-tile{padding:17px 15px;min-height:61px}.series-chapter-list .chapter-tile.read{padding-inline-start:12px}}
@media(prefers-reduced-motion:no-preference){.series-chapter-list .chapter-tile{transition:background .15s ease}}

/* Native English typography, matching the inspected reference site's font stack. */
.series-copy h1,.work-card h3,#reader-title{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.series-copy h1{font-weight:600}
.series-page .back-link{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid var(--line);border-radius:9px;background:var(--series-panel);color:var(--ink);font-size:11px;min-height:34px}
.series-page .back-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.series-actions{gap:8px;margin:10px 0 18px;grid-template-columns:1fr 1fr}.series-actions button{min-height:38px;padding:6px 10px;border-radius:9px;gap:7px;flex-wrap:nowrap;font-size:11px}.series-actions span{font-size:9px}.series-actions svg{width:15px;height:15px}
.series-chapter-list .chapter-tile{grid-template-columns:minmax(0,1fr) auto auto;gap:12px}.chapter-row-label{display:flex;flex-direction:column;gap:3px}.chapter-row-label small:empty{display:none}.chapter-date{font-size:10px;color:var(--series-muted);white-space:nowrap;font-weight:400}
.series-chapter-list .chapter-open{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 9px;min-height:30px;border:1px solid #7acfe530;border-radius:7px;background:#64c7e512;font-size:10px;color:var(--series-accent)}.chapter-open svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round}
.series-cover{position:relative;z-index:2;box-shadow:0 12px 32px #0008,0 0 28px #49c7e51c}.series-backdrop{opacity:.12}
.ocean-scene{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 50% 0%,#16799b66,transparent 70%),linear-gradient(0deg,transparent,#031d3444)}
.ocean-rays{position:absolute;inset:-60% -50% -10%;background:repeating-conic-gradient(from 156deg at 50% 0%,transparent 0deg 9deg,#89e6f71c 10deg 13deg,transparent 14deg 23deg);transform-origin:50% 0%;opacity:.7}
.ocean-waves{position:absolute;inset:15% -25% 0;width:150%;height:90%;stroke:#8fefff;stroke-width:1;fill:none;opacity:.15;filter:drop-shadow(0 0 3px #4dd4fa)}
.ocean-scene i{position:absolute;bottom:-12px;left:12%;width:4px;height:4px;background:#a2f3ff;border-radius:50%;opacity:0;box-shadow:0 0 8px #6de1f8}.ocean-scene i:nth-of-type(2){left:25%;width:2px;height:2px;animation-delay:-3s}.ocean-scene i:nth-of-type(3){left:44%;animation-delay:-6s}.ocean-scene i:nth-of-type(4){left:67%;width:3px;height:3px;animation-delay:-2s}.ocean-scene i:nth-of-type(5){left:82%;animation-delay:-5s}.ocean-scene i:nth-of-type(6){left:92%;width:2px;height:2px;animation-delay:-8s}
html[data-theme="light"] .ocean-scene{background:radial-gradient(ellipse at 50% 0%,#5bb5d655,transparent 80%)}html[data-theme="light"] .ocean-rays{opacity:.4}html[data-theme="light"] .ocean-waves{stroke:#197fa8;opacity:.15}
@media(prefers-reduced-motion:no-preference){.ocean-rays{animation:ocean-light 12s ease-in-out infinite alternate}.ocean-waves{animation:ocean-drift 14s ease-in-out infinite alternate}.ocean-scene i{animation-name:ocean-bubble;animation-duration:10s;animation-timing-function:linear;animation-iteration-count:infinite}}
@keyframes ocean-light{from{transform:rotate(-7deg);opacity:.4}to{transform:rotate(7deg);opacity:.8}}
@keyframes ocean-drift{from{transform:translate(-4%,-2%) rotate(-4deg)}to{transform:translate(4%,4%) rotate(3deg)}}
@keyframes ocean-bubble{0%{transform:translateY(0);opacity:0}15%{opacity:.35}85%{opacity:.35}100%{transform:translate(12px,-350px);opacity:0}}
@media(max-width:700px){.series-actions{margin:9px 0 17px;gap:7px}.series-actions button{min-height:37px;padding:6px 8px;gap:5px;font-size:10px}.series-actions span{font-size:9px}.series-actions svg{width:14px;height:14px}.series-chapter-list .chapter-tile{padding-block:13px;gap:9px}.series-chapter-list .chapter-open{padding:5px 7px;font-size:9px}.chapter-date{font-size:9px}.chapter-row-label{font-size:12px}.chapter-row-label small{font-size:9px}}

/* Embedded Latin font: never substitute the platform font for English titles. */
@font-face{font-family:'Poseidon Roboto';src:url('/assets/Roboto-latin.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body{font-family:'Poseidon Roboto',Vazirmatn,Tahoma,sans-serif}.series-copy h1,.work-card h3,#reader-title{font-family:'Poseidon Roboto',Vazirmatn,sans-serif}.home-view .work-card h3{font-weight:500}.series-copy h1{font-weight:600}
.series-facts{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px;padding:0;border-radius:8px;align-items:stretch}.series-facts>div{padding:5px 4px;min-height:40px;justify-content:center;gap:2px}.series-facts dt{font-size:9px;line-height:12px}.series-facts dd,.series-facts>div:first-child dd{font-size:11px;line-height:15px;font-weight:500}.series-facts small{font-size:9px;padding-inline-start:3px}
@media(max-width:700px){.series-copy{padding-bottom:11px}.series-copy h1{margin-bottom:8px}.series-synopsis h2{font-size:10px;line-height:14px;margin-bottom:3px}.series-synopsis p{line-height:1.75}.series-facts{margin-top:9px}.series-facts>div{padding:4px;gap:1px;min-height:35px}.series-facts dt{font-size:9px;line-height:11px}.series-facts dd,.series-facts>div:first-child dd{font-size:10px;line-height:14px}.series-facts small{font-size:8px}}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.brand-wordmark{display:block;width:150px;height:43px;flex-shrink:0;overflow:visible;filter:drop-shadow(0 1px 5px #6bd4eb20)}.wordmark-top{stop-color:var(--ink)}.wordmark-bottom{stop-color:var(--ocean)}.wordmark-scans{font-family:'Poseidon Roboto',sans-serif;font-size:19px;font-weight:500;letter-spacing:7px;fill:var(--steel)}
.library-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:4px 8px 0;padding:4px;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.library-tabs button{min-height:36px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--steel);font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px;padding:5px 9px}.library-tabs button[aria-selected="true"]{background:#76cdec18;border-color:#76cdec38;color:var(--deep);font-weight:600}.library-tabs svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.library-caption{display:flex;justify-content:flex-end;margin:9px 9px 16px;color:var(--steel);font-size:10px}.more-works{display:flex;margin:22px auto 0;font-size:12px;min-height:38px}
.home-view .work-card{position:relative}.work-card-open{background:transparent;padding:0;text-align:inherit;display:flex;flex-direction:column;align-items:stretch;flex:1;width:100%;min-width:0;border-radius:12px}
.card-favorite{position:absolute;top:17px;left:17px;display:grid;place-items:center;width:31px;height:31px;padding:7px;border-radius:9px;border:1px solid #b0e2f13d;background:#081824c9;color:#d4e9f5;backdrop-filter:blur(10px);box-shadow:0 3px 10px #0003}
.card-favorite svg,.series-favorite svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.card-favorite[aria-pressed="true"],.series-favorite[aria-pressed="true"]{color:var(--ocean);border-color:#79dbed70}.card-favorite[aria-pressed="true"] svg,.series-favorite[aria-pressed="true"] svg{fill:currentColor;stroke-width:1.2}
.series-favorite{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:9px;padding:5px 9px;min-height:32px;width:100%;background:#7ac7e909;border:1px solid var(--line);border-radius:8px;font-size:11px;color:var(--steel)}
.series-chapter-list .chapter-open{width:36px;height:31px;min-height:31px;padding:0;border-radius:10px;background:linear-gradient(135deg,#87e3f221,#54a8df0b);border-color:#86d7e63d;box-shadow:inset 0 1px 0 #dcfbff0a,0 2px 6px #0000000b}.series-chapter-list .chapter-open svg{width:19px;height:19px;stroke-width:1.8;stroke-linecap:round}.chapter-tile:hover .chapter-open{border-color:#88dfed80;background:#79d5ea26}
@media(max-width:700px){.brand-wordmark{width:135px;height:40px}.library-tabs button{font-size:11px;gap:6px}.card-favorite{top:14px;left:14px;width:29px;height:29px;padding:6px}.series-favorite{font-size:10px;min-height:30px}.series-chapter-list .chapter-open{width:33px;height:30px}}
@media(max-width:420px){.brand-wordmark{width:122px;height:35px}}
@media(max-width:350px){.brand-wordmark{width:110px;height:32px}.library-tabs button{font-size:10px}}

@media(hover:hover) and (prefers-reduced-motion:no-preference){.chapter-open svg{transition:transform .15s ease}.chapter-tile:hover .chapter-open svg{transform:translateX(-2px)}}
.membership-panel{width:100%;max-width:470px;margin:24px auto 45px;padding:25px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:0 18px 55px #0002;text-align:center}.membership-emblem{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 14px;border:1px solid #78cce33d;border-radius:17px;background:linear-gradient(145deg,#77d9e51f,#409cbd09);color:var(--deep)}.membership-emblem svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.membership-panel h1{font-size:20px;margin:0 0 10px}.membership-panel p{font-size:13px;white-space:pre-line;color:var(--steel);line-height:2}.membership-links{display:flex;flex-direction:column;gap:9px;margin:22px 0 16px}.membership-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;text-decoration:none;text-align:start;background:var(--mist);color:var(--ink)}.membership-links a span{overflow-wrap:anywhere;font-size:13px}.membership-links a small{font-size:10px;color:var(--ocean);white-space:nowrap}.membership-panel>.primary{width:100%;min-height:43px;font-size:13px}.membership-help{display:block;font-size:10px;color:var(--steel);margin-top:13px}
@media(max-width:700px){.membership-panel{padding:20px 16px;margin-top:10px}.membership-panel h1{font-size:18px}.membership-panel p{font-size:12px}.membership-links a{padding:11px}.membership-links a span{font-size:12px}}
