    /* Dynamic Font Loader applied via JS, but base styles here */
    .child-name, .cursive-text {
        /* Fallback */
        font-family: 'Playwrite NL Guides', cursive;
    }

    /* 1. Intro Bar */
    .intro-bar {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.5); /* Transparent white */
        padding: 15px;
        text-align: center;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .child-name {
        font-family: 'Schoolbell', cursive;
        color: #ff4500;
        font-size: 2.5em;
        font-weight: bold;
        margin: 0;
    }

    /* 2. Grid System */
    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        width: 98%;
        margin: 0 auto;
        padding-bottom: 50px;
    }

    /* Badge Columns */
    .badge-col {
        background: white;
        padding: 15px;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Specific Grid for Performance & Lifetime Badges */
    #badge-performance .badge-container, #badge-lifetime .badge-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px; /* Reduced vertical space */
        justify-items: center;
    }

    #badge-performance .badge-icon, #badge-lifetime .badge-icon {
        font-size: 3.5rem !important;
        margin-bottom: 0 !important;
        line-height: 1;
    }

    .badge-col h4 {
        color: #ff6347;
        margin-top: 0;
        margin-bottom: 10px;
        font-family: 'Lobster', cursive;
    }

    .badge-icon {
        font-size: 2em;
        margin: 5px;
    }

    /* Collapsible Settings */
    #settings-details {
        grid-column: 1 / -1; /* Full width */
        background: white;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin-bottom: 20px;
        overflow: hidden;
    }

    summary {
        padding: 15px;
        font-weight: bold;
        font-size: 1.2em;
        color: #ff4500;
        cursor: pointer;
        background: #fff8dc;
        border-bottom: 1px solid #eee;
        list-style: none; /* Hide default arrow */
        text-align: center;
    }

    summary::-webkit-details-marker {
        display: none;
    }

    summary::after {
        content: " ▼";
    }

    details[open] summary::after {
        content: " ▲";
    }

    .settings-content {
        padding: 20px;
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .settings-content.grid-layout {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .setting-col {
        background: #fafafa;
        padding: 10px;
        border-radius: 10px;
        min-width: 250px;
    }

    .setting-title {
        font-weight: bold;
        color: #555;
        margin-bottom: 10px;
        display: block;
    }

    /* Start Button */
    .start-btn-container {
        text-align: center;
        width: 50%;
        margin: 20px auto;
    }

    #start-btn {
        background: #ffcc00;
        color: #d35400;
        font-family: 'Nunito', sans-serif;
        font-weight: bold;
        font-size: 3em;
        padding: 20px 60px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
        transition: transform 0.2s;
        width: 100%;
    }

    #start-btn:hover {
        transform: scale(1.05);
        background: #ffd700;
    }

    #game-container {
        display: none;
        width: 100%;
        height: 65vh;
        /* margin-top: 10px; */
        border: none;
    }

    /* Toggles (from Woordjes, useful if reused) */
    .toggle-btn {
        display: block;
        width: 100%;
        padding: 8px;
        margin-bottom: 5px;
        background: #eee;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
        box-sizing: border-box;
    }

    .toggle-btn.active {
        background: #d1ffd1;
        border-color: #4CAF50;
        color: #006400;
        font-weight: bold;
    }

    /* Mode Selectors (Blokkendoos style) */
    #mode-selector-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 600px;
        margin: 20px auto;
        padding: 10px;
    }

    .mode-btn {
        height: 160px; /* Increased for label */
        background: white;
        border: 4px solid #ddd;
        border-radius: 20px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 10px;
    }

    .mode-btn:hover {
        transform: scale(1.05);
        border-color: #E91E63;
        background: #FCE4EC;
    }

    .mode-icon {
        font-size: 4rem;
    }

    .mode-label {
        font-weight: bold;
        color: #555;
        font-size: 1.1em;
        text-align: center;
    }

    @media (max-width: 900px) {
        .dashboard-grid, .settings-content.grid-layout {
            grid-template-columns: 1fr 1fr;
        }
        .start-btn-container {
            width: 90%;
        }
    }

    @media (max-width: 600px) {
        .dashboard-grid, .settings-content.grid-layout {
            grid-template-columns: 1fr;
        }
        #mode-selector-grid {
            /* Keep 2 columns or maybe stack? The original inline style kept 2 cols but had a media query for icon size */
        }
        .mode-icon { font-size: 3rem; }
        .mode-btn { height: 140px; }
        .mode-label { font-size: 0.9em; }
    }
