.navigation{background:#0ea5e9;box-shadow:none;position:sticky;top:0;z-index:1000;border-bottom:1px solid rgba(0,0,0,.1)}.nav-container{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:70px}.nav-brand{display:flex;align-items:center;gap:1rem;color:#fff}.brand-icon{font-size:1.5rem;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fff3;border-radius:4px}.brand-text h1{font-size:1.25rem;font-weight:700;margin:0;line-height:1.2}.brand-subtitle{font-size:.85rem;opacity:.9;display:block;margin-top:2px}.nav-menu{display:flex;list-style:none;margin:0;padding:0;gap:.5rem}.nav-link{display:flex;align-items:center;gap:.4rem;padding:.5rem .75rem;color:#fff;text-decoration:none;border-radius:4px;transition:all .2s;font-size:.9rem;font-weight:500;background:#ffffff1a}.nav-link:hover{background:#fff3}.nav-link.active{background:#ffffff4d}.nav-actions{display:flex;gap:1rem}.github-link{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:0 .75rem;height:32px;color:#0f172a;background:#f8fafc;border-radius:4px;font-weight:600;font-size:.9rem;text-decoration:none;border:1px solid rgba(255,255,255,.9);transition:all .2s}.github-link:hover{background:#fff}.github-link span{letter-spacing:.3px}@media (max-width: 1024px){.nav-container{padding:0 1rem}.nav-menu{gap:.25rem}.nav-link{padding:.5rem .75rem;font-size:.9rem}.nav-link span{display:none}.brand-text h1{font-size:1rem}.brand-subtitle{display:none}}@media (max-width: 768px){.nav-container{height:60px}.brand-icon{width:40px;height:40px;font-size:1.5rem}.nav-link{width:40px;height:40px;padding:0;justify-content:center}}.github-corner{position:fixed;top:0;right:0;width:64px;height:64px;color:#0f172a;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:0 0 0 100%;box-shadow:-2px -2px 8px #0000001a;z-index:9999;display:flex;align-items:flex-start;justify-content:flex-end;padding:8px 8px 0 0;transition:all .2s ease;text-decoration:none}.github-corner:hover{background:linear-gradient(135deg,#fff,#f1f5f9);box-shadow:-3px -3px 12px #00000026}.github-corner svg{width:20px;height:20px}.github-corner:hover svg{transform:scale(1.1)}.tutorial-sidebar{width:280px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;height:calc(100vh - 70px);position:sticky;top:70px;overflow-y:auto}.sidebar-header{padding:1.5rem 1.5rem 1rem;border-bottom:2px solid #e2e8f0}.sidebar-header h2{font-size:1.25rem;font-weight:700;color:#1a202c;margin:0}.sidebar-nav{display:flex;flex-direction:column;padding:.5rem 0}.sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;color:#4a5568;text-decoration:none;transition:all .2s;border-left:3px solid transparent;position:relative;font-size:.9rem}.sidebar-link:hover{background:#f7fafc;color:#0ea5e9}.sidebar-link.active{background:#e0f2fe;color:#0284c7;border-left-color:#0ea5e9;font-weight:600}.chapter-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#e2e8f0;font-size:.85rem;font-weight:700;color:#64748b;flex-shrink:0}.sidebar-link.active .chapter-number{background:#0ea5e9;color:#fff}.sidebar-nav .chapter-title{flex:1;font-size:.9rem!important}.tutorial-sidebar::-webkit-scrollbar{width:6px}.tutorial-sidebar::-webkit-scrollbar-track{background:#f1f5f9}.tutorial-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.tutorial-sidebar::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 1024px){.tutorial-sidebar{width:240px}.sidebar-link{padding:.75rem 1rem}.sidebar-nav .chapter-title{font-size:.9rem!important}}@media (max-width: 768px){.tutorial-sidebar{position:fixed;left:-280px;z-index:100;transition:left .3s}.tutorial-sidebar.open{left:0}}.tutorial-layout{display:flex;min-height:calc(100vh - 70px);background:#f8fafc}.tutorial-content-wrapper{flex:1;overflow-y:auto}.tutorial-content{max-width:900px;margin:0 auto;padding:2rem}@media (max-width: 1200px){.tutorial-content{max-width:100%;padding:1.5rem}}@media (max-width: 768px){.tutorial-content{padding:1rem}}.source-sidebar{width:300px;background:linear-gradient(180deg,#1e293b,#0f172a);padding:2rem 0;overflow-y:auto;box-shadow:4px 0 12px #00000026;position:sticky;top:0;height:calc(100vh - 70px)}.sidebar-header{padding:0 1.5rem 2rem;border-bottom:2px solid rgba(59,130,246,.3)}.sidebar-header h2{font-size:1.25rem;font-weight:700;color:#60a5fa;margin:0 0 .5rem}.sidebar-subtitle{font-size:.875rem;color:#94a3b8;margin:0}.sidebar-nav{padding:1rem 0}.sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;text-decoration:none;color:#cbd5e1;transition:all .2s ease;border-left:3px solid transparent;position:relative}.sidebar-link:hover{background:#3b82f61a;color:#60a5fa;border-left-color:#3b82f6}.sidebar-link.active{background:#3b82f626;color:#60a5fa;border-left-color:#60a5fa;font-weight:600}.sidebar-link.active:before{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:4px;height:60%;background:#60a5fa;border-radius:4px 0 0 4px}.chapter-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#3b82f633;border-radius:6px;font-size:.85rem;font-weight:700;flex-shrink:0}.sidebar-link.active .chapter-number{background:#60a5fa4d;color:#60a5fa}.chapter-icon{display:flex;align-items:center;flex-shrink:0}.chapter-title{flex:1;font-size:1rem}@media (max-width: 1024px){.source-sidebar{width:250px}.chapter-title{font-size:.875rem}}@media (max-width: 768px){.source-sidebar{position:fixed;left:-300px;z-index:1000;transition:left .3s ease}.source-sidebar.open{left:0}}.source-code-layout{display:flex;min-height:calc(100vh - 70px);background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.source-content-wrapper{flex:1;overflow-y:auto;padding:3rem 2rem}.source-content{max-width:1200px;margin:0 auto;background:#fff;border-radius:6px;padding:2rem;box-shadow:0 2px 8px #0000000f;animation:fadeIn .2s ease-in}@media (max-width: 768px){.source-content-wrapper{padding:1.5rem 1rem}.source-content{padding:1.5rem}}.video-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.video-modal-container{position:relative;width:90vw;max-width:1280px;aspect-ratio:16 / 9;background:#0f172a;overflow:hidden}.video-modal-close{position:absolute;top:-44px;right:0;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:8px;display:flex;align-items:center;gap:6px;font-size:13px;transition:color .2s}.video-modal-close:hover{color:#f8fafc}.video-modal-content{width:100%;height:100%}.video-modal-title{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000000d9);padding:40px 20px 16px}.video-modal-title h3{color:#f8fafc;font-size:18px;font-weight:600;margin:0 0 4px}.video-modal-title p{color:#94a3b8;font-size:13px;margin:0}.video-modal-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#64748b;font-size:15px}.video-embed{margin:1.5rem 0;border-radius:6px;overflow:hidden;background:#1e293b;box-shadow:0 2px 8px #0000001a}.video-embed.aspect-4-3{aspect-ratio:4 / 3}.video-embed-header{background:linear-gradient(135deg,#0f172a,#1e293b);padding:.5rem .75rem;display:flex;align-items:center;gap:.75rem;border-bottom:1px solid #334155}.video-embed-title{color:#f8fafc;font-size:.9rem;font-weight:600}.video-embed-desc{color:#94a3b8;font-size:.8rem}.video-embed-preview{cursor:pointer;transition:background .2s}.video-embed-preview:hover{background:#334155}.video-embed-thumbnail{aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b)}.video-embed.aspect-4-3 .video-embed-thumbnail{aspect-ratio:4 / 3}.video-embed-placeholder{display:flex;flex-direction:column;align-items:center;gap:1rem}.play-icon{width:64px;height:64px;border-radius:4px;background:#3b82f6e6;display:flex;align-items:center;justify-content:center;transition:transform .2s,background .2s}.video-embed-preview:hover .play-icon{transform:scale(1.1);background:#3b82f6}.click-hint{color:#94a3b8;font-size:.85rem}.video-embed-player{position:relative;aspect-ratio:16 / 9;width:100%;min-height:280px;background:#0f172a}.video-embed.aspect-4-3 .video-embed-player{aspect-ratio:4 / 3;min-height:340px}.video-embed.video-embed-autoplay{margin:1.5rem 0}.video-embed.video-embed-autoplay .video-embed-header{padding:.5rem .75rem}.video-embed.video-embed-autoplay .video-embed-player{aspect-ratio:16 / 9;min-height:360px}.video-embed.video-embed-autoplay .video-embed-close{display:none}.video-embed-player .remotion-player{width:100%!important;height:100%!important}.video-embed-close{position:absolute;top:8px;right:8px;z-index:10;width:36px;height:36px;border-radius:6px;background:#000000b3;border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.video-embed-close:hover{background:#000000e6}@media (max-width: 768px){.video-embed-header{flex-direction:column;align-items:flex-start;gap:.25rem}.play-icon{width:48px;height:48px}.play-icon svg{width:24px;height:24px}.video-embed-player{min-height:240px!important}.video-embed.video-embed-autoplay .video-embed-player{min-height:300px!important}}.home-page{min-height:calc(100vh - 70px);background:#f8f9fa}.hero-section{display:grid;grid-template-columns:1fr 1fr;gap:3rem;max-width:1400px;margin:0 auto;padding:4rem 2rem;align-items:center}.hero-content{display:flex;flex-direction:column;gap:1.5rem}.hero-badge{display:inline-block;padding:.25rem .75rem;background:#0ea5e9;color:#fff;font-size:.75rem;font-weight:600;width:fit-content}.hero-title{font-size:3rem;font-weight:800;line-height:1.2;color:#1a202c;margin:0}.gradient-text{background:linear-gradient(135deg,#0ea5e9,#0284c7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-description{font-size:1.125rem;line-height:1.7;color:#4a5568;margin:0;font-weight:500;letter-spacing:.3px}.hero-buttons{display:flex;gap:1rem}.btn-primary,.btn-secondary{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border:none;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-primary{background:#0ea5e9;color:#fff}.btn-primary:hover{background:#0284c7}.btn-secondary{background:#fff;color:#0ea5e9;border:2px solid #0ea5e9}.btn-secondary:hover{background:#0ea5e9;color:#fff}.hero-visual{display:flex;justify-content:center;align-items:center}.intset-diagram{width:100%;max-width:480px}.intset-diagram svg{width:100%;height:auto}.encoding-showcase{display:flex;align-items:center;gap:1rem}.encoding-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem 1rem;min-width:80px}.encoding-item.int16{background:#dcfce7;color:#166534}.encoding-item.int32{background:#dbeafe;color:#1e40af}.encoding-item.int64{background:#fef3c7;color:#92400e}.encoding-label{font-size:1rem;font-weight:800;letter-spacing:.5px}.encoding-size{font-size:.8rem;opacity:.85;font-weight:600}.encoding-range{font-size:.7rem;opacity:.75;font-weight:500;white-space:nowrap}.arrow-right{font-size:1.5rem;color:#0ea5e9;font-weight:700;opacity:.6}.what-is-section{background:#fff;padding:4rem 2rem;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.what-is-container{max-width:1200px;margin:0 auto}.what-is-intro{font-size:1.125rem;line-height:1.8;color:#4a5568;text-align:center;max-width:900px;margin:0 auto 3rem}.what-is-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.what-is-card{background:#f8fafc;border:1px solid #e2e8f0;padding:1.5rem;border-radius:4px}.what-is-icon{color:#0ea5e9;margin-bottom:1rem}.what-is-card h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0 0 .75rem}.what-is-card p{font-size:.9rem;line-height:1.7;color:#64748b;margin:0 0 1rem}.what-is-list{list-style:none;padding:0;margin:0}.what-is-list li{font-size:.875rem;color:#475569;padding:.375rem 0 .375rem 1.25rem;position:relative}.what-is-list li:before{content:"•";color:#0ea5e9;font-weight:700;position:absolute;left:0}.comparison-box{background:#fff;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.comparison-item{display:flex;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #f1f5f9}.comparison-item:last-child{border-bottom:none}.comparison-item.highlight{background:#ecfdf5}.comparison-label{font-weight:600;color:#374151}.comparison-value{font-weight:700;color:#0ea5e9}.comparison-item.highlight .comparison-value{color:#059669}.encoding-table{background:#fff;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;font-size:.8rem}.encoding-row{display:grid;grid-template-columns:1fr 1fr 1fr;padding:.5rem .75rem;border-bottom:1px solid #f1f5f9}.encoding-row:last-child{border-bottom:none}.encoding-row.header{background:#f8fafc;font-weight:600;color:#475569}.encoding-row span{display:flex;align-items:center}.encoding-row code{background:#f1f5f9;padding:.125rem .375rem;border-radius:3px;font-size:.75rem}.info-callout{display:flex;gap:1rem;align-items:flex-start;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;padding:1rem 1.25rem;margin-top:2rem;color:#1e40af}.info-callout svg{flex-shrink:0;margin-top:.125rem}.info-callout div{font-size:.9rem;line-height:1.6}.info-callout code{background:#dbeafe;padding:.125rem .375rem;border-radius:3px;font-size:.85em}.stats-section{background:#fff;padding:4rem 2rem;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.stats-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}.stat-value{font-size:2.5rem;font-weight:800;color:#0ea5e9;line-height:1}.stat-label{font-size:.875rem;color:#64748b;margin-top:.5rem;font-weight:600}.stat-desc{font-size:.75rem;color:#94a3b8;margin-top:.25rem}.how-it-works-section{background:#f8fafc;padding:4rem 2rem;border-top:1px solid #e2e8f0}.how-it-works-container{max-width:1400px;margin:0 auto}.section-intro{font-size:1rem;color:#64748b;text-align:center;margin-top:-1.5rem;margin-bottom:2.5rem}.how-it-works-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.how-it-works-card{background:#fff;border:1px solid #e2e8f0;padding:1.5rem;border-radius:4px}.how-it-works-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.how-icon{color:#0ea5e9;display:flex;align-items:center}.how-it-works-header h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0}.how-it-works-desc{font-size:.9rem;line-height:1.7;color:#64748b;margin:0 0 1.25rem}.algorithm-steps{background:#f8fafc;border-radius:6px;padding:1rem;margin-bottom:1rem}.algorithm-steps h4{font-size:.875rem;font-weight:600;color:#475569;margin:0 0 .75rem}.step-item{display:flex;gap:.75rem;margin-bottom:.625rem}.step-item:last-child{margin-bottom:0}.step-num{width:22px;height:22px;background:#0ea5e9;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.step-text{flex:1}.step-text strong{font-size:.8rem;color:#1e293b}.step-text p{font-size:.75rem;color:#64748b;margin:.125rem 0 0;line-height:1.5}.upgrade-example{background:#f8fafc;border-radius:6px;padding:1rem;margin-bottom:1rem}.upgrade-step{display:flex;align-items:center;gap:.75rem;padding:.5rem 0}.step-badge{width:24px;height:24px;background:#0ea5e9;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0}.upgrade-step span:last-child{font-size:.85rem;color:#374151}.upgrade-arrow-down{text-align:center;color:#94a3b8;font-size:1.25rem;padding:.25rem 0}.tip-box{display:flex;align-items:center;gap:.5rem;background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;padding:.625rem .875rem;font-size:.8rem;color:#92400e}.tip-box svg{flex-shrink:0}.example-box{background:#f1f5f9;border-left:3px solid #0ea5e9;padding:.75rem 1rem;font-size:.8rem;color:#475569;line-height:1.6;border-radius:0 6px 6px 0}.example-box code{background:#e2e8f0;padding:.125rem .375rem;border-radius:3px;font-size:.85em}.memory-layout-diagram{background:#f8fafc;border-radius:6px;padding:1rem;margin-bottom:1rem}.memory-header,.memory-data{margin-bottom:.75rem}.memory-section-label{font-size:.7rem;color:#64748b;font-weight:600;margin-bottom:.375rem}.memory-cells{display:flex;gap:4px}.memory-cell{width:50px;height:30px;background:#e2e8f0;border:1px solid #cbd5e1;display:flex;align-items:center;justify-content:center;font-size:.65rem;color:#475569}.memory-values{display:flex;gap:4px}.memory-val{width:40px;height:40px;background:#dbeafe;border:1px solid #93c5fd;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#1e40af}.benefit-list{display:flex;flex-direction:column;gap:.5rem}.benefit-item{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#475569}.benefit-item svg{color:#10b981;flex-shrink:0}.features-section{max-width:1400px;margin:0 auto;padding:4rem 2rem;border-top:1px solid #e2e8f0}.section-title{font-size:2rem;font-weight:700;text-align:center;margin-bottom:2.5rem;color:#1a202c}.section-subtitle{font-size:1rem;color:#64748b;text-align:center;margin-top:-1.5rem;margin-bottom:2.5rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.feature-card{background:#fff;padding:1.5rem;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.75rem}.feature-card:hover{border-color:#0ea5e9}.feature-icon{display:flex;align-items:center;justify-content:center}.feature-icon .icon{color:#0ea5e9}.feature-card h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0}.feature-card p{font-size:.9rem;line-height:1.6;color:#64748b;margin:0;flex:1}.feature-link{display:inline-flex;align-items:center;gap:.5rem;background:none;border:none;color:#0ea5e9;font-weight:600;cursor:pointer;padding:0;font-size:.875rem}.feature-link:hover{gap:.75rem}.diagram-section{max-width:1400px;margin:0 auto;padding:4rem 2rem}.diagram-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem}.diagram-card{background:#fff;border:1px solid #e2e8f0;padding:1.5rem}.diagram-card h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem}.diagram-card p{font-size:.875rem;color:#64748b;margin:0 0 1rem}.diagram-svg-container{width:100%;background:#f8f9fa;padding:1rem}.diagram-svg-container svg{width:100%;height:auto}.diagram-note{margin-top:1rem;padding:.75rem;background:#f8fafc;border-radius:6px;font-size:.8rem;color:#64748b}.diagram-note strong{color:#475569}.real-world-section{background:#fff;padding:4rem 2rem;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.real-world-container{max-width:1200px;margin:0 auto}.real-world-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.real-world-example{display:flex;gap:1rem;padding:1.25rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px}.example-icon{color:#0ea5e9;flex-shrink:0}.example-content h4{font-size:1rem;font-weight:600;color:#1a202c;margin:0 0 .5rem}.example-content .scenario{font-size:.85rem;color:#475569;margin:0 0 .5rem;line-height:1.6}.example-content .benefit{font-size:.8rem;color:#64748b;margin:0;line-height:1.6;padding-top:.5rem;border-top:1px solid #e2e8f0}.decision-tree{background:linear-gradient(135deg,#eff6ff,#f0f9ff);border:1px solid #bfdbfe;border-radius:4px;padding:2rem}.decision-tree h3{font-size:1.25rem;font-weight:700;color:#1e40af;margin:0 0 1.25rem;text-align:center}.tree-content{display:flex;flex-direction:column;gap:1.5rem}.tree-question{display:flex;gap:1rem;align-items:flex-start}.question-icon{color:#0ea5e9;flex-shrink:0;padding-top:.125rem}.question-text{flex:1}.question-text strong{font-size:1rem;color:#1e40af;display:block;margin-bottom:.75rem}.question-text ul{margin:0;padding:0;list-style:none}.question-text li{font-size:.9rem;color:#475569;padding:.25rem 0 .25rem 1.25rem;position:relative}.question-text li:before{content:"✓";color:#10b981;position:absolute;left:0}.tree-answer{display:flex;gap:1.5rem;justify-content:center}.answer-yes,.answer-no{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border-radius:4px;font-weight:600}.answer-yes{background:#dcfce7;color:#166534}.answer-no{background:#fef2f2;color:#991b1b}.x-icon{font-size:1.1rem}.learning-path-section{background:#f8fafc;padding:4rem 2rem;border-top:1px solid #e2e8f0}.learning-path{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap}.path-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;background:#fff;padding:1.25rem;min-width:140px;border:1px solid #e2e8f0}.step-number{width:44px;height:44px;background:#0ea5e9;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700}.step-content{text-align:center}.step-content h3{font-size:1rem;font-weight:600;margin:0 0 .25rem;color:#1a202c}.step-content p{font-size:.8rem;color:#64748b;margin:0 0 .75rem}.step-btn{background:#fff;border:1px solid #0ea5e9;color:#0ea5e9;padding:.375rem .75rem;font-weight:600;cursor:pointer;font-size:.75rem}.step-btn:hover{background:#0ea5e9;color:#fff}.path-arrow{font-size:1.5rem;color:#cbd5e1;font-weight:700}.demo-section{max-width:1400px;margin:0 auto;padding:4rem 2rem;border-top:1px solid #e2e8f0}.demo-description{font-size:1rem;color:#64748b;text-align:center;margin-bottom:2rem}.demo-video-container{background:#fff;border:1px solid #e2e8f0;padding:1rem}.why-section{max-width:1400px;margin:0 auto;padding:4rem 2rem}.why-container{background:#fff;border:1px solid #e2e8f0;padding:2rem}.why-content h2{font-size:2rem;font-weight:700;margin-bottom:1.5rem;color:#1a202c}.why-list{display:grid;gap:1.25rem}.why-item{display:flex;gap:1rem;align-items:flex-start;padding-bottom:1.25rem;border-bottom:1px solid #f1f5f9}.why-item:last-child{border-bottom:none;padding-bottom:0}.check-icon{color:#10b981;flex-shrink:0;margin-top:.125rem}.why-item h4{font-size:1rem;font-weight:600;margin:0 0 .25rem;color:#1a202c}.why-item p{font-size:.875rem;line-height:1.6;color:#64748b;margin:0}.cta-section{background:#1a202c;padding:4rem 2rem}.cta-container{max-width:800px;margin:0 auto;text-align:center;color:#fff}.cta-container h2{font-size:2rem;font-weight:700;margin-bottom:.75rem}.cta-container p{font-size:1rem;opacity:.8;margin-bottom:1.5rem}.cta-buttons{display:flex;gap:1rem;justify-content:center}.btn-large{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-large.btn-primary{background:#0ea5e9;color:#fff}.btn-large.btn-primary:hover{background:#0284c7}.btn-large.btn-secondary{background:transparent;color:#fff;border:2px solid white}.btn-large.btn-secondary:hover{background:#fff;color:#1a202c}@keyframes highlightPulse{0%,to{fill:#fef08a}50%{fill:#fde047}}@keyframes searchPulse{0%,to{stroke-width:2}50%{stroke-width:4}}.anim-slide-in{animation:slideIn .5s ease-out forwards}.anim-pulse{animation:pulse 1.5s ease-in-out infinite}.memory-block-rect{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1}.memory-block-rect.searching{fill:#dbeafe;stroke:#3b82f6;animation:searchPulse .8s ease-in-out infinite}.memory-block-rect.highlight{fill:#fef08a;stroke:#eab308}.memory-block-value{font-size:14px;font-weight:700;fill:#1e293b}.memory-block-hex{font-size:10px;fill:#64748b}.header-cell{fill:#e2e8f0;stroke:#cbd5e1;stroke-width:1}.header-label{font-size:10px;fill:#64748b}.header-value{font-size:12px;font-weight:700;fill:#1e293b}.comparison-bar{height:4px;background:#e2e8f0;position:relative;margin:.5rem 0}.comparison-progress{height:100%;background:#0ea5e9;transition:width .3s ease}.binary-search-visual{display:flex;flex-direction:column;gap:.5rem}.search-step{display:flex;align-items:center;gap:.75rem;padding:.5rem;background:#f8f9fa;font-size:.8rem}.search-step.active{background:#dbeafe}.search-step .index{font-weight:700;color:#1e293b;min-width:24px}.search-step .value{color:#64748b}.search-step .comparison{color:#0ea5e9;font-weight:600}.search-step .result{color:#10b981;font-weight:600;margin-left:auto}.encoding-upgrade-visual{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;background:#f8f9fa}.encoding-block{flex:1;padding:1rem;text-align:center}.encoding-block.int16{background:#dcfce7}.encoding-block.int32{background:#dbeafe}.encoding-block.int64{background:#fef3c7}.encoding-block .label{font-size:1.25rem;font-weight:800}.encoding-block .bytes{font-size:.875rem;opacity:.8;margin-top:.25rem}.upgrade-arrow{font-size:1.5rem;color:#0ea5e9}@media (max-width: 1024px){.hero-section{grid-template-columns:1fr;padding:3rem 1.5rem}.hero-title{font-size:2.25rem}.what-is-grid,.diagram-container,.how-it-works-grid,.real-world-grid{grid-template-columns:1fr}.encoding-showcase,.learning-path{flex-direction:column}.path-arrow{transform:rotate(90deg)}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.hero-title{font-size:1.75rem}.hero-buttons{flex-direction:column}.features-grid{grid-template-columns:1fr}.why-container{padding:1.5rem}.cta-buttons{flex-direction:column}.stats-grid{grid-template-columns:1fr;gap:1.5rem}.tree-answer{flex-direction:column;align-items:center}}.visualization-area{width:100%;height:100%;min-height:360px;background:#fff}.visualization-svg{width:100%;height:100%}.viz-title{font-size:1.1rem;font-weight:700;fill:#0f172a}.viz-subtitle{font-size:.75rem;fill:#475569}.viz-comparison{font-size:.72rem;fill:#0f766e;font-weight:600}.empty-message{font-size:1rem;fill:#94a3b8}.memory-block .block-rect{fill:#f8fafc;stroke:#e2e8f0;stroke-width:1;transition:all .2s ease}.memory-block.new .block-rect{fill:#dcfce7;stroke:#16a34a}.memory-block.searching .block-rect{stroke:#0f172a;stroke-width:2;fill:#f1f5f9}.memory-block.moving .block-rect{stroke:#d97706;fill:#ffedd5}.memory-block.deleting .block-rect{stroke:#dc2626;fill:#fee2e2}.memory-block.upgrading .block-rect{stroke:#0369a1;fill:#dbeafe}.block-index{font-size:.65rem;fill:#64748b}.block-value{font-size:1rem;font-weight:700;fill:#0f172a}.block-hex{font-size:.65rem;fill:#475569;font-family:Monaco,Menlo,monospace}.block-bytes{font-size:.62rem;fill:#94a3b8}.pointer-label{font-size:.62rem;font-weight:700}.flow-label{font-size:.68rem;fill:#0369a1;font-weight:600}.total-bytes{font-size:.75rem;fill:#334155;font-weight:600}.step-message{font-size:.75rem;fill:#0f766e;font-weight:600}.header-cell{fill:#f8fafc;stroke:#e2e8f0;stroke-width:1}.header-cell-label{font-size:10px;fill:#64748b;text-transform:uppercase}.header-cell-value{font-size:13px;font-weight:700;fill:#0f172a}.range-label{font-size:10px;fill:#0369a1;font-weight:600}.scenario-panel{margin-top:2rem;padding:1.5rem;background:var(--bg-secondary);border-radius:var(--radius-md)}.scenario-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;margin:-.75rem -.75rem .75rem;border-radius:var(--radius-md) var(--radius-md) 0 0}.scenario-header.clickable{cursor:pointer;transition:background .2s;-webkit-user-select:none;user-select:none}.scenario-header.clickable:hover{background:var(--bg-secondary)}.scenario-header h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0}.scenario-header svg{color:var(--warning-color)}.scenario-description{font-size:.875rem;color:var(--text-secondary);margin-bottom:1rem}.scenarios-list{display:flex;flex-direction:column;gap:1rem}.scenario-card{display:flex;gap:1rem;padding:1rem;background:var(--bg-primary);border:2px solid var(--border-color);border-radius:var(--radius-sm);transition:all .2s}.scenario-card:hover{border-color:var(--primary-color);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.scenario-content{flex:1}.scenario-name{font-size:.875rem;font-weight:600;color:var(--text-primary);margin:0 0 .25rem}.scenario-desc{font-size:.75rem;color:var(--text-secondary);margin:0 0 .75rem}.scenario-details{display:flex;flex-direction:column;gap:.25rem}.detail-item{display:flex;align-items:baseline;gap:.5rem;font-size:.75rem}.detail-label{color:var(--text-tertiary);font-weight:500;min-width:3rem}.detail-value{color:var(--text-primary)}.detail-value code{font-family:Monaco,Menlo,monospace;background:var(--bg-tertiary);padding:.125rem .25rem;border-radius:3px;font-size:.7rem}.detail-value.expected{color:var(--success-color);font-weight:500}.scenario-run-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;padding:.5rem 1rem;background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);color:#fff;border:none;border-radius:var(--radius-sm);font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s;min-width:60px}.scenario-run-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-md)}.scenario-run-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (max-width: 768px){.scenario-card{flex-direction:column}.scenario-run-btn{flex-direction:row;width:100%}}.tips-panel{padding:.6rem;border-left:3px solid;background:var(--bg-secondary)}.tips-panel.tips-info{border-color:#0f172a;background:#f8fafc}.tips-panel.tips-success{border-color:var(--success-color);background:#f0fdf4}.tips-panel.tips-warning{border-color:var(--warning-color);background:#fefce8}.tips-header{display:flex;align-items:center;gap:.4rem;margin-bottom:.3rem}.tips-header svg{flex-shrink:0}.tips-info .tips-header svg{color:#0f172a}.tips-success .tips-header svg{color:var(--success-color)}.tips-warning .tips-header svg{color:var(--warning-color)}.tips-title{flex:1;font-size:.8rem;font-weight:700;color:var(--text-primary);text-transform:uppercase;letter-spacing:.03em}.tips-close{background:none;border:none;color:var(--text-tertiary);cursor:pointer;padding:.2rem;display:flex;align-items:center;justify-content:center;transition:color .15s}.tips-close:hover{color:var(--text-primary)}.tips-content{font-size:.75rem;color:var(--text-secondary);margin:0;line-height:1.5}@keyframes slideIn{0%{transform:translate(-20px);opacity:0}to{transform:translate(0);opacity:1}}.control-panel-inner{display:flex;flex-direction:column;gap:.5rem}.section-title{font-size:.8rem;font-weight:700;color:var(--text-primary);margin-bottom:.4rem;padding-bottom:.3rem;border-bottom:1px solid #e2e8f0;text-transform:uppercase;letter-spacing:.03em}.stats-section,.operations-section,.params-section{padding:.5rem;background:var(--bg-secondary);border:1px solid #e2e8f0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem}.stat-item{text-align:center;padding:.4rem;background:var(--bg-primary);border:1px solid #e2e8f0}.stat-label{font-size:.62rem;color:var(--text-secondary);margin-bottom:.1rem;text-transform:uppercase;letter-spacing:.02em}.stat-value{font-size:.88rem;font-weight:700;color:var(--primary-color)}.stat-value.tiny{font-size:.7rem}.operation-group{margin-bottom:.4rem}.operation-group:last-child{margin-bottom:0}.group-name{font-size:.7rem;font-weight:600;color:var(--text-secondary);margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.03em}.operation-buttons{display:grid;grid-template-columns:1fr;gap:.25rem}.operation-btn{display:flex;align-items:center;gap:.35rem;padding:.4rem .5rem;background:var(--bg-primary);border:1px solid #e2e8f0;font-size:.75rem;font-weight:600;color:var(--text-primary);cursor:pointer;transition:all .15s}.operation-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.operation-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}.operation-btn:disabled{opacity:.5;cursor:not-allowed}.input-hint{margin:0 0 .35rem;font-size:.7rem;color:#475569}.input-group{margin-bottom:.4rem}.input-label{display:block;font-size:.7rem;font-weight:600;color:var(--text-primary);margin-bottom:.2rem;text-transform:uppercase;letter-spacing:.02em}.input-field,.input-textarea{width:100%;padding:.4rem .5rem;border:1px solid #cbd5e1;font-size:.8rem;color:var(--text-primary);background:var(--bg-primary)}.input-field:focus,.input-textarea:focus{outline:none;border-color:#0f172a}.input-textarea{resize:vertical;min-height:52px;font-family:Monaco,Menlo,monospace}.quick-ops-row{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem;margin-bottom:.4rem}.mini-btn{display:inline-flex;align-items:center;gap:.15rem;border:1px solid #e2e8f0;background:#f8fafc;padding:.12rem .35rem;font-size:.68rem;cursor:pointer}.sample-chip{border:1px solid #e2e8f0;background:#f8fafc;padding:.12rem .35rem;font-size:.68rem;cursor:pointer}.sample-chip:hover,.mini-btn:hover{background:#f1f5f9}.input-error{margin-bottom:.35rem;color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;padding:.25rem .35rem;font-size:.7rem}.execute-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;padding:.5rem .6rem;background:#0f172a;color:#fff;border:none;font-size:.8rem;font-weight:700;cursor:pointer;transition:background .15s}.execute-btn:hover:not(:disabled){background:#1e293b}.execute-btn:disabled{opacity:.5;cursor:not-allowed}.animation-controls{padding:.5rem .75rem;display:flex;flex-direction:column;gap:.4rem;background:#fff}.controls-main{display:grid;grid-template-columns:auto 1fr auto;gap:.75rem;align-items:center}.controls-left{display:flex;align-items:center;gap:.5rem}.controls-title{margin:0;font-size:.8rem;color:#0f172a;font-weight:600}.step-indicator{font-size:.65rem;color:#475569;background:#f1f5f9;padding:.1rem .3rem;font-weight:600}.controls-buttons{display:flex;align-items:center;justify-content:center;gap:.25rem;flex-wrap:wrap}.control-btn{border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;padding:.2rem .35rem;font-size:.68rem;display:inline-flex;align-items:center;gap:.15rem;cursor:pointer;transition:all .15s}.control-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.control-btn.primary{background:#0f172a;border-color:#0f172a;color:#fff}.control-btn.primary.pause{background:#475569;border-color:#475569}.control-btn:disabled{opacity:.4;cursor:not-allowed}.speed-group{display:inline-flex;align-items:center;gap:.2rem;flex-wrap:wrap;justify-content:flex-end}.speed-chip{border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:.65rem;padding:.1rem .3rem;cursor:pointer}.speed-chip.active{background:#0f172a;border-color:#0f172a;color:#fff}.progress-wrapper{width:100%}.progress-track{width:100%;height:6px;background:#e2e8f0;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}.progress-fill{position:absolute;height:100%;left:0;top:0;background:#0f172a}.progress-thumb{position:absolute;top:50%;width:12px;height:12px;background:#0f172a;border:2px solid white;transform:translate(-50%,-50%)}@media (max-width: 1200px){.controls-main{grid-template-columns:1fr}.speed-group,.controls-left{justify-content:center}}.progress-ticks{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;padding:0 2px}.tick{width:1px;height:8px;background:#1e293b38}.code-debugger{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:.75rem;display:flex;flex-direction:column;gap:.75rem}.code-debugger-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.code-debugger-header h3{margin:0;font-size:.95rem;color:var(--text-primary)}.language-tabs{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.language-tab{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;padding:.22rem .55rem;border-radius:999px;font-size:.74rem;cursor:pointer;transition:all .2s ease}.language-tab.active{background:#0ea5e9;color:#fff;border-color:#0284c7}.debug-code-line{position:relative;border-left:2px solid transparent;transition:all .2s ease}.debug-code-line.is-active{background:#22c55e2e;border-left-color:#22c55e}.debug-code-line[data-debug]:not([data-debug=""]):after{content:attr(data-debug);color:#a7f3d0;font-size:11px;margin-left:10px;opacity:.95}.step-insights{background:var(--bg-secondary);border:1px solid #e2e8f0;padding:.5rem;display:flex;flex-direction:column;gap:.4rem}.step-insights-header{display:flex;align-items:center;justify-content:space-between}.step-insights-header h3{margin:0;font-size:.8rem;color:var(--text-primary);font-weight:700;text-transform:uppercase;letter-spacing:.03em}.step-badge{font-size:.62rem;background:#f1f5f9;color:#475569;padding:.1rem .3rem;font-weight:600}.step-row{display:grid;grid-template-columns:70px 1fr;gap:.5rem;align-items:start}.step-row .label{color:var(--text-secondary);font-size:.72rem}.step-row .value{color:var(--text-primary);font-size:.78rem}.step-row .value.mono{font-family:Monaco,Menlo,monospace;font-size:.72rem}.step-vars .label{color:var(--text-secondary);font-size:.72rem;margin-bottom:.15rem}.step-vars ul{margin:0;padding:0;list-style:none;border:1px solid #e2e8f0;background:#f8fafc}.step-vars li{display:grid;grid-template-columns:1fr 1fr;gap:.3rem;padding:.25rem .4rem;font-size:.7rem;border-bottom:1px solid #e2e8f0}.step-vars li:last-child{border-bottom:none}.step-vars li:nth-child(2n){background:#f1f5f9}.mono{font-family:Monaco,Menlo,monospace}.export-btn{margin-top:.1rem;display:inline-flex;align-items:center;justify-content:center;gap:.25rem;width:100%;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:.7rem;padding:.25rem .4rem;cursor:pointer}.export-btn:hover{background:#f1f5f9}.main-layout{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.main-container{flex:1;display:flex;gap:.5rem;padding:.5rem;overflow:hidden}.visualization-section{flex:1;background:var(--bg-primary);border-radius:4px;border:1px solid #e2e8f0;padding:.5rem;overflow:hidden;display:flex;align-items:stretch;justify-content:center}.control-panel{width:400px;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;background:var(--bg-primary);border-radius:4px;border:1px solid #e2e8f0;padding:.5rem}.animation-controls-bottom{flex-shrink:0;background:#fff;border-top:1px solid #e2e8f0}@media (max-width: 1200px){.main-container{flex-direction:column}.control-panel{width:100%;max-height:42%}.visualization-section{min-height:340px}}.playground-header{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:.55rem 1rem;background:#fffffff5;box-shadow:0 2px 12px #0f172a14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:3}.header-left{justify-self:start}.back-link{color:#0369a1;text-decoration:none;font-size:.8rem;font-weight:600}.back-link:hover{text-decoration:underline}.header-center{text-align:center}.header-center h1{margin:0;font-size:1.05rem;color:#0f172a;font-weight:700}.header-center p{margin:.08rem 0 0;font-size:.74rem;color:#64748b}.header-right{justify-self:end;display:flex;align-items:center;gap:.45rem}.idea-btn{display:inline-flex;align-items:center;gap:.25rem;border:1px solid #fde68a;background:#fef9c3;color:#854d0e;font-size:.72rem;border-radius:4px;padding:.2rem .5rem;cursor:pointer}.video-btn{display:inline-flex;align-items:center;gap:.25rem;border:1px solid #bfdbfe;background:#dbeafe;color:#1e40af;font-size:.72rem;border-radius:4px;padding:.2rem .5rem;cursor:pointer;transition:background .2s}.video-btn:hover{background:#bfdbfe}.github-entry{display:inline-flex;align-items:center;gap:.3rem;color:#0f172a;text-decoration:none;border:1px solid #cbd5e1;background:#f8fafc;border-radius:4px;padding:.2rem .5rem;font-size:.72rem;font-weight:600}.star-chip{display:inline-flex;align-items:center;gap:.15rem;background:#dcfce7;color:#166534;border-radius:4px;padding:.1rem .35rem;font-size:.7rem}@media (max-width: 960px){.playground-header{grid-template-columns:1fr;justify-items:center}.header-left,.header-right{justify-self:center}}.community-floating{position:fixed;right:18px;bottom:18px;z-index:1000}.community-bubble{display:inline-flex;align-items:center;gap:.3rem;border:none;border-radius:6px;background:#0ea5e9;color:#fff;padding:.4rem .65rem;font-size:.78rem;box-shadow:0 4px 12px #0ea5e940;cursor:pointer}.community-card{position:absolute;right:0;bottom:40px;width:200px;background:#fff;border-radius:4px;border:1px solid #cbd5e1;box-shadow:0 8px 24px #0f172a26;padding:.5rem}.community-card p{margin:0 0 .35rem;font-size:.74rem;color:#1e293b;line-height:1.3}.community-card img{width:100%;height:auto;border-radius:4px;display:block}.playground-page{height:calc(100vh - 70px);background:#f8fafc;display:flex;flex-direction:column;overflow:hidden}.playground-content{flex:1;display:flex;overflow:hidden}.operation-demo-section{flex-shrink:0;background:#fff;border-top:1px solid #e2e8f0;padding:.4rem .6rem;display:flex;flex-direction:column;gap:.4rem}.demo-section-header{display:flex;align-items:center;gap:.5rem}.demo-label{font-size:.7rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.explanation-toggle{display:flex;align-items:center;gap:.25rem;padding:.2rem .4rem;font-size:.6rem;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s}.explanation-toggle:hover{background:#e2e8f0}.explanation-toggle.active{background:#0f172a;color:#fff;border-color:#0f172a}.demo-cards-wrapper{overflow-x:auto}.demo-cards{display:flex;gap:.4rem;min-width:max-content}.demo-card-wrapper{display:flex;flex-direction:column;gap:.25rem}.demo-card-wrapper.active{transform:scale(1.01)}.demo-card{flex-shrink:0;display:flex;align-items:center;gap:.5rem;padding:.35rem .6rem;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;transition:all .15s;position:relative;overflow:hidden}.demo-card:hover{background:#f1f5f9;border-color:#94a3b8}.demo-card.active{background:#0f172a;border-color:#0f172a;color:#fff}.demo-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;font-size:.75rem;font-weight:700}.demo-card.active .demo-icon{background:#475569;color:#fff}.demo-text{display:flex;flex-direction:column;gap:.05rem}.demo-op{font-size:.72rem;font-weight:700}.demo-desc{font-size:.62rem;color:#64748b}.demo-card.active .demo-desc{color:#94a3b8}.demo-animation{display:flex;align-items:center;gap:.15rem;padding:.2rem .3rem;background:#f8fafc;border-radius:6px;border:1px dashed #e2e8f0}.demo-array-cell{min-width:28px;height:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;background:#fff;border:2px solid #cbd5e1;border-radius:4px;transition:all .3s ease;position:relative}.demo-array-cell:before{content:attr(data-index);position:absolute;top:-14px;font-size:.5rem;color:#94a3b8;font-weight:500}.demo-array-cell.neutral{background:#f1f5f9;border-color:#cbd5e1}.demo-array-cell.neutral:before{color:#cbd5e1}.demo-array-cell.searching{background:#0f172a;color:#fff;border-color:#0f172a;transform:scale(1.15);box-shadow:0 0 12px #0f172a66}.demo-array-cell.found{background:#16a34a;color:#fff;border-color:#16a34a;transform:scale(1.2);box-shadow:0 0 12px #16a34a80}.demo-array-cell.moving{background:#f97316;color:#fff;border-color:#f97316;transform:scale(1.1);box-shadow:0 0 10px #f9731666}.demo-array-cell.deleting{background:#dc2626;color:#fff;border-color:#dc2626;transform:scale(1.1);box-shadow:0 0 10px #dc262666}.demo-array-cell.inserting{background:#16a34a;color:#fff;border-color:#16a34a;transform:scale(1.2);box-shadow:0 0 12px #16a34a80;animation:pulse-insert .6s ease infinite}.demo-array-cell.upgrading{background:#7c3aed;color:#fff;border-color:#7c3aed;transform:scale(1.1);box-shadow:0 0 10px #7c3aed66}@keyframes pulse-insert{0%,to{box-shadow:0 0 12px #16a34a80}50%{box-shadow:0 0 20px #16a34acc}}.demo-insert-gap{width:28px;height:28px;border:2px dashed #16a34a;border-radius:4px;background:#dcfce7;display:flex;align-items:center;justify-content:center;font-size:.6rem;color:#16a34a;font-weight:600;animation:gap-pulse 1s ease infinite}@keyframes gap-pulse{0%,to{border-color:#16a34a}50%{border-color:#22c55e;background:#bbf7d0}}.demo-shift-arrow{display:flex;align-items:center;justify-content:center;width:20px;height:28px;color:#f97316;font-size:.8rem;font-weight:700;animation:arrow-blink .5s ease infinite}@keyframes arrow-blink{0%,to{opacity:1}50%{opacity:.5}}.demo-arrow{font-size:.6rem;color:#94a3b8;margin:0 .1rem}.demo-card.active .demo-arrow{color:#64748b}.demo-target{width:auto;min-width:24px;height:24px;padding:0 6px;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;background:#fef2f2;color:#dc2626;border:2px solid #dc2626;border-radius:4px}.demo-target-group{font-size:.55rem;font-weight:700;color:#dc2626;padding:.1rem .25rem;background:#fef2f2;border:1px dashed #dc2626;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-card.active .demo-target-group{color:#f87171;background:#dc26261a}.demo-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#fff3}.demo-progress-bar{height:100%;background:#16a34a;transition:width .3s ease}.demo-explanation{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;padding:.4rem .6rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.explanation-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.2rem}.explanation-title{font-size:.68rem;font-weight:700;color:#0f172a}.explanation-complexity{font-size:.58rem;font-weight:600;color:#7c3aed;background:#ede9fe;padding:.1rem .3rem}.explanation-description{font-size:.62rem;color:#475569;margin:0 0 .2rem;line-height:1.4}.explanation-insight{font-size:.6rem;color:#64748b;margin:0;font-style:italic;line-height:1.4}.educational-note{display:flex;align-items:flex-start;gap:.4rem;padding:.4rem .6rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24;font-size:.65rem;color:#78350f;line-height:1.4;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.educational-note-icon{flex-shrink:0}.educational-note-text{flex:1}.idea-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:1200;display:flex;align-items:center;justify-content:center}.idea-modal{width:min(560px,92vw);background:#fff;padding:1rem 1.1rem}.idea-modal h3{margin:0 0 .5rem;color:#0f172a;font-size:1rem}.idea-modal ol{margin:0;padding-left:1.1rem;color:#334155;font-size:.86rem;line-height:1.5}.idea-modal button{margin-top:.75rem;border:1px solid #e2e8f0;background:#f8fafc;color:#0f172a;padding:.3rem .7rem;cursor:pointer}.idea-modal button:hover{background:#f1f5f9}.scenarios-page{min-height:calc(100vh - 70px);background:#f8f9fa;padding:2rem 0}.scenarios-container{max-width:1400px;margin:0 auto;padding:0 1.5rem}.scenarios-header{text-align:center;margin-bottom:2.5rem;padding:2rem 0}.scenarios-header h1{font-size:2.25rem;font-weight:700;color:#1a1a2e;margin-bottom:.75rem;letter-spacing:-.02em}.scenarios-subtitle{font-size:1.1rem;color:#64748b;margin:0;font-weight:400}.scenarios-intro{background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:1.5rem;margin-bottom:2rem}.intro-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.intro-card{padding:1.25rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px}.intro-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:4px;color:#475569;margin-bottom:1rem}.intro-card h3{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.intro-card p{font-size:.9rem;color:#64748b;line-height:1.6;margin:0}.featured-demo{margin-bottom:2.5rem}.featured-demo h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 .5rem}.featured-demo-subtitle{font-size:.95rem;color:#64748b;margin:0 0 1.25rem}.featured-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1rem}.scenarios-section{margin-bottom:2.5rem}.scenarios-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 1.25rem}.scenarios-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:1rem}.scenario-card{background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:1.25rem;cursor:pointer;transition:border-color .15s ease;display:flex;flex-direction:column;gap:.875rem}.scenario-card:hover{border-color:#cbd5e1}.scenario-card.selected,.scenario-card.details-expanded{border-color:#3b82f6;border-width:2px}.scenario-card-header{display:flex;flex-direction:column;gap:.5rem}.scenario-meta-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.difficulty-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .5rem;border-radius:3px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.difficulty-easy{background:#ecfdf5;color:#059669}.difficulty-medium{background:#eff6ff;color:#2563eb}.difficulty-hard{background:#fef3c7;color:#d97706}.category-badge{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem .5rem;border-radius:3px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.category-basics{background:#f0fdf4;color:#16a34a}.category-encoding{background:#fef3c7;color:#d97706}.category-performance{background:#fdf4ff;color:#9333ea}.category-realworld{background:#ecfeff;color:#0891b2}.complexity-row{display:flex;gap:.5rem;flex-wrap:wrap}.complexity-badge{display:inline-flex;align-items:center;gap:.2rem;font-size:.7rem;color:#64748b;background:#f1f5f9;padding:.15rem .4rem;border-radius:3px}.complexity-icon{display:flex;align-items:center;color:#94a3b8}.complexity-label{font-weight:500}.complexity-value{font-weight:600;color:#475569}.scenario-card h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0;line-height:1.4}.scenario-description{font-size:.875rem;color:#64748b;line-height:1.5;margin:0}.category-filter{margin-bottom:2rem;padding:1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px}.category-filter h2{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.category-tabs{display:flex;flex-wrap:wrap;gap:.5rem}.category-tab{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:3px;font-size:.85rem;font-weight:500;color:#64748b;cursor:pointer;transition:all .15s ease}.category-tab:hover{background:#f1f5f9;border-color:#cbd5e1}.category-tab.active{background:#1e293b;border-color:#1e293b;color:#fff}.category-tab.active svg{color:#fff}.category-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 .35rem;background:#0000001a;border-radius:4px;font-size:.7rem;font-weight:600}.category-tab.active .category-count{background:#fff3}.category-description{margin:1rem 0 0;font-size:.9rem;color:#64748b;font-style:italic}.use-case-box{background:#f8fafc;border-left:3px solid #3b82f6;padding:.75rem 1rem}.use-case-label{display:block;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#3b82f6;margin-bottom:.25rem}.use-case-box p{font-size:.85rem;color:#475569;margin:0;line-height:1.5}.why-matters{padding:.75rem 0;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9}.why-matters h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#94a3b8;margin:0 0 .5rem}.why-matters p{font-size:.875rem;color:#475569;line-height:1.6;margin:0}.key-takeaway{padding:.75rem;background:#f0fdf4;border-left:3px solid #22c55e;border-radius:0 3px 3px 0}.key-takeaway h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#16a34a;margin:0 0 .5rem}.key-takeaway p{font-size:.85rem;color:#15803d;line-height:1.6;margin:0}.pitfalls-box{padding:.75rem;background:#fef2f2;border-left:3px solid #ef4444;border-radius:0 3px 3px 0}.pitfalls-box h4{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#dc2626;margin:0 0 .5rem}.pitfalls-box h4 svg{color:#ef4444}.pitfalls-box ul{margin:0;padding-left:1rem}.pitfalls-box li{font-size:.8rem;color:#991b1b;line-height:1.5;margin-bottom:.25rem}.pitfalls-box li:last-child{margin-bottom:0}.tips-box{padding:.75rem;background:#eff6ff;border-left:3px solid #3b82f6;border-radius:0 3px 3px 0}.tips-box h4{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#2563eb;margin:0 0 .5rem}.tips-box h4 svg{color:#3b82f6}.tips-box ul{margin:0;padding-left:1rem}.tips-box li{font-size:.8rem;color:#1d4ed8;line-height:1.5;margin-bottom:.25rem}.tips-box li:last-child{margin-bottom:0}.operation-preview h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#94a3b8;margin:0 0 .5rem}.operations-list{display:flex;flex-wrap:wrap;gap:.5rem}.operation-item{display:inline-flex;align-items:center;gap:.35rem;font-size:.8rem;color:#475569;background:#f1f5f9;padding:.3rem .6rem;border-radius:3px}.operation-item svg{color:#64748b}.scenario-expanded{border-top:1px solid #e2e8f0;padding-top:1rem;display:flex;flex-direction:column;gap:1rem;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.detail-section{display:flex;flex-direction:column;gap:.5rem}.detail-section h4{display:flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600;color:#475569;margin:0}.detail-section h4 svg{color:#64748b}.operation-flow{display:flex;flex-direction:column;gap:0;padding:.5rem 0}.flow-step{display:flex;align-items:flex-start;gap:.75rem}.flow-number{width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#475569;border-radius:50%;font-size:.7rem;font-weight:700;flex-shrink:0}.flow-text{font-size:.85rem;color:#64748b;line-height:1.5;padding-top:.1rem}.flow-arrow{color:#cbd5e1;font-size:1rem;padding-left:.65rem;line-height:1}.memory-diagram{font-family:Monaco,Menlo,monospace;font-size:.75rem;line-height:1.4;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;padding:.75rem;border-radius:3px;margin:0;overflow-x:auto;white-space:pre}.redis-commands{display:flex;flex-direction:column;gap:.4rem}.redis-commands code{font-family:Monaco,Menlo,monospace;font-size:.75rem;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;padding:.5rem .75rem;border-radius:3px;display:block}.learning-goals-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.4rem}.learning-goals-list li{display:flex;align-items:flex-start;gap:.5rem;font-size:.85rem;color:#64748b;line-height:1.5}.learning-goals-list li svg{color:#10b981;flex-shrink:0;margin-top:.2rem}.scenario-actions{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.action-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.5rem .875rem;border-radius:3px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .15s ease;border:none}.action-btn.primary{background:#1e293b;color:#fff}.action-btn.primary:hover{background:#334155}.action-btn.secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.action-btn.secondary:hover{background:#e2e8f0}.action-btn.secondary svg{transition:transform .2s ease}.action-btn.secondary svg.rotate{transform:rotate(90deg)}.action-btn.tertiary{background:transparent;color:#64748b;border:1px solid #e2e8f0}.action-btn.tertiary:hover{background:#f8fafc;color:#475569}.scenarios-footer{background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:2rem;text-align:center}.footer-content h3{font-size:1.5rem;font-weight:600;color:#1e293b;margin:0 0 .75rem}.footer-content p{font-size:1rem;color:#64748b;margin:0 0 1.5rem}.footer-actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}.cta-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.625rem 1.25rem;border-radius:3px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease;border:none}.cta-btn.primary{background:#1e293b;color:#fff}.cta-btn.primary:hover{background:#334155}.cta-btn.secondary{background:transparent;color:#475569;border:1px solid #e2e8f0}.cta-btn.secondary:hover{background:#f8fafc}.video-embed{border:1px solid #e2e8f0;border-radius:4px;overflow:hidden;background:#fff}.video-embed-header{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0}.video-embed-title{font-weight:600;color:#1e293b}.video-embed-desc{color:#64748b;margin-left:.5rem}.video-embed-preview{background:#f8fafc}.video-embed-thumbnail,.video-embed-placeholder{background:#1e293b}.play-icon{background:#ffffff1a}@media (max-width: 768px){.scenarios-container{padding:0 1rem}.scenarios-header h1{font-size:1.75rem}.intro-grid,.featured-video-grid,.scenarios-grid{grid-template-columns:1fr}.complexity-row{flex-direction:column;align-items:flex-start}.scenario-actions{flex-direction:column}.action-btn{width:100%}.footer-actions{flex-direction:column}.cta-btn{width:100%;justify-content:center}}.video-card{background:#1e293b;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s;border:1px solid #334155}.video-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px #0000004d;border-color:#475569}.video-card-thumbnail{position:relative;aspect-ratio:16 / 9;background:linear-gradient(135deg,#0f172a,#1e293b);display:flex;align-items:center;justify-content:center}.video-card-accent-bar{position:absolute;top:0;left:0;right:0;height:3px}.video-card-play-btn{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#3b82f6e6;transition:transform .2s,background .2s}.video-card:hover .video-card-play-btn{transform:scale(1.05);background:#3b82f6}.video-card-play-btn svg{color:#fff;margin-left:2px}.video-card-duration{position:absolute;bottom:8px;right:8px;background:#000c;color:#fff;padding:2px 8px;font-size:11px;font-family:monospace}.video-card-category{position:absolute;top:8px;left:8px;background:#0009;color:#94a3b8;padding:2px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.video-card-content{padding:14px}.video-card-title{color:#f8fafc;font-size:15px;font-weight:600;margin:0 0 6px;line-height:1.3}.video-card-description{color:#94a3b8;font-size:13px;margin:0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.video-gallery-page{min-height:calc(100vh - 70px);background:#0f172a;padding:2rem 0}.video-gallery-container{max-width:1200px;margin:0 auto;padding:0 1.5rem}.gallery-header{text-align:center;margin-bottom:2.5rem}.back-btn{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:1px solid #334155;color:#94a3b8;padding:.5rem 1rem;cursor:pointer;font-size:.875rem;margin-bottom:1.5rem;transition:all .2s}.back-btn:hover{background:#1e293b;color:#f8fafc;border-color:#475569}.gallery-title{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:.75rem}.gallery-title h1{color:#f8fafc;font-size:2rem;font-weight:700;margin:0}.title-icon{color:#3b82f6}.gallery-subtitle{color:#94a3b8;font-size:1rem;margin:0}.category-filter{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:2rem;flex-wrap:wrap}.category-filter svg{color:#64748b}.category-btn{padding:.5rem 1rem;background:#1e293b;border:1px solid #334155;color:#94a3b8;cursor:pointer;font-size:.875rem;transition:all .2s}.category-btn:hover{background:#334155;color:#f8fafc}.category-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.category-btn{display:inline-flex;align-items:center;gap:.375rem}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-bottom:2.5rem}.video-stats{display:flex;justify-content:center;gap:3rem;margin-bottom:2rem;padding:1.5rem;background:#1e293b;border:1px solid #334155}.stat-item{text-align:center}.stat-value{display:block;font-size:2rem;font-weight:700;color:#3b82f6}.stat-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.gallery-footer{text-align:center;padding:2rem;color:#64748b;font-size:.875rem}.difficulty-legend{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:2rem;padding:.875rem 1.25rem;background:#1e293b;border:1px solid #334155}.legend-title{color:#94a3b8;font-size:.875rem;font-weight:500}.legend-item{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}.category-section{margin-bottom:2.5rem}.category-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid #3b82f6}.category-header h2{color:#f8fafc;font-size:1.25rem;font-weight:700;margin:0}.category-icon{color:#3b82f6}.category-count{color:#64748b;font-size:.875rem;margin-left:auto}.video-card-wrapper{position:relative}.difficulty-badge{position:absolute;top:.75rem;right:.75rem;padding:.25rem .625rem;border-radius:9999px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;z-index:10;box-shadow:0 2px 4px #0003}.learning-objectives-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:.5rem;padding:1rem;background:#1e293b;border:1px solid #475569;border-radius:.5rem;min-width:280px;max-width:320px;z-index:100;box-shadow:0 10px 25px #0000004d;animation:tooltipFadeIn .2s ease-out}.learning-objectives-tooltip h4{color:#f8fafc;font-size:.875rem;font-weight:600;margin:0 0 .5rem;padding-bottom:.5rem;border-bottom:1px solid #334155}.learning-objectives-tooltip ul{margin:0;padding:0;list-style:none}.learning-objectives-tooltip li{color:#94a3b8;font-size:.8rem;position:relative;padding:.25rem 0 .25rem 1rem}.learning-objectives-tooltip li:before{content:"✓";position:absolute;left:0;color:#22c55e;font-weight:700}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%) translateY(5px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@media (max-width: 768px){.video-gallery-container{padding:0 1rem}.gallery-title h1{font-size:1.5rem}.video-grid{grid-template-columns:1fr}.category-filter{gap:.5rem}.video-stats{gap:1.5rem;padding:1rem}.stat-value{font-size:1.5rem}}.chapter-content{background:#fff;padding:2rem 0}.chapter-content h1{font-size:2.25rem;font-weight:800;color:#1a202c;margin:0 0 2rem;padding-bottom:1rem;border-bottom:3px solid #0ea5e9}.chapter-content h2{font-size:1.5rem;font-weight:700;color:#1a202c;margin:2rem 0 1rem}.chapter-content h3{font-size:1.125rem;font-weight:600;color:#1a202c;margin:1.5rem 0 .75rem}.chapter-content section{margin-bottom:2rem}.chapter-content p{font-size:1rem;line-height:1.8;color:#4a5568;margin:1rem 0}.chapter-content ul,.chapter-content ol{margin:1rem 0;padding-left:1.5rem}.chapter-content li{font-size:1rem;line-height:1.8;color:#4a5568;margin:.5rem 0}.chapter-content code{background:#e2e8f0;padding:.125rem .375rem;font-family:Monaco,Menlo,monospace;font-size:.9em;color:#0ea5e9}.chapter-content strong{color:#1a202c;font-weight:600}.chapter-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;background:#fff}.chapter-content th,.chapter-content td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e2e8f0}.chapter-content th{background:#f8fafc;font-weight:600;color:#1a202c}.chapter-content td{color:#4a5568}.chapter-content tbody tr:hover{background:#f8fafc}.info-box{background:#f0f9ff;border-left:4px solid #0ea5e9;padding:1rem 1.25rem;margin:1.5rem 0}.info-box h4{margin:0 0 .5rem;color:#0ea5e9;font-size:1rem;font-weight:600}.info-box p{margin:0}.encoding-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin:1.5rem 0}.encoding-card{background:#f8fafc;padding:1.25rem;border-left:4px solid #0ea5e9}.encoding-card h3{color:#0ea5e9;font-size:1rem;margin-top:0}.encoding-card ul{padding-left:1.25rem;margin-bottom:0}.encoding-card li{font-size:.9rem;margin:.4rem 0}.comparison-table{margin:1.5rem 0}.comparison-table th{background:transparent;color:#fff}.comparison-table tbody tr:nth-child(2n){background:#f8fafc}.faq-section{display:flex;flex-direction:column;gap:1.5rem}.faq-item{background:#f8fafc;padding:1.25rem;border-left:4px solid #0ea5e9}.faq-item h3{font-size:1.0625rem;font-weight:600;color:#1a202c;margin:0 0 .75rem}.faq-item p{margin:.5rem 0}.faq-item ol,.faq-item ul{margin:.75rem 0}.example-box{background:#fafafa;border:1px solid #e2e8f0;padding:1.25rem;margin:1.5rem 0}.example-box h4{margin:0 0 1rem;color:#1a202c;font-size:1rem;font-weight:600}.memory-viz{background:#1a202c;color:#e2e8f0;padding:1.25rem;margin:1.5rem 0;font-family:Monaco,Menlo,monospace;font-size:.875rem;overflow-x:auto}.memory-viz .label{color:#0ea5e9}.memory-viz .value{color:#4ade80}.memory-viz .comment{color:#6b7280}.process-steps{counter-reset:step;list-style:none;padding-left:0}.process-steps li{position:relative;padding-left:2.5rem;margin-bottom:1rem}.process-steps li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;width:1.75rem;height:1.75rem;background:#0ea5e9;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:600}.key-points{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding:1.25rem;margin:1.5rem 0}.key-points h4{margin:0 0 .75rem;color:#0ea5e9;font-size:1rem;font-weight:600}.pro-con{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0}.pro-con-box{padding:1rem}.pro-con-box.pro{background:#f0fdf4;border-left:4px solid #22c55e}.pro-con-box.con{background:#fef2f2;border-left:4px solid #ef4444}.pro-con-box h4{margin:0 0 .5rem;font-size:.9rem;font-weight:600}.pro-con-box.pro h4{color:#22c55e}.pro-con-box.con h4{color:#ef4444}.pro-con-box ul{margin:0;padding-left:1.25rem}.pro-con-box li{font-size:.9rem;margin:.25rem 0}@media (max-width: 768px){.chapter-content{padding:1rem 0}.chapter-content h1{font-size:1.75rem}.chapter-content h2{font-size:1.25rem}.encoding-cards,.pro-con{grid-template-columns:1fr}}.chapter-content .process-steps li strong{display:block;color:#1a202c;margin-bottom:.5rem}.chapter-content .process-steps li p{margin:.5rem 0;color:#4a5568}.chapter-content .process-steps li ul{margin:.5rem 0 0 1.5rem}.chapter-content .info-box ul{margin:.5rem 0 0 1.5rem;padding-left:0}.chapter-content .info-box li{margin:.4rem 0;font-size:.95rem}.chapter-content .example-box code{margin-top:1rem}.chapter-content .example-box>p{color:#4a5568;margin-bottom:.75rem}.code-block-container{position:relative;margin:1rem 0;border-radius:4px;overflow:hidden;box-shadow:none;border:1px solid #3e3e3e}.code-block-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.25rem;background:#1e1e1e;border-bottom:1px solid #3e3e3e}.code-block-title{color:#d4d4d4;font-size:.875rem;font-weight:600;font-family:Fira Code,Consolas,Monaco,monospace}.copy-button{display:flex;align-items:center;gap:.5rem;padding:.4rem .75rem;background:#2d2d2d;color:#d4d4d4;border:1px solid #3e3e3e;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s}.copy-button:hover{background:#3e3e3e;border-color:#4e4e4e}.copy-button:active{transform:scale(.95)}.copy-button-floating{position:absolute;top:.75rem;right:.75rem;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#2d2d2d;color:#d4d4d4;border:1px solid #3e3e3e;border-radius:4px;cursor:pointer;transition:all .2s;opacity:.7}.copy-button-floating:hover{opacity:1;background:#3e3e3e;border-color:#4e4e4e}.copy-button-floating:active{transform:scale(.95)}.code-block-container pre{margin:0!important}.code-block-container code{font-family:Fira Code,Consolas,Monaco,monospace!important;font-size:.9rem!important;line-height:1.6!important}.code-block-container .linenumber{color:#858585!important;min-width:2.5em!important;padding-right:1em!important;text-align:right!important;-webkit-user-select:none;user-select:none}.alert{display:flex;gap:.75rem;padding:.75rem 1rem;margin:1rem 0;border-radius:4px;border-left:3px solid;transition:all .2s}.alert:hover{transform:none}.alert-icon{flex-shrink:0;display:flex;align-items:flex-start;padding-top:.2rem}.alert-content{flex:1}.alert-title{font-weight:700;font-size:1rem;margin-bottom:.5rem;letter-spacing:.3px}.alert-body{font-size:.95rem;line-height:1.7;color:inherit}.alert-body p{margin:0}.alert-body strong{font-weight:600}.alert-info{background:#eff6ff;border-left-color:#3b82f6;color:#1e40af}.alert-info .alert-icon{color:#3b82f6}.alert-info .alert-title{color:#1e40af}.alert-warning{background:#fef3c7;border-left-color:#f59e0b;color:#92400e}.alert-warning .alert-icon{color:#f59e0b}.alert-warning .alert-title{color:#92400e}.alert-success{background:#dcfce7;border-left-color:#10b981;color:#166534}.alert-success .alert-icon{color:#10b981}.alert-success .alert-title{color:#166534}.alert-tip{background:#ecfeff;border-left-color:#10b981;color:#0f766e}.alert-tip .alert-icon{color:#10b981}.alert-tip .alert-title{color:#0f766e}.alert code{background:#00000014;padding:.2em .4em;border-radius:4px;font-family:Fira Code,Consolas,Monaco,monospace;font-size:.9em;font-weight:600}.alert-warning code{background:#f59e0b26;color:#92400e}.alert-info code{background:#3b82f626;color:#1e40af}.alert-success code{background:#10b98126;color:#166534}.alert-tip code{background:#a855f726;color:#0f766e}.chapter-page{animation:fadeIn .3s ease-in}.chapter-header{margin-bottom:1.5rem}.chapter-title{font-size:2rem;font-weight:800;color:#0f172a;margin:0 0 .75rem}.chapter-subtitle{font-size:1rem;color:#64748b;margin:0;line-height:1.6}.chapter-section{margin:1.75rem 0}.section-title{font-size:1.375rem;font-weight:700;color:#0f172a;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #3b82f6}.section-subtitle{font-size:1.125rem;font-weight:600;color:#334155;margin:1.25rem 0 .75rem}.section-content p{font-size:1rem;line-height:1.7;color:#475569;margin:.75rem 0}.section-content ul,.section-content ol{font-size:1rem;line-height:1.7;color:#475569;margin:.75rem 0;padding-left:1.25rem}.section-content li{margin:.375rem 0}.section-content code{background:#f1f5f9;padding:.125rem .375rem;font-family:Monaco,Menlo,monospace;font-size:.9em;color:#3b82f6;font-weight:500}.code-block{background:#1e293b;overflow:hidden;margin:1.25rem 0;position:relative}.code-block:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#3b82f6}.code-header{background:#334155;padding:.625rem 1rem;display:flex;justify-content:space-between;align-items:center}.code-filename{color:#94a3b8;font-size:.8rem;font-weight:600;font-family:Monaco,Menlo,monospace}.github-link{display:flex;align-items:center;gap:.5rem;color:#60a5fa;text-decoration:none;font-size:.8rem;font-weight:500;transition:all .2s}.github-link:hover{color:#93c5fd}.code-block pre{margin:0;padding:1.25rem;overflow-x:auto}.code-block code{background:none;color:#e2e8f0;font-family:Monaco,Menlo,monospace;font-size:.85rem;line-height:1.6;padding:0;font-weight:400}.code-line{display:block;padding:.125rem 0;transition:background .3s ease}.code-line:hover{background:#3b82f626}.info-box{background:#eff6ff;padding:1.25rem;border-left:3px solid #3b82f6;margin:1.25rem 0}.info-box-title{font-size:1rem;font-weight:600;color:#1e40af;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.info-box-content{color:#1e40af;font-size:.95rem;line-height:1.5}.info-box-content ul{margin:.5rem 0;padding-left:1.25rem}.info-box-content li{margin:.375rem 0}.warning-box{background:#fef3c7;padding:1.25rem;border-left:3px solid #f59e0b;margin:1.25rem 0}.warning-box-title{font-size:1rem;font-weight:600;color:#78350f;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.warning-box-content{color:#92400e;font-size:.95rem;line-height:1.5}.success-box{background:#d1fae5;padding:1.25rem;border-left:3px solid #10b981;margin:1.25rem 0}.success-box-title{font-size:1rem;font-weight:600;color:#065f46;margin:0 0 .75rem;display:flex;align-items:center;gap:.5rem}.success-box-content{color:#047857;font-size:.95rem;line-height:1.5}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin:1.5rem 0}.feature-card{background:#f0f9ff;padding:1.25rem;border-left:3px solid #0ea5e9;transition:all .2s ease}.feature-card:hover{background:#e0f2fe}.feature-card-title{font-size:1rem;font-weight:600;color:#0c4a6e;margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem}.feature-card-content{font-size:.9rem;color:#0369a1;line-height:1.5;margin:0}.comparison-table{width:100%;border-collapse:collapse;margin:1.5rem 0;background:#f8fafc}.comparison-table thead{background:#0ea5e9;color:#fff}.comparison-table th,.comparison-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e2e8f0}.comparison-table th{font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.comparison-table td{color:#475569;font-size:.9rem}.comparison-table tbody tr:hover{background:#e0e7ff}.comparison-table code{background:#fff;color:#0ea5e9;font-weight:600}.steps-list{counter-reset:step-counter;list-style:none;padding:0;margin:1.5rem 0}.step-item{counter-increment:step-counter;position:relative;padding-left:2.5rem;margin-bottom:1.5rem;animation:slideIn .3s ease-out;animation-fill-mode:both}.step-item:nth-child(1){animation-delay:0ms}.step-item:nth-child(2){animation-delay:.1s}.step-item:nth-child(3){animation-delay:.2s}.step-item:nth-child(4){animation-delay:.3s}.step-item:before{content:counter(step-counter);position:absolute;left:0;top:0;width:1.75rem;height:1.75rem;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}.step-title{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 .375rem}.step-description{color:#64748b;line-height:1.5;margin:0;font-size:.95rem}.highlight-box{background:#fef9c3;padding:1.25rem;border-left:3px solid #eab308;margin:1.25rem 0}.highlight-content{color:#713f12;font-size:1rem;line-height:1.5;font-weight:500}.chapter-navigation{display:flex;justify-content:space-between;margin-top:3rem;padding-top:1.5rem;border-top:2px solid #e2e8f0}.nav-button{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:#3b82f6;color:#fff;text-decoration:none;font-weight:600;font-size:.9rem;transition:all .2s}.nav-button:hover{background:#2563eb}.nav-button.prev:hover{background:#64748b}.flow-diagram{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:1.5rem 0;flex-wrap:wrap}.flow-step{background:#e0f2fe;padding:.75rem 1rem;border-left:3px solid #0ea5e9;text-align:center;animation:flowIn .4s ease-out;animation-fill-mode:both}.flow-step:nth-child(1){animation-delay:0ms}.flow-step:nth-child(2){animation-delay:.1s}.flow-step:nth-child(3){animation-delay:.2s}.flow-step:nth-child(4){animation-delay:.3s}.flow-step:nth-child(5){animation-delay:.4s}.flow-arrow{color:#94a3b8;font-size:1.25rem}.code-block.with-line-numbers{counter-reset:line-number}.code-line-annotated{display:flex;flex-direction:row}.code-line-number{min-width:2.5rem;padding-right:1rem;color:#64748b;text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid #334155;margin-right:1rem;opacity:.6}.code-line-content{flex:1;padding:.125rem 0}.code-line-content:hover{background:#3b82f626}.code-comment{color:#6b7280;font-style:italic}.code-keyword{color:#c084fc;font-weight:600}.code-function{color:#60a5fa}.code-variable{color:#34d399}.code-string{color:#fbbf24}.code-number{color:#f472b6}.code-execution-flow{margin:1.5rem 0;padding:1.25rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem}.execution-flow-title{font-size:1rem;font-weight:600;color:#0f172a;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.execution-step{display:flex;align-items:flex-start;gap:1rem;padding:.75rem 0;border-bottom:1px solid #e2e8f0}.execution-step:last-child{border-bottom:none}.execution-step-number{min-width:1.75rem;height:1.75rem;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:.75rem;font-weight:700}.execution-step-content{flex:1}.execution-step-title{font-size:.95rem;font-weight:600;color:#1e293b;margin-bottom:.25rem}.execution-step-desc{font-size:.875rem;color:#64748b;line-height:1.5}.execution-step-code{margin-top:.5rem;padding:.5rem .75rem;background:#1e293b;color:#e2e8f0;font-family:Monaco,Menlo,monospace;font-size:.8rem;border-radius:.25rem}.inline-annotation{position:relative;display:inline-block}.inline-annotation:hover .annotation-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.annotation-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%) translateY(5px);padding:.5rem .75rem;background:#0f172a;color:#f8fafc;font-size:.75rem;white-space:nowrap;border-radius:.25rem;opacity:0;visibility:hidden;transition:all .2s ease;z-index:10;box-shadow:0 4px 12px #0000004d}.variable-tracker{margin:1.5rem 0;padding:1rem;background:#fffbeb;border-left:3px solid #f59e0b}.variable-tracker-title{font-size:.9rem;font-weight:600;color:#78350f;margin-bottom:.75rem}.variable-item{display:flex;align-items:center;gap:.75rem;padding:.375rem 0;font-size:.85rem}.variable-name{font-family:Monaco,Menlo,monospace;font-weight:600;color:#3b82f6;min-width:80px}.variable-value{font-family:Monaco,Menlo,monospace;color:#059669}.variable-desc{color:#64748b;font-size:.8rem}.code-jump-indicator{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;background:#dbeafe;color:#1e40af;font-size:.75rem;font-weight:600;border-radius:.25rem;cursor:help}.code-jump-indicator:hover{background:#bfdbfe}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@keyframes flowIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.chapter-title{font-size:1.75rem}.section-title{font-size:1.25rem}.card-grid{grid-template-columns:1fr}.code-block pre{padding:1rem;font-size:.8rem}.flow-diagram{flex-direction:column}.flow-arrow{transform:rotate(90deg)}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #dc2626;--secondary-color: #f97316;--success-color: #16a34a;--warning-color: #eab308;--bg-primary: #ffffff;--bg-secondary: #f8fafc;--bg-tertiary: #f1f5f9;--text-primary: #0f172a;--text-secondary: #475569;--text-tertiary: #94a3b8;--border-color: #e2e8f0;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-secondary);color:var(--text-primary);line-height:1.5}code{font-family:Monaco,Menlo,Ubuntu Mono,Courier New,monospace}.app{min-height:100vh;display:flex;flex-direction:column}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes slideIn{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}.fade-in{animation:fadeIn .3s ease-out}.pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.text-center{text-align:center}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}
