.stories-feature{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:80px;align-items:center;padding:58px 64px;margin-block:0 70px;border:2px solid var(--ink);box-shadow:0 6px 0 var(--ink);border-radius:32px;background:var(--lilac);position:relative}
.story-peek{display:block;position:relative;width:100%;max-width:310px;margin:auto;box-shadow:0 5px 0 var(--ink);border:2px solid var(--ink);border-radius:12px;background:var(--surface)}
.story-peek img{width:100%;height:auto;border-radius:10px}.peek-label{position:absolute;bottom:12px;left:12px;padding:10px 14px;background:#f4e7af;border:2px solid var(--ink);font-size:11px;letter-spacing:.1em;font-weight:800;border-radius:8px}
.stories-feature-copy h2{font-size:clamp(32px,4vw,49px);letter-spacing:-1.8px;line-height:1.08;margin:0 0 22px}.stories-feature-copy>p:not(.eyebrow){line-height:1.75;max-width:460px}.stories-feature-copy .story-note{font-size:12px;margin-top:20px;color:var(--muted)}.story-feature-title{margin-bottom:25px}.stories-nav{font-weight:700}
.stories-intro{padding-block:70px 48px}.stories-intro h1{max-width:900px;font-size:clamp(39px,5.4vw,68px);line-height:1.08;letter-spacing:-2.8px;margin:0 0 24px}.stories-intro h1 em{color:var(--purple);font-style:normal}.stories-intro>p:not(.eyebrow){max-width:660px;font-size:17px;line-height:1.8;color:var(--muted)}.reading-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.reading-tags span{font-size:12px;border:1px solid var(--line);border-radius:30px;padding:8px 14px}
.story-shelf{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin-bottom:70px}.story-featured{display:grid;grid-template-columns:340px 1fr;gap:70px;align-items:center;padding:45px 60px;background:var(--lilac);border:2px solid var(--ink);box-shadow:0 6px 0 var(--ink);border-radius:28px;min-width:0}.story-cover{display:block;position:relative;max-width:300px;box-shadow:0 5px 0 var(--ink);border:2px solid var(--ink);border-radius:12px;background:var(--surface)}.story-cover img{display:block;width:100%;height:auto;border-radius:10px}.cover-sticker{position:absolute;bottom:12px;right:12px;border-radius:8px;padding:11px 16px;background:var(--green);border:2px solid var(--ink);font-size:11px;font-weight:800;letter-spacing:.1em}
.story-description h2{font-size:clamp(33px,4vw,52px);line-height:1.05;letter-spacing:-1.8px;margin:0 0 10px}.original-title{color:var(--muted);font-style:italic;font-size:14px}.story-description>p:not(.eyebrow){line-height:1.8;max-width:490px}.story-meta{font-size:13px;color:var(--muted);line-height:1.8;margin-block:22px}.story-meta span{padding-inline:8px}.story-description .start-course{margin-top:12px}.reading-note{display:flex;gap:30px;max-width:800px;margin-bottom:70px;align-items:flex-start}.reading-note>span{display:grid;place-items:center;background:var(--green);border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:20px;min-width:80px;height:80px;font:italic 35px Georgia,serif}.reading-note h2{font-size:24px;margin:0 0 10px}.reading-note p{line-height:1.8;color:var(--muted);margin:0}
.story-intro{max-width:850px;padding-block:32px 40px;text-align:center}.back-link{display:inline-block;font-size:14px;text-decoration:underline;text-underline-offset:4px;margin-bottom:30px}.story-intro h1{font-size:clamp(38px,6vw,65px);letter-spacing:-2px;margin:0 0 10px;line-height:1.1}.story-intro>p:not(.eyebrow){max-width:600px;line-height:1.8;margin-inline:auto}.theme-note{font-size:12px;color:var(--muted)}.story-intro .start-course{margin-top:15px}
.chapter-nav{position:sticky;top:0;z-index:5;border-block:1px solid var(--line);background:#faf5eaf5;backdrop-filter:blur(12px);padding:12px 20px;text-align:center}.chapter-nav>div{display:flex;gap:8px;align-items:center;justify-content:center}.chapter-nav>div>span{font-size:12px;margin-right:10px}.chapter-nav a{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;font-size:13px;font-weight:700;background:white}.chapter-nav a:hover{background:var(--lilac)}.chapter-nav p{font-size:11px;color:var(--muted);margin:9px 0 0}
.comic-pages{max-width:850px;margin:auto;padding:0 20px}.comic-chapter{scroll-margin-top:115px}.chapter-heading{padding:42px 0 12px;text-align:center}.chapter-heading .eyebrow{margin-bottom:10px}.chapter-heading h2{font-size:27px;margin:0 0 20px}.comic-page{margin:0 0 42px;scroll-margin-top:115px}.page-image{display:block;background:#faf5ea;cursor:zoom-in}.page-image img{display:block;width:100%;height:auto}.comic-page figcaption{display:flex;justify-content:space-between;padding:12px 2px;font-size:11px;color:var(--muted)}.page-transcript{font-size:13px;border-bottom:1px solid var(--line);padding:6px 2px 15px}.page-transcript summary{cursor:pointer;color:var(--muted)}.page-transcript dl{margin-bottom:0}.page-transcript dl>div{display:flex;gap:14px;padding:8px 0}.page-transcript dt{min-width:70px;font-weight:700}.page-transcript dd{margin:0;line-height:1.6}.story-end{text-align:center;padding:40px 20px 70px}.story-end h2{font-size:clamp(28px,4vw,42px);letter-spacing:-1px;line-height:1.15}.story-end p{line-height:1.7}.story-end .back-link{display:block;width:fit-content;margin:28px auto 0}
.comic-zoom{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;padding:0;border:0;background:#211c2b;color:white}.comic-zoom::backdrop{background:#211c2bf5}.comic-zoom[open]{display:flex;flex-direction:column}.comic-zoom header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));flex-shrink:0}.zoom-close{padding:10px 18px;border-radius:20px;background:#faf5ea;color:#352742;border:0;cursor:pointer}.zoom-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.zoom-scroll img{width:1024px;max-width:none;height:auto;margin:auto}.comic-zoom>p{margin:0;padding:10px 16px max(10px,env(safe-area-inset-bottom));font-size:12px;color:#e2d6e9;text-align:center}.page-load-error{padding:18px;border:1px solid var(--line)}.page-load-error button{cursor:pointer;padding:8px;background:#e8def0;border:1px solid var(--ink);border-radius:8px}
@media(max-width:900px){.story-featured{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:35px;padding:35px}.stories-feature{gap:40px;padding:40px}}
@media(max-width:600px){.stories-feature{grid-template-columns:1fr;gap:45px;padding:30px 24px;border-radius:26px;margin-bottom:45px}.story-peek{max-width:220px}.stories-feature-copy h2{font-size:36px}.stories-feature-copy>p:not(.eyebrow){font-size:15px}.stories-intro{padding-block:42px 30px}.stories-intro h1{letter-spacing:-1.8px;font-size:40px}.stories-intro>p:not(.eyebrow){font-size:15px}.story-featured{grid-template-columns:1fr;gap:35px;padding:30px 24px}.story-cover{width:230px;max-width:100%;margin:auto}.story-description h2{font-size:36px}.story-description>p:not(.eyebrow){font-size:15px}.reading-note{gap:18px}.reading-note>span{min-width:52px;height:58px;border-radius:16px;font-size:27px}.reading-note h2{font-size:21px}.reading-note p{font-size:14px}.story-intro{padding-top:24px}.story-intro h1{font-size:40px}.comic-pages{padding:0 8px}.comic-page figcaption,.page-transcript{margin-inline:8px}.chapter-nav{padding-inline:8px}.chapter-nav>div{gap:6px}.chapter-nav>div>span{margin-right:3px}.chapter-nav a{width:32px;height:32px}.story-reading .header{min-height:76px}.story-end{padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Immersive, vertically scrolling reader. Isolated from Journey styles. */
.reader-page{background:#18151e;color:#f6f1f8;margin:0;--reader-blue:#456B91;--reader-toolbar-height:145px}
.reader-page main{min-height:100vh}.reader-page button,.reader-page select{font:inherit}.reader-page button,.reader-page select,.reader-page a{-webkit-tap-highlight-color:transparent}
.reader-toolbar{position:sticky;top:0;z-index:20;background:#faf5eaf5;color:var(--ink);border-bottom:3px solid var(--ink);backdrop-filter:blur(12px);padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left))}
.reader-top{display:flex;gap:16px;align-items:center;max-width:1080px;margin:auto;height:43px}.reader-back{font-size:14px;white-space:nowrap}.reader-title{font-weight:700;font-size:14px;text-align:center;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-fullscreen{border:0;background:transparent;font-size:25px!important;min-width:44px;height:40px;cursor:pointer;border-radius:10px}
.reader-languages{display:flex;gap:12px;max-width:680px;margin:0 auto}.reader-languages label{position:relative;flex:1;min-width:0;display:grid;grid-template-columns:8px 1fr;gap:3px 6px;align-items:center;font-size:10px;letter-spacing:.04em;font-weight:600}.language-dot{width:6px;height:6px;border-radius:50%;display:inline-block}.primary-dot{background:#161616}.secondary-dot{background:#456B91}.reader-languages select{grid-column:1/-1;width:100%;min-width:0;border:2px solid var(--ink);box-shadow:0 2px 0 var(--ink);border-radius:10px;background:#fff;padding:9px 25px 9px 10px;color:#161616;font-size:14px;cursor:pointer;min-height:40px}.reader-languages label:last-child select{color:#456B91}
.reader-navigation{display:flex;align-items:center;justify-content:center;gap:18px;max-width:680px;margin:7px auto 0;font-size:11px;color:#706578}.chapter-picker{display:flex;align-items:center;gap:5px}.chapter-picker select{border:0;background:transparent;color:#302a3a;min-height:28px;cursor:pointer}.reader-help{border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:28px;padding:0}.reader-help:focus-visible,.reader-page a:focus-visible,.reader-page button:focus-visible,.reader-page select:focus-visible{outline:3px solid #9871b2;outline-offset:2px}
#reader-tips{max-width:680px;font-size:12px;line-height:1.5;margin:7px auto;color:#5c5267}.reader-page [hidden]{display:none!important}
.reader-intro{text-align:center;padding:26px 16px 22px}.reader-intro h1{font-size:22px;line-height:1.2;margin:0 0 8px;letter-spacing:-.5px}.reader-intro p{font-size:12px;color:#c7bccf;margin:7px 0}.reader-intro .reading-hint{color:#a79bb1;font-size:11px}
.reader-stream{max-width:960px;margin:auto}.reader-sheet{margin:0 0 22px;scroll-margin-top:calc(var(--reader-toolbar-height) + 8px)}.sheet-art{position:relative;aspect-ratio:var(--page-ratio);background:#faf5ea;isolation:isolate}.sheet-art>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.sheet-lettering{position:absolute;inset:0;width:100%;height:100%;font-family:Arial,"Segoe UI",Tahoma,sans-serif;font-weight:400;pointer-events:none}.sheet-lettering g{pointer-events:auto;cursor:zoom-in}.sheet-lettering g:focus-visible rect{stroke:#456B91;stroke-width:3;stroke-dasharray:6 4}.sheet-lettering text{pointer-events:none}
.sheet-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:#faf5eae8;color:#4d4059;font-size:13px;padding:20px;text-align:center;z-index:1}.sheet-loading button{border:1px solid #8f7b9c;background:white;border-radius:12px;padding:10px;cursor:pointer}.reader-sheet figcaption{font-size:11px;color:#c5b8cf;padding:10px 16px 3px;text-align:center}.reader-sheet figcaption span{color:#92869d}.reader-transcript{padding:0 16px 12px;max-width:660px;margin:auto;font-size:13px}.reader-transcript summary{font-size:11px;color:#b6a6c3;cursor:pointer;text-align:center;padding:7px}.transcript-lines{background:#faf5ea;color:#161616;border-radius:16px;padding:1px 18px 10px;margin-top:7px;line-height:1.6}.transcript-lines strong{font-size:11px;color:#7b6b86}.transcript-lines p>span{display:block}.transcript-secondary{font-size:.9em}.reader-noscript{padding:20px;color:white}.reader-end{max-width:700px;text-align:center;margin:60px auto;padding:20px}.reader-end>p{font-size:11px;letter-spacing:.16em;color:#bdadca}.reader-end h2{font-size:32px;letter-spacing:-1px}.reader-end a{display:block;width:fit-content;margin:16px auto;color:#e9d9f4;border-bottom:1px solid #9b80ae;padding:8px 0}
#bubble-focus{width:min(94vw,650px);max-width:94vw;max-height:90dvh;margin:auto;padding:0;border:1px solid #bba4c9;border-radius:20px;background:#faf5ea;color:#302a3a;box-shadow:0 20px 90px #0008;overflow:auto;overscroll-behavior:contain}#bubble-focus::backdrop{background:#100c17d9;backdrop-filter:blur(3px)}#bubble-focus header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px}#bubble-focus header strong{font-size:14px}.focus-close{border:1px solid #c7b6d0;border-radius:20px;background:white;padding:10px 16px;color:#302a3a;cursor:pointer;min-height:40px}.focus-art{margin:0 12px;background:white;border-radius:12px;overflow:hidden;font-family:Arial,"Segoe UI",Tahoma,sans-serif}.focus-art svg{display:block;width:100%;height:auto;max-height:65dvh;font-family:Arial,"Segoe UI",Tahoma,sans-serif;font-weight:400}.focus-hint{font-size:11px;color:#7c6b88;text-align:center;margin:15px}.focus-primary{font-size:24px;padding:12px;color:#161616}.focus-secondary{font-size:20px;padding:12px;color:#456B91}
.reader-immersive .reader-title,.reader-immersive .reader-intro,.reader-immersive .reader-navigation{display:none}.reader-immersive .reader-top{height:35px}
@media(min-width:1000px){.story-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.story-featured{display:flex;flex-direction:column;padding:30px 24px;gap:32px}.story-cover{width:100%;max-width:230px}.story-description h2{font-size:32px}.story-description .start-course{font-size:14px}.story-description{flex:1}.story-description>p:not(.eyebrow){font-size:14px}.story-meta{margin-block:16px}}
@media(max-width:600px){.reader-toolbar{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}.reader-top{height:38px;gap:8px}.reader-back{font-size:12px}.reader-title{font-size:12px}.reader-languages{gap:8px}.reader-languages select{font-size:13px;padding-left:8px;padding-right:20px}.reader-navigation{gap:13px;font-size:10px;margin-top:3px}.reader-intro{padding:18px 12px}.reader-intro h1{font-size:20px}.reader-sheet{margin-bottom:14px}.reader-stream{width:100%}.reader-end h2{font-size:27px}.focus-hint{padding-inline:12px}.reader-immersive .reader-top{height:30px}}
@media(prefers-reduced-motion:reduce){.reader-page{scroll-behavior:auto}}


/* Covers retain their full 2:3 artwork; every card has its own breathing room. */
.story-description,.stories-feature-copy{min-width:0}
.story-peek,.story-cover{isolation:isolate}
.story-cover img,.story-peek img{aspect-ratio:2/3;object-fit:contain}
.story-description .start-course{max-width:100%;text-align:center}
.reader-top>*{min-width:0}.reader-title{min-width:0}
.reader-navigation{flex-wrap:wrap;row-gap:4px}
.transcript-lines{overflow-wrap:anywhere}
@media(max-width:600px){
 .story-shelf{gap:26px}
 .story-featured{padding:24px 20px;gap:28px}
 .story-cover{width:min(230px,100%)}
 .cover-sticker,.peek-label{font-size:9px;padding:7px 10px;letter-spacing:.06em}
 .story-description h2{font-size:clamp(28px,8vw,36px);overflow-wrap:anywhere}
 .stories-intro h1{font-size:clamp(33px,9vw,40px)}
 .stories-feature-copy h2{font-size:clamp(30px,8vw,36px)}
 .reading-note{flex-direction:column;gap:18px}
 .reader-languages select{font-size:16px;min-height:44px}
 .reader-fullscreen,.reader-help,.chapter-picker select{min-height:44px}
}

/* Library only: covers lead, descriptions stay secondary. */
.library-heading{padding-block:62px 40px;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:0 50px}
.library-heading .eyebrow{grid-column:1/-1;margin-bottom:18px}
.library-heading h1{font-size:clamp(48px,6vw,76px);line-height:1.02;letter-spacing:-3px;margin:0}
.library-heading h1 em{color:var(--purple)}
.library-intro{padding-bottom:5px}.library-intro p{font-size:19px;line-height:1.6;margin:0 0 18px}.library-intro>span{font-size:12px;color:var(--muted)}
.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-block:22px 64px}
.book-item{min-width:0}.book-art{display:block;position:relative;border:1px solid var(--ink);border-radius:10px;background:var(--surface);box-shadow:0 4px 0 var(--ink);transition:transform .18s ease}
.book-art img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;border-radius:9px}
.book-open{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;font-size:12px;font-weight:750;border-top:1px solid var(--ink);background:var(--lilac);border-radius:0 0 9px 9px}
.book-art img{border-radius:9px 9px 0 0}
.book-info{padding:20px 1px 0}.book-genre{color:var(--purple);font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:750;margin:0 0 8px}
.book-info h2{font-size:24px;line-height:1.15;letter-spacing:-.7px;margin:0 0 10px}.book-info h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.book-hook{font-size:14px;line-height:1.6;margin:0 0 12px}.book-length{font-size:11px;color:var(--muted)}
.book-about{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}.book-about summary{cursor:pointer;width:fit-content;min-height:32px;padding-block:6px}.book-about p{margin:8px 0 0;color:var(--ink)}
.library-help{border-top:1px solid var(--line);display:flex;align-items:center;gap:26px;padding-block:32px 48px}.library-help>span{font:italic 38px Georgia;color:var(--purple)}.library-help h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.library-help p{font-size:14px;line-height:1.65;color:var(--muted);margin:0;max-width:570px}.library-help>a{margin-left:auto;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:5px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.book-art:hover{transform:translateY(-4px)}}
@media(max-width:1000px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}.book-art{max-width:330px}.library-help{flex-wrap:wrap}.library-help>a{margin-left:0}}
@media(max-width:600px){.library-heading{grid-template-columns:1fr;padding-block:34px 20px;gap:20px}.library-heading .eyebrow{margin:0}.library-heading h1{font-size:48px;letter-spacing:-2px}.library-heading h1 br{display:none}.library-heading h1 em{margin-left:.15em}.library-intro p{font-size:15px;line-height:1.6;margin-bottom:10px}.library-intro p br{display:none}.library-intro>span{font-size:11px}.book-grid{gap:30px 16px;padding-top:10px;padding-bottom:36px}.book-info{padding-top:16px}.book-info h2{font-size:19px;letter-spacing:-.4px}.book-hook{font-size:12px;line-height:1.55}.book-genre{font-size:9px}.book-open{padding:10px;font-size:11px}.book-about{font-size:11px}.book-about summary{min-height:44px;padding-block:12px}.library-help{gap:14px;padding-block:25px 35px}.library-help>span{display:none}.library-help h2{font-size:20px}.library-help p{font-size:13px}}

/* Minimal library cards: cover, title and one-line introduction. */
.comic-library .book-art img{border-radius:9px}
.comic-library .book-hook{margin-bottom:0}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .comic-library .book-art { transition: transform .22s ease-out; }
  .comic-library .book-art:hover, .comic-library .book-art:focus-visible {
    transform: perspective(800px) translateY(-4px) rotateY(-5deg) rotate(-2deg);
  }
}

.reader-toolbar{transition:transform .2s ease}
.reader-toolbar.toolbar-hidden{transform:translateY(-100%)}
.reader-toolbar:focus-within{transform:translateY(0)}
.chapter-picker[hidden]{display:none}
.reader-intro.reader-intro-compact{padding:14px 16px}
.reader-intro-compact h1{font-size:18px;margin:0}
@media(prefers-reduced-motion:reduce){.reader-toolbar{transition:none}}


/* A slim page block continues around the right and bottom edges. */
.book-art{
 border-color:#574650;
 box-shadow:1px 1px 0 #eee5d6,2px 2px 0 #c6bbaa,3px 3px 0 #f6eddf,4px 4px 0 #c6bbaa,5px 5px 0 #eee5d6,6px 6px 0 #69535e;
}
@media(max-width:700px){
 .book-art{box-shadow:1px 1px 0 #eee5d6,2px 2px 0 #c6bbaa,3px 3px 0 #f6eddf,4px 4px 0 #69535e}
}

/* Bubble lettering fonts, hosted with KOA (SIL Open Font License, see /assets/fonts/*-OFL.txt).
   Andika: romanized Thai and translations (covers ɔ ɛ ə ʉ ŋ and tone marks).
   Noto Sans Thai Looped: Thai script only, with the looped letters beginners learn (บ/ป, ด/ต stay distinct). */
@font-face{font-family:"Andika";src:url(/assets/fonts/Andika-Bold.ttf) format("truetype");font-weight:600 800;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans Thai Looped";src:url(/assets/fonts/NotoSansThaiLooped.ttf) format("truetype");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0E00-0E7F,U+200B-200D,U+25CC}
.sheet-lettering,.focus-art,.focus-art svg{font-family:Andika,"Noto Sans Thai Looped",Arial,"Segoe UI",Tahoma,sans-serif!important}

/* Reading level badge, shared by the comics shelf and the reader */
.story-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:.75rem;line-height:1}
.level-badge{display:inline-block;padding:5px 9px;border-radius:999px;font-weight:700;letter-spacing:.01em;color:var(--level);background:var(--level-bg)}
.story-length{color:#7c6b88}
.level-starter{--level:#2f7d4f;--level-bg:#e3f2e8}
.level-beginner{--level:#1f6f8b;--level-bg:#e1f0f5}
.level-intermediate{--level:#a0620f;--level-bg:#f8ecd9}
.level-advanced{--level:#a3354f;--level-bg:#f7e2e7}
.reader-intro-compact .story-meta{justify-content:center;margin:8px 0 0}
.reader-intro-compact .story-length{color:#cfc3da}

/* Scrollbars in KOA colours (home, reader, dialogs): thin lilac thumb, no grey track, no arrows. */
html{scrollbar-width:thin;scrollbar-color:#bda1e2 transparent}
.row-scroll{scrollbar-color:#d9c6f0 transparent}
@supports not (scrollbar-color:auto){::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#bda1e2;border-radius:999px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-button{display:none}}

/* Every tap answers at once on phones: no wait for a possible double-tap zoom on links, buttons and menus. */
a,button,summary,select,label,[role=button]{touch-action:manipulation}

/* Press effect on the reader's buttons too. */
.reader-toolbar button:active,.reader-toolbar a:active,.reader-toolbar select:active{transform:scale(.95)}
.reader-toolbar button,.reader-toolbar a{transition:transform .08s ease}


/* Vertical comics (manhwa / webtoon test): the images are slices of one long strip, glued edge to edge
   in a column like webcomic apps, with no gap, page number or transcript between them. */
.reader-stream.reader-vertical{max-width:720px}
.reader-vertical .reader-sheet{margin:0}
/* Slices end at fractional heights on phones: overlap them by one pixel so no hairline of the page background shows between two white slices. */
.reader-vertical .reader-sheet+.reader-sheet{margin-top:-1px!important}
.reader-vertical .sheet-art{background:transparent}
.reader-vertical .reader-sheet figcaption,.reader-vertical .reader-transcript{display:none}
/* Never a pre-selected button anywhere (13/11, Alexis): no focus frame or blue flash from a tap or a click, only from the keyboard. */
:focus:not(:focus-visible){outline:none}
button,a,summary,[role=button]{-webkit-tap-highlight-color:transparent}
