 *{margin:0;padding:0;box-sizing:border-box}body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background-color:#f5f5f5;min-height:100vh;color:#333;min-width:300px}.switch{position:relative;display:inline-block;width:40px;height:22px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s}.slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background-color:white;transition:.4s}input:checked+.slider{background-color:#2196F3}input:focus+.slider{box-shadow:0 0 1px #2196F3}input:checked+.slider:before{transform:translateX(18px)}.slider.round{border-radius:22px}.slider.round:before{border-radius:50%}header{background:#5a4fcc;background:linear-gradient(135deg,#5a4fcc 0%,#6b3d9a 100%);color:#fff;padding:1rem 0;box-shadow:0 2px 10px rgba(0,0,0,.1);top:0;z-index:1000;width:100%;min-width:300px}.header-box{max-width:1400px;margin:0 auto;padding:0 40px;display:flex;justify-content:space-between;align-items:center}.logo-text{display:flex;align-items:center;font-size:1.8rem;font-weight:700;color:#fff;text-decoration:none;white-space:nowrap}.logo-text span{color:#fff}nav{display:block}nav ul{display:flex;list-style:none;gap:2rem;margin:0;padding:0}.nav-links{list-style:none;display:flex;gap:2rem;margin:0;padding:0}.nav-links li{margin:0}nav a{color:#fff;text-decoration:none;font-weight:500;padding:.5rem 1rem;min-height:44px;display:inline-flex;align-items:center;transition:color .3s ease;white-space:nowrap;font-size:1.05rem}nav a:hover{color:#ffd700}.hamburger{display:none;flex-direction:column;cursor:pointer;background:none;border:none;padding:.5rem;min-width:44px;min-height:44px}.bar{width:25px;height:3px;background-color:#fff;margin:4px 0;transition:transform .3s ease}main{max-width:1400px;margin:0 auto;padding:50px 40px;min-height:calc(100vh - 200px)}.post-container{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}.post-header{padding:50px 60px;background:#5a4fcc;background:linear-gradient(135deg,#5a4fcc 0%,#6b3d9a 100%);color:#fff}.post-title{font-size:2.8rem;font-weight:700;margin-bottom:25px;line-height:1.3;max-width:1100px;color:#fff}.post-meta{display:flex;flex-wrap:wrap;gap:30px;font-size:1.05rem;color:#fff}.meta-item{display:flex;align-items:center;gap:10px;color:#fff}.meta-icon{font-size:1.2rem}.post-content{padding:50px 60px;font-size:1.15rem;line-height:1.9;color:#333;overflow-wrap:break-word;word-wrap:break-word;max-width:1100px;margin:0 auto}.post-content h2{font-size:1.9rem;margin-top:40px;margin-bottom:20px;color:#5548b5;font-weight:600}.post-content h3{font-size:1.5rem;margin-top:30px;margin-bottom:15px;color:#6b3d9a;font-weight:600}.post-content p{margin-bottom:25px;text-align:justify}.post-content ul,.post-content ol{margin-bottom:25px;padding-left:30px}.post-content li{margin-bottom:12px}.post-content blockquote{border-left:5px solid #5548b5;padding:20px 30px;margin:30px 0;background:#f8f9ff;font-style:italic;color:#444;font-size:1.1rem}.post-content img{max-width:100%;height:auto;border-radius:10px;margin:30px 0}.post-content code{background:#f4f4f4;padding:3px 8px;border-radius:4px;font-family:'Courier New',monospace;font-size:.95em;color:#c7254e}.post-content pre{background:#2d2d2d;color:#f8f8f8;padding:20px;border-radius:10px;overflow-x:auto;margin:25px 0;font-size:.9rem;-webkit-overflow-scrolling:touch}.post-content pre code{background:none;color:#f8f8f8;padding:0}.mode-dropdown-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative}.mode-dropdown-container label{font-size:12px;font-weight:600;color:#555}.mode-select{padding:8px 15px;border:2px solid #ddd;background:white;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;outline:none;transition:border-color .3s ease,box-shadow .3s ease;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:16px;padding-right:35px;min-width:100px}.mode-select.easy{border-color:#0e7a6f;color:#0e7a6f;background-color:#e8f8f5}.mode-select.medium{border-color:#c24fb1;color:#a03897;background-color:#fef3ff}.mode-select.hard{border-color:#d64073;color:#b33358;background-color:#fff0f3}.mode-select:hover{box-shadow:0 2px 8px rgba(0,0,0,.15)}.mode-select:disabled{opacity:.5;cursor:not-allowed}.analytics-panel{display:none;background:white;border-radius:12px;padding:30px;margin:20px 0;box-shadow:0 4px 20px rgba(0,0,0,.1)}.analytics-header{text-align:center;margin-bottom:30px}.analytics-header h2{color:#222;margin-bottom:10px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-bottom:30px}.stat-card{background:#5a4fcc;background:linear-gradient(135deg,#5a4fcc 0%,#6b3d9a 100%);color:white;padding:20px;border-radius:10px;text-align:center}.stat-card.green{background:#0e7a6f;background:linear-gradient(135deg,#0e7a6f 0%,#2dbb6d 100%)}.stat-card.orange{background:#c24fb1;background:linear-gradient(135deg,#c24fb1 0%,#d04859 100%)}.stat-card.red{background:#d64073;background:linear-gradient(135deg,#d64073 0%,#e5b735 100%)}.stat-value{font-size:32px;font-weight:bold;margin:10px 0;color:#fff}.stat-label{font-size:14px;color:#fff}.chart-container{margin:30px 0;background:#f8f9fa;padding:20px;border-radius:10px}.chart-title{font-weight:600;margin-bottom:15px;color:#222}.chart-wrapper{position:relative;height:250px;max-height:250px;width:100%}#wpmChart{width:100%!important;height:250px!important;max-height:250px!important}.weakness-section{margin:30px 0}.weakness-card{background:#fff3cd;border-left:4px solid #f0ad00;padding:15px;margin:10px 0;border-radius:5px;color:#856404}.weakness-card.error{background:#f8d7da;border-left-color:#c00;color:#721c24}.weakness-card.slow{background:#d1ecf1;border-left-color:#0c7287;color:#0c5460}.key-analysis{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.key-badge{display:inline-block;padding:8px 15px;background:#e9ecef;border-radius:20px;font-weight:600;color:#333}.key-badge.error{background:#f8d7da;color:#721c24}.key-badge.slow{background:#d1ecf1;color:#0c5460}.submit-btn{background:#5a4fcc;background:linear-gradient(135deg,#5a4fcc 0%,#6b3d9a 100%);color:white;border:none;padding:12px 30px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;margin:20px auto;display:block;transition:transform .3s ease,box-shadow .3s ease}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px rgba(90,79,204,.4)}.submit-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.quote{overflow-y:auto}.quote-loading{min-height:200px;display:flex;align-items:center;justify-content:center;background:white;border-radius:10px;margin:20px 0;padding:40px}.start-overlay{text-align:center}.start-overlay h2{color:#222;margin-bottom:10px;font-size:24px}.start-overlay p{color:#555;margin-bottom:25px;font-size:16px}.start-test-btn{background:#5a4fcc;background:linear-gradient(135deg,#5a4fcc 0%,#6b3d9a 100%);color:white;border:none;padding:15px 40px;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease}.start-test-btn:hover{transform:translateY(-2px);box-shadow:0 5px 20px rgba(90,79,204,.4)}.start-test-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #f3f3f3;border-top:3px solid #5a4fcc;border-radius:50%;animation:spin 1s linear infinite;margin-right:10px;vertical-align:middle;will-change:transform}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.post-footer{padding:40px 60px;background:#f8f9fa;border-top:1px solid #e9ecef}.tags{display:flex;flex-wrap:wrap;gap:12px}.tag{background:#5a4fcc;color:#fff;padding:10px 18px;border-radius:25px;font-size:.95rem;text-decoration:none;transition:background .3s ease,transform .2s ease;min-height:40px;display:inline-flex;align-items:center}.tag:hover{background:#6b3d9a;transform:translateY(-2px)}.share-section{margin-top:35px;padding-top:35px;border-top:1px solid #e9ecef}.share-section h2{font-size:1.3rem;margin-bottom:20px;color:#222}.share-buttons{display:flex;gap:15px;flex-wrap:wrap}.share-btn{padding:12px 24px;border-radius:8px;text-decoration:none;color:#fff;font-weight:500;transition:transform .3s ease,box-shadow .3s ease;font-size:1rem;min-width:120px;min-height:48px;display:inline-flex;align-items:center;justify-content:center}.share-btn:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.2)}.share-twitter{background:#1a8bc3}.share-facebook{background:#0f65d9}.share-linkedin{background:#0a66c2}.share-whatsapp{background:#128c50}.container{background:#fff;width:100%;padding:2rem;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.1)}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;background:#eef2ff;padding:1rem;border-radius:10px;font-weight:600;text-align:center;margin-bottom:1.5rem}.stats div{padding:.5rem;border-radius:8px;transition:background .3s ease,color .3s ease}.stats span{font-size:1.4rem;color:#2563eb;display:block}.stats div.time-critical{background-color:#fee2e2;color:#991b1b;animation:pulse 1s ease-in-out infinite;will-change:transform}.stats div.time-critical span{color:#991b1b}@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}.quote{margin-bottom:1.5rem;padding:1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-size:1.15rem;line-height:1.6;user-select:none;white-space:pre-wrap;max-height:200px;overflow-y:auto;scrollbar-width:thin}.quote span{position:relative}.quote span.correct{color:#15803d}.quote span.incorrect{color:#dc2626;text-decoration:underline;background-color:#fee2e2}.quote span.insertion-error{color:#dc2626;text-decoration:underline;background-color:#fee2e2}.quote span.half-error{color:#d97706;text-decoration:underline;background-color:#fef3c7;border-bottom:2px dotted #d97706}.quote span.active{border-left:2px solid #2563eb;background-color:rgba(37,99,235,.1)}textarea{width:100%;height:120px;padding:1rem;font-size:1.1rem;border-radius:8px;border:2px solid #e5e7eb;resize:none;outline:none;box-sizing:border-box;font-family:inherit;color:#333}textarea:focus{border-color:#2563eb}textarea:disabled{background:#f3f4f6;cursor:not-allowed}.result-panel{display:none;margin-top:1.5rem;background:#ecfdf5;border:2px solid #15803d;border-radius:10px;padding:1.5rem;text-align:center;animation:slideDown .4s ease-out}.result-panel h2{margin:0 0 1.5rem 0;color:#065f46}.result-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem}.result-item{min-width:100px}.result-item span{display:block;font-size:2.2rem;font-weight:700;color:#15803d}.result-item label{font-size:.85rem;color:#065f46;text-transform:uppercase;letter-spacing:1px;font-weight:600}.result-item.mistake-box span{color:#dc2626}.result-item.net-box span{color:#1d4ed8;font-size:2.8rem}button{width:100%;margin-top:1rem;padding:.8rem;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-size:1rem;cursor:pointer;transition:background .2s ease}button:hover{background:#1e40af}.comparison-container{margin-top:30px;display:none}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:15px}.comparison-content{border:1px solid #ddd;padding:15px;max-height:400px;overflow-y:auto;background:#fff;line-height:1.6;border-radius:8px;white-space:pre-wrap;font-family:'Consolas','Monaco','Courier New',monospace;font-size:.95rem}.legend{margin-top:15px;font-size:.9rem;display:flex;gap:10px;flex-wrap:wrap}.legend span{padding:2px 5px;border-radius:4px}.legend-full-error{background:#ffcccc;color:#cc0000}.legend-half-error{color:#e6ac00;font-weight:bold;border-bottom:2px dotted #e6ac00}.legend-correct{color:#28a745}.legend-added{background:#e6f3ff;color:#0066cc}.legend-substituted{background:#ffe6e6;color:#cc0000;text-decoration:line-through}.legend-repeated{background:#fff4cc;color:#996600;text-decoration:underline}.hl-miss{background:#ffcccc;color:#cc0000}.hl-half{color:#e6ac00;font-weight:bold;border-bottom:2px dotted #e6ac00}.hl-correct{color:#28a745}.hl-add-bg{background:#e6f3ff;color:#0066cc}.hl-sub-bg{background:#ffe6e6;color:#cc0000;text-decoration:line-through}.hl-repeat{background:#fff4cc;color:#996600;text-decoration:underline}.related-posts-section{margin:3rem 0;padding:2rem 0}.related-title{text-align:center;font-size:1.8rem;margin-bottom:2rem;color:#1e293b}.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}.related-card{text-decoration:none;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:transform .3s ease,box-shadow .3s ease;display:block}.related-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,.15)}.related-img{position:relative;height:180px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#5a4fcc}.related-img::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.3) 100%);z-index:1}.overlay-text{position:relative;z-index:2;color:#fff;font-size:2rem;font-weight:700;text-align:center;text-shadow:2px 2px 8px rgba(0,0,0,.6);padding:1rem}.overlay-text .duration{display:block;font-size:3rem;line-height:1;margin-bottom:.3rem}.overlay-text .label{font-size:1.1rem;font-weight:500;text-transform:uppercase;letter-spacing:1px}.related-content{padding:1.2rem;background:#fff}.related-content h3{margin:0 0 .5rem 0;font-size:1.1rem;color:#1e293b}.related-date{font-size:.85rem;color:#64748b}.test-duration-row{margin:2rem 0;padding:1.5rem;background:#f8fafc;border-radius:12px}.test-duration-row h2{text-align:center;font-size:1.3rem;margin:0 0 1.2rem 0;color:#1e293b}.duration-row-grid{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.duration-card-compact{text-decoration:none;border-radius:10px;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.1);transition:transform .3s ease,box-shadow .3s ease;flex:0 1 auto;min-width:140px;max-width:200px}.duration-card-compact:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.15)}.duration-img-compact{position:relative;height:100px;display:flex;align-items:center;justify-content:center;background:#5a4fcc}.duration-img-compact::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.2) 100%);z-index:1}.duration-overlay-compact{position:relative;z-index:2;color:#fff;text-align:center;text-shadow:1px 1px 6px rgba(0,0,0,.6)}.duration-overlay-compact .time{display:block;font-size:2.5rem;font-weight:700;line-height:1}.duration-overlay-compact .unit{font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.duration-info-compact{padding:.8rem 1rem;background:#fff;text-align:center}.duration-info-compact p{margin:0;font-size:.95rem;color:#1e293b;font-weight:600}footer{background-color:#1b1b1b;color:#fff;padding:30px 40px;text-align:center;min-width:300px;margin-top:60px}.footer-menu{display:flex;justify-content:center;flex-wrap:wrap;margin-bottom:15px;gap:10px}.footer-menu a{color:#fff;text-decoration:none;padding:10px 20px;margin:5px;font-size:1rem}footer h2{font-size:1.5rem;color:#ffd700;margin-bottom:20px;text-transform:uppercase}@media (max-width:1023px){.header-box{padding:0 25px}main{padding:35px 25px}.post-title{font-size:2.2rem}.post-header,.post-content,.post-footer{padding:35px 30px}.post-content{font-size:1.05rem}.related-grid{grid-template-columns:repeat(2,1fr);gap:25px}}@media (max-width:900px){.header-box{flex-wrap:wrap}nav{width:100%;order:3}.nav-links{flex-direction:column;width:100%;max-height:0;overflow:hidden;gap:0;transition:max-height .3s ease}.nav-links.active{max-height:400px}.nav-links li{text-align:center;margin:10px 0}.hamburger{display:flex;order:2}.logo-text{order:1}}@media (max-width:768px){main{padding:25px 15px}.post-title{font-size:1.8rem}.post-header,.post-content,.post-footer{padding:25px 20px}.post-content{font-size:1rem}.post-content h2{font-size:1.5rem}.post-content h3{font-size:1.3rem}.related-grid{grid-template-columns:1fr;gap:1rem}.overlay-text .duration{font-size:2.5rem}.share-btn{min-width:100px;font-size:.9rem;padding:10px 18px}.comparison-grid{grid-template-columns:1fr}}@media (max-width:600px){.stats{grid-template-columns:repeat(3,1fr)}.stats div:nth-child(4),.stats div:nth-child(5){grid-column:auto}.container{padding:1rem}.result-item span{font-size:1.8rem}.duration-row-grid{overflow-x:auto;justify-content:flex-start;flex-wrap:nowrap;padding-bottom:.5rem}.duration-card-compact{min-width:130px;flex-shrink:0}.duration-overlay-compact .time{font-size:2rem}nav a{padding:.75rem}}@media (max-width:479px){.header-box{padding:0 15px}.logo-text{font-size:1.4rem}main{padding:20px 10px}.post-title{font-size:1.5rem;line-height:1.2}.post-header,.post-content,.post-footer{padding:20px 15px}.post-content{font-size:.95rem}.post-content h2{font-size:1.3rem}.post-content h3{font-size:1.15rem}.post-content ul,.post-content ol{padding-left:20px}.share-btn{flex:1 1 calc(50% - 8px);min-width:auto;font-size:.85rem;padding:10px 12px}.related-grid{gap:15px}.stats{grid-template-columns:repeat(2,1fr);gap:.5rem}.stats div{padding:.3rem}}table{width:100%;max-width:900px;margin:40px auto;border-collapse:collapse;font-family:Arial,sans-serif;background:#ffffff;box-shadow:0 4px 12px rgba(0,0,0,.08);border-radius:8px;overflow:hidden}thead{background:#322bb5;color:#ffffff}thead td{font-weight:bold;padding:16px;text-align:center}tbody td{padding:14px;text-align:center;border-bottom:1px solid #eee}tbody td:first-child{font-weight:600;text-align:left;color:#4f46e5}tbody tr:nth-child(even){background:#f9f9ff}tbody tr:hover{background:#eef2ff;transition:.3s ease}@media (max-width:768px){table,thead,tbody,tr,td{display:block;width:100%}thead{display:none}tbody tr{margin-bottom:20px;background:#ffffff;border-radius:8px;padding:10px;box-shadow:0 2px 8px rgba(0,0,0,.05)}tbody td{text-align:right;padding:10px 12px;position:relative;border:none;border-bottom:1px solid #f0f0f0}tbody td:last-child{border-bottom:none}tbody td:nth-of-type(1)::before{content:"Level"}tbody td:nth-of-type(2)::before{content:"WPM (Easy)"}tbody td:nth-of-type(3)::before{content:"WPM (Medium)"}tbody td:nth-of-type(4)::before{content:"WPM (Hard)"}tbody td::before{position:absolute;left:12px;font-weight:bold;text-align:left;color:#4f46e5}}.image-container{max-width:100%;margin:0 auto}.responsive-img{display:block;width:100%;height:auto}