.settings-toggle{position:absolute;top:16px;right:16px;width:40px;height:40px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:10}.settings-toggle:hover{background:#ffffff26;border-color:#e10600}.settings-toggle svg{width:20px;height:20px;color:#ffffffb3;transition:all .3s ease}.settings-toggle:hover svg{color:#fff;transform:rotate(45deg)}@media(max-width:768px){.settings-toggle{width:32px;height:32px;top:12px;right:12px}.settings-toggle svg{width:16px;height:16px}}@media(max-width:480px){.settings-toggle{width:28px;height:28px;top:10px;right:10px;border-radius:8px}.settings-toggle svg{width:14px;height:14px}}.settings-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:all .3s ease;z-index:1001}.settings-overlay.open{opacity:1;visibility:visible}.settings-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.95);background:#1a1a1ef2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);border-radius:16px;width:90%;max-width:400px;max-height:80vh;overflow-y:auto;opacity:0;visibility:hidden;transition:all .3s ease;z-index:1002;box-shadow:0 25px 50px -12px #00000080}.settings-panel.open{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.settings-panel::-webkit-scrollbar{width:6px}.settings-panel::-webkit-scrollbar-track{background:#ffffff0d;border-radius:8px}.settings-panel::-webkit-scrollbar-thumb{background:#fff3;border-radius:8px}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.settings-header h3{margin:0;font-size:16px;font-weight:700;color:#fff;letter-spacing:.5px}.settings-close{width:32px;height:32px;background:#ffffff1a;border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.settings-close:hover{background:#e106004d}.settings-close svg{width:16px;height:16px;color:#ffffffb3}.settings-close:hover svg{color:#fff}.settings-content{padding:16px 20px}.settings-section{margin-bottom:20px}.settings-section:last-child{margin-bottom:0}.settings-section-title{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#888;margin-bottom:12px}.settings-option-group{display:flex;flex-direction:column;gap:8px}.settings-option{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:10px;cursor:pointer;transition:all .2s ease}.settings-option:hover{background:#ffffff14;border-color:#e1060080}.settings-option.selected{background:#e106001a;border-color:#e10600}.settings-option input[type=radio]{display:none}.settings-option .option-content{display:flex;align-items:center;gap:12px;flex:1}.settings-option .option-icon{width:36px;height:36px;background:#ffffff1a;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.settings-option.selected .option-icon{background:#e1060033}.settings-option .option-icon svg{width:20px;height:20px;color:#fff9}.settings-option.selected .option-icon svg{color:#e10600}.settings-option .option-text{display:flex;flex-direction:column;gap:2px}.settings-option .option-label{font-size:14px;font-weight:600;color:#fff}.settings-option .option-description{font-size:12px;color:#ffffff80}.settings-option .option-check{width:24px;height:24px;background:#ffffff1a;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.8);transition:all .2s ease;flex-shrink:0}.settings-option.selected .option-check{opacity:1;transform:scale(1);background:#e10600}.settings-option .option-check svg{width:12px;height:12px;color:#fff}@font-face{font-family:Formula1;src:url(/fonts/headers/Formula1-Regular_web_0.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Formula1;src:url(/fonts/headers/Formula1-Bold_web_0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Formula1-Wide;src:url(/fonts/headers/Formula1-Wide_web_0.ttf) format("truetype");font-weight:400;font-style:normal}*{margin:0;padding:0;box-sizing:border-box}html,body{width:100%;height:100%;overflow:hidden}body{font-family:Titillium Web,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#000;color:#fff;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}h1,h2,h3,h4,h5,h6{font-family:Formula1,Arial,sans-serif}#app{width:100%;height:100%;position:fixed;inset:0}canvas{display:block;width:100%;height:100%}.lil-gui{--background-color: rgba(0, 0, 0, .85);--widget-color: rgba(255, 255, 255, .1);--focus-color: #e10600;--hover-color: rgba(255, 255, 255, .15);--font-size: 13px;--name-width: 45%;--slider-knob-width: 3px;z-index:1000}.lil-gui.root{position:fixed;top:20px;right:20px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.lil-gui .title{background:#e1060033;border-bottom:1px solid rgba(255,255,255,.1)}.info-overlay{position:absolute;top:20px;left:20px;background:#000000b3;padding:15px 20px;border-radius:8px;font-size:14px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);z-index:100}.info-overlay h2{margin:0 0 10px;font-size:18px;color:#e10600;font-weight:600}.info-overlay p{margin:5px 0;color:#ccc}.info-overlay strong{color:#fff}.circuit-select{width:100%;padding:8px 12px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:4px;color:#fff;font-size:14px;font-family:inherit;cursor:pointer;transition:all .2s}.circuit-select:hover{background:#ffffff26;border-color:#ffffff4d}.circuit-select:focus{outline:none;border-color:#e10600;background:#ffffff26}.circuit-select option{background:#1a1a1a;color:#fff}.controls-info{position:absolute;bottom:20px;right:20px;background:#000000b3;padding:15px 20px;border-radius:8px;font-size:13px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);z-index:100}.controls-info h3{margin:0 0 8px;font-size:14px;color:#e10600;font-weight:600}.controls-info ul{list-style:none;margin:0;padding:0}.controls-info li{margin:4px 0;color:#999}.controls-info kbd{display:inline-block;padding:2px 6px;background:#ffffff1a;border-radius:3px;font-family:monospace;font-size:12px;color:#fff;margin-right:5px}.loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:200}.loading h2{font-size:24px;margin-bottom:10px;color:#e10600}.loading p{color:#999}.spinner{width:50px;height:50px;margin:20px auto;border:4px solid rgba(255,255,255,.1);border-top-color:#e10600;border-radius:50%;animation:spin 1s linear infinite}.pov-hud{position:fixed;bottom:130px;left:50%;transform:translate(-50%) scale(.9);width:1200px;height:300px;pointer-events:none;display:none;font-family:Orbitron,sans-serif;color:#fff;z-index:1000}.pov-hud.active{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.hud-layout-grid{display:flex;align-items:flex-end;justify-content:space-between;width:100%;padding:0 40px}.side-input{display:flex;flex-direction:column;gap:12px;margin-bottom:40px}.side-input.left{align-items:flex-start;transform:perspective(500px) rotateY(15deg) skew(-10deg)}.side-input.right{align-items:flex-end;transform:perspective(500px) rotateY(-15deg) skew(10deg)}.input-label-pro{font-size:14px;font-weight:900;color:#fff6;letter-spacing:3px;margin-bottom:5px}.segments-pro{display:flex;gap:5px}.seg-pro{width:8px;height:45px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);transform:skew(-20deg)}.seg-pro.throttle.active{background:#00ff41;box-shadow:0 0 15px #00ff41b3}.seg-pro.brake.active{background:red;box-shadow:0 0 15px #ff0000b3}.central-cluster-pro{display:flex;flex-direction:column;align-items:center;background:#0c0c0cf2;padding:20px 60px;border-radius:40px 40px 10px 10px;border:1.5px solid rgba(225,6,0,.4);border-top:3px solid #e10600;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);position:relative;min-width:450px;box-shadow:0 10px 40px #000000e6}.speed-row-pro{display:flex;align-items:baseline;gap:25px}.speed-group-pro{display:flex;flex-direction:column;align-items:center}.val-kmh-pro{font-size:54px;font-weight:900;line-height:1;color:#fff}.val-mph-pro{font-size:32px;font-weight:700;color:#fff9}.unit-label-pro{font-size:11px;font-weight:800;color:#ffffff4d;margin-top:-5px}.gear-row-pro{display:flex;align-items:center;gap:15px;margin-top:5px;padding-top:10px;border-top:1px solid rgba(255,255,255,.05)}.gear-st-pro{font-size:18px;font-weight:700;color:#fff3;transition:all .1s ease}.gear-st-pro.active{font-size:36px;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.5)}.gear-st-pro.neighbor{font-size:22px;color:#ffffff80}.rpm-container-pro{position:absolute;bottom:-5px;width:100%;height:4px;background:#ffffff0d;overflow:hidden}.rpm-fill-pro{height:100%;width:0%;background:linear-gradient(to right,#fff,#fff 60%,#fff000,red);transition:width .05s linear}.driver-tag-pro{align-self:flex-start;margin-top:25px;margin-left:100px;background:linear-gradient(to right,rgba(225,6,0,.2),transparent);border-left:3px solid #e10600;padding:6px 20px;display:flex;align-items:center;gap:15px}.dr-name-pro{font-size:18px;font-weight:900;letter-spacing:1px}.dr-status-pro{font-size:14px;color:#e10600;font-weight:700}.drs-badge-pro{position:absolute;top:-35px;background:#000;border:1px solid rgba(0,255,65,.2);padding:3px 12px;font-size:11px;font-weight:900;color:#00ff4133;border-radius:2px}.drs-badge-pro.active{background:#00ff41;color:#000;box-shadow:0 0 10px #00ff41}@keyframes hud-shake{0%{transform:translate(0)}25%{transform:translate(.5px,-.5px)}50%{transform:translate(-.5px,.5px)}75%{transform:translate(.5px,.5px)}to{transform:translate(0)}}.shake-active{animation:hud-shake .05s linear infinite}.data-fetcher{font-family:Inter,sans-serif;padding:24px;background:#1a1a1e80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:16px;border:1px solid #2a2a2e;max-width:1200px;width:calc(100% - 80px);max-height:90vh;overflow-y:auto;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1000;box-shadow:0 25px 50px -12px #00000080}.data-fetcher::-webkit-scrollbar{width:6px}.data-fetcher::-webkit-scrollbar-track{background:#ffffff0d;border-radius:8px}.data-fetcher::-webkit-scrollbar-thumb{background:#fff3;border-radius:8px}.data-fetcher::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.data-fetcher-header{text-align:center;margin-bottom:24px}.data-fetcher-header .logo-container{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:4px}.data-fetcher-header .logo-icon{width:40px;height:40px;background:linear-gradient(135deg,#e10600,#c00500);border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #e106004d}.data-fetcher-header .logo-icon svg{width:24px;height:24px;color:#fff}.data-fetcher-header h1{font-size:32px;font-weight:900;letter-spacing:-.5px;color:#fff;margin:0}@media(max-width:768px){.data-fetcher-header h1{font-size:22px}}@media(max-width:480px){.data-fetcher-header h1{font-size:18px}}@media(max-width:360px){.data-fetcher-header h1{font-size:16px}}.data-fetcher-header .divider{height:2px;width:96px;background:linear-gradient(90deg,transparent,#e10600,transparent);margin:0 auto;border-radius:2px}.section{margin-bottom:20px}.section-title{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#888;margin-bottom:10px}.option-grid{display:grid;gap:8px}.option-grid.years{grid-template-columns:repeat(5,1fr);max-height:180px;overflow-y:auto}.option-grid.races{grid-template-columns:repeat(4,1fr);max-height:180px;overflow-y:auto}.option-grid.sessions{grid-template-columns:repeat(4,1fr)}.option-card{position:relative;background:#1a1a1e;border:2px solid #2a2a2e;border-radius:8px;padding:10px;cursor:pointer;transition:all .2s ease;text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:52px}.option-card:hover{border-color:#e10600;background:#1f1f23}.option-card.selected{border-color:#e10600;box-shadow:0 4px 12px #e1060040}.option-card .check-icon{position:absolute;top:6px;right:6px;width:16px;height:16px;background:#e10600;border-radius:50%;display:none;align-items:center;justify-content:center}.option-card.selected .check-icon{display:flex}.option-card .check-icon svg{width:10px;height:10px;color:#fff}.option-card .cached-badge{position:absolute;top:6px;left:6px;background:#22c55e;color:#fff;font-size:8px;font-weight:700;padding:2px 5px;border-radius:4px;letter-spacing:.5px}.option-card.cached{border-color:#22c55e66}.option-card.cached:not(.selected):hover{border-color:#e10600}.option-card .round-label{font-size:10px;font-weight:700;color:#e10600;margin-bottom:2px}.option-card .option-text{font-size:12px;font-weight:600;color:#fff;line-height:1.3}.token-section{margin-top:1rem}.required-badge{display:inline-block;font-size:10px;font-weight:700;color:#e10600;background:#e106001a;padding:2px 6px;border-radius:4px;margin-left:8px;letter-spacing:.5px}.token-input-container{display:flex;justify-content:center}.token-input{width:100%;padding:12px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:14px;font-family:Courier New,monospace;transition:all .2s ease}.token-input:focus{outline:none;border-color:#e10600;background:#ffffff14;box-shadow:0 0 0 3px #e106001a}.token-input::placeholder{color:#ffffff4d}.load-button-container{display:flex;justify-content:center;padding-top:8px;margin-bottom:0}.load-button{background:linear-gradient(90deg,#e10600,#c00500);color:#fff;font-weight:900;font-size:16px;padding:16px 40px;border:none;border-radius:12px;cursor:pointer;letter-spacing:.5px;box-shadow:0 10px 30px #e1060066;transition:all .2s ease;width:100%;font-family:Inter,sans-serif}.load-button:hover{transform:scale(1.03);box-shadow:0 12px 35px #e1060080}.load-button:active{transform:scale(1)}.load-button:disabled{opacity:.6;cursor:not-allowed;transform:none}#message-container{margin-top:0}.message{padding:14px;border-radius:8px;font-size:14px;font-weight:500;animation:slideIn .3s ease;text-align:center}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.message.success{background:linear-gradient(135deg,#0f5132,#198754);color:#d1e7dd;border:1px solid rgba(75,181,67,.3)}.message.error{background:linear-gradient(135deg,#58151c,#842029);color:#f8d7da;border:1px solid rgba(220,53,69,.3)}.terminal-container{opacity:0;max-height:0;overflow:hidden;transition:all .3s ease;margin-top:1rem;background:#0a0a0a;border:1px solid rgba(255,255,255,.1);border-radius:8px;font-family:Courier New,monospace}.terminal-container.active{opacity:1;max-height:400px;animation:slideIn .3s ease}.terminal-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#ffffff0d;border-bottom:1px solid rgba(255,255,255,.1)}.terminal-title{font-size:.85rem;color:#ffffff80;text-transform:uppercase;letter-spacing:1px;font-family:F1Regular,sans-serif}.terminal-controls{display:flex;gap:6px}.terminal-dot{width:12px;height:12px;border-radius:50%;background:#fff3}.terminal-dot:nth-child(1){background:#ff5f56}.terminal-dot:nth-child(2){background:#ffbd2e}.terminal-dot:nth-child(3){background:#27c93f}.terminal-output{padding:1rem;max-height:300px;overflow-y:auto;font-size:.85rem;line-height:1.6;color:#fff}.terminal-output::-webkit-scrollbar{width:8px}.terminal-output::-webkit-scrollbar-track{background:#ffffff0d}.terminal-output::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.terminal-output::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.terminal-line{margin-bottom:.5rem;padding:.25rem 0}.terminal-line:before{content:"> ";color:#e10600;font-weight:700;margin-right:.5rem}.terminal-info{color:#ffffffb3}.terminal-success{color:#27c93f}.terminal-error{color:#ff5f56}.loading-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite;margin-right:8px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.option-grid.races::-webkit-scrollbar{width:6px}.option-grid.races::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.option-grid.races::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}@media(max-width:768px){.option-grid.years{grid-template-columns:repeat(3,1fr)}.option-grid.races,.option-grid.sessions{grid-template-columns:repeat(2,1fr)}}.option-card.skeleton{pointer-events:none;cursor:default}.option-card.skeleton .skeleton-round{height:10px;width:60%;margin:0 auto 4px;background:linear-gradient(90deg,#2a2a2e 25%,#3a3a3e,#2a2a2e 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s ease-in-out infinite;border-radius:4px}.option-card.skeleton .skeleton-text{height:12px;width:80%;margin:0 auto;background:linear-gradient(90deg,#2a2a2e 25%,#3a3a3e,#2a2a2e 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s ease-in-out infinite;border-radius:4px}.placeholder-message{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#fff6;text-align:center;border:2px dashed rgba(255,255,255,.1);border-radius:8px;background:#ffffff05}.placeholder-message.compact{grid-column:1 / -1;padding:10px;min-height:52px}.placeholder-message.compact svg{display:none}.placeholder-message.compact p{font-size:12px;line-height:1.3;margin:0}.placeholder-message svg{margin-bottom:16px;opacity:.3}.placeholder-message p{margin:0;font-size:14px;font-weight:500}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:768px){.data-fetcher{top:20px;bottom:20px;transform:translate(-50%);max-height:calc(100vh - 40px)}.option-grid{grid-template-columns:1fr!important;max-height:none;overflow-y:visible}.option-grid.years,.option-grid.races,.option-grid.sessions{grid-template-columns:1fr!important}}@media(max-width:480px){.data-fetcher{top:16px;bottom:16px;max-height:calc(100vh - 32px);width:calc(100% - 32px);padding:16px}}.playback-progress-container{position:absolute;bottom:110px;left:340px;right:260px;height:70px;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:1000;overflow:visible;padding-bottom:60px;margin-bottom:-60px}.playback-progress-container.dragging{cursor:grabbing!important}.playback-progress-bar{position:absolute;top:15px;left:0;width:100%;height:20px;background:#14141499;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:10px;overflow:hidden;z-index:1;box-shadow:0 4px 20px #0006,inset 0 1px #ffffff0d}.playback-progress-fill{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#00a832,#00d142,#00a832);border-radius:10px 0 0 10px;box-shadow:0 0 15px #00b43280,inset 0 1px #fff3;transition:width .05s linear}.lap-marker{position:absolute;top:15px;height:20px;width:1px;background:#ffffff14;pointer-events:none;z-index:2}.lap-number{position:absolute;top:40px;transform:translate(-50%);font-size:9px;color:#fff6;font-family:Monaco,Consolas,monospace;font-weight:500}.markers-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10;overflow:visible}.event-marker.dnf{position:absolute;top:2px;color:#f44;font-weight:700;font-size:12px;line-height:1;text-shadow:0 0 6px rgba(255,0,0,.6),0 0 3px rgba(0,0,0,.8);transform:translate(-50%);z-index:20;pointer-events:auto;cursor:pointer}.flag-segment{position:absolute;top:5px;height:8px;min-width:6px;border-radius:4px;z-index:100;box-shadow:0 2px 8px #0006;border:none;pointer-events:auto;cursor:pointer}.flag-segment.yellow{background:linear-gradient(180deg,#ffe033,#ffc800);box-shadow:0 2px 10px #ffc80066}.flag-segment.red{background:linear-gradient(180deg,#ff4040,#c00);box-shadow:0 2px 10px #e1060066}.flag-segment.sc{background:linear-gradient(180deg,#fa3,#f80);box-shadow:0 2px 10px #f806}.playhead{position:absolute;top:12px;height:26px;width:3px;background:linear-gradient(180deg,#fff,#ccc);border-radius:2px;z-index:15;pointer-events:none;box-shadow:0 0 8px #fff9,0 2px 4px #0000004d}.playback-legend{position:absolute;right:0;top:50%;transform:translate(calc(100% + 15px),-50%);display:flex;flex-direction:row;gap:8px;background:#14141499;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:6px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 20px #0000004d}.legend-item{display:flex;align-items:center;gap:5px}.legend-symbol{width:10px;height:10px;border-radius:2px;display:inline-block;box-shadow:0 1px 3px #0000004d}.legend-symbol.yellow-flag{background:linear-gradient(180deg,#ffe033,#ffc800)}.legend-symbol.red-flag{background:linear-gradient(180deg,#ff4040,#c00)}.legend-symbol.sc-flag{background:linear-gradient(180deg,#fa3,#f80)}.legend-label{font-size:9px;color:#ffffffb3;font-family:Monaco,Consolas,monospace;font-weight:500;letter-spacing:.2px;white-space:nowrap}.playback-tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%) translateY(-8px);background:#141414cc;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;padding:8px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.1);font-size:12px;font-family:Monaco,Consolas,monospace;white-space:nowrap;pointer-events:none;z-index:100;display:none;box-shadow:0 4px 15px #0000004d}.playback-progress-container:hover .playback-tooltip{display:block}.integrated-controls{position:absolute;bottom:-40px;left:0;width:100%;display:flex;justify-content:center;pointer-events:none;z-index:50;opacity:0;transform:translateY(5px);transition:opacity .3s ease,transform .3s ease}.playback-progress-container:hover .integrated-controls{opacity:1;transform:translateY(0)}.controls-pill{display:flex;align-items:center;gap:15px;background:#0f0f0fe6;padding:6px 18px;border-radius:25px;border:1px solid rgba(255,255,255,.15);box-shadow:0 4px 15px #0009;pointer-events:auto;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.int-ctrl-btn{background:transparent;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s,filter .2s;opacity:.8}.int-ctrl-btn img{filter:drop-shadow(0 0 2px black)}.int-ctrl-btn:hover{transform:scale(1.1);opacity:1}.int-ctrl-btn.main-play{background:#e1060026;border-radius:50%;padding:8px;margin:0 5px}.int-ctrl-btn.small{padding:2px}.int-speed-group{display:flex;align-items:center;gap:6px;background:#ffffff0d;padding:3px 10px;border-radius:12px;margin-left:5px}.int-speed-text{font-size:10px;font-weight:700;color:#ffd200;min-width:32px;text-align:center}.int-divider{width:1px;height:20px;background:#ffffff26;margin:0 8px}.int-mode-group{display:flex;align-items:center}.int-mode-select{background:#ffffff14;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;font-size:11px;font-family:Monaco,Consolas,monospace;padding:5px 28px 5px 10px;cursor:pointer;outline:none;transition:all .2s ease;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}.int-mode-select:hover{background-color:#ffffff1f;border-color:#ffffff40}.int-mode-select:focus{border-color:#00b43299;box-shadow:0 0 8px #00b4324d}.int-mode-select option{background:#1a1a1a;color:#fff;padding:8px}.int-time-display{display:none}@media(max-width:768px),(hover:none)and (pointer:coarse){.playback-progress-container{left:50%;right:auto;transform:translate(-50%);width:calc(100% - 30px);max-width:400px;bottom:50px;height:50px;padding-bottom:0;margin-bottom:0;overflow:visible}.playback-progress-bar{top:10px;height:16px;border-radius:8px}.playback-progress-fill{border-radius:8px 0 0 8px}.lap-marker{top:10px;height:16px}.lap-number{top:30px;font-size:7px}.playhead{top:7px;height:22px;width:2px}.flag-segment{top:3px;height:6px;min-width:4px;border-radius:3px}.playback-legend{display:none}.integrated-controls,.playback-progress-container:hover .integrated-controls,.playback-progress-container .integrated-controls{position:fixed!important;bottom:-40px!important;left:50%!important;transform:translate(-50%)!important;top:auto!important;width:auto!important;opacity:1!important;z-index:1001;margin:0!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}.controls-pill{gap:8px;padding:5px 12px;border-radius:20px}.int-ctrl-btn{padding:3px}.int-ctrl-btn img{width:18px;height:18px}.int-ctrl-btn.main-play{padding:6px}.int-ctrl-btn.main-play img{width:20px;height:20px}.int-speed-group{gap:4px;padding:2px 6px;border-radius:10px}.int-speed-text{font-size:9px;min-width:28px}.int-divider{height:16px;margin:0 4px}.int-mode-group,.int-time-display{display:none}.playback-tooltip{font-size:10px;padding:6px 10px}}@media(max-width:480px){.playback-progress-container{width:calc(100% - 20px);bottom:55px}.integrated-controls,.playback-progress-container:hover .integrated-controls,.playback-progress-container .integrated-controls{position:fixed!important;bottom:5px!important;left:50%!important;transform:translate(-50%)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}.controls-pill{gap:6px;padding:4px 10px}.int-ctrl-btn img{width:16px;height:16px}.int-ctrl-btn.main-play img{width:18px;height:18px}.int-speed-group{padding:2px 5px}.int-speed-text{font-size:8px;min-width:24px}}.playback-controls{position:fixed;bottom:80px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:20px;background:#000000d9;padding:16px 24px;border-radius:12px;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;box-shadow:0 4px 20px #00000080}.controls-left,.controls-right{display:flex;align-items:center;gap:8px}.controls-center{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:400px}.control-btn{background:transparent;border:none;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.control-btn img{filter:drop-shadow(0 0 2px black)}.control-btn:hover{background:#e106004d;border-color:#e1060099;transform:scale(1.05)}.control-btn:active{transform:scale(.95)}.control-btn svg{pointer-events:none}.speed-display{font-size:14px;font-weight:600;color:#e10600;min-width:48px;text-align:center;background:#e106001a;padding:8px 12px;border-radius:6px;border:1px solid rgba(225,6,0,.3)}.mode-selector{display:flex;align-items:center;gap:8px;margin-left:16px;padding-left:16px;border-left:1px solid rgba(255,255,255,.2)}.mode-label{font-size:11px;color:#fff9;text-transform:uppercase;letter-spacing:.5px}.mode-dropdown{background:#00ff0026;border:1px solid rgba(0,255,0,.4);border-radius:6px;color:#0f0;font-size:12px;font-weight:600;padding:8px 12px;cursor:pointer;outline:none;transition:all .2s ease}.mode-dropdown:hover{background:#00ff0040;border-color:#0f09}.mode-dropdown:focus{box-shadow:0 0 0 2px #00ff004d}.mode-dropdown option{background:#1a1a1a;color:#fff}.progress-slider{width:100%;height:6px;-webkit-appearance:none;appearance:none;background:#fff3;border-radius:3px;outline:none;cursor:pointer}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:#e10600;border-radius:50%;cursor:pointer;transition:all .2s ease}.progress-slider::-webkit-slider-thumb:hover{transform:scale(1.2);box-shadow:0 0 10px #e1060099}.progress-slider::-moz-range-thumb{width:16px;height:16px;background:#e10600;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease}.progress-slider::-moz-range-thumb:hover{transform:scale(1.2);box-shadow:0 0 10px #e1060099}.time-display{font-size:12px;color:#ffffffb3;font-family:Monaco,Courier New,monospace}.keyboard-legend{position:fixed;bottom:180px;background:#00000080;padding:15px;border-radius:8px;color:#fff;font-family:Inter,sans-serif;pointer-events:none;z-index:1000}.keyboard-legend h3{margin:0 0 10px;font-size:14px;font-weight:700;opacity:.9}.legend-row{display:flex;align-items:center;gap:10px;margin-bottom:5px;font-size:11px}.legend-row kbd{background:#333;padding:2px 6px;border-radius:4px;font-family:monospace;min-width:20px;text-align:center;box-shadow:0 2px #111}.legend-row span{opacity:.7}@media(max-width:768px){.playback-controls{flex-direction:column;gap:12px;padding:12px 16px}.controls-center{min-width:280px}.keyboard-hints{display:none}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.control-btn.active{animation:pulse 1s infinite}.team-color-redbull{background:#4781d7}.team-color-mercedes{background:#00d7b6}.team-color-ferrari{background:#ed1131}.team-color-mclaren{background:#f47600}.team-color-astonmartin{background:#229971}.team-color-alpine{background:#00a1e8}.team-color-williams{background:#1868db}.team-color-racingbulls{background:#6c98ff}.team-color-kicksauber{background:#01c00e}.team-color-haas{background:#9c9fa2}.leaderboard{position:fixed;top:50%;transform:translateY(-50%);left:40px;background:#000000e6;border:1px solid rgba(255,255,255,.15);border-radius:8px 8px 0 0;padding:0;width:240px;overflow-y:visible;font-family:Titillium Web,Arial,sans-serif;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:900;box-shadow:0 4px 20px #00000080}.leaderboard-header{background:#000;padding:8px 15px;border-bottom:2px solid rgba(255,255,255,.2);text-align:center}.leaderboard-header .f1-logo{height:28px;width:auto;object-fit:contain}.lap-counter{background:#000;padding:8px 15px;text-align:center;border-bottom:2px solid rgba(255,255,255,.1);font-size:.9em;display:flex;justify-content:center;align-items:baseline;gap:4px}.lap-counter .lap-label{font-family:Titillium Web,Arial,sans-serif;font-weight:400;color:#fff}.lap-counter .lap-current{font-family:Formula1,Arial,sans-serif;font-weight:700;color:#fff}.lap-counter .lap-total{font-family:Formula1,Arial,sans-serif;font-weight:400;color:#ffffffb3}.lap-separator{margin:5px auto;width:60%;height:2px;background:#fff;border-radius:50%}.race-flag-banner{text-align:center;padding:0 15px;font-size:.85em;font-weight:700;font-family:Formula1,Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;overflow:hidden;max-height:0;opacity:0;transform:translateY(-100%);transition:max-height .35s ease-out,padding .35s ease-out,opacity .25s ease-out,transform .35s ease-out}.race-flag-banner.visible{max-height:40px;padding:8px 15px;opacity:1;transform:translateY(0)}.race-flag-banner.yellow{background:gold;color:#000;border-bottom:2px solid #B8A000}.race-flag-banner.red{background:#dc143c;color:#fff;border-bottom:2px solid #8B0000}.race-flag-banner.safety-car{background:gold;color:#000;border-bottom:2px solid #B8A000;display:flex;align-items:center;justify-content:center;gap:8px}.race-flag-banner .flag-logo{height:18px;width:auto;object-fit:contain}.race-flag-banner.vsc{background:gold;color:#000;border-bottom:2px solid #B8A000}.leaderboard-entries{display:flex;flex-direction:column;padding:0;background:transparent;position:relative}.leaderboard-entry{display:flex;align-items:center;background:transparent;transition:transform .4s cubic-bezier(.16,1,.3,1),background .3s ease;cursor:pointer;position:absolute;top:0;left:0;width:100%;height:28px}.leaderboard-entry:hover{background:#ffffff14;transform:translate(-3px)}.leaderboard-entry.out{opacity:.6}.leaderboard-entry.out .driver-code{color:#fff9}.leaderboard-entry.out .driver-right{color:#ffffff80}.leaderboard-entry:hover{background:linear-gradient(to left,rgba(var(--driver-rgb),.3),transparent) no-repeat right / 50% 100%!important;box-shadow:none}.leaderboard-entry.selected{background:linear-gradient(to left,rgba(var(--driver-rgb),.6),transparent) no-repeat right / 50% 100%!important;box-shadow:none}.leaderboard-entry.selected .driver-left,.leaderboard-entry.selected .driver-right,.leaderboard-entry:hover .driver-left,.leaderboard-entry:hover .driver-right{background:transparent!important}.leaderboard-entry.selected .position{color:#fff;text-shadow:0 0 10px rgba(255,255,255,.8)}.driver-left{display:flex;align-items:center;background:#000;flex:1;min-width:0;height:28px}.leaderboard-entry .position{background:transparent;color:#fff;width:32px;height:28px;text-align:center;font-weight:700;font-size:13px;line-height:28px;border-radius:0;flex-shrink:0}.leaderboard-entry.leader .position{background:#e10600!important;color:#fff}.team-color-line{width:2px;height:20px;margin:0 10px 0 8px;flex-shrink:0}.leaderboard-entry .team-logo{width:18px;height:18px;object-fit:contain;filter:brightness(1);transition:filter .2s;margin-right:8px;flex-shrink:0}.leaderboard-entry:hover .team-logo{filter:brightness(1.2)}.leaderboard-entry.out .team-logo{opacity:.5}.leaderboard-entry .driver-code{font-weight:700;font-family:Formula1,Arial,sans-serif;font-size:13px;color:#fff;display:flex;align-items:center;gap:6px;flex:1;min-width:0}.leaderboard-entry .out-label{font-size:.7em;color:#f44;background:#f443;padding:2px 5px;border-radius:3px;font-weight:400}.leaderboard-entry .pit-label{font-size:11px;font-style:italic;font-weight:500;letter-spacing:.5px;text-transform:uppercase;margin-right:4px;opacity:0;transition:opacity .3s ease-in-out;pointer-events:none}.leaderboard-entry .pit-label.visible{opacity:1;pointer-events:auto}.driver-right{background:#0009;font-size:13px;padding:0 10px;text-align:right;color:#fff;min-width:70px;height:28px;display:flex;align-items:center;justify-content:flex-end;gap:6px}.position-change{display:inline-flex;align-items:center;gap:3px;font-size:12px}.position-change.up{color:#0f0}.position-change.down{color:#f44}.position-change.same{color:#888}.interval-time{font-size:13px;color:#fff;font-weight:400}.leaderboard-entry .indicators{display:flex;align-items:center;gap:5px}.leaderboard-entry .drs-indicator{width:8px;height:8px;border-radius:50%;background:#80808066;transition:background .3s,box-shadow .3s}.leaderboard-entry .drs-indicator.active{background:#0f0;box-shadow:0 0 8px #0f0}.leaderboard-entry .tyre-indicator{width:20px;height:20px;object-fit:contain;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}.leaderboard::-webkit-scrollbar{width:6px}.leaderboard::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.leaderboard::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.leaderboard::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.leaderboard.qualifying-mode{width:240px}.quali-header{background:#000;padding:8px 15px;display:flex;justify-content:center;align-items:center;gap:6px;border-bottom:2px solid rgba(255,255,255,.1);font-size:.9em}.quali-timer{font-family:Titillium Web,Arial,sans-serif;font-weight:700;font-size:1em;color:#fff;letter-spacing:1px}.quali-timer.warning{color:gold;animation:timer-pulse 1s ease-in-out infinite}.quali-timer.ended{color:#e10600}.quali-timer.paused{color:#ff6b6b;animation:timer-paused-pulse 1.5s ease-in-out infinite}@keyframes timer-paused-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes timer-pulse{0%,to{opacity:1}50%{opacity:.5}}.quali-phase{font-family:Titillium Web,Arial,sans-serif;font-weight:400;font-size:1em;color:#fff;letter-spacing:1px}.qualifying-mode .leaderboard-entry,.qualifying-mode .driver-left,.qualifying-mode .driver-right{height:28px}.driver-right.quali-times{min-width:70px;gap:6px}.quali-time{font-family:Titillium Web,Arial,sans-serif;font-size:13px;font-weight:400;color:#fff}.quali-time.best-time{font-weight:400}.eliminated-label{font-family:Titillium Web,Arial,sans-serif;font-size:10px;font-weight:600;color:#fff;background:transparent;padding:2px 6px;border-radius:2px;letter-spacing:.5px}.leaderboard-entry.danger-zone{background:linear-gradient(to right,#ff444426,#ff444440)!important}.leaderboard-entry.danger-zone .position{background:#ff44444d;color:#ff6b6b}.leaderboard-entry.danger-zone:hover{background:linear-gradient(to right,#ff444440,#ff444459)!important}.leaderboard-entry.eliminated{opacity:.6}.leaderboard-entry.eliminated .driver-code{color:#fff9}.leaderboard-entry.eliminated .quali-time{color:#ffffff80}.qualifying-mode .leaderboard-entry.leader{background:linear-gradient(to right,rgba(0,200,0,.1),transparent)!important}.qualifying-mode .leaderboard-entry.leader .position{background:#e10600;color:#fff}.sector-purple{color:#a020f0!important;text-shadow:0 0 5px rgba(160,32,240,.5)}.sector-green{color:#0f0!important}.sector-yellow{color:gold!important}@media(max-width:768px),(hover:none)and (pointer:coarse){.leaderboard{left:10px;top:10px;transform:none;width:200px;max-height:60vh;display:flex;flex-direction:column;overflow:hidden}.leaderboard-entries{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;position:relative;display:flex;flex-direction:column}.leaderboard-entry{position:relative!important;transform:none!important;min-height:26px;height:26px;order:var(--position, 0)}.leaderboard-entries{max-height:230px}.driver-left{height:26px}.driver-right{min-width:55px;font-size:11px;height:26px}.leaderboard-entry .position{width:26px;height:26px;font-size:11px;line-height:26px}.leaderboard-entry .driver-code{font-size:11px}.leaderboard-entry .team-logo{width:14px;height:14px;margin-right:6px}.team-color-line{height:16px;margin:0 6px 0 4px}.leaderboard.qualifying-mode{width:200px}.quali-time{font-size:10px}.leaderboard-header{padding:6px 10px;flex-shrink:0}.leaderboard-header .f1-logo{height:22px}.lap-counter{padding:6px 10px;font-size:.8em;flex-shrink:0}.quali-header,.race-flag-banner{flex-shrink:0}}@media(max-width:480px){.leaderboard{left:5px;top:5px;width:180px;max-height:50vh}.leaderboard-entry{height:24px;min-height:24px}.driver-left{height:24px}.driver-right{height:24px;min-width:50px;font-size:10px;padding:0 6px}.leaderboard-entry .position{width:24px;height:24px;font-size:10px;line-height:24px}.leaderboard-entry .driver-code{font-size:10px}.leaderboard-entry .team-logo{width:12px;height:12px;margin-right:4px}.team-color-line{height:14px;margin:0 4px}.leaderboard.qualifying-mode{width:180px}}@media(max-width:768px),(hover:none)and (pointer:coarse){.leaderboard-entries::-webkit-scrollbar{width:4px}.leaderboard-entries::-webkit-scrollbar-track{background:#ffffff0d;border-radius:2px}.leaderboard-entries::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:2px}.leaderboard-entries::-webkit-scrollbar-thumb:hover{background:#fff6}}.weather-widget{position:fixed;top:40px;right:40px;background:#000000e6;border:1px solid rgba(255,255,255,.15);border-radius:8px;width:180px;font-family:Titillium Web,Arial,sans-serif;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:100;box-shadow:0 4px 20px #00000080;overflow:hidden}.weather-header{background:#000;padding:10px 14px;border-bottom:2px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;font-family:Formula1,Arial,sans-serif;color:#fff;letter-spacing:1px}.weather-header .weather-icon{width:16px;height:16px;color:gold}.weather-content{padding:10px 14px}.weather-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05)}.weather-row:last-child{border-bottom:none}.weather-label{font-size:10px;color:#ffffffb3;text-transform:uppercase;letter-spacing:.5px}.weather-value{font-size:12px;font-weight:500;color:#fff}.weather-value.dry{color:#00d7b6}.weather-value.raining{color:#00a1e8;animation:rain-pulse 1.5s ease-in-out infinite}@keyframes rain-pulse{0%,to{opacity:1}50%{opacity:.6}}@media(max-width:768px){.weather-widget{right:10px;top:10px;width:160px}.weather-label{font-size:9px}.weather-value{font-size:11px}}.sector-timing-widget{position:fixed;top:50%;right:40px;transform:translateY(-50%);background:#000000e6;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:0;min-width:280px;font-family:Titillium Web,Arial,sans-serif;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:900;box-shadow:0 4px 20px #00000080}.sector-header{background:#000;padding:10px 15px;border-bottom:2px solid rgba(255,255,255,.2)}.sector-label{font-family:Titillium Web,Arial,sans-serif;font-weight:600;font-size:.85em;color:#fff;letter-spacing:1px}.sector-entries{padding:10px}.sector-entry{display:flex;align-items:center;gap:8px;padding:6px 8px;margin-bottom:4px;background:#ffffff0d;border-radius:4px;border-left:3px solid rgb(var(--driver-rgb))}.sector-entry:last-child{margin-bottom:0}.sector-driver{font-family:Formula1,Arial,sans-serif;font-weight:700;font-size:13px;color:#fff;width:40px}.sector-time{font-family:Formula1,Arial,sans-serif;font-size:12px;color:#888;width:50px;text-align:center;padding:2px 4px;border-radius:2px;transition:all .3s ease}.sector-time.purple{color:#a020f0;background:#a020f033;text-shadow:0 0 8px rgba(160,32,240,.6);font-weight:700}.sector-time.green{color:#0f0;background:#00ff0026}.sector-time.yellow{color:gold;background:#ffd70026}.sector-time.none{color:#666}.lap-time{font-family:Formula1,Arial,sans-serif;font-size:13px;font-weight:700;color:#fff;margin-left:auto;padding:2px 8px;background:#ffffff1a;border-radius:3px}.lap-time.pb{color:#0f0;background:#0f03}.no-active{color:#666;font-size:12px;text-align:center;padding:15px;font-style:italic}.quali-timer-widget{position:fixed;top:20px;left:50%;transform:translate(-50%);background:#000000e6;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:12px 25px;font-family:Titillium Web,Arial,sans-serif;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;box-shadow:0 4px 20px #00000080;display:flex;align-items:center;gap:20px}.timer-phase{font-family:Formula1,Arial,sans-serif;font-weight:700;font-size:1.2em;padding:4px 12px;border-radius:4px;letter-spacing:1px}.timer-phase.q1{background:gold;color:#000}.timer-phase.q2{background:#ff6b00;color:#fff}.timer-phase.q3{background:#e10600;color:#fff}.timer-countdown{font-family:Formula1,Arial,sans-serif;font-size:2em;font-weight:700;color:#fff;letter-spacing:2px}.timer-countdown.warning{color:gold;animation:pulse 1s ease-in-out infinite}.timer-countdown.critical{color:#e10600;animation:pulse .5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.timer-status{font-size:.85em;color:#888;text-transform:uppercase;letter-spacing:1px}.timer-status.active{color:#0f0}.timer-status.paused{color:gold}.timer-status.ended{color:#e10600}.sector-bests-summary{display:flex;gap:15px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.1)}.best-sector{display:flex;flex-direction:column;align-items:center;gap:2px}.best-sector-label{font-size:10px;color:#888;text-transform:uppercase}.best-sector-time{font-family:Formula1,Arial,sans-serif;font-size:11px;color:#a020f0;font-weight:700}.best-sector-driver{font-size:9px;color:#666}@media(max-width:768px){.sector-timing-widget{right:10px;min-width:240px}.quali-timer-widget{padding:8px 15px;gap:12px}.timer-countdown{font-size:1.5em}.timer-phase{font-size:1em}}
