:root {
  --mt-bg: #0d1018;
  --mt-bg-elevated: #131824;
  --mt-surface: #171d2a;
  --mt-surface-strong: #1c2433;
  --mt-surface-hover: #222c3d;
  --mt-border: rgba(174, 188, 214, .12);
  --mt-border-strong: rgba(174, 188, 214, .2);
  --mt-text: #f3f6fc;
  --mt-muted: #9aa8be;
  --mt-faint: #738099;
  --mt-accent: #ffc857;
  --mt-accent-soft: rgba(255, 200, 87, .12);
  --mt-blue: #70a8ff;
  --mt-green: #59d7a3;
  --mt-sidebar-width: 276px;
  --mt-header-height: 78px;
  --mt-radius-sm: 10px;
  --mt-radius: 16px;
  --mt-radius-lg: 22px;
  --mt-shadow: 0 18px 45px rgba(0, 0, 0, .2);
  --mt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Lesson keyboard: mobile-only WCAG contrast for the highlighted key. */
@media (max-width: 768px) {
  /* Reserve mobile ad inventory without restoring the old white placeholder. */
  .mt-typing-page .googleads.mt-ad-unit,
  .mt-typing-page .mt-ad-top,
  .mt-typing-page .mt-ad-content,
  .mt-typing-page .mt-ad-after-interaction { min-height: 96px !important; height: auto !important; background: transparent; }
  .mt-typing-page .mt-ad-unit .adsbygoogle { display: block !important; min-height: 72px !important; }
  .mt-challenge-index .googleads.mt-ad-unit,
  .mt-challenge-runner .googleads.mt-ad-unit,
  .mt-challenge-index .mt-ad-top,
  .mt-challenge-runner .mt-ad-top,
  .mt-challenge-index .mt-ad-content,
  .mt-challenge-runner .mt-ad-content,
  .mt-challenge-index .mt-ad-after-interaction,
  .mt-challenge-runner .mt-ad-after-interaction { min-height: 96px !important; height: auto !important; background: transparent; }
  .mt-challenge-index .mt-ad-unit .adsbygoogle,
  .mt-challenge-runner .mt-ad-unit .adsbygoogle { display: block !important; min-height: 72px !important; }
  .mt-practice-runner .keyboard__row > div[data-pressed],
  .mt-practice-runner .keyboard__row > div:active {
    border-color: #9de9df !important;
    background: #075f5a !important;
    color: #fff !important;
    text-shadow: none !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; min-height: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { width: 100%; min-height: 100vh; margin: 0; overflow-x: clip; background: var(--mt-bg) !important; color: var(--mt-text) !important; font-family: var(--mt-font) !important; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.mt-sidebar-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mt-accent); text-decoration: none; }
img, svg, canvas, video, iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--mt-accent); outline-offset: 3px; }

.mt-skip-link { position: fixed; z-index: 1300; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-150%); border-radius: 10px; background: var(--mt-accent); color: #111; font-weight: 700; }
.mt-skip-link:focus { transform: translateY(0); }

.mt-topbar { position: fixed !important; z-index: 900; top: 0; right: 0; left: var(--mt-sidebar-width); height: var(--mt-header-height); margin: 0 !important; border-bottom: 1px solid rgba(174, 188, 214, .16); background: linear-gradient(120deg, rgba(18, 23, 34, .97), rgba(14, 19, 29, .96)) !important; box-shadow: 0 8px 28px rgba(7, 10, 16, .14) !important; backdrop-filter: blur(18px); }
.mt-topbar-inner, .mt-topbar-start, .mt-topbar-actions { display: flex; align-items: center; }
.mt-topbar-inner { width: min(1500px, 100%); height: 100%; justify-content: space-between; gap: 20px; padding: 0 clamp(18px, 3vw, 38px); }
.mt-topbar-start { min-width: 0; gap: 14px; }
.mt-topbar-copy { display: grid; line-height: 1.3; }
.mt-topbar-eyebrow { color: var(--mt-faint); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.mt-topbar-title { color: var(--mt-text); font-size: 14px; font-weight: 650; }
.mt-topbar-actions { flex-shrink: 0; gap: 12px; }
.mt-menu-toggle, .mt-sidebar-close, .mt-icon-button { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--mt-border); border-radius: 12px; background: var(--mt-surface); color: var(--mt-text); }
.mt-menu-toggle { display: none; }
.mt-icon-button#soundToggleBtn, #soundToggleBtn.mt-sound-toggle { display: inline-grid !important; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; margin: 0 !important; border: 1px solid rgba(174, 188, 214, .22) !important; border-radius: 13px !important; background: rgba(33, 42, 57, .95) !important; color: #f2f5fb !important; font-size: 19px !important; line-height: 1 !important; box-shadow: none !important; }
#soundToggleBtn.mt-sound-toggle:hover { border-color: rgba(255, 200, 87, .48) !important; background: var(--mt-accent-soft) !important; color: var(--mt-accent) !important; }
#soundToggleBtn.mt-sound-toggle.is-muted { border-color: rgba(255, 127, 127, .3) !important; background: rgba(255, 111, 111, .09) !important; color: #ff9999 !important; }
#soundToggleBtn.mt-sound-toggle > svg { display: block; width: 22px; height: 22px; overflow: visible; pointer-events: none; }
.mt-mobile-brand { display: none; align-items: center; gap: 9px; color: var(--mt-text); font-size: 15px; font-weight: 750; }
.mt-header-link { display: inline-flex; height: 43px; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid rgba(174, 188, 214, .19); border-radius: 12px; background: rgba(33, 42, 57, .88); color: #edf2fb !important; font-size: 13px; font-weight: 650; }
.mt-header-link.is-active { border-color: rgba(255, 200, 87, .43); background: var(--mt-accent-soft); color: var(--mt-accent) !important; }
.mt-header-link:hover, .mt-menu-toggle:hover, .mt-sidebar-close:hover { border-color: rgba(255, 200, 87, .35); background: var(--mt-accent-soft); color: var(--mt-accent); }
.mt-topbar .mt-login-button { display: inline-flex; min-height: 43px; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid rgba(255, 222, 155, .65); border-radius: 12px; background: linear-gradient(135deg, #ffd77f, #ffc24b) !important; color: #18140d !important; box-shadow: 0 7px 18px rgba(255, 194, 75, .17); font-size: 13px; font-weight: 780; text-decoration: none !important; }
.mt-topbar .mt-login-button i, .mt-topbar .mt-login-button span { color: #18140d !important; }
.mt-topbar .mt-login-button:hover { border-color: #ffe5ae; background: linear-gradient(135deg, #ffe3a3, #ffcd65) !important; color: #18140d !important; transform: translateY(-1px); }
.mt-user-menu { position: relative; }
.mt-user-trigger { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 4px 10px 4px 5px; border: 1px solid rgba(174, 188, 214, .22); border-radius: 14px; background: rgba(33, 42, 57, .96); color: #f3f6fc !important; cursor: pointer; font-size: 13px; list-style: none; }
.mt-user-trigger > span, .mt-user-trigger > i { color: #f3f6fc !important; }
.mt-user-trigger::-webkit-details-marker { display: none; }
.mt-user-trigger img { border-radius: 11px; object-fit: cover; }
.mt-user-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 930; width: 220px; padding: 7px; border: 1px solid var(--mt-border); border-radius: 16px; background: var(--mt-bg-elevated); box-shadow: var(--mt-shadow); }
.mt-user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--mt-muted); font-size: 13px; }
.mt-user-dropdown a:hover { background: var(--mt-surface-hover); color: var(--mt-text); }
.mt-user-dropdown .mt-logout-link { margin-top: 5px; border-top: 1px solid var(--mt-border); border-radius: 0 0 10px 10px; color: #ff8585; }

.mt-sidebar { position: fixed; z-index: 1000; top: 0; bottom: 0; left: 0; display: flex; width: var(--mt-sidebar-width); flex-direction: column; border-right: 1px solid var(--mt-border); background: #10141e; transition: transform .26s ease; }
.mt-sidebar-brand { display: flex; height: var(--mt-header-height); flex-shrink: 0; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--mt-border); }
.mt-sidebar-brand > a { display: flex; min-width: 0; align-items: center; gap: 11px; }
.mt-brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--mt-border); border-radius: 14px; background: var(--mt-surface); }
.mt-brand-copy { display: grid; gap: 1px; line-height: 1.3; }
.mt-brand-copy strong { color: var(--mt-text); font-size: 15px; font-weight: 750; }
.mt-brand-copy small { color: var(--mt-muted); font-size: 11px; }
.mt-sidebar-close { display: none; width: 36px; height: 36px; }
.mt-sidebar-nav { flex: 1; overflow-x: hidden; overflow-y: auto; padding: 18px 12px 24px; scrollbar-color: var(--mt-surface-hover) transparent; scrollbar-width: thin; }
.mt-nav-caption { display: block; margin: 17px 11px 8px; color: var(--mt-faint); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.mt-nav-caption:first-child { margin-top: 0; }
.mt-nav-link, .mt-nav-group > summary { display: flex; min-height: 45px; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 11px; color: var(--mt-muted); cursor: pointer; font-size: 13px; font-weight: 550; list-style: none; transition: background .18s ease, color .18s ease; }
.mt-nav-group > summary::-webkit-details-marker { display: none; }
.mt-nav-link > i, .mt-nav-group > summary > i:first-child { display: inline-grid; width: 20px; min-width: 20px; height: 20px; place-items: center; color: #aebed4; font-size: 17px; text-align: center; }
.mt-nav-icon-image { width: 20px; height: 20px; object-fit: contain; }
.mt-nav-link:hover, .mt-nav-group > summary:hover { background: var(--mt-surface-hover); color: var(--mt-text); }
.mt-nav-link.is-active, .mt-nav-submenu a.is-active { background: var(--mt-accent-soft); color: var(--mt-accent); }
.mt-nav-link.is-active > i { color: var(--mt-accent); }
.mt-nav-chevron { margin-left: auto; font-size: 13px; transition: transform .2s ease; }
.mt-nav-group[open] .mt-nav-chevron { transform: rotate(180deg); }
.mt-nav-submenu { display: grid; gap: 3px; margin: 2px 0 8px 21px; padding-left: 11px; border-left: 1px solid var(--mt-border); }
.mt-nav-submenu a { display: flex; min-height: 37px; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; color: var(--mt-muted); font-size: 12px; }
.mt-nav-submenu a > i { display: inline-grid; width: 15px; min-width: 15px; place-items: center; color: #889bb5; font-size: 13px; }
.mt-nav-submenu a.is-active > i { color: var(--mt-accent); }
.mt-nav-submenu a:hover { background: var(--mt-surface-hover); color: var(--mt-text); }
.mt-sidebar-bottom { flex-shrink: 0; padding: 14px 18px; border-top: 1px solid var(--mt-border); color: var(--mt-faint); font-size: 11px; }
.mt-sidebar-backdrop { position: fixed; z-index: 950; inset: 0; visibility: hidden; border: 0; background: rgba(6, 8, 13, .64); opacity: 0; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }

.mt-site-shell, .mt-site-shell.wrapper { position: relative; display: block; min-width: 0; min-height: 100vh; margin-left: var(--mt-sidebar-width); overflow: visible; padding-top: var(--mt-header-height); background: transparent; }
.mt-site-shell > .main-panel, .mt-site-shell .main-panel { float: none !important; width: 100% !important; min-width: 0; margin: 0 !important; }
.mt-site-shell .main-panel > .main-content, .mt-site-shell .main-content { display: block !important; min-height: calc(100vh - var(--mt-header-height) - 320px); align-items: initial !important; justify-content: initial !important; margin: 0 !important; padding: 0 !important; }
.mt-site-shell .content-wrapper { width: min(1500px, 100%); margin-inline: auto; padding: clamp(15px, 2.2vw, 27px) clamp(18px, 3vw, 38px) clamp(20px, 3vw, 38px) !important; }
.mt-site-shell .content-wrapper .content-wrapper { width: 100%; padding: 0 !important; }
.mt-site-shell h1 { margin: 0 0 22px; color: var(--mt-text); font-size: clamp(25px, 4vw, 39px); font-weight: 760; letter-spacing: -.04em; line-height: 1.18; }
.mt-site-shell h2, .mt-site-shell h3, .mt-site-shell h4, .mt-site-shell h5 { color: var(--mt-text); }
.mt-site-shell .row { min-width: 0; margin-right: -9px; margin-left: -9px; }
.mt-site-shell .row > [class*="col-"] { min-width: 0; padding-right: 9px; padding-left: 9px; }
.mt-site-shell .card, .mt-site-shell .card1, .mt-site-shell .maincard, .mt-site-shell .bgpopular { border: 1px solid var(--mt-border) !important; border-radius: var(--mt-radius) !important; background: var(--mt-surface) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important; }
.mt-site-shell .card { overflow: hidden; }
.mt-site-shell .card-header, .mt-site-shell .card-footer { border-color: var(--mt-border) !important; background: transparent !important; }
.mt-site-shell .card-body { color: var(--mt-muted); }
.mt-site-shell .cardefffect:hover, .mt-site-shell .cardefffect1:hover { transform: translateY(-3px); border-color: rgba(255, 200, 87, .4) !important; box-shadow: 0 15px 32px rgba(0, 0, 0, .24) !important; }
.mt-site-shell .cardefffect, .mt-site-shell .cardefffect1 { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mt-site-shell .card-img.overlap { display: grid; min-height: 190px; place-items: center; margin-top: 0 !important; padding: 16px 12px 4px; }
.mt-site-shell .card-img.overlap img { width: min(190px, 100%); height: 170px; object-fit: contain; }
.mt-site-shell .card-title { color: var(--mt-text) !important; font-size: 15px !important; }
.mt-site-shell .content-header { margin-top: 32px; }
.mt-site-shell .content-header h2, .mt-site-shell .content-header h3 { font-size: clamp(19px, 3vw, 25px); letter-spacing: -.025em; }
.mt-site-shell .btn, .mt-site-shell .allbtn, .mt-site-shell .mode-btn, .mt-site-shell .sub-btn, .mt-site-shell .mode-btn-para, .mt-site-shell .mode-btn-quote { min-height: 40px; border-radius: 10px !important; }
.mt-site-shell .btn-dark, .mt-site-shell .allbtn, .mt-site-shell .mode-btn, .mt-site-shell .sub-btn, .mt-site-shell .mode-btn-para, .mt-site-shell .mode-btn-quote { border: 1px solid var(--mt-border) !important; background: var(--mt-surface-strong) !important; color: var(--mt-text) !important; box-shadow: none !important; }
.mt-site-shell .btn-dark:hover, .mt-site-shell .allbtn:hover, .mt-site-shell .mode-btn:hover, .mt-site-shell .sub-btn:hover { border-color: rgba(255, 200, 87, .45) !important; background: var(--mt-accent-soft) !important; color: var(--mt-accent) !important; }
.mt-site-shell .btn-dark.active, .mt-site-shell .mode-btn.active, .mt-site-shell .sub-btn.active, .mt-site-shell .mode-btn-para.active, .mt-site-shell .mode-btn-quote.active { border-color: transparent !important; background: var(--mt-accent) !important; color: #171511 !important; }
.mt-site-shell input:not([type="checkbox"]):not([type="radio"]), .mt-site-shell select, .mt-site-shell textarea { max-width: 100%; border-color: var(--mt-border-strong); border-radius: 10px; }
.mt-site-shell table { max-width: 100%; border-color: var(--mt-border); }
.mt-site-shell .table-responsive { overflow-x: auto; }
.mt-site-shell iframe { width: 100%; border: 0; border-radius: 12px; }
.mt-site-shell .googleads { max-width: 100%; overflow: hidden; border-radius: var(--mt-radius); }
.mt-ad-unit { display: grid; box-sizing: border-box; width: 100%; max-width: 100%; align-content: center; gap: 8px; overflow: hidden; margin: 22px auto; padding: 12px; border: 1px solid rgba(174, 188, 214, .12); border-radius: 15px; background: rgba(17, 23, 34, .58); text-align: center; }
.mt-ad-label { color: #8591a4; font-size: 10px; font-weight: 650; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.mt-ad-unit .adsbygoogle { display: block !important; width: 100%; max-width: 100%; min-height: 90px; overflow: hidden; }
.mt-ad-top, .mt-ad-content, .mt-ad-after-interaction { width: min(970px, calc(100% - 24px)); min-height: 118px; }
.mt-ad-top { margin-top: 15px; margin-bottom: 24px; }
.mt-ad-content { margin-top: 30px; margin-bottom: 30px; }
.mt-ad-safe-content { position: relative; z-index: 1; clear: both; margin-top: clamp(42px, 5vw, 62px); margin-bottom: clamp(30px, 4vw, 46px); isolation: isolate; }
.mt-ad-safe-content::before { position: absolute; top: clamp(-30px, -3vw, -22px); left: 50%; width: min(180px, 45%); height: 1px; background: rgba(174, 188, 214, .16); content: ""; transform: translateX(-50%); }
.mt-ad-sidebar { min-height: 250px; margin: 24px auto; }
.mt-ad-sidebar-tall { width: min(300px, 100%); min-height: 600px; align-content: start; padding-top: 14px; }
.mt-ad-sidebar-tall .adsbygoogle { min-height: 560px; }
.mt-desktop-race-ad { display: flex; align-items: flex-start; justify-content: center; padding-left: 18px !important; }
.mt-desktop-race-ad .mt-ad-sidebar { margin-top: 4px; }
.mt-ad-after-interaction { position: relative; clear: both; margin-top: clamp(52px, 6vw, 76px); margin-bottom: clamp(34px, 4vw, 50px); isolation: isolate; }
.mt-ad-after-interaction::before { position: absolute; top: clamp(-38px, -4vw, -28px); left: 50%; width: min(210px, 48%); height: 1px; background: rgba(174, 188, 214, .18); content: ""; transform: translateX(-50%); }
.mt-ad-after-interaction .adsbygoogle { min-height: 90px; }
.mt-ad-footer { width: min(1040px, calc(100% - 32px)); margin: 35px auto 9px; }
.mt-ad-footer-content { width: 100%; min-width: 0; }
.mt-site-shell .typing-text p { color: var(--mt-text); }
.mt-site-shell .content-wrapper p a,
.mt-site-shell .content-wrapper li a,
.mt-site-shell .card-text a,
.mt-site-shell .card-body p a { color: #ffd36e !important; font-weight: 650; text-decoration: underline !important; text-decoration-color: rgba(255, 200, 87, .72) !important; text-decoration-thickness: 1.5px !important; text-underline-offset: .2em; overflow-wrap: anywhere; transition: color .18s ease, text-decoration-color .18s ease, background-color .18s ease; }
.mt-site-shell .content-wrapper p a:hover,
.mt-site-shell .content-wrapper li a:hover,
.mt-site-shell .card-text a:hover,
.mt-site-shell .card-body p a:hover { border-radius: 3px; background: rgba(255, 200, 87, .1); color: #ffe39b !important; text-decoration-color: currentColor !important; }
.mt-site-shell .content-wrapper p a:focus-visible,
.mt-site-shell .content-wrapper li a:focus-visible,
.mt-site-shell .card-text a:focus-visible,
.mt-site-shell .card-body p a:focus-visible { border-radius: 4px; outline: 2px solid #ffc857; outline-offset: 3px; }
.mt-site-shell .typing-text p span.correct { color: var(--mt-green) !important; }
.mt-site-shell .typing-text p span.active { color: var(--mt-accent) !important; }
.mt-site-shell .macbook, .mt-site-shell .screen, .mt-site-shell .keyboard { max-width: 100%; }

.mt-section-heading { display: grid; justify-items: center; gap: 8px; max-width: 700px; margin: 0 auto 20px; text-align: center; }
.mt-section-heading h1 { margin: 0 !important; }
.mt-section-heading > p { max-width: 610px; margin: 0; color: var(--mt-muted); font-size: 14px; line-height: 1.7; }
.mt-section-kicker { display: inline-flex; min-height: 29px; align-items: center; gap: 7px; padding: 4px 11px; border: 1px solid rgba(255, 200, 87, .2); border-radius: 999px; background: var(--mt-accent-soft); color: var(--mt-accent); font-size: 11px; font-weight: 700; }
.mt-lesson-overview { display: grid; grid-template-columns: minmax(190px, 1.15fr) minmax(300px, 1.8fr) auto; align-items: center; gap: 18px; margin: 6px 0 18px; padding: clamp(16px, 2.4vw, 23px); border: 1px solid rgba(174, 188, 214, .16); border-radius: 18px; background: linear-gradient(145deg, rgba(29, 38, 53, .96), rgba(17, 23, 34, .98)); box-shadow: 0 16px 38px rgba(0, 0, 0, .14); }
.mt-lesson-overview-copy { display: grid; gap: 5px; }
.mt-lesson-overview-copy > span { color: var(--mt-accent); font-size: 9px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.mt-lesson-overview-copy > strong { color: #eef3fa; font-size: 13px; line-height: 1.45; }
.mt-lesson-skill-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mt-lesson-skill-list > span { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px; border: 1px solid rgba(174, 188, 214, .13); border-radius: 11px; background: rgba(8, 12, 19, .36); color: #c5cfdd; font-size: 10px; font-weight: 680; }
.mt-lesson-skill-list i { color: var(--mt-accent); font-size: 13px; }
.mt-lesson-overview-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.mt-lesson-overview-meta > span { display: grid; min-width: 72px; min-height: 52px; place-items: center; align-content: center; padding: 6px 9px; border: 1px solid rgba(89, 215, 163, .18); border-radius: 11px; background: rgba(30, 107, 80, .11); color: #9eacbd; font-size: 9px; line-height: 1.3; text-align: center; }
.mt-lesson-overview-meta strong { color: var(--mt-green); font-size: 17px; line-height: 1; }
.mt-level-directory > .row > [class*="col-"] > .card { overflow: visible; border: 1px solid rgba(174, 188, 214, .16) !important; border-radius: 20px !important; background: linear-gradient(155deg, rgba(24, 31, 44, .99), rgba(19, 24, 35, .99)) !important; }
.mt-level-directory .cardbodyborder { padding: clamp(16px, 2.5vw, 26px) !important; border: 0 !important; border-radius: 20px !important; }
.mt-level-directory .top-strip-section, .mt-level-directory .strip { display: none !important; }
.mt-level-directory .cliping-section { position: static !important; top: auto !important; left: auto !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100% !important; gap: 8px; margin: 0 !important; padding: 6px !important; border: 1px solid var(--mt-border) !important; border-radius: 15px; background: rgba(12, 16, 24, .72); }
.mt-level-directory .cliping-section .nav-item { min-width: 0; margin: 0 !important; }
.mt-level-directory .cliping-section .nav-link, .mt-level-directory .cliping-section .table-link, .mt-level-directory .cliping-section .clip { display: flex !important; min-height: 46px; height: auto !important; align-items: center; justify-content: center; gap: 8px; float: none !important; margin: 0 !important; padding: 10px 8px !important; clip-path: none !important; border: 1px solid transparent !important; border-radius: 10px !important; background: transparent !important; color: #aab7c9 !important; font-size: 12px; font-weight: 680; letter-spacing: .01em; text-transform: none !important; }
.mt-level-directory .cliping-section .nav-link:hover { border-color: rgba(174, 188, 214, .16) !important; background: rgba(32, 42, 57, .8) !important; color: #f3f6fc !important; }
.mt-level-directory .cliping-section .nav-link.active { border-color: rgba(255, 200, 87, .29) !important; background: var(--mt-accent-soft) !important; color: var(--mt-accent) !important; }
.mt-level-directory .tab-content > br { display: none; }
.mt-level-directory .tab-content > .tab-pane { padding-top: 18px; }
.mt-level-directory .tab-pane > .heading { display: flex; align-items: center; gap: 9px; margin: 13px 0 16px !important; color: var(--mt-text) !important; font-family: var(--mt-font) !important; font-size: 13px !important; font-weight: 740 !important; letter-spacing: .06em; text-align: left !important; text-transform: uppercase; }
.mt-level-directory .tab-pane > .heading::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mt-accent); content: ""; }
.mt-level-directory .tab-pane > .row { row-gap: 15px; }
.mt-level-directory .tab-pane > .row > [class*="col-"] { margin-bottom: 0 !important; }
.mt-level-directory .tab-pane .cardefffect { position: relative; height: auto !important; min-height: 176px; overflow: hidden; border: 1px solid rgba(174, 188, 214, .13) !important; border-radius: 15px !important; background: linear-gradient(150deg, rgba(35, 44, 60, .82), rgba(22, 29, 41, .98)) !important; }
.mt-level-directory .tab-pane .cardefffect > a { display: block; height: 100%; min-height: 176px; color: var(--mt-text); }
.mt-level-directory .tab-pane .cardefffect .card-content { position: relative; display: flex; min-height: 176px; flex-direction: column; align-items: center; justify-content: center; padding: 13px 9px 11px; }
.mt-level-directory .tab-pane .cardefffect .card-img { position: relative; display: grid; width: 100%; min-height: 96px; place-items: center; margin: 0 !important; padding: 0 !important; }
.mt-level-directory .tab-pane .cardefffect .card-img > img:not(.imgres1) { width: 93px !important; height: 93px !important; margin: 0 !important; object-fit: contain; opacity: .7; }
.mt-level-directory .tab-pane .cardefffect .card-img > .imgres1 { position: absolute; top: 1px; right: 4px; width: 27px !important; height: 27px !important; float: none; margin: 0 !important; opacity: .92; }
.mt-level-directory .tab-pane .cardefffect .card-content > p { margin: 5px 0 1px !important; padding: 0 !important; color: #b7c3d4; font-size: 11px; line-height: 1.4; opacity: .82 !important; }
.mt-level-directory .tab-pane .cardefffect .card-body { min-height: auto; margin: 5px 0 0 !important; padding: 0 !important; }
.mt-level-directory .tab-pane .cardefffect .card-title { margin: 0; color: #f0f4fb !important; font-size: 13px !important; line-height: 1.3; }
.mt-level-directory .tab-pane .cardefffect .card-title img { width: 19px !important; height: 19px !important; }
.mt-level-directory .tab-pane .wpm-display { position: absolute; z-index: 2; top: 7px; left: 7px; display: inline-flex; box-sizing: border-box; width: auto !important; min-width: 72px; max-width: calc(100% - 48px); height: auto !important; min-height: 27px; align-items: center; justify-content: center; float: none !important; overflow: hidden; margin: 0 !important; padding: 5px 8px; border: 1px solid rgba(89, 215, 163, .3); border-radius: 999px; background: rgba(8, 27, 23, .96); color: #72e3b5; box-shadow: 0 5px 14px rgba(0, 0, 0, .2); font-size: 9px; font-weight: 760; line-height: 1.1 !important; text-overflow: ellipsis; white-space: nowrap; }
.mt-level-directory .tab-pane .wpm-display.wpm-hidden { display: none !important; }
.mt-level-directory .tab-pane .mt-challenge-best-wpm { top: 4px; left: 4px; min-width: 56px; padding: 4px 7px; }
.mt-footer, .mt-site-shell .text-justify.card-body { content-visibility: auto; contain-intrinsic-size: auto 480px; }
.mt-level-directory .tab-pane .cardefffect:hover { border-color: rgba(255, 200, 87, .43) !important; transform: translateY(-3px); }

.mt-site-shell [data-faq] { overflow: hidden; margin: clamp(24px, 4vw, 42px) 0; border: 1px solid rgba(174, 188, 214, .16) !important; border-radius: 19px !important; background: linear-gradient(150deg, rgba(27, 35, 49, .96), rgba(17, 23, 34, .99)) !important; box-shadow: 0 18px 42px rgba(0, 0, 0, .14); }
.mt-site-shell [data-faq] > .card-header { padding: clamp(18px, 3vw, 26px) !important; border: 0 !important; border-bottom: 1px solid rgba(174, 188, 214, .12) !important; background: radial-gradient(circle at top left, rgba(255, 200, 87, .11), transparent 58%); }
.mt-site-shell [data-faq] > .card-header h3 { margin: 0; color: #f2f5fa; font-size: clamp(18px, 2.7vw, 25px); line-height: 1.25; }
.mt-site-shell [data-faq] > .card-header h3::before { display: inline-grid; width: 29px; height: 29px; place-items: center; margin-right: 9px; border: 1px solid rgba(255, 200, 87, .3); border-radius: 9px; background: rgba(255, 200, 87, .1); color: var(--mt-accent); content: "?"; font-size: 14px; vertical-align: middle; }
.mt-site-shell [data-faq] .accordion > .card-content > .card-body { display: grid; gap: 9px; padding: clamp(12px, 2vw, 18px) !important; }
.mt-site-shell [data-faq] .accordion > .card-content > .card-body > div { overflow: hidden; border: 1px solid rgba(174, 188, 214, .12); border-radius: 12px; background: rgba(9, 13, 20, .34); }
.mt-site-shell [data-faq] .accordion .card-header { min-height: 0; padding: 0 !important; border: 0 !important; background: transparent !important; }
.mt-site-shell [data-faq] .accordion .card-title { position: relative; display: flex; min-height: 54px; align-items: center; padding: 13px 48px 13px 15px; color: #e5ebf4 !important; font-size: 13px; font-weight: 680; line-height: 1.45; text-decoration: none !important; }
.mt-site-shell [data-faq] .accordion .card-title::after { position: absolute; top: 50%; right: 14px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(174, 188, 214, .16); border-radius: 8px; background: rgba(255, 255, 255, .035); color: var(--mt-accent); content: "+"; font-size: 18px; transform: translateY(-50%); }
.mt-site-shell [data-faq] .accordion .card-title[aria-expanded="true"] { background: rgba(255, 200, 87, .06); color: #ffd779 !important; }
.mt-site-shell [data-faq] .accordion .card-title[aria-expanded="true"]::after { content: "−"; }
.mt-site-shell [data-faq] .accordion .collapse .card-body { padding: 2px 15px 15px !important; color: #aab6c8; font-size: 12px; line-height: 1.75; }
.mt-site-shell [data-faq] .accordion .collapse .card-body p { margin: 0; color: inherit; }

.mt-practice-heading { display: grid; justify-items: center; gap: 9px; max-width: 760px; margin: 4px auto 26px; text-align: center; }
.mt-practice-eyebrow { display: inline-flex; min-height: 29px; align-items: center; padding: 4px 12px; border: 1px solid rgba(255, 200, 87, .18); border-radius: 999px; background: var(--mt-accent-soft); color: var(--mt-accent); font-size: 11px; font-weight: 720; letter-spacing: .045em; }
.mt-practice-heading h1 { margin: 0; }
.mt-practice-heading > p { max-width: 560px; margin: 0; color: var(--mt-muted); font-size: 14px; line-height: 1.7; }
.mt-site-shell .widget-chart-full-width { width: 100%; }
.mt-site-shell .macbook { width: 100%; margin-inline: auto; }
.mt-site-shell .result-details { margin-bottom: 15px; }
.mt-site-shell .result-details > .row { row-gap: 12px; }
.mt-site-shell .result-details .card1 { min-height: 105px; margin: 0; padding: 13px 8px; background: linear-gradient(145deg, rgba(33, 42, 58, .95), rgba(22, 28, 40, .98)) !important; }
.mt-site-shell .result-details .card-body { display: flex; min-height: 74px; align-items: center; justify-content: center; }
.mt-site-shell .result-details h2 { margin: 0 0 2px; color: var(--mt-text) !important; font-size: clamp(22px, 2.5vw, 30px); font-weight: 760; line-height: 1.15; }
.mt-site-shell .result-details .media-body > span { color: var(--mt-muted); font-size: 12px; }
.mt-site-shell #myDIV { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 18px; padding: 13px; border: 1px solid var(--mt-border); border-radius: 17px; background: rgba(23, 29, 42, .8); }
.mt-site-shell #myDIV > button, .mt-site-shell #myDIV > div > button { margin: 0; }
.mt-site-shell #word_sub_buttons, .mt-site-shell #para_sub_buttons, .mt-site-shell #quote_sub_buttons { flex-basis: 100%; padding-top: 3px; }
.mt-site-shell #word_sub_buttons > button, .mt-site-shell #para_sub_buttons > button, .mt-site-shell #quote_sub_buttons > button { margin: 4px !important; }
.mt-site-shell .screen.inputtextarea { width: 100% !important; min-height: 250px; margin: 0 auto; overflow: hidden; border: 1px solid var(--mt-border-strong); border-radius: 19px !important; background: linear-gradient(155deg, #171e2b, #121722); box-shadow: 0 18px 42px rgba(0, 0, 0, .18); }
.mt-site-shell .screen.inputtextarea::before, .mt-site-shell .screen.inputtextarea::after { display: none; }
.mt-site-shell .screen.inputtextarea .viewport, .mt-site-shell .screen.inputtextarea .wrapper1, .mt-site-shell .screen.inputtextarea .content-box { width: 100%; min-height: inherit; }
.mt-site-shell .screen.inputtextarea .wrapper1 { position: relative; padding: clamp(19px, 3.5vw, 36px); }
.mt-site-shell .screen.inputtextarea .input-field { position: absolute; z-index: -1; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mt-site-shell .screen.inputtextarea .typing-text { min-height: 200px !important; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.mt-site-shell .screen.inputtextarea .typing-text p { margin: 0; color: #c7d0df; font-size: clamp(18px, 1.7vw, 23px); font-weight: 560; letter-spacing: .045em; line-height: 1.95; text-align: left; overflow-wrap: anywhere; word-break: normal !important; }
.mt-site-shell .screen.inputtextarea .typing-text p:empty::before { content: "Loading your typing practice…"; color: var(--mt-muted); font-size: 15px; letter-spacing: 0; }
.mt-site-shell .screen.inputtextarea .typing-text p span.active::before {
  display: none !important;
}
.mt-site-shell .screen.inputtextarea .typing-text { position: relative; }
.mt-typing-caret {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 2px;
  height: 1em;
  border-radius: 999px;
  background: var(--mt-accent, #ffc857);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 90ms cubic-bezier(.22, .61, .36, 1), height 90ms ease, background-color 120ms ease, opacity 80ms ease;
  will-change: transform;
}
.mt-typing-caret.is-ready { opacity: .96; }
.mt-typing-caret.is-error { background: #ff6b76; }
.mt-practice-runner .typing-text p span.active.incorrect {
  color: #ff6b76 !important;
  text-decoration: none !important;
  background: rgba(255, 91, 105, .13);
  border-radius: 3px;
}
.mt-site-shell .macbook > .base, .mt-site-shell .macbook > .notch { display: none; }
.mt-site-shell .keyboard { margin-top: 20px; border-radius: 16px; }
.mt-typing-page .mt-site-shell .screen.inputtextarea { box-sizing: border-box; height: clamp(210px, 29vh, 290px); min-height: 0 !important; max-height: 290px; }
.mt-typing-page .mt-site-shell .screen.inputtextarea .viewport, .mt-typing-page .mt-site-shell .screen.inputtextarea .wrapper1, .mt-typing-page .mt-site-shell .screen.inputtextarea .content-box { box-sizing: border-box; height: 100%; min-height: 0 !important; }
.mt-typing-page .mt-site-shell .screen.inputtextarea .wrapper1 { padding: clamp(15px, 2.3vw, 24px); }
.mt-typing-page .mt-site-shell .screen.inputtextarea .typing-text { box-sizing: border-box; height: 100%; min-height: 0 !important; max-height: none; overflow-x: hidden; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.mt-typing-page .mt-site-shell .screen.inputtextarea .typing-text::-webkit-scrollbar { width: 0; height: 0; display: none; }
.mt-typing-page .mt-site-shell .keyboard { position: relative; display: block; width: 100%; margin-top: 12px; overflow: visible; }
.mt-typing-page .mt-site-shell .keyboard .hands { display: block; pointer-events: none; }
.mt-typing-page .mt-keyboard-section { position: relative; padding-bottom: clamp(54px, 12vw, 142px); }
.mt-typing-page .mt-keyboard-section[hidden] { display: none !important; }
.mt-typing-page .mt-site-shell .keyboard .hands, .mt-typing-page .mt-site-shell .keyboard .hand { overflow: visible; }
.mt-quick-tools { padding-top: 20px; }
.mt-quick-tools-card { overflow: hidden; border: 1px solid rgba(174, 188, 214, .16) !important; border-radius: 17px !important; background: linear-gradient(155deg, rgba(27, 35, 49, .96), rgba(19, 25, 36, .98)) !important; }
.mt-quick-tools-card .card-body { display: grid; gap: 7px; padding: 12px !important; }
.mt-quick-tools-card .card-content + .card-content .card-body { padding-top: 0 !important; }
.mt-quick-tools-card .clrbtn { display: flex; min-height: 39px !important; align-items: center; justify-content: center; margin: 0 !important; border: 1px solid rgba(174, 188, 214, .12) !important; border-radius: 10px !important; background: rgba(12, 16, 24, .48) !important; color: #d7dfed !important; font-size: 12px !important; font-weight: 650; }
.mt-quick-tools-card .clrbtn:hover { border-color: rgba(255, 200, 87, .36) !important; background: rgba(255, 200, 87, .11) !important; color: #ffc857 !important; }
.mt-keyboard-toggle-wrap { padding: 0 12px 13px; }
.mt-keyboard-toggle { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 9px; margin: 0; padding: 0 10px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 11px; background: rgba(12, 16, 24, .54); cursor: pointer; }
.mt-keyboard-toggle-copy { display: inline-flex; align-items: center; gap: 7px; color: #d9e1ef; font-size: 11px; font-weight: 680; }
.mt-keyboard-toggle input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.mt-keyboard-toggle-track { position: relative; width: 37px; height: 21px; flex: 0 0 37px; border: 1px solid rgba(174, 188, 214, .2); border-radius: 999px; background: #303a4a; transition: background .18s ease; }
.mt-keyboard-toggle-track::after { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #e8edf6; content: ""; transition: transform .18s ease; }
.mt-keyboard-toggle input:checked + .mt-keyboard-toggle-track { border-color: rgba(255, 200, 87, .7); background: #ffc857; }
.mt-keyboard-toggle input:checked + .mt-keyboard-toggle-track::after { background: #161510; transform: translateX(16px); }
.mt-tool-directory { margin-top: 34px; }
.mt-tool-directory .content-header { margin-bottom: 15px !important; }
.mt-tool-directory .content-header h2 { margin: 0; color: var(--mt-text); font-size: clamp(20px, 2.5vw, 27px); }
.mt-tool-directory .cardefffect { overflow: hidden; border: 1px solid rgba(174, 188, 214, .15) !important; border-radius: 17px !important; background: linear-gradient(150deg, rgba(33, 42, 57, .88), rgba(20, 26, 37, .96)) !important; transition: border-color .18s ease, transform .18s ease; }
.mt-tool-directory .cardefffect:hover { border-color: rgba(255, 200, 87, .42) !important; transform: translateY(-3px); }
.mt-tool-directory .cardefffect > a { display: block; height: 100%; }
.mt-tool-directory .card-img.overlap { display: grid; min-height: clamp(120px, 15vw, 175px); place-items: center; padding: 12px 9px 0; }
.mt-tool-directory .card-img.overlap img { width: min(100%, 128px) !important; height: 118px !important; object-fit: contain; }
.mt-tool-directory .card-body { padding: 10px 8px 15px !important; }
.mt-tool-directory .card-title { margin: 0 !important; color: #e5ebf5 !important; font-size: 13px !important; font-weight: 680; }
.mt-popular-tools-hero { display: grid; justify-items: center; gap: 9px; max-width: 850px; margin: 4px auto clamp(26px, 4vw, 42px); text-align: center; }
.mt-popular-tools-hero > span, .mt-category-kicker { color: #ffc857; font-size: 10px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.mt-popular-tools-hero h1 { margin: 0 !important; color: #f2f5fb !important; font-size: clamp(29px, 4.6vw, 44px) !important; line-height: 1.12; }
.mt-popular-tools-hero p { max-width: 650px; margin: 0; color: #9facc0; font-size: clamp(13px, 1.5vw, 15px); line-height: 1.7; }
.mt-category-tools { margin-top: clamp(26px, 4vw, 44px); }
.mt-category-tools-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.mt-category-tools-header h2 { margin: 5px 0 4px; color: #f0f4fa; font-size: clamp(21px, 2.8vw, 29px); font-weight: 780; line-height: 1.18; }
.mt-category-tools-header p { margin: 0; color: #9daabd; font-size: 13px; line-height: 1.6; }
.mt-category-total { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(174, 188, 214, .16); border-radius: 999px; background: rgba(255, 255, 255, .035); color: #abb7c8; font-size: 11px; font-weight: 680; }
.mt-category-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding: 8px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 17px; background: rgba(12, 17, 25, .52); }
.mt-category-nav a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 54px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .025); color: #dce3ed; font-size: 12px; font-weight: 720; }
.mt-category-nav a:first-child { border-color: rgba(255, 200, 87, .36); background: rgba(255, 200, 87, .11); color: #ffd26f; }
.mt-category-nav a:hover { border-color: rgba(255, 200, 87, .42); background: rgba(255, 200, 87, .09); color: #ffc857; }
.mt-category-nav i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: rgba(8, 12, 19, .45); font-size: 16px; }
.mt-category-nav small { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(174, 188, 214, .16); border-radius: 999px; color: #9facbe; font-size: 9px; }
.mt-tool-category { scroll-margin-top: calc(var(--mt-header-height) + 18px); margin-top: clamp(30px, 5vw, 52px); }
.mt-tool-category + .mt-tool-category { padding-top: clamp(26px, 4vw, 42px); border-top: 1px solid rgba(174, 188, 214, .11); }
.mt-tool-category-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.mt-tool-category-heading > div { display: flex; align-items: center; gap: 11px; }
.mt-category-index { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(255, 200, 87, .28); border-radius: 11px; background: rgba(255, 200, 87, .08); color: #ffc857; font-size: 11px; font-weight: 790; }
.mt-tool-category-heading h3 { margin: 0 0 2px; color: #edf2f9; font-size: clamp(19px, 2.5vw, 25px); font-weight: 760; }
.mt-tool-category-heading p { margin: 0; color: #96a4b8; font-size: 11px; }
.mt-tool-category-heading > a { color: #98a6ba; font-size: 10px; font-weight: 660; }
.mt-tool-category-heading > a:hover { color: #ffc857; }
.mt-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.mt-category-grid-quiz { grid-template-columns: minmax(240px, 300px); }
.mt-category-card { position: relative; display: grid; min-width: 0; min-height: 224px; align-content: start; overflow: hidden; border: 1px solid rgba(174, 188, 214, .14); border-radius: 17px; background: linear-gradient(150deg, rgba(31, 40, 55, .94), rgba(17, 23, 34, .98)); color: #e8edf5; box-shadow: 0 13px 32px rgba(0, 0, 0, .12); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mt-category-card:hover { border-color: rgba(255, 200, 87, .45); color: #fff; box-shadow: 0 18px 42px rgba(0, 0, 0, .22); transform: translateY(-3px); }
.mt-category-image { display: grid; height: 124px; place-items: center; padding: 10px; border-bottom: 1px solid rgba(174, 188, 214, .1); background: radial-gradient(circle at 50% 30%, rgba(255, 200, 87, .12), transparent 62%), rgba(7, 11, 17, .3); }
.mt-category-image img { width: 104px !important; height: 104px !important; overflow: hidden; border: 2px solid rgba(255, 255, 255, .12); border-radius: 50%; background: rgba(7, 11, 17, .76); object-fit: cover; clip-path: circle(50%); transition: transform .2s ease; }
.mt-category-card:hover .mt-category-image img { transform: scale(1.04); }
.mt-category-copy { display: grid; min-width: 0; gap: 4px; padding: 12px 13px 14px; }
.mt-category-badge { color: #ffc857; font-size: 8px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.mt-category-copy strong { color: #edf2f8; font-size: 13px; font-weight: 760; line-height: 1.25; }
.mt-category-copy > span:last-child { color: #98a5b8; font-size: 10px; line-height: 1.45; }
.mt-category-arrow { position: absolute; top: 10px; right: 10px; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(174, 188, 214, .16); border-radius: 9px; background: rgba(9, 13, 20, .7); color: #cbd4e0; font-size: 13px; }
.mt-category-card:hover .mt-category-arrow { border-color: rgba(255, 200, 87, .5); color: #ffc857; }
.mt-practice-runner .screen.inputtextarea { box-sizing: border-box; width: 100% !important; max-width: 100% !important; height: clamp(220px, 30vh, 300px); min-height: 0 !important; max-height: 300px; overflow: hidden; }
.mt-practice-runner .screen.inputtextarea .viewport, .mt-practice-runner .screen.inputtextarea .wrapper1, .mt-practice-runner .screen.inputtextarea .content-box { box-sizing: border-box; width: 100%; height: 100%; min-height: 0 !important; }
.mt-practice-runner .screen.inputtextarea .wrapper1 { padding: clamp(16px, 2.4vw, 25px); }
.mt-practice-runner .screen.inputtextarea .typing-text { box-sizing: border-box; width: 100%; height: 100%; min-height: 0 !important; max-height: none; overflow-x: hidden; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.mt-practice-runner .screen.inputtextarea .typing-text::-webkit-scrollbar { display: none; width: 0; height: 0; }
.mt-practice-runner .screen.inputtextarea .typing-text p { font-size: clamp(19px, 2.1vw, 27px) !important; line-height: 1.75 !important; text-align: left !important; overflow-wrap: anywhere; word-break: normal !important; }
.mt-practice-runner #keyboardcheck { padding-bottom: clamp(54px, 12vw, 140px); }
.mt-practice-runner #keyboardcheck .keyboard { overflow: visible; }
.mt-practice-runner #keyboardcheck .hands { display: block; pointer-events: none; }
.mt-runner-keyboard-prompt { display: none; }
.mt-practice-runner #largesizemodal { z-index: 2200 !important; padding: 12px; background: rgba(6, 9, 15, .8); }
.mt-practice-runner #largesizemodal .modal-dialog { width: min(100%, 720px) !important; min-width: 0 !important; max-width: 720px !important; max-height: calc(100dvh - 24px); margin: auto !important; }
.mt-practice-runner #largesizemodal .modal-content { max-height: calc(100dvh - 24px); overflow-y: auto; border: 1px solid var(--mt-border) !important; border-radius: 20px !important; background: var(--mt-bg-elevated) !important; scrollbar-width: thin; }
.mt-practice-runner .mt-run-result-modal { position: fixed !important; inset: 0 !important; align-items: center; justify-content: center; overflow-y: auto !important; padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important; backdrop-filter: blur(7px); }
.mt-practice-runner .mt-run-result-modal.show { display: flex !important; }
.mt-practice-runner .mt-run-result-modal .mt-run-result-dialog { width: min(100%, 650px) !important; max-width: 650px !important; max-height: calc(100dvh - 32px); }
.mt-practice-runner .mt-run-result-modal .mt-run-result-content { position: relative; display: grid; gap: 19px; max-height: calc(100dvh - 32px); padding: clamp(19px, 3.7vw, 30px); border-color: rgba(174, 188, 214, .2) !important; border-radius: 23px !important; background: linear-gradient(155deg, #202a3a 0%, #151b27 58%, #111722 100%) !important; box-shadow: 0 28px 85px rgba(0, 0, 0, .43); }
.mt-run-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mt-run-result-eyebrow { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border: 1px solid rgba(255, 200, 87, .24); border-radius: 999px; background: rgba(255, 200, 87, .09); color: #ffd47b; font-size: 10px; font-weight: 760; letter-spacing: .085em; text-transform: uppercase; }
.mt-run-result-header h2 { margin: 9px 0 4px; color: #f5f7fc; font-size: clamp(22px, 4vw, 29px); font-weight: 770; line-height: 1.13; }
.mt-run-result-header p, .mt-run-result-hero > p { margin: 0; color: #9daac0; font-size: 13px; line-height: 1.55; }
.mt-run-result-close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid rgba(174, 188, 214, .2); border-radius: 12px; background: rgba(13, 18, 27, .65); color: #eff3fa; font-size: 26px; line-height: 1; cursor: pointer; }
.mt-run-result-close:hover { border-color: rgba(255, 200, 87, .5); color: #ffd47b; }
.mt-run-result-hero { display: grid; gap: 7px; padding: clamp(17px, 3vw, 24px); border: 1px solid rgba(255, 200, 87, .19); border-radius: 18px; background: radial-gradient(ellipse at top right, rgba(255, 200, 87, .13), transparent 54%), rgba(9, 13, 20, .47); text-align: center; }
.mt-run-result-label { color: #b8c3d3; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.mt-run-result-speed { display: flex; align-items: baseline; justify-content: center; gap: 9px; color: #ffc857; }
.mt-run-result-speed > span:first-child { font-size: clamp(48px, 10vw, 72px); font-weight: 800; line-height: .99; }
.mt-run-result-speed > span:last-child { font-size: 15px; font-weight: 750; }
.mt-run-result-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.mt-run-result-stat { display: grid; gap: 7px; min-width: 0; padding: 13px 8px; border: 1px solid rgba(174, 188, 214, .13); border-radius: 13px; background: rgba(9, 13, 20, .42); text-align: center; }
.mt-run-result-stat > span { color: #a8b4c7; font-size: 11px; }
.mt-run-result-stat > strong { color: #f1f4fa; font-size: clamp(20px, 4vw, 26px); font-weight: 740; line-height: 1.05; }
.mt-run-result-stat > strong small { margin-left: 2px; font-size: 13px; }
.mt-run-result-actions { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-end; gap: 9px; }
.mt-run-result-action { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(174, 188, 214, .2); border-radius: 11px; background: rgba(12, 17, 25, .57); color: #e2e8f1 !important; font-size: 12px; font-weight: 690; text-decoration: none !important; cursor: pointer; }
.mt-run-result-action:hover { border-color: rgba(255, 200, 87, .48); color: #ffd47b !important; }
.mt-run-result-action.mt-run-result-primary { display: inline-flex !important; min-width: 148px; flex: 1 1 148px; border-color: #ffc857; background: #ffc857; color: #191710 !important; font-weight: 780; }
.mt-run-result-action.mt-run-result-primary:hover { background: #ffd57d; color: #191710 !important; }
.mt-run-result-race { grid-template-columns: 1fr 1fr; align-items: center; gap: 14px; }
.mt-run-result-placement { display: flex; align-items: center; justify-content: center; gap: 15px; }
.mt-run-result-placement img { width: 104px; height: 70px; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .34)); }
.mt-run-result-placement > div { display: grid; justify-items: start; }
.mt-run-result-placement strong { color: #f5f7fc; font-size: 36px; line-height: 1; }
.mt-run-result-placement strong sup { font-size: 15px; }
.mt-run-result-placement > div > span { color: #a9b5c8; font-size: 12px; }
.mt-run-result-race-speed { display: grid; gap: 5px; border-left: 1px solid rgba(174, 188, 214, .2); }
.mt-run-result-race-speed .mt-run-result-speed > span:first-child { font-size: clamp(38px, 8vw, 58px); }
.mt-run-result-message { grid-column: 1 / -1; color: #d5ddeb !important; }

/* Lesson shortcuts */
.mt-lesson-skill-link { display: grid; grid-template-columns: 34px minmax(0, 1fr); min-height: 54px; align-items: center; gap: 0 10px; padding: 8px 11px; border: 1px solid rgba(174, 188, 214, .15); border-radius: 13px; background: rgba(9, 13, 20, .45); color: #e8edf5; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.mt-lesson-skill-link i { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(255, 200, 87, .1); color: #ffc857; font-size: 16px; }
.mt-lesson-skill-link span { font-size: 12px; font-weight: 750; line-height: 1.2; }
.mt-lesson-skill-link small { color: #95a3b7; font-size: 9px; line-height: 1.25; }
.mt-lesson-skill-link:hover, .mt-lesson-skill-link:focus-visible, .mt-lesson-skill-link[aria-current="true"] { border-color: rgba(255, 200, 87, .52); background: rgba(255, 200, 87, .09); color: #ffd676; outline: none; transform: translateY(-2px); }
.mt-lesson-directory .heading { scroll-margin-top: calc(var(--mt-header-height) + 20px); }

/* Typing challenge directory */
.mt-challenge-overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(18px, 3vw, 34px); align-items: center; margin: 18px 0 24px; padding: clamp(20px, 4vw, 34px); overflow: hidden; border: 1px solid rgba(255, 200, 87, .2); border-radius: 22px; background: radial-gradient(circle at 86% 10%, rgba(255, 200, 87, .15), transparent 34%), linear-gradient(145deg, rgba(31, 40, 55, .96), rgba(15, 21, 31, .98)); box-shadow: 0 20px 52px rgba(0, 0, 0, .18); }
.mt-challenge-overview-copy h2 { max-width: 650px; margin: 10px 0 8px; color: #f3f6fb; font-size: clamp(22px, 3.2vw, 34px); font-weight: 790; line-height: 1.16; }
.mt-challenge-overview-copy > p { max-width: 630px; margin: 0 0 18px; color: #a7b3c5; font-size: 13px; line-height: 1.65; }
.mt-challenge-overview-label { display: inline-flex; min-height: 27px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid rgba(255, 200, 87, .3); border-radius: 999px; background: rgba(255, 200, 87, .08); color: #ffd273; font-size: 10px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.mt-challenge-start { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border-radius: 12px; background: #ffc857; color: #1b1913 !important; font-size: 12px; font-weight: 800; box-shadow: 0 10px 25px rgba(255, 200, 87, .17); }
.mt-challenge-start:hover { background: #ffd778; transform: translateY(-1px); }
.mt-challenge-journey { display: grid; gap: 8px; }
.mt-challenge-journey > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 11px; min-height: 62px; padding: 9px 12px; border: 1px solid rgba(174, 188, 214, .13); border-radius: 13px; background: rgba(8, 12, 18, .38); }
.mt-challenge-journey strong { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: rgba(255, 200, 87, .1); color: #ffc857; font-size: 11px; }
.mt-challenge-journey span { display: grid; color: #e8edf5; font-size: 12px; font-weight: 740; }
.mt-challenge-journey small { margin-top: 2px; color: #919fb2; font-size: 9px; font-weight: 560; }
.mt-challenge-directory .cliping-section .nav-link > span { display: grid; gap: 2px; }
.mt-challenge-directory .cliping-section .nav-link small { color: currentColor; font-size: 8px; font-weight: 560; opacity: .7; text-transform: none; }
.mt-challenge-directory .tab-pane > .row { row-gap: 14px; }
.mt-challenge-directory .tab-pane .cardefffect { border-color: rgba(174, 188, 214, .14) !important; background: linear-gradient(155deg, rgba(31, 40, 55, .95), rgba(15, 21, 31, .98)) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .14) !important; }
.mt-challenge-directory .tab-pane .cardefffect:hover { border-color: rgba(255, 200, 87, .5) !important; box-shadow: 0 18px 38px rgba(0, 0, 0, .24) !important; transform: translateY(-3px); }
.mt-challenge-directory .tab-pane .card-img { background: radial-gradient(circle, rgba(255, 200, 87, .1), transparent 62%); }
.mt-challenge-directory .tab-pane .card-title { color: #eef2f8 !important; }
.mt-challenge-directory .tab-pane .card-title img { width: 23px !important; height: 23px !important; object-fit: contain; }

/* Typing challenge runners */
.mt-challenge-runner .containerfile { width: 100%; padding-top: 4px !important; }
.mt-challenge-runner #progress-section1.progress-section { width: 100% !important; max-width: 100% !important; min-height: 205px; display: grid; place-items: center; padding: 24px !important; border: 1px solid rgba(255, 200, 87, .23) !important; border-radius: 20px !important; background: radial-gradient(circle at 50% 10%, rgba(255, 200, 87, .14), transparent 43%), linear-gradient(145deg, #202a3a, #111722) !important; box-shadow: 0 18px 48px rgba(0, 0, 0, .22); }
.mt-challenge-runner .containerbtn { width: 100% !important; height: auto !important; min-height: 74px; border-radius: 0 !important; }
.mt-challenge-runner .button { display: inline-flex !important; width: min(100%, 240px) !important; height: 54px !important; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #ffc857; border-radius: 13px; background: #ffc857 !important; box-shadow: 0 12px 28px rgba(255, 200, 87, .2) !important; perspective: none !important; transition: transform .2s ease, background .2s ease; }
.mt-challenge-runner .button:hover, .mt-challenge-runner .button:focus-visible { background: #ffd677 !important; outline: 3px solid rgba(255, 200, 87, .2); outline-offset: 3px; transform: translateY(-2px); }
.mt-challenge-runner .button::before, .mt-challenge-runner .button::after, .mt-challenge-runner .button .plate, .mt-challenge-runner .button__box { display: none !important; }
.mt-challenge-runner .button__wrapper { position: static !important; display: flex; width: 100% !important; height: 100% !important; background: none !important; transform: none !important; perspective: none !important; }
.mt-challenge-runner .button__wrapper::before, .mt-challenge-runner .button__wrapper::after, .mt-challenge-runner .button__text::before, .mt-challenge-runner .button__text::after { display: none !important; }
.mt-challenge-runner .button__text { position: static !important; color: #1b1913 !important; font-family: inherit !important; font-size: 13px !important; font-weight: 800; letter-spacing: .02em !important; }
.mt-challenge-start-help { display: grid; gap: 3px; margin: 12px 0 0; color: #a4b1c3; font-size: 11px; line-height: 1.45; text-align: center; }
.mt-challenge-start-help span { color: #f0f4fa !important; font-size: 14px; font-weight: 750; }
.mt-challenge-runner #progress-section.progress-section, .mt-challenge-runner #progress-section.progress-section.progimg { position: relative; width: 100% !important; max-width: 100% !important; overflow: hidden; padding: 15px 18px !important; border: 1px solid rgba(174, 188, 214, .2) !important; border-radius: 20px !important; background-color: #101620 !important; background-image: none !important; background: linear-gradient(180deg, #151d2a 0%, #0d131d 100%) !important; box-shadow: 0 18px 42px rgba(0, 0, 0, .22); }
.mt-challenge-runner #progress-section .task-progress { min-height: 82px; margin: 0 !important; padding: 5px 0 7px; border-right: 0 !important; border-bottom: 1px dashed rgba(255, 255, 255, .34); }
.mt-challenge-runner #progress-section .task-progress:last-child { border-bottom: 0; }
.mt-challenge-runner #progress-section .task-progress p { min-height: 24px; margin: 0 !important; border-top: 0 !important; }
.mt-challenge-runner #progress-section .tags { display: inline-flex; }
.mt-challenge-runner #progress-section .post-tag a { display: inline-flex; min-height: 23px; align-items: center; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(8, 12, 18, .74); color: #f1f4f9 !important; font-size: 10px; font-weight: 720; text-decoration: none !important; }
.mt-challenge-runner #progress-section .img { position: relative; display: block; width: clamp(52px, 7vw, 82px) !important; height: 48px !important; max-width: none !important; object-fit: contain; object-position: left center; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .42)); transition: left .16s linear; }
.mt-race-mode-runner .content-wrapper > h1 { max-width: 760px; margin: 4px auto 18px !important; color: #f2f5fb !important; font-size: clamp(28px, 4vw, 40px) !important; font-weight: 790; letter-spacing: -.025em; line-height: 1.12; }
.mt-race-mode-runner .containerfile { margin-top: 4px; }
.mt-race-mode-runner .macbook { padding-top: clamp(15px, 2.5vw, 28px) !important; }
.mt-race-mode-runner #progress-section1 + #progress-section { margin-top: 0; }
.mt-race-mode-runner .mt-desktop-race-ad { padding-top: 4px; }

/* Keyboard Practice and Keyboard Tester */
.mt-keyboard-tool-page .content-wrapper { overflow: hidden; }
.mt-key-tool-heading { display: grid; justify-items: center; gap: 8px; max-width: 760px; margin: 4px auto 22px; text-align: center; }
.mt-key-tool-heading > span { display: inline-flex; min-height: 28px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(255, 200, 87, .24); border-radius: 999px; background: rgba(255, 200, 87, .08); color: #ffd273; font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.mt-key-tool-heading h1 { margin: 0 !important; color: #f2f5fa !important; font-size: clamp(29px, 4vw, 41px) !important; font-weight: 790; letter-spacing: -.025em; line-height: 1.12; }
.mt-key-tool-heading p { max-width: 620px; margin: 0; color: #a2aec0; font-size: 13px; line-height: 1.65; }
.mt-keyboard-tool-page .mt-keyboard-workspace.maincard { box-sizing: border-box; height: auto !important; min-height: 0 !important; margin: 4px 0 0 !important; padding: clamp(17px, 2.5vw, 25px) !important; overflow: hidden; border: 1px solid rgba(174, 188, 214, .18) !important; border-radius: 20px !important; background: linear-gradient(150deg, #1d2736, #0f151f) !important; box-shadow: 0 18px 48px rgba(0, 0, 0, .2) !important; }
.mt-key-tool-instruction { display: flex; min-height: 62px; align-items: center; justify-content: center; gap: 11px; max-width: 680px; margin: 0 auto 17px; padding: 10px 15px; border: 1px solid rgba(174, 188, 214, .15); border-radius: 14px; background: rgba(8, 12, 18, .45); text-align: left; }
.mt-key-tool-instruction > div { display: grid; gap: 2px; }
.mt-key-tool-instruction strong { color: #eef2f8; font-size: 14px; font-weight: 760; }
.mt-key-tool-instruction small { color: #96a4b7; font-size: 10px; }
.mt-key-live-dot { width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid rgba(255, 200, 87, .3); border-radius: 50%; background: #ffc857; box-shadow: 0 0 0 5px rgba(255, 200, 87, .09); }
.mt-keyboard-swipe-hint { display: none; align-items: center; justify-content: center; gap: 7px; margin: 0 0 11px; color: #a9b5c7; font-size: 10px; line-height: 1.45; text-align: center; }
.mt-practice-keyboard-scroll, .mt-tester-keyboard-scroll { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-color: rgba(255, 200, 87, .55) rgba(8, 12, 18, .3); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.mt-practice-keyboard-scroll:focus-visible, .mt-tester-keyboard-scroll:focus-visible { border-radius: 12px; outline: 2px solid rgba(255, 200, 87, .5); outline-offset: 3px; }
.mt-keyboard-practice-page .mt-practice-keyboard-scroll > .keyboard { min-width: 880px; margin: 0 auto; padding: 13px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 15px; background: rgba(5, 8, 13, .5); }
.mt-keyboard-practice-page .lili { box-sizing: border-box; height: 42px; margin: 4px; border-width: 1px; border-color: rgba(255, 255, 255, .12); border-radius: 8px; color: rgba(15, 18, 24, .82); line-height: 40px; box-shadow: 0 3px 0 rgba(0, 0, 0, .34); }
.mt-keyboard-practice-page .lili.pinky { color: #fff; }
.mt-keyboard-practice-page .lili.ring, .mt-keyboard-practice-page .lili.middle, .mt-keyboard-practice-page .lili.pointer1st, .mt-keyboard-practice-page .lili.pointer2nd { color: #151515; }
.mt-keyboard-practice-page .lili.fill-out-key { color: #111; }
.mt-keyboard-practice-page .lili.selected { border-color: #fff; color: #fff; box-shadow: 0 0 0 4px rgba(255, 200, 87, .16), 0 5px 17px rgba(0, 0, 0, .38); }
.mt-key-tool-footer-note { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: #a9b5c7; font-size: 11px; text-align: center; }
.mt-key-tool-footer-note i { color: #ffc857; }
.mt-keyboard-tester-page .loading { display: none !important; }
.mt-keyboard-tester-page #container { display: block !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
.mt-keyboard-tester-page #row { display: block !important; width: 100% !important; margin: 0 !important; padding: 2px 0 8px; }
.mt-keyboard-tester-page #col-9 { width: 100% !important; max-width: none !important; padding: 0 !important; }
.mt-keyboard-tester-page #row .keyboard { position: relative; z-index: 1; min-width: 920px; padding: 14px !important; border: 1px solid rgba(174, 188, 214, .14); border-radius: 15px !important; background: rgba(5, 8, 13, .52) !important; }
.mt-keyboard-tester-page #row .keyboard > div { display: grid !important; gap: 5px !important; margin-top: 5px !important; padding: 0 !important; }
.mt-keyboard-tester-page #row .keyboard .first-column { grid-template-columns: repeat(16, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard .second-column { grid-template-columns: repeat(15, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard .third-column { grid-template-columns: repeat(16, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard .forth-column { grid-template-columns: repeat(15, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard .fifth-column { grid-template-columns: repeat(14, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard .sixth-column { grid-template-columns: repeat(19, minmax(38px, 1fr)) !important; }
.mt-keyboard-tester-page #row .keyboard a { min-height: 43px; padding: 5px !important; border: 1px solid rgba(174, 188, 214, .2); border-radius: 8px !important; background: linear-gradient(180deg, #303b4c, #202938) !important; color: #e8edf5 !important; font-size: 10px; font-weight: 660; line-height: 1.15; text-shadow: none !important; box-shadow: 0 3px 0 #0a0e15 !important; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.mt-keyboard-tester-page #row .keyboard a:hover { border-color: rgba(255, 200, 87, .55); background: #364459 !important; }
.mt-keyboard-tester-page #row .keyboard a.keydown, .mt-keyboard-tester-page #row .keyboard a.activebtn { border-color: #ffc857 !important; background: rgba(255, 200, 87, .2) !important; color: #ffd77a !important; box-shadow: inset 0 0 0 1px rgba(255, 200, 87, .35), 0 0 0 3px rgba(255, 200, 87, .12) !important; transform: translateY(2px); }
.mt-keyboard-tester-page #key-result { display: inline-block; color: #f4f7fb; }
.mt-keyboard-tester-page #key-result.is-updated { color: #ffc857; animation: mt-key-result-pop .28s ease; }
@keyframes mt-key-result-pop { 50% { transform: scale(1.045); } }
.mt-keyboard-tester-page #row .keyboard #backspace, .mt-keyboard-tester-page #row .keyboard #tab, .mt-keyboard-tester-page #row .keyboard #back-slash, .mt-keyboard-tester-page #row .keyboard #caps, .mt-keyboard-tester-page #row .keyboard #enter, .mt-keyboard-tester-page #row .keyboard #shift1, .mt-keyboard-tester-page #row .keyboard #shift2, .mt-keyboard-tester-page #row .keyboard #ctrl-l, .mt-keyboard-tester-page #row .keyboard #ctrl-r { grid-column: span 2 !important; }
.mt-keyboard-tester-page #row .keyboard #space { grid-column: span 7 !important; }
.mt-keyboard-tester-page #row .keyboard #up, .mt-keyboard-tester-page #row .keyboard #down, .mt-keyboard-tester-page #row .keyboard #left, .mt-keyboard-tester-page #row .keyboard #right { position: static !important; height: auto !important; margin: 0 !important; }
.mt-keyboard-mobile-note { display: none; margin: 12px auto 0; color: #9ba8ba; font-size: 10px; text-align: center; }

/* Spacebar Counter */
.mt-spacebar-counter-page .content-wrapper { overflow: hidden; }
.mt-spacebar-heading { margin-bottom: 21px; }
.mt-spacebar-workspace { display: grid; width: min(100%, 1100px); gap: 14px; margin: 4px auto 0; }
.mt-spacebar-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mt-spacebar-stats > div { display: grid; min-height: 96px; place-content: center; gap: 6px; padding: 13px; border: 1px solid rgba(174, 188, 214, .15); border-radius: 16px; background: linear-gradient(150deg, rgba(31, 40, 55, .96), rgba(16, 22, 32, .98)); text-align: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }
.mt-spacebar-stats span { color: #a3afc1; font-size: 10px; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; }
.mt-spacebar-stats strong { color: #f2f5fa; font-size: clamp(27px, 4vw, 38px); font-weight: 790; line-height: 1; }
.mt-spacebar-stats strong > span { color: inherit; font: inherit; letter-spacing: inherit; }
.mt-spacebar-stats strong small { margin-left: 3px; color: #9ba8ba; font-size: 12px; }
.mt-spacebar-action-card { display: grid; min-height: 300px; place-items: center; padding: clamp(20px, 3vw, 32px); overflow: hidden; border: 1px solid rgba(255, 200, 87, .2); border-radius: 22px; background: radial-gradient(circle at 50% 0%, rgba(255, 200, 87, .13), transparent 43%), linear-gradient(145deg, #1e2838, #0d131c); box-shadow: 0 18px 48px rgba(0, 0, 0, .2); }
.mt-spacebar-action-card #clickarea { display: grid; width: min(100%, 680px); justify-items: center; gap: 10px; text-align: center; }
.mt-spacebar-device-label { display: inline-flex; min-height: 25px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid rgba(87, 211, 149, .28); border-radius: 999px; background: rgba(87, 211, 149, .08); color: #7de0ad; font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.mt-spacebar-device-label.is-running { border-color: rgba(255, 200, 87, .42); background: rgba(255, 200, 87, .1); color: #ffd273; }
.mt-spacebar-action-card #counter { margin: 3px 0 -4px; color: #aab6c7; font-size: 11px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.mt-spacebar-action-card .hits { color: #ffc857; font-size: clamp(58px, 11vw, 88px); font-weight: 820; line-height: 1; text-shadow: none; }
.mt-spacebar-key { position: relative; display: grid; width: min(100%, 520px); min-height: 82px; place-items: center; gap: 3px; margin-top: 5px; padding: 12px 20px; border: 1px solid rgba(255, 200, 87, .52); border-radius: 17px; background: linear-gradient(180deg, #3a4658, #252e3d); color: #fff; box-shadow: 0 8px 0 #0a0e14, 0 18px 35px rgba(0, 0, 0, .26); cursor: pointer; touch-action: manipulation; user-select: none; transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease; }
.mt-spacebar-key:hover { border-color: #ffc857; background: linear-gradient(180deg, #44536a, #2b3647); }
.mt-spacebar-key:active, .mt-spacebar-key.is-pressed { box-shadow: 0 2px 0 #0a0e14, 0 9px 20px rgba(0, 0, 0, .22); transform: translateY(6px); }
.mt-spacebar-key:focus-visible { outline: 3px solid rgba(255, 200, 87, .25); outline-offset: 4px; }
.mt-spacebar-key > span { color: #ffd474; font-size: clamp(17px, 3vw, 23px); font-weight: 820; letter-spacing: .22em; }
.mt-spacebar-key > small { color: #b5c0d0; font-size: 10px; font-weight: 570; }
.mt-spacebar-mobile-help { margin: 8px 0 0; color: #96a4b7; font-size: 10px; }
.mt-spacebar-controls { display: grid; gap: 13px; padding: clamp(16px, 2.7vw, 22px); border: 1px solid rgba(174, 188, 214, .15); border-radius: 18px; background: rgba(17, 23, 34, .7); }
.mt-spacebar-controls-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt-spacebar-controls-copy strong { color: #edf2f8; font-size: 13px; }
.mt-spacebar-controls-copy span { color: #96a4b7; font-size: 10px; }
.mt-spacebar-presets { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.mt-spacebar-presets button { min-height: 40px; padding: 0 8px; border: 1px solid rgba(174, 188, 214, .16); border-radius: 10px; background: rgba(8, 12, 18, .45); color: #d9e0eb; font-size: 11px; font-weight: 700; cursor: pointer; }
.mt-spacebar-presets button:hover, .mt-spacebar-presets button.is-active { border-color: rgba(255, 200, 87, .55); background: rgba(255, 200, 87, .11); color: #ffd36f; }
.mt-spacebar-custom-time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; padding-top: 13px; border-top: 1px solid rgba(174, 188, 214, .11); }
.mt-spacebar-custom-time label { grid-column: 1 / -1; margin: 0; color: #a8b4c6; font-size: 10px; }
.mt-spacebar-custom-time label small { margin-left: 5px; color: #77869a; font-size: 9px; }
.mt-spacebar-custom-time input { width: 100%; height: 42px; padding: 0 9px; border: 1px solid rgba(174, 188, 214, .2); border-radius: 10px; background: #0c1119; color: #f0f3f8; font-size: 13px; }
.mt-spacebar-custom-time button { min-height: 42px; padding: 0 13px; border: 1px solid #ffc857; border-radius: 10px; background: #ffc857; color: #1c1911; font-size: 11px; font-weight: 780; cursor: pointer; }
.mt-spacebar-custom-time .mt-spacebar-reset { border-color: rgba(174, 188, 214, .2); background: rgba(8, 12, 18, .45); color: #dce3ed; }
.mt-spacebar-result-modal { position: fixed !important; inset: 0; z-index: 2200 !important; overflow-y: auto; padding: 14px; background: rgba(5, 8, 13, .82); }
.mt-spacebar-result-modal.show { display: flex !important; align-items: center; justify-content: center; }
.mt-spacebar-result-modal .modal-dialog { width: min(100%, 590px); max-width: 590px; margin: auto; }
.mt-spacebar-result-modal .modal-content { display: grid; gap: 17px; padding: clamp(19px, 3.5vw, 28px); border: 1px solid rgba(174, 188, 214, .2); border-radius: 22px; background: linear-gradient(150deg, #202a3a, #111722); box-shadow: 0 28px 80px rgba(0, 0, 0, .44); }
.mt-spacebar-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mt-spacebar-result-header > div > span { display: inline-flex; min-height: 24px; align-items: center; padding: 0 9px; border: 1px solid rgba(255, 200, 87, .24); border-radius: 999px; background: rgba(255, 200, 87, .08); color: #ffd273; font-size: 9px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.mt-spacebar-result-header h2 { margin: 9px 0 3px; color: #f2f5fa; font-size: clamp(22px, 4vw, 29px); font-weight: 790; }
.mt-spacebar-result-header p { margin: 0; color: #9eabbd; font-size: 11px; }
.mt-spacebar-result-hero { display: grid; justify-items: center; gap: 8px; padding: 20px; border: 1px solid rgba(255, 200, 87, .2); border-radius: 17px; background: radial-gradient(circle at 50% 0%, rgba(255, 200, 87, .13), transparent 58%), rgba(7, 11, 17, .42); text-align: center; }
.mt-spacebar-result-hero > span { color: #a6b2c4; font-size: 10px; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; }
.mt-spacebar-result-hero strong { color: #ffc857; font-size: clamp(48px, 10vw, 68px); font-weight: 820; line-height: 1; }
.mt-spacebar-result-hero small { font-size: 13px; }
.mt-spacebar-result-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mt-spacebar-result-stats > div { display: grid; gap: 6px; padding: 12px 8px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 12px; background: rgba(7, 11, 17, .38); text-align: center; }
.mt-spacebar-result-stats span { color: #9ca9bb; font-size: 9px; }
.mt-spacebar-result-stats strong { color: #eef2f8; font-size: 21px; }
.mt-spacebar-result-stats strong small { font-size: 9px; }
.mt-spacebar-result-actions { display: flex; justify-content: flex-end; }
.mt-spacebar-result-actions button { min-width: 130px; min-height: 42px; border: 1px solid #ffc857; border-radius: 10px; background: #ffc857; color: #1c1911; font-size: 11px; font-weight: 780; cursor: pointer; }

/* CPS Test */
.mt-cps-page .content-wrapper { overflow: hidden; }
.mt-cps-heading { margin-bottom: 21px; }
.mt-cps-workspace { display: grid; width: min(100%, 1100px); gap: 14px; margin: 4px auto 0; }
.mt-cps-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mt-cps-stats > div { display: grid; min-height: 96px; place-content: center; gap: 6px; padding: 13px; border: 1px solid rgba(174, 188, 214, .15); border-radius: 16px; background: linear-gradient(150deg, rgba(31, 40, 55, .96), rgba(16, 22, 32, .98)); text-align: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }
.mt-cps-stats span { color: #a3afc1; font-size: 10px; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; }
.mt-cps-stats strong { color: #f2f5fa; font-size: clamp(27px, 4vw, 38px); font-weight: 790; line-height: 1; }
.mt-cps-stats strong > span { color: inherit; font: inherit; letter-spacing: inherit; }
.mt-cps-stats strong small { margin-left: 3px; color: #9ba8ba; font-size: 12px; }
.mt-cps-page #clickarea.mt-cps-click-zone { position: relative; display: grid; width: 100% !important; height: clamp(300px, 42vw, 430px) !important; min-height: 300px; place-items: center; margin: 0 !important; padding: clamp(18px, 3vw, 32px) !important; overflow: hidden; border: 1px solid rgba(255, 200, 87, .24) !important; border-radius: 22px !important; outline: none; background: radial-gradient(circle at 50% 20%, rgba(255, 200, 87, .13), transparent 45%), linear-gradient(145deg, #1d2736, #0d131c) !important; color: #f4f7fb; box-shadow: 0 18px 48px rgba(0, 0, 0, .22); cursor: crosshair; touch-action: manipulation; user-select: none; }
.mt-cps-page #clickarea.mt-cps-click-zone.is-running { border-color: rgba(255, 200, 87, .5) !important; background: radial-gradient(circle at 50% 20%, rgba(255, 200, 87, .17), transparent 48%), linear-gradient(145deg, #202c3d, #0d141e) !important; }
.mt-cps-page #start { position: relative; z-index: 3; display: grid; width: min(100%, 430px); height: auto; min-height: 132px; place-items: center; gap: 7px; padding: 22px; border: 1px solid rgba(255, 200, 87, .48); border-radius: 18px; background: linear-gradient(180deg, #ffc857, #e8a92d); color: #201b11; line-height: 1.3; box-shadow: 0 8px 0 #7b5411, 0 18px 40px rgba(0, 0, 0, .3); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.mt-cps-page #start:hover { transform: translateY(-2px); box-shadow: 0 10px 0 #7b5411, 0 20px 44px rgba(0, 0, 0, .34); }
.mt-cps-page #start:active { transform: translateY(5px); box-shadow: 0 3px 0 #7b5411, 0 10px 25px rgba(0, 0, 0, .28); }
.mt-cps-page #start i { font-size: 24px; }
.mt-cps-page #start strong { font-size: clamp(17px, 2.5vw, 22px); font-weight: 820; }
.mt-cps-page #start small { max-width: 310px; font-size: 10px; line-height: 1.5; }
.mt-cps-running-message { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.mt-cps-running-message[hidden], .mt-cps-page #start[hidden] { display: none !important; }
.mt-cps-running-message strong { color: #ffc857; font-size: clamp(48px, 10vw, 86px); font-weight: 850; line-height: 1; }
.mt-cps-running-message span { color: #b3becd; font-size: 12px; }
.mt-cps-ripple { position: absolute; z-index: 1; border-radius: 50%; background: rgba(255, 200, 87, .22); pointer-events: none; transform: translate(-50%, -50%) scale(0); animation: mt-cps-ripple .52s ease-out forwards; }
@keyframes mt-cps-ripple { to { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.mt-cps-controls { display: grid; gap: 13px; padding: clamp(16px, 2.7vw, 22px); border: 1px solid rgba(174, 188, 214, .15); border-radius: 18px; background: rgba(17, 23, 34, .7); }
.mt-cps-controls-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt-cps-controls-copy strong { color: #edf2f8; font-size: 13px; }
.mt-cps-controls-copy span { color: #96a4b7; font-size: 10px; }
.mt-cps-presets { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.mt-cps-presets button { min-height: 40px; padding: 0 7px; border: 1px solid rgba(174, 188, 214, .16); border-radius: 10px; background: rgba(8, 12, 18, .45); color: #d9e0eb; font-size: 11px; font-weight: 700; }
.mt-cps-presets button:hover, .mt-cps-presets button.is-active { border-color: rgba(255, 200, 87, .55); background: rgba(255, 200, 87, .11); color: #ffd36f; }
.mt-cps-custom-time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; padding-top: 13px; border-top: 1px solid rgba(174, 188, 214, .11); }
.mt-cps-custom-time label { grid-column: 1 / -1; margin: 0; color: #a8b4c6; font-size: 10px; }
.mt-cps-custom-time label small { margin-left: 5px; color: #77869a; font-size: 9px; }
.mt-cps-custom-time input, .mt-cps-custom-time button { width: 100%; min-height: 42px; border-radius: 10px; }
.mt-cps-custom-time input { padding: 0 9px; border: 1px solid rgba(174, 188, 214, .2); background: #0c1119; color: #f0f3f8; font-size: 13px; }
.mt-cps-custom-time button { padding: 0 12px; border: 1px solid #ffc857; background: #ffc857; color: #1c1911; font-size: 11px; font-weight: 780; }
.mt-cps-custom-time .mt-cps-reset { border-color: rgba(174, 188, 214, .2); background: rgba(8, 12, 18, .45); color: #dce3ed; }
.mt-cps-result-modal { position: fixed !important; inset: 0; z-index: 2200 !important; overflow-y: auto; padding: 14px; background: rgba(5, 8, 13, .82); }
.mt-cps-result-modal.show { display: flex !important; align-items: center; justify-content: center; }
.mt-cps-result-modal .modal-dialog { width: min(100%, 590px); max-width: 590px; margin: auto; }
.mt-cps-result-modal .modal-content { display: grid; gap: 17px; padding: clamp(19px, 3.5vw, 28px); border: 1px solid rgba(174, 188, 214, .2); border-radius: 22px; background: linear-gradient(150deg, #202a3a, #111722); box-shadow: 0 28px 80px rgba(0, 0, 0, .44); }
.mt-cps-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mt-cps-result-header > div > span { display: inline-flex; min-height: 24px; align-items: center; padding: 0 9px; border: 1px solid rgba(255, 200, 87, .24); border-radius: 999px; background: rgba(255, 200, 87, .08); color: #ffd273; font-size: 9px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.mt-cps-result-header h2 { margin: 9px 0 3px; color: #f2f5fa; font-size: clamp(22px, 4vw, 29px); font-weight: 790; }
.mt-cps-result-header p { margin: 0; color: #9eabbd; font-size: 11px; }
.mt-cps-result-close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(174, 188, 214, .18); border-radius: 11px; background: rgba(7, 11, 17, .45); color: #e9eef6; }
.mt-cps-result-hero { display: grid; justify-items: center; gap: 8px; padding: 20px; border: 1px solid rgba(255, 200, 87, .2); border-radius: 17px; background: radial-gradient(circle at 50% 0%, rgba(255, 200, 87, .13), transparent 58%), rgba(7, 11, 17, .42); text-align: center; }
.mt-cps-result-hero > span { color: #a6b2c4; font-size: 10px; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; }
.mt-cps-result-hero strong { color: #ffc857; font-size: clamp(48px, 10vw, 68px); font-weight: 820; line-height: 1; }
.mt-cps-result-hero small { color: #a6b2c4; font-size: 13px; }
.mt-cps-result-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mt-cps-result-stats > div { display: grid; gap: 6px; padding: 12px 8px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 12px; background: rgba(7, 11, 17, .38); text-align: center; }
.mt-cps-result-stats span { color: #9ca9bb; font-size: 9px; }
.mt-cps-result-stats strong { color: #eef2f8; font-size: 21px; }
.mt-cps-result-stats strong small { margin-left: 3px; color: #9ca9bb; font-size: 9px; }
.mt-cps-result-actions { display: flex; justify-content: flex-end; }
.mt-cps-result-actions button { min-width: 130px; min-height: 42px; border: 1px solid #ffc857; border-radius: 10px; background: #ffc857; color: #1c1911; font-size: 11px; font-weight: 780; }

/* Spacebar Clicker */
.mt-spacebar-clicker-page { user-select: auto; }
.mt-spacebar-clicker-page.mt-spacebar-info-open { overflow: hidden; }
.mt-spacebar-clicker-page button, .mt-spacebar-clicker-page .upgrade-box { user-select: none; }
.mt-spacebar-clicker-page .main-panel, .mt-spacebar-clicker-page .main-content, .mt-spacebar-clicker-page .content-wrapper, .mt-spacebar-clicker-page .content-wrapper1, .mt-spacebar-clicker-page .page, .mt-spacebar-clicker-page .spaceconta { width: 100%; max-width: 100%; margin-left: 0 !important; }
.mt-spacebar-clicker-page .main-panel { z-index: auto !important; }
.mt-spacebar-clicker-page .content-wrapper1, .mt-spacebar-clicker-page .page { display: block; }
.mt-spacebar-clicker-page .page { width: min(100%, 1180px); margin-right: auto !important; margin-left: auto !important; }
.mt-spacebar-clicker-page .page:fullscreen, .mt-spacebar-clicker-page .page:-webkit-full-screen { width: 100%; max-width: none; height: 100%; margin: 0 !important; padding: clamp(12px, 2.5vw, 28px); overflow-x: hidden; overflow-y: auto; background: #0d1018; }
.mt-spacebar-clicker-page .page:fullscreen .mt-spacebar-clicker-toolbar, .mt-spacebar-clicker-page .page:-webkit-full-screen .mt-spacebar-clicker-toolbar { position: sticky; z-index: 20; top: 0; padding: 8px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 14px; background: rgba(13, 16, 24, .9); backdrop-filter: blur(12px); }
.mt-spacebar-clicker-page .page:fullscreen .spaceconta > main, .mt-spacebar-clicker-page .page:-webkit-full-screen .spaceconta > main { width: min(100%, 1280px); }
.mt-spacebar-clicker-page #mar, .mt-spacebar-clicker-page .typemenu { width: 100%; max-width: none; margin-right: 0 !important; margin-left: 0 !important; }
.mt-spacebar-clicker-heading { margin-top: 5px; margin-bottom: 18px; }
.mt-spacebar-clicker-heading .title { margin: 0 !important; color: #f2f5fa !important; font-size: clamp(29px, 4vw, 41px) !important; font-weight: 790; letter-spacing: -.025em; line-height: 1.12; text-shadow: none; }
.mt-spacebar-clicker-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: min(100%, 1120px); margin: 0 auto 12px; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button { position: relative; display: inline-flex; width: auto; min-width: 102px; height: 40px; align-items: center; justify-content: center; gap: 8px; float: none !important; margin: 0 !important; padding: 0 12px; border: 1px solid rgba(174, 188, 214, .18); border-radius: 11px; background: rgba(17, 23, 34, .78); color: #dfe6f0; font-size: 10px; font-weight: 700; box-shadow: none; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button:hover { border-color: rgba(255, 200, 87, .48); background-color: rgba(255, 200, 87, .08); color: #ffd273; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button::before, .mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button::after { display: none !important; content: none !important; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button > i { display: inline-grid; width: 18px; height: 18px; place-items: center; color: #aebed4; font-size: 17px; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button:hover > i { color: #ffd273; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > #muteButton.is-muted { border-color: rgba(255, 127, 127, .3); background: rgba(255, 111, 111, .08); color: #ff9999; }
.mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > #muteButton.is-muted > i { color: #ff9999; }
.mt-spacebar-clicker-page .spaceconta > main { display: grid; gap: 18px; width: min(100%, 1120px); margin: 0 auto; }
.mt-spacebar-clicker-page .main-section { padding: clamp(22px, 4vw, 42px); border: 1px solid rgba(174, 188, 214, .17); border-radius: 22px; background: radial-gradient(circle at 50% 0%, rgba(78, 204, 163, .12), transparent 44%), linear-gradient(145deg, #1d2736, #0d131c); box-shadow: 0 18px 48px rgba(0, 0, 0, .22); }
.mt-spacebar-clicker-page #statsContainer { display: grid; gap: 10px; }
.mt-spacebar-clicker-page .score-display { margin: 0; color: #f3f6fa; font-size: clamp(54px, 10vw, 86px); line-height: 1; text-shadow: 0 0 30px rgba(78, 204, 163, .2); overflow-wrap: anywhere; }
.mt-spacebar-clicker-page .stats-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: min(100%, 640px); margin: 4px auto 22px; padding: 0; }
.mt-spacebar-clicker-page .stat-box { display: grid; min-height: 72px; place-content: center; gap: 5px; padding: 10px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 13px; background: rgba(7, 11, 17, .38); }
.mt-spacebar-clicker-page .stat-label { margin: 0; color: #98a6b9; font-size: 9px; letter-spacing: .07em; }
.mt-spacebar-clicker-page .stat-value { color: #65d8b1; font-size: 22px; line-height: 1; transform: none; }
.mt-spacebar-clicker-page .spacebar-button { display: grid; width: min(100%, 720px); min-height: 105px; place-items: center; gap: 4px; margin: 0 auto; padding: 18px 20px 12px; border: 1px solid rgba(78, 204, 163, .72); border-bottom: 9px solid #1e765e; border-radius: 17px; background: linear-gradient(180deg, #374456, #202938); color: #fff; letter-spacing: normal; box-shadow: 0 15px 32px rgba(0, 0, 0, .3); touch-action: manipulation; }
.mt-spacebar-clicker-page .spacebar-button strong { color: #7be2bf; font-size: clamp(18px, 3vw, 25px); font-weight: 820; letter-spacing: .2em; }
.mt-spacebar-clicker-page .spacebar-button small { color: #b4bfce; font-size: 10px; font-weight: 560; letter-spacing: normal; }
.mt-spacebar-clicker-page .spacebar-button:hover { color: #fff; transform: translateY(-2px); }
.mt-spacebar-clicker-page .spacebar-button:active, .mt-spacebar-clicker-page .spacebar-button.active { padding-top: 18px; border-bottom-width: 3px; transform: translateY(6px); }
.mt-spacebar-clicker-page .upgrades-section { padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(174, 188, 214, .15); border-radius: 20px; background: rgba(17, 23, 34, .7); }
.mt-spacebar-clicker-page .section-title { display: grid; gap: 4px; margin: 0 0 17px; color: #f0f4f9; font-size: 22px; text-align: left; }
.mt-spacebar-clicker-page .section-title span { color: #f0f4f9; font-weight: 790; }
.mt-spacebar-clicker-page .section-title small { color: #96a4b7; font-size: 10px; font-weight: 500; }
.mt-spacebar-clicker-page .upgrades-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mt-spacebar-clicker-page .upgrade-box { min-height: 180px; padding: 17px; border: 1px solid rgba(174, 188, 214, .14); border-radius: 16px; background: linear-gradient(145deg, rgba(31, 41, 56, .96), rgba(15, 21, 31, .98)); opacity: .55; }
.mt-spacebar-clicker-page .upgrade-box.affordable { border-color: rgba(78, 204, 163, .62); opacity: 1; animation: none; transform: none; box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.mt-spacebar-clicker-page .upgrade-box.affordable::after { position: absolute; top: 10px; right: 10px; content: "Available"; padding: 4px 7px; border: 1px solid rgba(78, 204, 163, .35); border-radius: 999px; background: rgba(78, 204, 163, .1); color: #7be2bf; font-size: 7px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.mt-spacebar-clicker-page .upgrade-box.affordable:hover { box-shadow: 0 16px 34px rgba(0, 0, 0, .26); transform: translateY(-3px); }
.mt-spacebar-clicker-page .upgrade-box[role="button"]:focus-visible { outline: 3px solid rgba(78, 204, 163, .28); outline-offset: 3px; }
.mt-spacebar-clicker-page .upgrade-box.is-purchased { border-color: #79e3bd; animation: mt-upgrade-purchased .68s ease; }
.mt-spacebar-clicker-page .upgrade-box.is-unavailable { animation: mt-upgrade-unavailable .38s ease; }
@keyframes mt-upgrade-purchased { 0% { transform: scale(1); } 35% { box-shadow: 0 0 0 7px rgba(78, 204, 163, .16); transform: scale(.975); } 70% { transform: scale(1.015); } 100% { transform: scale(1); } }
@keyframes mt-upgrade-unavailable { 25% { transform: translateX(-5px); } 50% { border-color: rgba(245, 82, 82, .72); transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.mt-spacebar-clicker-page .upgrade-first { gap: 15px; }
.mt-spacebar-clicker-page .upgrade-icon { width: 82px; height: 82px; }
.mt-spacebar-clicker-page .upgrade-title { margin-bottom: 4px; font-size: 17px; }
.mt-spacebar-clicker-page .upgrade-description { color: #9eabba; font-size: 11px; }
.mt-spacebar-clicker-page .upgrade-stats { margin-top: 12px; padding-top: 12px; }
.mt-spacebar-clicker-page .upgrade-level, .mt-spacebar-clicker-page .upgrade-cost { font-size: 10px; }
.mt-spacebar-clicker-page .upgrade-cost { margin-right: 0; padding: 7px 10px; }
.mt-spacebar-clicker-page .upgrade-confirmation { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; border-radius: inherit; background: rgba(8, 18, 16, .88); color: #86e8c5; font-size: 13px; font-weight: 800; letter-spacing: .02em; opacity: 0; pointer-events: none; transform: scale(.96); transition: opacity .18s ease, transform .18s ease; }
.mt-spacebar-clicker-page .upgrade-box.is-purchased .upgrade-confirmation { opacity: 1; transform: scale(1); }
.mt-spacebar-clicker-page .mt-upgrade-load-sentinel { width: 100%; height: 2px; }
.mt-spacebar-clicker-page .mt-spacebar-reset-modal .modal-dialog1 { max-width: 480px; }
.mt-spacebar-clicker-page .mt-spacebar-reset-modal .modal-content1 { border: 1px solid rgba(245, 82, 82, .28); }
.mt-spacebar-clicker-page .mt-spacebar-reset-modal .modal-body1 { padding: 20px 22px; }
.mt-spacebar-clicker-page .mt-spacebar-reset-modal .modal-body1 p { margin: 0; color: var(--mt-muted); line-height: 1.65; }
.mt-spacebar-clicker-page .mt-reset-eyebrow { display: block; margin-bottom: 5px; color: #ff9e9e; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mt-spacebar-clicker-page .mt-reset-actions { display: flex; justify-content: flex-end; gap: 10px; }
.mt-spacebar-clicker-page .mt-reset-actions .btn1 { min-height: 44px; border-radius: 11px; font-weight: 750; }
.mt-spacebar-clicker-page .mt-reset-cancel { border: 1px solid var(--mt-border); background: var(--mt-surface-2); color: var(--mt-text); }
.mt-spacebar-clicker-page .mt-reset-confirm { background: #d64c4c; color: #fff; }
.mt-spacebar-clicker-page .sticky-stats { position: fixed; z-index: 780; top: calc(var(--mt-header-height) + 9px); left: calc(50% + (var(--mt-sidebar-width) / 2)); display: grid; width: min(calc(100vw - var(--mt-sidebar-width) - 48px), 680px); grid-template-columns: minmax(110px, .7fr) minmax(260px, 1.3fr); align-items: center; gap: 12px; margin: 0; padding: 9px 12px; border: 1px solid rgba(174, 188, 214, .2); border-radius: 16px; background: rgba(15, 21, 31, .92); box-shadow: 0 14px 38px rgba(0, 0, 0, .34); backdrop-filter: blur(14px); transform: translateX(-50%); }
.mt-spacebar-clicker-page .sticky-stats #mainScore { margin: 0; color: #7be2bf; font-size: 31px; line-height: 1; text-align: center; }
.mt-spacebar-clicker-page .sticky-stats .stats-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; margin: 0; padding: 0; }
.mt-spacebar-clicker-page .sticky-stats .stat-box { min-height: 48px; grid-template-columns: 1fr auto; align-items: center; gap: 7px; padding: 6px 9px; text-align: left; }
.mt-spacebar-clicker-page .sticky-stats .stat-label { font-size: 7px; }
.mt-spacebar-clicker-page .sticky-stats .stat-value { font-size: 15px; transform: none; }
.mt-spacebar-clicker-page .modal1 { position: fixed; z-index: 2200; inset: 0; display: none; width: 100vw; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; padding: 16px; background: rgba(5, 8, 13, .82); backdrop-filter: blur(6px); }
.mt-spacebar-clicker-page .modal-dialog1 { position: relative; width: min(100%, 760px); margin: max(18px, 5vh) auto; }
.mt-spacebar-clicker-page .modal-content1 { overflow: hidden; border: 1px solid rgba(174, 188, 214, .2); border-radius: 20px; }
.mt-spacebar-clicker-page .modal-content1, .mt-spacebar-clicker-page .modal-header1, .mt-spacebar-clicker-page .modal-body1, .mt-spacebar-clicker-page .modal-footer1 { background: #151d29; color: #bdc8d7; }
.mt-spacebar-clicker-page .modal-header1 { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid rgba(174, 188, 214, .15); }
.mt-spacebar-clicker-page .modal-title1, .mt-spacebar-clicker-page .modal-body1 h4, .mt-spacebar-clicker-page .modal-body1 h5 { color: #eef2f8 !important; }
.mt-spacebar-clicker-page .modal-body1 { max-height: min(68vh, 620px); overflow-y: auto; padding: 20px; }
.mt-spacebar-clicker-page .close1 { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid rgba(174, 188, 214, .18); border-radius: 10px; background: rgba(7, 11, 17, .4); color: #e9eef6; cursor: pointer; }
.mt-spacebar-clicker-page .modal-footer1 { padding: 13px 20px; border-top: 1px solid rgba(174, 188, 214, .15); }
.mt-spacebar-clicker-page #btnclose { min-height: 40px; padding: 0 18px; border: 1px solid #ffc857; border-radius: 10px; background: #ffc857; color: #1c1911; font-size: 11px; font-weight: 780; }
.mt-spacebar-clicker-page #mar > .col-12 { padding: 0; }
.mt-spacebar-clicker-page #mar > .col-12 { flex: 0 0 100% !important; max-width: 100% !important; }
.mt-spacebar-clicker-page #mar .card { border: 1px solid rgba(174, 188, 214, .14); border-radius: 18px; background: rgba(17, 23, 34, .68); }
.mt-spacebar-clicker-page #mar .card-body { color: #c0cad8; line-height: 1.75; }
.mt-spacebar-clicker-page #mar a { color: #ffd273 !important; text-decoration: underline; text-decoration-color: rgba(255, 210, 115, .45); text-underline-offset: 3px; }
.mt-spacebar-clicker-page #mar h2 { margin: 25px 0 10px; color: #eef2f8; font-size: clamp(19px, 2.5vw, 25px); }
.mt-spacebar-clicker-page #mar h2:first-child { margin-top: 0; }
.mt-spacebar-clicker-page #mar ol { padding-left: 24px !important; }
.mt-spacebar-clicker-page [data-faq="getting-started-text"] { width: 100%; max-width: none; margin: 24px 0 0 !important; }
.mt-spacebar-clicker-page #mar { margin: 32px 0 0 !important; }

.mt-footer { margin: 28px clamp(18px, 3vw, 38px) 0; padding: 38px 0 18px; border-top: 1px solid var(--mt-border); }
.mt-footer-main { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(120px, 1fr)); gap: clamp(20px, 4vw, 56px); }
.mt-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--mt-text); font-size: 17px; font-weight: 760; }
.mt-footer-brand > p { max-width: 320px; margin: 13px 0 16px; color: var(--mt-muted); font-size: 13px; line-height: 1.75; }
.mt-footer-social { display: flex; align-items: center; gap: 9px; }
.mt-footer-social a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--mt-border); border-radius: 10px; background: var(--mt-surface); color: var(--mt-muted); }
.mt-footer-social a:hover { color: var(--mt-accent); }
.mt-footer-column { display: grid; align-content: start; gap: 9px; }
.mt-footer-column > h2 { margin: 2px 0 7px; color: var(--mt-text); font-size: 13px; font-weight: 750; letter-spacing: .04em; }
.mt-footer-column > a { color: var(--mt-muted); font-size: 12px; }
.mt-footer-column > a:hover { color: var(--mt-accent); }
.mt-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--mt-border); color: var(--mt-faint); font-size: 11px; }
.mt-footer-bottom a { color: var(--mt-muted); }
.mt-scroll-top { position: fixed; z-index: 850; right: 22px; bottom: 22px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--mt-border); border-radius: 13px; background: var(--mt-surface); color: var(--mt-text); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.mt-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mt-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mt-scroll-top:hover { color: var(--mt-accent); }
.sidenav-overlay, .drag-target, .scroll-top:not(.mt-scroll-top) { display: none !important; }

@media (max-width: 1199px) {
  :root { --mt-header-height: 72px; }
  .mt-topbar { left: 0; }
  .mt-menu-toggle, .mt-sidebar-close { display: inline-grid; }
  .mt-mobile-brand { display: inline-flex; }
  .mt-topbar-copy { display: none; }
  .mt-sidebar { transform: translateX(-100%); }
  .mt-ad-sidebar { display: none !important; }
  .mt-desktop-race-ad { display: none !important; }
  body.mt-sidebar-open .mt-sidebar { transform: translateX(0); }
  body.mt-sidebar-open .mt-sidebar-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }
  .mt-site-shell, .mt-site-shell.wrapper { margin-left: 0; }
}

@media (max-width: 900px) {
  .mt-spacebar-clicker-page .upgrades-grid { grid-template-columns: 1fr; }
  .mt-spacebar-clicker-page .upgrade-box { min-height: 160px; }
  .mt-spacebar-clicker-page .sticky-stats { position: static; width: auto; transform: none; }
  .mt-keyboard-practice-page .mt-practice-keyboard-scroll, .mt-keyboard-tester-page .mt-tester-keyboard-scroll { overflow: hidden; }
  .mt-keyboard-practice-page .mt-practice-keyboard-scroll > .keyboard { width: 100%; min-width: 0; padding: 8px; }
  .mt-keyboard-practice-page .mt-practice-keyboard-scroll > .keyboard > .row { display: grid !important; grid-template-columns: repeat(15, minmax(0, 1fr)); width: 100%; margin: 0 !important; }
  .mt-keyboard-practice-page .lili { width: auto !important; min-width: 0; margin: 2px; padding: 0 1px; overflow: hidden; font-size: clamp(7px, 1.35vw, 10px); letter-spacing: 0; }
  .mt-keyboard-practice-page #back, .mt-keyboard-practice-page #tab, .mt-keyboard-practice-page #caps, .mt-keyboard-practice-page #enter, .mt-keyboard-practice-page #left-shift, .mt-keyboard-practice-page #right-shift { grid-column: span 2; width: auto !important; }
  .mt-keyboard-tester-page #row .keyboard { width: 100%; min-width: 0; padding: 8px !important; }
  .mt-keyboard-tester-page .mt-tester-keyboard-scroll, .mt-keyboard-tester-page #row .keyboard { max-width: 100%; overflow-x: hidden !important; }
  .mt-keyboard-tester-page .mt-keyboard-workspace.maincard { min-height: 360px !important; contain: layout paint; }
  .mt-keyboard-tester-page #row .keyboard .first-column { grid-template-columns: repeat(16, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard .second-column { grid-template-columns: repeat(15, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard .third-column { grid-template-columns: repeat(16, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard .forth-column { grid-template-columns: repeat(15, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard .fifth-column { grid-template-columns: repeat(14, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard .sixth-column { grid-template-columns: repeat(19, minmax(0, 1fr)) !important; }
  .mt-keyboard-tester-page #row .keyboard a { min-width: 0; overflow: hidden; padding: 2px !important; font-size: clamp(6px, 1.15vw, 9px); }
  .mt-challenge-overview { grid-template-columns: 1fr; }
  .mt-challenge-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mt-challenge-journey > div { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .mt-lesson-overview { grid-template-columns: 1fr; gap: 13px; }
  .mt-lesson-overview-meta { justify-content: flex-start; }
  .mt-ad-sidebar { display: none !important; }
  .mt-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .mt-site-shell .card-img.overlap { min-height: 165px; }
  .mt-site-shell .card-img.overlap img { height: 145px; }
  .mt-site-shell .result-details .card1 { min-height: 94px; }
  .mt-site-shell .screen.inputtextarea { min-height: 230px; }
  .mt-level-directory .tab-pane > .row > [class*="col-"] { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .mt-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-category-grid-quiz { grid-template-columns: minmax(240px, 1fr); max-width: 430px; }
}

@media (max-width: 640px) {
  .mt-spacebar-clicker-page .modal1 { padding: 8px; }
  .mt-spacebar-clicker-page .modal-dialog1 { margin: 8px auto; }
  .mt-spacebar-clicker-page .modal-body1 { max-height: calc(100dvh - 150px); padding: 15px; }
  .mt-spacebar-clicker-heading { margin-bottom: 14px; }
  .mt-spacebar-clicker-toolbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button { width: 100%; min-width: 0; height: 42px; justify-content: center; padding: 0; background-position: center; }
  .mt-spacebar-clicker-page .mt-spacebar-clicker-toolbar > button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .mt-spacebar-clicker-page .main-section { padding: 21px 11px 25px; border-radius: 17px; }
  .mt-spacebar-clicker-page .score-display { font-size: 52px; }
  .mt-spacebar-clicker-page .stats-container { gap: 6px; margin-bottom: 18px; }
  .mt-spacebar-clicker-page .stat-box { min-height: 64px; padding: 8px 4px; }
  .mt-spacebar-clicker-page .stat-label { font-size: 8px; }
  .mt-spacebar-clicker-page .stat-value { font-size: 18px; }
  .mt-spacebar-clicker-page .spacebar-button { min-height: 100px; padding-right: 8px; padding-left: 8px; }
  .mt-spacebar-clicker-page .spacebar-button strong { font-size: 17px; letter-spacing: .13em; }
  .mt-spacebar-clicker-page .upgrades-section { padding: 15px 10px; border-radius: 16px; }
  .mt-spacebar-clicker-page .upgrade-box { min-height: 0; padding: 14px; border-radius: 14px; }
  .mt-spacebar-clicker-page .upgrade-first { gap: 10px; }
  .mt-spacebar-clicker-page .upgrade-icon { width: 62px; height: 62px; }
  .mt-spacebar-clicker-page .upgrade-title { font-size: 14px; }
  .mt-spacebar-clicker-page .upgrade-description { font-size: 10px; }
  .mt-spacebar-clicker-page #mar { width: 100%; margin: 18px auto 0 !important; }
  .mt-spacebar-clicker-page #mar .card-body { padding: 15px !important; }
  .mt-spacebar-clicker-page .typemenu { padding: 0 !important; }
  .mt-cps-heading { margin-bottom: 15px; }
  .mt-cps-stats { gap: 6px; }
  .mt-cps-stats > div { min-height: 78px; padding: 9px 4px; border-radius: 13px; }
  .mt-cps-stats span { font-size: 8px; letter-spacing: .02em; }
  .mt-cps-stats strong { font-size: 23px; }
  .mt-cps-page #clickarea.mt-cps-click-zone { height: clamp(280px, 80vw, 350px) !important; min-height: 280px; padding: 13px !important; border-radius: 17px !important; }
  .mt-cps-page #start { min-height: 120px; padding: 17px 12px; border-radius: 15px; }
  .mt-cps-controls { padding: 14px 11px; border-radius: 15px; }
  .mt-cps-controls-copy { align-items: flex-start; flex-direction: column; gap: 3px; }
  .mt-cps-presets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .mt-cps-custom-time { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mt-cps-custom-time button { padding: 0 6px; font-size: 10px; }
  .mt-cps-result-modal .modal-content { gap: 13px; padding: 16px; border-radius: 18px; }
  .mt-cps-result-stats { grid-template-columns: 1fr; }
  .mt-cps-result-stats > div { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .mt-cps-result-actions button { width: 100%; }
  .mt-key-tool-heading { gap: 7px; margin-bottom: 16px; }
  .mt-key-tool-heading h1 { font-size: 27px !important; }
  .mt-key-tool-heading p { font-size: 11px; }
  .mt-keyboard-tool-page .mt-keyboard-workspace.maincard { padding: 13px 10px !important; border-radius: 16px !important; }
  .mt-key-tool-instruction { min-height: 56px; margin-bottom: 10px; padding: 8px 11px; }
  .mt-key-tool-instruction strong { font-size: 12px; }
  .mt-keyboard-swipe-hint { display: flex; }
  .mt-keyboard-practice-page .mt-practice-keyboard-scroll > .keyboard { min-width: 0; padding: 7px; }
  .mt-keyboard-practice-page .lili { height: 36px; margin: 2px; font-size: 10px; line-height: 34px; }
  .mt-keyboard-tester-page #container { display: block !important; }
  .mt-keyboard-tester-page #row .keyboard { min-width: 0; padding: 7px !important; }
  .mt-keyboard-tester-page #row .keyboard a { min-height: 34px; font-size: clamp(5px, 1.6vw, 8px); }
  .mt-keyboard-mobile-note { display: flex !important; align-items: center; justify-content: center; gap: 6px; padding: 0 !important; }
  .mt-spacebar-heading { margin-bottom: 15px; }
  .mt-spacebar-stats { gap: 6px; }
  .mt-spacebar-stats > div { min-height: 78px; padding: 9px 4px; border-radius: 13px; }
  .mt-spacebar-stats span { font-size: 8px; letter-spacing: .03em; }
  .mt-spacebar-stats strong { font-size: 25px; }
  .mt-spacebar-action-card { min-height: 300px; padding: 20px 12px 25px; border-radius: 17px; }
  .mt-spacebar-action-card .hits { font-size: 62px; }
  .mt-spacebar-key { min-height: 92px; border-radius: 15px; }
  .mt-spacebar-key > span { font-size: 18px; }
  .mt-spacebar-controls { padding: 14px 11px; border-radius: 15px; }
  .mt-spacebar-controls-copy { align-items: flex-start; flex-direction: column; gap: 3px; }
  .mt-spacebar-presets { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .mt-spacebar-custom-time { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mt-spacebar-custom-time button { width: 100%; padding: 0 6px; font-size: 10px; }
  .mt-spacebar-result-modal .modal-content { gap: 13px; padding: 16px; border-radius: 18px; }
  .mt-spacebar-result-stats { grid-template-columns: 1fr; }
  .mt-spacebar-result-stats > div { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .mt-spacebar-result-actions button { width: 100%; }
  .mt-lesson-overview { margin-top: 2px; padding: 14px; border-radius: 15px; }
  .mt-lesson-skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-lesson-skill-link { min-height: 48px; padding: 7px; }
  .mt-lesson-skill-link i { width: 31px; height: 31px; }
  .mt-challenge-overview { margin-top: 8px; padding: 17px; border-radius: 17px; }
  .mt-challenge-overview-copy h2 { font-size: 23px; }
  .mt-challenge-start { width: 100%; }
  .mt-challenge-journey { gap: 6px; }
  .mt-challenge-journey > div { min-height: 88px; padding: 8px 5px; }
  .mt-challenge-journey strong { width: 32px; height: 32px; }
  .mt-challenge-journey span { font-size: 10px; }
  .mt-challenge-directory .cliping-section .nav-link { flex-direction: column; }
  .mt-challenge-runner #progress-section1.progress-section { min-height: 175px; padding: 18px 12px !important; border-radius: 16px !important; }
  .mt-challenge-runner #progress-section.progress-section { padding: 10px 11px !important; border-radius: 16px !important; }
  .mt-challenge-runner #progress-section .task-progress { min-height: 69px; }
  .mt-challenge-runner #progress-section .img { width: clamp(46px, 15vw, 68px) !important; height: 40px !important; }
  .mt-lesson-overview-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .mt-lesson-overview-meta > span { min-width: 0; }
  .mt-site-shell [data-faq] { border-radius: 15px !important; }
  .mt-site-shell [data-faq] > .card-header { padding: 16px !important; }
  .mt-site-shell [data-faq] .accordion .card-title { min-height: 50px; padding: 11px 43px 11px 12px; font-size: 12px; }
  .mt-site-shell [data-faq] .accordion .card-title::after { right: 10px; }
  .mt-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-ad-unit { gap: 6px; margin-top: 16px; margin-bottom: 19px; padding: 9px; border-radius: 12px; }
  .mt-ad-top, .mt-ad-content, .mt-ad-after-interaction { width: calc(100% - 16px); min-height: 96px; }
  .mt-ad-safe-content { margin-top: 38px; margin-bottom: 28px; }
  .mt-ad-unit .adsbygoogle { min-height: 72px; }
  .mt-ad-after-interaction { margin-top: 46px; margin-bottom: 30px; }
  .mt-ad-label { font-size: 9px; }
  .mt-ad-footer { width: calc(100% - 22px); margin-top: 26px; }
  :root { --mt-header-height: 66px; }
  .mt-topbar-inner { gap: 10px; padding: 0 12px; }
  .mt-topbar-start { gap: 8px; }
  .mt-topbar-actions { gap: 8px; }
  .mt-menu-toggle { width: 38px; height: 38px; }
  .mt-mobile-brand img { width: 29px; height: 29px; }
  .mt-mobile-brand span { font-size: 13px; }
  .mt-header-link { width: 38px; height: 38px; justify-content: center; padding: 0; }
  .mt-header-link span, .mt-user-trigger > span, .mt-user-trigger > .ft-chevron-down { display: none; }
  .mt-user-trigger { min-height: 40px; padding: 2px; }
  .mt-login-button { min-height: 38px; gap: 6px; padding: 0 10px; font-size: 12px; }
  .mt-site-shell .content-wrapper { padding: 12px 12px 22px !important; }
  .mt-site-shell h1 { margin-bottom: 17px; font-size: 26px; }
  .mt-site-shell .row { margin-right: -6px; margin-left: -6px; }
  .mt-site-shell .row > [class*="col-"] { padding-right: 6px; padding-left: 6px; }
  .mt-site-shell .card-body { padding: 14px; }
  .mt-site-shell .typing-text p { font-size: 18px !important; }
  .mt-practice-heading { gap: 7px; margin: 3px auto 20px; }
  .mt-practice-heading > p { max-width: 360px; font-size: 12px; }
  .mt-practice-eyebrow { min-height: 26px; font-size: 10px; }
  .mt-section-heading { gap: 7px; margin-bottom: 16px; }
  .mt-section-heading > p { font-size: 12px; }
  .mt-section-kicker { min-height: 26px; font-size: 10px; }
  .mt-level-directory .cardbodyborder { padding: 12px !important; }
  .mt-level-directory .cliping-section { gap: 4px; padding: 4px !important; border-radius: 12px; }
  .mt-level-directory .cliping-section .nav-link { min-height: 42px; gap: 4px; padding: 8px 3px !important; font-size: 10px; }
  .mt-level-directory .tab-pane > .row { row-gap: 11px; }
  .mt-level-directory .tab-pane > .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .mt-level-directory .tab-pane .cardefffect, .mt-level-directory .tab-pane .cardefffect > a, .mt-level-directory .tab-pane .cardefffect .card-content { min-height: 153px; }
  .mt-level-directory .tab-pane .cardefffect .card-img { min-height: 80px; }
  .mt-level-directory .tab-pane .cardefffect .card-img > img:not(.imgres1) { width: 75px !important; height: 75px !important; }
  .mt-level-directory .tab-pane .cardefffect .card-title { font-size: 12px !important; }
  #soundToggleBtn.mt-sound-toggle { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px !important; font-size: 17px !important; }
  .mt-site-shell .result-details > .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .mt-site-shell .result-details .card1 { min-height: 82px; padding: 9px 5px; }
  .mt-site-shell .result-details .card-body { min-height: 62px; padding: 6px; }
  .mt-site-shell .result-details h2 { font-size: 22px; }
  .mt-site-shell .result-details .media-body > span { font-size: 11px; }
  .mt-site-shell #myDIV { gap: 5px; margin-bottom: 13px; padding: 10px 7px; border-radius: 14px; }
  .mt-site-shell #myDIV > button { flex: 1 1 0; min-width: 0; }
  .mt-site-shell .screen.inputtextarea { min-height: 210px; border-radius: 15px !important; }
  .mt-site-shell .screen.inputtextarea .wrapper1 { padding: 17px 14px; }
  .mt-site-shell .screen.inputtextarea .typing-text { min-height: 170px !important; max-height: 270px; }
  .mt-site-shell .screen.inputtextarea .typing-text p { font-size: 18px !important; letter-spacing: .025em; line-height: 1.8; }
  .mt-site-shell .keyboard { overflow-x: auto; }
  .mt-typing-page .mt-site-shell .screen.inputtextarea { height: clamp(190px, 31vh, 230px); max-height: 230px; }
  .mt-typing-page .mt-site-shell .keyboard { margin-top: 9px; overflow: visible; }
  .mt-typing-page .mt-keyboard-section { padding-bottom: clamp(35px, 12vw, 88px); }
  .mt-quick-tools { padding-top: 12px; }
  .mt-quick-tools-card .card-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .mt-keyboard-toggle-wrap { max-width: 270px; }
  .mt-tool-directory { margin-top: 26px; }
  .mt-tool-directory .card-img.overlap { min-height: 108px; }
  .mt-tool-directory .card-img.overlap img { width: 92px !important; height: 86px !important; }
  .mt-tool-directory .card-title { font-size: 11px !important; }
  .mt-popular-tools-hero { gap: 7px; margin-bottom: 25px; }
  .mt-category-tools-header { align-items: flex-start; }
  .mt-category-tools-header p { font-size: 11px; }
  .mt-category-nav { gap: 6px; padding: 6px; border-radius: 14px; }
  .mt-category-nav a { grid-template-columns: 30px 1fr; min-height: 48px; gap: 6px; padding: 6px; font-size: 10px; text-align: left; }
  .mt-category-nav i { width: 30px; height: 30px; font-size: 14px; }
  .mt-category-nav small { display: none; }
  .mt-tool-category-heading > a { display: none; }
  .mt-category-grid { gap: 8px; }
  .mt-category-card { min-height: 182px; border-radius: 14px; }
  .mt-category-image { height: 101px; padding: 8px; }
  .mt-category-image img { width: 82px !important; height: 82px !important; }
  .mt-category-copy { padding: 10px; }
  .mt-category-copy strong { font-size: 12px; }
  .mt-category-copy > span:last-child { display: none; }
  .mt-practice-runner .screen.inputtextarea { height: clamp(190px, 31vh, 235px); max-height: 235px; }
  .mt-practice-runner #keyboardcheck { padding-bottom: 8px; }
  .mt-practice-runner #keyboardcheck .hands { display: none !important; }
  .mt-runner-keyboard-prompt { position: absolute; z-index: 5; right: 9px; bottom: 8px; left: 9px; display: flex; min-height: 39px; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255, 200, 87, .36); border-radius: 10px; background: rgba(24, 31, 44, .97); color: #ffd47b; font-size: 12px; font-weight: 700; }
  .mt-runner-keyboard-ready .mt-runner-keyboard-prompt { display: none; }
  .mt-practice-runner:not(.mt-runner-keyboard-ready) .typing-text { padding-bottom: 43px; }
  .mt-practice-runner .mt-run-result-modal .mt-run-result-content { gap: 14px; padding: 17px; border-radius: 18px !important; }
  .mt-run-result-header h2 { font-size: 22px; }
  .mt-run-result-header p { font-size: 11px; }
  .mt-run-result-close { width: 36px; height: 36px; flex-basis: 36px; }
  .mt-run-result-hero { gap: 6px; padding: 16px 11px; }
  .mt-run-result-hero > p { font-size: 11px; }
  .mt-run-result-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mt-run-result-stat { gap: 4px; padding: 10px 7px; }
  .mt-run-result-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .mt-run-result-action { min-height: 41px; padding: 0 8px; font-size: 11px; }
  .mt-run-result-action.mt-run-result-primary { grid-column: 1 / -1; grid-row: 1; min-height: 46px; font-size: 13px; }
  .mt-run-result-race { gap: 10px; }
  .mt-run-result-placement { gap: 8px; }
  .mt-run-result-placement img { width: 76px; height: 52px; }
  .mt-run-result-placement strong { font-size: 29px; }
  .mt-site-shell .btn, .mt-site-shell .allbtn, .mt-site-shell .mode-btn, .mt-site-shell .sub-btn { min-height: 37px; padding-right: 11px; padding-left: 11px; font-size: 12px; }
  .mt-footer { margin: 16px 12px 0; padding-top: 28px; }
  .mt-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 17px; }
  .mt-footer-brand { grid-column: 1 / -1; }
  .mt-footer-column > h2 { font-size: 12px; }
  .mt-footer-column > a { font-size: 11px; }
  .mt-footer-bottom { align-items: flex-start; flex-direction: column; }
  .mt-scroll-top { right: 12px; bottom: 14px; width: 39px; height: 39px; }
}

@media (max-width: 420px) {
  .mt-spacebar-clicker-page .stats-container { grid-template-columns: 1fr; }
  .mt-spacebar-clicker-page .stat-box { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .mt-spacebar-clicker-page .upgrade-first { align-items: flex-start; }
  .mt-spacebar-clicker-page .upgrade-icon { width: 50px; height: 50px; }
  .mt-spacebar-clicker-page .upgrade-stats { gap: 7px; }
  .mt-spacebar-clicker-page .upgrade-cost { display: inline-flex; align-items: center; }
  .mt-cps-custom-time { grid-template-columns: 1fr 1fr; }
  .mt-cps-custom-time input { grid-column: 1 / -1; }
  .mt-cps-custom-time button { min-height: 44px; font-size: 11px; }
  .mt-keyboard-tool-page .mt-keyboard-workspace.maincard { padding: 10px 7px !important; }
  .mt-keyboard-practice-page .mt-practice-keyboard-scroll > .keyboard, .mt-keyboard-tester-page #row .keyboard { padding: 5px !important; }
  .mt-keyboard-practice-page .lili { height: 30px; margin: 1px; font-size: 6px; line-height: 28px; border-radius: 5px; }
  .mt-keyboard-tester-page #row .keyboard > div { gap: 2px !important; margin-top: 3px !important; }
  .mt-keyboard-tester-page #row .keyboard a { min-height: 29px; border-radius: 5px !important; font-size: 5px; }
  .mt-spacebar-custom-time { grid-template-columns: 1fr 1fr; }
  .mt-spacebar-custom-time input { grid-column: 1 / -1; }
  .mt-spacebar-custom-time button { min-height: 44px; font-size: 11px; }
}

@media (max-width: 380px) {
  .mt-mobile-brand span { display: none; }
  .mt-login-button span { display: none; }
  .mt-login-button { width: 38px; justify-content: center; padding: 0; }
  .mt-sidebar { width: min(276px, calc(100vw - 32px)); }
  .mt-level-directory .cliping-section .nav-link { gap: 3px; font-size: 9px; }
  .mt-level-directory .tab-pane .cardefffect, .mt-level-directory .tab-pane .cardefffect > a, .mt-level-directory .tab-pane .cardefffect .card-content { min-height: 141px; }
  .mt-category-total { display: none; }
  .mt-category-nav { grid-template-columns: 1fr; }
  .mt-category-nav a { grid-template-columns: 30px 1fr auto; }
  .mt-category-nav small { display: grid; }
  .mt-category-grid, .mt-category-grid-quiz { grid-template-columns: 1fr; max-width: none; }
  .mt-category-card { grid-template-columns: 76px minmax(0, 1fr); min-height: 92px; align-items: center; }
  .mt-category-image { width: 76px; height: 100%; border-right: 1px solid rgba(174, 188, 214, .1); border-bottom: 0; }
  .mt-category-image img { width: 62px !important; height: 62px !important; }
  .mt-category-copy > span:last-child { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
