.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } body.reader-bg-black .chapter-reader-container { background: #000 !important; } body.reader-bg-dark .chapter-reader-container { background: var(--ink) !important; } body.reader-bg-sepia .chapter-reader-container { background: #e9dcc0 !important; } body.reader-bg-sepia .chapter-image-container { box-shadow: 0 0 0 1px rgba(60, 40, 10, 0.12); } .chapter-header { transition: transform 0.25s ease; } .chapter-header.hidden { transform: translateY(-100%); } .chapter-title-bar { gap: 16px !important; padding: 10px 20px !important; } .chapter-title-bar .reader-title { display: flex !important; flex-direction: column; gap: 1px; min-width: 0; margin: 0; line-height: 1.2; } .reader-title__manga { display: inline-flex !important; align-items: center; gap: 2px; max-width: 100%; color: var(--paper-muted) !important; font-size: 0.74rem; font-weight: 600; text-decoration: none; } .reader-title__manga span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .reader-title__manga:hover { color: var(--saffron) !important; } .reader-title__chapter { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .reader-title__subtitle { margin-left: 8px; color: var(--paper-muted); font-size: 0.82rem; font-weight: 500; } .reader-header-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .reader-header-nav__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--paper); transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; } a.reader-header-nav__btn:hover, a.reader-header-nav__btn:focus-visible { border-color: var(--saffron); color: var(--saffron); } .reader-header-nav__btn.is-primary { background: var(--saffron); border-color: var(--saffron); color: var(--on-primary); } a.reader-header-nav__btn.is-primary:hover { background: var(--saffron-hover); color: var(--on-primary); } .reader-header-nav__btn.is-disabled { opacity: 0.35; pointer-events: none; } .reader-select { position: relative; display: inline-flex; align-items: center; } .reader-select select { appearance: none; -webkit-appearance: none; width: clamp(150px, 20vw, 260px); height: 38px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--paper); font: inherit; font-size: 0.85rem; font-weight: 650; text-overflow: ellipsis; cursor: pointer; } .reader-select select:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; } .reader-select .sr-icon { position: absolute; right: 10px; pointer-events: none; color: var(--paper-muted); } .chapter-views { gap: 6px; } .reader-mobile-bar .reader-mobile-bar__item { transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; } .reader-mobile-bar .reader-mobile-bar__item:hover, .reader-mobile-bar .reader-mobile-bar__item:focus-visible { border-color: var(--saffron) !important; color: var(--saffron) !important; } .reader-mobile-bar .reader-mobile-bar__item.is-primary { background: var(--saffron) !important; border-color: var(--saffron) !important; color: var(--on-primary) !important; } .reader-mobile-bar .reader-mobile-bar__item.is-active { border-color: var(--saffron) !important; color: var(--saffron) !important; background: var(--panel-2) !important; } .reader-mobile-bar .reader-mobile-bar__item.is-disabled { opacity: 0.38 !important; pointer-events: none; } .reader-mobile-bar[hidden] { display: none !important; } .reader-mobile-sheet[data-view="options"] .reader-panel--chapters, .reader-mobile-sheet[data-view="chapters"] .reader-panel--options { display: none; } .reader-mobile-sheet { background: var(--ink-deep) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; color: var(--paper) !important; } .reader-mobile-sheet__header strong { font-family: var(--font-display); } .reader-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .reader-opt__label { flex: 0 0 auto; color: var(--paper-muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } .reader-opt--actions { justify-content: flex-start; flex-wrap: wrap; border-bottom: 0; } .reader-seg { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding: 3px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); } .reader-seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--paper-muted); font: inherit; font-size: 0.8rem; font-weight: 650; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; } .reader-seg button:hover { color: var(--paper); } .reader-seg button.is-active { background: var(--saffron); color: var(--on-primary); font-weight: 800; } .reader-seg--zoom .reader-zoom-label { min-width: 60px; justify-content: center; } .reader-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); } .reader-swatch--black { background: #000; } .reader-swatch--dark { background: var(--ink); } .reader-swatch--sepia { background: #e9dcc0; } .reader-chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--paper); font: inherit; font-size: 0.8rem; font-weight: 650; cursor: pointer; } .reader-chip-btn:hover, .reader-chip-btn.is-active { border-color: var(--saffron); color: var(--saffron); } .reader-shortcuts { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; color: var(--paper-muted); font-size: 0.74rem; line-height: 1.6; } .reader-shortcuts kbd { padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); color: var(--paper); font: inherit; font-size: 0.72rem; } .reader-chapter-search { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--paper-muted); } .reader-chapter-search:focus-within { border-color: var(--saffron); } .reader-chapter-search input { flex: 1; min-width: 0; height: 40px; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--paper); font: inherit; font-size: 0.85rem; } .reader-chapter-empty { margin: 0 0 10px; color: var(--paper-muted); font-size: 0.82rem; } .reader-mobile-sheet__chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reader-mobile-sheet__chapter-list .reader-chapter-link { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; white-space: normal; } .reader-mobile-sheet__chapter-list .reader-chapter-link[hidden] { display: none; } .reader-chapter-link__num { font-size: 0.82rem; font-weight: 750; color: var(--paper); } .reader-chapter-link__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--paper-muted); font-size: 0.72rem; } .reader-chapter-link__time { color: var(--paper-muted); font-size: 0.68rem; opacity: 0.8; } .reader-mobile-sheet__chapter-list .reader-chapter-link.is-read .reader-chapter-link__num { color: var(--paper-muted); font-weight: 600; } .reader-mobile-sheet__chapter-list .reader-chapter-link.is-read { opacity: 0.72; } .reader-mobile-sheet__chapter-list .reader-chapter-link.is-current { opacity: 1; background: var(--panel-2); border-color: var(--saffron); } .reader-mobile-sheet__chapter-list .reader-chapter-link.is-current .reader-chapter-link__num { color: var(--saffron); } .reader-chapters-pagination { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 0.8rem; } .reader-chapters-pagination a { display: inline-flex; align-items: center; gap: 4px; color: var(--saffron); font-weight: 700; text-decoration: none; } .reader-page-counter { position: fixed; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 99990; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink-deep) 88%, transparent); color: var(--paper); font-size: 0.78rem; font-weight: 750; font-variant-numeric: tabular-nums; pointer-events: none; } body.reader-mode-horizontal .reader-page-counter, body.reader-mobile-sheet-open .reader-page-counter { display: none; } .reader-resume { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 99991; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 8px 8px 8px 14px; transform: translateX(-50%); border-radius: 12px; border: 1px solid var(--saffron); background: var(--ink-deep); color: var(--paper); font-size: 0.82rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); } .reader-resume[hidden] { display: none; } .reader-resume__go { padding: 7px 12px; border: 0; border-radius: 8px; background: var(--saffron); color: var(--on-primary); font: inherit; font-weight: 800; cursor: pointer; } .reader-resume__close { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--paper-muted); font-size: 1.3rem; line-height: 1; cursor: pointer; } body.single-chapter .chapter-images[style*="--reader-max-width"]:not(.horizontal-mode) { max-width: var(--reader-max-width) !important; margin-left: auto !important; margin-right: auto !important; } body.reader-gap-on.single-chapter .chapter-images:not(.horizontal-mode) .chapter-image-container { margin-bottom: 12px !important; } @keyframes reader-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } body.single-chapter .chapter-images:not(.horizontal-mode) .chapter-image-container.is-loading { min-height: 70vh !important; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%) 0 0 / 200% 100%; animation: reader-shimmer 1.4s linear infinite; } body.single-chapter .chapter-images:not(.horizontal-mode) .chapter-image-container.is-error { display: flex; align-items: center; justify-content: center; min-height: 40vh !important; background: var(--panel); font-size: 1rem; line-height: 1.4; } .reader-img-retry { max-width: 80%; padding: 10px 16px; border: 1px solid var(--saffron); border-radius: 10px; background: var(--ink-deep); color: var(--saffron); font: inherit; font-size: 0.85rem; font-weight: 700; line-height: 1.3; cursor: pointer; } .reader-endcard { max-width: 720px; margin: 40px auto 0; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; color: var(--paper); } .reader-endcard__eyebrow { margin: 0; color: var(--paper-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .reader-endcard__title { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; text-wrap: balance; } .reader-endcard__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px; border-radius: 12px; background: var(--saffron); border: 2px solid var(--saffron); box-shadow: 4px 4px 0 var(--ink-deep); color: var(--on-primary); text-align: left; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; } .reader-endcard__cta:hover, .reader-endcard__cta:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink-deep); color: var(--on-primary); } .reader-endcard__cta-text { display: flex; flex-direction: column; min-width: 0; } .reader-endcard__cta-text small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; } .reader-endcard__cta-text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .reader-endcard__last { margin: 0; color: var(--paper-muted); font-size: 0.92rem; } .reader-endcard__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; } .reader-endcard__link { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--paper); font-size: 0.85rem; font-weight: 650; text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease; } .reader-endcard__link:hover, .reader-endcard__link:focus-visible { border-color: var(--saffron); color: var(--saffron); } @media (max-width: 720px) { .chapter-title-bar { flex-wrap: wrap; padding: 8px 12px !important; gap: 8px !important; } .reader-header-nav { width: 100%; } .reader-select { flex: 1; } .reader-select select { width: 100%; } .chapter-views { display: none !important; } .reader-mobile-sheet__chapter-list { grid-template-columns: 1fr; } .reader-opt { flex-direction: column; align-items: flex-start; } .reader-seg { justify-content: flex-start; } .reader-page-counter { right: 8px; } } @media (prefers-reduced-motion: reduce) { .chapter-header, .reader-endcard__cta { transition: none; } body.single-chapter .chapter-images:not(.horizontal-mode) .chapter-image-container.is-loading { animation: none; } }