/* assets/css/reader.css */

.reader-body {
    background: #111;
    color: #eee;
    min-height: 100vh;
}

/* Header */
.reader-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1a1a1a;
    border-bottom: 2px solid #e8222e;
    padding: 0 16px;
}
.reader-header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.reader-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #2a2a2a;
    color: #eee;
    flex-shrink: 0;
    transition: background .2s;
}
.reader-back:hover { background: #e8222e; }
.reader-title {
    flex: 1;
    min-width: 0;
}
.reader-comic-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
.reader-chap-name {
    font-size: 12px;
    color: #9ca3af;
}
.reader-chap-select {
    padding: 7px 10px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #eee;
    font-size: 13px;
    cursor: pointer;
    max-width: 200px;
}

/* Images */
.reader-images {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.reader-images img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Bottom nav */
.reader-bottom-nav {
    max-width: 900px;
    margin: 20px auto 100px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.reader-nav-btn { min-width: 140px; justify-content: center; }

/* Floating nav */
.reader-float-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26,26,26,.95);
    border: 1px solid #333;
    border-radius: 50px;
    display: flex;
    gap: 4px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    z-index: 200;
}
.float-nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2a2a2a;
    color: #eee;
    border: none;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}
.float-nav-btn:hover:not(:disabled) { background: #e8222e; }
.float-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
