/* 05. Navegação e índice */
.quiet-button {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--line);
    padding: 10px 17px;
    min-height: 44px;
    font-size: 0.875rem;
}
.quiet-button:hover {
    border-color: var(--red);
}
.reader-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}
.page-button {
    padding: 11px 20px;
    min-height: 46px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--white);
    font-size: 0.875rem;
}
.page-button:hover:not(:disabled) {
    border-color: var(--red);
}
.page-status {
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
}
.reader-help {
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
    margin: 18px 0 0;
}
dialog {
    width: min(480px, calc(100% - 36px));
    max-height: calc(100dvh - 60px);
    overflow: auto;
    padding: 30px;
    border: 1px solid #bd78866b;
    background: var(--night);
    color: var(--white);
    box-shadow: 0 30px 100px #000b;
}
dialog::backdrop {
    background: #03060bd9;
    backdrop-filter: blur(5px);
}
.index-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.index-heading h2 {
    font-family: var(--script);
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}
.index-caption {
    color: var(--muted);
    margin: 12px 0 25px;
    font-family: Georgia, serif;
    font-size: 1rem;
}
.index-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.index-list button {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--white);
    font-size: 1rem;
}
.index-list button:hover {
    color: var(--red);
}
.index-list button span:last-child {
    color: var(--muted);
    font-size: 0.875rem;
}

/* A seleção de volumes permanece independente da navegação de folhas. */
.volume-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.volume-button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
}
.volume-button[aria-pressed='true'] {
    background: #73303d;
    color: var(--white);
    border-color: #ba5b6e;
}
.volume-button:hover {
    border-color: var(--red);
    color: var(--white);
}
.index-volume-label {
    margin: 0;
    font-weight: 400;
    color: var(--red);
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    padding-top: 24px;
    padding-bottom: 8px;
}
