*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#172031;color:#edf2f5;font-family:system-ui,"Microsoft JhengHei",sans-serif}a{color:#c5dfe3;text-decoration:none}a:focus-visible,select:focus-visible{outline:3px solid #b8d5db;outline-offset:4px}.reader-bar{position:sticky;top:0;z-index:2;background:#0c1019f5;border-bottom:1px solid #475462;padding:18px max(5%,20px);display:flex;justify-content:space-between;align-items:center;gap:18px}.reader-bar select{font:inherit;color:#edf2f5;background:#1b2939;border:1px solid #667f8a;border-radius:9px;padding:10px;max-width:55%}.reader-main{background:radial-gradient(ellipse at 85% 10%,#39465d,transparent 65%),linear-gradient(115deg,#131a29,#243345);padding:44px 24px 70px}.reader-title{max-width:780px;margin:0 auto 38px}h1{font-size:32px;margin:0}.chapter{max-width:780px;margin:0 auto 76px;scroll-margin-top:16px}.chapter-heading{margin:0 0 22px;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.chapter-heading span{font-size:14px;color:#b8d5db}.chapter-heading h2{font-size:23px;font-weight:500;margin:0}.chapter-page{display:block;width:100%;height:auto;border-radius:8px}.chapter-panels{display:none}.panel-crop{position:relative;overflow:hidden;border-radius:9px}.panel-crop img{position:absolute;width:200%;max-width:none;height:auto}.reader-end{max-width:780px;margin:auto;text-align:center;border-top:1px solid #475462;padding-top:30px}.reader-end a{display:inline-block;padding:12px 22px;border:1px solid #9ebac5;border-radius:24px}footer{padding:24px 5%;background:#0c1019;color:#b8d5db}@media(max-width:650px){html{scroll-padding-top:100px}.reader-bar{padding:14px 16px;gap:12px;font-size:14px}.reader-bar select{font-size:14px;max-width:59%}.reader-main{padding:30px 16px 45px}.reader-title{margin-bottom:28px}h1{font-size:26px}.chapter{margin-bottom:46px}.chapter-heading{gap:10px;margin-bottom:18px}.chapter-heading h2{font-size:20px}.chapter-page{display:none}.chapter-panels{display:grid;gap:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(min-width:651px){.reader-main{padding-top:24px;padding-bottom:22px;min-height:calc(100dvh - 80px);display:flex;flex-direction:column;align-items:center}.reader-title{width:100%;max-width:780px;margin-bottom:16px}.reader-title h1{font-size:24px}.chapter{width:100%;margin:0 auto}.chapter[hidden]{display:none}.chapter-heading{max-width:560px;margin:0 auto 14px}.chapter-heading h2{font-size:20px}.chapter-page{width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 275px);margin:auto;object-fit:contain}.reader-end,footer{display:none}.desktop-paging{display:flex;align-items:center;justify-content:center;gap:30px;margin:18px auto 0}.desktop-paging button{font:inherit;border:1px solid #79919d;background:#1b2939;color:#edf2f5;border-radius:50%;width:46px;height:46px;cursor:pointer}.desktop-paging button:disabled{opacity:.3;cursor:default}.desktop-paging button:focus-visible{outline:3px solid #b8d5db;outline-offset:3px}.desktop-paging span{font-size:14px;color:#b8d5db}}@media(max-width:650px){.desktop-paging{display:none}.chapter[hidden]{display:block}}
@media(min-width:651px){.chapter-page{display:none}.chapter-panels{display:block;width:min(620px, max(280px, calc((100dvh - 275px)*.79)));margin:auto}.panel-crop[hidden]{display:none}.chapter-heading{max-width:620px}.panel-crop{width:100%}}@media(max-width:650px){.panel-crop[hidden]{display:block}}
.panel-crop{border-radius:4% / 3.3%;isolation:isolate}.panel-crop::after{content:'';position:absolute;inset:0;pointer-events:none;border:2px solid #164e77;border-radius:inherit}
html,body{overscroll-behavior-x:none}@media(min-width:651px){html{height:100%;overflow:hidden;overscroll-behavior:none}body{height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);overscroll-behavior:none}.reader-main{height:100%;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;padding:20px 24px 24px;gap:0}.reader-title{margin:0 auto 12px}.chapter{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.chapter-heading{width:100%;margin:0 auto 12px}.chapter-panels{height:100%;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}.panel-crop{flex:none;max-width:100%;height:auto}.desktop-paging{margin:16px auto 0}.reader-main{touch-action:pan-y pinch-zoom}}
