:root {
    color-scheme: dark;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #3d1f66;
    color: #f5e6ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #4a2475 0%, #5c2d8f 50%, #3d1f66 100%);
}

.container {
    width: min(960px, 90vw);
    margin: 0 auto;
    padding: 0 1rem;
}

.app-header {
    background: rgba(93, 45, 143, 0.3);
    border-bottom: 1px solid rgba(245, 230, 255, 0.15);
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-weight: 600;
    color: #ff8c42;
    text-decoration: none;
}

.app-nav {
    display: inline-flex;
    gap: 1rem;
    margin-left: 2rem;
}

.app-nav-link {
    color: rgba(245, 230, 255, 0.8);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-nav-link:hover {
    background: rgba(255, 140, 66, 0.2);
    color: #ff8c42;
}

.app-nav-link.is-active {
    background: rgba(255, 140, 66, 0.3);
    color: #ff8c42;
}

.app-main {
    flex: 1 1 auto;
    padding: 3rem 0;
}

.app-footer {
    text-align: center;
    font-size: 0.875rem;
    padding: 1.5rem 0;
    color: rgba(245, 230, 255, 0.6);
}

.card {
    background: rgba(61, 31, 102, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.5);
}

.card-centered {
    text-align: center;
}

.page-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff8c42;
}

.lead {
    margin: 0 auto 2rem;
    max-width: 560px;
    color: rgba(245, 230, 255, 0.85);
    line-height: 1.6;
}

.generate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.generate-form-field {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    text-align: left;
}

.generate-form-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.generate-form-field__badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    background: rgba(255, 140, 66, 0.15);
    color: #ffb07a;
    font-weight: 600;
    white-space: nowrap;
}

.generate-form-field__label {
    font-weight: 600;
    color: #ff8c42;
}

.text-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    font-size: 1rem;
    font-family: inherit;
    color: #f5e6ff;
    background: rgba(93, 45, 143, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input::placeholder {
    color: rgba(245, 230, 255, 0.5);
}

.text-input:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

.generate-form-field--promo {
    max-width: 420px;
}

.generate-form-field--promo .form-hint {
    margin-top: 0;
}

.promo-code-banner {
    width: 100%;
    max-width: 420px;
    margin: 0.5rem auto 0;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    border: 1px dashed rgba(255, 140, 66, 0.6);
    background: rgba(93, 45, 143, 0.4);
    text-align: left;
    box-shadow: inset 0 0 30px -20px rgba(255, 140, 66, 0.7);
}

.promo-code-banner__title {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 140, 66, 0.85);
}

.promo-code-banner__code {
    margin: 0.25rem 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffcf99;
}

.promo-code-banner__hint {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 230, 255, 0.8);
}

.generate-form-field textarea {
    resize: vertical;
    min-height: 160px;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    font-size: 1rem;
    font-family: inherit;
    color: #f5e6ff;
    background: rgba(93, 45, 143, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.generate-form-field textarea:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

.generate-form-field .form-hint {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(245, 230, 255, 0.7);
}

.input-suggestions {
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    background: rgba(93, 45, 143, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-suggestions__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.input-suggestions__title {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ff8c42;
}

.input-suggestions__refresh {
    background: none;
    border: none;
    color: #ffa366;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
    flex-shrink: 0;
}

.input-suggestions__refresh:hover {
    color: #ff8c42;
}

.input-suggestions__list {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .input-suggestions__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.input-suggestions__item {
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    text-align: left;
    background: rgba(74, 36, 117, 0.6);
    font-family: inherit;
    font-size: 0.95rem;
    color: rgba(245, 230, 255, 0.95);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.input-suggestions__item:hover,
.input-suggestions__item:focus-visible {
    border-color: rgba(255, 140, 66, 0.6);
    box-shadow: 0 8px 20px -12px rgba(255, 140, 66, 0.4);
    transform: translateY(-1px);
    outline: none;
}

.input-suggestions__error {
    margin: 0;
    font-size: 0.85rem;
    color: #ff6b6b;
}

.voice-picker {
    max-width: 560px;
}

.voice-picker__description {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 230, 255, 0.9);
}

.voice-picker__hint {
    margin-top: 0.25rem !important;
}

.voice-picker__error {
    margin: 0;
    font-size: 0.85rem;
    color: #ff6b6b;
}

.voice-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.voice-toggle__placeholder {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 230, 255, 0.7);
}

.voice-toggle__option {
    border: 1px solid rgba(255, 140, 66, 0.35);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(74, 36, 117, 0.55);
    color: rgba(245, 230, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.voice-toggle__option[aria-pressed="true"] {
    border-color: rgba(255, 140, 66, 0.8);
    box-shadow: 0 12px 26px -18px rgba(255, 140, 66, 0.8);
    background: rgba(255, 140, 66, 0.18);
}

.voice-toggle__name {
    font-weight: 600;
    font-size: 1rem;
    color: #ffb07a;
}

.voice-toggle__meta {
    font-size: 0.9rem;
    color: rgba(245, 230, 255, 0.8);
}

.voice-picker[data-disabled="true"] .voice-toggle__option {
    opacity: 0.45;
    cursor: not-allowed;
}

.voice-picker[data-disabled="true"] .voice-toggle__option[aria-pressed="true"] {
    box-shadow: none;
}

.form-option {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
}

.checkbox.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: rgba(93, 45, 143, 0.5);
    color: #f5e6ff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -20px rgba(255, 140, 66, 0.6);
    background: rgba(93, 45, 143, 0.7);
}

.button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.button-primary {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: #1a0d2e;
}

.button-primary:hover {
    background: linear-gradient(135deg, #ffa366, #ff8c42);
}

.button-ghost {
    border: 1px solid rgba(245, 230, 255, 0.4);
    background: transparent;
    color: #f5e6ff;
}

.button-ghost:hover {
    background: rgba(245, 230, 255, 0.15);
    color: #ffb07a;
}

.loader {
    margin: 2rem 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-ring {
    width: 72px;
    height: 72px;
    border: 6px solid rgba(255, 140, 66, 0.2);
    border-top-color: #ff8c42;
    border-radius: 50%;
    animation: spin 1.4s linear infinite;
}

.loader-text {
    font-size: 1.05rem;
    color: rgba(245, 230, 255, 0.85);
}

.hint {
    margin-top: 1.5rem;
    color: rgba(245, 230, 255, 0.7);
}

.error-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ffb3b3;
}

.error-message p {
    margin-top: 0;
}

.limit-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hidden {
    display: none !important;
}

#generation-page.generation-page--error-only [data-hide-on-error] {
    display: none !important;
}

#generation-page.generation-page--error-only .error-message {
    text-align: center;
    margin-top: 0;
}

.story-title {
    text-align: center;
    font-size: 2.4rem;
    margin: 0 0 1rem;
    color: #ff8c42;
}

.story-meta {
    text-align: center;
    margin-bottom: 1.5rem;
    color: rgba(245, 230, 255, 0.6);
}

.story-carousel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-page {
    display: grid;
    gap: 2rem;
}

.story-illustration {
    display: flex;
    justify-content: center;
}

.story-illustration img {
    max-width: min(680px, 85vw);
    border-radius: 20px;
    box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease;
    border: 2px solid rgba(255, 140, 66, 0.3);
}

.story-illustration img:hover {
    transform: scale(1.01);
    box-shadow: 0 24px 48px -30px rgba(255, 140, 66, 0.5);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(245, 230, 255, 0.9);
    white-space: pre-line;
    background: rgba(93, 45, 143, 0.3);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
}

.story-audio {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.audio-player {
    width: min(560px, 85vw);
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 230, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 55px -35px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 1.1rem;
    backdrop-filter: blur(18px);
    color: #f5e6ff;
}

.audio-player audio {
    display: none;
}

.audio-btn {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: #1b0b33;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 14px 32px -18px rgba(255, 107, 53, 0.9);
}

.audio-btn:focus-visible {
    outline: 3px solid rgba(255, 140, 66, 0.45);
    outline-offset: 4px;
}

.audio-btn:disabled,
.audio-btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.audio-btn--ghost {
    width: 46px;
    height: 46px;
    background: rgba(245, 230, 255, 0.16);
    color: #f5e6ff;
    box-shadow: none;
    border: 1px solid rgba(245, 230, 255, 0.2);
    text-decoration: none;
}

.audio-btn--ghost:hover {
    background: rgba(245, 230, 255, 0.28);
}

.audio-btn:hover:not([aria-disabled="true"]) {
    transform: translateY(-1px);
}

.audio-progress {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.4rem;
    position: relative;
}

.audio-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(245, 230, 255, 0.8);
}

.audio-progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(245, 230, 255, 0.18);
    cursor: pointer;
    overflow: hidden;
}

.audio-progress-track:focus-visible {
    outline: 3px solid rgba(255, 140, 66, 0.4);
    outline-offset: 3px;
}

.audio-progress-buffer {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    width: 0;
}

.audio-progress-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff8c42, #ffa366);
    width: 0;
}

.audio-time {
    font-size: 0.85rem;
    font-weight: 600;
}

.audio-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    display: inline-block;
    color: currentColor;
}

.audio-icon::before,
.audio-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.audio-btn--toggle[data-state="play"] .audio-icon::before {
    clip-path: polygon(18% 10%, 85% 50%, 18% 90%);
}

.audio-btn--toggle[data-state="play"] .audio-icon::after {
    opacity: 0;
}

.audio-btn--toggle[data-state="pause"] .audio-icon::before,
.audio-btn--toggle[data-state="pause"] .audio-icon::after {
    clip-path: none;
    width: 32%;
    border-radius: 1px;
}

.audio-btn--toggle[data-state="pause"] .audio-icon::before {
    left: 12%;
}

.audio-btn--toggle[data-state="pause"] .audio-icon::after {
    right: 12%;
}

.audio-icon--download::before {
    clip-path: polygon(42% 0, 58% 0, 58% 55%, 78% 55%, 50% 92%, 22% 55%, 42% 55%);
}

.audio-icon--download::after {
    height: 2px;
    width: 70%;
    bottom: -6px;
    left: 15%;
}

.story-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-progress {
    font-weight: 600;
    color: #ff8c42;
}

.story-actions {
    margin-top: 2.5rem;
    text-align: center;
}


    .audio-player {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
        gap: 0.9rem;
        padding: 1rem;
    }

    .audio-btn {
        width: 48px;
        height: 48px;
    }
.story-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.library-header {
    text-align: center;
    margin-bottom: 2rem;
}

.library-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.library-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 140, 66, 0.3);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.library-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px -30px rgba(255, 140, 66, 0.5);
}

.library-card__cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--cover-image, linear-gradient(135deg, rgba(93, 45, 143, 0.6), rgba(74, 36, 117, 0.6)));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.library-card__cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 230, 255, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem;
}

.library-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 13, 46, 0.3), rgba(61, 31, 102, 0.9));
    color: #ff8c42;
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

.library-card:hover .library-card__overlay {
    opacity: 1;
}

.library-empty {
    text-align: center;
    color: rgba(245, 230, 255, 0.7);
    font-weight: 600;
    margin: 2rem 0;
}

.pagination {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.pagination.hidden {
    display: none !important;
}

.pagination__status {
    margin: 0;
    font-weight: 600;
    color: rgba(245, 230, 255, 0.8);
}

.pagination__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination__list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination__button {
    border: 1px solid rgba(255, 140, 66, 0.4);
    background: rgba(93, 45, 143, 0.4);
    color: #f5e6ff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pagination__button:hover:not(:disabled) {
    background: rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.6);
    color: #ff8c42;
    transform: translateY(-1px);
}

.pagination__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__button.is-active {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    border-color: transparent;
    color: #1a0d2e;
}

.pagination__button--prev,
.pagination__button--next {
    min-width: 110px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================ */

@media (max-width: 720px) {
    .container {
        width: 95vw;
        padding: 0 0.5rem;
    }

    .card {
        padding: 1.25rem 0.85rem;
        border-radius: 20px;
    }

    .app-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    /* ФОРМА ГЕНЕРАЦИИ */
    .generate-form-field {
        max-width: 100%;
    }

    .generate-form-field textarea {
        width: 100%;
    }

    .generate-form-field__label-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    /* СТРАНИЦА СКАЗКИ */
    .story-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }

    .story-meta {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .story-illustration {
        margin: 0 -0.85rem;
        width: calc(100% + 1.7rem);
    }

    .story-illustration img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 16px;
    }

    .story-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .story-page {
        gap: 1.25rem;
    }

    .story-audio {
        margin: 0 -0.85rem;
        width: calc(100% + 1.7rem);
    }

    .story-audio audio {
        width: 100%;
    }

    .story-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .story-progress {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .story-controls > div:not(.story-progress) {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
    }

    .story-controls .button {
        flex: 1;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .story-actions .button {
        width: 100%;
        max-width: none;
    }

    .pagination {
        align-items: stretch;
    }

    .pagination__controls {
        flex-direction: column;
        width: 100%;
    }

    .pagination__list {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .pagination__list::-webkit-scrollbar {
        height: 4px;
    }

    .pagination__button--prev,
    .pagination__button--next {
        width: 100%;
        min-width: unset;
    }

    .pagination__button--number {
        flex: 0 0 auto;
    }
}

/* Для маленьких экранов */
@media (max-width: 480px) {
    .card {
        padding: 1rem 0.65rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .generate-form-field textarea {
        min-height: 140px;
        font-size: 0.95rem;
    }

    .story-title {
        font-size: 1.4rem;
    }

    .generate-form-field--promo {
        max-width: 100%;
    }

    .story-text {
        font-size: 0.9rem;
        padding: 0.85rem;
    }

    .audio-player {
        padding: 0.85rem;
    }

    .pagination__button {
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
    }

    .limit-actions {
        flex-direction: column;
    }
}