
@media (max-width: 991.98px) {

    .qict-khoi-cham {
        background-color: color-mix(in srgb, var(--mau-md, var(--color-md, #1d4ed8)) 9%, transparent) !important;
        border-radius: 8px;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--mau-md, var(--color-md, #1d4ed8)) 9%, transparent);
    }
    .qict-khoi-cham.qict-cham-toi {
        background-color: rgba(255, 255, 255, .12) !important;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
    }
    .qict-khoi-cham img { filter: brightness(.88); }

    .qict-trang {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: var(--qict-dinh, 0px);
        z-index: 999;
        background: #fff;
        overflow: hidden;
        transform: translate3d(100%, 0, 0);
        box-shadow: -12px 0 32px rgba(15, 23, 42, .18);
        pointer-events: none;
        visibility: hidden;
    }
    .qict-trang.dang-mo {
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }
    .qict-trang-in {
        padding: 16px 16px 24px;
        font-family: Roboto, Arial, sans-serif;
    }

    .qict-thanh {
        position: absolute;
        top: 0;
        left: 0;
        height: 3px;
        width: 100%;
        transform-origin: 0 50%;
        transform: scaleX(0);
        background: var(--mau-md, var(--color-md, #1d4ed8));
    }
    .qict-trang.dang-mo .qict-thanh { animation: qict-chay 8s cubic-bezier(.08, .7, .2, 1) forwards; }
    @keyframes qict-chay {
        0%   { transform: scaleX(.08); }
        5%   { transform: scaleX(.35); }
        30%  { transform: scaleX(.7); }
        100% { transform: scaleX(.94); }
    }

    .qict-nhan {
        display: inline-block;
        margin-bottom: 10px;
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
        color: var(--mau-md, var(--color-md, #1d4ed8));
        background: color-mix(in srgb, var(--mau-md, var(--color-md, #1d4ed8)) 10%, #fff);
    }
    .qict-tieude {
        margin: 0 0 12px;
        font-size: 21px;
        line-height: 1.35;
        font-weight: 700;
        color: #111827;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }
    .qict-anh {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 10px;
        margin: 4px 0 16px;
        background: #eef1f6;
    }

    .qict-dong {
        height: 12px;
        margin: 0 0 12px;
        border-radius: 6px;
        background: linear-gradient(90deg, #eef1f6 0%, #f8fafc 45%, #eef1f6 90%);
        background-size: 300% 100%;
        animation: qict-nhap 1.1s linear infinite;
    }
    .qict-dong.ngan { width: 42%; height: 10px; margin-bottom: 18px; }
    .qict-dong:nth-of-type(3n) { width: 92%; }
    .qict-dong:nth-of-type(4n) { width: 76%; }
    @keyframes qict-nhap { from { background-position: 100% 0; } to { background-position: -50% 0; } }

    @view-transition { navigation: auto; }
    #toolbar { view-transition-name: qict-thanh-dau; }
    ::view-transition-group(root) { animation-duration: .18s; }
    ::view-transition-old(root) { animation: qict-mo-ra .18s ease-out both; }
    ::view-transition-new(root) { animation: qict-mo-vao .18s ease-out both; }
    @keyframes qict-mo-ra  { to   { opacity: 0; } }
    @keyframes qict-mo-vao { from { opacity: 0; } }
    html:active-view-transition-type(lui)::view-transition-new(root) { animation: qict-vao-lui .24s cubic-bezier(.2, .8, .2, 1) both; }
    @keyframes qict-vao-lui { from { opacity: .4; transform: translateX(-24%); } }
}

@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
    .qict-trang.dang-mo { animation: none; }
    .qict-dong { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
