.tx-overlay [hidden],.tk[hidden],.tb[hidden],.tk-caps[hidden]{display:none!important}.tx-overlay{z-index:18;box-sizing:border-box;padding:calc(max(12px, env(safe-area-inset-top)) + 44px) 12px max(12px, env(safe-area-inset-bottom));color:#f2f4ff;background:#0b1d3af0;justify-content:center;align-items:safe center;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex;position:fixed;inset:0;overflow-y:auto}.tx-card{box-sizing:border-box;text-align:center;background:#13294f;border-radius:24px;flex-direction:column;align-items:center;gap:12px;width:min(900px,100%);max-height:100%;padding:18px;display:flex;overflow-y:auto;box-shadow:0 12px 40px #0006}.tx-card h1,.tx-card h2,.tx-card p{margin:0}.tx-btn{color:#1b2340;touch-action:manipulation;background:#ffd23f;border:0;border-radius:14px;min-width:48px;min-height:48px;padding:0 20px;font:800 18px system-ui,sans-serif}@keyframes tx-pulse{0%{opacity:.65;transform:scale(.97)}to{opacity:1;transform:scale(1.03)}}.tk{width:100%;transition:opacity .4s;position:relative}.tk-svg{width:100%;height:auto;display:block}.tk-faint{opacity:.25}.tk-caps{color:#422006;white-space:nowrap;background:#facc15;border-radius:999px;padding:4px 14px;font:800 15px system-ui,sans-serif;position:absolute;top:-34px;left:50%;transform:translate(-50%)}@keyframes tk-pulse{0%{transform:scale(1)}to{transform:scale(1.14)}}.tk-pulse{transform-box:fill-box;transform-origin:50%;animation:.6s ease-in-out infinite alternate tk-pulse}.tb{box-sizing:border-box;justify-content:center;width:100%;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:48px;line-height:1.25;display:flex;overflow:hidden}@media (width<=640px){.tb{font-size:30px}}@media (height<=460px){.tb{font-size:28px}}.tb-row{white-space:nowrap;transform-origin:50%;gap:.1em;padding:4px;display:inline-flex}.tb-key{color:#fff;text-align:center;border-radius:.16em;min-width:.7em;padding:0 .06em;font-weight:700;display:inline-block}.tb-space{color:#94a3b8;min-width:.55em;font-size:.8em;line-height:1.55}.tb-done{color:#22c55e}.tb-now{color:#1e293b;text-underline-offset:.1em;background:#fde047;text-decoration:underline;text-decoration-thickness:.07em}@keyframes tb-shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}.tb-wrong{color:#fff;background:#ef4444;animation:.25s tb-shake}.tl-title{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;display:flex}.tl-new{font-size:clamp(24px,5vw,34px);font-weight:800}.tl-caps{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tl-cap{box-sizing:border-box;color:#e2e8f0;background:#1e293b;border-bottom:5px solid #0f172a;border-radius:14px;place-items:center;min-width:64px;height:64px;padding:0 8px;font:800 34px ui-monospace,Menlo,Consolas,monospace;display:grid}.tl-cap-now{color:#0f172a}.tl-caption{justify-content:center;align-items:center;min-height:2.6em;font-size:22px;line-height:1.3;display:flex}.tl-block{flex:none}.tl-kb{flex:none;width:min(92vw,860px,258vh - 645px);min-width:280px;max-width:100%}.tl-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.tl-skip{color:#fff;background:#2b3a63}.tl-ready{font-size:clamp(28px,6vw,44px)}.tl-done,.tl-mult{flex-direction:column;align-items:center;gap:14px;display:flex}.tl-mult{flex-flow:wrap;justify-content:center}.tl-badge{color:#facc15;background:#713f12;border-radius:999px;padding:6px 18px;font-size:30px;font-weight:800}.tl-mult-line{color:#facc15;font-size:clamp(18px,3.4vw,24px);font-weight:700}.tl-space{color:#fde047;font-size:clamp(20px,4vw,28px);font-weight:800;animation:.9s ease-in-out infinite alternate tx-pulse}.tl-speed{font-size:clamp(28px,6vw,44px)}@media (height<=460px){.tx-overlay{padding-top:8px;padding-bottom:8px}.tx-card{gap:6px;padding:10px 14px}.tl-cap{min-width:44px;height:44px;font-size:24px}.tl-caption{min-height:2.4em;font-size:17px}.tl-kb{width:min(92vw,860px,258vh - 490.2px)}.tl-has-block .tl-caption{min-height:0}.tl-has-block .tl-kb{width:min(92vw,860px,258vh - 632.1px)}}.tp-header{font-size:clamp(22px,4.5vw,32px)}.tp-headline{color:#facc15;font-size:clamp(16px,3.4vw,22px);font-weight:800}.tp-grid{box-sizing:border-box;flex:auto;grid-template-columns:repeat(4,minmax(64px,1fr));gap:8px;width:100%;min-height:120px;padding:4px;display:grid;overflow-y:auto}@media (width>=700px){.tp-grid{grid-template-columns:repeat(6,minmax(64px,1fr))}}@media (width>=1000px){.tp-grid{grid-template-columns:repeat(8,minmax(64px,1fr))}}.tp-chip{box-sizing:border-box;color:#94a3b8;touch-action:manipulation;background:#1f2937;border:3px solid #374151;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-width:64px;min-height:72px;padding:4px;font-family:inherit;display:flex}.tp-passed{color:#e2e8f0;background:#14532d;border-color:#22c55e}.tp-open{color:#f8fafc;background:#1e293b;border-color:#facc15}.tp-sel{outline-offset:2px;outline:3px solid #fff}.tp-top{align-items:baseline;gap:5px;display:flex}.tp-n{font-size:20px;font-weight:800}.tp-mark{font-size:12px;font-weight:800}.tp-open .tp-mark{color:#facc15}.tp-passed .tp-mark{color:#4ade80}.tp-t{white-space:nowrap;max-width:100%;font:700 14px ui-monospace,Menlo,Consolas,monospace;overflow:hidden}.tp-x{color:#facc15;font-size:13px;font-weight:800}.tp-actions{justify-content:center;display:flex}.tp-lesson{color:#fff;background:#2b3a63}.tp-space{color:#fde047;font-size:clamp(18px,3.6vw,26px);font-weight:800;animation:.9s ease-in-out infinite alternate tx-pulse}.tp-ask{z-index:1;background:#0009;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:0}.tp-ask-box{background:#1a2f5a;width:min(440px,100%)}.tp-ask-text{font-size:20px;font-weight:700;line-height:1.35}.tp-ask-row{gap:12px;display:flex}.tp-cancel{color:#fff;background:#2b3a63}@media (height<=460px){.tp-header{font-size:20px}.tp-headline{font-size:15px}.tp-chip{min-height:64px}.tp-n{font-size:17px}}.tt-title{font-size:clamp(22px,4.5vw,32px)}.tt-sub{color:#9fb3d9;font-size:18px}.tt-kb{width:min(94vw,620px,300vh - 840px);min-width:240px;max-width:100%}.tt-result{font-size:28px;font-weight:800}.tt-pass{color:#22c55e}.tt-fail{color:#fca5a5}.tt-actions{gap:12px;display:flex}
