.reader-footer {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90%);
    height: 54px;
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.theme-light .reader-footer {
    background: rgba(254, 254, 254, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.footer-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
    justify-content: space-between;
}

.navigation-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: #a1a1aa; /* Zinc-400 default contrast */
}

.nav-btn:hover:not(:disabled),
.nav-btn:focus:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--nexus-neon, #00ff99);
    color: var(--nexus-neon, #00ff99); /* Brand neon green hover/focus signal */
    transform: scale(1.05);
    outline: none;
}

.nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.theme-light .nav-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #78716c; /* Warm stone-500 */
}

.theme-light .nav-btn:hover:not(:disabled),
.theme-light .nav-btn:focus:not(:disabled) {
    background: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
    color: #10b981;
    outline: none;
}

.chapter-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    flex: 1;
    color: #e2e8f0; /* Slate-200 for clean high readability */
}

.theme-light .chapter-info {
    color: #292524; /* Warm charcoal for legibility */
}

.chapter-title {
    font-weight: 600;
    font-size: 0.75rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.chapter-count {
    color: #a1a1aa; /* Zinc-400 for secondary info clarity */
    font-size: 0.7rem;
}

.theme-light .chapter-count {
    color: #78716c; /* Warm stone-500 secondary info */
}

.progress-container {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 0.25rem;
    flex-shrink: 0;
}

.theme-light .progress-container {
    background: rgba(0, 0, 0, 0.08);
}

.progress-bar {
    height: 100%;
    background: var(--nexus-neon, #00ff99);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.theme-light .progress-bar {
    background: #10b981;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: #a1a1aa;
    flex-shrink: 0;
    font-family: monospace;
}

.theme-light .meta-info {
    color: #78716c;
}

.battery {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* RWD constraint: floating toolbar visible ONLY on desktop (min-width: 1024px) */
@media (max-width: 1023px) {
    .reader-footer {
        display: none !important;
    }
}