.audioD {
    max-width: 650px;
    margin: 0 auto;
    margin-top: 15px;
}

.dictant {
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

#dictInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

#checkDict {
    margin-top: 10px;
    padding: 8px 18px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #ff8a00;
    color: #fff;
    cursor: pointer;
}

#checkDict:hover {
    opacity: 0.9;
}

#dictResult {
    margin-left: 12px;
    font-size: 18px;
}

#dictResult.ok {
    color: #1a8b1a;
}

#dictResult.error {
    color: #d11a1a;
}










.baiterek-task {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


/* =====================================
   БӨЛІМ
===================================== */

.baiterek-section {
    padding: 22px;

    margin-bottom: 30px;

    border: 1px solid #e2e2e2;
    border-radius: 15px;

    background: #fff;
}


.baiterek-section h3 {
    margin: 0 0 22px;

    font-size: 24px;
    color: #444;
}


/* =====================================
   СҰРАҚТАР
===================================== */

.baiterek-question {
    margin-bottom: 22px;

    padding: 18px;

    border: 1px solid #e3e3e3;
    border-radius: 12px;

    background: #fafafa;
}


.baiterek-question h4 {
    margin: 0 0 14px;

    font-size: 21px;
    line-height: 1.4;

    color: #444;
}


/* Жауап */

.baiterek-option {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 8px;

    padding: 11px 14px;

    border: 2px solid transparent;
    border-radius: 9px;

    font-size: 18px;
    line-height: 1.4;

    color: #555;

    cursor: pointer;

    transition: 0.2s;
}


.baiterek-option:hover {
    background: #fff6e9;

    border-color: #ffad4d;
}


.baiterek-option input {
    width: 20px;
    height: 20px;

    margin-top: 2px;

    flex-shrink: 0;

    cursor: pointer;
}


/* ДҰРЫС */

.baiterek-option.correct {
    background: #e3f8e8;

    border-color: #28a745;

    color: #247a36;
}


/* ҚАТЕ */

.baiterek-option.wrong {
    background: #fdeaea;

    border-color: #dc3545;

    color: #b02a37;
}


/* =====================================
   СӘЙКЕСТЕНДІРУ
===================================== */

.baiterek-answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 11px;

    margin-bottom: 25px;
}


.baiterek-answers div {
    padding: 13px 16px;

    border: 1px solid #ddd;
    border-radius: 10px;

    background: #f7f7f7;

    font-size: 18px;
    line-height: 1.4;

    color: #555;
}


.baiterek-match-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.baiterek-match-row {
    display: grid;

    grid-template-columns:
        55px
        1fr
        130px;

    gap: 15px;

    align-items: center;

    padding: 14px 16px;

    border: 1px solid #ddd;
    border-radius: 11px;

    background: #fff;
}


.match-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff8a00;
    color: #fff;

    font-size: 19px;
    font-weight: 700;
}


.match-fact {
    font-size: 20px;
    font-weight: 700;

    color: #555;
}


.baiterek-match-select {
    width: 100%;

    padding: 10px;

    border: 2px solid #ccc;
    border-radius: 8px;

    background: #fff;

    font-size: 18px;

    cursor: pointer;
}


.baiterek-match-select.correct {
    border-color: #28a745;

    background: #e4f8e9;
}


.baiterek-match-select.wrong {
    border-color: #dc3545;

    background: #fdeaea;
}


/* =====================================
   БАТЫРМАЛАР
===================================== */

.baiterek-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 20px;
}


#checkBaiterekQuiz,
#checkBaiterekMatch {
    padding: 12px 26px;

    border: none;
    border-radius: 10px;

    background: #ff8a00;

    color: #fff;

    font-size: 18px;

    cursor: pointer;
}


#resetBaiterekQuiz,
#resetBaiterekMatch {
    padding: 12px 26px;

    border: none;
    border-radius: 10px;

    background: #e9ecef;

    color: #444;

    font-size: 18px;

    cursor: pointer;
}


/* =====================================
   НӘТИЖЕ
===================================== */

#baiterekQuizResult,
#baiterekMatchResult {
    min-height: 35px;

    margin-top: 18px;

    font-size: 21px;
    font-weight: 700;
}


#baiterekQuizResult.success,
#baiterekMatchResult.success {
    color: #28a745;
}


#baiterekQuizResult.error,
#baiterekMatchResult.error {
    color: #dc3545;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 750px) {

    .baiterek-answers {
        grid-template-columns: 1fr;
    }


    .baiterek-match-row {
        grid-template-columns: 45px 1fr;
    }


    .baiterek-match-select {
        grid-column: 1 / -1;
    }


    .baiterek-question h4 {
        font-size: 19px;
    }


    .baiterek-option {
        font-size: 16px;
    }

}


.baiterek-fill-task {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.fill-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 20px;

    font-size: 21px;
    line-height: 1.5;

    color: #444;
}

.fill-input {
    width: 150px;

    padding: 8px 10px;

    border: none;
    border-bottom: 2px solid #777;

    background: transparent;

    font-size: 20px;
    text-align: center;

    outline: none;
}

.fill-input:focus {
    border-bottom-color: #ff8a00;
}


/* Дұрыс */

.fill-input.correct {
    border: 2px solid #28a745;
    border-radius: 8px;

    background: #e5f8e9;

    color: #247a36;
}


/* Қате */

.fill-input.wrong {
    border: 2px solid #dc3545;
    border-radius: 8px;

    background: #fdeaea;

    color: #b02a37;
}


/* Батырмалар */

.fill-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    margin-top: 22px;
}

#checkBaiterekFill,
#resetBaiterekFill {
    padding: 12px 25px;

    border: none;
    border-radius: 10px;

    font-size: 18px;
    cursor: pointer;
}

#checkBaiterekFill {
    background: #ff8a00;
    color: #fff;
}

#resetBaiterekFill {
    background: #e9ecef;
    color: #444;
}


/* Нәтиже */

#baiterekFillResult {
    min-height: 34px;

    margin-top: 20px;

    font-size: 21px;
    font-weight: 700;
}

#baiterekFillResult.success {
    color: #28a745;
}

#baiterekFillResult.error {
    color: #dc3545;
}


@media (max-width: 700px) {

    .fill-row {
        font-size: 18px;
    }

    .fill-input {
        width: 130px;
        font-size: 18px;
    }

}

```css
/* =========================================
   НЕГІЗГІ КОНТЕЙНЕР
========================================= */

.neo-lesson {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 20px;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================
   САБАҚ БЛОГЫ
========================================= */

.lesson-block {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    overflow: hidden;

    background: #fff;

    padding: 22px;
    margin-bottom: 28px;

    border-radius: 18px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


/* =========================================
   VIDEO
========================================= */

.video-wrap {
    width: 100%;
    max-width: 100%;

    overflow: hidden;

    border-radius: 16px;

    background: #000;
}

.video-wrap video {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;
}


/* =========================================
   СУРЕТ + ТАПСЫРМА GRID
========================================= */

.image-task-card {
    display: grid;

    /*
       1fr орнына minmax(0, 1fr)
       қолдану өте маңызды.
       Үлкен сурет grid-ті керіп жібермейді.
    */
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 24px;

    align-items: start;

    width: 100%;
    max-width: 100%;

    min-width: 0;

    box-sizing: border-box;
}


/* =========================================
   СУРЕТ КОНТЕЙНЕРІ
========================================= */

.task-image-wrap {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    /*
       Барлық сурет 16:9 форматында болады
    */
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 16px;

    background: #f2f2f2;

    box-sizing: border-box;
}


/* Суреттің өзі */

.task-image-wrap img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 100%;

    object-fit: cover;
    object-position: center;

    border: 2px solid #ececec;
    border-radius: 16px;

    box-sizing: border-box;
}


/* =========================================
   ОҢ ЖАҚ ТАПСЫРМА БӨЛІГІ
========================================= */

.task-content {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    gap: 16px;
}


/* =========================================
   ЖАҒДАЯТ
========================================= */

.task-situation {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;
    margin: 0;

    border-left: 5px solid #ff8a00;
    border-radius: 8px;

    background: #fff8ed;

    font-size: 18px;
    line-height: 1.5;

    color: #555;
}


/* =========================================
   СҰРАҚ
========================================= */

.task-question {
    margin: 0;

    font-size: 20px;
    line-height: 1.5;

    color: #444;
}


/* =========================================
   ЖАУАП БАТЫРМАЛАРЫ
========================================= */

.options-group {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


.option-btn {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    border: 2px solid #d8d8d8;
    border-radius: 12px;

    background: #f8f8f8;

    font-size: 18px;
    line-height: 1.4;

    color: #444;

    text-align: left;

    cursor: pointer;

    transition: 0.2s;
}


.option-btn:hover:not(:disabled) {
    background: #fff8ed;

    border-color: #ff9c31;

    transform: translateY(-2px);
}


.option-btn.correct {
    background: #e3f8e8;

    border-color: #28a745;

    color: #247a36;
}


.option-btn.wrong {
    background: #fdeaea;

    border-color: #dc3545;

    color: #b02a37;
}


/* =========================================
   FEEDBACK
========================================= */

.feedback {
    min-height: 34px;

    margin-top: 5px;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.45;
}


.feedback.success {
    color: #28a745;
}


.feedback.error {
    color: #dc3545;
}


/* =========================================
   МАҚАЛ ҚҰРАСТЫРУ
========================================= */

.proverb-word-bank {
    width: 100%;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin: 16px 0;

    box-sizing: border-box;
}


.proverb-word {
    padding: 11px 17px;

    border: 2px solid #ff9c31;
    border-radius: 10px;

    background: #fff8ed;

    color: #444;

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}


.proverb-word:hover {
    transform: translateY(-2px);

    background: #ffefd6;
}


.proverb-word.used {
    opacity: 0.35;

    pointer-events: none;

    transform: none;
}


/* Құрастырылған мақал */

.proverb-build-box {
    width: 100%;

    box-sizing: border-box;

    margin-top: 15px;

    padding: 16px;

    border: 2px dashed #5c9ded;
    border-radius: 12px;

    background: #f2f8ff;
}


.proverb-build-title {
    margin-bottom: 8px;

    color: #666;

    font-size: 15px;
}


.proverb-built {
    min-height: 38px;

    overflow-wrap: anywhere;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.5;

    color: #444;
}


/* Мақал батырмалары */

.proverb-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 15px;
}


#checkTermProverb,
#resetTermProverb {
    padding: 11px 22px;

    border: none;
    border-radius: 9px;

    font-size: 17px;

    cursor: pointer;
}


#checkTermProverb {
    background: #ff8a00;

    color: #fff;
}


#checkTermProverb:hover {
    background: #e87900;
}


#resetTermProverb {
    background: #e9ecef;

    color: #444;
}


/* =========================================
   АРТЫҚ СӨЗ
========================================= */

.extra-word-question {
    width: 100%;

    box-sizing: border-box;

    padding: 20px;

    margin: 18px 0;

    border: 1px solid #e1e1e1;
    border-radius: 14px;

    background: #fafafa;
}


.extra-word-question h4 {
    margin: 0 0 15px;

    font-size: 20px;

    color: #444;
}


/* 4 сөз */

.extra-word-options {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    width: 100%;

    box-sizing: border-box;
}


.extra-word-btn {
    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding: 14px 10px;

    border: 2px solid #ddd;
    border-radius: 11px;

    background: #fff;

    font-size: 18px;

    color: #444;

    cursor: pointer;

    transition: 0.2s;
}


.extra-word-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color: #ff8a00;

    background: #fff8ed;
}


.extra-word-btn.correct {
    border-color: #28a745;

    background: #e3f8e8;

    color: #247a36;
}


.extra-word-btn.wrong {
    border-color: #dc3545;

    background: #fdeaea;

    color: #b02a37;
}


/* Артық сөз feedback */

.extra-word-feedback {
    min-height: 30px;

    margin-top: 12px;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.4;
}


.extra-word-feedback.success {
    color: #28a745;
}


.extra-word-feedback.error {
    color: #dc3545;
}


/* =========================================
   RESET
========================================= */

.term-reset-btn {
    margin-top: 10px;

    padding: 11px 22px;

    border: none;
    border-radius: 9px;

    background: #e9ecef;

    color: #444;

    font-size: 17px;

    cursor: pointer;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .image-task-card {
        grid-template-columns: 1fr;
    }


    .task-image-wrap {
        width: 100%;

        aspect-ratio: 16 / 9;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

    .neo-lesson {
        padding: 12px;
    }


    .lesson-block {
        padding: 16px;
    }


    .task-situation {
        font-size: 16px;
    }


    .task-question {
        font-size: 18px;
    }


    .option-btn {
        font-size: 16px;
    }


    .proverb-word {
        font-size: 16px;
    }


    .proverb-built {
        font-size: 18px;
    }


    .extra-word-options {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .extra-word-btn {
        font-size: 16px;
    }

}


/* =========================================
   ӨТЕ КІШІ ЭКРАН
========================================= */

@media (max-width: 480px) {

    .extra-word-options {
        grid-template-columns: 1fr;
    }


    .proverb-actions {
        flex-direction: column;
    }


    #checkTermProverb,
    #resetTermProverb {
        width: 100%;
    }

}
```