﻿:root {
    --ink: #1e293b;
    --body: #475569;
    --display: 'Fredoka', 'Manrope', sans-serif;
    --font: 'DM Sans', sans-serif;
    --sis-maroon: #851013;
    --sis-maroon-dark: #5a0a0c;
    --sis-maroon-deep: #3d0607;
    --sis-gold: #f59e0b;
    --sis-gold-light: #fde68a;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: #f6d7a6;
    color: #193b43;
}

:focus-visible {
    outline: 3px solid #eaa94a;
    outline-offset: 4px;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-thumb {
    background: #851013;
    border-radius: 9px;
}

/* Background & Viewport Layout */
html, body {
    min-height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font);
    color: var(--ink);
    position: relative;
    isolation: isolate;
    background: #3d0607;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13vh 0 3vh !important;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url('assets/clean-plain-bg.webp?v=4');
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-color: #3d0607;
}

/* Bootstrap .container > .row > .col-md-12 alignment */
.container {
    margin-left: auto !important;
    margin-right: auto !important;
}

.col-md-12 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Top Chapter Title Banner (Subject + Class Pill & 3D Chapter Title Pill) */
html body.geo-chapter-screen {
    padding: 16px 0 20px !important;
}

.chapter-title-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    margin: 0 auto 14px;
    width: 100%;
}

.chapter-title-banner .course-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8eb 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.75);
    box-shadow: 0 4px 12px rgba(61, 6, 7, 0.14), inset 0 1px 2px #ffffff;
    font-family: var(--display);
    font-size: clamp(11px, 0.95vw, 12.5px);
    font-weight: 700;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: #1e293b;
    line-height: 1.25;
}

.chapter-title-banner h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 30px 10px;
    min-width: min(260px, 90vw);
    max-width: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, #b91c1c 0%, #851013 52%, #5a0a0c 100%);
    border: 2.5px solid #f59e0b;
    border-bottom: 5.5px solid #3d0607;
    box-shadow: 0 8px 20px rgba(61, 6, 7, 0.32), inset 0 2px 4px rgba(255, 255, 255, 0.28);
    font-family: var(--display);
    font-size: clamp(18px, 1.85vw, 24px);
    font-weight: 700;
    letter-spacing: 0.25px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 0 rgba(45, 4, 5, 0.55);
}

/* Widescreen 3-Column Bento Grid inside .container .col-md-12 */
.activity-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 2.05fr) minmax(0, 0.92fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: stretch;
}

/* Placement of Left 3 cards, Center Featured Video card, and Right 3 cards */
.activity-card.reading {
    grid-column: 1;
    grid-row: 1;
    --accent: #c81058;
    --accent-dark: #880b3c;
}
.activity-card.games {
    grid-column: 1;
    grid-row: 2;
    --accent: #d97706;
    --accent-dark: #92400e;
}
.activity-card.animation {
    grid-column: 1;
    grid-row: 3;
    --accent: #0d7a49;
    --accent-dark: #064e2e;
}
.featured-video-card {
    grid-column: 2;
    grid-row: 1 / 4;
}
.activity-card.videos {
    grid-column: 3;
    grid-row: 1;
    --accent: #0066ed;
    --accent-dark: #00449e;
}
.activity-card.activities {
    grid-column: 3;
    grid-row: 2;
    --accent: #b45309;
    --accent-dark: #78350f;
}
.activity-card.test {
    grid-column: 3;
    grid-row: 3;
    --accent: #6b28d9;
    --accent-dark: #4c1d95;
}

/* Left & Right Side Activity Cards - Rich Maroon & Gold 3D Theme */
.activity-card {
    min-height: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 6px 6px 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    border: 2.5px solid #851013;
    border-bottom: 6px solid #5a0a0c;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    box-shadow: 0 10px 22px rgba(61, 6, 7, 0.24), inset 0 2px 4px #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.activity-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
    border-bottom-color: #851013;
    box-shadow: 0 16px 30px rgba(133, 16, 19, 0.32), 0 0 0 2px rgba(245, 158, 11, 0.35), inset 0 2px 4px #ffffff;
}

.activity-card:active {
    transform: scale(0.98) translateY(1px);
}

.activity-card .art {
    width: 100%;
    height: 100% !important;
    min-height: clamp(74px, 10.2vh, 102px);
    contain: size;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #3d0607;
    border: 1.5px solid rgba(133, 16, 19, 0.16);
    position: relative;
    isolation: isolate;
}

.activity-card .art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 50%, rgba(61, 6, 7, 0.22) 100%);
    pointer-events: none;
}

.activity-card .art > img,
.activity-card .book-art > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: normal;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card .book-art > img {
    object-position: center 55%;
}

.activity-card:hover .art > img {
    transform: scale(1.06);
}

.activity-card .card-content {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px 9px;
    min-height: 0;
    text-align: left;
    overflow: hidden;
}

.activity-card .card-text {
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden;
}

.activity-card .card-content h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(14px, 1.3vw, 16.5px);
    color: #1e293b;
    margin: 0 0 2px;
    line-height: 1.18;
    letter-spacing: 0.1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.activity-card:hover .card-content h2 {
    color: #851013;
}

.activity-card .card-content p {
    font-size: clamp(10.5px, 0.92vw, 12px);
    color: #526372;
    line-height: 1.3;
    margin: 0;
    min-height: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card .action {
    flex: 0 0 auto;
    width: 36px;
    height: 27px;
    min-height: 27px;
    padding: 0;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: 1.5px solid #fde68a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.activity-card .action svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
}

.activity-card:hover .action {
    transform: translateX(3px) scale(1.05);
    filter: brightness(1.12);
}

/* Center Featured Video Card - Matching Maroon & Gold 3D Theme */
.featured-video-card {
    min-height: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    align-self: stretch;
    justify-self: center;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    border: 2.5px solid #851013;
    border-bottom: 6px solid #5a0a0c;
    border-radius: 22px;
    padding: 9px 9px 16px;
    box-shadow: 0 12px 28px rgba(61, 6, 7, 0.28), inset 0 2px 4px #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.23s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.23s ease, border-color 0.23s ease;
}

.featured-video-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
    border-bottom-color: #851013;
    box-shadow: 0 18px 36px rgba(133, 16, 19, 0.34), 0 0 0 2px rgba(245, 158, 11, 0.35), inset 0 2px 4px #ffffff;
}

.featured-video-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 15px;
    overflow: hidden;
    background: #101820;
    border: 1.5px solid rgba(133, 16, 19, 0.18);
    isolation: isolate;
    cursor: pointer;
}

.featured-video-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.24) 100%);
    pointer-events: none;
    transition: opacity 0.25s;
}

.featured-video-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-video-card:hover .featured-video-media:not(.is-playing) .featured-video-img {
    transform: scale(1.03);
}

.featured-video-media.is-playing::after,
.featured-video-media.is-playing .featured-badge,
.featured-video-media.is-playing .featured-duration,
.featured-video-media.is-playing .featured-play-icon {
    opacity: 0;
    pointer-events: none;
}

.featured-video-media.is-playing .featured-video-img {
    object-fit: contain;
    background: #000000;
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(180deg, #109459 0%, #0a6b3f 100%);
    border: 1.5px solid #a7f3d0;
    color: #ffffff;
    font-family: var(--display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
    line-height: 1;
    transition: opacity 0.2s;
}

.featured-badge svg {
    width: 12px;
    height: 12px;
    fill: #fde68a;
    flex-shrink: 0;
}

.featured-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(24, 32, 42, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
}

.featured-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 62px;
    height: 62px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #b91c1c 0%, #851013 100%);
    border: 3px solid #fde68a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s, box-shadow 0.25s, opacity 0.2s;
}

.featured-play-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    margin-left: 2px;
}

.featured-video-card:hover .featured-play-icon {
    transform: translate(-50%, -50%) scale(1.09);
    box-shadow: 0 12px 30px rgba(133, 16, 19, 0.55);
}

.featured-video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px 0;
}

.featured-video-content h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(17px, 1.8vw, 22px);
    color: #1e293b;
    letter-spacing: 0.1px;
    line-height: 1.2;
    margin: 0 0 4px;
}

.featured-video-content p {
    font-size: clamp(11.5px, 1vw, 13px);
    color: #475569;
    line-height: 1.38;
    margin: 0 0 10px;
    max-width: 46ch;
}

.featured-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #b91c1c 0%, #851013 55%, #5a0a0c 100%);
    border: 2.5px solid #f59e0b;
    border-bottom: 5px solid #3d0607;
    color: #ffffff !important;
    font-family: var(--display);
    font-size: clamp(13px, 1.25vw, 15px);
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 7px 26px 9px;
    min-width: 175px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(133, 16, 19, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.28);
    text-shadow: 0 2px 0 rgba(45, 4, 5, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured-watch-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    transition: transform 0.2s;
}

.featured-video-card:hover .featured-watch-btn {
    border-color: #fde68a;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(133, 16, 19, 0.42), inset 0 2px 3px rgba(255, 255, 255, 0.35);
}

.featured-video-card:hover .featured-watch-btn svg {
    transform: translateX(3px);
}

/* Bottom Back, Home & Next Navigation Bar inside .container .col-md-12 */
.hub-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
    gap: 12px;
    z-index: 10;
}

.hub-nav-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hub-nav-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px 10px !important;
    font-family: 'Fredoka', var(--display), sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 1.4vw, 17px) !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, #b91c1c 0%, #851013 52%, #5a0a0c 100%) !important;
    border: 3px solid #f59e0b !important;
    border-bottom: 6px solid #3d0607 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 18px rgba(61, 6, 7, 0.34), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 2px 0 rgba(45, 4, 5, 0.55) !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.hub-nav-btn span {
    font-family: 'Fredoka', var(--display), sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-shadow: 0 2px 0 rgba(45, 4, 5, 0.55) !important;
}

.hub-nav-btn svg {
    width: 19px;
    height: 19px;
    stroke: #ffffff;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 0 rgba(45, 4, 5, 0.55));
}

.hub-nav-btn:hover {
    transform: translateY(-3px) !important;
    border-color: #fde68a !important;
    box-shadow: 0 12px 24px rgba(133, 16, 19, 0.4), 0 0 0 2px rgba(245, 158, 11, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

.hub-nav-btn:active {
    transform: translateY(2px) scale(0.97) !important;
}

/* Preview Dialog */
dialog {
    width: min(460px, calc(100% - 32px));
    border: 0;
    border-radius: 23px;
    background: #fff;
    padding: 32px;
    color: var(--ink);
    box-shadow: 0 24px 90px #0004;
}

dialog::backdrop {
    background: #071b2bd9;
}

#close-dialog {
    position: absolute;
    right: 13px;
    top: 9px;
    font-size: 29px;
    line-height: 1;
    background: none;
    color: #65747c;
    padding: 6px;
}

dialog h2 {
    font-family: var(--display);
    font-size: 25px;
    margin: 12px 0;
}

dialog p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
}

dialog .preview-icon {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
}

dialog .action {
    margin-top: 12px;
    background: #e5efe8;
    color: #285b49;
}

dialog.video-dialog {
    width: min(960px, calc(100vw - 32px));
    max-height: 94dvh;
    overflow: auto;
    padding: 24px;
    background: #fff;
}

dialog.video-dialog h2 {
    margin: 0 35px 3px 0;
    font-size: 25px;
}

dialog.video-dialog .video-caption {
    margin: 0 0 15px;
    font-size: 13px;
}

dialog.video-dialog video {
    display: block;
    width: 100%;
    max-height: calc(94dvh - 130px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #101820;
    border-radius: 12px;
}

dialog.video-dialog .video-error {
    color: #a52f35;
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

/* Compact height desktop screens */
@media (max-height: 760px) and (min-width: 992px) {
    body {
        padding: 12vh 0 2vh !important;
    }
    .activity-grid {
        gap: 10px 14px;
    }
    .activity-card .art {
        min-height: clamp(60px, 8.6vh, 82px);
    }
    .activity-card .card-content {
        padding: 6px 7px 7px;
    }
    .featured-video-card {
        padding: 7px 7px 12px;
    }
    .featured-video-content {
        padding: 8px 12px 0;
    }
    .featured-video-content p {
        margin-bottom: 7px;
    }
    .hub-nav-bar {
        margin-top: 12px;
    }
}

/* Tablet and Mobile responsive layout */
@media (max-width: 991.98px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100dvh;
    }
    body {
        justify-content: flex-start !important;
        padding: 18px 0 32px !important;
    }
    .activity-grid {
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 14px;
    }
    .featured-video-card {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0;
    }
    .featured-video-media {
        aspect-ratio: 16 / 9;
        height: auto;
    }
    .activity-card.reading,
    .activity-card.games,
    .activity-card.animation,
    .activity-card.videos,
    .activity-card.activities,
    .activity-card.test {
        grid-column: auto;
        grid-row: auto;
        height: auto;
    }
    .activity-card .art {
        contain: none;
        height: 132px !important;
        min-height: 132px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding: 14px 0 24px !important;
    }
    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .activity-card {
        padding: 5px 5px 0;
        border-radius: 15px;
    }
    .activity-card .art {
        height: 96px !important;
        min-height: 96px;
        border-radius: 10px;
    }
    .activity-card .card-content {
        padding: 6px 5px 7px;
        gap: 5px;
    }
    .activity-card .card-content h2 {
        font-size: 13px;
    }
    .activity-card .card-content p {
        font-size: 10px;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }
    .activity-card .action {
        width: 30px;
        height: 22px;
        min-height: 22px;
    }
    .activity-card .action svg {
        width: 12px;
        height: 12px;
    }
    .featured-video-card {
        padding: 7px 7px 14px;
        border-radius: 18px;
    }
    .featured-play-icon {
        width: 52px;
        height: 52px;
    }
    .featured-play-icon svg {
        width: 22px;
        height: 22px;
    }
    .featured-video-content h2 {
        font-size: 18px;
    }
    .featured-video-content p {
        font-size: 12px;
    }
    .featured-watch-btn {
        padding: 7px 22px 9px;
        font-size: 13.5px;
        min-width: 160px;
    }
    .hub-nav-bar {
        margin-top: 16px;
        gap: 8px;
    }
    .hub-nav-right {
        gap: 8px;
    }
    .hub-nav-btn {
        padding: 7px 14px 9px !important;
        font-size: 13px !important;
        border-radius: 14px !important;
        gap: 6px;
    }
    .hub-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* === FULL RESPONSIVE CHAPTER DASHBOARD ENHANCEMENTS === */
.featured-video-media {
    position: relative !important;
    width: 100% !important;
    min-height: 220px;
}

.featured-video-media iframe,
.featured-video-media video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

@media (min-width: 992px) {
    .container {
        max-width: min(1380px, 95vw) !important;
    }
    .featured-video-media {
        min-height: clamp(230px, 34vh, 420px) !important;
    }
}

@media (max-height: 860px) and (min-width: 992px) {
    body {
        padding: 11.5vh 0 2vh !important;
    }
    html body.geo-chapter-screen {
        padding: 10px 0 14px !important;
    }
    .chapter-title-banner {
        margin-bottom: 10px !important;
        gap: 4px !important;
    }
    .chapter-title-banner h1 {
        padding: 7px 24px 9px !important;
        font-size: clamp(16px, 1.5vw, 21px) !important;
    }
    .activity-grid {
        gap: 10px 14px !important;
    }
    .activity-card .art {
        min-height: clamp(58px, 8.4vh, 84px) !important;
    }
    .activity-card .card-content {
        padding: 6px 7px 7px !important;
    }
    .featured-video-card {
        padding: 7px 7px 12px !important;
    }
    .featured-video-media {
        min-height: clamp(185px, 29vh, 315px) !important;
    }
    .featured-video-content {
        padding: 8px 12px 0 !important;
    }
    .featured-video-content p {
        margin-bottom: 7px !important;
    }
    .hub-nav-bar {
        margin-top: 12px !important;
    }
    .hub-nav-btn {
        padding: 7px 18px 9px !important;
        font-size: 14.5px !important;
    }
}

@media (max-width: 991.98px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100dvh;
    }
    body,
    html body.geo-chapter-screen {
        justify-content: flex-start !important;
        padding: 16px 0 28px !important;
    }
    .container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .activity-grid {
        height: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto !important;
        gap: 14px !important;
    }
    .featured-video-card {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        margin: 0 !important;
    }
    .featured-video-media {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .activity-card.reading,
    .activity-card.games,
    .activity-card.animation,
    .activity-card.videos,
    .activity-card.activities,
    .activity-card.test {
        grid-column: auto !important;
        grid-row: auto !important;
        height: auto !important;
    }
    .activity-card .art {
        contain: none !important;
        height: 136px !important;
        min-height: 136px !important;
    }
}

@media (max-width: 575.98px) {
    body,
    html body.geo-chapter-screen {
        padding: 12px 0 22px !important;
    }
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .chapter-title-banner {
        margin-bottom: 12px !important;
        gap: 5px !important;
    }
    .chapter-title-banner .course-label {
        font-size: 10.5px !important;
        padding: 4px 12px !important;
    }
    .chapter-title-banner h1 {
        font-size: clamp(15px, 4.4vw, 19px) !important;
        padding: 8px 14px 10px !important;
        border-radius: 15px !important;
    }
    .featured-video-card {
        padding: 6px 6px 12px !important;
        border-radius: 16px !important;
    }
    .featured-video-media {
        border-radius: 11px !important;
    }
    .featured-video-content {
        padding: 10px 8px 0 !important;
    }
    .featured-video-content h2 {
        font-size: clamp(15.5px, 4.4vw, 18.5px) !important;
    }
    .featured-video-content p {
        font-size: 11.5px !important;
        margin-bottom: 8px !important;
    }
    .featured-watch-btn {
        padding: 7px 20px 9px !important;
        font-size: 13px !important;
        min-width: 148px !important;
    }
    .activity-grid {
        gap: 10px !important;
    }
    .activity-card {
        padding: 5px 5px 0 !important;
        border-radius: 15px !important;
    }
    .activity-card .art {
        height: 104px !important;
        min-height: 104px !important;
        border-radius: 10px !important;
    }
    .activity-card .card-content {
        padding: 7px 6px 8px !important;
        gap: 6px !important;
    }
    .activity-card .card-content h2 {
        font-size: clamp(12.5px, 3.6vw, 14.5px) !important;
    }
    .activity-card .card-content p {
        font-size: clamp(10px, 2.8vw, 11.5px) !important;
        line-height: 1.28 !important;
        -webkit-line-clamp: 2 !important;
    }
    .hub-nav-bar {
        flex-wrap: wrap !important;
        margin-top: 14px !important;
        gap: 8px !important;
    }
    .hub-nav-btn {
        padding: 7px 14px 9px !important;
        font-size: 12.5px !important;
        border-radius: 12px !important;
        border-width: 2px !important;
        border-bottom-width: 4px !important;
        gap: 5px !important;
    }
    .hub-nav-btn svg {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Native Horizontal Activity Cards on Compact Mobile Phones (<= 460px) */
@media (max-width: 460px) {
    .activity-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .activity-card {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        grid-template-rows: 1fr !important;
        align-items: center !important;
        padding: 6px !important;
        border-radius: 15px !important;
    }
    .activity-card .art {
        height: 80px !important;
        min-height: 80px !important;
        border-radius: 10px !important;
    }
    .activity-card .card-content {
        padding: 4px 6px 4px 10px !important;
        gap: 8px !important;
    }
    .activity-card .card-content h2 {
        font-size: 14.5px !important;
        margin-bottom: 2px !important;
    }
    .activity-card .card-content p {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 2 !important;
    }
    .activity-card .action {
        width: 34px !important;
        height: 26px !important;
        min-height: 26px !important;
        flex-shrink: 0 !important;
    }
}

/* === UMA v32 CHAPTER DASHBOARD RESPONSIVE POLISH === */
.chapter-title-banner .course-label,
.chapter-title-banner h1 {
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .chapter-title-banner {
        margin-bottom: 14px !important;
    }
    .chapter-title-banner h1 {
        font-size: clamp(17px, 2.6vw, 22px) !important;
        padding: 8px 24px 10px !important;
    }
    .container {
        max-width: 860px !important;
    }
}

@media (max-width: 380px) {
    .hub-nav-bar {
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }
    .hub-nav-right {
        gap: 5px !important;
    }
    .hub-nav-btn {
        padding: 6px 10px 8px !important;
        font-size: 11.5px !important;
        gap: 4px !important;
    }
    .hub-nav-btn svg {
        width: 13.5px !important;
        height: 13.5px !important;
    }
}

.featured-video-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* =========================================================================
   TREEHOUSE STORYBOOK THEME (NURSERY ALPHABET DASHBOARD REDESIGN)
   ========================================================================= */
html body.treehouse-theme {
    background-color: #7cc9f7 !important;
    padding: 8px 0 18px !important;
}

body.treehouse-theme::before {
    background-image: url('assets/treehouse-bg.webp?v=1') !important;
    background-position: center bottom !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-color: #7cc9f7 !important;
}

@media (min-width: 992px) {
    body.treehouse-theme .container {
        max-width: min(1320px, 90vw) !important;
    }
}

/* --- Hanging Wooden & Stitched Crimson Signboard Banner --- */
body.treehouse-theme .chapter-title-banner {
    position: relative;
    gap: 0 !important;
    margin: 0 auto 14px !important;
    padding-top: 4px;
    z-index: 5;
}

body.treehouse-theme .chapter-title-banner .course-label {
    position: relative;
    z-index: 4;
    margin-bottom: -10px;
    padding: 4px 24px 5px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff4e4 100%) !important;
    border: 1.5px solid #ead0b5 !important;
    border-bottom: 3.5px solid #dfb492 !important;
    box-shadow: 0 4px 8px rgba(84, 38, 10, 0.18), inset 0 1px 2px #ffffff !important;
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-size: clamp(13.5px, 1.15vw, 16px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    color: #6b2c10 !important;
    line-height: 1.2 !important;
}

body.treehouse-theme .wood-sign-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Braided Hanging Ropes Extending to Top of Screen */
body.treehouse-theme .sign-rope {
    position: absolute;
    top: -56px;
    width: 8px;
    height: 72px;
    border-radius: 6px;
    background:
        repeating-linear-gradient(
            35deg,
            #f3c169 0px,
            #f3c169 4px,
            #b87324 4px,
            #b87324 7px
        );
    border-left: 1px solid #965714;
    border-right: 1px solid #965714;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    z-index: 3;
    pointer-events: none;
}

body.treehouse-theme .sign-rope::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe59e 0%, #d4892a 65%, #8c4d0f 100%);
    box-shadow: 0 2px 3px rgba(60, 25, 5, 0.45);
}

body.treehouse-theme .sign-rope-left {
    left: 26px;
}

body.treehouse-theme .sign-rope-right {
    right: 26px;
}

/* Lush Green Leaf Clusters Behind Wooden Sign Ends */
body.treehouse-theme .sign-leaves {
    position: absolute;
    top: 50%;
    width: 54px;
    height: 62px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(25, 60, 10, 0.22));
}

body.treehouse-theme .sign-leaves-left {
    left: -34px;
}

body.treehouse-theme .sign-leaves-right {
    right: -34px;
}

/* Carved Honey-Oak Wooden Plank Frame */
body.treehouse-theme .wood-sign-plank {
    position: relative;
    z-index: 2;
    padding: 7px 13px 8px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 232, 188, 0.14) 0px,
            rgba(255, 232, 188, 0.14) 3px,
            rgba(142, 72, 18, 0.08) 3px,
            rgba(142, 72, 18, 0.08) 6px
        ),
        linear-gradient(180deg, #f2b76e 0%, #d9873b 50%, #b46120 100%);
    border: 2px solid #9c4f16;
    border-bottom: 5.5px solid #78390c;
    box-shadow:
        inset 0 2px 2px rgba(255, 243, 214, 0.72),
        0 10px 20px rgba(64, 30, 6, 0.26);
}

/* Stitched Crimson Inner Plaque ("Alphabet") */
body.treehouse-theme .wood-sign-plank h1 {
    position: relative;
    margin: 0 !important;
    min-width: clamp(230px, 23vw, 310px);
    padding: 6px 40px 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #df1923 0%, #bc1019 56%, #910a11 100%) !important;
    border: 2px solid #7d080e !important;
    box-shadow: inset 0 2px 4px rgba(255, 160, 160, 0.28), inset 0 -3px 0 rgba(78, 4, 9, 0.55) !important;
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-size: clamp(22px, 2.35vw, 31px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 3px rgba(72, 5, 8, 0.42) !important;
}

body.treehouse-theme .wood-sign-plank h1::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1.6px dashed rgba(253, 224, 115, 0.78);
    pointer-events: none;
}

/* --- 3-Column Bento Grid Proportions --- */
@media (min-width: 992px) {
    body.treehouse-theme .activity-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.56fr) minmax(0, 1fr) !important;
        gap: 14px 18px !important;
    }
}

/* --- Horizontal Rounded Activity Cards (Left & Right Columns) --- */
body.treehouse-theme .activity-card {
    display: grid !important;
    grid-template-columns: clamp(78px, 6.8vw, 96px) minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 12px 9px 10px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f7 100%) !important;
    border: 2px solid #ecd4a8 !important;
    border-bottom: 5px solid #d4ae76 !important;
    box-shadow: 0 10px 22px rgba(55, 35, 15, 0.15), inset 0 2px 3px #ffffff !important;
}

/* Individual Card Rim & Circular Arrow Button Colors Matching Target */
body.treehouse-theme .activity-card.reading {
    background: linear-gradient(180deg, #ffffff 0%, #fff4f7 100%) !important;
    border-color: #e8a7b8 !important;
    border-bottom-color: #c87b90 !important;
    --btn-top: #f21b6d;
    --btn-bot: #bd0d50;
    --btn-lip: #8c083a;
}

body.treehouse-theme .activity-card.games {
    background: linear-gradient(180deg, #ffffff 0%, #fff5f8 100%) !important;
    border-color: #e5aebc !important;
    border-bottom-color: #c78395 !important;
    --btn-top: #fb921c;
    --btn-bot: #d96208;
    --btn-lip: #a34604;
}

body.treehouse-theme .activity-card.animation {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%) !important;
    border-color: #f3dba4 !important;
    border-bottom-color: #d8b572 !important;
    --btn-top: #5cc03b;
    --btn-bot: #358c1d;
    --btn-lip: #226310;
}

body.treehouse-theme .activity-card.videos {
    background: linear-gradient(180deg, #ffffff 0%, #f7f6ff 100%) !important;
    border-color: #b6b0e8 !important;
    border-bottom-color: #8b83c9 !important;
    --btn-top: #1aa0fb;
    --btn-bot: #056ad1;
    --btn-lip: #034b99;
}

body.treehouse-theme .activity-card.activities {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%) !important;
    border-color: #f3dba4 !important;
    border-bottom-color: #d8b572 !important;
    --btn-top: #fb921c;
    --btn-bot: #d96208;
    --btn-lip: #a34604;
}

body.treehouse-theme .activity-card.test {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%) !important;
    border-color: #f3dba4 !important;
    border-bottom-color: #d8b572 !important;
    --btn-top: #a22bf5;
    --btn-bot: #7012c2;
    --btn-lip: #4d0a87;
}

body.treehouse-theme .activity-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 28px rgba(55, 35, 15, 0.22), inset 0 2px 3px #ffffff !important;
}

/* Square 3D Icon Tile on Left of Each Activity Card */
body.treehouse-theme .activity-card .art {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    contain: none !important;
    border-radius: 17px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 5px 12px rgba(40, 20, 60, 0.16) !important;
    background: #f3e8ff !important;
}

body.treehouse-theme .activity-card .art::after {
    display: none !important;
}

body.treehouse-theme .activity-card .art > img,
body.treehouse-theme .activity-card .book-art > img {
    object-fit: cover !important;
    object-position: center center !important;
}

/* Text & Bottom-Right Circular Arrow Button */
body.treehouse-theme .activity-card .card-content {
    padding: 2px 0 2px 0 !important;
    gap: 8px !important;
    align-items: flex-end !important;
    height: 100%;
}

body.treehouse-theme .activity-card .card-text {
    align-self: center;
}

body.treehouse-theme .activity-card .card-content h2 {
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(16px, 1.38vw, 19.5px) !important;
    color: #0b1e3d !important;
    margin: 0 0 4px !important;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(205, 175, 140, 0.35);
    white-space: nowrap;
}

body.treehouse-theme .activity-card .card-content p {
    font-family: 'Nunito', 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(11px, 0.92vw, 12.6px) !important;
    color: #1f334f !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 4 !important;
}

body.treehouse-theme .activity-card .action {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bot) 100%) !important;
    border: 0 !important;
    border-bottom: 3.5px solid var(--btn-lip) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18), inset 0 1.5px 2px rgba(255, 255, 255, 0.38) !important;
    color: #ffffff !important;
    flex-shrink: 0;
}

body.treehouse-theme .activity-card .action svg {
    width: 16px !important;
    height: 16px !important;
}

/* --- Center Featured Video Card (Golden-Cream Frame + Red Watch Button + Rays) --- */
body.treehouse-theme .featured-video-card {
    background: #ffffff !important;
    border: 3px solid #f4c86a !important;
    border-bottom: 6.5px solid #df9f36 !important;
    border-radius: 26px !important;
    padding: 10px 10px 14px !important;
    box-shadow: 0 16px 34px rgba(72, 42, 8, 0.22), inset 0 2px 4px #ffffff !important;
}

body.treehouse-theme .featured-video-media {
    border-radius: 18px !important;
    border: 0 !important;
}

body.treehouse-theme .featured-video-media::after {
    display: none !important;
}

body.treehouse-theme .featured-video-content {
    padding: 10px 14px 0 !important;
}

body.treehouse-theme .featured-video-content h2 {
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(19px, 1.85vw, 24px) !important;
    color: #0b1e3d !important;
    margin: 0 0 2px !important;
}

body.treehouse-theme .featured-video-content p {
    font-family: 'Nunito', 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(12px, 1.02vw, 13.8px) !important;
    color: #1e3352 !important;
    margin: 0 0 9px !important;
}

body.treehouse-theme .watch-rays {
    width: 22px;
    height: 26px;
    flex-shrink: 0;
}

body.treehouse-theme .featured-watch-btn {
    gap: 10px !important;
    padding: 7px 26px 8px 14px !important;
    min-width: 190px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #f01e28 0%, #ca1019 55%, #9e0b12 100%) !important;
    border: 2.5px solid #f6be42 !important;
    border-bottom: 4.5px solid #86080e !important;
    box-shadow: 0 7px 16px rgba(165, 16, 24, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.32) !important;
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(14.5px, 1.28vw, 17px) !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1.5px 2px rgba(80, 5, 10, 0.4) !important;
}

body.treehouse-theme .featured-watch-btn .watch-play-badge {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(80, 5, 10, 0.25);
    flex-shrink: 0;
}

body.treehouse-theme .featured-watch-btn .watch-play-badge svg {
    width: 15px !important;
    height: 15px !important;
    stroke: none !important;
    transform: none !important;
}

/* --- Bottom Colorful 3D Capsule Navigation Buttons (Purple Back | Blue Home | Orange Next) --- */
@media (min-width: 992px) {
    body.treehouse-theme .hub-nav-bar {
        padding-left: clamp(32px, 5vw, 76px);
        padding-right: clamp(32px, 5vw, 76px);
        margin-top: 14px !important;
    }
}

body.treehouse-theme .hub-nav-btn {
    padding: 8px 24px 9px !important;
    border-radius: 999px !important;
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(15px, 1.32vw, 18px) !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
}

body.treehouse-theme .hub-nav-btn span {
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    text-shadow: 0 1.5px 2px rgba(0, 0, 0, 0.28) !important;
}

body.treehouse-theme .hub-nav-prev {
    background: linear-gradient(180deg, #9b3cf8 0%, #731de0 58%, #5711b5 100%) !important;
    border: 1.5px solid #bc85ff !important;
    border-bottom: 4.5px solid #3c0982 !important;
    box-shadow: 0 7px 15px rgba(72, 14, 145, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.34) !important;
}

body.treehouse-theme .hub-nav-home {
    background: linear-gradient(180deg, #2b9bf9 0%, #0d74e7 58%, #0758bd 100%) !important;
    border: 1.5px solid #7ec5ff !important;
    border-bottom: 4.5px solid #053d87 !important;
    box-shadow: 0 7px 15px rgba(8, 72, 160, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.34) !important;
}

body.treehouse-theme .hub-nav-home svg.home-solid-icon {
    fill: #ffffff !important;
    stroke: none !important;
    width: 19px !important;
    height: 19px !important;
}

body.treehouse-theme .hub-nav-next {
    background: linear-gradient(180deg, #fc9526 0%, #e4690c 58%, #bf4e06 100%) !important;
    border: 1.5px solid #fdbe72 !important;
    border-bottom: 4.5px solid #8c3503 !important;
    box-shadow: 0 7px 15px rgba(155, 58, 4, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.34) !important;
}

/* Compact Laptop Height Adjustment */
@media (max-height: 820px) and (min-width: 992px) {
    body.treehouse-theme .chapter-title-banner {
        margin-bottom: 10px !important;
    }
    body.treehouse-theme .wood-sign-plank h1 {
        padding: 5px 34px 7px !important;
        font-size: clamp(20px, 2vw, 26px) !important;
    }
    body.treehouse-theme .activity-card {
        grid-template-columns: 74px minmax(0, 1fr) !important;
        padding: 7px 10px 7px 8px !important;
        gap: 10px !important;
    }
    body.treehouse-theme .activity-card .action {
        width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }
    body.treehouse-theme .featured-video-media {
        min-height: clamp(190px, 29vh, 310px) !important;
    }
}

/* Tablet & Mobile Responsive Layout for Horizontal Cards */
@media (max-width: 991.98px) {
    body.treehouse-theme .activity-card {
        grid-template-columns: 82px minmax(0, 1fr) !important;
    }
    body.treehouse-theme .activity-card .art {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    body.treehouse-theme .activity-grid {
        grid-template-columns: 1fr !important;
    }
    body.treehouse-theme .sign-leaves {
        width: 42px;
        height: 48px;
    }
    body.treehouse-theme .sign-leaves-left {
        left: -24px;
    }
    body.treehouse-theme .sign-leaves-right {
        right: -24px;
    }
    body.treehouse-theme .activity-card {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        padding: 8px 10px 8px 8px !important;
    }
}
