/* ===== Режимы отображения ===== */
.acc-mode-large-font body { font-size: 120% !important; }
.acc-mode-large-font h1, .acc-mode-large-font h2, .acc-mode-large-font h3 { font-size: 130% !important; }

.acc-mode-invert body {
    filter: invert(1) hue-rotate(180deg);
    background-color: #fff !important;
}

.acc-mode-no-images img,
.acc-mode-no-images .thumbnail img {
    display: none !important;
    border: 2px dashed #999;
    content: attr(alt);
}

/* ===== Кнопка и панель настроек ===== */
#acc-toggle {
    text-decoration: none;
    white-space: nowrap;
}

#acc-controls {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    min-width: 240px;
}
#acc-controls h4 { margin-top: 0; }
#acc-controls label { display: block; margin: 6px 0; cursor: pointer; }

/* панель не «выворачивается» при инверсии */
.acc-mode-invert #acc-controls {
    filter: invert(1) hue-rotate(180deg) !important;
}

/* ===== Подсветка читаемого блока ===== */
.acc-tts-highlight {
    outline: 3px solid #ffd400 !important;
    background-color: #fff8c4 !important;
    transition: background-color .3s;
}

#acc-tts-panel {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 8px;
}
#acc-tts-panel button {
    margin: 2px;
    padding: 4px 10px;
    font-size: 16px;
    cursor: pointer;
}
#acc-tts-panel label { font-size: 14px; }
#acc-tts-panel input[type=range] { width: 100%; }
.acc-tts-reading-mode-on * { cursor: pointer; }
