:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.performance-container{max-width:1200px;margin:0 auto;padding:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;color:#333;background-color:#f8f9fa}.performance-nav{display:flex;gap:20px;margin-bottom:20px;flex-wrap:wrap}.performance-nav button{padding:10px 15px;background:#2c73a7;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background .3s,transform .1s;font-weight:500}.performance-nav button:hover{background:#205a85;transform:translateY(-1px)}.performance-nav button:active{transform:translateY(0)}.performance-nav button.active{background:#1a3c58;box-shadow:0 2px 5px #0000001a}.performance-section{border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin-bottom:30px;box-shadow:0 2px 10px #0000000d;background:#fff}.performance-section h2{margin-top:0;color:#2d3748;display:flex;align-items:center;gap:8px;font-size:1.6em}.performance-section h3{color:#2d3748;font-size:1.3em;margin-top:1.5em;margin-bottom:.8em}.performance-section h2:before{content:"";display:block;width:4px;height:24px;background:#3182ce;border-radius:2px}.problem-statement{background-color:#fff3e0;border-left:4px solid #e65100;padding:15px;margin-bottom:20px;border-radius:4px;color:#333}.solution-description{background-color:#e8f5e9;border-left:4px solid #2e7d32;padding:15px;margin:20px 0;border-radius:4px;color:#333}.example-container{margin-top:20px;padding:15px;border:1px solid #e2e8f0;border-radius:8px;background-color:#fff}.note{background-color:#e3f2fd;border-left:3px solid #1976d2;padding:10px 15px;margin:10px 0;font-size:14px;border-radius:4px;color:#0d47a1}.warning-box{background-color:#ffebee;border-left:3px solid #c62828;padding:10px 15px;margin:10px 0;font-size:14px;border-radius:4px;color:#b71c1c}.summary-box{background-color:#e8eaf6;border-left:3px solid #3f51b5;padding:15px;margin:25px 0 10px;border-radius:4px;color:#283593}.list-container{border:1px solid #ccc;border-radius:4px;height:400px;margin:20px 0;overflow:auto;background-color:#fff}.list-item{display:flex;align-items:center;padding:10px;border-bottom:1px solid #eee;color:#333}.list-item:last-child{border-bottom:none}.list-item.even{background-color:#f5f7fa}.render-counter{display:inline-block;padding:2px 8px;border-radius:12px;background:#d32f2f;color:#fff;font-size:12px;margin-left:10px;font-weight:700;animation:pulse 1s}.render-counter.excessive{background:#b71c1c;animation:shake .5s}.render-counter-container{display:flex;align-items:center;gap:8px;margin:10px 0;padding:5px 10px;border-radius:20px;background:#eef2f7;width:fit-content}.render-counter-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#2c73a7;color:#fff;font-weight:700;font-size:14px}.render-counter-badge.excessive{background:#c62828;animation:pulse 1s infinite}.render-counter-details{display:flex;flex-direction:column}.render-counter-name{font-size:12px;color:#455a64;font-weight:600}.render-counter-text{font-size:14px;color:#263238;font-weight:500}.excessive-warning{color:#c62828;font-size:12px;margin-left:5px;font-weight:700}.expensive-box{padding:20px;border:1px solid #ddd;border-radius:8px;margin:15px 0;background-color:#fff;box-shadow:0 2px 5px #0000000d}.loading-container{display:flex;justify-content:center;align-items:center;height:200px;border:1px dashed #aaa;border-radius:4px;background-color:#f0f2f5}.tab-panel{width:100%;margin:20px 0}.tab-panel-header{display:flex;border-bottom:1px solid #ccc;margin-bottom:15px}.tab-button{padding:10px 15px;border:none;background:none;cursor:pointer;margin-right:10px;transition:all .2s;color:#455a64;font-weight:500;border-bottom:2px solid transparent}.tab-button:hover{color:#1565c0}.tab-button.active{color:#0d47a1;border-bottom:2px solid #0d47a1}.tab-icon{margin-right:6px;display:inline-flex}.tab-panel-content{padding:10px 0}.code-block{margin:20px 0;border-radius:8px;overflow:hidden;border:1px solid #ccc}.code-block-title{display:flex;justify-content:space-between;padding:10px 15px;background:#e0e0e0;border-bottom:1px solid #ccc;font-weight:500;color:#333}.code-language{padding:2px 6px;background:#bdbdbd;border-radius:4px;font-size:12px;color:#333}.code-block-content{position:relative;background:#f5f5f5;overflow-x:auto}.copy-button{position:absolute;top:10px;right:10px;padding:5px 10px;background:#e0e0e0;border:none;border-radius:4px;cursor:pointer;font-size:12px;transition:all .2s;z-index:10;color:#333}.copy-button:hover{background:#bdbdbd}.copy-button.copied{background:#2e7d32;color:#fff}.code-table{width:100%;border-collapse:collapse;font-family:Fira Code,Consolas,monospace;font-size:14px}.line-number{padding:0 10px;text-align:right;color:#616161;-webkit-user-select:none;user-select:none;border-right:1px solid #ccc;background:#e8e8e8;width:1%;white-space:nowrap}.line-content{padding:0 10px;white-space:pre;color:#333}tr.highlighted-line{background-color:#ffc10733}tr.highlighted-line .line-content{font-weight:700;color:#000}.performance-metrics{background:#eef2f7;border-radius:8px;padding:15px;margin:20px 0;border:1px solid #cfd8dc}.metrics-title{margin-top:0;margin-bottom:15px;color:#1a3c58;font-size:16px;font-weight:600}.metrics-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}.metric-item{padding:12px;border-radius:6px;background:#fff;box-shadow:0 1px 3px #0000001a}.metric-label{font-size:13px;color:#455a64;margin-bottom:5px;font-weight:500}.metric-value{font-size:18px;font-weight:700;display:flex;align-items:baseline;justify-content:space-between}.improvement{font-size:12px;padding:2px 5px;border-radius:4px;margin-left:8px;font-weight:700}.improvement.increase{background:#bbdefb;color:#0d47a1}.improvement.reduction{background:#c8e6c9;color:#1b5e20}.comparison-mode .metrics-container{grid-template-columns:1fr 1fr}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes shake{0%{transform:translate(0)}20%{transform:translate(-5px)}40%{transform:translate(5px)}60%{transform:translate(-3px)}80%{transform:translate(3px)}to{transform:translate(0)}}.guidelines-section{background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:15px;margin:20px 0}.guidelines-section h4{color:#1a3c58;margin-top:0;margin-bottom:10px;font-size:16px}.guidelines-section ul,.guidelines-section ol{padding-left:20px;margin:10px 0}.guidelines-section li{margin-bottom:8px;color:#333}code{background:#f0f0f0;padding:2px 4px;border-radius:3px;font-family:Fira Code,Consolas,monospace;color:#b71c1c;font-size:.9em}@media (max-width: 768px){.metrics-container,.comparison-mode .metrics-container{grid-template-columns:1fr}.performance-nav{gap:10px}.performance-nav button{padding:8px 12px;font-size:14px}}.performance-content{width:100%;color:#333}.console-legend{background-color:#fff;padding:20px;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 8px #0000000d;border-left:4px solid #3182ce}.console-legend h3{margin-top:0;color:#2c5282}.console-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.console-buttons button{padding:8px 15px;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:all .2s ease}.console-buttons button:first-child{background-color:#3498db;color:#fff}.console-buttons button:nth-child(2){background-color:#2ecc71;color:#fff}.console-buttons button:nth-child(3){background-color:#f39c12;color:#fff}.console-buttons button:nth-child(4){background-color:#9b59b6;color:#fff}.console-buttons button:hover{filter:brightness(90%);transform:translateY(-1px)}.console-buttons button:active{transform:translateY(0)}.introduction-content{color:#2d3748}.introduction-content p{line-height:1.6;margin-bottom:1.5rem;font-size:1.05rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem;margin:2rem 0}.feature-card{background-color:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 10px #0000000d;transition:transform .2s ease,box-shadow .2s ease;border-top:3px solid #3182ce}.feature-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px #00000014}.feature-card h4{margin-top:0;margin-bottom:.75rem;color:#2d3748;font-size:1.2rem}.feature-card p{margin:0;color:#4a5568}.topics-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin:1.5rem 0}.topic-item{background-color:#edf2f7;border-radius:6px;padding:.75rem 1rem;font-weight:500;color:#2d3748;text-align:center;transition:all .2s}.topic-item:hover{background-color:#e2e8f0;transform:scale(1.05)}.get-started{background-color:#ebf8ff;border-radius:8px;padding:1.5rem;margin-top:2rem;text-align:center;border-left:4px solid #3182ce}.get-started h3{margin-top:0;color:#2c5282}.get-started p{margin-bottom:0}@media (max-width: 768px){.features-grid{grid-template-columns:1fr}.topics-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.layout{display:flex;flex-direction:column;min-height:100vh;background-color:#f8f9fa}.header{display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem;height:60px;background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;box-shadow:0 2px 4px #0000001a;position:fixed;top:0;left:0;right:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.header h1{margin:0;font-size:1.5rem;font-weight:600;color:#fff}.header-right{display:flex;align-items:center;gap:1rem}.header-right a{color:#fff;text-decoration:none;font-weight:500;display:inline-flex;align-items:center;padding:.5rem 1rem;border-radius:4px;background-color:#ffffff1a;transition:background-color .2s}.header-right a:hover{background-color:#fff3}.header-right a.social-link{color:#fff;text-decoration:none;font-weight:500;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background-color:#ffffff1a;transition:all .2s}.header-right a.social-link:hover{background-color:#fff3;transform:scale(1.1)}.twitter-icon{color:#fff}.sidebar-toggle{background:none;border:none;color:#fff;font-size:1.25rem;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:transform .2s}.sidebar-toggle:hover{transform:scale(1.1)}.feedback-button{background-color:#fff3;color:#fff;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.9rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s}.feedback-button:hover{background-color:#ffffff4d}.content-wrapper{display:flex;flex:1;margin-top:60px}.sidebar{width:240px;background-color:#fff;box-shadow:2px 0 4px #0000000d;transition:width .3s ease,transform .3s ease;z-index:50}.sidebar.collapsed{width:0;transform:translate(-100%)}.sidebar nav{padding:1rem 0}.sidebar ul{list-style:none;padding:0;margin:0}.sidebar li{margin:0}.sidebar button{display:flex;align-items:center;width:100%;padding:.75rem 1.5rem;background:none;border:none;text-align:left;font-size:.95rem;color:#4a5568;cursor:pointer;transition:background-color .2s,color .2s;position:relative;overflow:hidden}.sidebar button:hover{background-color:#f7fafc;color:#3182ce}.sidebar button.active{background-color:#ebf8ff;color:#3182ce;font-weight:600;border-left:3px solid #3182ce}.sidebar button.active:before{content:"";position:absolute;left:0;top:0;height:100%;width:3px;background-color:#3182ce}.main-content{flex:1;padding:2rem;overflow-y:auto}.footer{background-color:#2d3748;color:#e2e8f0}.footer-container{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 1rem}.footer-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;border-bottom:1px solid #4a5568;padding-bottom:2rem;margin-bottom:1rem}.footer-about h3{color:#fff;margin-top:0;margin-bottom:.75rem;font-size:1.25rem}.footer-about p{color:#a0aec0;font-size:.9rem;line-height:1.5;max-width:400px}.footer-bottom{text-align:center;font-size:.875rem;color:#a0aec0}.footer-bottom p{margin:.5rem 0}@media (max-width: 768px){.header h1{font-size:1.25rem}.feedback-button span{display:none}.sidebar{position:fixed;height:calc(100vh - 60px);top:60px;left:0}.sidebar.collapsed{transform:translate(-240px)}.main-content{width:100%}.footer-content{grid-template-columns:1fr;gap:1.5rem}}@media (max-width: 480px){.header-right{gap:.5rem}.footer-container{padding:1.5rem 1rem .75rem}}.feedback-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease-out}.feedback-dialog{background-color:#fff;border-radius:8px;box-shadow:0 10px 30px #0003;padding:2rem;width:90%;max-width:500px;position:relative;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.feedback-dialog h2{margin-top:0;color:#2d3748;font-size:1.5rem}.feedback-dialog p{color:#4a5568;margin-bottom:1.5rem}.feedback-close-btn{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#718096;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.feedback-close-btn:hover{background-color:#f7fafc;color:#2d3748}.feedback-form-group{margin-bottom:1rem}.feedback-form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#4a5568}.feedback-form-group input,.feedback-form-group textarea{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .2s}.feedback-form-group input:focus,.feedback-form-group textarea:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e126}.feedback-submit-btn{background-color:#3182ce;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s;width:100%;margin-top:1rem}.feedback-submit-btn:hover{background-color:#2b6cb0}.feedback-submit-btn:disabled{background-color:#a0aec0;cursor:not-allowed}.feedback-error{background-color:#fed7d7;color:#c53030;padding:.75rem;border-radius:4px;margin-bottom:1rem;font-size:.875rem}.feedback-success{background-color:#c6f6d5;color:#2f855a;padding:1rem;border-radius:4px;text-align:center;animation:fadeIn .5s}.feedback-button{background-color:#4299e1;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;font-weight:500;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;gap:.5rem}.feedback-button:hover{background-color:#3182ce}.feedback-button svg{width:16px;height:16px}.subscribe-container{background-color:#1a202c;border-radius:6px;padding:1.5rem;margin:1rem 0;max-width:500px}.subscribe-container h3{color:#f7fafc;margin-top:0;font-size:1.2rem;margin-bottom:.5rem}.subscribe-container p{color:#cbd5e0;font-size:.9rem;margin-bottom:1rem}.subscribe-form-group{display:flex;gap:.5rem}.subscribe-form-group input{flex:1;padding:.75rem;border:2px solid #2d3748;background-color:#2d3748;border-radius:4px;color:#fff;font-size:.875rem;transition:all .2s}.subscribe-form-group input::placeholder{color:#a0aec0}.subscribe-form-group input:focus{outline:none;border-color:#4299e1;background-color:#2d3748}.subscribe-btn{background-color:#4299e1;color:#fff;border:none;padding:.75rem 1.25rem;border-radius:4px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s;white-space:nowrap}.subscribe-btn:hover{background-color:#3182ce}.subscribe-btn:disabled{background-color:#718096;cursor:not-allowed}.subscribe-error{background-color:#fed7d71a;color:#fc8181;padding:.5rem .75rem;border-radius:4px;margin-bottom:1rem;font-size:.875rem;border:1px solid #fc8181}.subscribe-success{background-color:#c6f6d51a;color:#68d391;padding:1rem;border-radius:4px;text-align:center;animation:fadeIn .5s;border:1px solid #68d391}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width: 480px){.subscribe-form-group{flex-direction:column}.subscribe-btn{width:100%}}
