/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* Colors */
    --bg-deep:    #0a0a0c;
    --bg-dark:    #111114;
    --bg-card:    #18181c;
    --bg-surface: #1e1e24;
    --bg-hover:   #252530;

    --text-primary:   #e8e4e0;
    --text-secondary: #9a9494;
    --text-muted:     #5e5a5a;

    --accent:       #c0392b;
    --accent-light: #e74c3c;
    --accent-glow:  rgba(192, 57, 43, 0.25);
    --accent-soft:  rgba(192, 57, 43, 0.08);

    --border:       rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --sidebar-width: 300px;
    --header-height: 56px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.18);
}

/* ============================================
   MOBILE HEADER (visible < 900px)
   ============================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10,10,12,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.mobile-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.back-to-home {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    transition: color 0.2s;
}
.back-to-home:hover {
    color: var(--text-primary);
}

/* ============================================
   SIDEBAR OVERLAY
   ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-dark);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.sidebar-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 1.5px;
}
.logo-accent {
    color: var(--accent);
}

.sidebar-subtitle {
    text-align: center;
    font-size: 11px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 6px;
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}
.sidebar-close:hover {
    color: var(--text-primary);
}

.sidebar-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
}
.badge-18 {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.badge-genre {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.sidebar-links {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.sidebar-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}
.sidebar-link:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.sidebar-nav {
    flex: 1;
    padding: 16px 16px 8px;
    overflow-y: auto;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0 8px;
    margin-bottom: 10px;
}

.chapters-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
    border: 1px solid transparent;
}
.chapter-item:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}
.chapter-item.active {
    background: var(--accent-soft);
    border-color: rgba(192, 57, 43, 0.15);
    color: var(--accent-light);
    font-weight: 500;
}
.chapter-item .ch-num {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--bg-surface);
    flex-shrink: 0;
}
.chapter-item.active .ch-num {
    background: var(--accent);
    color: #fff;
}
.chapter-item.in-progress {
    opacity: 0.4;
    cursor: not-allowed;
}

.sidebar-characters {
    padding: 8px 16px 16px;
    border-top: 1px solid var(--border);
}
.characters-trigger {
    width: 100%;
    border: none;
    font-family: var(--font-body);
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.sidebar-footer p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ============================================
   MAIN AREA
   ============================================ */
.main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, var(--accent-glow) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 30% 80%, rgba(30,20,40,0.4) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    animation: heroFadeIn 1s var(--ease-out) both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}
.hero-badge-divider {
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 16px;
}
.hero-title-line {
    display: block;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -1px;
}
.hero-title-accent {
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(135deg, var(--accent-light), #a93226);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
}

.hero-btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.continue-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    animation: readerFadeIn 0.5s var(--ease-out) both;
}
.continue-text {
    font-size: 14px;
    color: var(--text-primary);
}
.continue-text strong {
    color: var(--accent-light);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}
.hero-stat-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   READER
   ============================================ */
.reader {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 40px 0;
    min-height: 100vh;
}

.reader-content {
    animation: readerFadeIn 0.5s var(--ease-out) both;
}
@keyframes readerFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chapter-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.chapter-header h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.chapter-meta {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
}

.chapter-content {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.85;
    font-weight: 300;
}
.chapter-content p {
    margin-bottom: 18px;
    text-align: justify;
    hyphens: auto;
}
.chapter-content strong {
    color: var(--text-primary);
    font-weight: 600;
}
.chapter-content em {
    color: var(--text-secondary);
    font-style: italic;
}
.chapter-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 20px 0;
    background: var(--accent-soft);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}
.chapter-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent-light);
    margin: 28px 0 14px;
}

.chapter-audio {
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chapter-audio a {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.chapter-audio a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Reader Nav */
.reader-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    gap: 16px;
}

.reader-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}
.reader-nav-btn:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.reader-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reader-counter {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.setting-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.setting-btn:hover {
    color: var(--text-primary);
}

.paged-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 0;
    margin-top: 32px;
    border-top: 1px dashed var(--border);
    gap: 16px;
}
.paged-counter {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.35s var(--ease-out) both;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.character-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
}
.character-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.character-card .char-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--bg-hover);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-light);
    border: 2px solid var(--border);
    overflow: hidden;
}
.char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.character-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.character-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.character-card .mbti {
    display: inline-block;
    background: var(--accent-soft);
    border: 1px solid rgba(192,57,43,0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-light);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ============================================
   CHARACTER PAGE
   ============================================ */
.character-page-section {
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 32px;
    transition: color 0.2s;
}
.back-btn:hover {
    color: var(--text-primary);
}

.char-page-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    animation: readerFadeIn 0.5s var(--ease-out) both;
}

.char-page-img-wrapper {
    flex: 0 0 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.char-page-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.char-page-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.char-page-name {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 24px;
    line-height: 1.1;
}

.char-page-detail {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.char-page-detail strong {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 900px) {
    .char-page-container {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    .char-page-img-wrapper {
        flex: none;
        width: 100%;
        max-height: 450px;
    }
}

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */
@media (max-width: 900px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s var(--ease-out);
        width: min(var(--sidebar-width), 85vw);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-close {
        display: block;
    }

    .main {
        margin-left: 0;
        padding-top: var(--header-height);
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        padding: 40px 24px;
    }
    .hero-title-line {
        font-size: clamp(40px, 12vw, 64px);
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-scroll-hint {
        bottom: 20px;
    }

    .reader {
        padding: 32px 20px 0;
    }
    .chapter-header h2 {
        font-size: 24px;
    }
    .chapter-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .reader-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 0 32px;
    }
    .reader-nav-btn span {
        display: none;
    }
    .reader-nav-btn {
        padding: 12px 16px;
    }

    .modal-content {
        padding: 24px;
        border-radius: 14px;
    }
    .characters-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 32px 18px;
    }
    .hero-badge {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 24px;
    }
    .hero-subtitle {
        letter-spacing: 3px;
        font-size: 12px;
    }
    .hero-description {
        font-size: 13px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-stat-value {
        font-size: 24px;
    }

    .reader {
        padding: 24px 16px 0;
    }
    .chapter-header h2 {
        font-size: 22px;
    }
    .chapter-content {
        font-size: 14px;
    }

    .reader-nav-btn {
        font-size: 12px;
    }
    .reader-nav-btn span {
        display: inline; 
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.fade-in {
    animation: fadeIn 0.4s var(--ease-out) both;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
