:root{color-scheme:dark;--bg:#14171c;--panel:#1b1f25;--line:#343941;--muted:#a3aab4;--ink:#f3f3f1;--accent:#d45b65;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);min-width:280px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.28;cursor:default}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f28c93;outline-offset:5px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:8px;left:10px;padding:12px;background:#fff;color:#111;z-index:20;transform:translateY(-200%)}.skip:focus{transform:none}.masthead{height:86px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:23px;font-weight:800;letter-spacing:2px}.brand-mark{height:23px;width:5px;background:var(--accent);margin-right:14px}.brand-divider{height:20px;width:1px;background:#4b5058;margin:0 23px}.brand-category{font-size:12px;letter-spacing:.4px;font-weight:400;color:var(--muted)}.download{display:flex;gap:10px;align-items:center;font-size:12px;color:#e4e6e9;padding:11px 0}.download:hover{color:var(--accent)}main{max-width:1600px;margin:auto;padding:0 5%}.intro{display:flex;align-items:flex-end;justify-content:space-between;padding:35px 0 28px;gap:16px}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:1.8px;font-weight:600;margin:0 0 10px;line-height:1.5}h1{font-weight:500;letter-spacing:-1.2px;font-size:clamp(27px,3vw,40px);margin:0}h2{font-size:25px;font-weight:500;letter-spacing:-.5px;margin:0}.edition{font-size:11px;color:var(--muted);white-space:nowrap;padding-bottom:5px;display:flex;align-items:center;gap:8px}.edition>span{width:5px;height:5px;background:var(--accent);border-radius:50%}.reader-frame{background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden}.reader-topline{display:flex;justify-content:space-between;padding:16px 22px;color:var(--muted);font-size:10px;letter-spacing:1.1px;text-transform:uppercase;border-bottom:1px solid #2c3037}.reader-topline span:first-child{color:#dde0e5}.stage{height:clamp(345px,55vh,650px);min-height:260px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#20242b;isolation:isolate}.book-shell{position:relative;flex-shrink:0;opacity:0;transition:opacity .2s;filter:drop-shadow(0 14px 22px #0005)}.book-shell.ready{opacity:1}#book{margin:auto}.book-page{background:white;overflow:hidden}.book-page img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}.loading{position:absolute;inset:0;display:grid;place-content:center;color:var(--muted);font-size:13px;padding:24px;text-align:center}.loading a{text-decoration:underline}.reader-controls{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;gap:15px}.text-button,.icon-button,.nav-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:5px;min-height:42px;padding:8px 10px;font-size:12px}.text-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#ffffff0c;color:white}.icon-button{width:42px;padding:9px}.text-button{color:#c9cdd3}.nav-button{width:42px;height:42px;border:1px solid #4b515b;background:#252a32}.nav-button:hover:not(:disabled){background:#3a414b;border-color:#727983}.paging{display:flex;align-items:center;gap:17px}.page-form{display:flex;align-items:center;gap:5px;font-size:12px;font-variant-numeric:tabular-nums}.page-form input{width:31px;background:transparent;border:0;border-bottom:1px solid #565c66;border-radius:0;text-align:center;color:var(--ink);padding:6px 0;appearance:textfield;-moz-appearance:textfield}.page-form input::-webkit-inner-spin-button,.page-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.page-total{color:var(--muted);white-space:nowrap}.view-tools{display:flex;gap:2px}.progress-wrap{height:10px;display:flex;align-items:center;padding:0 2px}.progress-wrap input{--progress:0%;margin:0;width:100%;height:3px;cursor:pointer;accent-color:var(--accent);appearance:none;background:linear-gradient(to right,var(--accent) var(--progress),#383e47 var(--progress));border:0;border-radius:0}.progress-wrap input::-webkit-slider-thumb{appearance:none;height:10px;width:10px;background:var(--accent);border:0;border-radius:50%}.progress-wrap input::-moz-range-thumb{height:10px;width:10px;background:var(--accent);border:0;border-radius:50%}.reader-notes{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px;padding:12px 2px}.reader-notes p{margin:0;line-height:1.5}#pageStatus{white-space:nowrap}.footer{max-width:1600px;padding:22px 5% 28px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#8e96a1;font-size:10px}.footer strong{color:#b9c0c9;font-weight:600}.footer-slash{color:var(--accent);padding:0 7px}dialog{padding:0;border:1px solid #4a515d;background:var(--panel);color:var(--ink);box-shadow:0 20px 100px #000b;border-radius:10px}dialog::backdrop{background:#080a0ed9;backdrop-filter:blur(7px)}.contents-dialog{width:min(1050px,94vw);max-height:90dvh;overflow:auto}.dialog-heading{padding:28px 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:26px;gap:24px 20px}.page-item{padding:0;border:1px solid transparent;border-radius:5px;background:transparent;text-align:left;color:var(--ink);overflow:hidden}.page-item img{width:100%;display:block;aspect-ratio:22/17;object-fit:contain;background:white}.page-caption{display:flex;align-items:baseline;gap:12px;padding:13px 8px;font-size:12px}.page-number{color:var(--muted);font-size:10px}.page-item:hover{background:#ffffff0a}.page-item.active{border-color:var(--accent);background:#ffffff07}.detail-dialog{width:min(1450px,96vw);height:94dvh;max-height:100dvh;overflow:hidden}.detail-dialog[open]{display:flex;flex-direction:column}.detail-header{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;border-bottom:1px solid var(--line)}.detail-header h2{font-size:20px}.detail-header .eyebrow{margin-bottom:5px}.detail-actions{display:flex;align-items:center;gap:10px}.detail-content{min-height:0;flex:1;overflow:auto;background:#252a31;padding:24px;text-align:center}.detail-content>img{display:block;width:100%;height:100%;object-fit:contain;margin:0 auto}.detail-content.zoomed>img{height:auto;max-width:none;margin:0}.detail-text{text-align:left;max-width:750px;margin:15px auto;background:#f5f3ee;color:#20242a;padding:30px;line-height:1.8;font-size:16px;white-space:pre-wrap}.detail-text .image-description{font-size:14px;border-bottom:1px solid #ccc;padding-bottom:20px;margin-bottom:20px;color:#4b5057;white-space:normal}.detail-footer{padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);flex-shrink:0}.zoom-controls{display:flex;align-items:center;gap:2px}.zoom-controls .icon-button{font-size:22px}.no-script{position:fixed;bottom:0;background:#fff;color:#111;padding:20px;width:100%;z-index:100;text-align:center}.no-script a{text-decoration:underline}[hidden]{display:none!important}.focus-mode .masthead,.focus-mode .intro,.focus-mode .footer{display:none}.focus-mode main{max-width:none;padding:12px 16px 0}.focus-mode .stage{height:calc(100dvh - 180px)}.reduced-motion *{scroll-behavior:auto!important;transition:none!important}
@media(min-width:1600px){.masthead{padding-left:max(5%,calc((100vw - 1440px)/2));padding-right:max(5%,calc((100vw - 1440px)/2))}}
@media(max-width:700px){.masthead{height:69px;padding:0 5%}.brand{font-size:19px;letter-spacing:1.5px}.brand-divider,.brand-category{display:none}.brand-mark{height:19px;margin-right:10px}.download{font-size:11px;gap:7px}.download svg{width:17px}.intro{padding:27px 0 22px;display:block}.eyebrow{font-size:9px;letter-spacing:1.3px}.edition{margin-top:14px;font-size:10px}h1{letter-spacing:-.7px}.stage{height:clamp(240px,44vh,440px)}.reader-topline{padding:14px 15px;font-size:9px}.reader-controls{height:114px;display:grid;grid-template-columns:1fr 1fr;padding:8px 13px 10px;gap:2px 5px}.paging{grid-row:1;grid-column:1 / -1;justify-content:center;gap:24px}.reader-controls>.text-button{justify-self:start}.view-tools{justify-self:end}.reader-notes{font-size:9px;align-items:flex-start;padding-top:13px}.reader-notes #hint{max-width:235px}.footer{padding-top:21px;align-items:flex-start;font-size:9px;line-height:1.7}.footer>span:first-child{max-width:170px}.footer>span:last-child{text-align:right}.page-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:14px 12px}.dialog-heading{padding:21px 19px}h2{font-size:22px}.page-caption{font-size:10px;gap:7px;padding:12px 6px}.detail-header{padding:16px}.detail-header h2{font-size:17px}.detail-actions{gap:2px}.detail-content{padding:12px}.detail-footer{padding:8px;gap:0}.detail-footer .text-button{font-size:11px;gap:3px;padding:8px 5px}.detail-footer .zoom-controls{gap:0}.detail-footer .icon-button{width:32px}.detail-text{padding:20px;font-size:15px;margin:0 auto}.focus-mode .stage{height:calc(100dvh - 220px)}}
@media(max-height:550px) and (min-width:701px){.masthead{height:56px}.intro{padding:16px 0}.intro h1{font-size:25px}.intro .eyebrow{margin-bottom:5px}.stage{height:60vh}.focus-mode .stage{height:calc(100dvh - 170px)}}
