/* Logged-in class workspace */
body.home-page .home-main:not(.home-main--guest) > section#lop-hoc.class-section.home-section {
    --hc-ink: #101426;
    --hc-muted: #667085;
    --hc-faint: #98a2b3;
    --hc-red: #c8102e;
    --hc-red-dark: #9f1239;
    --hc-red-bright: #e11d32;
    --hc-red-soft: #fff1f2;
    --hc-navy: #101942;
    --hc-line: rgba(200, 16, 46, 0.12);
    --hc-neutral-line: rgba(16, 25, 66, 0.09);
    --hc-shadow: 0 18px 42px rgba(98, 15, 32, 0.08);
    --hc-shadow-hover: 0 24px 54px rgba(98, 15, 32, 0.12);
    padding-block: clamp(2.5rem, 5vw, 4.5rem) !important;
    background:
        radial-gradient(circle at 6% 12%, rgba(200, 16, 46, 0.07), transparent 25rem),
        linear-gradient(180deg, #ffffff 0%, #fff8f9 48%, #ffffff 100%) !important;
}

body.home-page .home-main:not(.home-main--guest) > section#lop-hoc.class-section.home-section > .container {
    width: min(94rem, calc(100% - clamp(1.5rem, 5vw, 5rem))) !important;
    max-width: none !important;
    display: block !important;
    margin-inline: auto !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card {
    --class-accent: #c8102e !important;
}

/* Compact overview */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(34rem, 1.1fr) !important;
    grid-template-areas:
        "badge stats"
        "copy stats" !important;
    align-items: center !important;
    gap: 0.8rem 2rem !important;
    min-height: 0 !important;
    margin: 0 0 1rem !important;
    padding: clamp(1.35rem, 3vw, 2.2rem) !important;
    border: 1px solid var(--hc-line) !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 96% 8%, rgba(200, 16, 46, 0.11), transparent 18rem),
        #ffffff !important;
    box-shadow: var(--hc-shadow) !important;
    overflow: hidden !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel::before,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel::after {
    content: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__top {
    grid-area: badge !important;
    align-self: end !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__badge {
    display: inline-flex !important;
    width: auto !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__mark {
    width: 2.75rem !important;
    height: 2.75rem !important;
    flex-basis: 2.75rem !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__kicker {
    min-height: 2.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 0.9rem !important;
    border-radius: 999px !important;
    background: #f4f5f7 !important;
    color: var(--hc-red) !important;
    -webkit-text-fill-color: var(--hc-red) !important;
    font-size: 0.8rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy {
    grid-area: copy !important;
    max-width: 38rem !important;
    align-self: start !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy h2 {
    max-width: none !important;
    margin: 0 !important;
    color: var(--hc-navy) !important;
    -webkit-text-fill-color: var(--hc-navy) !important;
    font-size: clamp(2.25rem, 4.5vw, 3.8rem) !important;
    line-height: 0.98 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    background: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy h2::after {
    content: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy p {
    margin: 0.75rem 0 0 !important;
    color: var(--hc-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
    font-weight: 750 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__stats {
    grid-area: stats !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-height: 5.2rem !important;
    padding: 0.85rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.05) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__icon {
    width: 3rem !important;
    height: 3rem !important;
    flex-basis: 3rem !important;
    border-radius: 15px !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__ring {
    width: 3rem !important;
    height: 3rem !important;
    flex-basis: 3rem !important;
    border-radius: 50% !important;
    background: conic-gradient(from -90deg, var(--hc-red) var(--class-hero-progress, 0%), #e7e9ee 0) !important;
    color: var(--hc-red) !important;
    position: relative !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__copy {
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__copy span {
    color: var(--hc-muted) !important;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__copy strong {
    color: var(--hc-navy) !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__bar {
    grid-column: 1 / -1 !important;
    height: 0.34rem !important;
    border-radius: 999px !important;
    background: #e7e9ee !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__bar span {
    background: linear-gradient(90deg, var(--hc-red-bright), var(--hc-red), var(--hc-red-dark)) !important;
}

/* One active workspace */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-grid:not(.class-grid--guest-showcase) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-grid[data-class-switcher-grid] > .class-showcase-card.is-collapsed {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: none !important;
    grid-auto-flow: row !important;
    gap: 0.9rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px solid var(--hc-line) !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow: var(--hc-shadow) !important;
    overflow: visible !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded > .class-showcase-card__class-options-slot,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded > .class-showcase-card__lead,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded > .class-showcase-card__content {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__class-options-slot {
    order: 1 !important;
}
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__hero,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__guest-meta,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__members,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement {
    order: 2 !important;
}
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__function-nav {
    order: 3 !important;
}
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__detail-shell {
    order: 4 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded:focus-within {
    box-shadow: var(--hc-shadow-hover) !important;
}

/* Horizontal class switcher */
body.home-page .home-main:not(.home-main--guest) > section#lop-hoc.class-section.home-section .class-showcase-card__class-options-slot {
    min-width: 0 !important;
    padding: 0.85rem !important;
    border: 1px solid rgba(217, 158, 25, 0.34) !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #fffdf1 0%, #fff6c9 100%) !important;
    box-shadow: 0 12px 26px rgba(154, 101, 0, 0.11) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__class-options-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin: 0 0 0.65rem !important;
    color: var(--hc-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-switcher,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-switcher.is-inside-card {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab {
    width: 100% !important;
    min-height: 4.25rem !important;
    display: grid !important;
    grid-template-columns: 3.5rem minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.55rem 0.7rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: var(--hc-ink) !important;
    -webkit-text-fill-color: var(--hc-ink) !important;
    box-shadow: none !important;
    transform: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.has-announcement {
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.2rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-section__class-switcher.is-inside-card .class-section__class-tab.has-announcement {
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.2rem !important;
    padding-right: 0.7rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab:focus-visible {
    border-color: rgba(200, 16, 46, 0.24) !important;
    background: var(--hc-red-soft) !important;
    outline: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-section__class-switcher.is-inside-card .class-section__class-tab.is-active,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.is-active {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hc-red-bright) 0%, var(--hc-red) 58%, var(--hc-red-dark) 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-bell {
    position: relative !important;
    justify-self: end !important;
    align-self: center !important;
    width: 2rem !important;
    height: 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(200, 16, 46, 0.16) !important;
    border-radius: 999px !important;
    background: #fff1f2 !important;
    color: var(--hc-red) !important;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.14) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-bell::after {
    content: "" !important;
    position: absolute !important;
    top: 0.2rem !important;
    right: 0.2rem !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    background: #ffd84d !important;
    box-shadow: 0 0 0 rgba(255, 216, 77, 0.56) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-bell svg {
    width: 1.12rem !important;
    height: 1.12rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2.25 !important;
    transform-origin: 50% 12% !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.is-active .class-section__class-tab-bell {
    border-color: rgba(255, 255, 255, 0.26) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(95, 0, 18, 0.16) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.is-active .class-section__class-tab-bell::after {
    border-color: var(--hc-red) !important;
    background: #ffd84d !important;
}

@keyframes homeClassTabBellRing {
    0%, 54%, 100% {
        transform: rotate(0deg);
    }
    6% {
        transform: rotate(15deg);
    }
    12% {
        transform: rotate(-13deg);
    }
    18% {
        transform: rotate(10deg);
    }
    24% {
        transform: rotate(-7deg);
    }
    30% {
        transform: rotate(4deg);
    }
}

@keyframes homeClassTabBellPulse {
    0%, 56%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 216, 77, 0.58);
        transform: scale(1);
    }
    20% {
        box-shadow: 0 0 0 0.42rem rgba(255, 216, 77, 0);
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.has-announcement .class-section__class-tab-bell svg {
        animation: homeClassTabBellRing 1.9s ease-in-out infinite !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab.has-announcement .class-section__class-tab-bell::after {
        animation: homeClassTabBellPulse 1.9s ease-out infinite !important;
    }
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-thumb {
    width: 3.5rem !important;
    height: 2.8rem !important;
    border-radius: 11px !important;
    overflow: hidden !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-copy {
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-label {
    color: inherit !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab-title {
    color: inherit !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Horizontal feature tabs */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__lead {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__media {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-nav {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)) !important;
    grid-area: tabs !important;
    grid-column: auto !important;
    grid-row: auto !important;
    gap: 0.55rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.55rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 18px !important;
    background: #f7f8fa !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-dropdown-toggle {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn {
    width: 100% !important;
    min-height: 4.15rem !important;
    display: grid !important;
    grid-template-columns: 2.7rem minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.55rem !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: var(--hc-muted) !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-badge {
    justify-self: end !important;
    align-self: center !important;
    margin-right: 0.25rem !important;
    margin-left: 0.5rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-badge.is-empty {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn:focus-visible {
    border-color: rgba(200, 16, 46, 0.14) !important;
    background: #ffffff !important;
    color: var(--hc-red) !important;
    outline: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn.is-active,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn[aria-selected="true"] {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hc-red-bright) 0%, var(--hc-red) 58%, var(--hc-red-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-icon {
    width: 2.7rem !important;
    height: 2.7rem !important;
    border-radius: 12px !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn.is-active .class-showcase-card__function-icon,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-btn[aria-selected="true"] .class-showcase-card__function-icon {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-copy strong,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-copy small {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}

/* Class header and active panel */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__content {
    display: contents !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__detail-shell {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero {
    display: grid !important;
    grid-template-columns: 12rem minmax(0, 1fr) minmax(28rem, 34rem) !important;
    align-items: center !important;
    gap: 1rem !important;
    min-height: 10.5rem !important;
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 96% 10%, rgba(200, 16, 46, 0.1), transparent 14rem),
        #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.05) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-media {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-copy {
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(14rem, 1fr));
    align-items: center;
    gap: 0.82rem;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions:not(.has-quick-course),
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions:not(.has-attendance) {
    grid-template-columns: minmax(14rem, 16rem);
    justify-content: end;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course {
    min-width: 0;
    min-height: 7rem;
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 0.72rem;
    padding: 0.85rem;
    border: 1px solid rgba(217, 158, 25, 0.34);
    border-radius: 16px;
    background: linear-gradient(135deg, #fffdf1 0%, #fff6c9 100%);
    color: var(--hc-navy, #101426);
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(154, 101, 0, 0.11);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course:focus-visible {
    border-color: rgba(200, 16, 46, 0.32);
    color: var(--hc-navy, #101426);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(200, 16, 46, 0.13);
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: var(--hc-red, #c8102e);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.2);
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-icon svg,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-arrow svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-copy {
    min-width: 0;
    display: grid;
    gap: 0.16rem;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-copy small {
    color: var(--hc-red, #c8102e);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-copy strong {
    overflow: hidden;
    color: var(--hc-navy, #101426);
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-copy em {
    overflow: hidden;
    color: #7d6516;
    font-size: 0.69rem;
    font-style: normal;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-arrow {
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(200, 16, 46, 0.14);
    border-radius: 50%;
    background: #ffffff;
    color: var(--hc-red, #c8102e);
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance {
    min-width: 0;
    display: grid !important;
    align-content: center;
    gap: 0.36rem;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn {
    width: 100%;
    min-height: 3.85rem;
    padding: 0.8rem 1rem;
    border-radius: 999px !important;
    font-size: 0.94rem;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-showcase-card__attendance-meta {
    display: none;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__actions > .class-showcase-card__attendance {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__actions:not(:has(.class-showcase-card__action-main)) {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__eyebrow-row {
    margin: 0 0 0.55rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__eyebrow {
    min-height: 2rem !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red) !important;
    font-size: 0.74rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__title {
    margin: 0 !important;
    color: var(--hc-navy) !important;
    -webkit-text-fill-color: var(--hc-navy) !important;
    font-size: clamp(2rem, 3.2vw, 3rem) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__detail-shell {
    display: block !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-panel:not(.is-active) {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-panel.is-active {
    display: grid !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-panel {
    min-width: 0 !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.05) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-head {
    border-radius: 16px !important;
    background: #fff8f9 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__leaderboard {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-panel[data-class-feature-panel="leaderboard"] .class-showcase-card__leaderboard {
    display: block !important;
}

/* Readable task layout */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-showcase-card__todo-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__item {
    grid-template-columns: 2.55rem minmax(0, 1fr) auto !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__content,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item-title,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item-date {
    min-width: 0 !important;
    width: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Red-only states */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__status {
    border-color: rgba(200, 16, 46, 0.14) !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red-dark) !important;
    box-shadow: 0 14px 28px rgba(200, 16, 46, 0.09) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__status[data-mode="count-summary"][data-tone="success"] {
    border-color: rgba(16, 185, 129, 0.28) !important;
    background: #ecfdf3 !important;
    color: #047857 !important;
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.1) !important;
}

/* Classmate progress */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress {
    display: grid !important;
    gap: 1rem !important;
    min-width: 0 !important;
    padding: 1rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__state {
    display: grid !important;
    min-height: 10rem !important;
    place-items: center !important;
    border: 1px dashed rgba(200, 16, 46, 0.2) !important;
    border-radius: 18px !important;
    background: #fff8f9 !important;
    color: var(--hc-red-dark) !important;
    font-weight: 800 !important;
    text-align: center !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress[data-classmate-state="error"] .classmate-progress__state {
    border-color: rgba(220, 38, 38, 0.25) !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__intro {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(200, 16, 46, 0.1) !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #fff8f9 0%, #ffffff 70%) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__eyebrow,
.classmate-drawer__eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin-bottom: 0.3rem !important;
    padding: 0.28rem 0.65rem !important;
    border-radius: 999px !important;
    background: rgba(200, 16, 46, 0.08) !important;
    color: var(--hc-red) !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__intro h5 {
    margin: 0 !important;
    color: var(--hc-ink) !important;
    font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
    line-height: 1.15 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__intro p {
    max-width: 44rem !important;
    margin: 0.35rem 0 0 !important;
    color: var(--hc-muted) !important;
    font-weight: 650 !important;
    line-height: 1.55 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__privacy {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.55rem 0.8rem !important;
    border: 1px solid rgba(16, 185, 129, 0.22) !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #047857 !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary article {
    min-width: 0 !important;
    padding: 0.9rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(16, 25, 66, 0.04) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary span {
    display: block !important;
    color: var(--hc-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary strong {
    display: block !important;
    margin-top: 0.2rem !important;
    color: var(--hc-red) !important;
    font-size: 1.35rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.82rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    color: var(--hc-ink) !important;
    text-align: left !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.045) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__card:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__card:focus-visible {
    transform: translateY(-2px) !important;
    border-color: rgba(200, 16, 46, 0.2) !important;
    box-shadow: 0 16px 32px rgba(200, 16, 46, 0.08) !important;
    outline: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__card.is-me {
    border-color: rgba(16, 185, 129, 0.28) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__avatar,
.classmate-drawer__avatar {
    display: inline-grid !important;
    width: 3.4rem !important;
    height: 3.4rem !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 3px solid #ffffff !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--hc-red-bright), var(--hc-red-dark)) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__avatar img,
.classmate-drawer__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__profile {
    display: grid !important;
    grid-template-columns: 3.4rem minmax(0, 1fr) auto !important;
    gap: 0.75rem !important;
    align-items: center !important;
    min-width: 0 !important;
    padding-bottom: 0.58rem !important;
    border-bottom: 1px solid #eef2f7 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__identity {
    display: grid !important;
    gap: 0.12rem !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__identity strong {
    min-width: 0 !important;
    color: var(--hc-ink) !important;
    font-size: 1.04rem !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__identity small {
    display: block !important;
    min-width: 0 !important;
    color: #667085 !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__identity em,
.classmate-drawer__head h4 em {
    display: inline-flex !important;
    margin-left: 0.3rem !important;
    padding: 0.12rem 0.42rem !important;
    border-radius: 999px !important;
    background: #ecfdf3 !important;
    color: #047857 !important;
    font-size: 0.72rem !important;
    font-style: normal !important;
    font-weight: 950 !important;
    vertical-align: middle !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status-wrap {
    display: inline-flex !important;
    align-self: start !important;
    justify-self: end !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status,
.classmate-progress__status {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.32rem !important;
    padding: 0.24rem 0.5rem !important;
    border-radius: 999px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 0.7rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status::before,
.classmate-progress__status::before {
    content: "" !important;
    width: 0.45rem !important;
    height: 0.45rem !important;
    border-radius: 999px !important;
    background: currentColor !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status[data-status="online"],
.classmate-progress__status[data-status="online"],
body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status[data-status="recent"],
.classmate-progress__status[data-status="recent"] {
    background: #ecfdf3 !important;
    color: #047857 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sections {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.9fr) !important;
    gap: 0.45rem !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section {
    display: grid !important;
    align-content: start !important;
    min-width: 0 !important;
    min-height: 4.35rem !important;
    gap: 0.28rem !important;
    padding: 0.55rem !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section--course {
    background: #fff8f9 !important;
    border-color: rgba(200, 16, 46, 0.13) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section--todo {
    background: #fffdf5 !important;
    border-color: rgba(217, 119, 6, 0.16) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section--sticker {
    background: #f8fbff !important;
    border-color: rgba(37, 99, 235, 0.12) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-stack {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 2rem !important;
    padding-left: 0.25rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-thumb,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-more {
    position: relative !important;
    display: inline-grid !important;
    width: 1.85rem !important;
    height: 1.85rem !important;
    flex: 0 0 1.85rem !important;
    place-items: center !important;
    margin-left: -0.36rem !important;
    overflow: hidden !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--hc-red) !important;
    font-size: 0.62rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-thumb:first-child {
    margin-left: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-thumb img {
    width: 100% !important;
    height: 100% !important;
    padding: 0.12rem !important;
    object-fit: contain !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-more {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-size: 0.58rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sticker-stack--empty .classmate-progress__sticker-thumb {
    background: #f8fafc !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-head span {
    color: #667085 !important;
    font-size: 0.68rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-head strong {
    color: var(--hc-red) !important;
    font-size: 0.96rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-title {
    display: -webkit-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--hc-ink) !important;
    font-size: 0.86rem !important;
    font-weight: 900 !important;
    line-height: 1.24 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-meta {
    display: block !important;
    min-width: 0 !important;
    color: #64748b !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-bar {
    display: block !important;
    width: 100% !important;
    height: 0.42rem !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #fee2e2 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__section-bar span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, var(--hc-red-bright), var(--hc-red-dark)) !important;
}

body.classmate-drawer-open {
    overflow: hidden !important;
}

.classmate-drawer[hidden] {
    display: none !important;
}

.classmate-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12000 !important;
    display: grid !important;
    place-items: center !important;
    padding: clamp(1rem, 3vw, 2rem) !important;
}

.classmate-drawer__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.48) !important;
    backdrop-filter: blur(8px) !important;
}

.classmate-drawer__panel {
    position: relative !important;
    z-index: 1 !important;
    width: min(54rem, calc(100vw - 2rem)) !important;
    max-height: min(86vh, 48rem) !important;
    overflow: hidden auto !important;
    padding: clamp(1rem, 2.4vw, 1.35rem) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24) !important;
}

.classmate-drawer__close {
    position: sticky !important;
    top: 0 !important;
    float: right !important;
    z-index: 2 !important;
    display: inline-grid !important;
    width: 2.65rem !important;
    height: 2.65rem !important;
    place-items: center !important;
    margin: 0 0 0.35rem 0.75rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-size: 1.55rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.classmate-drawer__close:hover,
.classmate-drawer__close:focus-visible {
    background: var(--hc-red) !important;
    color: #ffffff !important;
    outline: none !important;
}

.classmate-drawer__content {
    display: grid !important;
    gap: 1rem !important;
    clear: both !important;
}

.classmate-drawer__head {
    display: grid !important;
    grid-template-columns: 4.2rem minmax(0, 1fr) auto !important;
    gap: 0.8rem !important;
    align-items: center !important;
    padding: 1rem !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #fff8f9 0%, #ffffff 72%) !important;
}

.classmate-drawer__avatar {
    width: 4.2rem !important;
    height: 4.2rem !important;
}

.classmate-drawer__head h4 {
    margin: 0 !important;
    color: var(--hc-ink) !important;
    font-size: clamp(1.35rem, 3vw, 1.9rem) !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
}

.classmate-drawer__head p {
    margin: 0.35rem 0 0 !important;
    color: var(--hc-muted) !important;
    font-weight: 750 !important;
    line-height: 1.45 !important;
}

.classmate-drawer__stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
}

.classmate-drawer__stats article,
.classmate-drawer__section,
.classmate-drawer__split article {
    min-width: 0 !important;
    padding: 0.9rem !important;
    border: 1px solid var(--hc-neutral-line) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.045) !important;
}

.classmate-drawer__stats span {
    display: block !important;
    color: var(--hc-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}

.classmate-drawer__stats strong {
    display: block !important;
    margin-top: 0.25rem !important;
    color: var(--hc-red) !important;
    font-size: 1.15rem !important;
    font-weight: 950 !important;
}

.classmate-drawer__section h5,
.classmate-drawer__split h5 {
    margin: 0 0 0.75rem !important;
    color: var(--hc-ink) !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
}

.classmate-drawer__courses,
.classmate-drawer__todos {
    display: grid !important;
    gap: 0.6rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.classmate-drawer__courses li {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 14rem) !important;
    gap: 0.8rem !important;
    align-items: center !important;
    padding: 0.75rem !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
}

.classmate-drawer__courses strong {
    display: block !important;
    color: var(--hc-ink) !important;
    font-weight: 950 !important;
}

.classmate-drawer__courses em {
    display: block !important;
    margin-top: 0.2rem !important;
    color: #64748b !important;
    font-size: 0.82rem !important;
    font-style: normal !important;
    font-weight: 750 !important;
}

.classmate-drawer__course-progress {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.45rem !important;
    align-items: center !important;
}

.classmate-drawer__course-bar {
    display: block !important;
    height: 0.45rem !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #fee2e2 !important;
}

.classmate-drawer__course-bar span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, var(--hc-red-bright), var(--hc-red-dark)) !important;
}

.classmate-drawer__course-progress b {
    color: var(--hc-red) !important;
    font-size: 0.85rem !important;
    font-weight: 950 !important;
}

.classmate-drawer__split {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
}

.classmate-drawer__todos li {
    padding: 0.68rem 0.8rem !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.classmate-drawer__empty {
    margin: 0 !important;
    padding: 0.8rem !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-weight: 750 !important;
}

.classmate-drawer__sticker {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: 0 !important;
    padding: 0.8rem !important;
    border: 1px solid #fde68a !important;
    border-radius: 16px !important;
    background: #fffbeb !important;
}

.classmate-drawer__sticker-thumb {
    display: inline-grid !important;
    width: 3.4rem !important;
    height: 3.4rem !important;
    place-items: center !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #b45309 !important;
    font-weight: 950 !important;
}

.classmate-drawer__sticker-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.classmate-drawer__sticker small,
.classmate-drawer__sticker em {
    display: block !important;
    color: #92400e !important;
    font-size: 0.78rem !important;
    font-style: normal !important;
    font-weight: 800 !important;
}

.classmate-drawer__sticker strong {
    display: block !important;
    color: #78350f !important;
    font-weight: 950 !important;
}

@media (max-width: 900px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary,
    .classmate-drawer__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__grid,
    .classmate-drawer__split {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress {
        padding: 0.75rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__intro,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__profile,
    .classmate-drawer__head {
        align-items: flex-start !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__intro {
        flex-direction: column !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__privacy {
        white-space: normal !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__summary,
    .classmate-drawer__stats {
        grid-template-columns: 1fr !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__profile {
        grid-template-columns: 3.4rem minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__status-wrap {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
        margin-left: 4.15rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .classmate-progress__sections {
        grid-template-columns: 1fr !important;
    }

    .classmate-drawer {
        align-items: end !important;
        padding: 0 !important;
    }

    .classmate-drawer__panel {
        width: 100% !important;
        max-height: 88vh !important;
        border-radius: 24px 24px 0 0 !important;
    }

    .classmate-drawer__head {
        grid-template-columns: 3.6rem minmax(0, 1fr) !important;
    }

    .classmate-drawer__head .classmate-progress__status {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
    }

    .classmate-drawer__avatar {
        width: 3.6rem !important;
        height: 3.6rem !important;
    }

    .classmate-drawer__courses li {
        grid-template-columns: 1fr !important;
    }
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__status[data-mode="count-summary"][data-tone="success"]::before {
    background: #10b981 !important;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__progress-panel {
    border-color: rgba(200, 16, 46, 0.14) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--hc-red-soft) 100%) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__progress-ring {
    background: conic-gradient(var(--hc-red) calc(var(--todo-progress, 0) * 1%), #f1d9df 0) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
    padding: 1.25rem 1.25rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group.class-todo-home__group--completed {
    border-color: #e2e8f0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group-head {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group-head h5::before {
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group-count {
    font-size: 0.82rem !important;
    font-weight: 750 !important;
    min-width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0.45rem !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group:not(.class-todo-home__group--completed) .class-todo-home__group-count {
    border-color: rgba(200, 16, 46, 0.18) !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group.class-todo-home__group--completed .class-todo-home__group-count {
    border: 0 !important;
    background: #10b981 !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group-count.is-empty {
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__check {
    width: 2.2rem !important;
    height: 2.2rem !important;
    border: 1px solid rgba(200, 16, 46, 0.18) !important;
    background: #ffffff !important;
    color: var(--hc-red) !important;
    border-radius: 999px !important;
    transition: all 0.2s ease !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item:not(.is-completed):hover .class-todo-home__check {
    background: var(--hc-red-soft) !important;
    border-color: var(--hc-red) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item.is-completed .class-todo-home__check {
    width: 1.5rem !important;
    min-width: 1.5rem !important;
    max-width: 1.5rem !important;
    height: 1.5rem !important;
    border: 0 !important;
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item.is-completed .class-todo-home__check-mark {
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item.is-completed .class-todo-home__item-title {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__item.is-completed::after {
    background: #e2e8f0 !important;
    color: #64748b !important;
    font-weight: 800 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__empty {
    border: 1px dashed #cbd5e1 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    border-radius: 12px !important;
    padding: 2rem 1.5rem !important;
    font-weight: 600 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group:not(.class-todo-home__group--completed) .class-todo-home__empty::before {
    content: "🎉" !important;
    font-size: 1.6rem !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group.class-todo-home__group--completed .class-todo-home__empty::before {
    content: "📝" !important;
    font-size: 1.6rem !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-notes-filter-btn.is-active,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-notes-filter-btn[aria-pressed="true"] {
    border-color: transparent !important;
    background: var(--hc-red) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-notes-filter-btn:not(.is-active) {
    color: var(--hc-muted) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-notes-marker {
    background: var(--hc-red) !important;
    box-shadow: 0 0 0 5px #ffffff, 0 0 0 7px rgba(200, 16, 46, 0.14) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__attendance-btn,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-attendance-cta__btn,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hc-red-bright) 0%, var(--hc-red) 58%, var(--hc-red-dark) 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(200, 16, 46, 0.2) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-attendance-cta__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-attendance-cta__btn::before {
    content: "" !important;
    width: 1.05rem !important;
    height: 1.05rem !important;
    flex: 0 0 1.05rem !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='8'%20width='18'%20height='4'%20rx='1'/%3E%3Cpath%20d='M12%208v13'/%3E%3Cpath%20d='M19%2012v7a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2v-7'/%3E%3Cpath%20d='M7.5%208a2.5%202.5%200%200%201%200-5C11%203%2012%208%2012%208s1-5%204.5-5a2.5%202.5%200%200%201%200%205'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='8'%20width='18'%20height='4'%20rx='1'/%3E%3Cpath%20d='M12%208v13'/%3E%3Cpath%20d='M19%2012v7a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2v-7'/%3E%3Cpath%20d='M7.5%208a2.5%202.5%200%200%201%200-5C11%203%2012%208%2012%208s1-5%204.5-5a2.5%202.5%200%200%201%200%205'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn {
    min-height: 7rem !important;
    display: grid !important;
    grid-template-columns: 2.8rem minmax(0, 1fr) 2rem !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0.72rem !important;
    padding: 0.85rem !important;
    border: 1px solid rgba(217, 158, 25, 0.34) !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #fffdf1 0%, #fff6c9 100%) !important;
    color: var(--hc-navy, #101426) !important;
    -webkit-text-fill-color: currentColor !important;
    box-shadow: 0 12px 26px rgba(154, 101, 0, 0.11) !important;
    font-size: 0.94rem !important;
    font-weight: 950 !important;
    line-height: 1.16 !important;
    text-align: left !important;
    white-space: normal !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn:focus-visible {
    border-color: rgba(200, 16, 46, 0.32) !important;
    color: var(--hc-navy, #101426) !important;
    outline: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 32px rgba(200, 16, 46, 0.13) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn::before {
    width: 2.8rem !important;
    height: 2.8rem !important;
    flex: 0 0 2.8rem !important;
    border-radius: 12px !important;
    background-color: var(--hc-red, #c8102e) !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='8'%20width='18'%20height='4'%20rx='1'/%3E%3Cpath%20d='M12%208v13'/%3E%3Cpath%20d='M19%2012v7a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2v-7'/%3E%3Cpath%20d='M7.5%208a2.5%202.5%200%200%201%200-5C11%203%2012%208%2012%208s1-5%204.5-5a2.5%202.5%200%200%201%200%205'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 1.16rem 1.16rem !important;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.2) !important;
    -webkit-mask: none !important;
    mask: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn::after {
    content: "" !important;
    width: 2rem !important;
    height: 2rem !important;
    justify-self: end !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23c8102e'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%206l6%206-6%206'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 1.15rem 1.15rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn.is-completed {
    border-color: rgba(22, 163, 74, 0.34) !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    color: #064e3b !important;
    box-shadow: 0 12px 26px rgba(22, 101, 52, 0.12) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn.is-completed::before {
    background-color: #16a34a !important;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn.is-completed::after {
    border-color: rgba(22, 163, 74, 0.18) !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2316a34a'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14M13%206l6%206-6%206'/%3E%3C/svg%3E") !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-progress-track > span,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__badge-progress-track > span {
    background: linear-gradient(90deg, var(--hc-red-bright), var(--hc-red), var(--hc-red-dark)) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card__leaderboard-item.is-me {
    border-color: rgba(200, 16, 46, 0.2) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--hc-red-soft) 100%) !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.09) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card__leaderboard-item.is-top-1 .class-showcase-card__leaderboard-rank {
    border-color: rgba(159, 18, 57, 0.34) !important;
    background: var(--hc-red-dark) !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card__leaderboard-item.is-top-2 .class-showcase-card__leaderboard-rank {
    border-color: rgba(200, 16, 46, 0.34) !important;
    background: var(--hc-red) !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card__leaderboard-item.is-top-3 .class-showcase-card__leaderboard-rank {
    border-color: rgba(225, 29, 50, 0.34) !important;
    background: var(--hc-red-bright) !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__leaderboard-score {
    border-color: rgba(200, 16, 46, 0.2) !important;
    background: var(--hc-red-soft) !important;
    color: var(--hc-red) !important;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.1) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__badge-progress,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__badge-progress-thumb,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-notes-filter-count {
    border-color: rgba(200, 16, 46, 0.16) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__badge-progress-title strong {
    color: var(--hc-navy) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__badge-progress-caption {
    color: var(--hc-muted) !important;
}

body.home-page .back-to-top,
body.home-page button.back-to-top.is-visible {
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: linear-gradient(135deg, var(--hc-red-bright, #e11d32) 0%, var(--hc-red, #c8102e) 58%, var(--hc-red-dark, #9f1239) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(200, 16, 46, 0.22) !important;
}

@media (max-width: 1040px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "badge"
            "copy"
            "stats" !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__stats {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero {
        grid-template-columns: 10rem minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions:not(.has-quick-course),
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions:not(.has-attendance) {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course {
        grid-column: 1 / -1;
        min-height: 4.5rem;
        grid-template-columns: 2.6rem minmax(0, 1fr) 2rem;
        padding: 0.68rem 0.8rem;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-icon {
        width: 2.6rem;
        height: 2.6rem;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions .class-showcase-card__quick-course {
        grid-column: auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn {
        min-height: 4.5rem !important;
        grid-template-columns: 2.6rem minmax(0, 1fr) 2rem !important;
        padding: 0.68rem 0.8rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn::before {
        width: 2.6rem !important;
        height: 2.6rem !important;
        flex-basis: 2.6rem !important;
    }

}

@media (max-width: 760px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat--progress {
        grid-column: auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) > section#lop-hoc.class-section.home-section {
        padding-block: 1.5rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) > section#lop-hoc.class-section.home-section > .container {
        width: min(100% - 1rem, 100%) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel {
        margin-bottom: 0.75rem !important;
        padding: 1rem !important;
        border-radius: 20px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy h2 {
        font-size: 2.15rem !important;
        line-height: 1.02 !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__copy p {
        font-size: 0.9rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-panel__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat {
        grid-template-columns: minmax(0, 1fr) !important;
        align-content: start !important;
        gap: 0.45rem !important;
        min-height: 6.2rem !important;
        padding: 0.75rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__icon,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__ring {
        width: 2.45rem !important;
        height: 2.45rem !important;
        flex-basis: 2.45rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-hero-stat__copy strong {
        font-size: 1.55rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded {
        gap: 0.7rem !important;
        padding: 0.7rem !important;
        border-radius: 20px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__class-options-slot {
        padding: 0.7rem !important;
        border-radius: 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-switcher.is-inside-card {
        grid-template-columns: none !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(15rem, 86%) !important;
        gap: 0.55rem !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-switcher.is-inside-card::-webkit-scrollbar,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-tablist::-webkit-scrollbar {
        display: none !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-section__class-tab {
        scroll-snap-align: start;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__lead {
        display: none !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__content {
        gap: 0.7rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__content > .class-showcase-card__function-nav {
        position: static !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.5rem !important;
        border-radius: 16px !important;
        z-index: auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-dropdown-toggle {
        width: 100% !important;
        min-height: 3.8rem !important;
        display: grid !important;
        grid-template-columns: 2.6rem minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 0.65rem !important;
        padding: 0.55rem 0.7rem !important;
        border: 1px solid rgba(200, 16, 46, 0.16) !important;
        border-radius: 13px !important;
        background: #ffffff !important;
        color: var(--hc-red) !important;
        box-shadow: none !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-dropdown-icon {
        width: 2.6rem !important;
        height: 2.6rem !important;
        border-radius: 12px !important;
        background: var(--hc-red-soft) !important;
        color: var(--hc-red) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-dropdown-copy strong {
        color: var(--hc-navy) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__function-dropdown-copy small {
        color: var(--hc-muted) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__content > .class-showcase-card__function-nav > .class-showcase-card__function-btn {
        display: none !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__content > .class-showcase-card__function-nav.is-mobile-open > .class-showcase-card__function-btn {
        display: grid !important;
        grid-template-columns: 2.7rem minmax(0, 1fr) auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero {
        grid-template-columns: 5.4rem minmax(0, 1fr) !important;
        gap: 0.75rem !important;
        min-height: 0 !important;
        padding: 0.75rem !important;
        border-radius: 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-media {
        aspect-ratio: 1 / 1 !important;
        border-radius: 13px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__eyebrow {
        min-height: 1.75rem !important;
        font-size: 0.68rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__title {
        font-size: 1.5rem !important;
        line-height: 1.05 !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course {
        min-height: 4.25rem;
        gap: 0.6rem;
        border-radius: 13px;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__hero-attendance .class-attendance-cta__btn {
        min-height: 4.25rem !important;
        border-radius: 13px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__quick-course-copy strong {
        font-size: 0.88rem;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__feature-panel {
        border-radius: 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-showcase-card__todo-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__item {
        grid-template-columns: 2.35rem minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__item::after {
        grid-column: 2 !important;
        justify-self: start !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-tablist {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(15rem, 86%) !important;
        overflow-x: auto !important;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-tab {
        scroll-snap-align: start;
    }
}

/* Class announcement card */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement {
    position: relative !important;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: 2.9rem minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0.85rem !important;
    margin: 0.15rem 0 1rem !important;
    padding: clamp(0.95rem, 1.6vw, 1.2rem) clamp(1rem, 2vw, 1.35rem) !important;
    overflow: hidden !important;
    border: 1px solid rgba(217, 158, 25, 0.26) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 216, 107, 0.34), rgba(255, 216, 107, 0) 18rem),
        linear-gradient(135deg, #ffffff 0%, #fffdf2 48%, #fff7d8 100%) !important;
    box-shadow:
        0 16px 38px rgba(146, 95, 12, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)) !important;
    pointer-events: none;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 5px !important;
    border-radius: 18px 0 0 18px !important;
    background: linear-gradient(180deg, #ffd86b, #f5a400) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.9rem !important;
    height: 2.9rem !important;
    margin-top: 0.05rem !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #fff1a8, #ffd45a) !important;
    color: #7a4a00 !important;
    box-shadow: 0 14px 26px rgba(217, 158, 25, 0.24) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-icon svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    stroke-width: 2.2 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-body {
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.45rem 0.7rem !important;
    margin: 0 0 0.35rem !important;
    color: #7a4a00 !important;
    font-size: 0.7rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta > span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1.55rem !important;
    padding: 0.18rem 0.58rem !important;
    border: 1px solid rgba(217, 158, 25, 0.22) !important;
    border-radius: 999px !important;
    background: rgba(255, 229, 128, 0.44) !important;
    color: #7a4a00 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta time {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1.55rem !important;
    padding: 0.18rem 0.58rem !important;
    border: 1px solid rgba(217, 158, 25, 0.14) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: var(--hc-muted, #667085) !important;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement h4 {
    max-width: 72rem !important;
    margin: 0 !important;
    color: #211a07 !important;
    font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    overflow-wrap: anywhere !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement p {
    max-width: 112ch !important;
    margin: 0.45rem 0 0 !important;
    color: #4b3b1e !important;
    font-size: clamp(0.9rem, 1.05vw, 0.98rem) !important;
    line-height: 1.62 !important;
    font-weight: 500 !important;
    overflow-wrap: anywhere !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-author {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 0.55rem !important;
    color: #846600 !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
}

@media (max-width: 760px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement {
        grid-template-columns: 2.55rem minmax(0, 1fr) !important;
        gap: 0.72rem !important;
        padding: 0.85rem 0.85rem 0.9rem 0.95rem !important;
        border-radius: 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement::after {
        width: 4px !important;
        border-radius: 16px 0 0 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-icon {
        width: 2.55rem !important;
        height: 2.55rem !important;
        border-radius: 12px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta {
        gap: 0.35rem 0.45rem !important;
        font-size: 0.66rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement p {
        max-width: none !important;
        font-size: 0.88rem !important;
        line-height: 1.58 !important;
    }
}

@media (max-width: 480px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement {
        grid-template-columns: minmax(0, 1fr) !important;
        padding-left: 0.95rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-icon {
        width: 2.45rem !important;
        height: 2.45rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta > span,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__announcement-meta time {
        min-height: 1.45rem !important;
        padding-inline: 0.5rem !important;
    }
}

/* To do progress summary */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-panel,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-pane {
    grid-area: progress;
    position: relative !important;
    isolation: isolate;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(0.9rem, 1.8vw, 1.25rem) !important;
    min-height: 8.6rem !important;
    padding: clamp(0.95rem, 1.7vw, 1.25rem) clamp(1rem, 2vw, 1.5rem) !important;
    overflow: hidden !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(200, 16, 46, 0.1), rgba(200, 16, 46, 0) 15rem),
        linear-gradient(135deg, #ffffff 0%, #fff8f9 100%) !important;
    box-shadow:
        0 16px 34px rgba(98, 15, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-panel::before,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-pane::before {
    content: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-ring {
    position: relative !important;
    width: clamp(5.6rem, 8vw, 7.1rem) !important;
    aspect-ratio: 1 !important;
    display: grid !important;
    place-items: center !important;
    justify-self: start !important;
    flex: 0 0 auto !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle, #ffffff 0 55%, transparent 56%),
        conic-gradient(var(--hc-red, #c8102e) calc(var(--todo-progress, 0) * 1%), rgba(200, 16, 46, 0.14) 0) !important;
    box-shadow:
        0 18px 30px rgba(200, 16, 46, 0.16),
        inset 0 0 0 1px rgba(200, 16, 46, 0.1) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-ring::after {
    content: "" !important;
    position: absolute !important;
    inset: 0.7rem !important;
    border-radius: inherit !important;
    border: 1px solid rgba(200, 16, 46, 0.1) !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-ring span {
    position: relative !important;
    z-index: 1;
    color: var(--hc-red, #c8102e) !important;
    font-size: clamp(1.05rem, 1.6vw, 1.34rem) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.48fr) !important;
    grid-template-areas:
        "progress-title progress-note"
        "progress-meta progress-note"
        "progress-bar progress-bar" !important;
    align-items: center !important;
    gap: 0.42rem clamp(0.9rem, 2vw, 1.25rem) !important;
    text-align: left !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy::after {
    content: "" !important;
    grid-area: progress-bar !important;
    display: block !important;
    width: 100% !important;
    height: 0.56rem !important;
    margin-top: 0.24rem !important;
    border-radius: 999px !important;
    background:
        linear-gradient(90deg, var(--hc-red, #c8102e) calc(var(--todo-progress, 0) * 1%), rgba(200, 16, 46, 0.13) 0) !important;
    box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy strong {
    grid-area: progress-title !important;
    margin: 0 !important;
    color: var(--hc-ink, #101426) !important;
    font-size: clamp(1.05rem, 1.55vw, 1.36rem) !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy small {
    grid-area: progress-meta !important;
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    align-items: center !important;
    min-height: 1.85rem !important;
    padding: 0.26rem 0.7rem !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: #4b5563 !important;
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy em {
    grid-area: progress-note !important;
    justify-self: stretch !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 3.2rem !important;
    margin: 0 !important;
    padding: 0.72rem 0.9rem !important;
    border: 1px solid rgba(217, 158, 25, 0.18) !important;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 216, 107, 0.28), rgba(255, 216, 107, 0) 8rem),
        #fff6db !important;
    color: #6e5319 !important;
    font-size: 0.86rem !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.38 !important;
}

@media (max-width: 900px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "progress-title"
            "progress-meta"
            "progress-note"
            "progress-bar" !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy em {
        justify-self: start !important;
    }
}

@media (max-width: 640px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-panel,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-pane {
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center !important;
        gap: 0.8rem !important;
        min-height: 0 !important;
        padding: 1rem !important;
        text-align: center !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-ring {
        width: 5.6rem !important;
        justify-self: center !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy {
        justify-items: center !important;
        text-align: center !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy small,
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.class-showcase-card--mission-dashboard.is-expanded .class-todo-home__progress-copy em {
        justify-self: center !important;
        width: auto !important;
    }
}

/* Course learning card */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel {
    position: relative !important;
    isolation: isolate;
    grid-template-columns: 8.5rem minmax(0, 1fr) minmax(13.75rem, 15rem) !important;
    align-items: stretch !important;
    gap: 1.2rem !important;
    padding: 1.25rem !important;
    overflow: hidden !important;
    border: 1px solid rgba(200, 16, 46, 0.13) !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 70%, #fff9e7 100%) !important;
    box-shadow: 0 16px 38px rgba(24, 32, 56, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--hc-red, #c8102e);
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-thumb {
    width: 8.5rem !important;
    height: 8.5rem !important;
    min-height: 8.5rem !important;
    aspect-ratio: 1 / 1 !important;
    align-self: start !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(24, 32, 56, 0.09) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-thumb img {
    object-fit: contain !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-copy {
    align-content: center !important;
    gap: 0.36rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-kicker {
    width: fit-content !important;
    min-height: 1.75rem !important;
    padding: 0.25rem 0.62rem !important;
    border: 1px solid rgba(217, 158, 25, 0.22) !important;
    border-radius: 999px !important;
    background: #fff7d7 !important;
    color: #81580b !important;
    letter-spacing: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel h5 {
    color: var(--hc-navy, #101426) !important;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem) !important;
    font-weight: 950 !important;
    line-height: 1.22 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-copy > p {
    max-width: 54rem !important;
    color: var(--hc-muted, #68738a) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-progress {
    gap: 0.48rem !important;
    margin-top: 0.5rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-progress-head span {
    color: #4c566d !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-progress-head strong {
    min-width: 3rem !important;
    min-height: 1.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft, #fff1f2) !important;
    color: var(--hc-red, #c8102e) !important;
    font-size: 0.82rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-progress-track {
    height: 0.66rem !important;
    border: 1px solid rgba(200, 16, 46, 0.07) !important;
    background: #f1f2f5 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-progress-summary {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    color: #68738a !important;
    font-size: 0.78rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-progress-check {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 1.15rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f8f0;
    color: #16865f;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-progress-check svg {
    width: 0.72rem;
    height: 0.72rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-stats {
    gap: 0.5rem !important;
    margin-top: 0.22rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-stat {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 0.22rem !important;
    min-height: 3.8rem !important;
    padding: 0.48rem 0.6rem !important;
    border: 1px solid #e8e9ed !important;
    border-radius: 11px !important;
    background: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-stat dt {
    display: flex !important;
    align-items: center !important;
    gap: 0.36rem !important;
    overflow: visible !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-stat dt > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-stat dd {
    padding-left: 1.68rem !important;
    color: var(--hc-navy, #101426) !important;
    font-size: 0.88rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-stat-icon {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 1.3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-stat-icon svg,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-action-icon svg {
    width: 0.82rem;
    height: 0.82rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-stat--learned .class-showcase-card__course-stat-icon {
    background: #fff0f2;
    color: #c8102e;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-stat--started .class-showcase-card__course-stat-icon {
    background: #fff6d9;
    color: #9a6500;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-stat--remaining .class-showcase-card__course-stat-icon {
    background: #eaf2ff;
    color: #2563a8;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-stat--sticker .class-showcase-card__course-stat-icon {
    background: #f2edff;
    color: #6d4ac7;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-stat--latest .class-showcase-card__course-stat-icon {
    background: #e7f7f3;
    color: #13795f;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-action {
    width: 100% !important;
    min-height: 6.35rem !important;
    align-self: center !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 2.9rem !important;
    align-items: center !important;
    gap: 0.95rem !important;
    padding: 1.15rem 1.15rem 1.15rem 1.25rem !important;
    border-radius: 17px !important;
    text-align: left !important;
    white-space: normal !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action-copy {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    align-content: center;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action-copy small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
    text-transform: uppercase;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action-copy strong {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1.12;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action-icon {
    width: 2.9rem;
    height: 2.9rem;
    align-self: center;
    justify-self: end;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__course-action-icon svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1080px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel {
        grid-template-columns: 7.5rem minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-thumb {
        width: 7.5rem !important;
        min-height: 7.5rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-action {
        grid-column: 1 / -1 !important;
        min-height: 4.3rem !important;
        grid-template-columns: minmax(0, 1fr) 2.7rem !important;
        align-items: center !important;
        padding: 0.9rem 1rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card__course-action-icon {
        width: 2.7rem;
        height: 2.7rem;
    }
}

@media (max-width: 700px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.9rem !important;
        padding: 0.9rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-panel-thumb {
        width: 100% !important;
        height: 8.5rem !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='learn'] .class-showcase-card__course-stat:last-child {
        grid-column: 1 / -1 !important;
    }
}

/* The task columns already show counts and lists; remove the duplicate empty-state boxes. */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__empty {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group:not(.class-todo-home__group--completed) .class-todo-home__empty[data-empty-state="all-done"]:not([hidden]) {
    display: flex !important;
    min-height: 14rem !important;
    border-color: rgba(16, 185, 129, 0.26) !important;
    background: #f0fdf4 !important;
    color: #047857 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-todo-home__group:not(.class-todo-home__group--completed) .class-todo-home__empty[data-empty-state="all-done"]:not([hidden])::before {
    content: "✓" !important;
    width: 2.35rem !important;
    height: 2.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #10b981 !important;
    color: #ffffff !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    margin-bottom: 0.25rem !important;
}

/* Teacher notes cards */
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-showcase-card__notes.class-notes-panel {
    position: relative !important;
    display: grid !important;
    gap: 1rem !important;
    padding: clamp(1rem, 1.8vw, 1.35rem) !important;
    overflow: hidden !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 216, 107, 0.18), rgba(255, 216, 107, 0) 18rem),
        linear-gradient(135deg, #ffffff 0%, #fffdf7 100%) !important;
    box-shadow:
        0 14px 34px rgba(98, 15, 32, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-showcase-card__notes-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding-bottom: 0.85rem !important;
    border-bottom: 1px solid rgba(16, 25, 66, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-showcase-card__notes-headline {
    display: contents !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-title {
    margin: 0 !important;
    color: var(--hc-ink, #101426) !important;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important;
    line-height: 1.12 !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-showcase-card__notes-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2rem !important;
    padding: 0.35rem 0.78rem !important;
    border: 1px solid rgba(217, 158, 25, 0.18) !important;
    border-radius: 999px !important;
    background: #fff4c7 !important;
    color: #7a4a00 !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-tab-panels,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-tab-panel {
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-tab-panel {
    display: grid !important;
    gap: 0.9rem !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-tab-panel[hidden] {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filters {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.38rem !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    min-height: 2.55rem !important;
    padding: 0.48rem 0.62rem 0.48rem 0.88rem !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--hc-ink, #101426) !important;
    -webkit-text-fill-color: var(--hc-ink, #101426) !important;
    font-size: 0.9rem !important;
    font-weight: 850 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn:focus-visible {
    border-color: rgba(200, 16, 46, 0.24) !important;
    background: #fff8f9 !important;
    color: var(--hc-red, #c8102e) !important;
    -webkit-text-fill-color: var(--hc-red, #c8102e) !important;
    outline: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn.is-active,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn[aria-pressed='true'],
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn.is-active:hover,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn.is-active:focus-visible {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hc-red-bright, #e11d32), var(--hc-red, #c8102e)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.45rem !important;
    height: 1.45rem !important;
    padding: 0 0.42rem !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft, #fff1f2) !important;
    color: var(--hc-red, #c8102e) !important;
    -webkit-text-fill-color: var(--hc-red, #c8102e) !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn.is-active .class-notes-filter-count,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn[aria-pressed='true'] .class-notes-filter-count {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-scroll {
    max-height: min(32rem, 62vh) !important;
    overflow: auto !important;
    padding: 0 0.45rem 0.15rem 0 !important;
    scrollbar-color: rgba(200, 16, 46, 0.28) rgba(200, 16, 46, 0.06);
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list::before,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-marker {
    content: none !important;
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list li {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list[hidden],
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list li[hidden],
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-empty[hidden] {
    display: none !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-content {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    grid-template-areas:
        "tag time spacer"
        "body body body"
        "gift gift gift" !important;
    align-items: center !important;
    gap: 0.55rem 0.65rem !important;
    min-width: 0 !important;
    padding: 0.95rem 1rem !important;
    overflow: hidden !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 25, 66, 0.05) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-content::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #ffd86b, var(--hc-red, #c8102e)) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-tag {
    grid-area: tag !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 1.75rem !important;
    width: max-content !important;
    padding: 0.25rem 0.72rem !important;
    border: 1px solid rgba(217, 158, 25, 0.22) !important;
    border-radius: 999px !important;
    background: #fff4c7 !important;
    color: #7a4a00 !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-tag.is-member {
    border-color: rgba(200, 16, 46, 0.16) !important;
    background: var(--hc-red-soft, #fff1f2) !important;
    color: var(--hc-red, #c8102e) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-list time {
    grid-area: time !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1.75rem !important;
    width: max-content !important;
    padding: 0.25rem 0.68rem !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(248, 250, 252, 0.92) !important;
    color: #697386 !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-content p {
    grid-area: body !important;
    margin: 0 !important;
    color: #293241 !important;
    font-size: clamp(0.95rem, 1.1vw, 1.04rem) !important;
    line-height: 1.58 !important;
    font-weight: 550 !important;
    overflow-wrap: anywhere !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-content a {
    color: var(--hc-red, #c8102e) !important;
    font-weight: 800 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift {
    grid-area: gift !important;
    justify-self: start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: auto !important;
    margin: 0.2rem 0 0 !important;
    padding: 0.42rem 0.72rem 0.42rem 0.5rem !important;
    border: 1px dashed rgba(217, 158, 25, 0.28) !important;
    border-radius: 999px !important;
    background: #fff8dc !important;
    box-shadow: 0 10px 22px rgba(146, 95, 12, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift__thumb,
body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift__fallback {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    flex: 0 0 2rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #7a4a00 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift__label {
    color: #4b3b1e !important;
    font-size: 0.86rem !important;
    font-weight: 750 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-note-sticker-gift__label strong {
    color: #211a07 !important;
    font-weight: 950 !important;
}

body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-empty {
    margin: 0 !important;
    padding: 1.15rem !important;
    border: 1px dashed rgba(200, 16, 46, 0.16) !important;
    border-radius: 16px !important;
    background: rgba(255, 248, 249, 0.72) !important;
    color: #697386 !important;
    font-weight: 800 !important;
    text-align: center !important;
}

@media (max-width: 760px) {
    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-showcase-card__notes-head {
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: start !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filters {
        width: 100% !important;
        border-radius: 16px !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-filter-btn {
        flex: 1 1 7rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-scroll {
        max-height: none !important;
        padding-right: 0 !important;
    }

    body.home-page .home-main:not(.home-main--guest) #lop-hoc .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='notes'] .class-notes-content {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "tag"
            "time"
            "body"
            "gift" !important;
    }
}

/* Sticker leaderboard redesign */
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='leaderboard'] {
    gap: 1rem !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__feature-panel[data-class-feature-panel='leaderboard'] .class-showcase-card__leaderboard {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(1rem, 1.45vw, 1.25rem) !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 7% 6%, rgba(255, 216, 107, 0.22), rgba(255, 216, 107, 0) 16rem),
        radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.08), rgba(200, 16, 46, 0) 18rem),
        linear-gradient(135deg, #ffffff 0%, #fffdf7 100%) !important;
    box-shadow:
        0 18px 42px rgba(98, 15, 32, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-grid {
    display: grid !important;
    grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.55fr) !important;
    align-items: stretch !important;
    gap: 1rem !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types,
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-board {
    min-width: 0 !important;
    display: grid !important;
    align-content: stretch !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types {
    grid-template-rows: auto minmax(0, 1fr) !important;
    height: min(66rem, calc(100vh - 7rem)) !important;
    border: 1px solid rgba(217, 158, 25, 0.22) !important;
    background:
        linear-gradient(180deg, rgba(255, 248, 220, 0.78), rgba(255, 255, 255, 0.96)),
        #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-board {
    grid-template-rows: auto auto auto auto minmax(0, 1fr) auto !important;
    height: min(66rem, calc(100vh - 7rem)) !important;
    border: 1px solid rgba(200, 16, 46, 0.12) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 216, 107, 0.16), rgba(255, 216, 107, 0) 16rem),
        #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types-head,
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding-bottom: 0.78rem !important;
    border-bottom: 1px solid rgba(16, 25, 66, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types-head h4,
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-head h4 {
    margin: 0 !important;
    color: var(--hc-navy, #101426) !important;
    font-size: clamp(1rem, 1.2vw, 1.16rem) !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: -0.01em !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types-head span,
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-head span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2rem !important;
    padding: 0.35rem 0.82rem !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 999px !important;
    background: #fff7d8 !important;
    color: var(--hc-red, #c8102e) !important;
    font-size: 0.78rem !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types-list {
    display: grid !important;
    align-content: start !important;
    gap: 0.55rem !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0.35rem 0 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    list-style: none !important;
    scrollbar-color: rgba(200, 16, 46, 0.32) rgba(200, 16, 46, 0.06) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type {
    display: grid !important;
    grid-template-columns: 2.65rem minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.7rem !important;
    min-height: 4.35rem !important;
    padding: 0.58rem 0.72rem !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 8px 18px rgba(16, 25, 66, 0.04) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-thumb {
    width: 2.65rem !important;
    height: 2.65rem !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 999px !important;
    background: #fff8f9 !important;
    color: var(--hc-red, #c8102e) !important;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-title strong {
    color: var(--hc-navy, #101426) !important;
    font-size: 0.94rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-title em {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2rem !important;
    min-height: 1.6rem !important;
    padding: 0.12rem 0.48rem !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft, #fff1f2) !important;
    color: var(--hc-red, #c8102e) !important;
    font-size: 0.82rem !important;
    font-style: normal !important;
    font-weight: 950 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-bar {
    height: 0.34rem !important;
    border-radius: 999px !important;
    background: rgba(16, 25, 66, 0.07) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-type-bar > span {
    background: linear-gradient(90deg, var(--hc-red, #c8102e), #f5a400) !important;
    border-radius: inherit !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-note {
    margin: 0 !important;
    padding: 0.72rem 0.9rem !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #536079 !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 18px rgba(16, 25, 66, 0.04) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress {
    display: grid !important;
    grid-template-columns: 3.75rem minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.9rem !important;
    margin: 0 !important;
    padding: 0.95rem 1rem !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 16px !important;
    background:
        linear-gradient(135deg, rgba(255, 248, 220, 0.9), rgba(255, 255, 255, 0.96)),
        #ffffff !important;
    box-shadow: 0 10px 24px rgba(200, 16, 46, 0.06) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-thumb {
    width: 3.75rem !important;
    height: 3.75rem !important;
    border: 1px solid rgba(200, 16, 46, 0.16) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--hc-red, #c8102e) !important;
    box-shadow: 0 12px 26px rgba(200, 16, 46, 0.12) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-body {
    display: grid !important;
    min-width: 0 !important;
    gap: 0.46rem !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-title {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-title strong {
    color: var(--hc-navy, #101426) !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    font-weight: 950 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-title em {
    flex: 0 0 auto !important;
    color: #68738a !important;
    font-size: 0.86rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-track-wrap {
    position: relative !important;
    display: block !important;
    padding-top: 1.15rem !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-pins {
    position: absolute !important;
    inset: 0 0 auto !important;
    height: 1.1rem !important;
    pointer-events: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-pin {
    position: absolute !important;
    top: 0.1rem !important;
    width: 0.82rem !important;
    height: 0.82rem !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    background: #87d8c3 !important;
    box-shadow: 0 0 0 2px rgba(39, 174, 133, 0.24) !important;
    transform: translateX(-50%) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-pin.is-next {
    background: #ffd86b !important;
    box-shadow: 0 0 0 2px rgba(217, 158, 25, 0.32) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-pin::before,
body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-pin::after {
    content: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-track {
    height: 0.45rem !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(16, 25, 66, 0.08) !important;
    box-shadow: inset 0 1px 2px rgba(16, 25, 66, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-track > span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, var(--hc-red, #c8102e), var(--hc-red-dark, #9f1239)) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-caption {
    color: #68738a !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-list {
    display: grid !important;
    gap: 0.52rem !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    max-height: none !important;
    list-style: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-list--pinned {
    margin-bottom: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-list--scroll {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-right: 0.35rem !important;
    overflow-y: auto !important;
    scrollbar-color: rgba(200, 16, 46, 0.32) rgba(200, 16, 46, 0.06) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: 2.1rem minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.7rem !important;
    box-sizing: border-box !important;
    min-height: 3.45rem !important;
    padding: 0.58rem 0.72rem !important;
    overflow: hidden !important;
    border: 1px solid rgba(16, 25, 66, 0.08) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--hc-navy, #101426) !important;
    box-shadow: 0 8px 18px rgba(16, 25, 66, 0.04) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-me {
    border-color: rgba(200, 16, 46, 0.2) !important;
    background: linear-gradient(135deg, #fff8f9 0%, #ffffff 100%) !important;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-1 {
    border-color: rgba(200, 16, 46, 0.2) !important;
    background:
        linear-gradient(90deg, rgba(200, 16, 46, 0.1), rgba(255, 248, 220, 0.84)),
        #ffffff !important;
    box-shadow: 0 12px 26px rgba(200, 16, 46, 0.1) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-2 {
    border-color: rgba(39, 174, 133, 0.24) !important;
    background: linear-gradient(90deg, rgba(39, 174, 133, 0.14), rgba(255, 255, 255, 0.92)) !important;
    box-shadow: 0 10px 22px rgba(39, 174, 133, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-3 {
    border-color: rgba(245, 164, 0, 0.28) !important;
    background: linear-gradient(90deg, rgba(245, 164, 0, 0.16), rgba(255, 255, 255, 0.92)) !important;
    box-shadow: 0 10px 22px rgba(245, 164, 0, 0.08) !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-rank {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.1rem !important;
    height: 2.1rem !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: #f7f8fb !important;
    color: var(--hc-navy, #101426) !important;
    font-size: 0.86rem !important;
    font-weight: 950 !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-1 .class-showcase-card__leaderboard-rank {
    border-color: rgba(200, 16, 46, 0.26) !important;
    background: linear-gradient(135deg, var(--hc-red-bright, #e11d32), var(--hc-red-dark, #9f1239)) !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-2 .class-showcase-card__leaderboard-rank {
    border-color: rgba(39, 174, 133, 0.28) !important;
    background: #20b982 !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item.is-top-3 .class-showcase-card__leaderboard-rank {
    border-color: rgba(245, 164, 0, 0.34) !important;
    background: #f5a400 !important;
    color: #ffffff !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-student {
    display: inline-grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.62rem !important;
    min-width: 0 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    overflow: hidden !important;
    border: 1px solid rgba(16, 25, 66, 0.1) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #556070 !important;
    font-size: 0.75rem !important;
    font-weight: 950 !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-name {
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--hc-navy, #101426) !important;
    font-size: 0.96rem !important;
    font-weight: 900 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-score {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.45rem !important;
    min-height: 2rem !important;
    padding: 0.18rem 0.62rem !important;
    border: 1px solid rgba(200, 16, 46, 0.16) !important;
    border-radius: 999px !important;
    background: var(--hc-red-soft, #fff1f2) !important;
    color: var(--hc-red, #c8102e) !important;
    font-size: 0.9rem !important;
    font-weight: 950 !important;
    box-shadow: none !important;
}

body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-foot {
    margin: 0 !important;
    color: #68738a !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
}

@media (max-width: 1040px) {
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-grid {
        grid-template-columns: 1fr !important;
    }

    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types,
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-board {
        height: auto !important;
    }

    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types-list,
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-list--scroll {
        height: auto !important;
        max-height: min(22rem, 52vh) !important;
    }
}

@media (max-width: 640px) {
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__sticker-types,
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-board,
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress {
        padding: 0.85rem !important;
    }

    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress,
    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-item {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__badge-progress-title {
        display: grid !important;
    }

    body.home-page .home-main:not(.home-main--guest) section#lop-hoc.class-section.home-section .class-showcase-card.is-expanded .class-showcase-card__leaderboard-score {
        justify-self: start !important;
    }
}

/* Class course picker modal */
body.home-page .class-course-picker {
    --class-picker-red: #c8102e;
    --class-picker-red-dark: #9f1239;
    --class-picker-yellow: #ffd84d;
    --class-picker-ink: #101426;
    --class-picker-muted: #68738a;
    --class-picker-line: #e7e9ee;
}

body.home-page .class-course-picker__backdrop {
    background: rgba(16, 20, 38, 0.58) !important;
    backdrop-filter: blur(10px) saturate(112%) !important;
}

body.home-page .class-course-picker__dialog {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    width: min(640px, calc(100vw - 28px)) !important;
    max-height: min(88vh, 720px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(200, 16, 46, 0.14) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 70px rgba(16, 20, 38, 0.26) !important;
}

body.home-page .class-course-picker__dialog::before {
    height: 5px !important;
    background: linear-gradient(90deg, var(--class-picker-red) 0%, #e11d32 68%, var(--class-picker-yellow) 100%) !important;
}

body.home-page .class-course-picker__close {
    top: 1.1rem !important;
    right: 1.1rem !important;
    z-index: 3 !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    border: 1px solid rgba(200, 16, 46, 0.16) !important;
    background: #ffffff !important;
    color: var(--class-picker-red) !important;
    box-shadow: 0 12px 28px rgba(200, 16, 46, 0.14) !important;
}

body.home-page .class-course-picker__close:hover,
body.home-page .class-course-picker__close:focus-visible {
    background: var(--class-picker-red) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

body.home-page .class-course-picker__close svg,
body.home-page .class-course-picker__head-icon svg,
body.home-page .class-course-picker__foot svg,
body.home-page .class-course-picker__item-action-icon svg {
    width: 1.1rem !important;
    height: 1.1rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2.2 !important;
}

body.home-page .class-course-picker__head {
    display: grid !important;
    grid-template-columns: 3.3rem minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0.9rem !important;
    padding: 1.45rem 4.85rem 1.05rem 1.45rem !important;
    border-bottom: 1px solid rgba(217, 158, 25, 0.18) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 216, 77, 0.32), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #fff9df 100%) !important;
}

body.home-page .class-course-picker__head-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.3rem !important;
    height: 3.3rem !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, var(--class-picker-red), var(--class-picker-red-dark)) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(200, 16, 46, 0.2) !important;
}

body.home-page .class-course-picker__head-icon svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
}

body.home-page .class-course-picker__head-copy {
    min-width: 0 !important;
}

body.home-page .class-course-picker__eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    min-height: 1.55rem !important;
    padding: 0.18rem 0.62rem !important;
    border: 1px solid rgba(200, 16, 46, 0.13) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: var(--class-picker-red) !important;
    font-size: 0.72rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.home-page .class-course-picker__dialog h3 {
    max-width: none !important;
    margin: 0.48rem 0 0 !important;
    padding: 0 !important;
    color: var(--class-picker-ink) !important;
    font-size: clamp(1.65rem, 3vw, 2.08rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.06 !important;
}

body.home-page .class-course-picker__head-copy p {
    margin: 0.42rem 0 0 !important;
    color: var(--class-picker-muted) !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

body.home-page .class-course-picker__context {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin: 1rem 1.45rem 0 !important;
    padding: 0.7rem 0.8rem !important;
    border: 1px solid rgba(217, 158, 25, 0.24) !important;
    border-radius: 14px !important;
    background: #fff9df !important;
}

body.home-page .class-course-picker__subtitle {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6b4a05 !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

body.home-page .class-course-picker__count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 1.85rem !important;
    padding: 0.24rem 0.72rem !important;
    border: 1px solid rgba(200, 16, 46, 0.16) !important;
    border-radius: 999px !important;
    background: #fff1f2 !important;
    color: var(--class-picker-red) !important;
    font-size: 0.82rem !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
}

body.home-page .class-course-picker__list {
    display: grid !important;
    gap: 0.75rem !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 1rem 1.45rem 1.2rem !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}

body.home-page .class-course-picker__list::-webkit-scrollbar {
    width: 0.65rem !important;
}

body.home-page .class-course-picker__list::-webkit-scrollbar-track {
    background: #fff1f2 !important;
    border-radius: 999px !important;
}

body.home-page .class-course-picker__list::-webkit-scrollbar-thumb {
    border: 0.16rem solid #fff1f2 !important;
    border-radius: 999px !important;
    background: #ee9aac !important;
}

body.home-page .class-course-picker__item {
    display: grid !important;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.85rem !important;
    min-height: 5.75rem !important;
    padding: 0.72rem 0.78rem !important;
    border: 1px solid var(--class-picker-line) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: var(--class-picker-ink) !important;
    box-shadow: 0 10px 22px rgba(16, 20, 38, 0.04) !important;
    transform: none !important;
}

body.home-page .class-course-picker__item:not(:has(.class-course-picker__item-thumb)) {
    grid-template-columns: minmax(0, 1fr) auto !important;
}

body.home-page .class-course-picker__item::before,
body.home-page .class-course-picker__item::after {
    content: none !important;
}

body.home-page .class-course-picker__item:hover,
body.home-page .class-course-picker__item:focus-visible {
    border-color: rgba(200, 16, 46, 0.26) !important;
    background: linear-gradient(90deg, #fff7f8, #ffffff 72%) !important;
    box-shadow: 0 16px 30px rgba(16, 20, 38, 0.09) !important;
    transform: translateY(-1px) !important;
}

body.home-page .class-course-picker__item-thumb {
    width: 4.5rem !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 216, 77, 0.72) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 20px rgba(16, 20, 38, 0.08) !important;
}

body.home-page .class-course-picker__item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.home-page .class-course-picker__item-copy {
    display: grid !important;
    gap: 0.22rem !important;
    min-width: 0 !important;
}

body.home-page .class-course-picker__item-kicker {
    color: var(--class-picker-red) !important;
    font-size: 0.72rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.home-page .class-course-picker__item-title {
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--class-picker-ink) !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.18 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.home-page .class-course-picker__item-badge {
    justify-self: start !important;
    width: fit-content !important;
    min-height: 1.45rem !important;
    padding: 0.16rem 0.55rem !important;
    border: 1px solid rgba(217, 158, 25, 0.24) !important;
    border-radius: 999px !important;
    background: #fff5ce !important;
    color: #7b5600 !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
}

body.home-page .class-course-picker__item-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    min-height: 2.35rem !important;
    padding: 0.35rem 0.42rem 0.35rem 0.75rem !important;
    border-radius: 999px !important;
    background: var(--class-picker-red) !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.18) !important;
}

body.home-page .class-course-picker__item-action-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.68rem !important;
    height: 1.68rem !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.16) !important;
}

body.home-page .class-course-picker__item-action-icon svg {
    width: 0.92rem !important;
    height: 0.92rem !important;
}

body.home-page .class-course-picker__empty {
    margin: 0 !important;
    padding: 1rem !important;
    border: 1px dashed rgba(200, 16, 46, 0.2) !important;
    border-radius: 16px !important;
    background: #fff7f8 !important;
    color: var(--class-picker-muted) !important;
    font-weight: 800 !important;
    text-align: center !important;
}

body.home-page .class-course-picker__foot {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.85rem 1.45rem 1.1rem !important;
    border-top: 1px solid #eef0f4 !important;
    background: #fafafa !important;
    color: var(--class-picker-muted) !important;
    font-size: 0.84rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

body.home-page .class-course-picker__foot svg {
    flex: 0 0 auto !important;
    width: 1rem !important;
    height: 1rem !important;
    color: var(--class-picker-red) !important;
}

@media (max-width: 560px) {
    body.home-page .class-course-picker__dialog {
        width: calc(100vw - 20px) !important;
        max-height: 88vh !important;
        border-radius: 18px !important;
    }

    body.home-page .class-course-picker__close {
        top: 0.85rem !important;
        right: 0.85rem !important;
        width: 2.45rem !important;
        height: 2.45rem !important;
    }

    body.home-page .class-course-picker__head {
        grid-template-columns: 2.7rem minmax(0, 1fr) !important;
        gap: 0.72rem !important;
        padding: 1.15rem 3.85rem 0.9rem 1rem !important;
    }

    body.home-page .class-course-picker__head-icon {
        width: 2.7rem !important;
        height: 2.7rem !important;
        border-radius: 14px !important;
    }

    body.home-page .class-course-picker__dialog h3 {
        font-size: 1.45rem !important;
    }

    body.home-page .class-course-picker__head-copy p {
        font-size: 0.86rem !important;
    }

    body.home-page .class-course-picker__context {
        align-items: flex-start !important;
        margin: 0.85rem 1rem 0 !important;
        padding: 0.68rem !important;
    }

    body.home-page .class-course-picker__list {
        padding: 0.85rem 1rem 1rem !important;
    }

    body.home-page .class-course-picker__item {
        grid-template-columns: 3.65rem minmax(0, 1fr) 2.35rem !important;
        gap: 0.68rem !important;
        min-height: 5.35rem !important;
        padding: 0.65rem !important;
    }

    body.home-page .class-course-picker__item:not(:has(.class-course-picker__item-thumb)) {
        grid-template-columns: minmax(0, 1fr) 2.35rem !important;
    }

    body.home-page .class-course-picker__item-thumb {
        width: 3.65rem !important;
        border-radius: 11px !important;
    }

    body.home-page .class-course-picker__item-title {
        white-space: normal !important;
    }

    body.home-page .class-course-picker__item-action {
        width: 2.35rem !important;
        min-width: 2.35rem !important;
        height: 2.35rem !important;
        min-height: 2.35rem !important;
        padding: 0 !important;
    }

    body.home-page .class-course-picker__item-action-label {
        display: none !important;
    }

    body.home-page .class-course-picker__item-action-icon {
        width: 1.72rem !important;
        height: 1.72rem !important;
        border-color: transparent !important;
        background: transparent !important;
    }

    body.home-page .class-course-picker__foot {
        align-items: flex-start !important;
        padding: 0.78rem 1rem 0.95rem !important;
        font-size: 0.78rem !important;
    }
}
