
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        :root {
            --bg: #f8f8f6;
            --white: #fff;
            --b: #e5e5e0;
            --s2: #f2f2ef;
            --t: #18181b;
            --t2: #52525b;
            --t3: #a1a1aa;
            --ac: #0f766e;
            --acb: #f0fdfa;
            --acd: #ccfbf1;
            --ac2: #134e4a;
            --sub: #1d4ed8;
            --sub-b: #dbeafe;
            --vb: #b91c1c;
            --vb-b: #fee2e2;
            --ob: #15803d;
            --ob-b: #dcfce7;
            --aj: #a16207;
            --aj-b: #fef9c3;
            --av: #6d28d9;
            --av-b: #ede9fe;
            --pp: #0e7490;
            --pp-b: #cffafe;
            --ax: #be185d;
            --ax-b: #fce7f3;
            --nav: 60px;
            --side: 268px;
            --r: 10px;
        }

        [data-theme="dark"] {
            --bg: #0d0d0f;
            --white: #1c1c20;
            --b: #38383f;
            --s2: #26262b;
            --t: #f4f4f5;
            --t2: #b4b4bb;
            --t3: #84848e;
            --ac: #2dd4bf;
            --acb: #0c2926;
            --acd: #134e4a;
            --ac2: #5eead4;
            --sub: #93c5fd;
            --sub-b: #1e2a47;
            --vb: #f87171;
            --vb-b: #3a1d1d;
            --ob: #4ade80;
            --ob-b: #15321f;
            --aj: #fcd34d;
            --aj-b: #332a10;
            --av: #c4b5fd;
            --av-b: #2a2247;
            --pp: #67e8f9;
            --pp-b: #103442;
            --ax: #f9a8d4;
            --ax-b: #3a1228;
        }

        /* Dark mode overrides for hardcoded answer/feedback colors */
        [data-theme="dark"] .qo.ok { border-color: #4ade80; background: #15321f; color: #86efac; }
        [data-theme="dark"] .qo.bad { border-color: #f87171; background: #3a1d1d; color: #fca5a5; }
        [data-theme="dark"] .qo.ok .qr { border-color: #4ade80; background: #4ade80; }
        [data-theme="dark"] .qo.bad.sel .qr { border-color: #f87171; background: #f87171; }
        [data-theme="dark"] .qfb.ok { background: #15321f; color: #86efac; border-left-color: #4ade80; }
        [data-theme="dark"] .qfb.bad { background: #3a1d1d; color: #fca5a5; border-left-color: #f87171; }
        [data-theme="dark"] .qfb.warn { background: #332a10; color: #fcd34d; border-left-color: #fbbf24; }
        [data-theme="dark"] .tt { background: #3f3f46; color: #f4f4f5; }
        [data-theme="dark"] .tt::after { border-top-color: #3f3f46; }
        [data-theme="dark"] .lvl-c { border-color: #3f3f46; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
        [data-theme="dark"] .lvl-c:hover { border-color: var(--ac); }
        [data-theme="dark"] .prog-panel { box-shadow: 0 1px 3px rgba(0,0,0,.4); }
        [data-theme="dark"] .result-box.perfect { background: #15321f; border-color: #1e5631; }
        [data-theme="dark"] .result-box.low { background: #3a1d1d; border-color: #5c2a2a; }
        [data-theme="dark"] .dn-opt-ic.patreon { background: #2a1a16; }
        [data-theme="dark"] .dn-opt-ic.patreon svg circle,
        [data-theme="dark"] .dn-opt-ic.patreon svg rect { fill: #f4f4f5; }
        [data-theme="dark"] .score.g { background: #332a10; color: #fcd34d; }
        [data-theme="dark"] .tnb.on .tnb-d { background: #18181b; }
        [data-theme="dark"] .btnp { color: #0f0f11; }

        body {
            font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
            background: var(--bg);
            color: var(--t);
            line-height: 1.6;
            min-height: 100vh
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--nav);
            background: var(--white);
            border-bottom: 1px solid var(--b);
            display: flex;
            align-items: center;
            padding: 0 22px;
            gap: 14px;
            z-index: 100;
            box-shadow: 0 1px 4px rgba(0,0,0,.04)
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            user-select: none
        }

        .logo-mark {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg,var(--ac),var(--ac2));
            border-radius: 7px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 14px
        }

        .logo-text {
            font-size: 15.5px;
            font-weight: 800;
            letter-spacing: -.4px;
            color: var(--t)
        }

            .logo-text span {
                color: var(--ac)
            }

        /* ── Leave a Tip button + donate modal ── */
        .quiz-btn {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            height: 34px;
            padding: 0 13px;
            border: 1.5px solid var(--ac);
            border-radius: 8px;
            background: var(--ac);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            flex-shrink: 0;
            white-space: nowrap;
            transition: background .15s, transform .15s;
        }
        [data-theme="dark"] .quiz-btn { color: #0d0d0f; }
        .quiz-btn:hover { background: var(--ac2); transform: translateY(-1px); }
        [data-theme="dark"] .quiz-btn:hover { background: var(--ac2); color: #0d0d0f; }
        .quiz-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
        @media (max-width: 760px) { .quiz-btn .quiz-label { display: none; } .quiz-btn { padding: 0 9px; } }

        .nav-link {
            display: inline-flex; align-items: center; gap: 7px;
            height: 34px; padding: 0 12px;
            border: 1.5px solid var(--b); border-radius: 8px;
            background: var(--white); color: var(--t2);
            font-size: 13px; font-weight: 700; font-family: inherit;
            cursor: pointer; flex-shrink: 0; white-space: nowrap;
            transition: background .15s, border-color .15s;
        }
        .nav-link:hover { background: var(--s2); border-color: var(--t3); }
        .nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
        @media (max-width: 860px) { .nav-link .nav-link-label { display: none; } .nav-link { padding: 0 9px; } }

        .lang-btn {
            display: inline-flex; align-items: center; justify-content: center;
            height: 34px; min-width: 38px; padding: 0 10px;
            border: 1.5px solid var(--b); border-radius: 8px;
            background: var(--white); color: var(--t2);
            font-size: 12.5px; font-weight: 800; font-family: inherit;
            cursor: pointer; flex-shrink: 0; letter-spacing: .5px;
            transition: background .15s, border-color .15s, color .15s;
        }
        .lang-btn:hover { background: var(--acb); border-color: var(--ac); color: var(--ac); }

        /* ── Glossary ── */
        .gl-page { max-width: 760px; }
        .gl-hero { margin-bottom: 20px; }
        .gl-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 8px; color: var(--t); }
        .gl-hero p { font-size: 14px; color: var(--t2); line-height: 1.55; margin: 0; }
        .gl-search {
            display: flex; align-items: center; gap: 9px;
            border: 1.5px solid var(--b); border-radius: 10px;
            background: var(--white); padding: 0 13px; margin-bottom: 10px;
        }
        .gl-search:focus-within { border-color: var(--ac); }
        .gl-search svg { width: 17px; height: 17px; stroke: var(--t3); fill: none; stroke-width: 2; flex-shrink: 0; }
        .gl-search input {
            flex: 1; border: none; outline: none; background: none;
            font-family: inherit; font-size: 14px; color: var(--t); padding: 12px 0;
        }
        .gl-count { font-size: 12px; color: var(--t3); font-weight: 600; margin-bottom: 18px; }
        .gl-group { margin-bottom: 18px; }
        .gl-letter {
            font-size: 13px; font-weight: 800; color: var(--ac);
            border-bottom: 2px solid var(--acd); padding-bottom: 5px; margin-bottom: 12px;
        }
        .gl-item {
            padding: 12px 0; border-bottom: 1px solid var(--b);
        }
        .gl-item:last-child { border-bottom: none; }
        .gl-term { font-size: 15px; font-weight: 800; color: var(--t); margin-bottom: 4px; }
        .gl-def { font-size: 13.5px; color: var(--t2); line-height: 1.55; }
        .gl-def em { color: var(--ac); font-style: italic; }
        .gl-ex { font-size: 13px; color: var(--t3); margin-top: 5px; }
        .gl-ex em { color: var(--ac); font-style: italic; }
        .gl-empty { font-size: 14px; color: var(--t2); padding: 30px 0; text-align: center; }


        /* ── Private lessons ── */
        .home-lessons {
            display: flex; align-items: center; gap: 18px; width: 100%;
            text-align: left; font-family: inherit; cursor: pointer;
            background: var(--t); color: var(--bg); border: none; border-radius: 14px;
            padding: 22px 24px; margin-bottom: 16px; transition: transform .15s, box-shadow .15s;
        }
        .home-lessons:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
        .home-lessons-tx { flex: 1; min-width: 0; }
        .home-lessons-tag { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--acd); margin-bottom: 5px; }
        .home-lessons-title { font-size: 18px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 4px; }
        .home-lessons-sub { font-size: 13px; opacity: .78; line-height: 1.5; }
        .home-lessons-cta { flex-shrink: 0; background: var(--acd); color: #0b3b37; font-size: 13.5px; font-weight: 800; border-radius: 8px; padding: 10px 16px; white-space: nowrap; }
        @media (max-width: 600px) { .home-lessons { flex-wrap: wrap; gap: 14px; } .home-lessons-cta { width: 100%; text-align: center; } }
        .footer-lessons { color: var(--ac) !important; font-weight: 800 !important; }

        .ls-page { max-width: 820px; }
        .ls-hero { padding: 6px 0 8px; }
        .ls-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ac); margin-bottom: 10px; }
        .ls-hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -1px; color: var(--t); margin: 0 0 14px; }
        .ls-hero h1 .accent { color: var(--ac); }
        .ls-intro { font-size: 16px; line-height: 1.6; color: var(--t2); max-width: 620px; margin: 0 0 22px; }
        .ls-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
        .ls-cta {
            display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
            background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); color: #fff;
            font-size: 15px; font-weight: 800; padding: 13px 22px; border-radius: 11px;
            box-shadow: 0 8px 22px rgba(221,42,123,.28); transition: transform .15s, box-shadow .15s;
        }
        .ls-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(221,42,123,.36); }
        .ls-cta svg { width: 20px; height: 20px; }
        .ls-cta2 { font-size: 13.5px; font-weight: 700; color: var(--t2); text-decoration: none; }
        .ls-cta2:hover { color: var(--ac); }
        .ls-note { font-size: 12.5px; color: var(--t3); margin-top: 12px; }
        .ls-h { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); margin: 40px 0 14px; }
        .ls-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .ls-offer { background: var(--white); border: 1.5px solid var(--b); border-radius: 13px; padding: 18px 18px 16px; }
        .ls-offer-ic { font-size: 24px; margin-bottom: 8px; }
        .ls-offer-t { font-size: 16px; font-weight: 800; color: var(--t); margin-bottom: 5px; }
        .ls-offer-d { font-size: 13.5px; color: var(--t2); line-height: 1.55; }
        .ls-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
        .ls-step { display: flex; gap: 12px; align-items: flex-start; background: var(--s2); border-radius: 13px; padding: 16px; }
        .ls-step-n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
        [data-theme="dark"] .ls-step-n { color: #0d0d0f; }
        .ls-step-t { font-size: 14.5px; font-weight: 800; color: var(--t); margin-bottom: 3px; }
        .ls-step-d { font-size: 13px; color: var(--t2); line-height: 1.5; }
        .ls-why { list-style: none; padding: 0; margin: 0 0 16px; }
        .ls-why li { position: relative; padding: 0 0 10px 28px; font-size: 14.5px; color: var(--t2); line-height: 1.55; }
        .ls-why li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ac); font-weight: 800; }
        .ls-place { background: var(--acb); border: 1.5px solid var(--acd); color: var(--ac); font-family: inherit; font-size: 13.5px; font-weight: 800; border-radius: 9px; padding: 9px 16px; cursor: pointer; }
        .ls-place:hover { background: var(--acd); }
        .ls-end { margin-top: 44px; background: var(--acb); border: 1.5px solid var(--acd); border-radius: 16px; padding: 28px 24px; text-align: center; }
        .ls-end h2 { font-size: 22px; font-weight: 800; color: var(--t); margin: 0 0 6px; }
        .ls-end p { font-size: 14.5px; color: var(--t2); margin: 0 0 18px; }
        @media (max-width: 680px) { .ls-offers, .ls-steps { grid-template-columns: 1fr; } }

        /* ── Privacy page ── */
        .pv-body { max-width: 720px; font-size: 14.5px; line-height: 1.7; color: var(--t2); }
        .pv-body h2 { font-size: 17px; font-weight: 800; color: var(--t); margin: 26px 0 8px; }
        .pv-body p { margin: 0 0 12px; }
        .pv-body ul { margin: 0 0 12px; padding-left: 20px; }
        .pv-body li { margin-bottom: 7px; }
        .pv-body a { color: var(--ac); font-weight: 600; }
        .pv-date { font-size: 12.5px; color: var(--t3); }

        /* ── Irregular verbs table ── */
        .gl-crosslink {
            margin-top: 12px; display: inline-flex; align-items: center;
            background: var(--acb); border: 1.5px solid var(--acd); border-radius: 8px;
            color: var(--ac); font-family: inherit; font-size: 13px; font-weight: 700;
            padding: 7px 14px; cursor: pointer; transition: background .15s, transform .15s;
        }
        .gl-crosslink:hover { background: var(--acd); transform: translateY(-1px); }
        .vb-wrap { overflow-x: auto; border: 1px solid var(--b); border-radius: 12px; }
        .vb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
        .vb-table th {
            text-align: left; padding: 12px 16px; background: var(--s2);
            font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
            color: var(--t3); border-bottom: 1.5px solid var(--b); white-space: nowrap;
        }
        .vb-table td { padding: 11px 16px; border-bottom: 1px solid var(--b); color: var(--t2); }
        .vb-table tr:last-child td { border-bottom: none; }
        .vb-table tbody tr:hover { background: var(--acb); }
        .vb-base { font-weight: 700; color: var(--ac); }
        .vb-tr { color: var(--t3); font-style: italic; }
        .vb-empty { text-align: center; color: var(--t2); padding: 30px 0 !important; }

        /* ── Turkish summary box ── */
        .tr-summary {
            background: var(--acb);
            border: 1.5px solid var(--acd);
            border-left: 4px solid var(--ac);
            border-radius: 10px;
            padding: 14px 18px;
            margin-bottom: 20px;
        }
        .tr-summary-h {
            font-size: 12px; font-weight: 800; color: var(--ac);
            text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px;
        }
        .tr-summary-b { font-size: 13.5px; color: var(--t2); line-height: 1.6; }
        .tr-summary-b strong { color: var(--t); }
        .tr-summary-b em { color: var(--ac); font-style: italic; }

        .theme-btn {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            height: 34px;
            padding: 0 12px;
            border: 1.5px solid var(--b);
            border-radius: 8px;
            background: var(--white);
            color: var(--t2);
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            flex-shrink: 0;
            white-space: nowrap;
            transition: background .15s, border-color .15s;
        }
        .theme-btn:hover { background: var(--s2); border-color: var(--t3); }
        .theme-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
        .theme-btn .moon { display: block; }
        .theme-btn .sun { display: none; }
        [data-theme="dark"] .theme-btn .moon { display: none; }
        [data-theme="dark"] .theme-btn .sun { display: block; }
        @media (max-width: 640px) {
            .theme-btn .theme-label { display: none; }
            .theme-btn { padding: 0 9px; }
        }

        .tip-btn {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 7px 14px;
            border: 1.5px solid var(--ac);
            border-radius: 8px;
            background: var(--acb);
            color: var(--ac);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: background .15s, transform .15s;
        }
        .tip-btn:hover { background: var(--acd); transform: translateY(-1px); }
        .tip-btn svg { width: 15px; height: 15px; fill: var(--ac); }
        @media (max-width: 560px) {
            .tip-btn .tip-label { display: none; }
            .tip-btn { padding: 7px 10px; }
        }

        /* ── Mobile nav: fit all buttons on small screens ── */
        @media (max-width: 640px) {
            nav { padding: 0 12px; gap: 8px; }
            /* Hide the search box on mobile — search is reachable elsewhere */
            .srch { display: none; }
            /* Compact, icon-only buttons */
            .lang-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 12px; }
            .nav-link, .quiz-btn, .theme-btn {
                height: 34px; width: 34px; padding: 0;
                justify-content: center;
            }
            .tip-btn { height: 34px; width: 34px; padding: 0; justify-content: center; border-radius: 8px; }
            .nav-link svg, .quiz-btn svg, .theme-btn svg, .tip-btn svg { margin: 0; }
            /* Logo text smaller so it shares space gracefully */
            .logo-text { font-size: 15px; }
            .logo-mark { width: 30px; height: 30px; font-size: 17px; }
        }
        @media (max-width: 380px) {
            nav { gap: 6px; padding: 0 9px; }
            .logo-text { display: none; }  /* very narrow: show just the K mark */
        }

        .dn-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.45);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 200;
            padding: 20px;
        }
        .dn-overlay.open { display: flex; }
        .dn-card {
            background: var(--white);
            border: 1px solid var(--b);
            border-radius: 16px;
            max-width: 440px;
            width: 100%;
            padding: 26px 24px 24px;
            box-shadow: 0 18px 50px rgba(0,0,0,.22);
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
        }
        .dn-close {
            position: absolute;
            top: 14px; right: 14px;
            width: 30px; height: 30px;
            border: none;
            background: var(--s2);
            border-radius: 8px;
            color: var(--t2);
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
        }
        .dn-close:hover { background: var(--b); }
        .dn-heart {
            width: 46px; height: 46px;
            border-radius: 12px;
            background: var(--acb);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 14px;
        }
        .dn-heart svg { width: 24px; height: 24px; fill: var(--ac); }
        .dn-card h2 {
            font-size: 19px;
            font-weight: 800;
            color: var(--t);
            margin: 0 0 6px;
            letter-spacing: -.3px;
        }
        .dn-card p.dn-intro {
            font-size: 13.5px;
            color: var(--t2);
            line-height: 1.55;
            margin: 0 0 18px;
        }
        .dn-opt {
            display: flex;
            align-items: center;
            gap: 13px;
            width: 100%;
            text-align: left;
            padding: 14px 15px;
            border: 1.5px solid var(--b);
            border-radius: 11px;
            background: var(--white);
            cursor: pointer;
            margin-bottom: 11px;
            transition: border-color .15s, background .15s, transform .15s;
            text-decoration: none;
            color: inherit;
            font-family: inherit;
        }
        .dn-opt:hover { border-color: var(--ac); background: var(--acb); transform: translateY(-1px); }
        .dn-opt.disabled {
            cursor: default;
            opacity: .6;
        }
        .dn-opt.disabled:hover { border-color: var(--b); background: var(--white); transform: none; }
        .dn-opt-ic {
            width: 38px; height: 38px;
            border-radius: 9px;
            display: flex; align-items: center; justify-content: center;
            font-size: 19px;
            flex-shrink: 0;
            background: var(--s2);
        }
        .dn-opt-ic.patreon { background: #fff1ee; }
        .dn-opt-tx { flex: 1; min-width: 0; }
        .dn-opt-tx .t1 { font-size: 14px; font-weight: 700; color: var(--t); margin-bottom: 2px; }
        .dn-opt-tx .t2 { font-size: 12px; color: var(--t3); line-height: 1.4; }
        .dn-opt-arrow { color: var(--t3); font-size: 16px; flex-shrink: 0; }
        .dn-soon {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: var(--t3);
            background: var(--s2);
            padding: 3px 7px;
            border-radius: 6px;
            flex-shrink: 0;
        }
        .dn-foot {
            text-align: center;
            font-size: 12px;
            color: var(--t3);
            margin-top: 6px;
            line-height: 1.5;
        }

        /* ── About modal extras ── */
        .about-feats {
            background: var(--s2);
            border-radius: 11px;
            padding: 15px 16px;
            margin-top: 6px;
        }
        .about-feats-h {
            font-size: 11px; font-weight: 700; letter-spacing: .5px;
            text-transform: uppercase; color: var(--t3); margin-bottom: 11px;
        }
        .about-feat {
            display: flex; align-items: flex-start; gap: 10px;
            font-size: 13px; color: var(--t2); line-height: 1.5; margin-bottom: 9px;
        }
        .about-feat:last-child { margin-bottom: 0; }
        .about-feat span:first-child { flex-shrink: 0; font-size: 15px; }

        /* ── Site footer ── */
        .site-footer {
            max-width: 1100px;
            margin: 60px auto 0;
            padding: 32px 24px 28px;
            border-top: 1px solid var(--b);
        }
        .site-footer-inner {
            display: flex; align-items: flex-start; justify-content: space-between;
            gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
        }
        .site-footer-brand { display: flex; align-items: center; gap: 12px; }
        .site-footer-name { font-size: 16px; font-weight: 800; color: var(--t); letter-spacing: -.3px; }
        .site-footer-name span { color: var(--ac); }
        .site-footer-tag { font-size: 12.5px; color: var(--t3); margin-top: 2px; }
        .site-footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
        .site-footer-links button, .site-footer-links a.fl {
            background: none; border: none; cursor: pointer; font-family: inherit;
            font-size: 13px; font-weight: 600; color: var(--t2);
            padding: 6px 12px; border-radius: 7px; transition: background .15s, color .15s;
        }
        .site-footer-links a.fl { text-decoration: none; display: inline-block; }
        .site-footer-links button:hover, .site-footer-links a.fl:hover { background: var(--acb); color: var(--ac); }
        .footer-ig {
            display: inline-flex; align-items: center; gap: 7px;
            text-decoration: none; font-size: 13px; font-weight: 600; color: var(--t2);
            padding: 6px 12px; border-radius: 7px; transition: background .15s, color .15s;
        }
        .footer-ig svg { width: 17px; height: 17px; flex-shrink: 0; }
        .footer-ig:hover { background: var(--acb); color: var(--ac); }
        .site-footer-bottom {
            display: flex; align-items: center; justify-content: space-between;
            gap: 14px; flex-wrap: wrap;
            font-size: 11.5px; color: var(--t3);
            padding-top: 18px; border-top: 1px solid var(--b);
        }

        /* ── Test result box ── */
        .result-box {
            border: 1.5px solid var(--b);
            border-radius: 13px;
            padding: 18px 18px 6px;
            margin: 22px 0 4px;
            background: var(--s2);
        }
        .result-box.perfect { background: #f0fdf4; border-color: #bbf7d0; }
        .result-box.good { background: var(--acb); border-color: var(--acd); }
        .result-box.low { background: #fef2f2; border-color: #fecaca; }
        .rb-top { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; }
        .rb-ring { flex-shrink: 0; line-height: 0; }
        .rb-head { flex: 1; min-width: 0; }
        .rb-score { font-size: 17px; font-weight: 800; color: var(--t); margin-bottom: 3px; }
        .rb-msg { font-size: 13px; color: var(--t2); line-height: 1.5; }
        .rb-review {
            border-top: 1px solid rgba(0,0,0,.07);
            padding-top: 12px;
            padding-bottom: 12px;
        }
        .rb-review-h {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .6px;
            text-transform: uppercase;
            color: var(--t3);
            margin-bottom: 9px;
        }
        .rb-miss {
            display: flex;
            gap: 10px;
            padding: 9px 0;
            border-bottom: 1px solid rgba(0,0,0,.05);
        }
        .rb-miss:last-child { border-bottom: none; }
        .rb-miss-n {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 800;
            color: #fff;
            background: var(--vb);
            border-radius: 6px;
            padding: 2px 7px;
            height: fit-content;
        }
        .rb-miss-tx { flex: 1; min-width: 0; }
        .rb-miss-q { font-size: 13px; color: var(--t); line-height: 1.45; margin-bottom: 3px; }
        .rb-miss-d { font-size: 12px; line-height: 1.4; }
        .rb-x { color: var(--vb); }
        .rb-ok { color: var(--ob); font-weight: 600; }

        /* ── Home Placement card (top, attention-grabbing) ── */
        .home-placement {
            display: flex; align-items: center; gap: 16px; width: 100%;
            text-align: left; font-family: inherit; cursor: pointer;
            background: var(--white);
            border: 2px solid var(--ac); border-radius: 14px;
            padding: 20px 22px; margin-bottom: 16px;
            position: relative; overflow: hidden;
            transition: transform .15s, box-shadow .15s;
        }
        .home-placement::before {
            content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 5px;
            background: linear-gradient(180deg, var(--ac), var(--ac2));
        }
        .home-placement:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,118,110,.18); }
        .home-placement-ic {
            width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
            background: var(--acb); color: var(--ac);
            display: flex; align-items: center; justify-content: center;
        }
        .home-placement-ic svg { width: 24px; height: 24px; }
        .home-placement-tx { flex: 1; min-width: 0; }
        .home-placement-title { font-size: 17px; font-weight: 800; color: var(--t); margin-bottom: 3px; letter-spacing: -.2px; }
        .home-placement-sub { font-size: 13px; color: var(--t2); line-height: 1.5; }
        .home-placement-cta {
            flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: #fff;
            background: var(--ac); border-radius: 8px; padding: 9px 15px; white-space: nowrap;
        }
        [data-theme="dark"] .home-placement-cta { color: #0d0d0f; }
        @media (max-width: 600px) {
            .home-placement { flex-wrap: wrap; gap: 12px; }
            .home-placement-cta { width: 100%; text-align: center; }
        }

        /* ── Placement result ── */
        .pl-result { text-align: center; padding: 8px 4px; }
        .pl-badge {
            display: inline-flex; align-items: center; justify-content: center;
            width: 60px; height: 60px; border-radius: 50%;
            background: var(--ac); color: #fff; font-size: 22px; font-weight: 800;
            margin-bottom: 12px;
        }
        [data-theme="dark"] .pl-badge { color: #0d0d0f; }
        .pl-rec-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--t3); margin-bottom: 4px; }
        .pl-rec-lvl { font-size: 22px; font-weight: 800; color: var(--t); margin-bottom: 6px; letter-spacing: -.3px; }
        .pl-rec-sub { font-size: 13px; color: var(--t2); margin-bottom: 18px; }
        .pl-breakdown { text-align: left; max-width: 340px; margin: 0 auto 20px; }
        .pl-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
        .pl-bar-lbl { font-size: 12px; font-weight: 800; color: var(--t2); width: 24px; flex-shrink: 0; }
        .pl-bar { flex: 1; height: 8px; background: var(--s2); border-radius: 99px; overflow: hidden; }
        .pl-bar-fill { height: 100%; border-radius: 99px; transition: width .5s ease; }
        .pl-bar-sc { font-size: 11.5px; font-weight: 700; color: var(--t3); width: 34px; text-align: right; flex-shrink: 0; }
        .pl-start-btn {
            display: block; width: 100%; padding: 13px; border: none; border-radius: 10px;
            background: var(--ac); color: #fff; font-family: inherit;
            font-size: 15px; font-weight: 800; cursor: pointer; margin-bottom: 10px;
            transition: background .15s, transform .15s;
        }
        [data-theme="dark"] .pl-start-btn { color: #0d0d0f; }
        .pl-start-btn:hover { background: var(--ac2); transform: translateY(-1px); }
        .pl-retake {
            background: none; border: none; cursor: pointer; font-family: inherit;
            font-size: 13px; font-weight: 600; color: var(--t3); padding: 4px;
        }
        .pl-retake:hover { color: var(--ac); }

        /* ── Home Quiz Me card ── */
        .home-quiz {
            display: flex; align-items: center; gap: 16px; width: 100%;
            text-align: left; font-family: inherit; cursor: pointer;
            background: linear-gradient(135deg, var(--ac), var(--ac2));
            border: none; border-radius: 14px;
            padding: 20px 22px; margin-bottom: 26px;
            transition: transform .15s, box-shadow .15s;
        }
        .home-quiz:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,118,110,.28); }
        .home-quiz-ic {
            width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
            background: rgba(255,255,255,.18); color: #fff;
            display: flex; align-items: center; justify-content: center;
        }
        .home-quiz-ic svg { width: 24px; height: 24px; }
        .home-quiz-tx { flex: 1; min-width: 0; }
        .home-quiz-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 3px; letter-spacing: -.2px; }
        .home-quiz-sub { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.5; }
        .home-quiz-cta {
            flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: var(--ac);
            background: #fff; border-radius: 8px; padding: 9px 15px; white-space: nowrap;
        }
        @media (max-width: 600px) {
            .home-quiz { flex-wrap: wrap; gap: 12px; }
            .home-quiz-cta { width: 100%; text-align: center; }
        }

        /* ── Home quick reference tools (Verbs + Glossary) ── */
        .home-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
        .home-tool {
            display: flex; align-items: center; gap: 13px; width: 100%;
            text-align: left; font-family: inherit; cursor: pointer;
            background: var(--white); border: 1.5px solid var(--b); border-radius: 12px;
            padding: 15px 16px; transition: transform .15s, box-shadow .15s, border-color .15s;
        }
        .home-tool:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); border-color: var(--ac); }
        .home-tool-ic {
            width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
            background: var(--acb); color: var(--ac);
            display: flex; align-items: center; justify-content: center;
        }
        .home-tool-ic svg { width: 21px; height: 21px; }
        .home-tool-tx { min-width: 0; }
        .home-tool-title { font-size: 14.5px; font-weight: 800; color: var(--t); margin-bottom: 2px; letter-spacing: -.2px; }
        .home-tool-sub { font-size: 12px; color: var(--t3); line-height: 1.4; }
        @media (max-width: 520px) {
            .home-tools { grid-template-columns: 1fr; }
        }

        /* ── Home progress panel ── */
        .prog-panel {
            background: var(--white);
            border: 1.5px solid var(--b);
            border-radius: 14px;
            padding: 18px 20px;
            margin-bottom: 26px;
        }
        .prog-panel-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
        .prog-panel-title { font-size: 15px; font-weight: 800; color: var(--t); margin-bottom: 3px; }
        .prog-panel-sub { font-size: 12.5px; color: var(--t2); }
        .prog-panel-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .streak-badge {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 12.5px; font-weight: 800; color: #b45309;
            background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: 8px;
            padding: 5px 11px; white-space: nowrap;
        }
        [data-theme="dark"] .streak-badge { background: #332a10; border-color: #b45309; color: #fcd34d; }
        .prog-reset {
            flex-shrink: 0;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--t3);
            background: var(--s2);
            border: 1px solid var(--b);
            border-radius: 7px;
            padding: 5px 11px;
            cursor: pointer;
        }
        .prog-reset:hover { background: var(--vb-b); color: var(--vb); border-color: var(--vb); }
        .prog-bar {
            height: 9px;
            background: var(--s2);
            border-radius: 99px;
            overflow: hidden;
            margin-bottom: 7px;
        }
        .prog-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--ac), var(--ac2));
            border-radius: 99px;
            transition: width .5s ease;
        }
        .prog-panel-pct { font-size: 11.5px; font-weight: 700; color: var(--ac); text-align: right; }

        /* ── Level card mini progress ── */
        .lvl-prog { display: flex; align-items: center; gap: 9px; margin-top: 11px; }
        .lvl-prog-bar {
            flex: 1;
            height: 6px;
            background: var(--s2);
            border-radius: 99px;
            overflow: hidden;
        }
        .lvl-prog-bar > div {
            height: 100%;
            background: var(--ac);
            border-radius: 99px;
            transition: width .5s ease;
        }
        .lvl-prog span { font-size: 11px; font-weight: 700; color: var(--ac); white-space: nowrap; }

        /* ── Quiz Me ── */
        .back-link {
            background: none; border: none; cursor: pointer;
            color: var(--t3); font-size: 13px; font-weight: 600;
            font-family: inherit; padding: 0; margin-bottom: 18px;
        }
        .back-link:hover { color: var(--ac); }
        .qz-setup, .qz-run { max-width: 760px; }
        .qz-hero { text-align: center; margin-bottom: 30px; }
        .qz-hero-ic {
            width: 56px; height: 56px; border-radius: 15px;
            background: var(--acb); border: 1.5px solid var(--acd);
            display: inline-flex; align-items: center; justify-content: center;
            margin-bottom: 14px;
        }
        .qz-hero-ic svg { width: 28px; height: 28px; color: var(--ac); }
        .qz-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 8px; color: var(--t); }
        .qz-hero p { font-size: 14px; color: var(--t2); line-height: 1.55; max-width: 480px; margin: 0 auto; }
        .qz-section-h {
            font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
            color: var(--t3); margin: 0 0 13px;
        }
        .qz-opts {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px;
        }
        @media (max-width: 540px) { .qz-opts { grid-template-columns: 1fr; } }
        .qz-opt {
            display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
            padding: 14px 16px; border: 1.5px solid var(--b); border-radius: 11px;
            background: var(--white); cursor: pointer; font-family: inherit; text-align: left;
            transition: border-color .15s, background .15s, transform .15s;
        }
        .qz-opt:hover { border-color: var(--ac); transform: translateY(-1px); }
        .qz-opt.on { border-color: var(--ac); background: var(--acb); }
        .qz-opt-label { font-size: 14.5px; font-weight: 700; color: var(--t); }
        .qz-opt-meta { font-size: 12px; color: var(--t3); }
        .qz-opt.on .qz-opt-meta { color: var(--ac); }
        .qz-counts { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
        .qz-count {
            flex: 1; min-width: 60px; padding: 13px 0; border: 1.5px solid var(--b); border-radius: 10px;
            background: var(--white); cursor: pointer; font-family: inherit;
            font-size: 16px; font-weight: 800; color: var(--t);
            transition: border-color .15s, background .15s, transform .15s;
        }
        .qz-count:hover:not(:disabled) { border-color: var(--ac); transform: translateY(-1px); }
        .qz-count.on { border-color: var(--ac); background: var(--ac); color: #fff; }
        [data-theme="dark"] .qz-count.on { color: #0d0d0f; }
        .qz-count:disabled { opacity: .35; cursor: not-allowed; }
        .qz-start {
            width: 100%; padding: 15px; border: none; border-radius: 12px;
            background: var(--ac); color: #fff; font-family: inherit;
            font-size: 15.5px; font-weight: 800; cursor: pointer;
            transition: background .15s, transform .15s;
        }
        [data-theme="dark"] .qz-start { color: #0d0d0f; }
        .qz-start:hover:not(:disabled) { background: var(--ac2); transform: translateY(-1px); }
        [data-theme="dark"] .qz-start:hover:not(:disabled) { color: #0d0d0f; }
        .qz-start:disabled { opacity: .4; cursor: not-allowed; }
        .qz-note { text-align: center; font-size: 12.5px; color: var(--t3); margin-top: 12px; }
        .qz-run-hd { margin-bottom: 8px; }
        .qz-run-hd h1 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; margin: 0 0 5px; color: var(--t); }
        .qz-run-hd p { font-size: 13.5px; color: var(--t2); margin: 0 0 20px; }
        .qn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
        .qn-row .qn { margin-bottom: 0; }
        .qz-src {
            background: none; border: none; cursor: pointer; font-family: inherit;
            font-size: 11px; font-weight: 700; color: var(--t3);
            padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%;
        }
        .qz-src:hover { color: var(--ac); }
        .qz-bd-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
        .qz-bd {
            font-size: 11px; font-weight: 600; color: var(--t2);
            background: var(--s2); border-radius: 6px; padding: 2px 8px;
        }
        .qz-bd strong { color: var(--t); }

        /* ── Review Mistakes card ── */
        .qz-review-card {
            display: flex; align-items: center; gap: 14px; width: 100%;
            padding: 16px 18px; margin-bottom: 16px;
            border: 1.5px solid #f59e0b; border-radius: 13px;
            background: #fffbeb; cursor: pointer; font-family: inherit; text-align: left;
            transition: border-color .15s, transform .15s, box-shadow .15s;
        }
        .qz-review-card:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(245,158,11,.18); }
        [data-theme="dark"] .qz-review-card { background: #332a10; border-color: #b45309; }
        .qz-review-ic {
            width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
            background: #fef3c7; color: #b45309;
            display: flex; align-items: center; justify-content: center;
        }
        [data-theme="dark"] .qz-review-ic { background: #422006; color: #fcd34d; }
        .qz-review-ic svg { width: 20px; height: 20px; }
        .qz-review-tx { flex: 1; min-width: 0; }
        .qz-review-tx .t1 { font-size: 15px; font-weight: 800; color: var(--t); margin-bottom: 2px; }
        .qz-review-tx .t2 { font-size: 12.5px; color: var(--t2); line-height: 1.45; }
        .qz-review-arrow { font-size: 18px; color: #b45309; flex-shrink: 0; }
        [data-theme="dark"] .qz-review-arrow { color: #fcd34d; }
        .qz-or {
            text-align: center; font-size: 12px; font-weight: 600; color: var(--t3);
            text-transform: uppercase; letter-spacing: .5px; margin: 0 0 22px;
        }

        .srch {
            flex: 1;
            max-width: 340px;
            position: relative
        }

            .srch input {
                width: 100%;
                padding: 7px 12px 7px 34px;
                border: 1.5px solid var(--b);
                border-radius: 8px;
                background: var(--s2);
                font-size: 13.5px;
                color: var(--t);
                outline: none;
                font-family: inherit
            }

                .srch input:focus {
                    border-color: var(--ac);
                    background: var(--white)
                }

            .srch svg {
                position: absolute;
                left: 10px;
                top: 50%;
                transform: translateY(-50%);
                width: 14px;
                height: 14px;
                stroke: var(--t3);
                fill: none;
                stroke-width: 2
            }

        .wrap {
            display: flex;
            margin-top: var(--nav);
            min-height: calc(100vh - var(--nav))
        }

        aside {
            width: var(--side);
            min-width: var(--side);
            background: var(--white);
            border-right: 1px solid var(--b);
            padding: 14px 0;
            position: sticky;
            top: var(--nav);
            height: calc(100vh - var(--nav));
            overflow-y: auto
        }

            aside::-webkit-scrollbar {
                width: 4px
            }

            aside::-webkit-scrollbar-thumb {
                background: var(--b);
                border-radius: 3px
            }

        .ch {
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--t3);
            padding: 12px 18px 4px;
            display: flex;
            align-items: center;
            gap: 7px
        }

        .tp {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 8px 18px;
            background: none;
            border: none;
            font-size: 13px;
            color: var(--t2);
            cursor: pointer;
            text-align: left;
            gap: 9px;
            transition: .12s;
            font-family: inherit
        }

            .tp:hover {
                background: var(--s2);
                color: var(--t)
            }

            .tp.on {
                background: var(--acb);
                color: var(--ac);
                font-weight: 600;
                border-left: 3px solid var(--ac);
                padding-left: 15px
            }

        .tp-num {
            font-size: 10.5px;
            font-weight: 700;
            color: var(--t3);
            min-width: 22px;
            flex-shrink: 0
        }

        .tp.on .tp-num {
            color: var(--ac)
        }

        .tp-locked {
            opacity: .45;
            cursor: not-allowed
        }

            .tp-locked:hover {
                background: none;
                color: var(--t2)
            }

        .side-section {
            margin-bottom: 2px
        }

        .side-hd {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 18px 4px;
            cursor: pointer;
            user-select: none
        }

            .side-hd:hover .side-hd-label {
                color: var(--t2)
            }

        .side-hd-label {
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--t3);
            display: flex;
            align-items: center;
            gap: 7px;
            transition: .12s
        }

        .side-arrow {
            width: 14px;
            height: 14px;
            stroke: var(--t3);
            fill: none;
            stroke-width: 2.5;
            transition: transform .2s;
            flex-shrink: 0
        }

            .side-arrow.open {
                transform: rotate(180deg)
            }

        .side-items {
            overflow: hidden;
            transition: max-height .25s ease, opacity .2s ease;
            opacity: 1
        }

            .side-items.closed {
                max-height: 0 !important;
                opacity: 0
            }

        .side-badge {
            background: var(--acd);
            color: var(--ac2);
            font-size: 9px;
            font-weight: 700;
            padding: 1px 6px;
            border-radius: 8px;
            letter-spacing: .3px
        }

            .side-badge.soon {
                background: var(--s2);
                color: var(--t3)
            }

        main {
            flex: 1;
            padding: 36px 48px 64px;
            max-width: 880px
        }
        /* HOME */
        .hero {
            margin-bottom: 30px
        }

            .hero h1 {
                font-size: 32px;
                font-weight: 800;
                letter-spacing: -1px;
                margin-bottom: 8px
            }

                .hero h1 .accent {
                    color: var(--ac)
                }

            .hero p {
                color: var(--t2);
                font-size: 15px;
                max-width: 600px
            }

        .levels {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
            gap: 14px;
            margin-bottom: 32px
        }

        .lvl-c {
            background: var(--white);
            border: 1px solid var(--b);
            border-radius: var(--r);
            padding: 18px 20px;
            cursor: pointer;
            transition: .17s;
            text-align: left;
            font-family: inherit;
            position: relative
        }

            .lvl-c.locked {
                opacity: .55;
                cursor: not-allowed
            }

            .lvl-c:hover:not(.locked) {
                border-color: var(--ac);
                box-shadow: 0 4px 18px rgba(15,118,110,.1);
                transform: translateY(-2px)
            }

            .lvl-c .lvl-tag {
                font-size: 10px;
                font-weight: 700;
                letter-spacing: 1px;
                color: var(--ac);
                text-transform: uppercase;
                margin-bottom: 5px
            }

            .lvl-c.locked .lvl-tag {
                color: var(--t3)
            }

            .lvl-c h3 {
                font-size: 17px;
                font-weight: 700;
                margin-bottom: 4px
            }

            .lvl-c p {
                font-size: 12.5px;
                color: var(--t3)
            }

            .lvl-c .lvl-meta {
                display: flex;
                gap: 14px;
                margin-top: 12px;
                font-size: 11.5px;
                color: var(--t2);
                font-weight: 500
            }

                .lvl-c .lvl-meta strong {
                    color: var(--ac);
                    font-weight: 700
                }

        .lvl-soon {
            position: absolute;
            top: 14px;
            right: 14px;
            background: var(--s2);
            color: var(--t3);
            font-size: 9.5px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 10px;
            letter-spacing: .5px;
            text-transform: uppercase
        }
        /* LEVEL OVERVIEW */
        .crumb {
            font-size: 12px;
            color: var(--t3);
            margin-bottom: 6px
        }

            .crumb a {
                color: var(--ac);
                cursor: pointer
            }

                .crumb a:hover {
                    text-decoration: underline
                }

        .lvl-hd {
            margin-bottom: 24px
        }

            .lvl-hd h1 {
                font-size: 28px;
                font-weight: 800;
                letter-spacing: -.8px;
                margin-bottom: 6px
            }

            .lvl-hd p {
                color: var(--t2);
                font-size: 14px
            }

        .ugrid {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(195px,1fr));
            gap: 11px
        }

        .ucard {
            background: var(--white);
            border: 1px solid var(--b);
            border-radius: var(--r);
            padding: 14px 15px;
            cursor: pointer;
            transition: .16s;
            text-align: left;
            font-family: inherit;
            position: relative
        }

            .ucard.locked {
                opacity: .5;
                cursor: not-allowed
            }

            .ucard:hover:not(.locked) {
                border-color: var(--ac);
                box-shadow: 0 3px 14px rgba(15,118,110,.08);
                transform: translateY(-1px)
            }

            .ucard .u-n {
                font-size: 10.5px;
                font-weight: 700;
                color: var(--ac);
                letter-spacing: 1px;
                margin-bottom: 4px
            }

            .ucard.locked .u-n {
                color: var(--t3)
            }

            .ucard .u-t {
                font-size: 13.5px;
                font-weight: 600;
                color: var(--t);
                line-height: 1.4;
                margin-bottom: 8px
            }

            .ucard .u-m {
                font-size: 11px;
                color: var(--t3);
                display: flex;
                gap: 9px
            }

            .ucard .u-soon {
                position: absolute;
                top: 11px;
                right: 11px;
                background: var(--s2);
                color: var(--t3);
                font-size: 9px;
                font-weight: 700;
                padding: 2px 6px;
                border-radius: 8px;
                letter-spacing: .5px;
                text-transform: uppercase
            }
        /* UNIT */
        .uhd {
            margin-bottom: 22px
        }

            .uhd .u-no {
                font-size: 11px;
                font-weight: 700;
                color: var(--ac);
                letter-spacing: 1.5px;
                margin-bottom: 5px
            }

            .uhd h1 {
                font-size: 28px;
                font-weight: 800;
                letter-spacing: -.8px;
                margin-bottom: 6px
            }

            .uhd .u-sub {
                font-size: 13.5px;
                color: var(--t2)
            }

        .tabs {
            display: flex;
            border-bottom: 1.5px solid var(--b);
            margin-bottom: 24px;
            gap: 0
        }

        .tab {
            padding: 10px 22px;
            background: none;
            border: none;
            border-bottom: 2.5px solid transparent;
            margin-bottom: -1.5px;
            font-size: 14px;
            font-weight: 600;
            color: var(--t3);
            cursor: pointer;
            font-family: inherit;
            transition: .14s;
            display: flex;
            align-items: center;
            gap: 7px
        }

            .tab:hover {
                color: var(--t)
            }

            .tab.on {
                color: var(--ac);
                border-bottom-color: var(--ac)
            }
        /* LESSON */
        .sc {
            background: var(--white);
            border: 1px solid var(--b);
            border-radius: var(--r);
            padding: 22px 26px;
            margin-bottom: 14px
        }

        .sc-hd {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--ac);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 6px
        }

        .sc-hd2 {
            font-size: 16px;
            font-weight: 700;
            color: var(--t);
            margin-bottom: 13px;
            margin-top: 18px
        }

            .sc-hd2:first-child {
                margin-top: 0
            }

        .expl p {
            font-size: 14.5px;
            line-height: 1.72;
            margin-bottom: 11px;
            color: var(--t)
        }

            .expl p:last-child {
                margin-bottom: 0
            }

        .expl ul {
            padding-left: 20px;
            margin-top: 8px;
            margin-bottom: 11px
        }

        .expl li {
            font-size: 14px;
            color: var(--t2);
            margin-bottom: 7px;
            line-height: 1.65
        }

            .expl li em {
                color: var(--ac);
                font-style: normal;
                font-weight: 600
            }

        .expl strong {
            color: var(--t);
            font-weight: 700
        }

        table.gt {
            width: 100%;
            border-collapse: collapse;
            margin: 12px 0;
            font-size: 13.5px
        }

            table.gt th, table.gt td {
                border: 1px solid var(--b);
                padding: 8px 12px;
                text-align: left
            }

            table.gt th {
                background: var(--s2);
                font-weight: 700;
                color: var(--t);
                font-size: 12.5px
            }

            table.gt td em {
                color: var(--ac);
                font-style: normal;
                font-weight: 600
            }

        .lgnd {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px
        }

        .lgi {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 11.5px;
            color: var(--t2)
        }

        .lgs {
            width: 11px;
            height: 11px;
            border-radius: 3px
        }

        .ex {
            padding: 12px 0;
            border-bottom: 1px solid var(--b)
        }

            .ex:last-child {
                border-bottom: none;
                padding-bottom: 0
            }

            .ex:first-child {
                padding-top: 0
            }

        .exs {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            align-items: baseline;
            margin-bottom: 5px
        }

        .tk {
            display: inline-flex;
            padding: 2px 7px;
            border-radius: 5px;
            font-size: 15.5px;
            font-weight: 500;
            cursor: default;
            position: relative;
            line-height: 1.6
        }

            .tk:hover .tt {
                opacity: 1;
                transform: translateX(-50%) translateY(-4px)
            }

        .tt {
            position: absolute;
            bottom: calc(100% + 4px);
            left: 50%;
            transform: translateX(-50%) translateY(2px);
            background: #18181b;
            color: #fff;
            padding: 2px 7px;
            border-radius: 4px;
            font-size: 10.5px;
            font-weight: 700;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: .12s;
            text-transform: capitalize;
            letter-spacing: .3px;
            z-index: 10
        }

            .tt::after {
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%);
                border: 3px solid transparent;
                border-top-color: #18181b
            }

        .tk[data-r=subject] {
            background: var(--sub-b);
            color: var(--sub)
        }

        .tk[data-r=verb] {
            background: var(--vb-b);
            color: var(--vb)
        }

        .tk[data-r=auxiliary] {
            background: var(--ax-b);
            color: var(--ax)
        }

        .tk[data-r=object] {
            background: var(--ob-b);
            color: var(--ob)
        }

        .tk[data-r=adjective] {
            background: var(--aj-b);
            color: var(--aj)
        }

        .tk[data-r=adverb] {
            background: var(--av-b);
            color: var(--av)
        }

        .tk[data-r=preposition] {
            background: var(--pp-b);
            color: var(--pp)
        }

        .tk[data-r=none] {
            background: transparent;
            color: var(--t);
            padding: 2px 1px
        }

        .exn {
            font-size: 12px;
            color: var(--t3);
            font-style: italic
        }

        .mistake {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid var(--b)
        }

            .mistake:last-of-type {
                border-bottom: none
            }

            .mistake .x {
                color: var(--vb);
                font-weight: 600;
                font-size: 13.5px
            }

                .mistake .x::before {
                    content: '✗ ';
                    font-weight: 800
                }

            .mistake .arr {
                color: var(--t3);
                font-weight: 700
            }

            .mistake .ok {
                color: var(--ob);
                font-weight: 600;
                font-size: 13.5px
            }

                .mistake .ok::before {
                    content: '✓ ';
                    font-weight: 800
                }

            .mistake .why {
                grid-column: 1/-1;
                font-size: 11.5px;
                color: var(--t3);
                margin-top: 3px;
                font-style: italic;
                padding-left: 8px;
                border-left: 2px solid var(--b)
            }
        /* TESTS */
        .t-intro {
            background: var(--acb);
            border: 1px solid var(--acd);
            border-radius: var(--r);
            padding: 13px 18px;
            margin-bottom: 18px;
            font-size: 13px;
            color: var(--ac2);
            display: flex;
            align-items: center;
            gap: 10px
        }

            .t-intro .ti {
                font-size: 18px
            }

        .tnav {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 18px
        }

        .tnb {
            padding: 7px 14px;
            border: 1.5px solid var(--b);
            background: var(--white);
            border-radius: 8px;
            font-size: 12.5px;
            font-weight: 600;
            cursor: pointer;
            color: var(--t2);
            font-family: inherit;
            transition: .13s;
            display: flex;
            align-items: center;
            gap: 6px
        }

            .tnb:hover {
                border-color: var(--ac);
                color: var(--ac)
            }

            .tnb.on {
                background: var(--ac);
                border-color: var(--ac);
                color: #fff
            }

            .tnb .tnb-d {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: var(--t3)
            }

            .tnb.done .tnb-d {
                background: #22c55e
            }

            .tnb.on .tnb-d {
                background: #fff
            }

        .tst-hd {
            margin-bottom: 16px
        }

            .tst-hd h3 {
                font-size: 17px;
                font-weight: 700;
                margin-bottom: 3px
            }

            .tst-hd p {
                font-size: 13px;
                color: var(--t2)
            }

        .qi {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--b)
        }

            .qi:last-of-type {
                border-bottom: none
            }

        .qn {
            font-size: 10.5px;
            font-weight: 700;
            color: var(--t3);
            margin-bottom: 5px;
            letter-spacing: .5px;
            text-transform: uppercase
        }

        .qt {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--t);
            margin-bottom: 12px;
            line-height: 1.55
        }

        .qopts {
            display: flex;
            flex-direction: column;
            gap: 7px
        }

        .qo {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 14px;
            border: 1.5px solid var(--b);
            border-radius: 8px;
            cursor: pointer;
            font-size: 13.5px;
            background: var(--white);
            transition: .12s;
            color: var(--t);
            font-family: inherit;
            text-align: left;
            width: 100%
        }

            .qo:hover:not([disabled]) {
                border-color: var(--ac);
                background: var(--acb)
            }

            .qo.sel:not(.checked) {
                border-color: var(--ac);
                background: var(--acb)
            }

            .qo.ok {
                border-color: #16a34a;
                background: #f0fdf4;
                color: #15803d
            }

            .qo.bad {
                border-color: #dc2626;
                background: #fef2f2;
                color: #b91c1c
            }

            .qo[disabled] {
                cursor: default
            }

        /* language-specific inline content */
        :root:not([data-lang="tr"]) .tro { display: none !important; }
        :root[data-lang="tr"] .eno { display: none !important; }
        .ql { flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--t3); min-width: 14px; }
        .qo.sel .ql, .qo.ok .ql { color: inherit; }
        .qtx { flex: 1; min-width: 0; }
        .qr {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 2px solid var(--b);
            flex-shrink: 0;
            transition: .12s
        }

        .qo.sel .qr, .qo.ok .qr {
            border-color: var(--ac);
            background: var(--ac)
        }

        .qo.ok .qr {
            border-color: #16a34a;
            background: #16a34a
        }

        .qo.bad.sel .qr {
            border-color: #dc2626;
            background: #dc2626
        }

        .qfb {
            margin-top: 10px;
            padding: 9px 13px;
            border-radius: 6px;
            font-size: 12.8px;
            display: none;
            line-height: 1.5
        }

            .qfb.ok {
                background: #f0fdf4;
                color: #15803d;
                display: block;
                border-left: 3px solid #22c55e
            }

            .qfb.bad {
                background: #fef2f2;
                color: #b91c1c;
                display: block;
                border-left: 3px solid #ef4444
            }

            .qfb.warn {
                background: #fffbeb;
                color: #92400e;
                display: block;
                border-left: 3px solid #f59e0b
            }

        .qact {
            display: flex;
            align-items: center;
            gap: 11px;
            margin-top: 22px;
            padding-top: 20px;
            border-top: 1.5px solid var(--b);
            flex-wrap: wrap
        }

        .btnp {
            padding: 9px 22px;
            background: var(--ac);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            transition: .13s
        }

            .btnp:hover {
                background: var(--ac2)
            }

            .btnp:disabled {
                opacity: .4;
                cursor: default
            }

        .btns {
            padding: 9px 18px;
            background: transparent;
            color: var(--t2);
            border: 1.5px solid var(--b);
            border-radius: 8px;
            font-size: 13.5px;
            cursor: pointer;
            font-family: inherit;
            transition: .13s
        }

            .btns:hover {
                border-color: var(--t2);
                color: var(--t)
            }

        .score {
            font-size: 14px;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 20px;
            display: none
        }

            .score.show {
                display: inline-block
            }

            .score.p {
                background: #dcfce7;
                color: #15803d
            }

            .score.g {
                background: #fef3c7;
                color: #b45309
            }

            .score.m {
                background: #fee2e2;
                color: #b91c1c
            }

        .placeholder {
            padding: 60px 40px;
            text-align: center;
            background: var(--white);
            border: 1px dashed var(--b);
            border-radius: var(--r);
            color: var(--t3)
        }

            .placeholder .ic {
                font-size: 36px;
                margin-bottom: 10px
            }

            .placeholder h3 {
                font-size: 16px;
                font-weight: 700;
                color: var(--t2);
                margin-bottom: 5px
            }

            .placeholder p {
                font-size: 13px
            }

        @media (max-width:780px) {
            :root {
                --side: 0px
            }

            aside {
                display: none
            }

            main {
                padding: 24px 18px 56px
            }

            .srch {
                max-width: none;
                flex: 1
            }
        }

        .side-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 14px 8px 18px;
            cursor: pointer;
            user-select: none;
            border-left: 3px solid transparent;
            transition: background .12s, border-color .12s;
            background: none;
            border-top: none;
            border-right: none;
            border-bottom: none;
            width: 100%;
            text-align: left;
            font-family: inherit;
        }

            .side-item:hover:not(.locked) {
                background: var(--s2);
            }

            .side-item.active {
                background: var(--acb);
                border-left-color: var(--ac);
            }

            .side-item.locked {
                opacity: .45;
                cursor: not-allowed;
            }

        .side-n {
            font-size: 10px;
            font-weight: 700;
            color: var(--t3);
            min-width: 20px;
            flex-shrink: 0;
            letter-spacing: .5px;
        }

        .side-item.active .side-n {
            color: var(--ac);
        }

        .side-info {
            display: flex;
            flex-direction: column;
            gap: 1px;
            flex: 1;
            min-width: 0;
        }

        .side-title {
            font-size: 12.5px;
            font-weight: 600;
            color: var(--t);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }

        .side-item.active .side-title {
            color: var(--ac);
        }

        .side-sub {
            font-size: 10.5px;
            color: var(--t3);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .side-lock {
            font-size: 10px;
            flex-shrink: 0;
            opacity: .6;
        }
        .side-check {
            flex-shrink: 0;
            width: 18px; height: 18px;
            border-radius: 50%;
            background: var(--ob);
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            display: flex; align-items: center; justify-content: center;
            line-height: 1;
        }
        .side-pct {
            flex-shrink: 0;
            font-size: 10px;
            font-weight: 700;
            color: var(--ac);
            background: var(--acb);
            border: 1px solid var(--acd);
            border-radius: 6px;
            padding: 1px 5px;
        }
        /* ── Print button + brand elements (screen) ── */
        .uhd-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
        .print-btn {
            display: inline-flex; align-items: center; gap: 7px;
            height: 36px; padding: 0 14px; flex-shrink: 0;
            border: 1.5px solid var(--b); border-radius: 8px;
            background: var(--white); color: var(--t2);
            font-size: 13px; font-weight: 700; font-family: inherit;
            cursor: pointer; white-space: nowrap;
            transition: background .15s, border-color .15s, color .15s;
        }
        .print-btn:hover { background: var(--acb); border-color: var(--ac); color: var(--ac); }
        .print-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
        .print-only { display: none; }

        /* ── Print / PDF layout ── */
        @media print {
            @page { margin: 18mm 16mm 20mm; }
            html, body {
                background: #fff !important; color: #111 !important;
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }
            /* Neutralize dark theme variables so printing is always light */
            html[data-theme="dark"] {
                --bg: #fff; --white: #fff; --b: #ccc; --s2: #f5f5f5;
                --t: #111; --t2: #333; --t3: #666;
                --ac: #0f766e; --acb: #f0fdfa; --acd: #99f6e4; --ac2: #0d5e57;
            }
            /* Hide all screen chrome */
            nav, #aside, .tabs, .crumb, .no-print, .print-btn,
            .dn-overlay, .tip-btn, .theme-btn, .quiz-btn, .nav-link,
            .qact, .tnav { display: none !important; }
            .wrap { display: block !important; margin: 0 !important; padding: 0 !important; max-width: 100% !important; }
            #main { display: block !important; margin: 0 !important; padding: 0 !important; max-width: 100% !important; width: 100% !important; }

            /* Brand header / footer */
            .print-only { display: block !important; }
            .print-header {
                text-align: center;
                border-bottom: 2px solid #0f766e;
                padding-bottom: 10px; margin-bottom: 22px;
            }
            .print-brand { font-size: 22px; font-weight: 800; color: #0f766e; letter-spacing: -.5px; }
            .print-brand span { color: #111; }
            .print-tagline { font-size: 11px; color: #555; margin-top: 2px; letter-spacing: .3px; }
            .print-footer {
                position: fixed; bottom: 0; left: 0; right: 0;
                text-align: center; font-size: 10px; color: #888;
                border-top: 1px solid #ddd; padding-top: 6px;
            }

            /* Unit heading */
            .uhd { margin-bottom: 18px; }
            .uhd .u-no { color: #0f766e !important; font-weight: 700; font-size: 12px; }
            .uhd h1 { font-size: 22px; color: #111 !important; margin: 4px 0; }
            .uhd .u-sub { color: #555 !important; font-size: 13px; }

            /* Content: force light, readable, avoid page-break splits */
            .sc, .sc-hd2, .expl, table.gt, .qi, .ex, .mistake, .result-box {
                background: #fff !important; color: #111 !important;
                box-shadow: none !important;
            }
            .sc { border: none !important; padding: 0 !important; margin-bottom: 14px !important; page-break-inside: avoid; }
            .sc-hd2 { color: #0f766e !important; font-size: 15px !important; font-weight: 700 !important; border-bottom: 1px solid #ccc; padding-bottom: 4px; }
            .expl, .expl p, .expl li { color: #222 !important; }
            table.gt { border: 1px solid #ccc !important; width: 100%; border-collapse: collapse; page-break-inside: avoid; }
            table.gt th { background: #f0fdfa !important; color: #0f766e !important; border: 1px solid #ccc !important; }
            table.gt td { border: 1px solid #ddd !important; color: #222 !important; }
            table.gt em, .expl em { color: #0f766e !important; font-style: italic; }
            table.gt strong, .expl strong { color: #111 !important; }
            /* Annotated example chips → readable on paper */
            .ex { border: 1px solid #ddd !important; page-break-inside: avoid; }
            .qi { page-break-inside: avoid; border-bottom: 1px solid #eee !important; }
            .qt { color: #111 !important; }
            .qo { border: 1px solid #ccc !important; color: #222 !important; background: #fff !important; }
            .qfb { background: #f7f7f7 !important; color: #333 !important; }
            /* In tests, reveal correct answers for an answer key feel */
            .qo.ok { border: 1.5px solid #15803d !important; background: #f0fdf4 !important; color: #15803d !important; }
            a[onclick] { color: #0f766e !important; text-decoration: none; }
        }

        a.side-item, a.ucard, a.lvl-c, a.logo { text-decoration: none; color: inherit; }
        a.side-item { display: flex; }
        a.ucard, a.lvl-c { display: block; }
        a.logo { display: flex; }
        .crumb a { text-decoration: none; }
        /* Phones: wide tables scroll inside their own box; hidden tooltips must not widen the page */
        @media (max-width: 780px) {
            main { min-width: 0; }
            table.gt { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
            table.gt th, table.gt td { padding: 7px 9px; }
            .ex { overflow-x: clip; }
        }
        .psg{background:var(--s2);border-left:3px solid var(--ac);border-radius:8px;padding:14px 18px;margin:0 0 18px;line-height:1.75;font-size:15px;color:var(--t)}.psg p{margin:0}
