/* AAN Tales Works — the studio identity, layered over the existing reader. */
:root {
  --bg: #080e19;
  --panel: #101a29;
  --line: #233044;
  --muted: #a4aebd;
  --red: #e2b977;
  --accent: #f1cc8f;
  --gold: #e2b977;
  color-scheme: dark;
}
html { scroll-padding-top: 112px; }
body { background: var(--bg); color: #f5f3ef; font-size: 1rem; }
button, a, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #f1cc8f; outline-offset: 5px; }
.site-header {
  position: sticky; top: 0; z-index: 30; height: 88px;
  padding: 0 max(32px, calc((100% - 1320px) / 2)); gap: 24px;
  background: #080e19f2; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff0d;
}
.site-header .brand { flex-shrink: 0; gap: 12px; letter-spacing: -.3px; }
.brand-emblem { width: 53px; height: 53px; object-fit: contain; border-radius: 50%; }
.wordmark { font-family: Georgia, serif; font-size: 24px; font-weight: 400; white-space: nowrap; }
.brand-initials { color: var(--gold); font-weight: 700; }
.brand .wordmark small { color: #a4aebd; font: 12px 'DM Sans', sans-serif; letter-spacing: 2.3px; margin-top: 5px; }
.site-header nav { margin-left: auto; gap: 26px; font-size: 14px; color: #a4aebd; }
.site-header nav a:last-child { display: flex; }
.site-header nav a { transition: color .2s; }
.site-header nav a:hover, .site-header nav a.active { color: var(--accent); }
.site-header nav .active:after { bottom: 19px; height: 2px; background: var(--gold); }
.site-header .library-button { border-color: #334157; background: #111c2b; border-radius: 7px; padding: 11px 13px; font-size: 14px; }
.library-button b { color: var(--gold); background: #243044; }
.site-header .account-nav { padding: 10px 0; font-size: 14px; color: #d5bd94; }
.brand-masthead { width: min(1420px, calc(100% - 40px)); margin: 24px auto 0; overflow: hidden; border: 1px solid #d5ac6e4a; border-radius: 18px; background: #080e19; box-shadow: 0 20px 70px #0008, 0 0 40px #d9ae6420; }
.brand-masthead img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; }
.studio-intro { max-width: 1320px; margin: auto; padding: 26px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #8e9aaa; font-size: 12px; letter-spacing: 2px; }
.studio-intro > span:last-child { letter-spacing: .2px; font-size: 13px; }
.studio-intro i { font-style: normal; color: #596879; margin: 0 10px; }
.tales-hero {
  isolation: isolate; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 65px;
  width: min(1320px, calc(100% - 64px)); margin: auto; min-height: 684px;
  padding: 42px 65px 92px; border: 1px solid #b9905438; border-radius: 20px;
  background: radial-gradient(ellipse at 85% 40%, #23405a 0, #132132 35%, #0c1523 74%);
}
.tales-hero .hero-art { background: url('/chapters/chapter-1/a05d887f7fef/cover.webp') 95% 40% / 70% auto no-repeat; filter: blur(30px); opacity: .22; z-index: -2; }
.tales-hero .hero-shade { z-index: -1; background: linear-gradient(90deg, #0a1320eb, #0a132033 75%), linear-gradient(0deg, #0a1320, transparent 42%); }
.tales-hero .hero-copy { width: auto; margin: 0; padding: 0; min-width: 0; }
.tales-hero .eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--gold); margin: 0 0 20px; }
.tales-hero .eyebrow .eyebrow-rule { height: 1px; width: 54px; border-radius: 0; background: #b790534d; }
.tales-hero .hero-meta { font-size: 12px; letter-spacing: 2.2px; color: #a3adbc; }
.tales-hero h1 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(96px, 8.5vw, 116px); font-weight: 700; line-height: .87; letter-spacing: .025em; margin: 18px 0 25px; }
.tales-hero h1 span { color: var(--accent); background: linear-gradient(115deg, #fff2d3, #d8aa62); background-clip: text; -webkit-text-fill-color: transparent; }
.tales-hero .hero-line { font: italic 23px/1.4 Georgia, serif; color: #e7dbc4; margin: 0 0 14px; }
.tales-hero .hero-description { font-size: 16px; line-height: 1.7; max-width: 410px; color: #b2bdcb; margin: 22px 0 0; }
.genre-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.genre-tags span { font-size: 12px; color: #c0cad6; padding: 5px 10px; border: 1px solid #77889d40; border-radius: 4px; }
.primary, .secondary { font-size: 14px; min-height: 48px; border-radius: 6px; gap: 22px; transition: background .2s, border-color .2s, transform .2s; }
.primary { background: linear-gradient(120deg, #f0ce95, #d9aa65); color: #15130f; box-shadow: 0 4px 18px #d5a35b12; }
.primary:hover { background: #f5dcae; transform: translateY(-2px); }
.secondary { background: #142132b3; border: 1px solid #49566a; color: #d8dfe7; }
.secondary:hover { background: #213147; border-color: #8b785b; }
.tales-hero .hero-actions { flex-wrap: wrap; gap: 12px; }
.tales-hero .reading-promise { font-size: 13px; color: #adb8c7; margin: 14px 0 0; }
.hero-showcase { width: min(100%, 338px); justify-self: center; min-width: 0; position: relative; padding-top: 4px; }
.showcase-label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 2px; color: #c6b69d; margin: 0 0 15px; }
.tales-hero .hero-book { position: relative; inset: auto; display: block; width: 100%; margin: 0; border: 1px solid #f4d79b57; border-left: 5px solid #8f734e; border-radius: 4px 8px 8px 4px; transform: perspective(1400px) rotateY(-7deg) rotateZ(1deg); box-shadow: 18px 25px 48px #0009, 0 0 60px #d1a36b0a; transition: transform .5s, box-shadow .5s; }
.tales-hero .hero-book:hover { transform: perspective(1400px) rotateY(0) rotateZ(0) translateY(-5px); box-shadow: 12px 32px 58px #000a; }
.tales-hero .hero-book img { width: 100%; height: auto; border-radius: 0 7px 7px 0; }
.showcase-caption { display: flex; align-items: center; gap: 16px; margin-top: 23px; color: #e4d9c8; font-size: 16px; line-height: 1.4; }
.showcase-caption .caption-number { color: #9f885f; font: 38px 'Barlow Condensed', sans-serif; padding-right: 16px; border-right: 1px solid #c2a5713b; }
.showcase-caption > a { font-size: 27px; color: var(--gold); margin-left: auto; padding: 6px; }
.tales-hero .hero-bottom { left: 65px; right: 65px; bottom: 23px; padding-top: 20px; border-top: 1px solid #e2bd7826; justify-content: space-between; gap: 20px; color: #9babbc; font-size: 12px; letter-spacing: 1.2px; }
.tales-hero .hero-bottom strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 500; font-size: 25px; color: #e1c89f; margin-right: 8px; }
.tales-hero .hero-bottom-right { font-size: 12px; letter-spacing: 1.2px; margin-left: 0; }
.tales-hero .hero-bottom > a { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0; color: #e0c698; }
.tales-hero .hero-bottom > a span { font-size: 20px; }
.content { max-width: 1320px; padding: 0; margin: auto; }
.content > section { margin-top: 88px; scroll-margin-top: 118px; }
.section-top { margin-bottom: 30px; gap: 24px; }
.eyebrow.muted { font-size: 12px; color: #b69a71; letter-spacing: 2px; }
.section-top h2, .community h2, .about h2 { font-size: clamp(32px, 3.1vw, 43px); line-height: 1.15; letter-spacing: -1.4px; font-weight: 500; margin-top: 12px; }
.section-note { color: #96a5b6; font-size: 14px; max-width: 230px; line-height: 1.6; text-align: right; }
.filter-row { padding-bottom: 22px; border-bottom: 1px solid #253144; margin-bottom: 30px; }
.filters { gap: 8px; }
.filters button { border: 1px solid #2a394e; background: transparent; color: #aebac8; border-radius: 5px; padding: 10px 18px; font-size: 14px; }
.filters button.selected { background: #e4bf82; border-color: #e4bf82; color: #17150f; }
.filter-row > span { font-size: 13px; color: #a3afbf; }
.chapter-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 30px; border-bottom: 2px solid #a57e464d; box-shadow: 0 12px 28px -20px #d0ad70; }
.chapter-card { min-width: 0; border: 1px solid #2b384b; border-radius: 10px; background: #101927; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.chapter-card:hover { transform: translateY(-5px); border-color: #a68b5d; }
.chapter-display { position: relative; padding: 28px 34px 24px; background: radial-gradient(ellipse at 50% 100%, #303f50, #152133 65%); border-bottom: 1px solid #ffffff09; }
.chapter-card .chapter-cover { width: min(100%, 224px); height: auto; max-height: none; aspect-ratio: 2 / 3; margin: 0 auto; border-radius: 3px 7px 7px 3px; border-left: 5px solid #806445; box-shadow: 10px 12px 22px #0006; }
.chapter-cover img { background: #0c1420; object-fit: contain; }
.chapter-card .chapter-cover.coming { display: grid; width: min(100%, 224px); background: linear-gradient(145deg, #21394d, #0b1523 80%); border: 1px solid #8a75534d; border-left: 5px solid #67573e; }
.chapter-card:nth-child(3) .chapter-cover.coming { background: linear-gradient(145deg, #29314b, #101524 80%); }
.coming-cover { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px 12px; width: 100%; height: 100%; }
.coming-cover .series-label { color: #d6bb8e; font: 25px/.95 'Barlow Condensed', sans-serif; letter-spacing: 3px; }
.coming-cover .chapter-numeral { font: 100px/.95 'Barlow Condensed', sans-serif; font-weight: 600; color: #a18b65; }
.coming-cover .cover-divider { width: 36px; height: 1px; background: #b59c6959; margin: 1px auto; }
.coming-cover small { font-size: 12px; letter-spacing: 2px; line-height: 1.5; color: #b5b7b8; }
.chapter-information { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.chapter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chapter-number { color: #c0a374; font-size: 12px; letter-spacing: 1.8px; margin: 0; }
.chapter-status { font-size: 12px; color: #9facbd; }
.chapter-status.available { color: #e4c590; }
.chapter-card h3 { font-size: 22px; font-weight: 500; line-height: 1.25; margin: 15px 0 10px; min-height: 2.5em; letter-spacing: -.4px; }
.chapter-card p { font-size: 14px; line-height: 1.75; color: #a6b3c3; margin: 0 0 18px; flex: 1; }
.chapter-meta { color: #b3bfcc; font-size: 13px; line-height: 1.6; padding-top: 14px; margin: 0 0 17px; border-top: 1px solid #293649; }
.chapter-card .primary, .chapter-card .secondary { width: 100%; justify-content: space-between; min-height: 46px; padding: 12px 16px; }
.shelf-note { color: #a5b2c3; font-size: 14px; line-height: 1.75; margin: 22px 0 0; }
.format-tag { color: #c5ae89; border-color: #77614070; font-size: 12px; max-width: none; }
.watch-feature { grid-template-columns: 1.08fr 1fr; background: #111c2b; border: 1px solid #334055; border-radius: 12px; }
.watch-image { height: auto; min-height: 460px; position: relative; }
.watch-image img { position: absolute; inset: 0; object-fit: cover; object-position: center 19%; width: 100%; height: 100%; }
.watch-image-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #08111bef, #0b162270 62%, #07132133); }
.watch-image-label { position: absolute; bottom: 85px; left: 40px; font: 64px/.93 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 1px; color: #f3e9d5; }
.watch-image-label > span { display: block; font: 12px 'DM Sans', sans-serif; letter-spacing: 3px; margin-top: 18px; color: #ecd19f; }
.watch-image .art-tag { background: #0c1725b3; border-color: #9caaa94f; border-radius: 3px; left: 40px; bottom: 28px; font-size: 12px; }
.watch-copy { padding: 44px 42px; align-self: center; }
.pink-label { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.watch-copy h3 { font: 38px/1.13 Georgia, serif; margin: 20px 0; letter-spacing: -.7px; }
.watch-copy > p { font-size: 16px; line-height: 1.75; color: #acb8c7; }
.watch-formats { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #c4cfdb; margin: 23px 0; }
.watch-formats span + span { border-left: 1px solid #526076; padding-left: 12px; }
.youtube-button { min-height: 48px; background: #ae2430; border-color: #da505a; color: #fff; font-size: 14px; border-radius: 6px; padding: 13px 20px; }
.youtube-button:hover { background: #c93541; }
.youtube-button[aria-disabled=true] { background: #3a222d; border-color: #824754; color: #f1bfc5; cursor: default; }
.watch-copy .quiet { font-size: 13px; color: #a5b2c3; }
.watch-copy .watch-note { font-size: 13px; margin: 19px 0 0; }
.community { display: grid; grid-template-columns: 1.4fr 1fr; padding: 50px 55px; gap: 65px; border: 1px solid #ae87413f; border-radius: 12px; background: radial-gradient(ellipse at 95% 0, #35404366, transparent 60%), #121c28; }
.community .eyebrow { color: #d2b27b; font-size: 12px; letter-spacing: 2px; }
.community h2 { font-size: 37px; }
.community p { color: #aab6c5; font-size: 16px; line-height: 1.75; max-width: 500px; }
.community .primary { margin-top: 10px; }
.community-side { border-left: 1px solid #9c804547; padding-left: 46px; }
.community-index { display: block; font: 26px Georgia, serif; color: #bba479; margin-bottom: 22px; }
.community-side h3 { font-size: 26px; font-weight: 500; line-height: 1.25; }
.text-button { color: #e0be86; font-size: 14px; }
.community .text-button { display: flex; gap: 24px; min-height: 44px; align-items: center; }
.about { max-width: none; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; padding: 0 55px 84px; }
.studio-art { width: min(100%, 350px); justify-self: center; }
.studio-art img { width: 100%; height: auto; display: block; border-radius: 50%; }
.studio-copy { max-width: 600px; }
.about h2 { font: 42px/1.17 Georgia, serif; letter-spacing: -.8px; margin: 18px 0 24px; }
.about p { color: #a7b4c5; font-size: 16px; line-height: 1.8; }
.about strong { color: #d7dee8; font-weight: 500; }
.studio-signature { border-top: 1px solid #293447; margin-top: 25px; padding-top: 22px; }
.studio-signature > span { color: #d7b780; font: italic 25px Georgia, serif; display: block; }
.studio-signature small { display: block; font-size: 12px; color: #8d9bad; letter-spacing: 1.7px; margin-top: 10px; }
.site-footer { background: #070c15; border-top: 1px solid #273145; padding: 33px max(32px, calc((100% - 1320px) / 2)); gap: 26px; color: #a4afbe; font-size: 14px; }
.footer-brand { margin-right: auto; }
.site-footer .brand { font: 24px Georgia, serif; color: #e1bd81; letter-spacing: 0; gap: 6px; }
.site-footer .brand span { color: #e6e5e2; }
.footer-brand p { font-size: 13px; color: #99a5b5; margin: 9px 0 0; }
.site-footer > span { flex-basis: 100%; border-top: 1px solid #263044; padding-top: 22px; font-size: 12px; color: #8c99aa; }
.site-footer .text-button { font-size: 14px; color: #b2bcc9; }
/* Keep account and reading surfaces within the same identity. */
dialog { background: #101a29; border-color: #37465a; border-radius: 12px; }
dialog::backdrop { background: #030711cf; }
dialog p, dialog .quiet { color: #b1bdcc; }
dialog h2 { color: #f1e8d8; letter-spacing: -.5px; }
.account-summary { background: #172536; border-color: #47536a; }
.account-benefits { color: #c1cbda; }
.account-provider { color: #c0b399; }
.library-item { border-color: #344258; }
.library-item button { color: #e7ca99; background: #26354b; min-height: 42px; }
.reader-toolbar { background: #101a2af5; border-color: #28394f; }
.reader-title small { color: #b0bdce; }
.reader-toolbar button, .reader-bottom button, .reading-controls button { background: #1d2c42; border: 1px solid #3c4d64; border-radius: 5px; }
.reading-controls select, .page-chooser select, form select, textarea { background: #162337; border-color: #43556d; }
#emailSignIn { display: grid; gap: 12px; margin: 22px 0 12px; }
#emailSignIn label { color: #f3ddb5; font-size: 14px; font-weight: 700; }
#emailSignIn input { width: 100%; min-height: 50px; padding: 12px 14px; color: #f8f3e9; background: #101a29; border: 1px solid #4d6079; border-radius: 6px; font: inherit; }
#emailSignIn input:focus { outline: 2px solid #d9ad68; outline-offset: 2px; }
#reader { background: #080d17; }
#bookStage { padding-top: 15px; }
.reader-help { color: #a9b5c5; }
.reader-title { min-width: 0; }
.reader-title strong { font-size: 14px; }
.page-thumbs { background: #142035; border: 1px solid #32445e; border-radius: 7px; }
.page-thumbs button { background: #243149; }
#chapterEnd { border-color: #8c704148; }
#chapterEnd h2 { color: #f3dfbc; }
#chapterEnd p { color: #b2bfd0; }
#exitClean { background: #18263b; color: #ead3ab; border-color: #a1875c; }
.zoom-toolbar { background: #17253a; }
.zoom-scroll { background: #080e18; }
#toast { max-width: min(520px, calc(100vw - 30px)); width: max-content; background: #f4dfb8; color: #211a10; line-height: 1.6; }
[hidden] { display: none !important; }
@media (max-width: 1384px) {
  .studio-intro, .content { margin-inline: 32px; }
}
@media (max-width: 1100px) {
  .site-header { gap: 16px; padding-inline: 25px; }
  .wordmark { font-size: 21px; }
  .brand-emblem { width: 46px; height: 46px; }
  .site-header nav { gap: 18px; }
  .site-header .library-button { padding: 10px; }
  .tales-hero { padding: 42px 42px 92px; gap: 38px; }
  .hero-showcase { width: min(100%, 292px); }
  .tales-hero .hero-bottom { left: 42px; right: 42px; }
  .tales-hero h1 { font-size: 108px; }
  .section-note { display: block; }
  .chapter-display { padding: 24px; }
  .chapter-information { padding: 22px; }
  .chapter-card h3 { font-size: 20px; }
  .coming-cover .chapter-numeral { font-size: 86px; }
  .watch-copy { padding: 32px; }
  .watch-copy h3 { font-size: 32px; }
  .watch-image-label { left: 28px; font-size: 57px; }
  .watch-image .art-tag { left: 28px; }
  .community { padding: 40px; gap: 35px; }
  .community-side { padding-left: 32px; }
  .about { padding-inline: 28px; gap: 48px; }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 12px 18px; }
  .site-header nav { order: 4; width: 100%; height: 43px; justify-content: space-between; gap: 20px; margin: 0; }
  .site-header nav .active:after { bottom: 0; }
  .site-header .library-button { margin-left: auto; }
  .studio-intro > span:last-child { display: none; }
  .tales-hero { padding: 38px 32px 86px; gap: 26px; grid-template-columns: 1.15fr .85fr; min-height: 0; }
  .tales-hero h1 { font-size: 90px; }
  .tales-hero .hero-line { font-size: 21px; }
  .tales-hero .hero-description { font-size: 16px; }
  .hero-showcase { max-width: 265px; }
  .showcase-caption { font-size: 14px; gap: 10px; }
  .showcase-caption .caption-number { font-size: 30px; padding-right: 10px; }
  .showcase-label { font-size: 12px; letter-spacing: .8px; }
  .tales-hero .hero-bottom { left: 32px; right: 32px; }
  .tales-hero .hero-bottom-right { display: none; }
  .chapter-shelf { gap: 15px; }
  .chapter-display { padding: 20px 18px; }
  .chapter-information { padding: 18px; }
  .chapter-heading { flex-wrap: wrap; gap: 6px; }
  .chapter-card h3 { font-size: 19px; }
  .coming-cover { padding: 14px 8px; gap: 10px; }
  .coming-cover .chapter-numeral { font-size: 66px; }
  .coming-cover .series-label { font-size: 22px; letter-spacing: 1.6px; }
  .coming-cover small { font-size: 12px; letter-spacing: .7px; }
  .watch-copy { padding: 30px 24px; }
  .watch-image-label { font-size: 50px; }
  .watch-image .art-tag { right: 22px; font-size: 12px; line-height: 1.6; }
  .community { padding: 32px; grid-template-columns: 1.2fr 1fr; gap: 28px; }
  .community h2 { font-size: 30px; }
  .community-side { padding-left: 24px; }
  .about { padding-inline: 0; gap: 35px; }
  .about h2 { font-size: 34px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 130px; }
  .site-header { padding-inline: 18px; gap: 10px; }
  .brand-emblem { width: 42px; height: 42px; }
  .site-header .brand { gap: 8px; }
  .wordmark { font-size: 20px; }
  .brand .wordmark small { font-size: 12px; letter-spacing: 1px; }
  .site-header .library-button { padding: 10px; font-size: 14px; }
  .site-header .library-button span { display: none; }
  .site-header .library-button::before { content: 'Saved'; }
  .site-header .library-button b { margin-left: 5px; }
  .site-header .account-nav { font-size: 14px; padding-inline: 2px; }
  .site-header nav { font-size: 14px; height: 42px; gap: 12px; order: 4; }
  .studio-intro { margin-inline: 20px; padding: 24px 0 16px; font-size: 12px; letter-spacing: 1.5px; }
  .tales-hero { width: calc(100% - 32px); display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding: 32px 26px 91px; border-radius: 13px; }
  .tales-hero .hero-copy { width: 100%; margin: 0; padding: 0; }
  .tales-hero .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .tales-hero .hero-meta { font-size: 12px; letter-spacing: 1.5px; }
  .tales-hero h1 { font-size: clamp(92px, 20vw, 125px); margin: 19px 0 22px; line-height: .86; letter-spacing: 1px; }
  .tales-hero .hero-line { font-size: 22px; }
  .tales-hero .hero-description { max-width: 100%; font-size: 16px; }
  .genre-tags { margin: 16px 0 0; }
  .tales-hero .hero-actions { gap: 10px; }
  .tales-hero .hero-actions > * { padding: 14px 17px; font-size: 14px; }
  .tales-hero .reading-promise { font-size: 13px; }
  .hero-showcase { align-self: center; width: min(80%, 282px); max-width: none; padding: 6px 0 0; }
  .tales-hero .hero-book { width: 100%; margin: 0; }
  .showcase-label { font-size: 12px; letter-spacing: 1.5px; }
  .showcase-caption { font-size: 16px; margin-top: 20px; }
  .tales-hero .hero-bottom { left: 26px; right: 26px; bottom: 22px; padding-top: 18px; gap: 15px; letter-spacing: .5px; }
  .tales-hero .hero-bottom > span { font-size: 12px; }
  .tales-hero .hero-bottom > a { font-size: 13px; max-width: 118px; line-height: 1.5; }
  .tales-hero .hero-bottom strong { display: block; font-size: 24px; margin-bottom: 4px; }
  .content { margin-inline: 20px; padding: 0; }
  .content > section { margin-top: 60px; scroll-margin-top: 140px; }
  .section-top { gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
  .section-top h2 { font-size: 33px; }
  .section-note { display: none; }
  .filter-row { margin-bottom: 24px; padding-bottom: 19px; gap: 10px; }
  .filters { gap: 7px; }
  .filters button { font-size: 14px; padding: 10px 13px; }
  .chapter-shelf { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 470px; border-bottom: 2px solid #a57e464d; }
  .chapter-card { border-radius: 10px; }
  .chapter-display { padding: 26px 35px; }
  .chapter-card .chapter-cover, .chapter-card .chapter-cover.coming { width: min(100%, 232px); aspect-ratio: 2 / 3; }
  .chapter-card .chapter-cover.coming { max-height: 270px; }
  .coming-cover .chapter-numeral { font-size: 86px; }
  .coming-cover .series-label { font-size: 25px; letter-spacing: 2px; }
  .coming-cover small { letter-spacing: 1.5px; }
  .chapter-heading { flex-wrap: nowrap; }
  .chapter-information { padding: 24px; }
  .chapter-card h3 { font-size: 25px; min-height: 0; line-height: 1.25; }
  .chapter-card p { font-size: 16px; }
  .chapter-number { font-size: 12px; }
  .chapter-meta { font-size: 14px; }
  .format-tag { max-width: none; font-size: 12px; padding: 8px 10px; }
  .watch-feature { grid-template-columns: 1fr; }
  .watch-image { min-height: 310px; height: 310px; }
  .watch-image-label { font-size: 57px; left: 26px; bottom: 78px; }
  .watch-image .art-tag { left: 26px; bottom: 23px; right: auto; max-width: calc(100% - 52px); }
  .watch-copy { padding: 30px 26px; }
  .watch-copy h3 { font-size: 34px; }
  .community { display: block; padding: 30px 26px; }
  .community h2 { font-size: 32px; }
  .community .primary { width: 100%; justify-content: space-between; padding-inline: 17px; }
  .community-side { margin-top: 30px; padding: 26px 0 0; border-left: 0; border-top: 1px solid #9c804547; }
  .community-index { float: right; font-size: 24px; }
  .community-side h3 { font-size: 27px; }
  .about { display: flex; flex-direction: column; gap: 30px; padding: 0 6px 55px; }
  .studio-art { width: min(72%, 270px); }
  .studio-copy { width: 100%; }
  .about h2 { font-size: 37px; }
  .site-footer { padding: 30px 22px; gap: 22px; font-size: 14px; }
  .footer-brand { flex-basis: 100%; }
  .site-footer .brand { font-size: 25px; }
  .site-footer > span { width: 100%; }
  .reader-toolbar button, .reading-controls button, .reading-controls select, .reading-controls label, .reader-bottom button { font-size: 14px; min-height: 42px; }
  .reading-controls label { display: flex; align-items: center; }
  .reader-title small { font-size: 12px; }
  .reader-toolbar > div:last-child { gap: 6px; }
  .reader-toolbar button { padding: 9px; }
  .reader-bottom { gap: 8px; }
  .page-chooser { font-size: 14px; flex-wrap: wrap; justify-content: center; }
  .reading-controls > span { display: block; color: #baa98b; }
  .library-item strong, .library-item button { font-size: 14px; }
  .zoom-toolbar { font-size: 14px; }
}
@media (max-width: 390px) {
  .site-header { gap: 8px; padding-inline: 12px; }
  .brand-emblem { width: 33px; height: 33px; }
  .wordmark { font-size: 17px; }
  .brand .wordmark small { font-size: 12px; letter-spacing: .3px; }
  .site-header .library-button { padding: 8px; }
  .site-header .account-nav { font-size: 14px; }
  .tales-hero { padding-inline: 22px; }
  .tales-hero h1 { font-size: 87px; }
  .tales-hero .hero-actions > * { padding-inline: 13px; }
  .tales-hero .hero-bottom { left: 22px; right: 22px; }
  .filters button { padding: 10px 11px; }
  .section-top h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tales-hero .hero-book, .tales-hero .hero-book:hover, .chapter-card:hover, .primary:hover { transform: none; }
}
