        /* ===== MATERIAL SYMBOLS (ikon pengganti emoji) ===== */
        .material-symbols-rounded {
            font-family: 'Material Symbols Rounded';
            font-weight: normal;
            font-style: normal;
            font-size: 1em;
            line-height: 1;
            letter-spacing: normal;
            text-transform: none;
            display: inline-block;
            white-space: nowrap;
            word-wrap: normal;
            direction: ltr;
            vertical-align: -0.15em;
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            color: currentColor;
            -webkit-font-smoothing: antialiased;
        }
        .ic .material-symbols-rounded,
        .icon-box .material-symbols-rounded,
        .badge-icon .material-symbols-rounded,
        .contact-card-ic .material-symbols-rounded,
        .summary-ic .material-symbols-rounded,
        .ic-tag .material-symbols-rounded {
            vertical-align: middle;
        }

        /* ===== RESET & ROOT ===== */
        :root {
            --navy: #132242;
            --navy-2: #1A2A4A;
            --blue: #4A9FF5;
            --gray: #C0C7D6;
            --blue-light: #EAF3FE;
            --blue-softer: #F2F7FE;
            --bg: #F6F8FC;
            --white: #FFFFFF;
            --green: #1FAE6B;
            --green-light: #E7F8EF;
            --yellow: #F5A623;
            --yellow-light: #FEF3E0;
            --red: #E14B4B;
            --red-light: #FCEBEB;
            --orange: #F2994A;
            --orange-light: #FDEEE0;
            --purple: #7C6FEF;
            --purple-light: #EFECFE;
            --magenta: #B44FD1;
            --teal: #17A398;
            --teal-light: #E4F7F4;
            --text: #1A2233;
            --text-muted: #69728A;
            --line: #E4E9F3;
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 10px;
            --shadow: 0 10px 30px -12px rgba(19, 34, 66, 0.15);
            --font-d: 'Plus Jakarta Sans', sans-serif;
            --font-b: 'Inter', sans-serif;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
        body {
            font-family: var(--font-b);
            color: var(--text);
            background: var(--bg);
            line-height: 1.55;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            max-width: 100vw;
        }
        img, svg {
            max-width: 100%;
        }
        .btn {
            min-height: 44px;
        }
        @media(prefers-reduced-motion:reduce) {
            * {
                animation-duration: 0.001ms !important;
                transition-duration: 0.001ms !important;
            }
        }
        h1,
        h2,
        h3,
        h4 {
            font-family: var(--font-d);
            color: var(--navy-2);
            line-height: 1.2;
        }
        a {
            color: inherit;
            text-decoration: none;
        }
        ul {
            list-style: none;
        }
        button {
            font-family: var(--font-b);
            cursor: pointer;
        }
        img,
        svg {
            display: block;
        }
        :focus-visible {
            outline: 3px solid var(--blue);
            outline-offset: 2px;
        }

        /* ===== NAVBAR ===== */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(234, 243, 254, 0.9));
            backdrop-filter: saturate(160%) blur(14px);
            -webkit-backdrop-filter: saturate(160%) blur(14px);
            border-bottom: 1px solid var(--line);
            box-shadow: 0 1px 0 rgba(19, 34, 66, .02), 0 12px 24px -20px rgba(19, 34, 66, .35);
            padding-top: env(safe-area-inset-top);
        }
        .navbar-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            min-height: 56px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 1.05rem;
            color: var(--navy-2);
            line-height: 1.15;
        }
        .logo .mark {
            width: var(--logo-size, 36px);
            height: var(--logo-size, 36px);
            border-radius: var(--logo-radius, 999px);
            background: linear-gradient(135deg, var(--navy-2), var(--blue));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            overflow: hidden;
            box-shadow: 0 6px 16px -6px rgba(74, 159, 245, .55);
        }
        .logo .mark svg {
            width: 22px;
            height: 22px;
            transition: transform .6s ease;
        }
        .logo:hover .mark svg {
            transform: rotate(50deg);
        }
        /* Logo image dari branding config (config/branding.js) */
        .logo .mark .logo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* Fallback huruf jika logo.image gagal dimuat */
        .logo .mark .logo-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-family: var(--font-d);
            font-weight: 800;
            font-size: calc(var(--logo-size, 38px) * 0.5);
        }
        .logo .sub {
            display: block;
            font-family: var(--font-b);
            font-weight: 500;
            font-size: 0.64rem;
            color: var(--text-muted);
            letter-spacing: .01em;
            margin-top: 2px;
        }
        .nav-cta {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 11px 20px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.9rem;
            border: none;
            transition: transform .15s ease, box-shadow .15s ease, background .2s;
        }
        .btn:active {
            transform: scale(0.97);
        }
        .btn-primary {
            background: var(--navy-2);
            color: #fff;
        }
        .btn-primary:hover {
            background: var(--navy);
            box-shadow: 0 8px 20px -6px rgba(19, 34, 66, .45);
        }
        .btn-outline {
            background: #fff;
            color: var(--navy-2);
            border: 1.5px solid var(--line);
        }
        .btn-outline:hover {
            border-color: var(--blue);
            color: var(--blue);
        }
        .btn-accent {
            background: var(--blue);
            color: #fff;
        }
        .btn-accent:hover {
            background: #3688e0;
            box-shadow: 0 8px 20px -6px rgba(74, 159, 245, .55);
        }
        .btn-success {
            background: var(--green);
            color: #fff;
        }
        .btn-success:hover {
            background: #0f8a4f;
            box-shadow: 0 8px 20px -6px rgba(31, 174, 107, .5);
        }

        /* ===== BOTTOM NAV ===== */
        body {
            padding-bottom: calc(84px + env(safe-area-inset-bottom));
        }
        .bottom-nav {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 200;
            background: rgba(255, 255, 255, 0.99);
            backdrop-filter: saturate(160%) blur(14px);
            -webkit-backdrop-filter: saturate(160%) blur(14px);
            border-top: 1px solid var(--line);
            border-radius: 20px 20px 0 0;
            display: flex;
            justify-content: space-around;
            align-items: stretch;
            padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
            box-shadow: 0 -10px 30px -16px rgba(19, 34, 66, .3);
        }
        .bottom-nav-btn {
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            background: none;
            border: none;
            padding: 6px 4px;
            min-height: 48px;
            border-radius: 14px;
            color: var(--text-muted);
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: .01em;
            transition: color .2s ease, background .25s cubic-bezier(.34,1.56,.64,1), transform .15s ease;
        }
        .bottom-nav-btn:active {
            transform: scale(.94);
        }
        .bottom-nav-btn .icon {
            font-size: 1.28rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .bottom-nav-btn .icon svg {
            width: 22px;
            height: 22px;
            display: block;
        }
        .bottom-nav-btn:not([data-group="bantuan"]) .icon svg {
            opacity: .68;
            transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
        }
        .bottom-nav-btn.active {
            color: var(--blue);
            background: var(--blue-light);
        }
        .bottom-nav-btn.active:not([data-group="bantuan"]) .icon svg {
            opacity: 1;
        }
        .bottom-nav .bottom-nav-btn.active::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 50%;
            width: 18px;
            height: 3px;
            border-radius: 999px;
            background: var(--blue);
            transform: translateX(-50%) scaleX(0);
            animation: navIndicatorIn .28s cubic-bezier(.34,1.56,.64,1) forwards;
            pointer-events: none;
        }
        @keyframes navIndicatorIn {
            to { transform: translateX(-50%) scaleX(1); }
        }
        .bottom-nav-btn.active .icon {
            transform: translateY(-1px) scale(1.08);
        }
        .bottom-nav-btn .icon {
            transition: transform .25s cubic-bezier(.34,1.56,.64,1);
        }
        .bottom-nav-btn[data-group="bantuan"] {
            position: relative;
            color: var(--blue);
        }
        .bottom-nav-btn[data-group="bantuan"] .icon {
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            color: #fff;
            width: 30px;
            height: 30px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            box-shadow: 0 6px 16px -5px rgba(74, 159, 245, .75);
            transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
        }
        .bottom-nav-btn[data-group="bantuan"] .icon svg {
            width: 17px;
            height: 17px;
        }
        .bottom-nav-btn[data-group="bantuan"]:active .icon {
            transform: scale(.9);
        }
        .bottom-nav-btn[data-group="bantuan"]::after {
            content: "";
            position: absolute;
            top: 4px;
            right: calc(50% - 20px);
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--red);
            border: 2px solid #fff;
            animation: pulseHelp 2s infinite;
        }
        @keyframes pulseHelp {
            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.3);
                opacity: .7;
            }
        }
        @media(min-width:760px) {
            body {
                padding-bottom: 26px;
            }
            .bottom-nav {
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                bottom: 18px;
                width: auto;
                min-width: 520px;
                max-width: 640px;
                border-radius: 999px;
                border: 1px solid var(--line);
                padding: 8px 14px;
                gap: 4px;
            }
            .bottom-nav-btn {
                font-size: 0.72rem;
                padding: 9px 14px;
                flex: none;
            }
            .bottom-nav-btn .icon {
                font-size: 1.35rem;
            }
            .bottom-nav-btn[data-group="bantuan"] .icon {
                width: 34px;
                height: 34px;
            }
            .bottom-nav-btn[data-group="bantuan"] .icon svg {
                width: 19px;
                height: 19px;
            }
        }
        @media(min-width:1100px) {
            .bottom-nav {
                min-width: 600px;
                padding: 9px 18px;
            }
            .bottom-nav-btn {
                font-size: 0.78rem;
                padding: 10px 18px;
            }
        }

        /* ===== SHEETS ===== */
        .sheet-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(13, 22, 45, .42);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            z-index: 198;
        }
        .sheet-overlay.open {
            display: block;
        }
        .nav-sheet {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 199;
            background: #fff;
            border-radius: 22px 22px 0 0;
            box-shadow: 0 -16px 40px -12px rgba(19, 34, 66, .32);
            padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
            transform: translateY(115%);
            transition: transform .3s cubic-bezier(.32,.72,0,1);
            max-height: 64vh;
            overflow-y: auto;
        }
        .nav-sheet.open {
            transform: translateY(0);
        }
        .nav-sheet-handle {
            width: 38px;
            height: 4px;
            background: var(--line);
            border-radius: 99px;
            margin: 6px auto 14px;
        }
        .nav-sheet-title {
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 0.95rem;
            color: var(--navy-2);
            padding: 0 8px 8px;
            display: flex;
            align-items: center;
            gap: 7px;
        }
        .nav-sheet-title-icon {
            display: inline-flex;
            color: var(--blue);
        }
        .nav-sheet-title-icon svg {
            width: 17px;
            height: 17px;
        }
        .nav-sheet button {
            display: flex;
            width: 100%;
            align-items: center;
            gap: 12px;
            text-align: left;
            background: none;
            border: none;
            padding: 13px 10px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.92rem;
            color: var(--text);
        }
        .nav-sheet button:hover {
            background: var(--blue-softer);
        }
        .nav-sheet button.active {
            background: var(--blue-light);
            color: var(--blue);
        }
        .nav-sheet .menu-ic {
            font-size: 1.15rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .nav-sheet .menu-ic svg {
            width: 20px;
            height: 20px;
            display: block;
        }
        .nav-sheet button {
            transition: background .18s ease, color .18s ease, transform .15s ease;
        }
        .nav-sheet button:active {
            transform: scale(.97);
        }
        #sheet-bantuan {
            left: 12px;
            right: 12px;
            bottom: calc(78px + env(safe-area-inset-bottom));
            border-radius: 22px;
            box-shadow: 0 14px 38px -10px rgba(19, 34, 66, .38);
            max-height: none;
        }
        @media(min-width:760px) {
            #sheet-bantuan {
                left: 50%;
                right: auto;
                transform: translate(-50%, 115%);
                width: 340px;
                bottom: 118px;
            }
            #sheet-bantuan.open {
                transform: translate(-50%, 0);
            }
        }
        .is-android-app .nav-sheet {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            padding-left: 12px;
            padding-right: 12px;
        }
        .is-android-app .nav-sheet-handle,
        .is-android-app .nav-sheet-title {
            grid-column: 1 / -1;
        }
        .is-android-app .nav-sheet button {
            flex-direction: column;
            justify-content: center;
            text-align: center;
            gap: 8px;
            padding: 16px 6px;
            border-radius: 18px;
            background: var(--blue-softer);
            transition: transform .15s ease, background .2s ease;
        }
        .is-android-app .nav-sheet button:active {
            transform: scale(.95);
        }
        .is-android-app .nav-sheet button.active {
            background: var(--blue-light);
        }
        .is-android-app .nav-sheet .menu-ic {
            font-size: 1.9rem;
        }
        .is-android-app .nav-sheet .menu-ic svg {
            width: 26px;
            height: 26px;
        }
        .is-android-app .nav-sheet .menu-label {
            font-size: 0.72rem;
            font-weight: 700;
        }
        .is-android-app .bottom-nav-btn .icon {
            font-size: 1.55rem;
        }
        .is-android-app .bottom-nav-btn .icon svg {
            width: 24px;
            height: 24px;
        }
        .is-android-app .bottom-nav-btn {
            font-size: 0.6rem;
        }

        /* ===== PAGE HELPERS ===== */
        .page {
            display: none;
            animation: fadeIn .35s ease;
        }
        .page.active {
            display: block;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: none;
            }
        }
        .wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: 64px 0;
        }
        @media (max-width: 640px) {
            .section {
                padding: 36px 0;
            }
            .wrap {
                padding: 0 20px;
            }
        }
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--blue);
            text-transform: uppercase;
            letter-spacing: .08em;
            margin-bottom: 14px;
        }
        .eyebrow::before {
            content: '';
            width: 16px;
            height: 2px;
            background: var(--blue);
            border-radius: 2px;
        }
        .section-title {
            font-size: clamp(1.5rem, 3vw, 2.1rem);
            margin-bottom: 10px;
        }
        .section-sub {
            color: var(--text-muted);
            max-width: 640px;
            margin-bottom: 24px;
            font-size: 0.98rem;
            line-height: 1.55;
        }
        /* Judul subseksi di dalam halaman materi (dulu inline style, 1.1rem/1.15rem campur) */
        .subsection-title {
            font-size: 1.15rem;
            margin: 32px 0 12px;
        }
        .subsection-title:first-child {
            margin-top: 0;
        }
        .card {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 22px;
            transition: transform .18s ease, box-shadow .18s ease;
        }
        .grid {
            display: grid;
            gap: 20px;
        }
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--blue);
            font-weight: 700;
            font-size: 0.86rem;
            margin-bottom: 18px;
            background: none;
            border: none;
        }
        .back-link-modern {
            padding: 9px 16px 9px 12px;
            border-radius: 999px;
            background: var(--blue-light);
            transition: background .2s ease, transform .15s ease;
        }
        .back-link-modern .bl-arrow {
            display: inline-flex;
            transition: transform .2s ease;
        }
        .back-link-modern:hover {
            background: var(--blue);
            color: #fff;
        }
        .back-link-modern:hover .bl-arrow {
            transform: translateX(-3px);
        }
        .back-link-modern:active {
            transform: scale(0.97);
        }

        /* ===== HERO ===== */
        .hero {
            /* Nilai foto/overlay/gradient asli sekarang diatur lewat
               config/appAppearance.js (lihat config/applyConfig.js).
               Nilai di bawah ini murni fallback jika config gagal dimuat. */
            background: linear-gradient(180deg, #0d162d 0%, #132242 60%, var(--bg) 96%);
            padding: 80px 0 40px;
            position: relative;
            overflow: hidden;
        }
        /* ===== HERO V2 — Beranda minimal, gaya aplikasi Android ===== */
        .hero-v2 {
            padding: 28px 0 32px;
        }
        .hero .wrap.hero-grid-v2 {
            position: relative;
            z-index: 3;
        }
        .hero-grid-v2 {
            display: block;
        }
        .hero-title-v2 {
            font-family: var(--font-d);
            font-size: clamp(1.5rem, 6vw, 2rem);
            line-height: 1.2;
            letter-spacing: -0.01em;
            color: #fff;
            margin-bottom: 8px;
        }
        .hero-title-v2 .hl {
            color: var(--blue);
        }
        .hero-lead-v2 {
            color: #c7d3ea;
            font-size: 0.94rem;
            line-height: 1.5;
            margin-bottom: 18px;
        }
        .hero-actions-v2 {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .hero-actions-v2 .btn {
            min-height: 46px;
        }
        .btn-ghost {
            background: rgba(255, 255, 255, .06);
            color: #fff;
            border: 1.5px solid rgba(255, 255, 255, .22);
        }
        .btn-ghost:active {
            transform: scale(.97);
        }
        @media(max-width:480px) {
            .hero-actions-v2 .btn {
                flex: 1 1 auto;
                width: 100%;
            }
        }

        /* ===== SPLASH / LOADING SCREEN ===== */
        html.nara-splash-lock,
        html.nara-splash-lock body {
            overflow: hidden;
            height: 100%;
        }
        /* Konten utama fade-in setelah splash selesai */
        main,
        .navbar {
            transition: opacity .6s ease .08s;
        }
        html.nara-splash-lock main,
        html.nara-splash-lock .navbar {
            opacity: 0;
        }
        .nara-splash {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            z-index: 99999;
            overflow: hidden;
            opacity: 1;
            transition: opacity .65s cubic-bezier(.4, 0, .2, 1);
        }
        .nara-splash.is-hiding {
            opacity: 0;
            pointer-events: none;
        }
        .nara-splash-bg-wrap {
            position: absolute;
            inset: 0;
            transition: transform .7s cubic-bezier(.22, .61, .36, 1);
            will-change: transform;
        }
        .nara-splash.is-hiding .nara-splash-bg-wrap {
            transform: scale(.96);
        }
        .nara-splash-bg {
            position: absolute;
            inset: -3%;
            background-color: var(--navy);
            background-image: url('https://files.catbox.moe/xpce64.jpeg');
            background-size: cover;
            background-position: center 58%;
            background-repeat: no-repeat;
            animation: naraBgFloat 14s ease-in-out infinite alternate;
            will-change: transform;
        }
        /* Gerakan cahaya sangat halus di atas background */
        .nara-splash-light {
            position: absolute;
            inset: -20%;
            background: radial-gradient(ellipse 55% 40% at 30% 20%, rgba(143, 196, 250, .16), rgba(143, 196, 250, 0) 70%);
            animation: naraLightDrift 12s ease-in-out infinite alternate;
            pointer-events: none;
            will-change: transform;
        }
        .nara-splash-overlay {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(19,34,66,.16) 0%, rgba(19,34,66,.08) 38%, rgba(13,22,44,.52) 100%);
        }
        /* Brand lockup di area atas */
        .nara-splash-brand {
            position: absolute;
            top: calc(env(safe-area-inset-top, 0px) + 20px);
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 18px 8px 9px;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .26);
            border-radius: 999px;
            backdrop-filter: blur(12px) saturate(150%);
            -webkit-backdrop-filter: blur(12px) saturate(150%);
            box-shadow: 0 10px 28px -12px rgba(8, 16, 38, .4);
            animation: naraBrandIn .8s cubic-bezier(.22, .61, .36, 1) .1s both;
            white-space: nowrap;
        }
        .nara-splash-logo {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            overflow: hidden;
            flex: 0 0 auto;
            box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
            background: var(--navy-2);
        }
        .nara-splash-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .nara-splash-brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.15;
        }
        .nara-splash-name {
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 1.02rem;
            color: #fff;
            letter-spacing: .14em;
            text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
        }
        .nara-splash-sub {
            font-size: .6rem;
            font-weight: 600;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, .88);
        }
        /* Konten loading di area bawah (glass card) */
        .nara-splash-content {
            position: absolute;
            left: 50%;
            bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(28px, 7vh, 64px));
            transform: translateX(-50%);
            width: min(88vw, 340px);
            animation: naraContentIn .8s cubic-bezier(.22, .61, .36, 1) .25s both;
        }
        .nara-splash-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            padding: 22px 24px;
            background: rgba(255, 255, 255, .10);
            border: 1px solid rgba(255, 255, 255, .22);
            border-radius: 22px;
            backdrop-filter: blur(14px) saturate(150%);
            -webkit-backdrop-filter: blur(14px) saturate(150%);
            box-shadow: 0 18px 40px -18px rgba(8, 16, 38, .45);
            text-align: center;
        }
        .nara-splash-text {
            font-family: var(--font-d);
            font-size: clamp(.92rem, 2.6vw + .55rem, 1.05rem);
            font-weight: 600;
            color: #fff;
            letter-spacing: .2px;
            text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
        }
        .nara-splash-dots {
            display: flex;
            align-items: center;
            gap: 9px;
        }
        .nara-splash-dots span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #fff;
            opacity: .35;
            transform: scale(.78);
            box-shadow: 0 0 10px rgba(143, 196, 250, .65);
            animation: naraDotPulse 1.4s ease-in-out infinite;
        }
        .nara-splash-dots span:nth-child(2) { animation-delay: .18s; }
        .nara-splash-dots span:nth-child(3) { animation-delay: .36s; }
        .nara-splash-progress {
            width: min(220px, 100%);
            height: 4px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .22);
            overflow: hidden;
        }
        .nara-splash-progress-bar {
            display: block;
            height: 100%;
            width: 0;
            border-radius: 999px;
            background: linear-gradient(90deg, #8FC4FA, #FFFFFF);
            box-shadow: 0 0 8px rgba(143, 196, 250, .8);
            animation: naraProgress 3.4s cubic-bezier(.3, .6, .35, 1) .3s forwards;
            will-change: width;
        }
        @keyframes naraDotPulse {
            0%, 80%, 100% { opacity: .35; transform: scale(.78); background: #fff; }
            40% { opacity: 1; transform: scale(1.2); background: #8FC4FA; }
        }
        @keyframes naraBrandIn {
            from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.96); }
            to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
        }
        @keyframes naraContentIn {
            from { opacity: 0; transform: translateX(-50%) translateY(14px); }
            to { opacity: 1; transform: translateX(-50%) translateY(0); }
        }
        @keyframes naraBgFloat {
            from { transform: scale(1.02) translateY(0); }
            to { transform: scale(1.07) translateY(-1.2%); }
        }
        @keyframes naraLightDrift {
            from { transform: translate3d(-3%, 0, 0); }
            to { transform: translate3d(3%, 2%, 0); }
        }
        @keyframes naraProgress {
            0% { width: 0; }
            25% { width: 38%; }
            55% { width: 64%; }
            80% { width: 85%; }
            100% { width: 100%; }
        }
        @media (max-width: 600px) {
            .nara-splash-bg {
                background-position: center top;
            }
            .nara-splash-brand {
                top: calc(env(safe-area-inset-top, 0px) + 14px);
            }
        }
        @media (orientation: landscape) and (max-height: 500px) {
            .nara-splash-brand {
                top: calc(env(safe-area-inset-top, 0px) + 10px);
                padding: 5px 14px 5px 6px;
            }
            .nara-splash-logo { width: 26px; height: 26px; }
            .nara-splash-name { font-size: .85rem; }
            .nara-splash-sub { font-size: .52rem; }
            .nara-splash-content {
                bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
                width: min(70vw, 320px);
            }
            .nara-splash-card {
                gap: 10px;
                padding: 14px 18px;
            }
            .nara-splash-text { font-size: .85rem; }
        }
        @media (prefers-reduced-motion: reduce) {
            .nara-splash-bg,
            .nara-splash-light,
            .nara-splash-dots span,
            .nara-splash-progress-bar,
            .nara-splash-brand,
            .nara-splash-content {
                animation: none;
            }
            .nara-splash-progress-bar { width: 100%; }
            .nara-splash-brand { opacity: 1; transform: translateX(-50%); }
            .nara-splash-content { opacity: 1; transform: translateX(-50%); }
        }

        /* Lapisan foto background (diisi oleh applyConfig.js dari appAppearance.homeBackground) */
        .hero-photo-layer {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background-repeat: no-repeat;
        }
        /* Lapisan overlay/gradient/glow (diisi oleh applyConfig.js) */
        .hero-overlay-layer {
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 2;
            opacity: 0.12;
            pointer-events: none;
        }
        .hero-bg svg {
            width: 100%;
            height: 100%;
        }
        .hero .wrap.hero-grid {
            position: relative;
            z-index: 3;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 48px;
            align-items: center;
        }
        .hero h1 {
            font-size: clamp(2rem, 4vw, 2.9rem);
            letter-spacing: -0.01em;
            margin-bottom: 18px;
            color: #fff;
        }
        .hero p.lead {
            color: #dbe4f5;
            font-size: 1.05rem;
            max-width: 520px;
            margin-bottom: 28px;
        }
        .hero .eyebrow {
            color: #a9d0ff;
        }
        .hero .eyebrow::before {
            background: #a9d0ff;
        }
        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }
        .hero-tags {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
            color: #dbe4f5;
            font-size: 0.82rem;
            font-weight: 600;
        }
        .hero-tags span {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .hero-tags .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
        }
        .hero-caption {
            font-size: 0.72rem;
            color: #9fb0d4;
            margin-top: 10px;
        }
        .hero-visual {
            position: relative;
            aspect-ratio: 1/1;
            border-radius: 32px;
            background: radial-gradient(circle at 30% 20%, #fff 0%, var(--blue-light) 55%, var(--blue-softer) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--line);
        }
        .hero-visual .ring {
            position: absolute;
            border-radius: 50%;
            border: 2px dashed rgba(74, 159, 245, .35);
            animation: spin 40s linear infinite;
        }
        .hero-visual .ring.r1 {
            width: 78%;
            height: 78%;
        }
        .hero-visual .ring.r2 {
            width: 58%;
            height: 58%;
            animation-direction: reverse;
            animation-duration: 28s;
        }
        @keyframes spin {
            from {
                transform: rotate(0);
            }
            to {
                transform: rotate(360deg);
            }
        }
        .hero-visual .compass-big {
            width: 44%;
            filter: drop-shadow(0 20px 30px rgba(19, 34, 66, .25));
        }
        .hero-visual .compass-big svg {
            width: 100%;
            height: 100%;
        }
        .hero-visual .compass-big .needle {
            transform-origin: 50% 50%;
            animation: sway 6s ease-in-out infinite;
        }
        @keyframes sway {
            0%,
            100% {
                transform: rotate(-8deg);
            }
            50% {
                transform: rotate(8deg);
            }
        }

        /* ===== ICON CARDS ===== */
        .icon-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            margin-top: 8px;
        }
        .icon-card {
            padding: 22px;
            text-align: left;
        }
        .icon-card .ic {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--blue-light);
            margin-bottom: 14px;
            font-size: 1.3rem;
        }
        .icon-card h4 {
            font-size: 1.02rem;
            margin-bottom: 6px;
        }
        .icon-card p {
            color: var(--text-muted);
            font-size: 0.88rem;
        }
        @media(max-width:760px) {
            .icon-cards {
                grid-template-columns: 1fr;
            }
            .hero-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ===== DASHBOARD ===== */
        .dash-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }
        .greet {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
        }
        .greet h2 {
            font-size: 1.4rem;
            margin-bottom: 2px;
        }
        .greet p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .progress-card {
            padding: 26px;
            display: flex;
            align-items: center;
            gap: 28px;
            margin-bottom: 22px;
            flex-wrap: wrap;
        }
        .ring-progress {
            position: relative;
            width: 96px;
            height: 96px;
            flex-shrink: 0;
        }
        .ring-progress svg {
            width: 100%;
            height: 100%;
            transform: rotate(-90deg);
        }
        .ring-progress .pct {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-family: var(--font-d);
            color: var(--navy-2);
        }
        .progress-card .info {
            flex: 1;
            min-width: 220px;
        }
        .progress-card .bar {
            height: 8px;
            background: var(--blue-light);
            border-radius: 999px;
            overflow: hidden;
            margin-top: 10px;
        }
        .progress-card .bar>div {
            height: 100%;
            width: 65%;
            background: linear-gradient(90deg, var(--blue), var(--navy-2));
            border-radius: 999px;
        }
        .dash-grid {
            display: flex;
            gap: 12px;
            margin-bottom: 22px;
        }
        .dash-tile {
            padding: 18px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            width: 148px;
        }
        .dash-tile .ic {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .dash-tile h5 {
            font-size: 0.92rem;
            margin-bottom: 2px;
        }
        .dash-tile span {
            font-size: 0.78rem;
            color: var(--text-muted);
        }
        .banner-warn {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px 22px;
            border-radius: var(--radius-md);
            background: var(--red-light);
            border: 1px solid #f3caca;
            margin-bottom: 22px;
        }
        .banner-warn .ic {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--red);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 1.1rem;
        }
        .banner-warn h5 {
            color: #8f2b2b;
            margin-bottom: 2px;
            font-size: 0.95rem;
        }
        .banner-warn p {
            color: #a33;
            font-size: 0.85rem;
        }
        .banner-warn .btn {
            margin-left: auto;
            flex-shrink: 0;
        }

        /* ===== PUSAT BANTUAN (halaman Data) ===== */
        .helpcenter-card {
            padding: 22px;
        }
        .helpcenter-head {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            margin-bottom: 16px;
        }
        .helpcenter-head .ic {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--blue-light);
            color: var(--blue);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 1.1rem;
        }
        .helpcenter-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .helpcenter-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            text-align: left;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--line);
            background: var(--bg);
            color: var(--text);
            font-family: var(--font-b);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            min-height: 44px;
            transition: background .15s ease, border-color .15s ease, transform .1s ease;
        }
        .helpcenter-btn .material-symbols-rounded {
            color: var(--blue);
            flex-shrink: 0;
        }
        .helpcenter-btn:hover {
            background: var(--blue-light);
            border-color: var(--blue);
        }
        .helpcenter-btn:active {
            transform: scale(.98);
        }
        @media(max-width:520px) {
            .helpcenter-grid {
                grid-template-columns: 1fr;
            }
        }

        @media(max-width:820px) {
            .banner-warn {
                flex-wrap: wrap;
            }
            .banner-warn .btn {
                margin-left: 0;
            }
        }
        .ai-teaser {
            padding: 22px;
            display: flex;
            align-items: center;
            gap: 18px;
            background: linear-gradient(120deg, var(--navy-2), var(--navy));
            border: none;
            color: #fff;
        }
        .ai-teaser .bot {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: rgba(255, 255, 255, .12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            flex-shrink: 0;
        }
        .ai-teaser h5 {
            color: #fff;
            font-size: 1.02rem;
            margin-bottom: 3px;
        }
        .ai-teaser p {
            color: #c7d3ea;
            font-size: 0.85rem;
            margin-bottom: 12px;
        }

        /* ===== EDUKASI ===== */
        .edu-welcome {
            background: linear-gradient(120deg, #8B7CF6, #6C8DF5 55%, #4A9FF5);
            border-radius: 28px;
            padding: 28px 26px;
            margin-bottom: 20px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        /* Versi ringkas: satu baris sapaan saja, tinggi jauh lebih kecil */
        .edu-welcome.edu-welcome-compact {
            padding: 14px 18px;
            margin-bottom: 12px;
            border-radius: 18px;
        }
        .edu-welcome-compact .hi {
            font-size: 1rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .edu-welcome-compact .hi .material-symbols-rounded {
            font-size: 1.1rem;
        }
        .edu-welcome-compact .sub {
            font-size: 0.82rem;
            font-weight: 600;
            opacity: .95;
        }
        .edu-welcome::before {
            content: "";
            position: absolute;
            right: -40px;
            top: -40px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .14);
        }
        .edu-welcome::after {
            content: "";
            position: absolute;
            left: -30px;
            bottom: -50px;
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .10);
        }
        .edu-welcome .hi {
            font-size: 1.4rem;
            font-weight: 800;
            font-family: var(--font-d);
            position: relative;
            z-index: 1;
        }
        .edu-welcome .sub {
            font-size: 0.98rem;
            font-weight: 700;
            margin-top: 2px;
            position: relative;
            z-index: 1;
            opacity: .96;
        }
        .edu-welcome p {
            font-size: 0.86rem;
            margin-top: 8px;
            max-width: 520px;
            opacity: .92;
            position: relative;
            z-index: 1;
        }
        .edu-stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-bottom: 22px;
        }
        @media(max-width:760px) {
            .edu-stats-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .edu-stat-pill {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 18px;
            padding: 14px 12px;
            text-align: center;
            box-shadow: var(--shadow);
        }
        .edu-stat-pill .v {
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 1.15rem;
            color: var(--navy-2);
        }
        .edu-stat-pill .k {
            font-size: 0.7rem;
            color: var(--text-muted);
            font-weight: 700;
            margin-top: 2px;
        }

        /* ===== EDUKASI — Ringkasan compact (player + stats + streak) ===== */
        .edu-summary-compact {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 14px;
        }

        /* Kartu "Petualang NARA" ringkas */
        .player-mini {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 16px;
            background: linear-gradient(120deg, var(--navy-2), var(--navy));
            color: #fff;
        }
        .player-mini-avatar {
            width: 36px;
            height: 36px;
            border-radius: 11px;
            background: rgba(255, 255, 255, .14);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-family: var(--font-d);
            font-size: 0.82rem;
            flex-shrink: 0;
        }
        .player-mini-info {
            flex: 1;
            min-width: 0;
        }
        .player-mini-row1 {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
        }
        .player-mini-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #fff;
        }
        .player-mini-materi {
            font-size: 0.68rem;
            color: #c7d3ea;
            white-space: nowrap;
        }
        .player-mini-bar {
            height: 5px;
            background: rgba(255, 255, 255, .16);
            border-radius: 999px;
            overflow: hidden;
            margin-top: 6px;
            width: 100%;
        }
        .player-mini-next {
            display: block;
            color: #c7d3ea;
            font-size: 0.65rem;
            margin-top: 4px;
        }
        .player-mini-badges {
            display: flex;
            gap: 3px;
            flex-shrink: 0;
            max-width: 74px;
            overflow: hidden;
        }
        .player-mini-badges .badge-pill {
            width: 18px;
            height: 18px;
            border-radius: 6px;
            font-size: 0.6rem;
        }
        .player-mini-badges .badge-pill .material-symbols-rounded {
            font-size: 0.7rem;
        }

        /* Baris statistik ringkas: Level · XP · Streak · Badge dalam satu kartu */
        .edu-stats-compact {
            display: flex;
            align-items: stretch;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 14px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }
        .stat-mini {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 8px 4px;
            border-right: 1px solid var(--line);
            min-width: 0;
        }
        .stat-mini:last-child {
            border-right: none;
        }
        .stat-mini .material-symbols-rounded {
            font-size: 0.95rem;
            color: var(--blue);
            flex-shrink: 0;
        }
        .stat-mini b {
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 0.72rem;
            color: var(--navy-2);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Kartu streak ringkas */
        .streak-compact {
            background: linear-gradient(135deg, #FFF5E6, #FFECD2);
            border: 1px solid #f6dfa8;
            border-radius: 14px;
            padding: 10px 14px;
        }
        .streak-compact-head {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .streak-compact-head .material-symbols-rounded {
            font-size: 1.05rem;
            color: #c47d0a;
        }
        .streak-compact-title {
            font-size: 0.82rem;
            font-weight: 800;
            color: #8a5a06;
        }
        .streak-compact-title small {
            font-size: 0.7rem;
            font-weight: 700;
        }
        .streak-compact-sub {
            font-size: 0.72rem;
            color: #9c7526;
            margin: 2px 0 8px;
        }
        .streak-week-mini {
            display: flex;
            gap: 5px;
        }
        .streak-week-mini .streak-day {
            width: auto;
            gap: 0;
        }
        .streak-week-mini .streak-day .d-label {
            display: none;
        }
        .streak-week-mini .streak-day .d-dot {
            width: 15px;
            height: 15px;
            font-size: 0;
            background: rgba(255, 255, 255, .55);
            border: 1px solid #f0d99a;
        }
        .streak-week-mini .streak-day.is-active .d-dot {
            background: #f0a020;
            box-shadow: none;
        }
        .edu-daily {
            display: flex;
            align-items: center;
            gap: 14px;
            background: var(--yellow-light);
            border: 1px solid #f6dfa8;
            border-radius: 20px;
            padding: 14px 18px;
            margin-bottom: 26px;
        }
        .edu-daily .ic {
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        .edu-daily h5 {
            font-size: 0.9rem;
            color: #8a5a06;
            margin-bottom: 2px;
        }
        .edu-daily p {
            font-size: 0.8rem;
            color: #9c7526;
        }
        .edu-cat-block {
            margin-bottom: 20px;
        }
        .edu-cat-head {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .edu-cat-head .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .edu-cat-head h3 {
            font-size: 1.05rem;
            font-family: var(--font-d);
            color: var(--navy-2);
        }
        .edu-cat-head span.count {
            font-size: 0.72rem;
            color: var(--text-muted);
            font-weight: 700;
            background: var(--blue-softer);
            padding: 3px 10px;
            border-radius: 999px;
            margin-left: auto;
        }
        .edu-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        @media(max-width:560px) {
            .edu-grid {
                gap: 9px;
            }
        }
        .edu-card {
            position: relative;
            border: none;
            border-radius: 20px;
            padding: 12px 8px 11px;
            text-align: center;
            cursor: pointer;
            transition: transform .18s ease, box-shadow .18s ease;
            box-shadow: 0 8px 20px -10px rgba(19, 34, 66, .18);
            -webkit-tap-highlight-color: transparent;
        }
        .edu-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 30px -14px rgba(19, 34, 66, .3);
        }
        .edu-card:active {
            transform: scale(0.95) translateY(0);
            box-shadow: 0 6px 14px -8px rgba(19, 34, 66, .2);
        }
        .edu-card .ic-wrap {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            margin: 0 auto 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
        }
        /* Mode icon gambar resmi NARA (bukan emoji): gambar sudah punya
           latar sendiri, jadi wrapper dibuat transparan agar tidak dobel. */
        .edu-card .ic-wrap.ic-img {
            width: 56px;
            height: 56px;
            background: none;
            border-radius: 0;
        }
        .edu-card .ic-wrap.ic-img .nara-icon {
            width: 56px;
            height: 56px;
            object-fit: contain;
            display: block;
        }
        @media (max-width: 768px) {
            .edu-card .ic-wrap.ic-img,
            .edu-card .ic-wrap.ic-img .nara-icon {
                width: 48px;
                height: 48px;
            }
        }
        .edu-card h4 {
            font-size: 0.78rem;
            font-weight: 800;
            color: var(--navy-2);
            line-height: 1.25;
            font-family: var(--font-b);
        }
        .edu-card [data-materi-status] {
            position: absolute;
            top: 8px;
            right: 8px;
            font-size: 0.55rem;
            padding: 2px 6px;
        }
        .edu-card [data-materi-status]:empty {
            display: none;
        }
        .edu-card.c-blue {
            background: var(--blue-light);
        }
        .edu-card.c-blue .ic-wrap {
            background: linear-gradient(135deg, var(--blue), #2f74c9);
            color: #fff;
        }
        .edu-card.c-purple {
            background: var(--purple-light);
        }
        .edu-card.c-purple .ic-wrap {
            background: linear-gradient(135deg, var(--purple), var(--magenta));
            color: #fff;
        }
        .edu-card.c-teal {
            background: var(--teal-light);
        }
        .edu-card.c-teal .ic-wrap {
            background: linear-gradient(135deg, var(--teal), var(--green));
            color: #fff;
        }
        .edu-card.c-blue .ic-wrap.ic-img,
        .edu-card.c-purple .ic-wrap.ic-img,
        .edu-card.c-teal .ic-wrap.ic-img {
            background: none;
        }
        .edu-card .badge-hot {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--red);
            color: #fff;
            font-size: 0.55rem;
            font-weight: 800;
            padding: 3px 10px;
            border-radius: 999px;
            box-shadow: 0 4px 8px -4px rgba(225, 75, 75, .4);
        }

        /* ===== MODULE DETAIL ===== */
        .module-hero {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 8px;
        }
        .content-list {
            display: grid;
            gap: 12px;
            margin: 26px 0;
        }
        .content-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px 18px;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: var(--radius-sm);
        }
        .content-list li .n {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--blue-light);
            color: var(--blue);
            font-weight: 800;
            font-size: 0.78rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .steps-list {
            display: grid;
            gap: 10px;
            margin: 24px 0;
        }
        .steps-list li {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 14px 0;
            border-bottom: 1px solid var(--line);
        }
        .steps-list li:last-child {
            border-bottom: none;
        }
        .steps-list .n {
            font-family: var(--font-d);
            font-weight: 800;
            color: var(--blue);
            font-size: 1.1rem;
            width: 28px;
            flex-shrink: 0;
        }
        .empathy-note {
            margin-top: 26px;
            padding: 20px 22px;
            border-radius: var(--radius-md);
            background: var(--green-light);
            border: 1px solid #c7ecd8;
            color: #186b45;
            font-weight: 600;
        }

        /* ===== PERGAULAN SEHAT SPECIFIC STYLES ===== */
        .sehat-hero {
            background: linear-gradient(135deg, #E7F8EF, #B8E6D0);
            border-radius: var(--radius-lg);
            padding: 36px 32px;
            margin-bottom: 28px;
            border: 1px solid #c7ecd8;
            position: relative;
            overflow: hidden;
        }
        .sehat-hero::after {
            content: 'handshake';
            font-family: 'Material Symbols Rounded';
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
            position: absolute;
            right: 20px;
            bottom: 10px;
            font-size: 5rem;
            opacity: 0.15;
        }
        .sehat-hero .eyebrow {
            color: #0f8a4f;
        }
        .sehat-hero .eyebrow::before {
            background: #0f8a4f;
        }
        .sehat-hero h2 {
            color: var(--navy-2);
        }
        .sehat-hero p {
            color: var(--text-muted);
            max-width: 600px;
            font-size: 0.98rem;
        }

        .sehat-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 24px 0;
        }
        @media(max-width:660px) {
            .sehat-grid-2 {
                grid-template-columns: 1fr;
            }
        }

        .sehat-tip-card {
            padding: 24px 22px;
            border-radius: var(--radius-md);
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
            transition: transform .2s ease, box-shadow .2s ease;
        }
        .sehat-tip-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 32px -12px rgba(19, 34, 66, .18);
        }
        .sehat-tip-card .tip-icon {
            font-size: 2rem;
            margin-bottom: 10px;
            display: block;
        }
        .sehat-tip-card h4 {
            font-size: 1rem;
            margin-bottom: 6px;
            color: var(--navy-2);
        }
        .sehat-tip-card p {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.6;
        }
        .sehat-tip-card ul {
            margin-top: 10px;
            padding-left: 18px;
            list-style: disc;
            color: var(--text-muted);
            font-size: 0.86rem;
        }
        .sehat-tip-card ul li {
            margin-bottom: 6px;
        }

        .signs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin: 20px 0;
        }
        @media(max-width:600px) {
            .signs-grid {
                grid-template-columns: 1fr;
            }
        }
        .sign-card {
            padding: 18px 20px;
            border-radius: var(--radius-sm);
            border-left: 4px solid var(--green);
            background: var(--green-light);
        }
        .sign-card.danger {
            border-left-color: var(--red);
            background: var(--red-light);
        }
        .sign-card h5 {
            font-size: 0.9rem;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sign-card p {
            font-size: 0.84rem;
            color: var(--text-muted);
        }

        .boundary-card {
            background: linear-gradient(135deg, var(--blue-light), #d4e8fc);
            border-radius: var(--radius-md);
            padding: 24px 26px;
            margin: 20px 0;
            border: 1px solid var(--blue-light);
        }
        .boundary-card h4 {
            font-size: 1rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .boundary-card .boundary-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(74, 159, 245, .2);
        }
        .boundary-card .boundary-item:last-child {
            border-bottom: none;
        }
        .boundary-card .boundary-item .bi {
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .boundary-card .boundary-item .bd {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--navy-2);
        }
        .boundary-card .boundary-item .bd-desc {
            font-size: 0.84rem;
            color: var(--text-muted);
        }

        /* ===== GAME CHALLENGE: LATIHAN PERGAULAN SEHAT ===== */
        .game-page-wrap {
            position: relative;
            max-width: 720px;
        }
        .game-hero {
            text-align: center;
            margin-bottom: 22px;
        }
        .game-challenge-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            border-radius: 999px;
            background: linear-gradient(120deg, var(--blue-light), #dcebfd);
            color: var(--blue);
            font-weight: 800;
            font-size: 0.72rem;
            letter-spacing: .06em;
            margin-bottom: 14px;
            box-shadow: 0 4px 14px -6px rgba(74, 159, 245, .4);
        }
        .game-title {
            text-align: center;
            position: relative;
            display: inline-block;
            padding-bottom: 12px;
        }
        .game-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 56px;
            height: 4px;
            border-radius: 4px;
            background: linear-gradient(90deg, var(--blue), var(--navy-2));
        }
        .game-desc {
            max-width: 480px;
            margin: 14px auto 0;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .scenario-topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }
        .scenario-step {
            font-weight: 800;
            font-size: 0.8rem;
            color: var(--navy-2);
        }
        .scenario-meta-right {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .scenario-xp {
            padding: 5px 12px;
            border-radius: 999px;
            background: var(--yellow-light);
            color: #8a5b00;
            font-weight: 800;
            font-size: 0.74rem;
        }
        .scenario-streak {
            padding: 5px 12px;
            border-radius: 999px;
            background: linear-gradient(120deg, #FCEBEB, #FEE3D0);
            color: #b04a1a;
            font-weight: 800;
            font-size: 0.74rem;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            animation: streakPop .3s ease;
        }
        @keyframes streakPop {
            0% { transform: scale(0.85); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        .scenario-progress-track {
            height: 8px;
            border-radius: 999px;
            background: var(--blue-light);
            overflow: hidden;
            margin-bottom: 22px;
        }
        .scenario-progress-fill {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--blue), var(--navy-2));
            transition: width .35s ease;
        }

        .scenario-box {
            background: linear-gradient(160deg, #ffffff, var(--blue-softer) 130%);
            border-radius: 26px;
            padding: 28px 26px;
            border: 1px solid rgba(74, 159, 245, .16);
            margin: 0 0 20px;
            box-shadow: 0 20px 46px -24px rgba(19, 34, 66, .28);
            animation: fadeIn .3s ease;
        }
        .scenario-box .scenario-badge {
            display: inline-flex;
            align-items: center;
            padding: 5px 14px;
            border-radius: 999px;
            background: var(--blue-light);
            color: var(--blue);
            font-weight: 800;
            font-size: 0.72rem;
            margin-bottom: 14px;
        }
        .scenario-box .scenario-q {
            font-weight: 700;
            font-size: clamp(0.92rem, 2.4vw, 1.02rem);
            color: var(--navy-2);
            margin-bottom: 20px;
            line-height: 1.6;
        }
        .scenario-box .scenario-opts {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .scenario-box .scenario-opts button {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            border-radius: 18px;
            border: 2px solid var(--line);
            background: #fff;
            font-weight: 600;
            font-size: 0.88rem;
            line-height: 1.45;
            text-align: left;
            transition: border-color .15s ease, background .15s ease, transform .12s ease, box-shadow .15s ease;
        }
        .scenario-box .scenario-opts .opt-ic {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            border-radius: 10px;
            background: var(--blue-softer);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
        .scenario-box .scenario-opts .opt-text {
            flex: 1;
        }
        .scenario-box .scenario-opts .opt-check {
            flex-shrink: 0;
            display: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--green);
            color: #fff;
            font-size: 0.72rem;
            align-items: center;
            justify-content: center;
        }
        .scenario-box .scenario-opts button:hover:not(:disabled) {
            border-color: var(--blue);
            background: var(--blue-softer);
            transform: translateY(-1px);
            box-shadow: 0 8px 18px -10px rgba(74, 159, 245, .5);
        }
        .scenario-box .scenario-opts button:active:not(:disabled) {
            transform: scale(0.98);
        }
        .scenario-box .scenario-opts button:disabled {
            cursor: default;
        }
        .scenario-box .scenario-opts button.selected {
            border-width: 2.5px;
        }
        .scenario-box .scenario-opts button.correct {
            border-color: var(--green);
            background: var(--green-light);
            color: #186b45;
        }
        .scenario-box .scenario-opts button.correct .opt-ic {
            background: rgba(31, 174, 107, .18);
        }
        .scenario-box .scenario-opts button.correct .opt-check {
            display: flex;
        }
        .scenario-box .scenario-opts button.wrong {
            border-color: var(--red);
            background: var(--red-light);
            color: #a33;
            opacity: .85;
        }
        .scenario-box .scenario-feedback {
            margin-top: 18px;
            padding: 16px 18px;
            border-radius: var(--radius-md);
            background: var(--blue-softer);
            font-size: 0.86rem;
            color: var(--text-muted);
            display: none;
            border-left: 4px solid var(--blue);
        }
        .scenario-box .scenario-feedback .fb-title {
            font-weight: 800;
            color: var(--navy-2);
            margin-bottom: 6px;
            font-size: 0.9rem;
        }
        .scenario-box .scenario-feedback.fb-correct {
            border-left-color: var(--green);
            background: var(--green-light);
        }
        .scenario-box .scenario-feedback.fb-wrong {
            border-left-color: var(--yellow);
            background: var(--yellow-light);
        }
        .scenario-box .scenario-feedback .fb-title-warn {
            color: #8a5b00;
        }
        .scenario-box .scenario-feedback.show {
            display: block;
            animation: fadeIn .3s ease;
        }

        /* ===== SOS FAB — Halaman Game Challenge ===== */
        .game-sos-fab {
            position: fixed;
            right: 18px;
            bottom: 96px;
            z-index: 150;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: none;
            background: linear-gradient(135deg, var(--red), #c33232);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            box-shadow: 0 12px 26px -10px rgba(225, 75, 75, .6);
            transition: transform .15s ease;
        }
        .game-sos-fab:hover {
            transform: translateY(-2px) scale(1.04);
        }
        .game-sos-fab:active {
            transform: scale(0.95);
        }
        .game-sos-fab .sos-pulse {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--red);
            opacity: .55;
            animation: sosPulse 2.4s ease-out infinite;
        }
        .game-sos-fab .sos-ic {
            position: relative;
            z-index: 1;
        }
        @keyframes sosPulse {
            0% { transform: scale(1); opacity: .5; }
            100% { transform: scale(1.7); opacity: 0; }
        }
        @media(prefers-reduced-motion:reduce) {
            .game-sos-fab .sos-pulse { animation: none; display: none; }
        }

        /* ===== MODAL HASIL AKHIR ===== */
        .result-modal-box {
            max-width: 400px;
        }
        .result-icon {
            font-size: 2.4rem;
            text-align: center;
            margin-bottom: 6px;
        }
        .result-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 22px;
        }
        .result-stat {
            text-align: center;
            background: var(--blue-softer);
            border-radius: var(--radius-sm);
            padding: 12px 6px;
        }
        .result-stat .rs-label {
            font-size: 0.68rem;
            color: var(--text-muted);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .04em;
            margin-bottom: 4px;
        }
        .result-stat .rs-value {
            font-weight: 800;
            font-size: 0.92rem;
            color: var(--navy-2);
        }

        /* ===== QUIZ / GAME STYLES ===== */
        .quiz-card {
            padding: 32px;
            max-width: 640px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }
        .quiz-card .game-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .quiz-card .game-header .game-icon {
            font-size: 1.8rem;
            line-height: 1;
        }
        .quiz-card .game-header .game-stats {
            display: flex;
            gap: 16px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-muted);
        }
        .quiz-card .game-header .game-stats span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .quiz-progress {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 6px;
        }
        .quiz-progress-bar {
            height: 6px;
            background: var(--blue-light);
            border-radius: 999px;
            overflow: hidden;
            margin-bottom: 18px;
        }
        .quiz-progress-bar>div {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--blue), var(--navy-2));
            transition: width .4s ease;
        }
        .quiz-q {
            font-size: 1.15rem;
            margin-bottom: 22px;
            min-height: 56px;
            font-weight: 600;
        }
        .quiz-q .q-num {
            display: inline-block;
            background: var(--blue-light);
            color: var(--blue);
            font-size: 0.7rem;
            font-weight: 800;
            padding: 2px 10px;
            border-radius: 999px;
            margin-bottom: 8px;
        }
        .quiz-opts {
            display: flex;
            gap: 12px;
            margin-bottom: 10px;
        }
        .quiz-opts button {
            flex: 1;
            padding: 14px;
            border-radius: var(--radius-sm);
            border: 2px solid var(--line);
            background: #fff;
            font-weight: 700;
            font-size: 0.92rem;
            transition: border-color .15s, background .15s, transform .1s;
        }
        .quiz-opts button:hover:not(:disabled) {
            border-color: var(--blue);
            background: var(--blue-softer);
            transform: scale(1.02);
        }
        .quiz-opts button:active:not(:disabled) {
            transform: scale(0.96);
        }
        .quiz-opts button:disabled {
            cursor: default;
            opacity: .7;
        }
        .quiz-opts button.correct {
            border-color: var(--green);
            background: var(--green-light);
            color: #186b45;
        }
        .quiz-opts button.wrong {
            border-color: var(--red);
            background: var(--red-light);
            color: #a33;
        }
        .quiz-result {
            text-align: center;
            animation: resultPop .5s ease;
        }
        @keyframes resultPop {
            0% {
                transform: scale(0.9);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        .result-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 22px;
            border-radius: 999px;
            font-weight: 800;
            font-size: 1rem;
            margin-bottom: 16px;
        }
        .result-badge.safe {
            background: var(--green-light);
            color: #186b45;
        }
        .result-badge.watch {
            background: var(--yellow-light);
            color: #946200;
        }
        .result-badge.danger {
            background: var(--red-light);
            color: #a33;
        }
        .result-badge .badge-icon-big {
            font-size: 1.8rem;
            line-height: 1;
        }
        .result-score-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.6rem;
            font-family: var(--font-d);
            color: #fff;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            position: relative;
        }
        .result-score-ring .ring-label {
            position: absolute;
            bottom: -20px;
            font-size: 0.55rem;
            font-weight: 700;
            color: var(--text-muted);
            letter-spacing: .04em;
            text-transform: uppercase;
        }
        .result-score-ring.safe-ring {
            background: linear-gradient(135deg, var(--green), #0f8a4f);
        }
        .result-score-ring.watch-ring {
            background: linear-gradient(135deg, var(--yellow), #c47d0a);
        }
        .result-score-ring.danger-ring {
            background: linear-gradient(135deg, var(--red), #a33);
        }
        .confetti {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }
        .confetti span {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 2px;
            animation: confettiFall 2.5s ease-in-out forwards;
        }
        @keyframes confettiFall {
            0% {
                transform: translateY(-20px) rotate(0deg) scale(1);
                opacity: 1;
            }
            100% {
                transform: translateY(calc(100% + 30px)) rotate(720deg) scale(0.3);
                opacity: 0;
            }
        }

        /* ===== KONSULTASI ===== */
        .psy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 18px;
        }
        .psy-card {
            padding: 22px;
        }
        .psy-card .top {
            display: flex;
            gap: 14px;
            align-items: center;
            margin-bottom: 14px;
        }
        .psy-avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }
        .psy-card h4 {
            font-size: 1rem;
            margin-bottom: 2px;
        }
        .psy-card .spec {
            font-size: 0.78rem;
            color: var(--blue);
            font-weight: 700;
        }
        .psy-card .tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 14px;
        }
        .psy-card .tags span {
            font-size: 0.7rem;
            background: var(--blue-softer);
            color: var(--navy-2);
            padding: 4px 9px;
            border-radius: 999px;
            font-weight: 600;
        }
        .psy-card .slot {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 14px;
        }
        .psy-card-soon {
            opacity: 0.62;
        }
        .psy-card-soon .btn[disabled] {
            cursor: not-allowed;
            opacity: 0.7;
        }
        .psy-card.hidden-row {
            display: none;
        }
        .counselor-pick-box {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 20px;
            margin-bottom: 24px;
        }
        .counselor-pick-box .ic {
            font-size: 1.5rem;
            line-height: 1;
        }
        .counselor-pick-box h5 {
            margin-bottom: 4px;
            font-size: 1rem;
            color: var(--navy-2);
        }
        .counselor-pick-box p {
            color: var(--text-muted);
            font-size: 0.88rem;
            margin-bottom: 14px;
        }
        .counselor-pick-btns {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .counselor-pick-btns .btn {
            font-size: 0.85rem;
            padding: 10px 16px;
        }
        @media(max-width:560px) {
            .counselor-pick-box {
                flex-direction: column;
            }
            .counselor-pick-btns {
                flex-direction: column;
            }
            .counselor-pick-btns .btn {
                width: 100%;
            }
        }
        .filter-row {
            display: flex;
            gap: 10px;
            margin-bottom: 26px;
            flex-wrap: wrap;
        }
        .chip {
            padding: 9px 16px;
            border-radius: 999px;
            border: 1.5px solid var(--line);
            background: #fff;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }
        .chip.active {
            background: var(--navy-2);
            color: #fff;
            border-color: var(--navy-2);
        }
        /* ===== RANA AI - header teks berada di tengah ===== */
        #page-rana > .wrap.section {
            padding-left: 24px;
            padding-right: 24px;
        }
        #page-rana .eyebrow {
            justify-content: center;
            width: 100%;
            text-align: center;
        }
        #page-rana .section-title {
            text-align: center;
        }
        #page-rana .section-sub {
            text-align: center;
            max-width: 640px;
            margin-left: auto;
            margin-right: auto;
        }
        #page-rana .privacy-note {
            text-align: center;
            max-width: 640px;
            margin-left: auto;
            margin-right: auto;
        }
        @media (max-width: 640px) {
            #page-rana > .wrap.section {
                padding-left: 20px;
                padding-right: 20px;
            }
            #page-rana .section-sub,
            #page-rana .privacy-note {
                max-width: 100%;
            }
        }

        /* ===== RANA AI CHAT ===== */
        .chat-shell {
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 20px;
        }
        .chat-side {
            padding: 20px;
            max-height: 560px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        .chat-side h5 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: .04em;
            color: var(--text-muted);
            margin-bottom: 14px;
            flex-shrink: 0;
        }
        .chat-side .qs {
            display: block;
            width: 100%;
            text-align: left;
            background: none;
            border: none;
            padding: 11px 4px;
            font-size: 0.86rem;
            font-weight: 600;
            border-bottom: 1px solid var(--line);
            color: var(--text);
            transition: color .2s;
            flex-shrink: 0;
        }
        .chat-side .qs:hover {
            color: var(--blue);
        }
        .chat-side .qs:last-child {
            border-bottom: none;
        }
        .chat-side::-webkit-scrollbar {
            width: 4px;
        }
        .chat-side::-webkit-scrollbar-track {
            background: var(--blue-softer);
            border-radius: 4px;
        }
        .chat-side::-webkit-scrollbar-thumb {
            background: var(--blue);
            border-radius: 4px;
        }

        .chat-window {
            padding: 0;
            display: flex;
            flex-direction: column;
            height: 560px;
            overflow: hidden;
        }
        .chat-head {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--line);
            flex-shrink: 0;
        }
        .chat-head .bot {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .chat-head h5 {
            font-size: 0.95rem;
            margin-bottom: 1px;
        }
        .chat-head span {
            font-size: 0.75rem;
            color: var(--green);
            font-weight: 700;
        }
        .chat-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .msg {
            max-width: 78%;
            padding: 12px 16px;
            border-radius: 16px;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .msg.bot {
            background: var(--blue-softer);
            color: var(--text);
            border-bottom-left-radius: 4px;
            align-self: flex-start;
        }
        .msg.user {
            background: var(--navy-2);
            color: #fff;
            border-bottom-right-radius: 4px;
            align-self: flex-end;
        }
        .msg ul {
            margin: 8px 0 0 18px;
            list-style: disc;
        }
        /* Kotak respons krisis RANA AI — sengaja dibuat berbeda dari bubble
           chat biasa agar pengguna langsung sadar ini situasi penting. */
        .msg .rana-crisis-box {
            max-width: 100%;
            background: #fff;
            border: 2px solid var(--red);
            border-radius: 14px;
            padding: 16px;
            margin: -12px -16px;
        }
        .rana-crisis-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--red);
            margin-bottom: 8px;
        }
        .rana-crisis-box p {
            margin: 0 0 10px;
            line-height: 1.5;
        }
        .rana-crisis-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0;
        }
        .rana-crisis-actions .btn {
            padding: 9px 14px;
            font-size: 0.82rem;
        }
        .rana-crisis-footnote {
            font-size: 0.76rem;
            color: var(--text-muted);
            margin-top: 6px;
            margin-bottom: 0 !important;
        }
        .msg ul li {
            margin-bottom: 4px;
        }
        .msg .btn-outline {
            font-size: 0.8rem;
            padding: 6px 14px;
        }
        .chat-input {
            display: flex;
            gap: 10px;
            padding: 16px 20px;
            border-top: 1px solid var(--line);
            flex-shrink: 0;
        }
        .chat-input input {
            flex: 1;
            padding: 12px 16px;
            border-radius: 999px;
            border: 1.5px solid var(--line);
            font-size: 0.9rem;
            font-family: var(--font-b);
        }
        .chat-input input:focus {
            outline: none;
            border-color: var(--blue);
        }
        .chat-input button {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--blue);
            color: #fff;
            border: none;
            flex-shrink: 0;
            font-size: 1.1rem;
            transition: background .2s;
        }
        .chat-input button:hover {
            background: #3688e0;
        }
        @media(max-width:840px) {
            .chat-shell {
                grid-template-columns: 1fr;
            }
            .chat-side {
                order: 2;
                max-height: 240px;
                overflow-y: auto;
            }
            .chat-side h5 {
                position: sticky;
                top: 0;
                background: #fff;
                padding: 4px 0 10px;
                z-index: 2;
                margin-bottom: 6px;
            }
            .chat-window {
                height: 420px;
            }
        }
        .typing-indicator {
            display: flex;
            gap: 4px;
            padding: 8px 12px;
            background: var(--blue-softer);
            border-radius: 16px;
            align-self: flex-start;
        }
        .typing-indicator span {
            width: 8px;
            height: 8px;
            background: var(--blue);
            border-radius: 50%;
            animation: typingBounce 1.2s infinite;
        }
        .typing-indicator span:nth-child(2) {
            animation-delay: .2s;
        }
        .typing-indicator span:nth-child(3) {
            animation-delay: .4s;
        }
        @keyframes typingBounce {
            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: .4;
            }
            30% {
                transform: translateY(-6px);
                opacity: 1;
            }
        }

        /* ===== TIM / ABOUT ===== */
        .about-card {
            padding: 26px;
            margin-bottom: 20px;
        }
        .about-card h4 {
            font-size: 1rem;
            margin-bottom: 14px;
        }
        .team-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 0;
            border-bottom: 1px solid var(--line);
        }
        .team-row:last-child {
            border-bottom: none;
        }
        .team-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .team-row .role {
            font-size: 0.78rem;
            color: var(--text-muted);
        }
        .contact-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 11px 0;
        }
        .contact-row .ic {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        /* ===== MODAL ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(19, 34, 66, 0.55);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .modal-overlay.open {
            display: flex;
        }
        .modal-box {
            background: #fff;
            border-radius: var(--radius-lg);
            max-width: 440px;
            width: 100%;
            padding: 28px;
            position: relative;
            box-shadow: var(--shadow);
        }
        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--text-muted);
            padding: 4px;
        }
        .modal-box h3 {
            font-size: 1.15rem;
            margin-bottom: 6px;
        }
        .modal-box .psy-name {
            font-size: 0.85rem;
            color: var(--blue);
            font-weight: 700;
            margin-bottom: 16px;
        }
        .modal-note {
            background: var(--blue-softer);
            border: 1px solid var(--line);
            border-radius: var(--radius-sm);
            padding: 14px 16px;
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }
        .modal-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .modal-actions .btn {
            width: 100%;
            justify-content: center;
        }
        .btn-whatsapp {
            background: #25D366;
            color: #fff;
        }
        .btn-whatsapp:hover {
            background: #1fbd5a;
        }
        .counselor-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 16px 0 4px;
            max-height: 52vh;
            overflow-y: auto;
        }
        .counselor-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 14px 16px;
            border: 1.5px solid var(--line);
            border-radius: var(--radius-sm);
            background: var(--bg);
            transition: border-color .15s, background .15s;
            text-align: left;
            width: 100%;
        }
        .counselor-item:hover {
            border-color: var(--blue);
            background: var(--blue-softer);
        }
        .counselor-item .name {
            font-weight: 700;
            font-size: 0.92rem;
            color: var(--navy-2);
        }
        .counselor-item .role {
            color: var(--text-muted);
            font-size: 0.78rem;
            margin-top: 2px;
        }
        .counselor-item .arrow {
            color: var(--blue);
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .counselor-info-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px;
            margin: 14px 0;
            background: var(--blue-softer);
            border-radius: var(--radius-sm);
        }
        .counselor-info-avatar {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
        }
        .counselor-info-card h5 {
            font-size: 0.95rem;
            color: var(--navy-2);
            margin-bottom: 2px;
        }
        .counselor-info-card p {
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        /* ===== GAME CARDS ===== */
        .game-card {
            padding: 28px;
            max-width: 640px;
            margin: 24px auto 0;
        }
        .game-card .game-tag {
            display: inline-block;
            background: var(--blue-light);
            color: var(--blue);
            font-weight: 800;
            font-size: 0.72rem;
            padding: 4px 12px;
            border-radius: 999px;
            margin-bottom: 12px;
        }
        .game-progress {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 10px;
        }
        .game-situation {
            font-size: 1.05rem;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .game-opts {
            display: grid;
            gap: 10px;
        }
        .game-opts button {
            text-align: left;
            padding: 13px 16px;
            border-radius: var(--radius-sm);
            border: 1.5px solid var(--line);
            background: #fff;
            font-weight: 600;
            font-size: 0.88rem;
            color: var(--text);
            transition: border-color .15s, background .15s;
        }
        .game-opts button:hover:not(:disabled) {
            border-color: var(--blue);
            background: var(--blue-softer);
        }
        .game-opts button:disabled {
            cursor: default;
            opacity: .7;
        }
        .game-opts button.correct {
            border-color: var(--green);
            background: var(--green-light);
            color: #186b45;
        }
        .game-opts button.wrong {
            border-color: var(--red);
            background: var(--red-light);
            color: #a33;
        }
        .game-feedback {
            margin-top: 16px;
            padding: 14px 16px;
            border-radius: var(--radius-sm);
            background: var(--blue-softer);
            font-size: 0.86rem;
            color: var(--text-muted);
        }
        .game-result {
            text-align: center;
        }
        .badge-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin: 0 auto 14px;
            color: #fff;
        }
        .reward-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px 22px;
            margin: 24px 0;
            background: linear-gradient(120deg, var(--green-light), #fff);
            border: 1px solid #c7ecd8;
        }
        .reward-card .ic {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--green);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        .reward-card h5 {
            color: #186b45;
            margin-bottom: 2px;
            font-size: 0.95rem;
        }
        .reward-card p {
            color: #3d8a68;
            font-size: 0.85rem;
        }

        /* ===== FORM ===== */
        .form-field label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text-muted);
        }
        .form-field input,
        .form-field textarea {
            width: 100%;
            padding: 11px 14px;
            border-radius: 10px;
            border: 1.5px solid var(--line);
            font-family: var(--font-b);
            font-size: 0.9rem;
            color: var(--text);
        }
        .form-field {
            margin-bottom: 14px;
        }

        /* ===== FOOTER ===== */
        footer {
            background: var(--navy-2);
            color: #c7d3ea;
            padding: 56px 0 24px;
            margin-top: 40px;
        }
        footer .logo {
            color: #fff;
        }
        footer .tagline {
            color: #8ea0c5;
            font-size: 0.85rem;
            margin-top: 10px;
            max-width: 280px;
        }
        .disclaimer {
            font-size: 0.78rem;
            color: #8ea0c5;
            background: rgba(255, 255, 255, .05);
            padding: 16px 20px;
            border-radius: var(--radius-sm);
            margin-bottom: 28px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .12);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 0.78rem;
            color: #8ea0c5;
        }

        /* ===== FAB DARURAT ===== */
        .fab-darurat {
            position: fixed;
            right: 18px;
            bottom: 96px;
            z-index: 150;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ef5858, var(--red));
            color: #fff;
            box-shadow: 0 10px 24px -8px rgba(225, 75, 75, .6);
            font-weight: 700;
            font-size: 0.82rem;
            transition: transform .15s ease, box-shadow .15s ease;
        }
        .fab-darurat:hover,
        .fab-darurat:focus-visible {
            transform: translateY(-2px);
            box-shadow: 0 14px 28px -8px rgba(225, 75, 75, .7);
        }
        .fab-darurat:active {
            transform: scale(.94);
        }
        .fab-darurat .fab-ic {
            font-size: 1.25rem;
            position: relative;
            z-index: 1;
        }
        .fab-pulse {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--red);
            opacity: .5;
            animation: fabPulse 2.6s ease-out infinite;
        }
        @keyframes fabPulse {
            0% { transform: scale(1); opacity: .45; }
            100% { transform: scale(1.55); opacity: 0; }
        }
        .fab-tooltip {
            position: absolute;
            right: calc(100% + 10px);
            top: 50%;
            transform: translateY(-50%) translateX(4px);
            background: var(--navy-2);
            color: #fff;
            font-size: .72rem;
            font-weight: 600;
            padding: 6px 11px;
            border-radius: 8px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity .18s ease, transform .18s ease;
        }
        .fab-darurat:hover .fab-tooltip,
        .fab-darurat:focus-visible .fab-tooltip {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }
        @media(max-width:520px) {
            .fab-darurat {
                width: 48px;
                height: 48px;
                bottom: 88px;
            }
            .fab-tooltip {
                display: none;
            }
        }

        /* ===== SEMBUNYIKAN FOOTER/DISCLAIMER & SOS UMUM =====
           Hanya berlaku pada menu Edukasi, Bantuan, dan Data.
           Menu lain (Beranda, Dashboard, About) tidak terpengaruh. */
        body.hide-chrome footer,
        body.hide-chrome .fab-darurat {
            display: none !important;
        }

        /* ===== FOOTER HANYA DI HALAMAN ABOUT =====
           Footer disembunyikan secara default di semua halaman,
           dan hanya dimunculkan ketika grup halaman aktif adalah "about". */
        footer {
            display: none !important;
        }
        body.show-footer footer {
            display: block !important;
        }

        /* ===== RESPONSIVE TWEAKS ===== */
        @media(max-width:760px) {
            .section {
                padding: 40px 0;
            }
            .module-hero {
                flex-wrap: wrap;
            }
        }

        /* ===== UJI PEMAHAMAN GAME CARDS — HORIZONTAL SWIPE CAROUSEL (mobile-native) ===== */

        /* Header khusus section "Pemahamanmu" — lebih menonjol & subtle secara proporsional */
        .uji-section .edu-cat-head {
            margin-bottom: 12px;
            align-items: baseline;
            gap: 8px;
        }
        .uji-section .edu-cat-head .dot {
            align-self: center;
        }
        .uji-section .edu-cat-head h3 {
            font-size: 1.08rem;
            font-weight: 700;
            letter-spacing: -0.01em;
        }
        .uji-section .edu-cat-head .count {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-muted);
            background: transparent;
            padding: 0;
            margin-left: auto;
        }

        .uji-carousel-wrap {
            position: relative;
        }
        .uji-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 14px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            scroll-padding-left: 0;
            padding: 3px 3px 6px;
            margin: -3px -3px 0;
            /* PERBAIKAN: "pan-x" saja mematikan pan-y sepenuhnya di titik
               sentuh (irisan aksi menurut spesifikasi Touch Action), bukan
               meneruskannya ke body — ini penyebab scroll halaman Edukasi
               terkunci total saat swipe dimulai di atas kartu carousel ini.
               "pan-x pan-y" membiarkan browser menangani horizontal &
               vertikal sesuai arah swipe tanpa mengunci scroll halaman. */
            touch-action: pan-x pan-y;
            /* sembunyikan scrollbar horizontal di semua browser */
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .uji-grid::-webkit-scrollbar {
            display: none;
            height: 0;
        }
        .game-mission-card {
            padding: 18px 16px;
            cursor: pointer;
            transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
            -webkit-tap-highlight-color: transparent;
            position: relative;
            overflow: hidden;
            border-radius: 19px;
            border: 1px solid var(--line);
            background: #fff;
            box-shadow: 0 10px 24px -18px rgba(19, 34, 66, .35);
            /* satu kartu penuh + sedikit kartu berikutnya mengintip, khas carousel Android */
            flex: 0 0 85%;
            max-width: 85%;
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }
        @media(min-width:560px) {
            .game-mission-card {
                flex-basis: 58%;
                max-width: 58%;
            }
        }
        @media(min-width:820px) {
            .game-mission-card {
                flex-basis: 320px;
                max-width: 320px;
            }
        }
        .game-mission-card:hover {
            box-shadow: 0 16px 32px -16px rgba(19, 34, 66, .22);
        }
        .game-mission-card:active {
            transform: scale(0.97);
            box-shadow: 0 6px 14px -12px rgba(19, 34, 66, .3);
        }

        /* Indikator posisi kartu (dots) — target sentuh nyaman, tampilan mungil */
        .uji-dots {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-top: 14px;
        }
        .uji-dot {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .uji-dot::before {
            content: '';
            display: block;
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: var(--line);
            transition: width .2s ease, background .2s ease;
        }
        .uji-dot.is-active::before {
            width: 20px;
            background: var(--blue);
        }
        .game-mission-card .card-glow {
            position: absolute;
            top: -40%;
            right: -20%;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            opacity: 0.08;
            pointer-events: none;
        }
        .game-mission-card .top-row {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 14px;
            position: relative;
            z-index: 1;
        }
        .game-mission-card .top-row .icon-box {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
            box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .12);
        }
        /* Kolom badge kanan: Lv. di atas, XP di bawah — rapi, tidak bertabrakan */
        .game-mission-card .badge-stack {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
            flex-shrink: 0;
        }
        .game-mission-card .top-row .xp-badge {
            background: var(--blue-light);
            color: var(--blue);
            font-weight: 800;
            font-size: .68rem;
            padding: 4px 10px;
            border-radius: 999px;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .game-mission-card .top-row .xp-badge .star {
            color: var(--yellow);
        }
        .game-mission-card h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 5px;
            position: relative;
            z-index: 1;
        }
        .game-mission-card p.desc {
            color: var(--text-muted);
            font-size: .8rem;
            line-height: 1.45;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .game-mission-card .progress-section {
            position: relative;
            z-index: 1;
        }
        .game-mission-card .progress-bar {
            height: 6px;
            background: var(--blue-light);
            border-radius: 999px;
            overflow: hidden;
            margin-bottom: 12px;
        }
        .game-mission-card .progress-bar>div {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--blue), var(--navy-2));
            transition: width .6s ease;
        }
        .game-mission-card .footer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            font-size: .72rem;
            color: var(--text-muted);
            font-weight: 600;
            position: relative;
            z-index: 1;
            padding-top: 10px;
            border-top: 1px solid var(--line);
        }
        .game-mission-card .footer-row .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
            flex-shrink: 0;
        }
        .game-mission-card .footer-row .status-dot.pending {
            background: var(--yellow);
        }
        .game-mission-card .footer-row .status-dot.done {
            background: var(--green);
        }
        .game-mission-card .footer-row .link {
            color: var(--blue);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 3px;
            flex-shrink: 0;
            min-height: 22px;
        }
        .game-mission-card .footer-row .link .arrow {
            transition: transform .2s;
        }
        .game-mission-card:hover .footer-row .link .arrow,
        .game-mission-card:active .footer-row .link .arrow {
            transform: translateX(4px);
        }
        .game-mission-card .reset-counter {
            font-size: 0.65rem;
            color: var(--text-muted);
            margin-top: 8px;
            position: relative;
            z-index: 1;
        }
        .game-mission-card.completed {
            border-color: var(--green);
            background: linear-gradient(135deg, #fff, var(--green-light));
        }
        .game-mission-card.completed .footer-row {
            border-top-color: rgba(31, 174, 107, .25);
        }
        .game-mission-card.completed .progress-bar>div {
            background: linear-gradient(90deg, var(--green), #0f8a4f);
        }
        .game-mission-card .badge-earned {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.65rem;
            font-weight: 700;
            color: #186b45;
            background: rgba(31, 174, 107, .15);
            padding: 3px 12px;
            border-radius: 999px;
            margin-top: 8px;
        }
        .game-mission-card .level-badge {
            font-size: 0.64rem;
            font-weight: 800;
            color: var(--text-muted);
            background: var(--blue-softer);
            padding: 3px 9px;
            border-radius: 999px;
            white-space: nowrap;
        }

        /* Sentuhan aman untuk layar sempit — jaga proporsi, jangan mengecilkan berlebihan */
        @media(max-width:374px) {
            .game-mission-card {
                flex-basis: 88%;
                max-width: 88%;
                padding: 16px 14px;
            }
            .game-mission-card .top-row .icon-box {
                width: 44px;
                height: 44px;
            }
        }

        /* ===== DAILY STREAK ===== */
        .streak-banner {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 22px;
            background: linear-gradient(135deg, #FFF5E6, #FFECD2);
            border: 1px solid #f6dfa8;
            border-radius: 20px;
            margin-bottom: 24px;
        }
        .streak-banner .fire {
            font-size: 2rem;
            line-height: 1;
        }
        .streak-banner .streak-info h5 {
            font-size: 0.95rem;
            color: #8a5a06;
            margin-bottom: 2px;
        }
        .streak-banner .streak-info p {
            font-size: 0.8rem;
            color: #9c7526;
        }
        .streak-banner .streak-count {
            margin-left: auto;
            font-family: var(--font-d);
            font-weight: 800;
            font-size: 1.6rem;
            color: #c47d0a;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .streak-banner .streak-count small {
            font-size: 0.7rem;
            font-weight: 700;
            color: #9c7526;
        }
        .streak-banner {
            flex-wrap: wrap;
        }
        .streak-week {
            display: flex;
            gap: 6px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .streak-day {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            width: 30px;
        }
        .streak-day .d-label {
            font-size: 0.62rem;
            font-weight: 700;
            color: #9c7526;
            text-transform: uppercase;
        }
        .streak-day .d-dot {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            background: rgba(255, 255, 255, .55);
            border: 1px solid #f0d99a;
        }
        .streak-day.is-active .d-dot {
            background: #fff;
            box-shadow: 0 4px 10px -4px rgba(196, 125, 10, .5);
        }
        .streak-sub-caption {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin: -14px 0 24px;
        }

        /* ===== BADGE ROW (dashboard/edukasi) ===== */
        .badge-pill {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            background: rgba(255, 255, 255, .14);
        }
        .badge-pill.locked {
            opacity: 0.35;
            filter: grayscale(1);
        }

        /* ===== TANDAI SELESAI MATERI ===== */
        .materi-complete-slot {
            margin-top: 28px;
            background: var(--blue-softer, #F2F7FE);
            border: 1px dashed var(--blue);
        }
        .materi-complete-inner {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .materi-complete-inner > div:first-child {
            flex: 1;
            min-width: 200px;
        }
        .materi-complete-btn.is-done-btn {
            background: var(--green);
            border-color: var(--green);
            opacity: 0.9;
            cursor: default;
        }

        /* ===== STATUS PILL PADA KARTU MATERI ===== */
        [data-materi-status] {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 999px;
            background: var(--blue-light);
            color: var(--blue);
        }
        [data-materi-status].is-done {
            background: var(--green-light);
            color: var(--green);
        }

        /* ===== QUIZ ANIMATIONS ===== */
        .quiz-enter {
            animation: quizSlide .4s ease;
        }
        @keyframes quizSlide {
            0% {
                opacity: 0;
                transform: translateX(20px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }
        .shake {
            animation: shake .4s ease;
        }
        @keyframes shake {
            0%,
            100% {
                transform: translateX(0);
            }
            25% {
                transform: translateX(-8px);
            }
            75% {
                transform: translateX(8px);
            }
        }
        .pulse-glow {
            animation: pulseGlow 1.5s ease-in-out infinite;
        }
        @keyframes pulseGlow {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(74, 159, 245, .3);
            }
            50% {
                box-shadow: 0 0 0 12px rgba(74, 159, 245, 0);
            }
        }

        /* ===== TOAST NOTIFICATION ===== */
        .toast {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: var(--navy-2);
            color: #fff;
            padding: 14px 24px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.85rem;
            box-shadow: 0 10px 30px -10px rgba(19, 34, 66, .5);
            opacity: 0;
            transition: opacity .3s, transform .3s;
            z-index: 300;
            pointer-events: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* =====================================================================
           ABOUT PAGE REDESIGN — PEMBIMBING & KONTAK
           ===================================================================== */
        .mentor-card {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 28px 26px;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--blue-softer), #fff 60%);
            position: relative;
            overflow: hidden;
            transition: transform .2s ease, box-shadow .2s ease;
        }
        .mentor-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 34px -14px rgba(19, 34, 66, 0.28);
        }
        .mentor-icon {
            width: 66px;
            height: 66px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.7rem;
            flex-shrink: 0;
            box-shadow: 0 10px 22px -8px rgba(74, 159, 245, 0.55);
        }
        .mentor-heading {
            font-size: 0.7rem;
            font-weight: 800;
            letter-spacing: .09em;
            text-transform: uppercase;
            color: var(--blue);
            margin-bottom: 6px;
        }
        .mentor-name {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--navy-2);
            line-height: 1.25;
            margin-bottom: 4px;
        }
        .mentor-subtitle {
            font-size: 0.86rem;
            color: var(--text-muted);
        }
        @media(max-width:520px) {
            .mentor-card {
                flex-direction: column;
                text-align: center;
                padding: 26px 20px;
            }
        }

        .contact-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 14px;
            margin-top: 14px;
        }
        .contact-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 16px;
            border: 1.5px solid var(--line);
            border-radius: var(--radius-md);
            background: #fff;
            text-decoration: none;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
        }
        .contact-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 28px -14px rgba(19, 34, 66, 0.28);
            border-color: var(--blue);
            background: var(--blue-softer);
        }
        .contact-card-ic {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: var(--blue-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            flex-shrink: 0;
        }
        .contact-card-body {
            flex: 1;
            min-width: 0;
        }
        .contact-card-title {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--navy-2);
        }
        .contact-card-sub {
            font-size: 0.8rem;
            color: var(--text-muted);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .contact-card-arrow {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--blue);
            flex-shrink: 0;
            white-space: nowrap;
        }

        .about-intro-card {
            text-align: center;
            background: var(--blue-softer);
            border: 1px solid var(--line);
            padding: 30px 26px;
        }
        .about-intro-card h4 {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--navy-2);
            margin-bottom: 10px;
        }
        .about-intro-text {
            color: var(--text-muted);
            font-size: 0.9rem;
            max-width: 420px;
            margin: 0 auto;
            line-height: 1.55;
        }
        .about-identity-tag {
            margin: 16px auto 0;
            display: inline-flex;
            font-size: 0.74rem;
            font-weight: 600;
            letter-spacing: .03em;
            color: var(--blue);
        }
        .about-page-footer {
            text-align: center;
            font-size: 0.76rem;
            color: var(--text-muted);
            margin-top: 4px;
            padding-top: 4px;
            padding-bottom: 8px;
            white-space: pre-line;
            line-height: 1.6;
        }
        @media(max-width:480px) {
            .about-intro-card { padding: 26px 20px; }
            .about-intro-text { max-width: 300px; font-size: 0.88rem; }
        }

        /* =====================================================================
           KONSULTASI PAGE REDESIGN
           ===================================================================== */
        .konsul-hero {
            text-align: center;
            padding: 34px 24px 30px;
            margin-bottom: 26px;
            border-radius: var(--radius-lg);
            background: linear-gradient(135deg, var(--blue-softer), var(--blue-light) 60%, #fff);
            border: 1px solid var(--line);
            animation: konsulFadeIn .5s ease both;
        }
        @keyframes konsulFadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .konsul-hero-ic {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin: 0 auto 14px;
            box-shadow: 0 12px 26px -10px rgba(74, 159, 245, 0.55);
        }
        .konsul-hero-note {
            margin: 18px auto 0;
            max-width: 520px;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: 12px 22px;
            font-size: 0.85rem;
            color: var(--navy-2);
            font-weight: 600;
            box-shadow: var(--shadow);
        }

        .category-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 16px;
            margin-bottom: 28px;
        }
        .category-card {
            display: flex;
            flex-direction: column;
            padding: 24px;
            cursor: pointer;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
            border: 1.5px solid var(--line);
        }
        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 34px -16px rgba(19, 34, 66, 0.3);
            border-color: var(--blue);
        }
        .category-card:active {
            transform: translateY(-1px) scale(.99);
        }
        /* Baris atas: ikon layanan + satu label status. Dipisah agar tidak bertabrakan
           dengan judul di bawahnya, dan tidak menumpuk beberapa badge sekaligus. */
        .category-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 16px;
        }
        .category-card-ic {
            width: 48px;
            height: 48px;
            flex-shrink: 0;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }
        .category-card-ic-alt {
            background: linear-gradient(135deg, var(--purple), var(--navy-2));
        }
        .category-card-flag {
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--blue);
            background: var(--blue-light);
            padding: 5px 10px;
            border-radius: 999px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .category-card h4 {
            font-size: 1.15rem;
            line-height: 1.25;
            margin-bottom: 4px;
        }
        .category-card-tag {
            font-size: 0.8rem;
            color: var(--blue);
            font-weight: 700;
            margin-bottom: 12px;
        }
        .category-card-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 16px;
        }
        .category-card-list {
            list-style: none;
            margin-bottom: 20px;
        }
        .category-card-list li {
            font-size: 0.85rem;
            color: var(--text-muted);
            padding: 6px 0 6px 22px;
            position: relative;
            line-height: 1.4;
        }
        .category-card-list li::before {
            content: 'check';
            font-family: 'Material Symbols Rounded';
            font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 20;
            font-size: 1rem;
            position: absolute;
            left: 0;
            color: var(--blue);
            font-weight: 700;
        }
        .category-card-btn {
            width: 100%;
            justify-content: center;
            margin-top: auto;
        }

        .status-badge {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .status-available {
            background: var(--green-light);
            color: #0e7a49;
        }
        .status-limited {
            background: var(--yellow-light);
            color: #93630c;
        }
        .status-unavailable {
            background: #eceff5;
            color: var(--text-muted);
        }

        .privacy-card {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            padding: 24px;
            margin-top: 24px;
            background: var(--blue-softer);
        }
        .privacy-ic {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--navy-2);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .privacy-card p {
            color: var(--text-muted);
            font-size: 0.86rem;
            margin: 6px 0 12px;
        }
        .privacy-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .privacy-tags span {
            font-size: 0.72rem;
            font-weight: 700;
            background: #fff;
            border: 1px solid var(--line);
            padding: 5px 11px;
            border-radius: 999px;
            color: var(--navy-2);
        }

        /* Booking form additions */
        .booking-form {
            margin-top: 4px;
        }
        .form-row-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        @media(max-width:420px) {
            .form-row-2 {
                grid-template-columns: 1fr;
            }
        }
        .method-toggle {
            display: flex;
            gap: 10px;
        }
        .method-btn {
            flex: 1;
            padding: 10px;
            border-radius: 10px;
            border: 1.5px solid var(--line);
            background: #fff;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
        }
        .method-btn.active {
            background: var(--blue-light);
            border-color: var(--blue);
            color: var(--blue);
        }
        .modal-box-lg {
            max-width: 480px;
            max-height: 88vh;
            overflow-y: auto;
        }

        /* ===== BOOKING: PILIH JENIS PENGGUNA (SISWA / ORANG TUA) ===== */
        .usertype-step-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--navy-2);
            margin-bottom: 14px;
        }
        .usertype-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 4px;
        }
        @media (max-width: 420px) {
            .usertype-grid {
                grid-template-columns: 1fr;
            }
        }
        .usertype-card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            text-align: left;
            padding: 16px 14px;
            min-height: 48px;
            border: 1.5px solid var(--line);
            border-radius: var(--radius-md);
            background: #fff;
            transition: border-color .15s, background .15s, transform .1s;
        }
        .usertype-card:hover {
            border-color: var(--blue);
            background: var(--blue-softer);
        }
        .usertype-card:active {
            transform: scale(0.98);
        }
        .usertype-card.active {
            border-color: var(--blue);
            background: var(--blue-light);
        }
        .usertype-card .usertype-ic {
            font-size: 1.6rem;
            color: var(--blue);
        }
        .usertype-card .usertype-name {
            font-weight: 700;
            font-size: 0.92rem;
            color: var(--navy-2);
        }
        .usertype-card .usertype-desc {
            font-size: 0.76rem;
            color: var(--text-muted);
            line-height: 1.35;
        }
        .usertype-card .usertype-check {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 1.05rem;
            color: var(--blue);
            opacity: 0;
            transform: scale(0.7);
            transition: opacity .15s, transform .15s;
        }
        .usertype-card.active .usertype-check {
            opacity: 1;
            transform: scale(1);
        }

        /* ===== BOOKING: HEADER FORM (dengan tombol kembali) ===== */
        .booking-form-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
        }
        .usertype-change-btn {
            width: 40px;
            height: 40px;
            min-width: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            border: 1.5px solid var(--line);
            background: #fff;
            color: var(--navy-2);
            flex-shrink: 0;
        }
        .usertype-change-btn:hover {
            border-color: var(--blue);
            color: var(--blue);
        }
        .booking-form-header-title {
            font-size: 0.98rem;
            font-weight: 700;
            color: var(--navy-2);
        }

        /* ===== BOOKING: TOGGLE IDENTITAS SISWA ===== */
        .identity-toggle {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .identity-option {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text);
            font-weight: 500;
        }
        .identity-option input[type="radio"] {
            accent-color: var(--blue);
            width: 17px;
            height: 17px;
            flex-shrink: 0;
        }
        .field-hint {
            font-size: 0.74rem;
            color: var(--text-muted);
            margin-top: 5px;
        }

        /* ===== BOOKING: SELECT (Hubungan dengan Anak) ===== */
        .form-field select {
            width: 100%;
            padding: 11px 36px 11px 14px;
            border-radius: 10px;
            border: 1.5px solid var(--line);
            font-family: var(--font-b);
            font-size: 0.9rem;
            color: var(--text);
            background-color: #fff;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2369728A' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 18px;
        }

        /* ===== BOOKING: KATEGORI PERMASALAHAN (ORANG TUA) ===== */
        .kategori-chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .kategori-chip {
            font-size: 0.78rem;
            padding: 8px 13px;
        }

        /* ===== BOOKING: IKON KECIL PADA LABEL FIELD ===== */
        .field-label-ic {
            font-size: 1rem;
            vertical-align: -3px;
            margin-right: 4px;
            color: var(--text-muted);
        }
        .method-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .method-btn .material-symbols-rounded {
            font-size: 1.05rem;
        }


        /* =====================================================================
           KENAPA NARA — daftar ringkas, gaya list Android
           ===================================================================== */
        .kenapa-section {
            padding: 20px 0 36px;
        }
        .kenapa-section .section-title {
            font-size: 1.05rem;
            margin-bottom: 12px;
            /* Judul digeser sedikit ke tengah: padding kiri-kanan seimbang
               supaya tidak mepet ke sisi kiri layar (khusus judul ini saja). */
            padding: 0 6px;
        }
        @media (max-width: 480px) {
            .kenapa-section .section-title {
                padding: 0 10px;
            }
        }
        .kenapa-section .icon-cards {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .kenapa-section .icon-card {
            display: grid;
            grid-template-columns: 44px 1fr;
            column-gap: 14px;
            align-items: center;
            text-align: left;
            padding: 14px 18px;
            transition: transform .12s ease;
        }
        .kenapa-section .icon-card .ic {
            grid-column: 1;
            grid-row: 1 / 3;
            margin: 0;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            font-size: 1.2rem;
        }
        .kenapa-section .icon-card h4 {
            grid-column: 2;
            grid-row: 1;
            margin-bottom: 2px;
            font-size: 0.95rem;
        }
        .kenapa-section .icon-card p {
            grid-column: 2;
            grid-row: 2;
            margin: 0;
            font-size: 0.8rem;
            line-height: 1.4;
        }
        .kenapa-section .icon-card:active {
            transform: scale(.98);
        }

        /* Card yang bisa dibuka/tutup (Edukasi berbasis usia, Keamanan digital) */
        .kenapa-section .icon-card.has-expand:focus-visible {
            outline: 2px solid var(--blue);
            outline-offset: 2px;
        }
        .kenapa-section .icon-card-expand {
            grid-column: 1 / -1;
            grid-row: 3;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
        }
        .kenapa-section .icon-card-expand.open {
            opacity: 1;
        }
        .kenapa-section .icon-card-expand-inner {
            padding-top: 12px;
            margin-top: 10px;
            border-top: 1px solid var(--line);
        }
        .kenapa-section .icon-card-expand-inner p {
            margin: 0;
            color: var(--text-muted);
            font-size: 0.82rem;
            line-height: 1.55;
        }

        /* =====================================================================
           KONSULTASI — PROFESSIONAL POLISH
           ===================================================================== */
        .konsul-hero {
            background: linear-gradient(150deg, #132242 0%, #1A2A4A 55%, #2E5395 100%);
            border: none;
            padding: 46px 28px 38px;
            position: relative;
            overflow: hidden;
        }
        .konsul-hero::before {
            content: '';
            position: absolute;
            top: -70px;
            right: -60px;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(74, 159, 245, 0.4), rgba(74, 159, 245, 0) 68%);
            pointer-events: none;
        }
        .konsul-hero::after {
            content: '';
            position: absolute;
            bottom: -90px;
            left: -60px;
            width: 240px;
            height: 240px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(143, 196, 250, 0.22), rgba(143, 196, 250, 0) 68%);
            pointer-events: none;
        }
        .konsul-hero > * {
            position: relative;
            z-index: 1;
        }
        .konsul-hero .eyebrow {
            color: #8FC4FA;
        }
        .konsul-hero .eyebrow::before {
            background: #8FC4FA;
        }
        .konsul-hero .section-title {
            color: #fff;
        }
        .konsul-hero .section-sub {
            color: rgba(255, 255, 255, .8);
        }
        .konsul-hero-note {
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .22);
            color: #fff;
            box-shadow: none;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .konsul-sub-head {
            text-align: center;
            margin-bottom: 18px;
        }
        .konsul-sub-head h3 {
            font-size: 1.2rem;
            margin-bottom: 4px;
        }
        .konsul-sub-head p {
            font-size: 0.86rem;
            color: var(--text-muted);
        }
        .filter-row {
            justify-content: center;
        }
        /* Kartu pendamping — gaya aplikasi profesional */
        .psy-card {
            display: flex;
            flex-direction: column;
            position: relative;
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        }
        .psy-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 32px -16px rgba(19, 34, 66, 0.28);
            border-color: rgba(74, 159, 245, .5);
        }
        .psy-avatar {
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            color: #fff;
            box-shadow: 0 8px 18px -8px rgba(74, 159, 245, .6);
        }
        .psy-card .status-badge {
            align-self: flex-start;
            margin: -4px 0 10px;
        }
        .psy-card .slot {
            background: var(--blue-softer);
            border: 1px solid var(--line);
            border-radius: var(--radius-sm);
            padding: 10px 12px;
        }
        .psy-card .contact-row {
            padding: 10px 12px;
            background: var(--blue-softer);
            border: 1px solid var(--line);
            border-radius: var(--radius-sm);
        }
        .psy-card .btn {
            margin-top: auto;
        }
        .psy-card-soon {
            opacity: .55;
            filter: grayscale(.35);
        }
        .psy-card-soon:hover {
            transform: none;
            box-shadow: var(--shadow);
            border-color: var(--line);
        }
        .privacy-ic {
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
        }
        @media (max-width: 560px) {
            .konsul-hero {
                padding: 38px 20px 32px;
            }
        }
        /* =====================================================================
           KRITIK & SARAN
        ===================================================================== */
        .lapor-wrap { max-width: 520px; }
        .lapor-hero { text-align: center; margin-bottom: 20px; }
        .lapor-hero-ic {
            width: 52px; height: 52px; border-radius: 50%;
            background: linear-gradient(135deg, var(--blue), var(--navy-2));
            color: #fff; display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem; margin: 0 auto 12px;
        }

        .lapor-field-error { color: var(--red); font-size: 0.78rem; margin-top: 6px; }

        .lapor-form-card { margin-top: 4px; padding: 22px 20px; }
        .lapor-form-card .form-field { margin-bottom: 16px; }
        .lapor-form-card textarea {
            min-height: 140px;
            resize: vertical;
        }
        .lapor-submit-btn {
            width: 100%;
            justify-content: center;
            min-height: 48px;
            font-size: 0.95rem;
        }

/* =====================================================================
   ===== DESKTOP / LAPTOP RESPONSIVE OVERHAUL =====
   Ditambahkan untuk memperbaiki tampilan di layar laptop/PC (>=1024px)
   agar tidak lagi memakai layout mobile yang diperkecil. Mobile & tablet
   di bawah 1024px TIDAK diubah oleh blok ini (tetap bottom navigation).
   ===================================================================== */

/* --- Container proporsional per breakpoint --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .wrap { padding: 0 28px; }
}
@media (min-width: 1024px) {
    .wrap { max-width: 1180px; padding: 0 32px; }
    .section { padding: 72px 0; }
}
@media (min-width: 1440px) {
    .wrap { max-width: 1320px; }
}

/* --- Sidebar navigasi desktop (disembunyikan di mobile & tablet) --- */
.sidebar { display: none; }

@media (min-width: 1024px) {
    .sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 248px;
        background: #fff;
        border-right: 1px solid var(--line);
        padding: 20px 14px 22px;
        z-index: 300;
        overflow-y: auto;
    }
    .sidebar-brand {
        padding: 8px 10px 18px;
        border-bottom: 1px solid var(--line);
        margin-bottom: 14px;
    }
    .sidebar-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .sidebar .sidebar-nav-btn {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 46px;
        padding: 11px 14px;
        border-radius: 12px;
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--text-muted);
        text-align: left;
        transition: background .18s ease, color .18s ease;
    }
    .sidebar .sidebar-nav-btn .sidebar-label {
        white-space: nowrap;
    }
    .sidebar .sidebar-nav-btn .icon {
        font-size: 1.15rem;
        transform: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar .sidebar-nav-btn .icon svg {
        width: 20px;
        height: 20px;
        display: block;
        opacity: .78;
        transition: opacity .18s ease;
    }
    .sidebar .sidebar-nav-btn.active .icon svg,
    .sidebar .sidebar-nav-btn:hover .icon svg {
        opacity: 1;
    }
    .sidebar .sidebar-nav-btn:hover {
        background: var(--blue-softer);
        color: var(--navy-2);
    }
    .sidebar .sidebar-nav-btn.active {
        background: var(--blue-light);
        color: var(--blue);
    }
    .sidebar .sidebar-nav-btn.active .icon { transform: none; }
    .sidebar .sidebar-nav-btn[data-group="bantuan"] { color: var(--text-muted); }
    .sidebar .sidebar-nav-btn[data-group="bantuan"] .icon {
        background: none;
        width: auto;
        height: auto;
        box-shadow: none;
        color: inherit;
        font-size: 1.15rem;
        border-radius: 0;
    }
    .sidebar .sidebar-nav-btn[data-group="bantuan"]::after { display: none; }

    /* Bottom navigation mobile TIDAK muncul di desktop */
    .bottom-nav { display: none !important; }
    body { padding-bottom: 0 !important; }

    /* Geser header, konten utama, dan footer agar tidak tertutup sidebar */
    .navbar, main, footer {
        margin-left: 248px;
    }

    /* Popover menu Bantuan mengikuti posisi sidebar, bukan melayang di tengah */
    #sheet-bantuan {
        left: 264px;
        right: auto;
        bottom: 24px;
        width: 300px;
        transform: translateY(115%);
    }
    #sheet-bantuan.open { transform: translateY(0); }

    /* Header desktop: sedikit lebih lega, tetap ringkas */
    .navbar-inner { padding: 14px 32px; min-height: 64px; }
}

@media (min-width: 1440px) {
    .sidebar { width: 264px; }
    .navbar, main, footer { margin-left: 264px; }
    #sheet-bantuan { left: 280px; }
}

/* --- Halaman "Latihan Pergaulan Sehat" (Game Challenge): container desktop --- */
@media (min-width: 1024px) {
    .game-page-wrap { max-width: 900px; margin: 0 auto; }
    .game-hero { margin-bottom: 28px; }
    .scenario-box { padding: 34px 40px; }
    .scenario-box .scenario-opts button { padding: 16px 20px; font-size: 0.92rem; }
}
@media (min-width: 1440px) {
    .game-page-wrap { max-width: 1000px; }
}

/* --- Kartu & spacing: sedikit lebih lega di desktop --- */
@media (min-width: 1024px) {
    .icon-cards { gap: 22px; }
}

/* =========================================================
   NARA HOME — Beranda hub, pencarian/simpan materi, statistik
   pribadi di Data. Tambahan baru, tidak mengubah gaya lama.
   ========================================================= */

/* --- Notifikasi internal (Beranda) --- */
.nara-notif-wrap { margin-bottom: 18px; }
.nara-notif-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--blue-softer);
    border: 1px solid var(--blue-light);
    font-size: 0.85rem;
    color: var(--navy-2);
    font-weight: 600;
    cursor: pointer;
}
.nara-notif-card .material-symbols-rounded { color: var(--blue); flex-shrink: 0; }

/* --- Scroll ke samping (dipakai Aktivitas, Rekomendasi, Modul Saya) --- */
.nara-hscroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 14px;
    margin: 0 -2px;
    scrollbar-width: thin;
}
.nara-hscroll::-webkit-scrollbar { height: 6px; }
.nara-hscroll::-webkit-scrollbar-track { background: transparent; }
.nara-hscroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.nara-hscroll::-webkit-scrollbar-thumb:hover { background: var(--blue); }
.nara-hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

/* --- Aktivitas Hari Ini --- */
.nara-activity-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 200px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 6px 16px -10px rgba(19, 34, 66, .18);
    cursor: pointer;
    transition: transform .15s ease;
}
.nara-activity-item:active { transform: scale(0.98); }
.nara-activity-item.is-done { background: var(--green-light); }
.nara-activity-item .ic {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.15rem;
}
.nara-activity-item.is-done .ic { background: var(--green); color: #fff; }
.nara-activity-item .body { flex: 1; min-width: 0; width: 100%; }
.nara-activity-item .body h5 { font-size: 0.88rem; margin-bottom: 2px; }
.nara-activity-item .body p { font-size: 0.76rem; color: var(--text-muted); margin: 0; }
.nara-activity-item .status {
    font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
    display: flex; align-items: center; gap: 4px; flex-shrink: 0; white-space: nowrap;
}
.nara-activity-item.is-done .status { color: var(--green); }
.nara-activity-item .status-dot {
    width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.nara-activity-item .status-dot.pending { background: var(--line); }
.nara-activity-item .status-dot.done { background: var(--green); }

/* --- Tantangan Hari Ini --- */
.nara-challenge-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px; margin: 18px 0;
    background: linear-gradient(120deg, var(--yellow-light), var(--white));
    border: 1px solid var(--yellow);
}
.nara-challenge-card .ic {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: var(--yellow); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.nara-challenge-card .bar { height: 8px; background: var(--yellow-light); border-radius: 999px; overflow: hidden; }
.nara-challenge-card .bar > div { height: 100%; width: 0%; background: var(--yellow); border-radius: 999px; transition: width .5s ease; }
.nara-challenge-card.is-complete { border-color: var(--green); background: linear-gradient(120deg, var(--green-light), var(--white)); }
.nara-challenge-card.is-complete .ic { background: var(--green); }
.nara-challenge-card.is-complete .bar > div { background: var(--green); }

/* --- Rekomendasi untukmu --- */
.nara-reco-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    width: 210px;
    padding: 16px; border-radius: var(--radius-md);
    background: var(--purple-light); cursor: pointer;
    transition: transform .15s ease;
}
.nara-reco-item:active { transform: scale(0.98); }
.nara-reco-item .ic {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--purple); color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nara-reco-item .body { width: 100%; }
.nara-reco-item .body h5 { font-size: 0.88rem; margin-bottom: 2px; color: var(--navy-2); }
.nara-reco-item .body p { font-size: 0.76rem; color: var(--text-muted); margin: 0; }

/* --- Modul Saya (scroll ke samping) --- */
.nara-modul-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    width: 168px;
    padding: 16px; border-radius: var(--radius-md);
    background: var(--white); cursor: pointer;
    box-shadow: 0 6px 16px -10px rgba(19, 34, 66, .18);
    transition: transform .15s ease;
}
.nara-modul-item:active { transform: scale(0.98); }
.nara-modul-item .ic-wrap {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.nara-modul-item.is-done .ic-wrap { background: var(--green-light); color: var(--green); }
.nara-modul-item h5 { font-size: 0.86rem; color: var(--navy-2); margin: 0; line-height: 1.3; }

/* --- Pencarian & filter kategori (Edukasi) --- */
.nara-edu-search-wrap { margin: 4px 0 14px; }
.nara-edu-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--line);
    border-radius: 999px; padding: 11px 18px; margin-bottom: 12px;
}
.nara-edu-search .material-symbols-rounded { color: var(--text-muted); }
.nara-edu-search input {
    flex: 1; border: none; outline: none; background: none;
    font-size: 0.88rem; font-family: var(--font-b); color: var(--text);
}
.nara-edu-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.nara-edu-chips::-webkit-scrollbar { display: none; }
.nara-chip {
    flex-shrink: 0; border: 1px solid var(--line); background: var(--white);
    color: var(--text-muted); font-size: 0.78rem; font-weight: 700;
    padding: 8px 16px; border-radius: 999px; cursor: pointer;
    display: flex; align-items: center; gap: 4px; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.nara-chip.is-active { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.nara-chip .material-symbols-rounded { font-size: 1rem; }
.nara-edu-empty { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding: 20px 0; }

/* --- Tombol simpan materi (bookmark) di kartu Edukasi --- */
.edu-save-btn {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.85); color: var(--navy-2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem;
}
.edu-save-btn .material-symbols-rounded { font-size: 1.05rem; }
.edu-save-btn.is-saved { background: var(--yellow); color: #fff; }

/* =========================================================================
   NARA — Carousel/Banner Beranda (reusable, additif)
   -------------------------------------------------------------------------
   Struktur: .nara-carousel > .nara-carousel-track > .nara-carousel-slide[]
   Digerakkan lewat transform: translateX(-N * 100%) di track, dikontrol
   oleh config/naraCarousel.js. Dots terpisah di bawah, di luar area geser.
   ========================================================================= */
.nara-carousel-wrap {
    margin: 4px 0 18px;
}
.nara-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 210px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--navy-2);
    box-shadow: 0 14px 32px -16px rgba(19, 34, 66, 0.35);
    touch-action: pan-y;
    cursor: grab;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow .25s ease;
}
.nara-carousel:active { cursor: grabbing; }
.nara-carousel:hover {
    box-shadow: 0 18px 38px -16px rgba(19, 34, 66, 0.45);
}
.nara-carousel:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}
.nara-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform .5s cubic-bezier(.22, .68, 0, 1);
}
.nara-carousel-track.no-anim { transition: none; }
.nara-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}
/* Live-region tersembunyi (khusus pembaca layar, tak tampak visual) */
.nara-carousel-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.nara-carousel-slide img,
.nara-carousel-slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}
/* Ilustrasi gradient bawaan (dipakai bila slide tidak memakai foto) */
.nara-carousel-slide .slide-bg {
    position: absolute;
    inset: 0;
    background: var(--slide-grad, linear-gradient(135deg, var(--navy-2), var(--blue)));
}
.nara-carousel-slide .slide-deco {
    position: absolute;
    inset: 0;
    opacity: .55;
    pointer-events: none;
}
.nara-carousel-slide .slide-deco span.material-symbols-rounded {
    position: absolute;
    color: #fff;
    opacity: .16;
    font-size: 130px;
    right: -18px;
    bottom: -26px;
    transform: rotate(-8deg);
}
/* Overlay gradient tipis agar teks tetap terbaca */
.nara-carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 18, 38, .62) 0%, rgba(10, 18, 38, .18) 55%, rgba(10, 18, 38, 0) 100%);
    pointer-events: none;
}
.nara-carousel-slide .slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 20px 18px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    /* Pakai transition (bukan animation) supaya status akhirnya (terlihat
       penuh) adalah nilai style yang sebenarnya, bukan "titik akhir" dari
       animasi yang bisa batal/nyangkut kalau halaman ini sempat disembunyikan
       (display:none) saat pindah ke tab navbar lain lalu kembali lagi. */
    transition: opacity .55s cubic-bezier(.22, .68, 0, 1), transform .55s cubic-bezier(.22, .68, 0, 1);
}
/* Dipicu lewat JS (retrigger via reflow) tiap slide jadi aktif */
.nara-carousel-slide .slide-content.is-in {
    opacity: 1;
    transform: translateY(0);
}
.nara-carousel-slide .slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    margin-bottom: 6px;
}
.nara-carousel-slide .slide-eyebrow .material-symbols-rounded { font-size: .95rem; }
.nara-carousel-slide h4 {
    font-family: var(--font-d);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
    max-width: 88%;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.nara-carousel-slide p {
    font-family: var(--font-b);
    font-size: .8rem;
    line-height: 1.4;
    color: #e4ecfb;
    max-width: 90%;
}
/* Dots — tiap dot punya "isi" (.nara-dot-fill) yang menunjukkan
   progress mundur autoplay sebelum pindah ke slide berikutnya */
.nara-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
}
.nara-carousel-dots button,
.nara-carousel-dots button.nara-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--line);
    overflow: hidden;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
    -webkit-tap-highlight-color: transparent;
}
.nara-carousel-dots button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.nara-carousel-dots button.is-active {
    width: 26px;
    background: var(--line);
}
.nara-dot-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(0);
}
.nara-dot-fill.is-running {
    animation: naraDotFill var(--autoplay-ms, 4500ms) linear forwards;
}
@keyframes naraDotFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@media (min-width: 641px) {
    .nara-carousel { max-height: 260px; }
    .nara-carousel-slide h4 { font-size: 1.25rem; }
    .nara-carousel-slide p { font-size: .88rem; }
    .nara-carousel-slide .slide-content { padding: 22px 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .nara-carousel-track { transition: none; }
    .nara-carousel-slide .slide-content { opacity: 1; transform: none; transition: none; }
    .nara-dot-fill { display: none; }
}

/* =========================================================================
   NARA — DATA DK 2025-2026 (halaman Data, bagian statistik DK)
   ========================================================================= */
.dk-section { margin-top: 32px; }
.dk-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 4px 0 18px;
    color: var(--text-muted); font-size: .78rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
}
.dk-divider::before, .dk-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--line);
}
.dk-header { margin-bottom: 16px; }
.dk-header-top {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.dk-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue-light); color: var(--blue);
    font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.dk-badge .material-symbols-rounded { font-size: 16px; }
.dk-updated {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--text-muted); font-size: .75rem; font-weight: 600;
}
.dk-updated .material-symbols-rounded { font-size: 15px; }
.dk-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.dk-subtitle { color: var(--text-muted); font-size: .9rem; margin: 0 0 8px; }
.dk-note { color: var(--text-muted); font-size: .8rem; line-height: 1.5; margin: 0; }

/* Tab pemilih tahun */
.dk-year-tabs {
    display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.dk-year-tab {
    padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
    background: #fff; font-size: .88rem; font-weight: 700; color: var(--text-muted);
    cursor: pointer; transition: all .18s ease;
}
.dk-year-tab:hover { border-color: var(--blue); color: var(--blue); }
.dk-year-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.dk-fade-wrap { animation: dkFadeIn .32s ease; }
@keyframes dkFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dk-inline-note {
    display: flex; align-items: center; gap: 8px;
    background: var(--yellow-light); color: #7A5300;
    font-size: .82rem; font-weight: 600; padding: 10px 14px;
    border-radius: var(--radius-sm); margin: 0 0 16px;
}
.dk-inline-note .material-symbols-rounded { font-size: 18px; }

/* Ringkasan statistik */
.dk-summary-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-bottom: 16px;
}
.dk-stat-card {
    background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue);
    border-radius: var(--radius-md); padding: 14px 12px; text-align: left;
}
.dk-stat-ic { margin-bottom: 6px; }
.dk-stat-ic .material-symbols-rounded { font-size: 20px; }
.dk-stat-num { font-family: var(--font-d); font-size: 1.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.dk-stat-lbl { color: var(--text-muted); font-size: .76rem; font-weight: 600; margin-top: 2px; }

/* Card generik DK */
.dk-card { padding: 18px; margin-bottom: 14px; }
.dk-card-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-d); font-size: 1rem; font-weight: 800; color: var(--navy);
    margin: 0 0 4px;
}
.dk-card-title .material-symbols-rounded { font-size: 19px; color: var(--blue); }
.dk-card-sub { color: var(--text-muted); font-size: .82rem; margin: 0 0 14px; }

/* Status perkara */
.dk-status-list { display: flex; flex-direction: column; gap: 12px; }
.dk-status-row-top {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: .86rem; font-weight: 700; color: var(--text); margin-bottom: 5px;
}
.dk-progress { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.dk-progress-fill { height: 100%; border-radius: 999px; transition: width .5s ease; }

/* Donut jenis kelamin */
.dk-donut-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dk-donut {
    width: 110px; height: 110px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dk-donut-hole {
    width: 74px; height: 74px; border-radius: 50%; background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: var(--font-d); font-weight: 800; font-size: 1.1rem; color: var(--navy);
}
.dk-donut-hole span { font-size: .62rem; font-weight: 600; color: var(--text-muted); }
.dk-donut-legend { display: flex; flex-direction: column; gap: 8px; }
.dk-legend-item { font-size: .84rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.dk-legend-item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dk-legend-item small { color: var(--text-muted); }

/* Bar chart usia/pendidikan/penyebab */
.dk-bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 140px; padding-top: 8px; overflow-x: auto; }
.dk-bar-col { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 54px; height: 100%; }
.dk-bar-value { font-size: .78rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.dk-bar-track { flex: 1; width: 30px; display: flex; align-items: flex-end; }
.dk-bar-fill { width: 100%; border-radius: 8px 8px 4px 4px; transition: height .5s ease; }
.dk-bar-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; margin-top: 6px; text-align: center; }

/* Detail toggle */
.dk-detail-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: none; padding: 0; cursor: pointer;
    font-family: var(--font-d); font-size: .95rem; font-weight: 800; color: var(--navy);
}
.dk-detail-toggle span:first-child { display: flex; align-items: center; gap: 8px; }
.dk-detail-toggle .material-symbols-rounded:first-child { font-size: 19px; color: var(--blue); }
.dk-detail-chevron { font-size: 20px; transition: transform .2s ease; color: var(--text-muted); }
.dk-detail-toggle.is-open .dk-detail-chevron { transform: rotate(180deg); }
.dk-detail-body {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .32s ease, opacity .25s ease, margin .25s ease;
}
.dk-detail-body.is-open { max-height: 320px; opacity: 1; margin-top: 16px; }
.dk-detail-text { color: var(--text-muted); font-size: .82rem; margin: 10px 0 0; line-height: 1.5; }

/* Perbandingan tahun */
.dk-compare-card { margin-top: 4px; }
.dk-compare-bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.dk-compare-bar-label { font-size: .84rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 6px; }
.dk-compare-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.dk-compare-yr { font-size: .72rem; color: var(--text-muted); font-weight: 700; width: 42px; flex-shrink: 0; }
.dk-compare-track { flex: 1; height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.dk-compare-fill { height: 100%; border-radius: 999px; transition: width .5s ease; }
.dk-compare-bar-row b { font-size: .8rem; color: var(--navy); width: 30px; text-align: right; flex-shrink: 0; }

.dk-compare-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dk-compare-row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .8rem;
}
.dk-compare-row-label { color: var(--text); font-weight: 600; }
.dk-compare-row-vals { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.dk-compare-row-delta { display: flex; align-items: center; gap: 3px; font-weight: 800; white-space: nowrap; }
.dk-compare-row-delta .material-symbols-rounded { font-size: 15px; }
.dk-compare-pct { font-weight: 600; font-size: .74rem; opacity: .85; margin-left: 2px; }
.dk-delta-up { color: var(--orange); }
.dk-delta-down { color: var(--blue); }
.dk-delta-flat { color: var(--text-muted); }

@media (min-width: 641px) {
    .dk-summary-grid { grid-template-columns: repeat(4, 1fr); }
    .dk-compare-row { grid-template-columns: 1fr auto auto; }
}
@media (max-width: 380px) {
    .dk-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .dk-bar-chart { gap: 8px; }
    .dk-bar-col { min-width: 46px; }
}

/* =====================================================================
   MOOD QUEST — mini game terpisah dari materi Kesehatan Mental Remaja
   (semua kelas diberi prefix "mq-" agar tidak bentrok dengan style lain)
   ===================================================================== */
.mq-crosslink-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px 18px;
    cursor: pointer;
    border: 1.5px solid var(--purple-light);
    background: linear-gradient(135deg, var(--purple-light), var(--blue-softer));
    transition: transform .15s ease, box-shadow .15s ease;
}
.mq-crosslink-card:hover,
.mq-crosslink-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    outline: none;
}
.mq-crosslink-ic {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.mq-crosslink-body h5 { margin: 0 0 2px; color: var(--navy-2); }
.mq-crosslink-body p { margin: 0; font-size: .82rem; color: var(--text-muted); }
.mq-crosslink-arrow { color: var(--purple); flex-shrink: 0; }

/* =====================================================================
   MOOD QUEST — REDESIGN (mobile-first, minimal, Android/Material feel)
   ===================================================================== */

/* Container: narrow, proportional to a phone screen */
#page-moodquest .mq-container {
    max-width: 430px;
    padding: 20px 18px 8px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    #page-moodquest .mq-container { padding: 16px 16px 8px; }
}

/* Compact back button */
.mq-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.82rem;
    margin-bottom: 14px;
}
.mq-back .material-symbols-rounded { font-size: 1.05rem; }

/* Hero: small, calm, uncluttered */
.mq-hero {
    position: relative;
    padding: 6px 4px 4px;
    text-align: center;
    overflow: hidden;
}
.mq-hero-emoji-row {
    position: relative;
    height: 22px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.mq-float {
    position: static;
    font-size: 1rem;
    opacity: .55;
    animation: mqFloat 3.6s ease-in-out infinite;
}
.mq-float-2 { animation-delay: .4s; }
.mq-float-3 { animation-delay: .8s; }
@keyframes mqFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.mq-eyebrow {
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.68rem;
}
.mq-title {
    text-align: center;
    font-size: clamp(28px, 7vw, 32px);
    font-weight: 800;
    color: var(--navy-2);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.mq-desc {
    text-align: center;
    margin: 0 auto 16px;
    max-width: 320px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Main card: rounded, very subtle shadow, soft blue-tinted */
.mq-game-card {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--blue-light);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 6px 18px -14px rgba(19, 34, 66, .18);
}

/* Compact top bar: tag + score + progress count together */
.mq-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.mq-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 999px;
}
.mq-chip .material-symbols-rounded { font-size: 0.95rem; }
.mq-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
}
.mq-stats span { display: inline-flex; align-items: center; gap: 3px; }
.mq-stats .material-symbols-rounded { font-size: 0.95rem; color: var(--blue); }
.mq-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray);
}

/* Thin, fully-rounded progress bar */
.mq-progress-track {
    height: 5px;
    background: var(--blue-light);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}
.mq-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--blue);
    transition: width .4s ease;
}

/* Situation prompt */
.mq-situation {
    font-size: 19px;
    line-height: 1.55;
    color: var(--navy-2);
    font-weight: 600;
    margin-bottom: 18px;
}

/* Answer options: Material-style, comfortable tap spacing */
.mq-opts {
    display: grid;
    gap: 12px;
}
.mq-opt-btn {
    text-align: left;
    padding: 14px 16px;
    border-radius: 15px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-family: var(--font-b);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text);
    transition: border-color .15s ease, background .15s ease;
}
.mq-opt-btn:hover:not(:disabled) {
    border-color: var(--blue);
    background: var(--blue-softer);
}
.mq-opt-btn:active:not(:disabled) {
    transform: scale(.99);
}
.mq-opt-btn:disabled { cursor: default; opacity: .75; }
.mq-opt-btn.correct {
    border-color: var(--green);
    background: var(--green-light);
    color: #186b45;
}
.mq-opt-btn.wrong {
    border-color: var(--red);
    background: var(--red-light);
    color: #a33;
}

/* Feedback panel */
.mq-feedback {
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 14px;
    background: var(--blue-softer);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Result screen */
.mq-result { text-align: center; }
.mq-result-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 12px;
}
.mq-result-title {
    font-size: 1.15rem;
    color: var(--navy-2);
    margin-bottom: 6px;
}
.mq-result-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.mq-result-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.mq-reward {
    text-align: left;
    margin: 0 0 16px;
    padding: 16px 18px;
}
.mq-result-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mq-result-actions .btn { width: 100%; }

/* Empathy note: tighter spacing to match compact layout */
.mq-empathy {
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 0.85rem;
    border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .mq-float { animation: none; }
}
