/* Reading-first home and shared chapter browser. */
:root{--refresh-surface:#171b23;--refresh-soft:#9ca5b5}
.home-refresh{padding-bottom:20px}.reading-hero{padding-top:34px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.home-heading .eyebrow{font:10px Arial;letter-spacing:2px}.home-heading h1{font-size:clamp(25px,3.1vw,42px);line-height:1.4;letter-spacing:-1px;margin:8px 0 0}.home-heading h1 span{font-weight:400;color:#a5acb9}.home-heading>.text-button{white-space:nowrap;font-size:12px}.spotlight{display:grid;grid-template-columns:1.2fr .8fr;min-height:360px;border:1px solid #ffffff1b;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 75% 25%,#653a3a55,transparent 75%),#181b23}.spotlight-copy{padding:36px 42px;align-self:center;min-width:0}.spotlight-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#ffaca4}.spotlight-copy h2{font-size:clamp(34px,4.2vw,58px);line-height:1.3;margin:14px 0 4px;letter-spacing:-1px}.spotlight-english{font:11px/1.6 Arial;color:#b6a3a7;letter-spacing:2px;display:block;text-align:right}.spotlight-copy>p{font-size:14px;color:#b7b9c3;line-height:1.95;max-width:540px;margin:17px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.spotlight-tags{display:flex;flex-wrap:wrap;gap:9px;font-size:10px;color:#c2bbc4}.spotlight-tags span{padding:4px 10px;border:1px solid #ffffff20;border-radius:6px}.spotlight-copy .nexus-actions{margin-top:23px}.spotlight-credit{display:block;color:#8c94a5;font:9px/1.6 Arial;margin-top:17px}.spotlight-art{position:relative;display:flex;align-items:center;justify-content:center;background:#101318;min-height:360px;overflow:hidden;border-inline-start:1px solid #ffffff10}.spotlight-art img{height:365px;width:100%;object-fit:contain;display:block}.spotlight-open{position:absolute;left:18px;bottom:18px;display:grid;place-items:center;background:#ff8176;color:#161820;width:40px;height:40px;border-radius:12px;box-shadow:0 5px 20px #0005}.feature-tabs{display:flex;gap:26px;align-items:center;justify-content:center;padding:19px 0 8px}.feature-tabs button{display:flex;gap:9px;align-items:center;font-size:12px;color:#929bad;padding:6px 0;border-bottom:2px solid transparent}.feature-tabs button.active{color:#ffe1dc;border-color:var(--accent)}.feature-marker{height:5px;width:5px;border-radius:50%;background:#626b79}.active>.feature-marker{background:var(--accent)}.home-refresh .continue-box{margin-top:22px}.home-refresh .section{padding-top:42px}.home-refresh .section-head{margin-bottom:20px;align-items:center}.home-refresh .section-head h2{font-size:29px}.home-refresh .section-head .eyebrow{font:9px Arial;letter-spacing:2px}.home-refresh .section-head p{font-size:12px;margin-top:8px}.update-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.update-card{display:flex;gap:16px;align-items:center;padding:14px;background:#161b23;border:1px solid #ffffff14;border-radius:14px;min-width:0;transition:border-color .2s,background .2s}.update-card:hover{border-color:#ff817650;background:#1b2029}.update-cover{width:58px;height:78px;flex-shrink:0;border-radius:7px;overflow:hidden;background:#0c0f14}.update-cover img{width:100%;height:100%;object-fit:contain}.update-card>div{min-width:0;flex:1}.update-book{font-weight:700;font-size:15px;display:block;margin-bottom:6px}.update-chapter{display:flex;align-items:center;gap:8px;color:#c5cbd7;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.update-chapter .icon{width:15px;flex-shrink:0;color:#ff9589}.update-card small{font-size:10px;color:#818ea2;display:block;margin-top:6px}.chapter-read-icon{height:34px;width:34px;flex-shrink:0;display:grid;place-items:center;border:1px solid #ffffff1c;border-radius:9px;color:#ff9a8f}.chapter-read-icon .icon{width:18px;height:18px}.book-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.shelf-book{min-width:0}.shelf-cover{aspect-ratio:3/4;display:block;position:relative;border:1px solid #ffffff20;border-radius:12px;overflow:hidden;background:#101318;transition:border-color .2s,transform .2s}.shelf-cover img{width:100%;height:100%;object-fit:contain;display:block}.shelf-cover>span{position:absolute;bottom:10px;left:10px;display:grid;place-items:center;background:#ff8176;color:#171b23;width:30px;height:30px;border-radius:8px;opacity:0;transition:opacity .2s}.shelf-cover:hover{border-color:#ff8176;transform:translateY(-3px)}.shelf-cover:hover>span{opacity:1}.shelf-book h3{font-size:16px;line-height:1.6;margin:13px 0 4px}.shelf-book>p{font:11px/1.6 Arial;color:#a3afc3;text-align:right;margin:0}.shelf-book>small{display:block;color:#8490a4;font:9px/1.7 Arial;text-align:right;margin-top:8px;overflow-wrap:anywhere}.home-refresh .mood-section{margin-top:42px}.home-refresh .source-strip{margin-top:42px}.reading-collection{padding-bottom:55px}.collection-search{max-width:550px;margin:24px auto 0;display:block}.reading-book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:35px 24px;padding-top:18px}.reading-collection .collection-intro{text-align:center;padding-bottom:25px}.reading-collection .collection-intro h1{font-size:42px}.reading-collection .collection-intro h1 span{color:#a6acb9}.book-refresh{padding-top:22px;padding-bottom:60px}.book-refresh>.back-link{margin:0 0 22px}.book-refresh .licensed-book{padding:28px}.book-refresh .licensed-book-top{padding:0;align-items:center;gap:35px}.book-refresh .licensed-book-top>img{width:210px;height:300px;background:#101318;border-radius:12px;border:1px solid #ffffff15}.book-refresh .licensed-book-top h1{font-size:38px;line-height:1.4;margin:10px 0}.book-reading-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.book-refresh .licensed-credit{font-size:10px;margin-top:20px;line-height:1.9}.chapter-directory{padding-top:36px}.chapter-directory .section-head{margin-bottom:20px}.chapter-directory h2{font-size:28px}.chapter-controls{display:flex;gap:12px;align-items:center;margin-bottom:20px}.chapter-search{display:flex;align-items:center;gap:10px;flex:1;padding:0 15px;background:#171e29;border:1px solid #ffffff21;border-radius:11px;min-width:0}.chapter-search>.icon{color:#8c99b1;width:19px;flex-shrink:0}.chapter-search input{min-width:0;width:100%;background:transparent;color:#f2f4f5;border:0;outline:none;padding:14px 0;font:13px Tajawal,Arial}.chapter-search:focus-within{border-color:#ff9589}.chapter-sort select{border:1px solid #ffffff21;border-radius:10px;padding:13px 15px;background:#171e29;color:#d1d8e5;font:12px Tajawal,Arial}.chapter-view{display:flex;padding:4px;gap:3px;border:1px solid #ffffff21;border-radius:11px;background:#171e29}.chapter-view button{display:grid;place-items:center;padding:7px;color:#8e9ab1;border-radius:7px}.chapter-view .icon{width:19px;height:19px}.chapter-view [aria-pressed=true]{color:#ffaca4;background:#ff817620}.chapter-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.episode-card{background:#171d28;border:1px solid #ffffff16;border-radius:13px;padding:19px;display:flex;flex-direction:column;gap:19px;min-width:0;transition:background .2s,border-color .2s}.episode-card:hover{background:#202633;border-color:#ff817670}.episode-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.episode-number{font-size:11px;color:#98a6be;display:flex;gap:7px;align-items:center}.episode-number b{font:22px Arial;color:#efdfdd}.episode-status{font-size:9px;padding:4px 7px;border-radius:6px;background:#9bc6af16;color:#abd2bf;white-space:nowrap}.episode-status.newest{color:#ffaca4;background:#ff817615}.episode-card>strong{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.episode-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:auto;font-size:10px;color:#8a98ae}.episode-bottom>span:last-child{display:flex;align-items:center;gap:8px;color:#ffc1b7}.episode-bottom .icon{width:16px;height:16px}.chapter-cards.is-list{grid-template-columns:1fr}.is-list .episode-card{display:grid;grid-template-columns:220px 1fr 200px;align-items:center;padding:15px 20px}.is-list .episode-bottom{margin:0}.chapter-no-results{border:1px dashed #ffffff25;padding:30px;border-radius:12px;text-align:center;color:#b1bdcf}.reading-collection [hidden],.chapter-directory [hidden]{display:none!important}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #ffaca4;outline-offset:4px}
@media(max-width:1100px){.spotlight-copy{padding:28px}.spotlight-copy h2{font-size:42px}.book-rail{gap:14px}.reading-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chapter-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.is-list .episode-card{grid-template-columns:180px 1fr 170px}}
@media(max-width:760px){.reading-hero{padding-top:24px}.home-heading{margin-bottom:18px}.home-heading h1{font-size:28px;line-height:1.5}.home-heading h1 span{display:block}.home-heading>.text-button{font-size:0}.home-heading>.text-button .icon{width:24px;height:24px}.spotlight{grid-template-columns:minmax(0,1fr) 125px;min-height:300px;border-radius:17px}.spotlight-copy{padding:22px 17px}.spotlight-copy h2{font-size:30px;margin-top:12px}.spotlight-copy>p{font-size:12px;-webkit-line-clamp:3;margin:12px 0;line-height:1.85}.spotlight-english{font-size:8px;letter-spacing:1px}.spotlight-label{font-size:9px;gap:7px}.spotlight-art{min-height:300px;border:0;background:linear-gradient(#11141b,#22202c)}.spotlight-art img{height:auto;max-height:360px;object-fit:contain}.spotlight-open{height:30px;width:30px;bottom:12px;left:12px;border-radius:8px}.spotlight-tags{font-size:8px;gap:6px}.spotlight-tags span{padding:3px 6px}.spotlight-copy .nexus-actions{gap:8px;flex-direction:column;align-items:flex-start;margin-top:18px}.spotlight-copy .primary,.spotlight-copy .secondary{font-size:10px;min-height:37px;gap:10px;padding:9px 12px;border-radius:8px}.spotlight-credit{font-size:8px}.feature-tabs{gap:18px;justify-content:flex-start;overflow-x:auto;padding:15px 0 2px}.feature-tabs button{font-size:11px;white-space:nowrap}.home-refresh .section{padding-top:30px}.home-refresh .section-head h2{font-size:24px}.home-refresh .section-head .text-button{font-size:10px;gap:6px}.home-refresh .section-head p{font-size:11px}.update-grid{grid-template-columns:1fr;gap:10px}.update-card{gap:13px;padding:12px}.update-cover{width:49px;height:67px}.update-book{font-size:14px}.update-chapter{font-size:11px}.update-card small{font-size:9px}.book-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:15px}.book-rail .shelf-book{flex:0 0 39%;scroll-snap-align:start}.shelf-book h3{font-size:14px}.shelf-book>p{font-size:10px}.shelf-book>small{font-size:8px}.home-refresh .mood-section{margin-top:25px}.reading-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.reading-collection .collection-intro h1{font-size:30px;line-height:1.5}.reading-collection .collection-intro p{font-size:12px}.book-refresh .licensed-book{padding:18px}.book-refresh .licensed-book-top{display:flex;flex-direction:column;gap:22px;align-items:stretch}.book-refresh .licensed-book-top>img{width:150px;height:210px;align-self:center}.book-refresh .licensed-book-top h1{font-size:30px}.book-refresh .licensed-credit{font-size:9px}.book-reading-actions .primary,.book-reading-actions .secondary{font-size:11px;min-height:42px;padding:12px;gap:10px}.chapter-directory h2{font-size:25px}.chapter-controls{display:grid;grid-template-columns:1fr auto;gap:10px}.chapter-search{grid-column:1/-1}.chapter-sort select{width:100%;min-height:43px}.chapter-view{justify-self:end}.chapter-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.episode-card{padding:13px;gap:15px;border-radius:10px}.episode-top{align-items:flex-start;flex-direction:column;gap:8px}.episode-card>strong{font-size:12px}.episode-number{font-size:10px}.episode-number b{font-size:20px}.episode-status{font-size:8px}.episode-bottom{flex-wrap:wrap;font-size:9px;gap:8px}.is-list .episode-card{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;padding:13px}.is-list .episode-top{flex-direction:row;align-items:center;flex:0 0 100%;justify-content:space-between}.is-list .episode-card>strong{flex:1}.is-list .episode-bottom{flex-direction:column;align-items:end;gap:8px}.original-detail+.chapter-directory{padding-top:30px}}
@media(prefers-reduced-motion:reduce){.shelf-cover,.episode-card,.update-card{transition:none}.shelf-cover:hover{transform:none}}

/* Lettered webtoon pages carry all dialogue in the artwork. */
#reader.continuous .reader-pages figure.lettered-page{margin-bottom:0}
#reader.continuous .reader-pages figure.lettered-page>figcaption{display:none}
