*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;background-color:#fff;color:#eee;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.app{min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding-top:40px}.container{width:min(1100px,95vw);text-align:center;color:#6ac1dc;font-style:italic}.title{margin-bottom:40px}.typing-box{padding:0;border:none;border-radius:8px;min-height:220px;display:flex;flex-direction:column;flex-wrap:wrap;gap:2px;justify-content:center;will-change:transform}.typing-box span{font-size:26px;white-space:pre;color:#777}.hidden-input{position:absolute;opacity:0;pointer-events:none}.line{line-height:1.4;white-space:nowrap;width:fit-content;margin:0 auto}.line{transition:transform .18s ease-out,opacity .18s ease-out}.line-prev{opacity:.35}.line-active{opacity:1;transform:scale(1.02)}.line-next{opacity:.35}.typing-box{transition:opacity .4s ease,filter .4s ease}.typing-finished{opacity:.35;filter:blur(2px)}.results-visible{font-weight:500}.controls button{margin-top:20px;padding:8px 18px;font-size:16px;cursor:pointer;background-color:#fff;color:#42bae6;border:none;border-radius:999px}.controls button:hover{background-color:#42bae6;color:#fff}.perfect-result{color:#42bae6;font-weight:700;font-size:1.2em}.stats{margin-top:24px;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#000}.stats-row{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:16px;font-weight:600}.perfect-badge{align-self:center;padding:6px 12px;border-radius:999px;border:1px solid rgba(82,165,220,.788);background-color:#6dd8ff40;color:#42bae6;font-size:12px;font-weight:500;letter-spacing:.03em}.controls button.is-active{background-color:#42bae6;color:#fff}.history-panel{margin:24px auto 0;padding:14px 16px;max-width:820px;width:100%;border:1px solid rgba(66,186,230,.2);border-radius:18px;text-align:left;color:#12343c}.history-panel h2{margin:0 0 10px;color:#109cb1}.history-panel p{margin:6px 0;font-style:normal}.history-list{list-style:none;margin:18px 0 0;padding:0 6px 0 0;display:flex;flex-direction:column;gap:10px;max-height:170px;overflow-y:auto}.history-item{display:grid;grid-template-columns:1.2fr repeat(4,auto);gap:8px;align-items:center;padding:8px 10px;border-radius:12px;background-color:#109cb114;font-style:normal;color:#1d1f1f}.history-mode{font-weight:700;color:#109cb1}@media(max-width:720px){.history-item{grid-template-columns:repeat(2,minmax(0,1fr))}.history-panel{padding:18px}}.history-empty{margin:16px 0 0;font-style:normal;color:#5f7c84}.history-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.history-stat-card{padding:10px 12px;border-radius:14px;background-color:#109bb124;display:flex;flex-direction:column;gap:4px}.history-stat-label{font-size:12px;color:#5f7c84;font-style:normal}.history-stat-value{font-size:16px;color:#12343c;font-style:normal}@media(max-width:720px){.history-stats{grid-template-columns:1fr}}.history-hidden{visibility:hidden}.test-timer{margin:8px auto auto 4px;text-align:center;font-size:16px;line-height:1.2;font-style:normal;font-weight:600;color:#000}.feedback-panel{position:fixed;right:20px;top:20px;width:min(340px,calc(100vw - 32px));padding:14px 16px;border:1px solid rgba(66,186,230,.2);border-radius:18px;background-color:#fffffff5;text-align:left;color:#12343c;box-shadow:0 18px 40px #109cb11f;z-index:20}.feedback-panel h2{margin:0 0 10px;color:#109cb1}.feedback-copy{margin:0 0 14px;font-style:normal;color:#5f7c84}.feedback-form label{display:flex;flex-direction:column;gap:6px;font-style:normal}.feedback-form select,.feedback-form textarea,.feedback-form input{padding:10px 12px;border:1px solid rgba(16,156,177,.02);border-radius:12px;font-size:14px;font-family:inherit}.feedback-form textarea{resize:vertical;min-height:120px}.feedback-success,.feedback-error{margin:0;font-style:normal}.feedback-success{color:#1f7a4d}.feedback-error{color:#c03636}.feedback-sending{margin:0;font-style:normal;color:#109cb1}.quote-meta{margin:12px auto 0;text-align:center;font-style:normal;color:#5f7c84}.quote-meta p{margin:4px 0}
