/* AAN Tales Works — midnight editorial collection */
:root{--bg:#070b13;--panel:#101723;--gold:#d7b67a;--accent:#f2d9aa;--muted:#aab4c3}
body{background:radial-gradient(ellipse at 90% 0,#142437 0,transparent 35%),#070b13}
.site-header{height:86px;background:#070b13ed;border-bottom:1px solid #d7b67a25}
.wordmark{font-size:23px}.brand .wordmark small{font-size:12px;letter-spacing:2px}
.studio-intro{max-width:1320px;width:calc(100% - 64px);padding:28px 0;color:#c9b28d;font-size:12px}
.tales-hero{width:min(1440px,calc(100% - 48px));min-height:690px;border-radius:3px;border-color:#d7b67a40;grid-template-columns:1.12fr .88fr;padding:64px 7% 96px;gap:45px;background:#0c1420;overflow:hidden}
.tales-hero .hero-art{background:url('/assets/hero.webp') center/cover no-repeat;filter:none;opacity:.34}
.tales-hero .hero-shade{background:linear-gradient(90deg,#080e18f5 3%,#080e18b0 48%,#080e1840),linear-gradient(0deg,#080e18,transparent 50%)}
.tales-hero h1{font-size:clamp(80px,8vw,126px);letter-spacing:.015em;line-height:.9}
.tales-hero .hero-line{font-size:25px}.tales-hero .hero-description{color:#c5cbd4;max-width:430px}
.hero-showcase{width:min(100%,310px)}.tales-hero .hero-book{transform:perspective(1400px) rotateY(-12deg) rotateZ(2deg);box-shadow:22px 30px 65px #000c;border-left-width:7px}
.tales-hero .hero-bottom{left:7%;right:7%;font-size:12px}.hero-bottom-right{color:#d7b67a}
.primary,.secondary{border-radius:3px;min-height:48px;font-size:15px}.primary{background:linear-gradient(110deg,#ead0a3,#cba76b);box-shadow:none}
.genre-tags span{border-radius:2px;color:#c6b89d}.reading-promise{font-size:14px!important}
.content{width:min(1320px,calc(100% - 64px))}.content>section{margin-top:92px}
.section-top h2,.audio-feature h2,.community h2,.about h2{font-family:Georgia,serif;letter-spacing:-1.5px;font-weight:400;font-size:clamp(32px,3.4vw,48px)}
.section-top h2>span{color:#d7b67a}.eyebrow{font-size:12px!important;letter-spacing:2px}
.chapter-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;box-shadow:none;border-bottom:1px solid #d7b67a25}
.chapter-card{background:#0d1420;border:1px solid #d7b67a20;border-radius:3px}.chapter-card:hover{border-color:#d7b67a88}
.chapter-display{padding:24px;background:radial-gradient(ellipse at 50% 100%,#33404e,#121d2b 80%)}
.chapter-information{padding:22px!important}.chapter-heading{gap:8px;flex-wrap:wrap}.chapter-information h3{font-family:Georgia,serif;font-size:23px;line-height:1.22;font-weight:400}.chapter-information p{font-size:14px;line-height:1.7}
.chapter-status,.chapter-meta{font-size:12px}.chapter-card .chapter-cover{max-width:200px}.shelf-note{font-size:15px;line-height:1.8;color:#b6c1cf}
.format-collection{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #d7b67a35;background:linear-gradient(110deg,#142031,#0a111b)}
.format-collection>a{padding:35px;border-right:1px solid #d7b67a25;transition:background .2s}.format-collection>a:last-child{border:0}.format-collection>a:hover{background:#d7b67a0b}
.format-number{font-size:12px;letter-spacing:2px;color:#d7b67a}.format-collection h3{font:29px Georgia,serif;margin:22px 0 12px}.format-collection p{font-size:15px;color:#aebbc9;line-height:1.8;max-width:270px}.format-action{display:block;margin-top:24px;color:#e2cda8;font-size:14px}
.watch-feature{border-radius:3px;border:1px solid #d7b67a30;background:#0f1926}.watch-image img{object-position:center 35%}.watch-copy h3{font-family:Georgia,serif;font-weight:400}.pink-label{color:#d7b67a}.youtube-button{background:#d7b67a;color:#0b111b;border-radius:3px}.watch-formats span{border-color:#d7b67a40}
.audio-feature{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:48px;padding:55px;border:1px solid #d7b67a35;background:radial-gradient(ellipse at 100% 100%,#213347,#0b121e 65%)}
.audio-feature h2{line-height:1.12;margin:22px 0}.audio-feature p{max-width:520px;line-height:1.85;color:#acb9c9}.audio-status{display:inline-block;margin-top:24px;font-size:12px;letter-spacing:2px;color:#d7b67a;border-top:1px solid #d7b67a40;padding-top:20px}
.audio-art{text-align:center}.audio-art img{width:min(100%,280px);border-radius:50%;filter:drop-shadow(0 15px 30px #0008)}.audio-art span{display:block;font:italic 17px Georgia,serif;color:#d8c6a6;margin-top:24px}
.community{border-radius:3px;background:#101d2a;border:1px solid #d7b67a35}.about .studio-art{border-radius:3px}.site-footer{border-color:#d7b67a25;font-size:14px}
dialog{border-radius:6px;border:1px solid #bba47766}input[type=email]{min-height:48px;width:100%;padding:12px;background:#080f1b;border:1px solid #596575;border-radius:3px;color:#fff;font:inherit}
@media(min-width:1600px){.tales-hero{padding-left:100px;padding-right:100px}}
@media(max-width:1100px){.chapter-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header{gap:16px}.site-header nav{gap:18px}.tales-hero{padding:45px 45px 90px;min-height:620px}.tales-hero h1{font-size:92px}.hero-showcase{width:270px}.format-collection>a{padding:25px}}
@media(max-width:800px){.site-header nav{display:none}.site-header .library-button{margin-left:auto}.chapter-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.tales-hero{gap:25px;padding:40px 30px 85px;grid-template-columns:1fr .8fr}.tales-hero h1{font-size:76px}.tales-hero .hero-line{font-size:21px}.hero-showcase{width:225px}.hero-bottom-right{display:none}.format-collection{grid-template-columns:1fr}.format-collection>a{border-right:0;border-bottom:1px solid #d7b67a25}.format-collection p{max-width:none}.audio-feature{padding:35px;gap:25px}.audio-art img{width:200px}}
@media(max-width:560px){.site-header{height:76px;padding:0 16px;gap:12px}.brand-emblem{width:40px;height:40px}.wordmark{font-size:18px}.brand .wordmark small{font-size:10px}.site-header .library-button{padding:8px}.library-button span{display:none}.account-nav{font-size:14px!important}.studio-intro{width:calc(100% - 32px);padding:20px 0;letter-spacing:1px}.studio-intro>span:last-child{display:none}.tales-hero{width:calc(100% - 24px);grid-template-columns:1fr;padding:35px 25px 80px;gap:40px}.tales-hero h1{font-size:88px}.hero-showcase{width:245px}.tales-hero .hero-bottom{left:25px;right:25px}.tales-hero .hero-bottom>a{font-size:12px}.content{width:calc(100% - 32px)}.content>section{margin-top:60px}.chapter-shelf{gap:12px}.chapter-display{padding:15px}.chapter-information{padding:15px!important}.chapter-information h3{font-size:20px}.chapter-information p{display:none}.chapter-card .primary,.chapter-card .secondary{font-size:13px;padding:10px;gap:0}.chapter-meta{line-height:1.7}.chapter-status{font-size:11px}.coming-cover .chapter-numeral{font-size:70px}.coming-cover .series-label{font-size:20px}.filter-row{gap:10px;flex-wrap:wrap}.filters button{padding:9px 12px}.audio-feature{grid-template-columns:1fr;padding:30px}.audio-art{padding:15px 0}.section-top{align-items:flex-start}.section-note{display:none}.watch-feature{grid-template-columns:1fr}.watch-copy{padding:30px!important}.site-footer{gap:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.hero-book,.chapter-card,.primary{transition:none!important}}
/* Reading shortcuts and the weekly release */
/* Upcoming original series */
.upcoming-series{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:48px;align-items:center;padding:48px;border:1px solid #d7b67a40;border-left:3px solid #d7b67a;background:linear-gradient(120deg,#152334,#0b121e);scroll-margin-top:110px}
.upcoming-series-details,.upcoming-series-title,.upcoming-series-copy{min-width:0}.upcoming-series-cover img{display:block;width:100%;max-width:320px;height:auto;margin:auto;box-shadow:12px 18px 36px #0008;border:1px solid #d7b67a40}.upcoming-series-subtitle{font-size:16px;line-height:1.7;color:#ecd5ad;margin:0 0 22px}.upcoming-series-copy{margin-top:28px}.upcoming-series-title h2{font:normal clamp(32px,4.5vw,64px)/1.15 Georgia,serif;letter-spacing:.04em;color:#ecd5ad;margin:20px 0 24px;overflow-wrap:anywhere}
.upcoming-series-status{display:inline-block;padding:8px 14px;border:1px solid #d7b67a70;border-radius:2px;color:#ecd5ad;font-size:16px}
.upcoming-series-copy p{font-size:16px;line-height:1.8;color:#bdc8d5;margin:0 0 16px}.upcoming-series-copy p:first-child{font:normal 24px/1.5 Georgia,serif;color:#f1e7d8}.upcoming-series-copy .upcoming-series-note{margin-bottom:0;font-size:14px;color:#b6c1cf}
@media(max-width:800px){.upcoming-series{grid-template-columns:1fr;gap:28px;padding:30px}}@media(max-width:560px){.upcoming-series{padding:24px}.upcoming-series-title h2{font-size:clamp(28px,9vw,44px)}}
.content>.reader-highlights{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-top:36px;scroll-margin-top:100px}
.highlight-card{display:flex;align-items:center;gap:26px;min-width:0;padding:30px;border:1px solid #d7b67a40;background:linear-gradient(135deg,#172537,#0b131f);border-radius:3px}
.highlight-card>div{min-width:0}.highlight-card h2{font:normal 28px/1.2 Georgia,serif;letter-spacing:-.5px;margin:14px 0}.highlight-card h2 span{display:inline-block;font-size:22px;color:#ece4d6;margin-top:6px}.highlight-cover{width:110px;height:auto;max-height:180px;object-fit:contain;flex-shrink:0;box-shadow:7px 10px 22px #0008;border:1px solid #d7b67a55;border-radius:2px}
.highlight-note{font-size:14px;line-height:1.75;color:#b6c2d0;margin:12px 0 18px}.release-date{font-size:15px;line-height:1.65;color:#efd5a8;margin:12px 0}.highlight-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.highlight-card .secondary,.highlight-card .primary{font-size:14px;min-height:44px}
.reading-meter{display:block;color:#d9c49d;font-size:14px;margin:14px 0 20px}.reading-meter progress{display:block;appearance:none;width:100%;height:5px;margin-top:12px;border:0;border-radius:3px;background:#344051}.reading-meter progress::-webkit-progress-bar{background:#344051;border-radius:3px}.reading-meter progress::-webkit-progress-value{background:#d7b67a;border-radius:3px}.reading-meter progress::-moz-progress-bar{background:#d7b67a;border-radius:3px}
@media(max-width:1050px){.content>.reader-highlights{grid-template-columns:1fr}.highlight-card{padding:28px}.highlight-cover{width:105px}.highlight-card h2{font-size:28px}}
@media(max-width:560px){.content>.reader-highlights{gap:16px;margin-top:24px}.highlight-card{padding:22px;gap:18px;align-items:flex-start}.highlight-cover{width:76px;max-height:130px}.highlight-card h2{font-size:24px}.highlight-card h2 span{font-size:20px}.release-date{font-size:14px}.highlight-card .eyebrow{font-size:11px!important;letter-spacing:1.4px}}
@media(max-width:350px){.highlight-card{flex-direction:column}.highlight-cover{width:100px}}

.owner-notice{margin:28px 0 0;padding:18px 24px;border:1px solid #b79558;border-radius:14px;background:#172534;color:#f2e2c0;display:flex;gap:16px;flex-wrap:wrap}.owner-notice strong{color:#e6c889}
#floatingZoom{display:none;position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(82px + env(safe-area-inset-bottom));z-index:12;background:#172534;color:#f2e2c0;border:1px solid #b79558;border-radius:24px;padding:12px 18px;box-shadow:0 4px 18px #0008}
#reader:fullscreen #floatingZoom,#reader.app-fullscreen #floatingZoom,#reader.clean #floatingZoom{display:block}
#reader:-webkit-full-screen #floatingZoom{display:block}
#pageZoom[open]{display:flex;flex-direction:column;position:fixed;inset:0;margin:auto;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:0;background:#080e17;color:#f5ead8;overflow:hidden}
#pageZoom .zoom-toolbar{position:static;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:calc(12px + env(safe-area-inset-top)) 16px 10px;background:#142131}
.zoom-actions{display:flex;gap:8px;align-items:center}.zoom-actions button{min-width:44px;min-height:44px;border:1px solid #87734f;background:#213044;color:#f5ead8;border-radius:8px;padding:8px 12px}.zoom-actions output{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}.zoom-actions button:disabled{opacity:.4}
#pageZoom .zoom-help{margin:0;padding:6px 16px 10px;color:#c9c4bb;font-size:13px;flex-shrink:0}
#pageZoom .zoom-scroll{flex:1;min-height:0;width:100%;height:auto;overflow:auto;touch-action:none;overscroll-behavior:contain;padding:0;cursor:grab;scroll-behavior:auto}
#pageZoom .zoom-scroll:active{cursor:grabbing}#zoomCanvas{position:relative}#pageZoom #zoomImage{position:absolute;display:block;max-width:none;max-height:none;margin:0;object-fit:contain;user-select:none;-webkit-user-select:none;pointer-events:none}
@media(max-width:560px){#pageZoom .zoom-toolbar{gap:6px;padding-left:10px;padding-right:10px}.zoom-actions{gap:5px;width:100%;justify-content:space-between}.zoom-actions button{padding:8px 10px}#zoomLabel{font-size:13px}}

.site-footer .social-links{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}.site-footer .social-links a{display:inline-flex;align-items:center;min-height:44px;color:#e6c889;font-size:14px}.site-footer .social-links a:focus-visible{outline:2px solid #e6c889;outline-offset:4px}

.audio-feature .audio-status{font-size:14px;line-height:1.7;letter-spacing:1px}

.digital-book-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.digital-book-cover{display:block;width:min(100%,280px);justify-self:center}.digital-book-cover img{display:block;width:100%;height:auto;box-shadow:0 18px 40px #0007}.digital-book .digital-book-note{font-size:14px;margin-top:18px}.digital-book-actions a{font-size:16px;text-align:center}
