/* --- Duolingo ------------------------------------------------------------- */
.f-open-du {
    background: #58cc02;
    color: #fff;
}

.f-open-du .f-bar b {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.du-owl {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
}

.du-owl-bubble {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 50px;
    flex: none;
    box-shadow: 0 5px 0 #46a302;
    animation: du-bounce 2.4s ease-in-out infinite;
}

@keyframes du-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.du-say {
    position: relative;
    margin: 8px 0 0;
    background: #fff;
    color: #3c3c3c;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.du-say::before,
.du-say::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 26px;
    border: 6px solid transparent;
    border-right: 6px solid #e5e5e5;
}

.du-say::after {
    left: -9px;
    border-right-color: #fff;
}

.du-streak {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    background: #ff9600;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 4px 0 #cc7800;
}

.du-flame {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.du-streak b {
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.du-streak small {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.95;
}

.du-sheet {
    background: #fff;
    color: #3c3c3c;
    border-radius: 24px;
    margin-top: 16px;
    padding: 16px 14px;
    box-shadow: 0 6px 0 #46a302;
}

.du-course {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e5e5;
}

.du-course-flag {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    background: #ddf4ff;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: none;
}

.du-course small,
.du-lesson small,
.du-ex small {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #afafaf;
}

.du-course b {
    font-size: 15px;
    font-weight: 800;
}

.du-gem {
    margin-left: auto;
    font-size: 13px;
    font-weight: 800;
    color: #1cb0f6;
}

.du-lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    background: #58cc02;
    color: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 4px 0 #46a302;
}

.du-lesson-ic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex: none;
}

.du-lesson small {
    color: rgba(255, 255, 255, 0.8);
}

.du-lesson b {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.du-progress {
    height: 14px;
    border-radius: 99px;
    background: #e5e5e5;
    margin: 16px 0 0;
    overflow: hidden;
}

.du-progress i {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: 99px;
    background: #58cc02;
    position: relative;
}

.du-progress i::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    top: 3px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
}

.du-ex {
    margin-top: 16px;
}

.du-ex h1 {
    margin: 4px 0 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.du-media {
    display: block;
    padding: 0;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f7f7;
}

.du-media .f-media-text {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
}

.du-media .f-media-link {
    margin: 12px;
    background: #ddf4ff;
    color: #1cb0f6;
}

.du-media audio {
    padding: 8px;
}

.du-answer {
    margin-top: 12px;
    background: #d7ffb8;
    border-radius: 14px;
    padding: 12px 14px;
}

.du-answer-tag {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #58a700;
}

.du-answer p {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #58a700;
    line-height: 1.4;
}

.du-check {
    margin-top: 16px;
    background: #58cc02;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 0 #46a302;
}

.f-open-du .f-cta {
    background: #58cc02;
    border-top: 0;
}

.f-open-du .f-cta a {
    background: #fff;
    color: #58cc02;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 14px;
    box-shadow: 0 4px 0 #46a302;
}
