/* Source: /css/universal-site-header-v17.7.2.css */
/* ==========================================================
   TypingTutor.Online — Universal Site Header v17.7.2
   One complete header for tutor, tests, games, kids, blog,
   certificates, information pages, sitemap, and 404.
========================================================== */

#header,
.test-site-header {
    box-sizing: border-box !important;
    position: relative;
    z-index: 1000;
    width: 100%;
    min-height: 80px;
    padding: max(9px, env(safe-area-inset-top)) 0 9px;
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border, #dbe4f0);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}

#header .header-inner,
.test-header-inner {
    box-sizing: border-box;
    width: min(1660px, calc(100% - 34px));
    min-height: 60px;
    margin-inline: auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(235px, 300px) minmax(0, 1fr) auto;
    gap: clamp(10px, 1.4vw, 24px);
    align-items: center;
}

#header .logo,
.test-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-self: start;
    color: inherit;
    text-decoration: none;
}

#header .site-logo-picture,
.test-logo-stack {
    position: relative;
    display: grid;
    width: min(280px, 100%);
    min-width: 0;
}

#header .site-logo-picture,
#header .site-logo-picture-light,
#header .site-logo-picture-dark,
.test-logo-stack > img {
    grid-area: 1 / 1;
}

#header .site-logo-image,
.test-logo img {
    display: block;
    width: min(280px, 100%);
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

#header .site-logo-picture-dark,
.test-logo-dark {
    display: none !important;
}

html[data-theme="dark"] #header .site-logo-picture-light,
html[data-theme="dark"] .test-logo-light {
    display: none !important;
}

html[data-theme="dark"] #header .site-logo-picture-dark,
html[data-theme="dark"] .test-logo-dark {
    display: block !important;
}

#header .primary-mode-navigation,
.test-nav {
    min-width: 0;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, .72vw, 12px);
    overflow: visible;
}

#header #modeSwitcher,
#header .mode-switcher-inner,
#header .mode-navigation {
    min-width: 0;
    width: auto;
}

#header .mode-navigation {
    display: flex;
    align-items: center;
    gap: clamp(2px, .72vw, 12px);
}

#header .mode-switcher-heading {
    display: none !important;
}

#header .lesson-home-nav-button,
#header .mode-navigation > .mode-button,
#header .mode-more > summary.mode-button,
.test-nav > a,
.test-nav-more > summary {
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px clamp(9px, .78vw, 15px);
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text, #172235);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: clamp(12px, .84vw, 15px);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease,
        border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#header .mode-button-icon,
#header .lesson-home-nav-icon,
.test-nav .mode-button-icon,
.test-nav-more-menu .mode-button-icon {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
}

#header .mode-button-text,
#header .lesson-home-nav-label,
.test-nav .mode-button-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#header .lesson-home-nav-button:hover,
#header .mode-navigation > .mode-button:hover,
#header .mode-more > summary.mode-button:hover,
.test-nav > a:hover,
.test-nav-more > summary:hover,
.test-nav-more[open] > summary {
    color: var(--primary, #1769ff);
    background: var(--surface-alt, #f2f7ff);
    border-color: #dbe8fa;
}

#header .lesson-home-nav-button-active,
#header .mode-navigation > .mode-button-active,
#header .mode-more.mode-more-active > summary,
.test-nav > a[aria-current="page"],
.test-nav > a.mode-button-active,
.test-nav-more.mode-more-active > summary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #246df0, #285ee5) !important;
    border-color: rgba(31, 92, 222, .58) !important;
    box-shadow: 0 10px 24px rgba(47, 103, 246, .24) !important;
}

#header .header-tools,
.test-header-inner > #themeButton {
    justify-self: end;
}

#header #themeButton,
.test-header-inner > #themeButton {
    box-sizing: border-box;
    min-width: 116px;
    min-height: 48px;
    margin: 0;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #246df0, #285ee5);
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: clamp(12px, .84vw, 15px);
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(47, 103, 246, .20);
}

#header #themeButton > span:first-child,
.test-header-inner > #themeButton > span:first-child {
    display: inline-flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 19px;
    line-height: 22px;
}

.theme-button-arrow,
.mode-more-chevron {
    font-size: 10px;
    opacity: .8;
}

#header .mode-more,
.test-nav-more {
    position: relative;
    flex: 0 0 auto;
}

#header .mode-more > summary,
.test-nav-more > summary {
    list-style: none;
}

#header .mode-more > summary::-webkit-details-marker,
.test-nav-more > summary::-webkit-details-marker {
    display: none;
}

#header .mode-more-menu,
.test-nav-more-menu {
    box-sizing: border-box;
    position: absolute;
    z-index: 1200;
    top: calc(100% + 10px);
    right: 0;
    width: 244px;
    padding: 8px;
    display: none;
    gap: 4px;
    background: var(--surface-elevated, #ffffff);
    border: 1px solid var(--border, #dbe4f0);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

#header .mode-more[open] .mode-more-menu,
.test-nav-more[open] .test-nav-more-menu {
    display: grid;
}

#header .mode-more-menu .mode-button,
.test-nav-more-menu a,
.test-nav-more-menu button {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--text, #172235);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#header .mode-more-menu .mode-button:hover,
.test-nav-more-menu a:hover,
.test-nav-more-menu button:hover,
.test-nav-more-menu a[aria-current="page"] {
    color: var(--primary, #1769ff);
    background: var(--surface-alt, #f2f7ff);
    border-color: var(--border, #dbe4f0);
}

/* Theme chooser: included here so simple information pages match the app. */
.theme-menu {
    position: fixed;
    z-index: 10050;
    width: 250px;
    padding: 8px;
    background: var(--surface-elevated, #ffffff);
    border: 1px solid var(--border, #dbe4f0);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
}
.theme-menu.hidden { display: none !important; }
.theme-option {
    display: grid;
    grid-template-columns: 36px 1fr 22px;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 10px;
    color: var(--text, #172235);
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}
.theme-option:hover,
.theme-option:focus-visible {
    background: var(--surface-alt, #f2f7ff);
    border-color: var(--border, #dbe4f0);
    outline: none;
}
.theme-option-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--surface-alt, #f2f7ff);
    border-radius: 9px;
    font-size: 18px;
}
.theme-option-copy { display: grid; gap: 2px; }
.theme-option-copy strong { color: var(--text, #172235); font-size: 13px; }
.theme-option-copy small { color: var(--text-light, #718096); font-size: 10px; }
.theme-option-check { color: var(--primary, #1769ff); font-weight: 900; opacity: 0; }
.theme-option-selected { background: var(--primary-light, #edf4ff); border-color: var(--border, #dbe4f0); }
.theme-option-selected .theme-option-check { opacity: 1; }

html[data-theme="dark"] #header,
html[data-theme="dark"] .test-site-header {
    background: #101b2e;
    border-color: #40516a;
}
html[data-theme="dark"] #header .lesson-home-nav-button,
html[data-theme="dark"] #header .mode-navigation > .mode-button,
html[data-theme="dark"] #header .mode-more > summary.mode-button,
html[data-theme="dark"] .test-nav > a,
html[data-theme="dark"] .test-nav-more > summary,
html[data-theme="dark"] #header .mode-more-menu .mode-button,
html[data-theme="dark"] .test-nav-more-menu a,
html[data-theme="dark"] .test-nav-more-menu button {
    color: #dce7f7;
}
html[data-theme="dark"] #header .mode-more-menu,
html[data-theme="dark"] .test-nav-more-menu,
html[data-theme="dark"] .theme-menu {
    background: #101b2e;
    border-color: #40516a;
}
html[data-theme="dark"] .theme-option,
html[data-theme="dark"] .theme-option-copy strong { color: #e7eef9; }
html[data-theme="dark"] .theme-option-copy small { color: #9aabc2; }
html[data-theme="dark"] .theme-option-icon,
html[data-theme="dark"] .theme-option:hover,
html[data-theme="dark"] .theme-option:focus-visible,
html[data-theme="dark"] #header .mode-more-menu .mode-button:hover,
html[data-theme="dark"] .test-nav-more-menu a:hover,
html[data-theme="dark"] .test-nav-more-menu button:hover {
    background: #17263c;
    border-color: #304662;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="system"] #header,
    html[data-theme="system"] .test-site-header {
        background: #101b2e;
        border-color: #40516a;
    }
    html[data-theme="system"] #header .site-logo-picture-light,
    html[data-theme="system"] .test-logo-light { display: none !important; }
    html[data-theme="system"] #header .site-logo-picture-dark,
    html[data-theme="system"] .test-logo-dark { display: block !important; }
    html[data-theme="system"] #header .lesson-home-nav-button,
    html[data-theme="system"] #header .mode-navigation > .mode-button,
    html[data-theme="system"] #header .mode-more > summary.mode-button,
    html[data-theme="system"] .test-nav > a,
    html[data-theme="system"] .test-nav-more > summary,
    html[data-theme="system"] #header .mode-more-menu .mode-button,
    html[data-theme="system"] .test-nav-more-menu a,
    html[data-theme="system"] .test-nav-more-menu button { color: #dce7f7; }
    html[data-theme="system"] #header .mode-more-menu,
    html[data-theme="system"] .test-nav-more-menu,
    html[data-theme="system"] .theme-menu {
        background: #101b2e;
        border-color: #40516a;
    }
}

@media (max-width: 1360px) {
    #header .header-inner,
    .test-header-inner {
        grid-template-columns: minmax(205px, 235px) minmax(0, 1fr) auto;
        gap: 8px;
    }
    #header .site-logo-picture,
    #header .site-logo-image,
    .test-logo-stack,
    .test-logo img { width: min(235px, 100%); }
    #header .lesson-home-nav-button,
    #header .mode-navigation > .mode-button,
    #header .mode-more > summary.mode-button,
    .test-nav > a,
    .test-nav-more > summary {
        min-height: 44px;
        padding-inline: 8px;
        gap: 6px;
        font-size: 12px;
    }
    #header #themeButton,
    .test-header-inner > #themeButton {
        min-width: 104px;
        min-height: 44px;
        padding-inline: 11px;
        font-size: 12px;
    }
}

@media (max-width: 1040px) {
    #header,
    .test-site-header {
        min-height: 0;
        padding-top: max(7px, env(safe-area-inset-top));
        padding-bottom: 7px;
    }
    #header .header-inner,
    .test-header-inner {
        width: min(100% - 22px, 1660px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }
    #header .primary-mode-navigation,
    .test-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        padding: 2px 0 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    #header .primary-mode-navigation::-webkit-scrollbar,
    .test-nav::-webkit-scrollbar { display: none; }
    #header .header-tools,
    .test-header-inner > #themeButton { grid-column: 2; grid-row: 1; }
    .test-logo { grid-column: 1; grid-row: 1; }
}

@media (max-width: 590px) {
    #header .header-inner,
    .test-header-inner { width: min(100% - 14px, 1660px); }
    #header .site-logo-picture,
    #header .site-logo-image,
    .test-logo-stack,
    .test-logo img { width: min(190px, 100%); }
    #header .lesson-home-nav-button,
    #header .mode-navigation > .mode-button,
    #header .mode-more > summary.mode-button,
    .test-nav > a,
    .test-nav-more > summary {
        min-width: 68px;
        min-height: 44px;
        padding: 7px 8px;
        flex-direction: column;
        gap: 3px;
        font-size: 9px;
    }
    #header .mode-more-chevron,
    .test-nav-more .mode-more-chevron { display: none; }
    #header #themeButton,
    .test-header-inner > #themeButton {
        min-width: 48px;
        min-height: 42px;
        padding: 8px 10px;
    }
    #header #themeButton > span:nth-child(2),
    #header #themeButton > span:last-child,
    .test-header-inner > #themeButton > span:nth-child(2),
    .test-header-inner > #themeButton > span:last-child { display: none; }
}

/* ==========================================================
   v17.10.182 — Reliable mobile More menu
   Explicit JS toggling + fixed viewport panel prevents the menu from
   opening outside the horizontally scrolling navigation in Chrome mobile.
========================================================== */
@media (max-width: 1040px), (pointer: coarse) {
    #header .mode-more-menu,
    .test-nav-more-menu {
        position: fixed !important;
        z-index: 10050 !important;
        top: var(--site-more-top, 118px) !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: min(var(--site-more-max-height, 70vh), 480px) !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
        box-shadow: 0 20px 52px rgba(15, 23, 42, .24);
    }

    #header .mode-more[open] > summary.mode-button,
    .test-nav-more[open] > summary {
        color: var(--primary, #1769ff);
        background: var(--surface-alt, #f2f7ff);
        border-color: var(--border, #dbe4f0);
    }
}

/* v17.10.327: readable hover, open and keyboard-focus states in both dark modes. */
html[data-theme="dark"] #header .lesson-home-nav-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-navigation > .mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-more > summary.mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] #header .mode-more[open] > summary.mode-button,
html[data-theme="dark"] .test-nav > a:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more > summary:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more[open] > summary,
html[data-theme="dark"] #header .mode-more-menu .mode-button:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more-menu a:is(:hover,:focus-visible),
html[data-theme="dark"] .test-nav-more-menu button:is(:hover,:focus-visible) {
    color: #e7eef9;
    background: #213a5f;
    border-color: #526d91;
    text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html[data-theme="system"] #header .lesson-home-nav-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-navigation > .mode-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-more > summary.mode-button:is(:hover,:focus-visible),
html[data-theme="system"] #header .mode-more[open] > summary.mode-button,
html[data-theme="system"] .test-nav > a:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more > summary:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more[open] > summary,
html[data-theme="system"] #header .mode-more-menu .mode-button:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more-menu a:is(:hover,:focus-visible),
html[data-theme="system"] .test-nav-more-menu button:is(:hover,:focus-visible) {
    color: #e7eef9;
    background: #213a5f;
    border-color: #526d91;
    text-decoration: none;
}
}

/* Source: /css/universal-footer-v17.10.21.css */
/* TypingTutor.Online global footer v17.10.21 */
.universal-site-footer{display:block;box-sizing:border-box;width:100%;margin-top:48px;padding:36px clamp(18px,4vw,56px) 24px;color:var(--text-light,#64748b);background:linear-gradient(180deg,#fbfdff 0%,#f6f9fd 100%);border-top:1px solid var(--border,#d9e2ef);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.universal-footer-inner{box-sizing:border-box;width:min(1500px,100%);margin:0 auto}
.universal-footer-main{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,2.15fr);gap:clamp(32px,5vw,72px);align-items:start}
.universal-footer-brand{display:grid;gap:9px;max-width:340px;text-align:left}
.universal-footer-home{width:max-content;color:var(--text,#0f172a)!important;font-size:18px;font-weight:850;line-height:1.25;text-decoration:none;letter-spacing:-.01em}
.universal-footer-home:hover,.universal-footer-home:focus-visible{color:var(--primary,#1769ff)!important}
.universal-footer-brand span{color:var(--text-light,#64748b);font-size:13px;font-weight:550;line-height:1.6}
.universal-footer-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px clamp(22px,4vw,54px)}
.universal-footer-group{min-width:0}
.universal-footer-group>strong{display:block;margin:0 0 10px;color:var(--text,#0f172a);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.universal-footer-group-links{display:grid;gap:8px}
.universal-footer-group-links a{width:max-content;max-width:100%;color:var(--text-light,#64748b);font-size:13px;font-weight:700;line-height:1.45;text-decoration:none;transition:color .16s ease,transform .16s ease}
.universal-footer-group-links a:hover,.universal-footer-group-links a:focus-visible{color:var(--primary,#1769ff);text-decoration:underline;text-underline-offset:3px}
.universal-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:28px;padding-top:18px;border-top:1px solid color-mix(in srgb,var(--border,#d9e2ef) 82%,transparent);color:var(--text-light,#64748b);font-size:11px;font-weight:600;line-height:1.5}
html[data-theme="dark"] .universal-site-footer{color:#94a3b8;background:#0f172a;border-top-color:#334155}
html[data-theme="dark"] .universal-footer-home,html[data-theme="dark"] .universal-footer-group>strong{color:#f8fafc!important}
html[data-theme="dark"] .universal-footer-brand span,html[data-theme="dark"] .universal-footer-group-links a,html[data-theme="dark"] .universal-footer-bottom{color:#a8b5c7}
html[data-theme="dark"] .universal-footer-bottom{border-top-color:#334155}
html[data-theme="dark"] .universal-footer-home:hover,html[data-theme="dark"] .universal-footer-home:focus-visible,html[data-theme="dark"] .universal-footer-group-links a:hover,html[data-theme="dark"] .universal-footer-group-links a:focus-visible{color:#60a5fa!important}
@media(prefers-color-scheme:dark){html[data-theme="system"] .universal-site-footer{color:#94a3b8;background:#0f172a;border-top-color:#334155}html[data-theme="system"] .universal-footer-home,html[data-theme="system"] .universal-footer-group>strong{color:#f8fafc!important}html[data-theme="system"] .universal-footer-brand span,html[data-theme="system"] .universal-footer-group-links a,html[data-theme="system"] .universal-footer-bottom{color:#a8b5c7}html[data-theme="system"] .universal-footer-bottom{border-top-color:#334155}html[data-theme="system"] .universal-footer-home:hover,html[data-theme="system"] .universal-footer-home:focus-visible,html[data-theme="system"] .universal-footer-group-links a:hover,html[data-theme="system"] .universal-footer-group-links a:focus-visible{color:#60a5fa!important}}
@media(max-width:900px){.universal-site-footer{padding-top:30px}.universal-footer-main{grid-template-columns:1fr;gap:26px}.universal-footer-brand{max-width:620px}.universal-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.universal-site-footer{margin-top:32px;padding:28px 18px 20px}.universal-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.universal-footer-group:last-child{grid-column:1/-1}.universal-footer-group:last-child .universal-footer-group-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.universal-footer-group-links a{width:auto;padding:2px 0}.universal-footer-bottom{align-items:flex-start;flex-direction:column;gap:5px;margin-top:24px}}
@media(max-width:390px){.universal-footer-nav{grid-template-columns:1fr}.universal-footer-group:last-child{grid-column:auto}.universal-footer-group:last-child .universal-footer-group-links{grid-template-columns:1fr}}
@media print{.universal-site-footer{display:none!important}}

/* Source: /css/site-account-header-v17.10.311.css */
/* Shared account action. Reserve space before JavaScript runs. */
#header .header-tools, .test-header-inner > .site-header-actions {
 display:flex !important; align-items:center; justify-content:flex-end; gap:8px;
 justify-self:end; min-width:0;
}
#header .site-account-link, .test-site-header .site-account-link {
 box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:7px;
 min-height:48px; min-width:118px; padding:10px 12px; border:1px solid var(--border,#c9d8ed);
 border-radius:12px; background:var(--surface-alt,#f2f7ff); color:var(--text,#172235);
 font:750 13px/1 system-ui,sans-serif; text-decoration:none; white-space:nowrap; flex-shrink:0;
}
.site-account-link svg {flex-shrink:0;}
#header .site-account-link:hover, .test-site-header .site-account-link:hover {border-color:#246df0; background:#e7f0ff; color:#1747a6; text-decoration:none;}
.site-account-link:focus-visible {outline:3px solid #246df0; outline-offset:3px;}
.test-header-inner > .site-header-actions > #themeButton {
 box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:8px;
 min-width:116px; min-height:48px; padding:10px 15px; margin:0; border:0; border-radius:12px;
 background:linear-gradient(135deg,#246df0,#285ee5); color:white; font:750 13px/1 system-ui,sans-serif;
 cursor:pointer; white-space:nowrap;
}
html[data-theme="dark"] .site-account-link {background:#182a43; color:#e7eef9; border-color:#526783;}
html[data-theme="dark"] .site-account-link:hover {background:#213a5f; color:white;}
@media (max-width:1200px) {
 #header .header-inner, .test-header-inner {grid-template-columns:minmax(0,1fr) auto !important;}
 #header .primary-mode-navigation, .test-nav {grid-column:1 / -1; grid-row:2;}
 #header .header-tools, .test-header-inner > .site-header-actions {grid-column:2; grid-row:1;}
}
@media (max-width:590px) {
 #header .site-account-link, .test-site-header .site-account-link {min-width:44px; width:44px; min-height:44px; padding:10px;}
 .site-account-label {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;}
 #header .header-tools, .test-header-inner > .site-header-actions {gap:6px;}
 #header #themeButton, .test-header-inner > .site-header-actions > #themeButton {min-width:44px; width:44px; min-height:44px; padding:8px !important;}
 .test-header-inner > .site-header-actions > #themeButton > span:not(:first-child) {display:none;}
}

/* v17.10.317 — green account action after server-confirmed sign-in. */
#header .site-account-link[data-signed-in="true"],
.test-site-header .site-account-link[data-signed-in="true"] {
 background:#15803d; color:#fff; border-color:#15803d;
}
#header .site-account-link[data-signed-in="true"]:hover,
.test-site-header .site-account-link[data-signed-in="true"]:hover {
 background:#166534; color:#fff; border-color:#166534;
}
html[data-theme="dark"] #header .site-account-link[data-signed-in="true"],
html[data-theme="dark"] .test-site-header .site-account-link[data-signed-in="true"] {
 background:#166534; color:#fff; border-color:#22c55e;
}
html[data-theme="dark"] #header .site-account-link[data-signed-in="true"]:hover,
html[data-theme="dark"] .test-site-header .site-account-link[data-signed-in="true"]:hover {
 background:#14532d; color:#fff;
}

/* Source: /games/kids-adventures/shell.css */
:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#17243c;background:#f8fafc;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:#245ee8}button,input,select{font:inherit}button{cursor:pointer}[hidden]{display:none!important}.adventure-page{max-width:1500px;margin:auto;padding:20px 16px 48px}.adventure-nav,.adventure-help nav{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:.9rem}.adventure-nav a,.adventure-help a{padding:5px 0}.adventure-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.adventure-intro h1{font-size:clamp(1.7rem,3.5vw,2.4rem);margin:8px 0}.adventure-intro h1 span{font-size:.5em;font-weight:500;display:block;margin-top:6px}.adventure-intro p{max-width:900px;line-height:1.6;color:#52657d}.adventure-eyebrow{font-size:.72rem;letter-spacing:.1em;color:#166534;font-weight:800}.adventure-stage{flex-shrink:0;padding:9px 14px;border:1px solid #a7d3b7;background:#f0fdf4;color:#166534;border-radius:30px;font-weight:700;font-size:.88rem}.adventure-gate{text-align:center;border:1px solid #dce5ee;border-radius:20px;padding:40px 20px;min-height:260px;background:#fff}.adventure-gate>span{font-size:3rem}.adventure-gate p{line-height:1.6;max-width:600px;margin:18px auto}.adventure-gate>a,.adventure-gate>button{display:inline-block;margin:6px;padding:12px 16px}.adventure-button{background:#15803d;color:white;border-radius:10px;text-decoration:none;font-weight:700}.adventure-gate button{background:transparent;border:1px solid #94a3b8;border-radius:10px;color:inherit}.kids-adventure{border-radius:18px;overflow:clip;isolation:isolate}.kids-adventure input{font-size:18px!important}.kids-adventure button{touch-action:manipulation}.adventure-help{padding:24px 4px;line-height:1.7;max-width:1100px}.adventure-help h2{font-size:1.3rem}.adventure-help p{color:#52657d}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2563eb;outline-offset:3px}@media(max-width:700px){.adventure-page{padding:14px 8px 30px}.adventure-intro{align-items:flex-start;flex-direction:column;gap:8px;padding:0 6px}.adventure-nav{padding:0 6px}.adventure-intro h1{font-size:1.75rem}.adventure-stage{font-size:.82rem}.adventure-intro p{font-size:.95rem}.adventure-gate{padding:24px 14px}.adventure-help{padding:20px 8px}}html[data-theme=dark]{color:#e5edf8;background:#0b1120;color-scheme:dark}html[data-theme=dark] .adventure-intro p,html[data-theme=dark] .adventure-help p{color:#b6c5d9}html[data-theme=dark] .adventure-gate{background:#142033;border-color:#3b4e68}html[data-theme=dark] .adventure-nav a,html[data-theme=dark] .adventure-help a{color:#93b7ff}html[data-theme=dark] .adventure-eyebrow{color:#86efac}@media(prefers-color-scheme:dark){html[data-theme=system]{color:#e5edf8;background:#0b1120;color-scheme:dark}html[data-theme=system] .adventure-intro p,html[data-theme=system] .adventure-help p{color:#b6c5d9}html[data-theme=system] .adventure-gate{background:#142033;border-color:#3b4e68}html[data-theme=system] .adventure-nav a,html[data-theme=system] .adventure-help a{color:#93b7ff}html[data-theme=system] .adventure-eyebrow{color:#86efac}}@media(prefers-reduced-motion:reduce){.kids-adventure *,.kids-adventure *:before,.kids-adventure *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Source: /games/cosmokeys/game.css */
.kids-adventure.cosmokeys{color-scheme:dark;--bg:#0a0d20;--panel:#141a35;--panel2:#1b2345;--line:#384265;--muted:#abb9d7;--white:#f8faff;--teal:#60efdd;--pink:#ff8cac;--yellow:#ffe08a;--violet:#a99eff;--blue:#7cc9ff;--shadow:0 22px 70px #05081d9e}.kids-adventure.cosmokeys *{box-sizing:border-box}.kids-adventure.cosmokeys{scroll-behavior:smooth}.kids-adventure.cosmokeys{margin:0;min-height:100vh;color:var(--white);font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif;background:radial-gradient(ellipse at 78% -14%,#373276 0,transparent 38%),radial-gradient(ellipse at 0 70%,#122951 0,transparent 45%),#0a0d20}.kids-adventure.cosmokeys button,.kids-adventure.cosmokeys input,.kids-adventure.cosmokeys select{font:inherit}.kids-adventure.cosmokeys button{cursor:pointer}.kids-adventure.cosmokeys button:focus-visible,.kids-adventure.cosmokeys input:focus-visible,.kids-adventure.cosmokeys select:focus-visible{outline:3px solid #85fcdd;outline-offset:3px}.kids-adventure.cosmokeys a{color:inherit}.kids-adventure.cosmokeys .prototype-main{max-width:1480px;padding:22px 26px 60px;margin:auto}.kids-adventure.cosmokeys .topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:21px}.kids-adventure.cosmokeys .brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-.065em;font-size:26px;white-space:nowrap}.kids-adventure.cosmokeys .brandIcon{height:46px;width:46px;border-radius:15px;background:linear-gradient(150deg,#8b7cff,#543cc6);display:grid;place-items:center;box-shadow:0 7px 28px #765ffa65}.kids-adventure.cosmokeys .brandIcon svg{height:34px}.kids-adventure.cosmokeys .brand small{display:block;font-size:11px;font-weight:750;color:#a7b5db;letter-spacing:.045em;margin-top:1px}.kids-adventure.cosmokeys .topActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kids-adventure.cosmokeys .sitePill,.kids-adventure.cosmokeys .coinPill,.kids-adventure.cosmokeys .topButton{border:1px solid #424b70;background:#1b2345c7;padding:10px 15px;border-radius:99px;font-size:12px;font-weight:800;white-space:nowrap}.kids-adventure.cosmokeys .sitePill{color:#e1e9ff}.kids-adventure.cosmokeys .coinPill{color:var(--yellow)}.kids-adventure.cosmokeys .topButton{color:#e7e9ff}.kids-adventure.cosmokeys .topButton:hover{background:#28335b}.kids-adventure.cosmokeys .hero{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 23px}.kids-adventure.cosmokeys .hero .eyebrow{display:inline-flex;align-items:center;gap:6px;color:#8ff7dd;font-size:11px;font-weight:900;letter-spacing:.15em}.kids-adventure.cosmokeys .hero .game-display-title{font-size:clamp(27px,3.15vw,46px);letter-spacing:-.07em;margin:6px 0 6px;line-height:1.12}.kids-adventure.cosmokeys .hero .game-display-title b{background:linear-gradient(90deg,#9ddcff,#9b91ff 50%,#fda0bb);background-clip:text;color:transparent}.kids-adventure.cosmokeys .hero p{max-width:710px;color:#b9c7e6;margin:0;font-size:14px;line-height:1.55}.kids-adventure.cosmokeys .heroArt{flex-shrink:0;display:flex;align-items:center;gap:12px}.kids-adventure.cosmokeys .heroArt .note{border:1px solid #414b71;border-radius:18px;padding:12px 16px;color:#b7c7ea;background:#1b2345;max-width:170px;font-size:11px;line-height:1.5}.kids-adventure.cosmokeys .heroArt .note strong{color:#fff;display:block;font-size:14px}.kids-adventure.cosmokeys .astronaut{width:82px;height:88px;filter:drop-shadow(0 8px 22px #755dfd65)}.kids-adventure.cosmokeys .layout{display:grid;grid-template-columns:224px minmax(0,1fr) 258px;gap:17px;align-items:start}.kids-adventure.cosmokeys .panel{border:1px solid #394466;background:linear-gradient(165deg,#192142 0%,#121a35 100%);box-shadow:var(--shadow);border-radius:22px;overflow:hidden}.kids-adventure.cosmokeys .missionPanel{padding:19px 13px 14px}.kids-adventure.cosmokeys .panelTitle{font-size:14px;font-weight:900;letter-spacing:-.025em;margin:0 7px 5px}.kids-adventure.cosmokeys .panelCaption{margin:0 7px 17px;color:var(--muted);font-size:11px;line-height:1.55}.kids-adventure.cosmokeys .missionList{display:grid;gap:7px}.kids-adventure.cosmokeys .missionButton{width:100%;display:flex;align-items:center;text-align:left;gap:10px;padding:11px 9px;border:1px solid transparent;border-radius:15px;background:transparent;color:#cbd7f1;transition:.2s}.kids-adventure.cosmokeys .missionButton:hover{background:#253058}.kids-adventure.cosmokeys .missionButton.active{background:#303460;border-color:#9288f7}.kids-adventure.cosmokeys .missionButton.locked{opacity:.58}.kids-adventure.cosmokeys .missionGlyph{height:39px;width:39px;flex:0 0 39px;border-radius:14px;display:grid;place-items:center;background:#2b365a;font-size:23px}.kids-adventure.cosmokeys .missionButton.active .missionGlyph{background:#443b7f}.kids-adventure.cosmokeys .missionName{font-size:12px;font-weight:900;line-height:1.3;display:block}.kids-adventure.cosmokeys .missionSub{font-size:10px;color:#94a9cd;display:block;margin-top:2px}.kids-adventure.cosmokeys .missionLock{margin-left:auto;font-size:13px}.kids-adventure.cosmokeys .missionFoot{margin:16px 4px 2px;padding:14px;background:#1f2e53;border:1px solid #3a5480;border-radius:15px;color:#b5c4e1;font-size:11px;line-height:1.55}.kids-adventure.cosmokeys .missionFoot strong{display:block;color:var(--teal);font-size:12px;margin-bottom:3px}.kids-adventure.cosmokeys .gamePanel{padding:16px;min-width:0}.kids-adventure.cosmokeys .gameTop{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:3px 4px 14px}.kids-adventure.cosmokeys .gameTitleTop{display:flex;gap:12px;align-items:center}.kids-adventure.cosmokeys .gameWorldIcon{background:#29315d;border:1px solid #47528c;border-radius:16px;display:grid;place-items:center;width:50px;height:50px;font-size:30px}.kids-adventure.cosmokeys .gameTitleTop small{color:#83f4d9;font-weight:900;letter-spacing:.13em;font-size:10px}.kids-adventure.cosmokeys .gameTitleTop h2{margin:2px 0;font-size:22px;letter-spacing:-.045em}.kids-adventure.cosmokeys .gameTitleTop p{color:#aebcdb;margin:2px 0 0;font-size:11px}.kids-adventure.cosmokeys .smallButtons{display:flex;align-items:center;gap:6px}.kids-adventure.cosmokeys .iconBtn{display:grid;place-items:center;border-radius:12px;border:1px solid #444f77;background:#20294c;color:#fff;width:38px;height:38px;font-size:18px}.kids-adventure.cosmokeys .iconBtn:hover{background:#303b67}.kids-adventure.cosmokeys .statBar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 11px}.kids-adventure.cosmokeys .stat{background:#202748;border:1px solid #384367;border-radius:13px;padding:9px 5px;text-align:center;min-width:0}.kids-adventure.cosmokeys .stat span{display:block;color:#a9bbd7;letter-spacing:.05em;font-weight:850;font-size:9px}.kids-adventure.cosmokeys .stat strong{display:block;font-size:19px;letter-spacing:-.035em;margin-top:2px}.kids-adventure.cosmokeys .stat strong.time{color:#fce297}.kids-adventure.cosmokeys .stat strong.shield{color:#9decf1}.kids-adventure.cosmokeys .stat strong.combo{color:#f9a2c0}.kids-adventure.cosmokeys .arena{position:relative;border-radius:18px;isolation:isolate;height:390px;overflow:hidden;border:1px solid #49518b;background:radial-gradient(ellipse at 52% 120%,#35427b 0%,#1e254f 33%,transparent 62%),radial-gradient(ellipse at 24% 0%,#3f2859 0,transparent 44%),radial-gradient(ellipse at 90% 16%,#233e78 0,transparent 40%),#090e2a}.kids-adventure.cosmokeys .arena::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.85;background-image:radial-gradient(1.5px 1.5px at 9% 20%,#fff 98%,transparent),radial-gradient(2px 2px at 22% 75%,#fff 98%,transparent),radial-gradient(1px 1px at 37% 11%,#fff 98%,transparent),radial-gradient(2px 2px at 65% 37%,#fff 98%,transparent),radial-gradient(1px 1px at 76% 74%,#fff 98%,transparent),radial-gradient(2px 2px at 84% 22%,#fff 98%,transparent),radial-gradient(1px 1px at 47% 59%,#fff 98%,transparent),radial-gradient(1px 1px at 57% 88%,#fff 98%,transparent);background-size:147px 143px}.kids-adventure.cosmokeys .arena::after{content:"";position:absolute;pointer-events:none;left:-10%;right:-10%;height:17px;bottom:0;z-index:2;background:radial-gradient(ellipse,#54ded9cc 0,transparent 73%)}.kids-adventure.cosmokeys .planet{position:absolute;left:50%;bottom:-164px;transform:translateX(-50%);width:375px;height:310px;border-radius:50%;background:radial-gradient(circle at 38% 18%,var(--planetLight,#81efff),var(--planetMain,#2382c7) 39%,var(--planetDark,#173476) 76%);box-shadow:0-8px 72px var(--planetGlow,#3bbaee80),inset -35px -24px 35px #030a2d70;opacity:.95;pointer-events:none;z-index:-1}.kids-adventure.cosmokeys .planet .land{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse 32% 14%at 30% 35%,#79d1a0aa 0 45%,transparent 52%),radial-gradient(ellipse 22% 15%at 62% 44%,#85d7b2a9 0 60%,transparent 67%);mix-blend-mode:screen}.kids-adventure.cosmokeys .planet.saturn::before{content:"";position:absolute;left:-62px;top:70px;width:500px;height:120px;border:20px solid #f2cda2a3;border-left-color:#f2cda247;border-radius:50%;transform:rotate(-18deg)}.kids-adventure.cosmokeys .ship{position:absolute;left:50%;bottom:49px;transform:translateX(-50%);z-index:3;width:90px;height:72px;filter:drop-shadow(0 6px 14px #66dcedbb);pointer-events:none}.kids-adventure.cosmokeys .shieldRing{position:absolute;bottom:17px;left:50%;width:240px;height:80px;transform:translateX(-50%);border:2px solid #67f3e384;border-radius:50%;box-shadow:0 0 36px #5ef4e75c;pointer-events:none;z-index:2}.kids-adventure.cosmokeys .arenaLabel{position:absolute;z-index:4;left:12px;top:12px;padding:7px 11px;background:#121d3dd9;border:1px solid #5a6b99;border-radius:10px;color:#bdcbe9;font-size:10px;font-weight:900;letter-spacing:.07em}.kids-adventure.cosmokeys .threatTag{position:absolute;z-index:4;right:11px;top:12px;padding:7px 11px;background:#1b1e43e3;border:1px solid #5a5678;border-radius:10px;color:#ffca9e;font-size:10px;font-weight:850}.kids-adventure.cosmokeys .meteor{position:absolute;z-index:5;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;min-width:104px;min-height:58px;padding:12px 20px 12px;border-radius:38% 52% 46% 44%;background:radial-gradient(circle at 28% 27%,#b8a4a0,#745e68 42%,#3b3b62 90%);border:2px solid #b89b9c;box-shadow:inset -9px -5px 12px #241f38,0 11px 24px #02051e90;white-space:nowrap;font-size:17px;font-weight:1000;letter-spacing:.02em;text-shadow:0 2px 4px #140a28;user-select:none}.kids-adventure.cosmokeys .meteor:before{content:"";position:absolute;z-index:-1;left:10px;top:6px;width:14px;height:9px;border-radius:50%;background:#5c4a63a1;box-shadow:33px 7px 0#50466396,24px 30px 0#97807c82}.kids-adventure.cosmokeys .meteor.locked{background:radial-gradient(circle at 24% 23%,#f9a6d1,#925ea7 48%,#3d396d 90%);border-color:#ffa0cb;box-shadow:0 0 0 3px #ff94c54f,0 0 32px #ff84c08f}.kids-adventure.cosmokeys .meteor .typed{color:#83ffe3}.kids-adventure.cosmokeys .meteor .remain{color:white}.kids-adventure.cosmokeys .meteor .tail{position:absolute;bottom:80%;left:16%;height:35px;width:56px;background:linear-gradient(0deg,#ffcf8a7c,transparent);clip-path:polygon(0 100%,100% 100%,70%0);transform:rotate(-18deg);z-index:-2;filter:blur(4px)}.kids-adventure.cosmokeys .flash{position:absolute;pointer-events:none;z-index:8;border-radius:50%;height:30px;width:30px;transform:translate(-50%,-50%);background:#b0fff2;box-shadow:0 0 36px 20px #69f7e7;animation:pop .42s ease-out forwards}@keyframes pop{to{transform:translate(-50%,-50%) scale(3);opacity:0}}.kids-adventure.cosmokeys .scoreFloat{position:absolute;color:#9fffea;font-size:17px;font-weight:1000;z-index:8;pointer-events:none;animation:scoreRise .9s ease-out forwards;text-shadow:0 2px 8px #000}@keyframes scoreRise{to{transform:translateY(-52px);opacity:0}}.kids-adventure.cosmokeys .overlay{position:absolute;z-index:12;inset:0;background:#0b1029dd;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.kids-adventure.cosmokeys .overlay.hidden{display:none}.kids-adventure.cosmokeys .overlayCard{text-align:center;max-width:355px;display:grid;justify-items:center;gap:10px}.kids-adventure.cosmokeys .overlayArt{font-size:50px;line-height:1.1}.kids-adventure.cosmokeys .overlayCard h3{font-size:26px;letter-spacing:-.055em;margin:0}.kids-adventure.cosmokeys .overlayCard p{font-size:13px;line-height:1.55;color:#ccd7ef;margin:0 0 3px}.kids-adventure.cosmokeys .cta{border:0;border-radius:13px;padding:13px 22px;background:linear-gradient(120deg,#6ff1db,#69c9e9);color:#172647;font-weight:1000;box-shadow:0 8px 24px #4cd8df45;display:inline-flex;gap:9px;align-items:center;justify-content:center}.kids-adventure.cosmokeys .cta:hover{filter:brightness(1.07);transform:translateY(-1px)}.kids-adventure.cosmokeys .cta.secondary{background:#343e65;color:#f8faff;border:1px solid #596b92;box-shadow:none}.kids-adventure.cosmokeys .buttonRow{display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap}.kids-adventure.cosmokeys .progressWrap{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 3px 9px}.kids-adventure.cosmokeys .progressWrap label{font-size:11px;color:#c5d2ec;font-weight:850}.kids-adventure.cosmokeys .progressWrap strong{color:#97eddd;font-size:11px}.kids-adventure.cosmokeys .progressTrack{background:#303b5d;overflow:hidden;border-radius:6px;height:7px;margin:0 1px 13px}.kids-adventure.cosmokeys .progressFill{height:100%;width:0;background:linear-gradient(90deg,#64dcca,#79e4ff);border-radius:7px;transition:width .3s}.kids-adventure.cosmokeys .inputWrap{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 16px;background:#eaf0ff;color:#132347;border-radius:16px;border:3px solid #9fd5ee}.kids-adventure.cosmokeys .inputIcon{font-size:21px}.kids-adventure.cosmokeys .typingInput{background:transparent;color:#142650;border:0;outline:0!important;flex:1;min-width:0;font-weight:950;letter-spacing:.04em;font-size:21px;padding:6px 0}.kids-adventure.cosmokeys .typingInput::placeholder{color:#687996;letter-spacing:0;font-weight:700;font-size:16px}.kids-adventure.cosmokeys .typingInput:disabled{opacity:.6;cursor:not-allowed}.kids-adventure.cosmokeys .targetPreview{white-space:nowrap;background:#dae5fd;border-radius:10px;padding:8px 9px;font-weight:900;font-size:11px}.kids-adventure.cosmokeys .inputWrap.error{border-color:#fc8b9b;animation:shake .18s linear 2}@keyframes shake{25%{transform:translateX(4px)}75%{transform:translateX(-4px)}}.kids-adventure.cosmokeys .gameHint{min-height:26px;margin:11px 1px 1px;text-align:center;color:#abbbd9;font-size:11px}.kids-adventure.cosmokeys .gameHint strong{color:#9ef4d8}.kids-adventure.cosmokeys .settings{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:11px;color:#b3c0dc}.kids-adventure.cosmokeys .settingSelect{border-radius:10px;background:#222b4d;border:1px solid #46547a;color:#fff;padding:9px 12px;font-size:11px;font-weight:850;max-width:180px}.kids-adventure.cosmokeys .settings .instruction{line-height:1.4}.kids-adventure.cosmokeys .learnPanel{padding:18px}.kids-adventure.cosmokeys .friend{display:flex;align-items:center;gap:9px;padding-bottom:15px;border-bottom:1px solid #384767}.kids-adventure.cosmokeys .friendAvatar{display:grid;place-items:center;flex:0 0 45px;height:45px;background:linear-gradient(145deg,#8c7cfa,#574dbf);border-radius:15px;font-size:26px}.kids-adventure.cosmokeys .friend strong{font-size:12px}.kids-adventure.cosmokeys .friend small{font-size:10px;color:#abbfdf;display:block;margin-top:2px}.kids-adventure.cosmokeys .speech{margin:13px 0 21px;background:#2d335f;border:1px solid #615d9d;color:#e9e5ff;padding:12px;border-radius:14px;font-size:12px;line-height:1.5;min-height:69px}.kids-adventure.cosmokeys .learnHead{display:flex;align-items:center;justify-content:space-between;margin:0 0 11px}.kids-adventure.cosmokeys .learnHead h3{font-size:14px;margin:0}.kids-adventure.cosmokeys .learnHead span{font-size:10px;font-weight:850;color:#8befd8}.kids-adventure.cosmokeys .factCard{background:linear-gradient(145deg,#243e66,#1c2d4f);border:1px solid #4a6787;border-radius:17px;padding:16px}.kids-adventure.cosmokeys .factChip{display:inline-block;border-radius:99px;background:#142d57;color:#8ceadd;padding:6px 9px;font-size:9px;letter-spacing:.12em;font-weight:1000}.kids-adventure.cosmokeys .factCard h4{font-size:17px;margin:9px 0 9px;line-height:1.25;letter-spacing:-.025em}.kids-adventure.cosmokeys .factCard p{margin:0;font-size:12px;color:#cbdaf0;line-height:1.62}.kids-adventure.cosmokeys .sectionDivider{height:1px;background:#384466;margin:19px 0}.kids-adventure.cosmokeys .achHead{display:flex;justify-content:space-between;align-items:center}.kids-adventure.cosmokeys .achHead h3{font-size:14px;margin:0}.kids-adventure.cosmokeys .achHead span{font-size:11px;color:#a5b6d6}.kids-adventure.cosmokeys .achGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.kids-adventure.cosmokeys .achievement{display:grid;justify-items:center;align-content:center;gap:6px;border-radius:13px;padding:11px 3px;background:#242d4d;border:1px solid #3f496d;opacity:.38;text-align:center}.kids-adventure.cosmokeys .achievement.earned{opacity:1;border-color:#a78cc1;background:#38335a}.kids-adventure.cosmokeys .achievement .aEmoji{font-size:24px}.kids-adventure.cosmokeys .achievement small{font-size:9px;color:#bdcee8;font-weight:850}.kids-adventure.cosmokeys .howto{margin-top:19px;padding:12px;background:#202a4a;border-radius:14px}.kids-adventure.cosmokeys .howto strong{font-size:12px}.kids-adventure.cosmokeys .howto p{font-size:10.5px;line-height:1.6;color:#b9c8e1;margin:7px 0 0}.kids-adventure.cosmokeys .footer{text-align:center;margin:26px 0 0;color:#9aaacb;font-size:11px;line-height:1.55}.kids-adventure.cosmokeys .footer b{color:#dbeaff}.kids-adventure.cosmokeys .modalShade{position:fixed;inset:0;z-index:50;padding:20px;display:flex;align-items:center;justify-content:center;background:#060b22df;backdrop-filter:blur(10px)}.kids-adventure.cosmokeys .modalShade.hidden{display:none}.kids-adventure.cosmokeys .modal{max-width:480px;width:100%;background:linear-gradient(145deg,#28325d,#131c3e);border:1px solid #7a85b4;box-shadow:0 26px 80px #000b;border-radius:24px;text-align:center;padding:25px}.kids-adventure.cosmokeys .modalArt{font-size:53px}.kids-adventure.cosmokeys .modal small{color:#92f3df;font-weight:1000;letter-spacing:.14em}.kids-adventure.cosmokeys .modal h2{font-size:28px;letter-spacing:-.055em;margin:9px 0}.kids-adventure.cosmokeys .modal p{color:#cbd8ef;font-size:13px;line-height:1.65}.kids-adventure.cosmokeys .quizOptions{display:grid;gap:9px;margin:19px 0}.kids-adventure.cosmokeys .quizBtn{background:#303c68;border:1px solid #65709c;padding:13px 18px;border-radius:12px;color:#f6f8ff;font-weight:800;text-align:left}.kids-adventure.cosmokeys .quizBtn:hover{border-color:#7cf4dc;background:#435077}.kids-adventure.cosmokeys .quizBtn.correct{border-color:#8ef2d8;background:#24594f}.kids-adventure.cosmokeys .quizBtn.wrong{border-color:#ffa3b0;background:#6c3446}.kids-adventure.cosmokeys .quizFeedback{min-height:22px;font-size:12px;font-weight:850;color:#9bf2df}.kids-adventure.cosmokeys .modalActions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:14px}.kids-adventure.cosmokeys .awardStars{color:#ffe09c;letter-spacing:.2em;font-size:30px}.kids-adventure.cosmokeys .srOnly{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden;white-space:nowrap}@media (max-width:1210px){.kids-adventure.cosmokeys .layout{grid-template-columns:195px minmax(0,1fr)}.kids-adventure.cosmokeys .learnPanel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.kids-adventure.cosmokeys .learnPanel .friend,.kids-adventure.cosmokeys .learnPanel .speech,.kids-adventure.cosmokeys .learnPanel .sectionDivider,.kids-adventure.cosmokeys .learnPanel .achHead,.kids-adventure.cosmokeys .learnPanel .achGrid,.kids-adventure.cosmokeys .learnPanel .howto{grid-column:2}.kids-adventure.cosmokeys .learnPanel .learnHead,.kids-adventure.cosmokeys .learnPanel .factCard{grid-column:1}.kids-adventure.cosmokeys .learnPanel .friend{grid-row:1}.kids-adventure.cosmokeys .learnPanel .speech{grid-row:2/5}.kids-adventure.cosmokeys .learnPanel .learnHead{grid-row:1;align-self:end;margin-bottom:-3px}.kids-adventure.cosmokeys .learnPanel .factCard{grid-row:2/5}.kids-adventure.cosmokeys .learnPanel .sectionDivider{display:none}.kids-adventure.cosmokeys .learnPanel .achHead{grid-row:5}.kids-adventure.cosmokeys .learnPanel .achGrid{grid-row:6}.kids-adventure.cosmokeys .learnPanel .howto{grid-row:7}}@media (max-width:830px){.kids-adventure.cosmokeys .prototype-main{padding:12px 12px 36px}.kids-adventure.cosmokeys .topbar{padding-bottom:14px}.kids-adventure.cosmokeys .brand{font-size:21px}.kids-adventure.cosmokeys .brandIcon{width:38px;height:38px;border-radius:12px}.kids-adventure.cosmokeys .brandIcon svg{height:26px}.kids-adventure.cosmokeys .sitePill{display:none}.kids-adventure.cosmokeys .hero{padding:0 5px;margin-bottom:18px}.kids-adventure.cosmokeys .heroArt .note{display:none}.kids-adventure.cosmokeys .astronaut{width:62px;height:63px}.kids-adventure.cosmokeys .hero .game-display-title{font-size:30px}.kids-adventure.cosmokeys .hero p{font-size:12px}.kids-adventure.cosmokeys .layout{grid-template-columns:1fr}.kids-adventure.cosmokeys .gamePanel{grid-row:1}.kids-adventure.cosmokeys .missionPanel{grid-row:2}.kids-adventure.cosmokeys .learnPanel{grid-row:3;display:block}.kids-adventure.cosmokeys .missionList{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.kids-adventure.cosmokeys .missionButton{flex-direction:column;justify-content:center;text-align:center;padding:10px 3px;min-height:96px;gap:6px}.kids-adventure.cosmokeys .missionGlyph{width:37px;height:37px;flex:0 0 37px}.kids-adventure.cosmokeys .missionSub{display:none}.kids-adventure.cosmokeys .missionLock{display:none}.kids-adventure.cosmokeys .missionName{font-size:10px}.kids-adventure.cosmokeys .learnPanel .speech{min-height:unset}.kids-adventure.cosmokeys .learnPanel .sectionDivider{display:block}}@media (max-width:560px){.kids-adventure.cosmokeys .topActions{gap:5px}.kids-adventure.cosmokeys .coinPill{padding:8px 10px;font-size:11px}.kids-adventure.cosmokeys .topButton{padding:9px;font-size:11px}.kids-adventure.cosmokeys .topbar{gap:7px}.kids-adventure.cosmokeys .brand{font-size:19px}.kids-adventure.cosmokeys .brand small{font-size:9px}.kids-adventure.cosmokeys .brandIcon{width:35px;height:35px}.kids-adventure.cosmokeys .hero{align-items:flex-start}.kids-adventure.cosmokeys .hero .game-display-title{font-size:27px}.kids-adventure.cosmokeys .hero p{font-size:11px}.kids-adventure.cosmokeys .heroArt{display:none}.kids-adventure.cosmokeys .gamePanel{padding:10px}.kids-adventure.cosmokeys .gameTop{align-items:center;padding:5px 3px 11px}.kids-adventure.cosmokeys .gameTitleTop{gap:8px}.kids-adventure.cosmokeys .gameWorldIcon{width:39px;height:39px;border-radius:11px;font-size:25px}.kids-adventure.cosmokeys .gameTitleTop h2{font-size:16px}.kids-adventure.cosmokeys .gameTitleTop p{font-size:10px;max-width:220px}.kids-adventure.cosmokeys .iconBtn{width:33px;height:33px;font-size:15px}.kids-adventure.cosmokeys .statBar{gap:4px}.kids-adventure.cosmokeys .stat{padding:8px 2px;border-radius:9px}.kids-adventure.cosmokeys .stat span{font-size:8px}.kids-adventure.cosmokeys .stat strong{font-size:16px}.kids-adventure.cosmokeys .arena{height:345px;border-radius:13px}.kids-adventure.cosmokeys .planet{height:277px;width:300px;bottom:-166px}.kids-adventure.cosmokeys .ship{width:76px;bottom:40px}.kids-adventure.cosmokeys .shieldRing{width:195px;bottom:11px}.kids-adventure.cosmokeys .meteor{font-size:14px;min-width:90px;min-height:52px;padding:10px 15px}.kids-adventure.cosmokeys .progressWrap{padding-top:11px}.kids-adventure.cosmokeys .inputWrap{padding:8px 9px;gap:6px;border-radius:12px}.kids-adventure.cosmokeys .typingInput{font-size:18px}.kids-adventure.cosmokeys .typingInput::placeholder{font-size:12px}.kids-adventure.cosmokeys .targetPreview{font-size:10px;padding:7px 6px}.kids-adventure.cosmokeys .settings{align-items:flex-start}.kids-adventure.cosmokeys .settings .instruction{font-size:10px;max-width:190px}.kids-adventure.cosmokeys .missionList{grid-template-columns:repeat(5,minmax(0,1fr))}.kids-adventure.cosmokeys .missionGlyph{width:32px;height:32px;flex-basis:32px;font-size:18px}.kids-adventure.cosmokeys .missionButton{min-height:83px}.kids-adventure.cosmokeys .missionName{font-size:9px}.kids-adventure.cosmokeys .hero .eyebrow{font-size:9px}.kids-adventure.cosmokeys .overlayCard h3{font-size:23px}.kids-adventure.cosmokeys .overlayArt{font-size:44px}.kids-adventure.cosmokeys .modal{padding:20px 16px}}@media (max-width:370px){.kids-adventure.cosmokeys .topButton{display:none}.kids-adventure.cosmokeys .missionList{grid-template-columns:repeat(4,minmax(0,1fr))}.kids-adventure.cosmokeys .arena{height:315px}.kids-adventure.cosmokeys .gameTitleTop p{display:none}}@media (prefers-reduced-motion:reduce){.kids-adventure.cosmokeys *,.kids-adventure.cosmokeys *:before,.kids-adventure.cosmokeys *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
