:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box}html{background:linear-gradient(180deg,#2d2d5a,#1a1a2e 40%,#0a0a15);background-attachment:fixed;margin:0;padding:0;width:100%;overflow-x:hidden;overflow-y:auto}body{margin:0;padding:0;width:100%;max-width:100vw;overflow-x:hidden;overflow-y:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;min-height:100vh;color:#eee}#root{width:100%;min-height:100vh}.app{min-height:100vh;width:100%}.landing-page{min-height:100vh;width:100%;max-width:100vw;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;margin:0 auto;position:relative;box-sizing:border-box}.landing-content{display:flex;flex-direction:column;align-items:center;text-align:center;margin:0 auto;margin-top:-5vh;padding-bottom:5rem;width:100%;max-width:600px}.landing-logo{margin-bottom:2rem}.landing-logo img{max-width:300px;max-height:200px;width:auto;height:auto;filter:drop-shadow(0 4px 20px rgba(0,0,0,.5))}.logo-placeholder{display:flex;flex-direction:column;align-items:center;gap:.5rem}.logo-placeholder.hidden{display:none}.logo-placeholder .logo-icon{font-size:4rem}.logo-placeholder .logo-text{font-size:2rem;font-weight:700;color:#4ade80}.landing-welcome{margin-bottom:2.5rem;max-width:500px}.landing-welcome p{margin:.5rem 0;font-size:1.2rem;color:#ccd;line-height:1.6}.landing-welcome .welcome-subtitle{font-size:1rem;color:#889;font-style:italic}.landing-enter-btn{padding:1rem 3rem;font-size:1.2rem;font-weight:600;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 15px #22c55e4d}.landing-enter-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #22c55e66}.landing-enter-btn:active{transform:translateY(0)}.landing-quick-links{position:absolute;bottom:2rem;display:flex;gap:2rem}.landing-quick-links a{color:#6b7280;text-decoration:none;font-size:.9rem;transition:color .2s}.landing-quick-links a:hover{color:#9ca3af}.landing-quick-links .link-divider{color:#4b5563}.landing-quick-links .logout-link{background:none;border:none;color:#6b7280;font-size:.9rem;cursor:pointer;transition:color .2s;padding:0}.landing-quick-links .logout-link:hover{color:#9ca3af}.control-panel{display:flex;gap:2rem;align-items:flex-start;justify-content:center;margin-top:1.5rem;min-height:200px;width:100%}.control-buttons{display:flex;flex-direction:column;gap:.75rem;align-items:center}.control-btn{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;background:#ffffff0d;color:#ccd;border:1px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;transition:all .2s ease;min-width:180px}.control-btn:hover{background:#ffffff1a;border-color:#fff3}.control-btn.selected{background:#22c55e33;border-color:#22c55e;color:#4ade80}.control-btn-icon{font-size:1.25rem}.control-btn-label{font-size:1rem}.access-panel{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.5rem;min-width:260px;text-align:center}.access-panel h3{margin:0 0 .25rem;font-size:1.1rem;color:#fff}.access-panel-subtitle{margin:0 0 1rem;font-size:.9rem;color:#889}.access-panel form{display:flex;flex-direction:column;gap:.75rem}.access-panel input{padding:.75rem 1rem;font-size:1rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#fff;text-align:center}.access-panel input:focus{outline:none;border-color:#22c55e;background:#ffffff26}.access-panel input::placeholder{color:#667}.access-error{color:#f87171;font-size:.85rem;margin:0}.access-panel-buttons{display:flex;gap:.5rem;margin-top:.5rem}.access-panel .btn-cancel{flex:1;padding:.6rem 1rem;font-size:.9rem;background:#ffffff1a;color:#aaa;border:1px solid rgba(255,255,255,.1);border-radius:6px;cursor:pointer;transition:all .2s}.access-panel .btn-cancel:hover{background:#ffffff26}.access-panel .btn-submit{flex:1;padding:.6rem 1rem;font-size:.9rem;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.access-panel .btn-submit:hover:not(:disabled){filter:brightness(1.1)}.access-panel .btn-submit:disabled{opacity:.5;cursor:not-allowed}.rotate-banner{position:fixed;top:.5rem;right:.5rem;background:#e94560;color:#fff;padding:.5rem .75rem;border-radius:6px;z-index:9999;display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-weight:500;box-shadow:0 2px 8px #0000004d;max-width:calc(100% - 1rem)}.rotate-banner .rotate-icon{font-size:1.2rem;animation:rotate-hint 1.5s ease-in-out infinite}@keyframes rotate-hint{0%,to{transform:rotate(0)}25%{transform:rotate(-15deg)}75%{transform:rotate(15deg)}}.rotate-banner span{flex:1}.rotate-banner button{background:transparent;border:none;color:#fff;font-size:1.1rem;cursor:pointer;padding:0;line-height:1;opacity:.8}.rotate-banner button:hover{opacity:1}.header{background:#16213e;padding:1rem 2rem;display:flex;align-items:center;gap:2rem;flex-wrap:wrap}.header h1{margin:0;font-size:1.5rem;color:#e94560}.nav{display:flex;gap:.5rem}.nav button,.class-toggle button{background:#0f3460;border:none;color:#eee;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-size:.9rem}.nav button:hover,.class-toggle button:hover{background:#1a4a7a}.nav button.active,.class-toggle button.active{background:#e94560}.class-toggle{display:flex;gap:.5rem;margin-left:auto}.view-toggle{background:#2a4a6a;border:1px solid #3a5a7a;color:#aaa;padding:.4rem .8rem;border-radius:4px;cursor:pointer;font-size:.85rem;margin-left:1rem;transition:all .2s}.view-toggle:hover{background:#3a5a7a;color:#fff}.view-toggle.active{background:#e94560;border-color:#e94560;color:#fff}.main{padding:1.5rem 2rem}.page-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.page-header h2{margin:0}.page-header .back-link{color:#aaa;text-decoration:none;font-size:.9rem}.page-header .back-link:hover{color:#4ade80}.page-header select{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;font-size:1rem}.btn-add{background:#28a745;border:none;color:#fff;padding:.5rem 1rem;cursor:pointer;border-radius:4px}.btn-add:hover{background:#218838}.btn-export{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-size:.9rem}.btn-export:hover{background:#1a4a7a}.btn-export:disabled{opacity:.5;cursor:not-allowed}.btn-guest{background:#e94560;border:none;color:#fff;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-size:.9rem;font-weight:500}.btn-guest:hover{background:#d63850}.btn-refresh{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-size:.9rem}.btn-refresh:hover{background:#1a4a7a}.kiosk-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;background:#0f34604d;border-radius:8px}.kiosk-buttons .button-group{display:flex;gap:.5rem}.kiosk-buttons .divider{width:1px;background:#1a4a7a;margin:0 .25rem}.btn-kiosk{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.25rem;border-radius:6px;text-decoration:none;font-size:.9rem;font-weight:600;transition:all .1s ease;cursor:pointer;text-shadow:0 1px 1px rgba(0,0,0,.3)}.btn-kiosk:hover{transform:translateY(-2px)}.btn-kiosk:active{transform:translateY(2px)}.btn-kiosk.cashier{background:linear-gradient(to bottom,#34d058,#28a745);color:#fff;border:2px solid #1e7e34;border-top-color:#5fe07a;border-left-color:#5fe07a;box-shadow:0 3px #1a6b2c,0 4px 8px #0000004d}.btn-kiosk.cashier:hover{background:linear-gradient(to bottom,#5fe07a,#34d058);box-shadow:0 5px #1a6b2c,0 6px 10px #00000059}.btn-kiosk.cashier:active{box-shadow:0 1px #1a6b2c,0 2px 4px #0000004d}.btn-kiosk.tech{background:linear-gradient(to bottom,#20c5dc,#17a2b8);color:#fff;border:2px solid #117a8b;border-top-color:#5fd4e8;border-left-color:#5fd4e8;box-shadow:0 3px #0e6272,0 4px 8px #0000004d}.btn-kiosk.tech:hover{background:linear-gradient(to bottom,#5fd4e8,#20c5dc);box-shadow:0 5px #0e6272,0 6px 10px #00000059}.btn-kiosk.tech:active{box-shadow:0 1px #0e6272,0 2px 4px #0000004d}.btn-kiosk.times{background:linear-gradient(to bottom,#f25672,#e94560);color:#fff;border:2px solid #c42d48;border-top-color:#f8899a;border-left-color:#f8899a;box-shadow:0 3px #a3253c,0 4px 8px #0000004d}.btn-kiosk.times:hover{background:linear-gradient(to bottom,#f8899a,#f25672);box-shadow:0 5px #a3253c,0 6px 10px #00000059}.btn-kiosk.times:active{box-shadow:0 1px #a3253c,0 2px 4px #0000004d}.btn-kiosk.heats{background:linear-gradient(to bottom,#ac6cc4,#9b59b6);color:#fff;border:2px solid #7d4496;border-top-color:#c99dda;border-left-color:#c99dda;box-shadow:0 3px #6a3a7e,0 4px 8px #0000004d}.btn-kiosk.heats:hover{background:linear-gradient(to bottom,#c99dda,#ac6cc4);box-shadow:0 5px #6a3a7e,0 6px 10px #00000059}.btn-kiosk.heats:active{box-shadow:0 1px #6a3a7e,0 2px 4px #0000004d}.toggle-label{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:#aaa;cursor:pointer}.toggle-label input[type=checkbox]{width:1rem;height:1rem}.driver-pay-input{display:flex;align-items:center;gap:.5rem;background:#0f3460;padding:.4rem .75rem;border-radius:4px}.driver-pay-input label{color:#aaa;font-size:.85rem;white-space:nowrap}.driver-pay-input input{width:70px;background:#1a4a7a;border:1px solid #2a5a8a;color:#eee;padding:.3rem .5rem;border-radius:4px;font-size:.9rem}.night-total{margin-left:auto;background:#1e4620;padding:.5rem 1rem;border-radius:4px;font-size:.95rem}.night-total .amount{color:#28a745;font-weight:700;font-size:1.1rem;margin-left:.5rem}.data-table{width:100%;border-collapse:collapse;background:#16213e;font-size:.85rem}.data-table th,.data-table td{padding:.5rem;text-align:left;border:1px solid #0f3460}.data-table th{background:#0f3460;font-weight:600}.table-scroll-wrapper .data-table thead th{position:sticky;top:0;z-index:10;background:#0f3460;box-shadow:0 2px 4px #0000004d}.data-table tr:nth-child(2n){background:#1a2744}.data-table tr:hover{background:#1e3a5f}.data-table .num{text-align:right;font-variant-numeric:tabular-nums}.data-table .total{font-weight:700;color:#28a745}.data-table .memo{font-size:.75rem;color:#aaa}.table-scroll-wrapper{max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;position:relative}.table-scroll-wrapper .data-table{min-width:max-content}.team-row{opacity:.6}.no-tech-row{background:#b43c3c4d!important}.no-tech-row:hover{background:#b43c3c66!important}.no-tech-label{color:#ff6b6b;font-size:.75rem;font-style:italic}.no-tech-row select:disabled,.no-tech-row input:disabled{opacity:.4;cursor:not-allowed}.unpaid-row{background:#ff646440!important}.unpaid-row:hover{background:#ff646459!important}.unpaid-row select:disabled,.unpaid-row input:disabled{opacity:.4;cursor:not-allowed}.rejected-row{background:#ff8c0040!important}.rejected-row:hover{background:#ff8c0059!important}.tech-status-cell{text-align:center}.tech-status.rejected{color:#ff6b6b;font-weight:600;font-size:.8rem;cursor:help}.designation-cell{text-align:center}.designation-badge{display:inline-block;padding:.15rem .4rem;border-radius:3px;font-size:.75rem;font-weight:700;text-transform:uppercase}.designation-badge.race{background:#28a745;color:#fff}.designation-badge.finale{background:#9b59b6;color:#fff}.designation-badge.skip-tt{background:#3498db;color:#fff}.designation-badge.team{background:#e67e22;color:#fff}.tech-header{text-align:center;font-size:.8rem}.tech-cell{text-align:center}.tech-cell input[type=checkbox]{width:1.1rem;height:1.1rem;cursor:pointer}.tech-cell input[type=checkbox]:checked{accent-color:#28a745}.standings-table .sponsor-cell{color:#ffc107;font-weight:700}.data-table .sponsor-cell{color:#ffc107;font-weight:700;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table .sponsor-cell:hover{white-space:normal;overflow:visible;position:relative;z-index:10;background:#1a4a7a}.race-table select{width:100%;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.25rem;font-size:.8rem}.race-table .roll-select{width:75px}.race-table input[type=checkbox]{width:1rem;height:1rem}.race-table .time-input{width:70px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.25rem;font-size:.8rem;text-align:right}.fastest-time-banner{background:linear-gradient(135deg,#1e4620,#0f3460);border:2px solid #28a745;border-radius:6px;padding:.75rem 1rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center}.fastest-time-banner.compact{padding:.5rem 1rem}.fastest-time-banner.compact>div{display:flex;align-items:center;gap:.75rem}.fastest-time-banner .label{color:#90ee90;font-size:.85rem;font-weight:600}.fastest-time-banner h3{margin:0;color:#90ee90}.fastest-time-banner .time{font-size:1.5rem;font-weight:700;color:#28a745;font-family:monospace}.fastest-time-banner.compact .time{font-size:1.25rem}.fastest-time-banner .driver{color:#eee;font-size:1rem;font-weight:500}.fastest-time-banner .class-badge{background:#0f3460;color:#aaa;padding:.2rem .5rem;border-radius:3px;font-size:.75rem;text-transform:uppercase}.fastest-driver{font-style:italic;font-weight:700;color:#28a745!important;text-transform:uppercase;letter-spacing:1px;transform:skew(-8deg);display:inline-block;text-shadow:1px 1px 2px rgba(0,0,0,.5)}.time-standings{margin-bottom:1.5rem}.time-rankings{background:#16213e;border-radius:8px;padding:1rem}.time-rankings h4{margin:0 0 .75rem;color:#e94560}.rankings-list{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.rank-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#0f3460;border-radius:4px;border-left:3px solid #1a4a7a}.rank-item.a-dash{border-left-color:#e94560}.rank-item.b-dash{border-left-color:#ffc107}.rank-item .rank{font-weight:700;font-size:1.1rem;min-width:24px;color:#aaa}.rank-item.a-dash .rank{color:#e94560}.rank-item.b-dash .rank{color:#ffc107}.rank-item .car{font-weight:700;color:#eee;min-width:45px}.rank-item .name{flex:1;color:#ccc}.rank-item .time{font-family:monospace;color:#28a745;min-width:70px;text-align:right}.rank-item .dash-label{font-weight:700;font-size:.9rem;padding:.15rem .4rem;border-radius:3px;min-width:20px;text-align:center}.rank-item.a-dash .dash-label{background:#e94560;color:#fff}.rank-item.b-dash .dash-label{background:#ffc107;color:#1a1a2e}.dash-lineups{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.dash-lineup{background:#16213e;border-radius:6px;padding:.5rem;flex:0 1 auto;max-width:100%}.dash-lineup.a-dash{border:2px solid #e94560}.dash-lineup.b-dash{border:2px solid #ffc107}.dash-lineup h4{margin:0 0 .4rem;text-align:center;font-size:.85rem}.dash-lineup.a-dash h4{color:#e94560}.dash-lineup.b-dash h4{color:#ffc107}.lineup-grid{display:grid;grid-template-columns:1fr 1fr;gap:.25rem}.lineup-car{background:#0f3460;border:1px solid #1a4a7a;border-radius:3px;padding:.25rem .4rem;text-align:center;min-width:70px;display:flex;flex-direction:column;align-items:center}.lineup-car.winner{background:linear-gradient(135deg,#2e7d32,#1b5e20);border:2px solid #4caf50;box-shadow:0 0 8px #4caf5080}.lineup-car .car-num{width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:900;color:#000;font-style:italic;letter-spacing:-1px}.lineup-car.winner .car-num{background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);color:#000}.lineup-car.rookie .car-num{background:linear-gradient(145deg,#fffef5,#fff9c4,#fff59d);color:#000}.car-num{position:relative}.rookie-circle{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transform:rotate(18deg)}.rookie-circle text{font-size:4.2px;font-weight:600;fill:#8b6914;letter-spacing:.4px;text-transform:uppercase}.lineup-car .driver-name{font-size:.65rem;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lineup-car .time{font-size:.6rem;color:#28a745;font-family:monospace}.dash-alternates{background:#16213e;border:2px solid #555;border-radius:6px;padding:.5rem;margin-top:.5rem}.dash-alternates h4{color:#888;margin:0 0 .4rem;text-align:center;font-size:.75rem;text-transform:uppercase}.alternates-grid{display:flex;gap:.5rem;justify-content:center}.alternate-car{background:#0f3460;border:1px dashed #555;border-radius:3px;padding:.25rem .5rem;text-align:center;min-width:80px}.alternate-car .alt-position{font-size:.6rem;color:#888;display:block}.alternate-car .car-num{width:40px;height:40px;margin:.25rem auto;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;color:#000;font-style:italic}.alternate-car .driver-name{font-size:.6rem;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alternate-car .time{font-size:.55rem;color:#28a745;font-family:monospace}.scratch-btn{position:absolute;top:2px;right:2px;background:#f44336cc;border:none;border-radius:50%;width:18px;height:18px;color:#fff;font-size:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.7;transition:opacity .2s;z-index:10}.scratch-btn:hover{opacity:1;background:#f44336}.lineup-car{position:relative}.scratched-section{margin-top:.5rem;padding:.4rem;background:#f443361a;border:1px solid rgba(244,67,54,.3);border-radius:4px}.scratched-section h5{color:#f44336;margin:0 0 .3rem;font-size:.7rem;text-transform:uppercase;text-align:center}.scratched-cars{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}.scratched-car{display:flex;flex-direction:column;align-items:center;padding:.3rem;opacity:.6}.scratched-car .car-num{position:relative;width:40px;height:40px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;color:#000;font-style:italic}.scratched-car .car-num:after{content:"";position:absolute;inset:-3px;border:3px solid #f44336;border-radius:50%;background:linear-gradient(135deg,transparent 40%,#f44336 40%,#f44336 60%,transparent 60%);pointer-events:none}.scratched-car .driver-name{font-size:.55rem;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60px;margin-top:.2rem}.unscratch-btn{background:#4caf50cc;border:none;border-radius:50%;width:20px;height:20px;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;margin-bottom:.25rem;opacity:.8;transition:opacity .2s,background .2s}.unscratch-btn:hover{opacity:1;background:#4caf50}.driver-form{display:flex;gap:.5rem;padding:1rem;background:#1a2744;border-radius:4px;margin-bottom:1rem;flex-wrap:wrap;align-items:center}.driver-form input[type=text]{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px}.driver-form .class-select{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;cursor:pointer}.driver-form label{display:flex;align-items:center;gap:.25rem}.driver-form button{background:#0f3460;border:none;color:#eee;padding:.5rem 1rem;cursor:pointer;border-radius:4px}.driver-form button[type=submit]{background:#28a745}.error{background:#721c24;color:#f8d7da;padding:.75rem 1rem;border-radius:4px;margin-bottom:1rem}.main-select-cell{position:relative}.validation-popup{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#dc3545;color:#fff;padding:.5rem .75rem;border-radius:4px;font-size:.75rem;white-space:nowrap;z-index:100;box-shadow:0 2px 8px #0000004d;animation:fadeInOut 3s ease-in-out}.validation-popup:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#dc3545}@keyframes fadeInOut{0%{opacity:0;transform:translate(-50%) translateY(5px)}10%{opacity:1;transform:translate(-50%) translateY(0)}90%{opacity:1;transform:translate(-50%) translateY(0)}to{opacity:0;transform:translate(-50%) translateY(-5px)}}.loading{text-align:center;padding:2rem;color:#aaa}.legend{margin-top:1.5rem;padding:1rem;background:#1a2744;border-radius:4px;font-size:.85rem;color:#aaa}.legend p{margin:.5rem 0}.standings-table .total{background:#1e4620}.settings-page h2{margin-top:0}.settings-page h3{color:#e94560;border-bottom:1px solid #0f3460;padding-bottom:.5rem;margin-top:1.5rem}.settings-page h4{color:#aaa;margin:.5rem 0}.settings-section{background:#16213e;padding:1rem;border-radius:4px;margin-bottom:1rem}.section-note{color:#888;font-size:.85rem;margin:0 0 1rem}.season-info{margin-bottom:1rem}.current-season p,.no-season p{color:#ddd;margin:.5rem 0}.season-actions{margin-top:1rem}.archives-list{margin-top:1.5rem}.archives-list h4{color:#aaa;margin-bottom:.75rem}.archives-table{width:100%;border-collapse:collapse}.archives-table th,.archives-table td{padding:.6rem .75rem;text-align:left;border:1px solid #0f3460;color:#ddd}.archives-table th{background:#0f3460;color:#aaa;font-weight:600;text-transform:uppercase;font-size:.8rem}.archives-table td{background:#1a2744}.archives-table tr:hover td{background:#1e3a5f}.archive-actions{display:flex;gap:1rem}.archive-actions .btn-link{color:#4a9eff;text-decoration:none;font-size:.9rem}.archive-actions .btn-link:hover{text-decoration:underline}.format-builder-link{display:inline-block;padding:12px 24px;background:#4ecdc4;color:#000;text-decoration:none;border-radius:6px;font-weight:600;font-size:1rem;transition:background .2s}.format-builder-link:hover{background:#3dbdb5}.dates-list{display:flex;flex-wrap:wrap;gap:1rem}.nights-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.night-row{display:flex;align-items:center;gap:1rem;margin:.5rem 0}.night-row label{width:80px}.night-row input[type=date]{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.4rem;border-radius:4px}.payout-table{width:100%;border-collapse:collapse;margin-top:.5rem}.payout-table th,.payout-table td{padding:.4rem;text-align:left;border:1px solid #0f3460}.payout-table th{background:#0f3460}.payout-table input[type=number]{width:80px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.3rem;border-radius:4px}.settings-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.setting-category{background:#1a2744;padding:1rem;border-radius:4px}.setting-row{display:flex;justify-content:space-between;align-items:center;margin:.4rem 0}.setting-row label{font-size:.9rem}.setting-row input[type=number]{width:70px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.3rem;border-radius:4px;text-align:right}.logo-upload-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #2a3a5a}.logo-upload-section>label{display:block;font-size:.9rem;margin-bottom:.75rem;color:#9ab}.logo-preview-container{margin-bottom:1rem}.logo-preview{max-width:200px;max-height:120px;border-radius:8px;background:#1a2744;padding:.5rem}.logo-placeholder-box{width:200px;height:100px;background:#1a2744;border:2px dashed #3a4a6a;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#667;font-size:.85rem}.logo-actions{display:flex;gap:.75rem}.logo-actions .btn-upload{display:inline-block;padding:.5rem 1rem;background:#22c55e;color:#fff;border-radius:4px;cursor:pointer;font-size:.85rem;transition:background .2s}.logo-actions .btn-upload:hover{background:#16a34a}.logo-actions .btn-upload input[type=file]{display:none}.logo-actions .btn-remove{padding:.5rem 1rem;background:#dc2626;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;transition:background .2s}.logo-actions .btn-remove:hover{background:#b91c1c}.branding-row input{flex:1;max-width:300px;padding:.5rem;background:#0f3460;border:1px solid #1a4a7a;color:#eee;border-radius:4px}.club-defaults-readonly .settings-categories.readonly{opacity:.85}.setting-row.readonly .setting-value{width:70px;background:#0d1f35;border:1px solid #1a3a5a;color:#9ab;padding:.3rem .5rem;border-radius:4px;text-align:right;font-family:monospace}.club-defaults-readonly .section-note .inline-link{display:inline;margin-left:.5rem;font-size:.9rem}.charity-section{border:2px solid #3a5a8a}.charity-nights-list{display:flex;flex-direction:column;gap:.5rem}.charity-night-config{background:#1a2744;padding:1rem;border-radius:6px;margin-bottom:.75rem;border:1px solid transparent;transition:all .2s ease}.charity-night-config.active{border-color:#f4a460;background:#1e2d4a}.charity-header{display:flex;align-items:center;gap:.5rem}.charity-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:500}.charity-toggle input[type=checkbox]{width:18px;height:18px;accent-color:#f4a460}.charity-details{margin-top:1rem;padding-top:1rem;border-top:1px solid #3a5a8a}.charity-name-row{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.charity-name-row label{min-width:100px;color:#aaa}.charity-name-row input[type=text]{flex:1;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;font-size:.95rem}.charity-name-row input[type=text]:focus{outline:none;border-color:#f4a460}.charity-points-grid{background:#0f2744;padding:.75rem;border-radius:4px}.charity-points-grid .points-label{display:block;color:#aaa;font-size:.85rem;margin-bottom:.5rem}.charity-points-grid .points-row{display:inline-flex;align-items:center;gap:.4rem;margin-right:1rem;margin-bottom:.3rem}.charity-points-grid .points-row label{color:#ccc;font-size:.9rem}.charity-points-grid .points-row input[type=number]{width:50px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.3rem;border-radius:4px;text-align:center}.charity-badge{background:linear-gradient(135deg,#f4a460,#d4824a);color:#1a1a2e;padding:.35rem .75rem;border-radius:20px;font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 8px #f4a4604d}.format-badge{background:linear-gradient(135deg,#4a90d9,#2a6ab9);color:#fff;padding:.35rem .75rem;border-radius:20px;font-weight:600;font-size:.85rem;letter-spacing:.5px;box-shadow:0 2px 8px #4a90d94d;min-width:100px;text-align:center}.format-badge.no-format{background:linear-gradient(135deg,#555,#444);color:#999;font-style:italic;box-shadow:none}.format-select{background:linear-gradient(135deg,#4a90d9,#2a6ab9);color:#fff;padding:.35rem .75rem;border-radius:20px;font-weight:600;font-size:.85rem;border:none;cursor:pointer;min-width:150px}.format-select:focus{outline:2px solid #6ab0f3;outline-offset:2px}.format-select option{background:#1a2a4a;color:#fff}.special-numbers-section{border:1px solid #1a4a7a}.special-numbers-section.frozen-section{border-color:#8b4a6b}.special-numbers-add{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.special-numbers-add select,.special-numbers-add .car-number-input{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;width:80px}.special-numbers-add .name-input,.special-numbers-add .reason-input{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;flex:1;min-width:150px}.special-numbers-add .btn-add{background:#4a9;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:600}.special-numbers-add .btn-add:hover{background:#5ba}.special-numbers-list{background:#0d1b30;border-radius:4px;padding:.5rem}.special-numbers-list .empty-list{color:#666;text-align:center;padding:1rem;font-style:italic}.special-numbers-list .list-header{display:grid;grid-template-columns:60px 80px 1fr 80px;gap:.5rem;padding:.5rem;color:#888;font-size:.8rem;border-bottom:1px solid #1a3a5a}.special-numbers-list .list-header.universal{grid-template-columns:80px 1fr 80px}.special-number-row{display:grid;grid-template-columns:60px 80px 1fr 80px;gap:.5rem;padding:.5rem;align-items:center;border-bottom:1px solid #1a3a5a}.special-number-row.universal{grid-template-columns:80px 1fr 80px}.special-number-row:last-child{border-bottom:none}.special-number-row.frozen-row{background:#8b4a6b1a}.special-number-row .class-badge{padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-align:center}.special-number-row .class-badge.big{background:#4a7;color:#fff}.special-number-row .class-badge.mini{background:#74a;color:#fff}.special-number-row .car-number{font-weight:600;color:gold}.special-number-row .name,.special-number-row .reason{color:#ccc}.special-number-row .btn-remove{background:#a44;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.8rem}.special-number-row .btn-remove:hover{background:#c55}.special-number-row .action-buttons,.special-number-row .edit-buttons{display:flex;gap:.3rem}.special-number-row .btn-edit{background:#47a;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.8rem}.special-number-row .btn-edit:hover{background:#58b}.special-number-row .btn-save{background:#4a7;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.8rem}.special-number-row .btn-save:hover{background:#5b8}.special-number-row .btn-cancel{background:#666;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.8rem}.special-number-row .btn-cancel:hover{background:#777}.special-number-row .edit-input{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.3rem .5rem;border-radius:4px;font-size:.9rem}.special-number-row .edit-input.car-number{width:70px}.subscribers-section{border-color:#47a}.subscribers-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding:.5rem;background:#0d1b30;border-radius:4px}.subscribers-controls .filter-toggle{display:flex;align-items:center;gap:.5rem;color:#aaa;cursor:pointer}.subscribers-controls .filter-toggle input{cursor:pointer}.subscribers-controls .btn-refresh{background:#47a;color:#fff;border:none;padding:.4rem .8rem;border-radius:4px;cursor:pointer;font-size:.85rem}.subscribers-controls .btn-refresh:hover:not(:disabled){background:#58b}.subscribers-controls .btn-refresh:disabled{opacity:.6;cursor:not-allowed}.subscribers-stats{display:flex;gap:1.5rem;padding:.5rem;color:#888;font-size:.9rem;margin-bottom:.5rem}.subscribers-header,.subscriber-row{grid-template-columns:1fr 120px 80px 100px 80px!important}.subscriber-row .email{color:#7af;word-break:break-all}.subscriber-row .name{color:#ccc}.subscriber-row .status{padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-align:center}.subscriber-row .status.verified{background:#2a5a3a;color:#5b5}.subscriber-row .status.pending{background:#5a4a2a;color:#da5}.subscriber-row .date{color:#888;font-size:.85rem}.subscriber-row.verified{background:#2a5a3a1a}.subscriber-row.pending{background:#5a4a2a1a}.sponsors-section{border-color:#5a4a8a}.sponsor-add-form{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap;align-items:center}.sponsor-add-form .name-input,.sponsor-add-form .url-input{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;min-width:150px}.sponsor-add-form .url-input{flex:1}.sponsor-add-form .file-input{color:#aaa;font-size:.85rem}.sponsor-add-form .btn-add{background:#4a9;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-weight:600;white-space:nowrap}.sponsor-add-form .btn-add:hover:not(:disabled){background:#5ba}.sponsor-add-form .btn-add:disabled{opacity:.6;cursor:not-allowed}.sponsor-row{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-bottom:1px solid #1a3a5a}.sponsor-row:last-child{border-bottom:none}.sponsor-row.inactive{opacity:.5}.sponsor-thumb{width:50px;height:35px;object-fit:contain;border-radius:4px;background:#ffffff1a;flex-shrink:0}.sponsor-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.sponsor-info .sponsor-name{font-weight:600;color:#eee}.sponsor-info .sponsor-url{font-size:.75rem;color:#6af;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sponsor-actions{display:flex;gap:.4rem;align-items:center;flex-shrink:0}.sponsor-actions .btn-move{background:transparent;border:1px solid #555;color:#aaa;padding:2px 6px;border-radius:3px;cursor:pointer;font-size:.7rem}.sponsor-actions .btn-move:hover:not(:disabled){color:#fff;border-color:#888}.sponsor-actions .btn-move:disabled{opacity:.3;cursor:not-allowed}.sponsor-actions .active-toggle{display:flex;align-items:center;gap:4px;font-size:.75rem;color:#aaa;cursor:pointer}.sponsor-actions .active-toggle input{cursor:pointer}.sponsor-actions .btn-edit{background:#47a;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.75rem}.sponsor-actions .btn-edit:hover{background:#58b}.sponsor-actions .btn-remove{background:#a44;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.75rem}.sponsor-actions .btn-remove:hover{background:#c55}.sponsor-actions .btn-save{background:#4a7;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.75rem}.sponsor-actions .btn-cancel{background:#555;color:#fff;border:none;padding:.3rem .6rem;border-radius:4px;cursor:pointer;font-size:.75rem}.night-sponsor-check{display:flex;align-items:center;cursor:pointer;flex-shrink:0}.night-sponsor-check input{width:16px;height:16px;cursor:pointer;accent-color:#f0c040}.sponsor-edit-fields{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.sponsor-edit-fields .edit-input{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.4rem .5rem;border-radius:4px;font-size:.85rem}.fan-mail-section{border-color:#974}.fan-mail-form{display:flex;flex-direction:column;gap:1rem;max-width:600px}.fan-mail-form .form-group{display:flex;flex-direction:column;gap:.5rem}.fan-mail-form label{font-weight:600;color:#ccc}.fan-mail-form input[type=text]{padding:.75rem;background:#333;border:1px solid #555;border-radius:4px;color:#fff;font-size:1rem}.fan-mail-form input[type=text]:focus{border-color:#974;outline:none}.fan-mail-form textarea{padding:.75rem;background:#333;border:1px solid #555;border-radius:4px;color:#fff;font-size:1rem;font-family:inherit;resize:vertical;min-height:150px}.fan-mail-form textarea:focus{border-color:#974;outline:none}.fan-mail-result{padding:.75rem;border-radius:4px;margin:0}.fan-mail-result.success{background:#2a5a3a4d;border:1px solid #4a4;color:#6c6}.fan-mail-result.error{background:#5a2a2a4d;border:1px solid #a44;color:#c66}.btn-send-fan-mail{padding:.75rem 1.5rem;background:linear-gradient(135deg,#974,#753);border:none;border-radius:4px;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s,transform .2s;align-self:flex-start}.btn-send-fan-mail:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.btn-send-fan-mail:disabled{opacity:.5;cursor:not-allowed}.team-cars-section{margin-top:1rem}.team-cars-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-bottom:1.5rem}.team-car-card{background:#1a2744;border:2px solid #2a3f5f;border-radius:8px;padding:1rem}.team-car-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #2a3f5f}.team-car-number{font-size:1.5rem;font-weight:700;color:gold}.team-car-class{padding:.25rem .75rem;border-radius:4px;font-size:.8rem;font-weight:600;text-transform:uppercase}.team-car-class.big{background:#e53935;color:#fff}.team-car-class.mini{background:#1e88e5;color:#fff}.team-car-members{margin-bottom:.75rem}.team-member{display:flex;align-items:center;gap:.5rem;padding:.4rem 0;border-bottom:1px solid #1a2744}.team-member:last-child{border-bottom:none}.team-member.captain{background:#ffd7001a;padding:.5rem;border-radius:4px;margin-bottom:.25rem}.team-member .member-role{font-size:.7rem;text-transform:uppercase;color:#888;width:50px}.team-member.captain .member-role{color:gold;font-weight:600}.team-member .member-name{flex:1;color:#eee}.btn-remove-small{background:transparent;border:none;color:#a44;font-size:1.2rem;cursor:pointer;padding:0 .25rem;line-height:1}.btn-remove-small:hover{color:#f66}.btn-add-teammate{width:100%;background:#0f3460;border:1px dashed #2a3f5f;color:#888;padding:.5rem;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-add-teammate:hover{background:#1a4a7a;color:#ccc;border-color:#3a5f8f}.add-teammate-form{display:flex;gap:.5rem;flex-wrap:wrap}.add-teammate-form input{flex:1;min-width:80px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.4rem .5rem;border-radius:4px;font-size:.85rem}.add-teammate-form button{padding:.4rem .75rem;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.add-teammate-form .btn-save{background:#4a7;color:#fff}.add-teammate-form .btn-save:hover{background:#5b8}.add-teammate-form .btn-cancel{background:#666;color:#fff}.add-teammate-form .btn-cancel:hover{background:#777}.add-team-car{background:#1a2744;padding:1rem;border-radius:8px;margin-top:1rem}.add-team-car h4{margin:0 0 .25rem;color:#ccc}.add-team-car-form{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-top:.75rem}.add-team-car-form select{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;font-size:.9rem}.add-team-car-form select:first-child{width:80px}.add-team-car-form select:nth-child(2){flex:1;min-width:200px}.frozen-memorial{background:linear-gradient(135deg,#1a1a2e,#2d1f3d);border:2px solid #8b4a6b;border-radius:12px;padding:2rem;text-align:center;margin:1rem 0}.frozen-memorial .memorial-icon{font-size:4rem;margin-bottom:1rem}.frozen-memorial h2{color:#e8b4d8;font-size:2rem;margin:0 0 .5rem}.frozen-memorial .frozen-number{color:gold;font-size:3rem;font-weight:700;margin:.5rem 0}.frozen-memorial .frozen-reason{color:#ccc;font-size:1.2rem;font-style:italic;margin:1rem 0}.frozen-memorial .frozen-message{color:#888;margin-top:1.5rem}.charity-summary-panel{background:linear-gradient(135deg,#1e2d4a,#162340);border:2px solid #f4a460;border-radius:8px;padding:1rem 1.5rem;margin:1rem 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.charity-summary-panel .charity-info{display:flex;align-items:center;gap:.75rem}.charity-summary-panel .charity-label{color:#aaa;font-size:.9rem}.charity-summary-panel .charity-name{color:#f4a460;font-weight:600;font-size:1.1rem}.charity-summary-panel .charity-totals{display:flex;gap:2rem;flex-wrap:wrap}.charity-summary-panel .charity-amount{display:flex;flex-direction:column;align-items:center}.charity-summary-panel .charity-amount .label{color:#888;font-size:.75rem;text-transform:uppercase}.charity-summary-panel .charity-amount .value{color:#90ee90;font-weight:600;font-size:1.1rem}.charity-summary-panel .charity-amount.total .value{color:#f4a460;font-size:1.3rem}.donation-cell{width:70px}.donation-select{width:65px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.25rem;border-radius:4px;font-size:.85rem;cursor:pointer}.donation-select:focus{outline:none;border-color:#f4a460}.donation-select:disabled{opacity:.5;cursor:not-allowed}.success{background:#1e4620;color:#90ee90;padding:.75rem 1rem;border-radius:4px;margin-bottom:1rem}.modal-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal{background:#16213e;border-radius:12px;min-width:320px;max-width:90%;max-height:90vh;overflow:hidden;border:1px solid #1a4a7a;box-shadow:0 8px 32px #00000080,0 0 0 1px #ffffff0d;animation:slideIn .25s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:linear-gradient(135deg,#0f3460,#16213e);border-bottom:1px solid #1a4a7a}.modal-header h3{margin:0;color:#fff;font-size:1.1rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.modal-header .modal-icon{font-size:1.25rem}.modal-close{background:none;border:none;color:#888;font-size:1.5rem;cursor:pointer;padding:0;line-height:1;transition:color .2s}.modal-close:hover{color:#e94560}.modal-body{padding:1.25rem;max-height:calc(90vh - 140px)}.modal>h3:first-child{margin:0 0 .5rem;color:#e94560;padding:1.25rem 1.25rem 0}.modal>h3:first-child+*{padding:0 1.25rem}.modal-note{color:#aaa;font-size:.85rem;margin:0 0 1rem}.modal-overlay:has(.heats-modal){align-items:flex-start;padding:0}.heats-modal{min-width:100vw;max-width:100vw;width:100vw;min-height:100vh;max-height:100vh;border-radius:0;margin:0;display:flex;flex-direction:column}.heats-modal .modal-header{padding:1rem 1.5rem;border-bottom:1px solid #0f3460;background:#16213e}.heats-modal .modal-body{flex:1;padding:1.5rem;overflow-y:auto}.heats-modal .modal-actions{padding:1rem 1.5rem;border-top:1px solid #0f3460;background:#16213e}.heats-class-selector{display:flex;gap:.5rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #1a4a7a}.heats-class-selector .class-btn{flex:1;padding:.75rem 1rem;background:#0f3460;border:2px solid #1a4a7a;color:#888;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .15s ease}.heats-class-selector .class-btn:hover{border-color:#3498db;color:#ccc}.heats-class-selector .class-btn.active{background:linear-gradient(135deg,#3498db,#2980b9);border-color:#3498db;color:#fff}.heats-grid{display:flex;flex-direction:column;gap:.75rem}.heat-entry-row{display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid rgba(26,74,122,.3)}.heat-entry-row:last-child{border-bottom:none}.heat-label{font-weight:600;color:#e94560;font-size:.95rem}.heat-input-group{display:flex;gap:.5rem}.heat-input{width:80px;padding:.5rem .75rem;background:#0f3460;border:2px solid #1a4a7a;color:#fff;border-radius:6px;font-size:1rem;text-align:center}.heat-input:focus{outline:none;border-color:#3498db}.heat-input::placeholder{color:#555}.heat-set-btn{padding:.5rem 1rem;background:linear-gradient(135deg,#28a745,#218838);border:none;color:#fff;border-radius:6px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .15s ease}.heat-set-btn:hover{background:linear-gradient(135deg,#2ecc71,#27ae60);transform:translateY(-1px)}.heat-clear-btn{padding:.5rem .75rem;background:linear-gradient(135deg,#dc3545,#c82333);border:none;color:#fff;border-radius:6px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .15s ease}.heat-clear-btn:hover:not(:disabled){background:linear-gradient(135deg,#e74c3c,#c0392b);transform:translateY(-1px)}.heat-clear-btn:disabled{background:#444;cursor:not-allowed;opacity:.5}.heat-current-winner{font-size:.9rem;color:#28a745;background:#28a74526;padding:.35rem .75rem;border-radius:20px;white-space:nowrap}.heat-no-winner{font-size:.9rem;color:#666;padding:.35rem .75rem}.heats-modal-error{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-weight:600;text-align:center;animation:shake .3s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.modal-overlay:has(.lap-counter-modal){align-items:flex-start;justify-content:flex-start;padding:0;background:#0d1b2a;-webkit-backdrop-filter:none;backdrop-filter:none}.lap-counter-modal{width:100vw!important;height:100vh!important;min-width:100vw!important;max-width:100vw!important;min-height:100vh!important;max-height:100vh!important;border-radius:0!important;margin:0!important;border:none!important;display:flex;flex-direction:column;overflow:hidden}.lap-counter-modal .modal-header{padding:1rem 1.5rem;border-bottom:none;background:#16213e}.lap-counter-night-indicator{background:#0d1b2a;padding:.75rem 1.5rem;display:flex;align-items:center;gap:.5rem;border-bottom:2px solid #e94560}.lap-counter-night-indicator .night-label{color:#888;font-size:.9rem}.lap-counter-night-indicator .night-date{color:#4ade80;font-weight:700;font-size:1.1rem}.lap-counter-event-row{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#0f346080;border-radius:8px;flex-wrap:wrap}.lap-counter-event-row label{color:#888;font-size:.85rem}.lap-counter-event-row select{padding:.5rem .75rem;background:#1a1a2e;border:1px solid #0f3460;border-radius:4px;color:#fff;font-size:1rem;min-width:120px}.lap-counter-modal .modal-body{flex:1;padding:1rem 1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.lap-counter-modal .modal-actions{padding:1rem 1.5rem;border-top:1px solid #0f3460;background:#16213e;display:flex;align-items:center;gap:1rem}.lap-counter-modal .modal-actions .selected-count{flex:1;text-align:center;color:#4ade80;font-weight:600}.lap-counter-class-selector{display:flex;gap:.5rem;padding-bottom:1rem;border-bottom:1px solid #1a4a7a}.lap-counter-class-selector .class-btn{flex:1;padding:.75rem 1rem;background:#0f3460;border:2px solid #1a4a7a;color:#888;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .15s ease}.lap-counter-class-selector .class-btn:hover{border-color:#3498db;color:#ccc}.lap-counter-class-selector .class-btn.active{background:linear-gradient(135deg,#3498db,#2980b9);border-color:#3498db;color:#fff}.lap-counter-selected{background:#4ade801a;border:2px solid #4ade80;border-radius:8px;padding:1rem}.lap-counter-selected h4{margin:0 0 .75rem;color:#4ade80;font-size:1rem}.selected-cars-row{display:flex;flex-wrap:wrap;gap:.5rem;min-height:70px;align-items:center}.selected-cars-row .no-selection{color:#666;font-style:italic}.lap-counter-available{flex:1}.lap-counter-available h4{margin:0 0 .75rem;color:#aaa;font-size:1rem}.available-cars-grid{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-start}.available-cars-grid .no-cars{color:#666;font-style:italic}.lap-car{cursor:pointer;transition:all .15s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.lap-car .car-num{width:60px;height:60px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:900;color:#000;font-style:italic;letter-spacing:-1px}.lap-car.rookie .car-num{background:linear-gradient(145deg,#fffef5,#fff9c4,#fff59d)}.lap-car.available:hover{transform:scale(1.1)}.lap-car.available:hover .car-num{box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 0 15px #4ade8099}.lap-car.selected .car-num{background:linear-gradient(145deg,#4ade80,#22c55e,#16a34a);color:#fff;box-shadow:inset 0 -3px 6px #0000004d,inset 0 3px 6px #ffffff4d,0 3px 8px #22c55e80}.lap-car.selected:hover{transform:scale(.95)}.lap-car .selection-order{position:absolute;top:-8px;right:-8px;width:22px;height:22px;background:#e94560;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:#fff;font-style:normal;box-shadow:0 2px 4px #0000004d}.lap-car{position:relative}.btn-ready{background:linear-gradient(180deg,#f97316,#ea580c)!important;border:none!important;border-bottom:5px solid #c2410c!important;color:#fff!important;padding:.8rem 2rem;cursor:pointer;border-radius:8px;font-weight:700;font-size:1.1rem;transition:all .15s ease;box-shadow:0 6px 10px #00000040;text-transform:uppercase;letter-spacing:1px}.btn-ready:hover:not(:disabled){background:linear-gradient(180deg,#fb923c,#f97316)!important;transform:translateY(-2px);box-shadow:0 8px 12px #0000004d}.btn-ready:active:not(:disabled){transform:translateY(4px);border-bottom-width:1px!important;box-shadow:0 2px 4px #0003}.btn-ready:disabled{background:linear-gradient(180deg,#6b7280,#4b5563)!important;border-bottom-color:#374151!important;cursor:not-allowed;opacity:.6}.btn-back{background:linear-gradient(180deg,#6366f1,#4f46e5)!important;border:none!important;border-bottom:5px solid #4338ca!important;color:#fff!important;padding:.7rem 1.4rem;cursor:pointer;border-radius:8px;font-weight:600;transition:all .15s ease;box-shadow:0 6px 10px #00000040}.btn-back:hover{background:linear-gradient(180deg,#818cf8,#6366f1)!important;transform:translateY(-2px);box-shadow:0 8px 12px #0000004d}.btn-back:active{transform:translateY(4px);border-bottom-width:1px!important;box-shadow:0 2px 4px #0003}.lap-counter-modal.ready-phase{max-width:100%;width:100%;height:100%;max-height:100%;border-radius:0}.lap-counter-ready-layout{display:flex;height:calc(100vh - 140px);gap:2rem;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.ready-cars-column{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#0003;border-radius:12px;overflow-y:auto;min-width:120px}.ready-car-item{display:flex;align-items:center;gap:.75rem;animation:slideInLeft .3s ease;animation-fill-mode:backwards}.ready-car-item:nth-child(1){animation-delay:.05s}.ready-car-item:nth-child(2){animation-delay:.1s}.ready-car-item:nth-child(3){animation-delay:.15s}.ready-car-item:nth-child(4){animation-delay:.2s}.ready-car-item:nth-child(5){animation-delay:.25s}.ready-car-item:nth-child(6){animation-delay:.3s}.ready-car-item:nth-child(7){animation-delay:.35s}.ready-car-item:nth-child(8){animation-delay:.4s}.ready-car-item:nth-child(9){animation-delay:.45s}.ready-car-item:nth-child(10){animation-delay:.5s}.ready-car-item:nth-child(n+11){animation-delay:.55s}@keyframes slideInLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.ready-position{width:32px;height:32px;background:linear-gradient(145deg,#e94560,#c73e54);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:#fff;flex-shrink:0;box-shadow:0 2px 4px #0000004d}.ready-main-area{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ready-instructions{font-size:1.5rem;color:#4ade80;margin-bottom:1rem;font-weight:600}.ready-count{font-size:3rem;font-weight:900;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.3)}@media(max-width:600px){.lap-counter-ready-layout{height:calc(100vh - 120px);gap:1rem}.ready-cars-column{min-width:90px;padding:.75rem;gap:.5rem}.ready-car-item .lap-car .car-num{width:50px;height:50px;font-size:1.1rem}.ready-position{width:26px;height:26px;font-size:.85rem}.ready-instructions{font-size:1.2rem}.ready-count{font-size:2rem}}@media(max-height:500px)and (orientation:landscape){.lap-counter-ready-layout{height:calc(100vh - 100px);gap:1.5rem}.ready-cars-column{flex-direction:row;flex-wrap:wrap;min-width:auto;width:100%;max-height:none;overflow-x:auto;overflow-y:visible}.ready-car-item{flex-direction:column;gap:.25rem}.ready-car-item .lap-car .car-num{width:44px;height:44px;font-size:1rem}.ready-position{width:22px;height:22px;font-size:.75rem}.ready-main-area{display:none}}@media(max-width:600px){.lap-counter-modal .modal-body{padding:.75rem}.lap-car .car-num{width:50px;height:50px;font-size:1.2rem}.available-cars-grid{gap:.5rem}.selected-cars-row{min-height:60px;gap:.4rem}.lap-counter-selected,.lap-counter-available{padding:.75rem}.lap-counter-modal .modal-actions{padding:.75rem 1rem;flex-wrap:wrap}}@media(max-width:400px){.lap-car .car-num{width:44px;height:44px;font-size:1.1rem}.available-cars-grid{gap:.4rem}}@media(max-height:500px)and (orientation:landscape){.lap-counter-modal .modal-header{padding:.5rem 1rem}.lap-counter-modal .modal-header h3{font-size:1rem}.lap-counter-modal .modal-body{padding:.5rem 1rem;gap:.5rem}.lap-counter-class-selector{padding-bottom:.5rem;margin-bottom:0}.lap-counter-class-selector .class-btn{padding:.5rem .75rem;font-size:.9rem}.lap-counter-selected{padding:.5rem .75rem}.lap-counter-selected h4,.lap-counter-available h4{font-size:.85rem;margin-bottom:.5rem}.selected-cars-row{min-height:50px}.lap-car .car-num{width:46px;height:46px;font-size:1.1rem}.lap-counter-modal .modal-actions{padding:.5rem 1rem}}@media(max-height:500px)and (orientation:landscape){.lap-counter-modal.ready-phase .modal-header,.lap-counter-modal.ready-phase .lap-counter-night-indicator{display:none}.lap-counter-modal.ready-phase .lap-counter-controls{padding:.25rem .5rem;gap:.5rem;flex-wrap:nowrap;font-size:.8rem}.lap-counter-modal.ready-phase .lap-counter-controls label{display:none}.lap-counter-modal.ready-phase .lap-counter-controls select{padding:.25rem .5rem;font-size:.8rem;min-width:auto}.lap-counter-modal.ready-phase .lap-counter-controls .btn-history{display:none}.lap-counter-modal.ready-phase .modal-body{padding:.25rem;gap:.25rem}.lap-counter-modal.ready-phase .lap-grid-container{flex:1;overflow:auto}.lap-counter-modal.ready-phase .lap-grid{gap:2px}.lap-counter-modal.ready-phase .lap-header{padding:.15rem;font-size:.7rem}.lap-counter-modal.ready-phase .lap-cell{padding:2px}.lap-counter-modal.ready-phase .lap-car .car-num{width:40px;height:40px;font-size:1rem}.lap-counter-modal.ready-phase .modal-actions{padding:.25rem .5rem;gap:.5rem}.lap-counter-modal.ready-phase .modal-actions button{padding:.3rem .6rem;font-size:.8rem}.lap-counter-modal.ready-phase .finish-count{font-size:.8rem}}.lap-counter-grid-layout{display:flex;flex-direction:column;height:calc(100vh - 140px);gap:1rem}.lap-count-selector{display:flex;align-items:center;gap:1rem;padding:.5rem 1rem;background:#0003;border-radius:8px}.lap-count-selector label{color:#ccc;font-weight:600}.lap-count-selector select{background:#0f3460;border:1px solid #1a4a7a;color:#fff;padding:.5rem 1rem;border-radius:6px;font-size:1rem;cursor:pointer}.btn-reset-laps{background:linear-gradient(180deg,#ef4444,#dc2626);border:none;border-bottom:3px solid #b91c1c;color:#fff;padding:.5rem 1rem;border-radius:6px;font-weight:600;cursor:pointer;margin-left:auto}.btn-reset-laps:hover{background:linear-gradient(180deg,#f87171,#ef4444)}.lap-grid-container{flex:1;overflow-x:auto;overflow-y:auto;background:#00000026;border-radius:8px;padding:.5rem}.lap-grid{display:grid;gap:2px;min-width:max-content}.lap-header{background:#1a4a7a;color:#fff;font-weight:700;text-align:center;padding:.5rem .25rem;font-size:.9rem;border-radius:4px;position:sticky;top:0;z-index:2}.lap-header.start-header{background:#166534}.lap-header.finish-header{background:#e94560}.lap-cell{background:#ffffff08;min-height:70px;min-width:70px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s ease}.lap-cell:hover{background:#ffffff14}.lap-cell.has-car{background:#4ade801a}.lap-cell.start-cell{background:#16653433}.lap-cell.finish-cell{background:#e945601a}.lap-cell.finish-cell.has-car{background:#e9456040}.lap-cell.finish-cell.has-car{background:repeating-conic-gradient(#222 0deg 90deg,#fff 90deg 180deg) 50% / 20px 20px;border-radius:4px;position:relative}.lap-car.finished{animation:breathe 1.5s ease-in-out infinite}.lap-car.finished .car-num{background:linear-gradient(145deg,#fbbf24,#f59e0b,#d97706);color:#000;box-shadow:inset 0 -3px 6px #0000004d,inset 0 3px 6px #ffffff4d,0 0 20px #fbbf24cc}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.btn-save-sheet{background:linear-gradient(180deg,#22c55e,#16a34a);border:none;border-bottom:3px solid #15803d;color:#fff;padding:.5rem 1rem;border-radius:6px;font-weight:600;cursor:pointer}.btn-save-sheet:hover{background:linear-gradient(180deg,#4ade80,#22c55e)}.btn-history{background:linear-gradient(180deg,#6366f1,#4f46e5);border:none;border-bottom:3px solid #4338ca;color:#fff;padding:.5rem 1rem;border-radius:6px;font-weight:600;cursor:pointer}.btn-history:hover{background:linear-gradient(180deg,#818cf8,#6366f1)}.btn-validate{background:linear-gradient(180deg,#f97316,#ea580c);border:none;border-bottom:3px solid #c2410c;color:#fff;padding:.5rem 1.5rem;border-radius:6px;font-weight:700;cursor:pointer;transition:all .2s ease}.btn-validate:hover:not(:disabled){background:linear-gradient(180deg,#fb923c,#f97316)}.btn-validate:disabled{background:linear-gradient(180deg,#6b7280,#4b5563);border-bottom-color:#374151;cursor:not-allowed;opacity:.6}.btn-validate.validated{background:linear-gradient(180deg,#22c55e,#16a34a);border-bottom-color:#15803d;cursor:default}.finish-count{color:#4ade80;font-weight:600;padding:0 .5rem}.finish-position{position:absolute;top:-10px;right:-10px;width:28px;height:28px;background:linear-gradient(145deg,#e94560,#c73e54);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:700;color:#fff;font-style:normal;box-shadow:0 2px 6px #0006;border:2px solid #fff}.lap-history-modal{max-width:600px;max-height:80vh}.lap-history-modal .modal-body{overflow-y:auto;max-height:60vh}.no-sheets{text-align:center;color:#888;padding:2rem;font-style:italic}.lap-sheets-list{display:flex;flex-direction:column;gap:1rem}.lap-sheet-card{background:#0003;border-radius:8px;padding:1rem;border-left:4px solid #e94560}.sheet-header{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sheet-event{font-weight:700;font-size:1.1rem;color:#4ade80}.sheet-class{background:#1a4a7a;padding:.2rem .5rem;border-radius:4px;font-size:.8rem}.sheet-time{color:#888;font-size:.85rem}.btn-delete-sheet{background:transparent;border:none;color:#888;font-size:1.4rem;cursor:pointer;padding:0 .25rem;line-height:1;transition:color .2s}.btn-delete-sheet:hover{color:#e94560}.sheet-cars{display:flex;flex-direction:column;gap:.4rem}.sheet-car{display:flex;align-items:center;gap:.75rem;padding:.4rem .5rem;background:#ffffff08;border-radius:4px}.sheet-car.finished{background:#fbbf2426}.sheet-position{width:24px;height:24px;background:#e94560;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff}.sheet-car.finished .sheet-position{background:#f59e0b}.sheet-car-num{font-weight:700;font-size:1.1rem;min-width:40px}.sheet-laps{color:#888;font-size:.9rem}.sheet-car.finished .sheet-laps{color:#fbbf24;font-weight:600}.sheet-meta{font-size:.8rem;color:#888;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.05)}.sheet-validated{background:#22c55e;color:#fff;padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;margin-left:auto}.lap-sheet-card.validated{border-left-color:#22c55e}@media(max-width:600px){.lap-counter-grid-layout{height:calc(100vh - 120px)}.lap-count-selector{flex-wrap:wrap;gap:.5rem}.lap-cell{min-height:55px;min-width:55px}.lap-cell .lap-car .car-num{width:46px;height:46px;font-size:1rem}.lap-header{font-size:.75rem;padding:.4rem .2rem}}@media(max-height:500px)and (orientation:landscape){.lap-counter-grid-layout{height:calc(100vh - 100px)}.lap-cell{min-height:50px;min-width:50px}.lap-cell .lap-car .car-num{width:42px;height:42px;font-size:.95rem}}.modal .form-group{margin-bottom:1rem}.modal .form-group label{display:block;margin-bottom:.25rem;color:#ccc;font-size:.85rem}.modal .form-group input{width:100%;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;font-size:1rem}.modal .form-group input:focus{outline:none;border-color:#e94560}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.5rem}.modal-actions .btn-cancel,.btn-cancel{background:linear-gradient(180deg,#b8c4ce,#9aa8b5)!important;border:none!important;border-bottom:5px solid #7a8a99!important;color:#333!important;padding:.7rem 1.4rem;cursor:pointer;border-radius:8px;font-weight:600;transition:all .15s ease;box-shadow:0 6px 10px #00000040}.modal-actions .btn-cancel:hover,.btn-cancel:hover{background:linear-gradient(180deg,#c8d4de,#aab8c5)!important;transform:translateY(-2px);box-shadow:0 8px 12px #0000004d}.modal-actions .btn-cancel:active,.btn-cancel:active{transform:translateY(4px);border-bottom-width:1px!important;box-shadow:0 2px 4px #0003}.modal-actions .btn-save,.btn-save{background:linear-gradient(180deg,#90ee90,#7ddc7d)!important;border:none!important;border-bottom:5px solid #5cb85c!important;color:#1a4a1a!important;padding:.7rem 1.4rem;cursor:pointer;border-radius:8px;font-weight:600;transition:all .15s ease;box-shadow:0 6px 10px #00000040}.modal-actions .btn-save:hover,.btn-save:hover{background:linear-gradient(180deg,#a0fea0,#8dec8d)!important;transform:translateY(-2px);box-shadow:0 8px 12px #0000004d}.modal-actions .btn-save:active,.btn-save:active{transform:translateY(4px);border-bottom-width:1px!important;box-shadow:0 2px 4px #0003}.btn-team{background:#e67e22;border:none;color:#fff;padding:.5rem 1rem;cursor:pointer;border-radius:4px;font-weight:500}.btn-team:hover{background:#d35400}.kiosk-links{display:flex;gap:.5rem;align-items:center;justify-content:center;flex-wrap:wrap;padding:1rem 2rem;background:#0a1628;font-size:.85rem}.kiosk-links span{color:#666;font-weight:500}.kiosk-links a{color:#6ea8fe;text-decoration:none;padding:.25rem .5rem;border-radius:4px;transition:color .2s ease,background .2s ease}.kiosk-links a:hover{color:#9ec5fe;background:#6ea8fe1a}.kiosk-links a[href*=cashier]{color:#5cb85c}.kiosk-links a[href*=cashier]:hover{color:#8fd98f;background:#5cb85c1a}.kiosk-links a[href*=tech]{color:#5bc0de}.kiosk-links a[href*=tech]:hover{color:#9ad8eb;background:#5bc0de1a}.kiosk-links a[href*=times]{color:#e94560}.kiosk-links a[href*=times]:hover{color:#f07a90;background:#e945601a}.kiosk-links a[href*=treasurer]{color:#9b59b6}.kiosk-links a[href*=treasurer]:hover{color:#c09cd4;background:#9b59b61a}.kiosk-links a[href*=admin]{color:#f0ad4e}.kiosk-links a[href*=admin]:hover{color:#f5c98a;background:#f0ad4e1a}.kiosk-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e);display:flex;flex-direction:column;align-items:center;padding:1rem}.kiosk-header{width:100%;max-width:500px;display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1rem}.kiosk-header h1{flex:1;margin:0;font-size:1.5rem;color:#e94560;text-align:center}.kiosk-header .back-link{color:#aaa;text-decoration:none;font-size:.9rem}.kiosk-header .back-link:hover{color:#e94560}.kiosk-header .night-select{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem;border-radius:4px;font-size:1rem}.kiosk-header .header-right{display:flex;align-items:center;gap:.75rem}.kiosk-header .header-user{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#aaa}.kiosk-header .header-user .user-name{color:#8bc34a}.kiosk-header .header-user .logout-mini{background:transparent;border:1px solid #666;color:#aaa;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;cursor:pointer}.kiosk-header .header-user .logout-mini:hover{background:#333;border-color:#888;color:#fff}.kiosk-stats{color:#aaa;font-size:1rem;margin-bottom:1rem}.kiosk-stats .stat{background:#0f3460;padding:.5rem 1rem;border-radius:4px}.kiosk-loading{color:#aaa;font-size:1.5rem;margin-top:4rem}.kiosk-error{background:#721c24;color:#f8d7da;padding:1rem;border-radius:8px;margin-bottom:1rem;max-width:500px;width:100%;text-align:center;font-size:1.1rem}.kiosk-card{background:#16213e;border-radius:16px;padding:2rem;width:100%;max-width:500px;box-shadow:0 8px 32px #0000004d;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.kiosk-card h2{margin:0;font-size:1.8rem;color:#eee;text-align:center}.fee-display{background:#0f3460;padding:1rem 1.5rem;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:.5rem;margin:.5rem 0}.fee-display .fee-label{color:#aaa;font-size:1rem}.fee-display .fee-amount{color:#28a745;font-size:1.5rem;font-weight:700}.fee-display .fee-plus,.fee-display .fee-equals{color:#888;font-size:1.2rem;margin:0 .25rem}.fee-display .fee-total{color:#28a745;font-size:2rem;font-weight:700}.fee-display.new-member .fee-total{color:#ffc107}.fee-note{color:#888;font-size:.9rem;margin:0;text-align:center}.membership-options{display:flex;flex-direction:column;gap:1rem;width:100%;margin:1rem 0}.membership-btn{display:flex;flex-direction:column;align-items:center;padding:1.25rem;border-radius:12px;cursor:pointer;transition:transform .1s,background .2s}.membership-btn .btn-title{font-size:1.3rem;font-weight:600;margin-bottom:.25rem}.membership-btn .btn-price{font-size:1.5rem;font-weight:700;color:#28a745}.membership-btn .btn-note{font-size:.85rem;color:#ffffffb3;margin-top:.25rem}.membership-btn.returning{background:#0f3460;border:2px solid #1a4a7a;color:#eee}.membership-btn.returning:hover{background:#1a4a7a}.membership-btn.new-member{background:linear-gradient(135deg,#e94560,#c73652);color:#fff}.membership-btn.new-member:hover{background:linear-gradient(135deg,#d93a55,#b62f48)}.membership-btn.new-member .btn-price{color:#fff}.membership-btn.mid-season{background:linear-gradient(135deg,#ffc107,#e0a800);color:#1a1a2e}.membership-btn.mid-season:hover{background:linear-gradient(135deg,#e0a800,#c99700)}.membership-btn.mid-season .btn-price{color:#1a1a2e}.membership-btn.mid-season .btn-note{color:#1a1a2eb3}.membership-btn.onetime{background:#0f3460;border:2px solid #1a4a7a;color:#eee}.membership-btn.onetime:hover{background:#1a4a7a}.fee-breakdown{background:#0f3460;padding:1rem 1.5rem;border-radius:8px;margin:1rem 0}.fee-line{display:flex;justify-content:space-between;padding:.5rem 0;font-size:1.1rem}.fee-line.total{border-top:2px solid #1a4a7a;margin-top:.5rem;padding-top:.75rem;font-size:1.4rem;font-weight:700;color:#28a745}.designation-badge.new-member{background:#ffc107;color:#1a1a2e}.kiosk-note{color:#aaa;font-size:1rem;margin:0;text-align:center}.kiosk-input{width:100%;padding:1.25rem;font-size:2rem;text-align:center;background:#0f3460;border:2px solid #1a4a7a;border-radius:12px;color:#eee;outline:none}.kiosk-input:focus{border-color:#e94560}.kiosk-input::placeholder{color:#555}.kiosk-btn{width:100%;padding:1.25rem;font-size:1.5rem;font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:transform .1s,background .2s}.kiosk-btn:active{transform:scale(.98)}.kiosk-btn.primary{background:#28a745;color:#fff}.kiosk-btn.primary:hover{background:#218838}.kiosk-btn.secondary{background:#0f3460;color:#eee;border:2px solid #1a4a7a}.kiosk-btn.secondary:hover{background:#1a4a7a}.kiosk-btn-row{display:flex;gap:1rem;width:100%}.kiosk-btn-row .kiosk-btn{flex:1}.kiosk-btn.small{padding:.5rem 1rem;font-size:.9rem}.car-list{display:flex;flex-direction:column;gap:.5rem;margin:1rem 0}.car-item{display:flex;flex-direction:column;align-items:center;padding:1rem;background:#0f3460;border-radius:6px;border-left:4px solid #1a4a7a;gap:.5rem}.car-item.passed{border-left-color:#28a745;background:#28a7451a}.car-item.rejected{border-left-color:#e94560;background:#e945601a}.car-item.pending{border-left-color:#ffc107}.car-item.team{border-left-color:#e67e22;background:#e67e221a}.car-item .car-info{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;gap:.25rem}.car-item .designation{font-weight:700;font-size:1.1rem;color:#eee;text-align:center}.car-item .status{font-size:.9rem;font-weight:700;color:#aaa;text-align:center}.car-item.passed .status{color:#28a745}.car-item.rejected .status{color:#e94560;font-size:1rem}.car-item .new-car-badge{background:#ffc107;color:#1a1a2e;font-size:.7rem;font-weight:700;padding:.15rem .4rem;border-radius:3px;margin-left:.5rem}.tech-notes-display{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;font-size:.85rem;color:#fff;background:#c0392b;padding:.5rem .75rem;margin-top:.5rem;border-radius:4px;font-weight:500;text-align:center}.tech-notes-display:before{content:"⛔";font-size:1.1rem}.car-item-actions{display:flex;align-items:center;gap:.5rem}.car-delete-btn{width:28px;height:28px;border-radius:50%;background:transparent;border:1px solid #666;color:#888;font-size:1.2rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:all .15s ease}.car-delete-btn:hover{background:#dc3545;border-color:#dc3545;color:#fff}.car-designation-label{text-align:center;margin-bottom:1rem}.kiosk-success{text-align:center;padding:2rem 0}.kiosk-success .checkmark{width:100px;height:100px;background:#28a745;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:4rem;color:#fff;margin:0 auto 1rem;animation:pop .3s ease-out}.kiosk-success h2{color:#28a745;font-size:2.5rem;margin-bottom:.5rem}.kiosk-success .driver-name,.kiosk-warning .driver-name,.kiosk-info .driver-name{font-size:1.5rem;color:#eee}.kiosk-warning .driver-name.highlight{color:gold;font-weight:700;font-size:1.8rem;margin:.5rem 0}.car-number-large{font-size:3rem;font-weight:700;color:#eee;margin:.5rem 0}.kiosk-warning{text-align:center;padding:2rem 0}.kiosk-warning .warning-icon{width:100px;height:100px;background:#ffc107;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:4rem;color:#1a1a2e;font-weight:700;margin:0 auto 1rem}.kiosk-warning h2{color:#ffc107;font-size:2rem;margin-bottom:.5rem}.kiosk-already-paid{text-align:center;padding:2rem 0}.kiosk-already-paid .trophy-icon{font-size:5rem;margin-bottom:1rem}.kiosk-already-paid h2{color:#28a745;font-size:2rem;margin-bottom:.5rem}.kiosk-already-paid .driver-name{font-size:1.5rem;color:#28a745;font-weight:700}.kiosk-error-block{text-align:center;padding:2rem 0}.kiosk-error-block .error-icon{width:100px;height:100px;background:#dc3545;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:4rem;color:#fff;margin:0 auto 1rem;animation:pop .3s ease-out}.kiosk-error-block h2{color:#dc3545;font-size:2rem;margin-bottom:.5rem}.kiosk-error-block .driver-name{font-size:1.5rem;color:#eee;margin-bottom:.5rem}.kiosk-error-block .alert-message{color:#ff6b6b;font-size:1rem;margin:1rem 0;line-height:1.5}.kiosk-info{text-align:center;padding:2rem 0}.kiosk-info .info-icon{width:100px;height:100px;background:#17a2b8;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;color:#fff;margin:0 auto 1rem}.kiosk-info h2{color:#17a2b8;font-size:2rem;margin-bottom:.5rem}@keyframes pop{0%{transform:scale(.5);opacity:0}80%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.cashier-page .kiosk-card{border-top:4px solid #28a745}.tech-page .kiosk-card{border-top:4px solid #17a2b8}.kiosk-btn.reject{background:#dc3545;color:#fff}.kiosk-btn.reject:hover{background:#c82333}.kiosk-btn.team-btn{background:#e67e22;color:#fff}.kiosk-btn.team-btn:hover{background:#d35400}.designation-label{margin-top:.5rem}.kiosk-stats .stat.rejected{background:#5c1a1a;color:#ff6b6b}.rejection-reasons{width:100%;display:flex;flex-direction:column;gap:.5rem;max-height:300px}.reason-checkbox{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#0f3460;border-radius:8px;cursor:pointer;transition:background .2s}.reason-checkbox:hover{background:#1a4a7a}.reason-checkbox input[type=checkbox]{width:1.5rem;height:1.5rem;cursor:pointer;accent-color:#dc3545}.reason-checkbox span{font-size:1rem;color:#eee}.kiosk-textarea{width:100%;padding:1rem;font-size:1rem;background:#0f3460;border:2px solid #1a4a7a;border-radius:8px;color:#eee;resize:vertical;min-height:60px;font-family:inherit}.kiosk-textarea:focus{outline:none;border-color:#e94560}.kiosk-textarea::placeholder{color:#555}.kiosk-rejected{text-align:center;padding:2rem 0}.kiosk-rejected .reject-icon{width:100px;height:100px;background:#dc3545;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:4rem;color:#fff;margin:0 auto 1rem;animation:pop .3s ease-out}.kiosk-rejected h2{color:#dc3545;font-size:2.5rem;margin-bottom:.5rem}.kiosk-rejected .driver-name{font-size:1.5rem;color:#eee;margin-bottom:.5rem}.kiosk-rejected .rejection-summary{font-size:.9rem;color:#aaa;margin:0;max-width:400px}.kiosk-stats{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;align-items:center}.kiosk-stats .stat-divider{color:#444;margin:0 .25rem}.kiosk-stats .cashier-name{background:#1a4a7a;font-weight:700}.kiosk-stats .cash-total{background:#2d5a3d}.kiosk-stats .square-total{background:#4a4a8a}.kiosk-stats .logout-mini{background:#444;color:#ccc;border:none;padding:.5rem .75rem;border-radius:4px;cursor:pointer;font-size:.8rem}.kiosk-stats .logout-mini:hover{background:#555}.payment-method-row{display:flex;gap:1rem;justify-content:center;margin:1rem 0}.payment-method-btn{flex:1;max-width:150px;padding:1.25rem 1rem;border:3px solid transparent;border-radius:12px;font-size:1.2rem;cursor:pointer;transition:all .2s}.payment-method-btn.cash{background:#1e4620;color:#fff}.payment-method-btn.cash.selected{border-color:#28a745;background:#2d5a3d}.payment-method-btn.square{background:#1a3a5c;color:#fff}.payment-method-btn.square.selected{border-color:#4a90d9;background:#2a5a8a}.new-car-checkbox{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:#0f3460;border:2px solid #1a4a7a;border-radius:12px;cursor:pointer;transition:border-color .2s,background .2s;width:100%}.new-car-checkbox:hover{background:#1a4a7a}.new-car-checkbox:has(input:checked){border-color:#ffc107;background:#ffc1071a}.new-car-checkbox input[type=checkbox]{width:1.75rem;height:1.75rem;cursor:pointer;accent-color:#ffc107}.new-car-checkbox span{font-size:1.1rem;color:#eee}.kiosk-note.no-new-car{font-size:.9rem;color:#888;font-style:italic}@media(max-width:768px){.header{flex-direction:column;align-items:flex-start}.class-toggle{margin-left:0}.kiosk-links{flex-wrap:wrap;justify-content:center}.dash-lineup{padding:.4rem}.lineup-car .car-num{width:36px;height:36px;font-size:14px}.lineup-car .driver-name{font-size:.55rem}.lineup-car .time{font-size:.5rem}.lineup-car{padding:.2rem .3rem}.sponsor-add-form{flex-direction:column;align-items:stretch}.sponsor-add-form .name-input,.sponsor-add-form .url-input{min-width:auto;width:100%}.sponsor-add-form .btn-add{padding:.75rem 1rem;font-size:1rem;min-height:44px}.sponsor-row{flex-wrap:wrap;gap:.5rem;padding:.75rem .5rem}.sponsor-thumb{width:40px;height:28px}.sponsor-info{flex-basis:calc(100% - 120px)}.sponsor-actions{flex-basis:100%;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}.sponsor-actions button,.sponsor-actions .btn-move,.sponsor-actions .btn-edit,.sponsor-actions .btn-remove{min-height:36px;min-width:36px;padding:.4rem .6rem;font-size:.85rem}.sponsor-actions .active-toggle{font-size:.85rem;min-height:36px}.sponsor-actions .active-toggle input{width:20px;height:20px}.night-sponsor-check input{width:22px;height:22px}}@media(max-width:500px){.kiosk-page{padding:.5rem}.kiosk-card{padding:1.5rem;max-width:100%;border-radius:12px}.kiosk-card h2{font-size:1.5rem}.kiosk-input{font-size:1.8rem;padding:1.25rem;width:100%}.kiosk-btn{font-size:1.4rem;padding:1.25rem;width:100%}.kiosk-btn-row{flex-direction:column;width:100%}.kiosk-btn-row .kiosk-btn{width:100%}.kiosk-success .checkmark,.kiosk-warning .warning-icon,.kiosk-info .info-icon{width:80px;height:80px;font-size:3rem}.fee-display{font-size:1.5rem;padding:1.25rem;width:100%}.fee-display .fee-amount{font-size:2rem}}.btn-toggle,.btn-team-main{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.25rem;cursor:pointer;border-radius:6px;font-size:.9rem;font-weight:600;transition:all .2s ease;box-shadow:0 2px 4px #0003}.btn-toggle:hover,.btn-team-main:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000004d}.btn-toggle:active,.btn-team-main:active{transform:translateY(0)}.btn-toggle{background:#0f3460;border:2px solid #3498db;color:#3498db}.btn-toggle:hover{background:#3498db33}.btn-toggle.active{background:linear-gradient(135deg,#3498db,#2980b9);border-color:#3498db;color:#fff}.btn-team-main{background:#0f3460;border:2px solid #e67e22;color:#e67e22}.btn-team-main:hover{background:#e67e2233}.btn-team-main.active{background:linear-gradient(135deg,#e67e22,#d35400);border-color:#e67e22;color:#fff}.btn-kiosk.payouts{background:linear-gradient(135deg,#27ae60,#1e8449);border-color:#27ae60}.payouts-panel{background:#16213e;border:2px solid #27ae60;border-radius:8px;padding:1rem;margin-bottom:1rem}.payouts-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.payouts-header h3{margin:0;color:#27ae60}.modified-indicator{color:#f39c12;font-size:.85rem;font-style:italic}.btn-reset-payouts{margin-left:auto;background:#0f3460;border:1px solid #1a4a7a;color:#aaa;padding:.4rem .8rem;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-reset-payouts:hover:not(:disabled){background:#1a4a7a;color:#fff}.btn-reset-payouts:disabled{opacity:.5;cursor:not-allowed}.payouts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.payout-group h4{margin:0 0 .75rem;color:#3498db;font-size:.95rem;border-bottom:1px solid #1a4a7a;padding-bottom:.25rem}.payout-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.9rem}.payout-row.modified{background:#f39c121a;margin:0 -.5rem .5rem;padding:.25rem .5rem;border-radius:4px}.payout-row label{color:#aaa;min-width:90px}.payout-input-wrapper{display:flex;align-items:center;gap:.1rem;color:#27ae60}.payout-row input{width:70px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.3rem .4rem;border-radius:4px;font-size:.9rem}.payout-row input.points-input{width:50px}.payout-row input:focus{border-color:#27ae60;outline:none}.payout-row input:disabled{opacity:.6}.default-hint{color:#666;font-size:.75rem;font-style:italic}.team-main-panel{background:#16213e;border:2px solid #e67e22;border-radius:8px;padding:1rem;margin-bottom:1rem}.team-main-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:1rem;flex-wrap:wrap}.team-main-header h3{margin:0;color:#e67e22}.team-purse-input{display:flex;align-items:center;gap:.25rem}.team-purse-input label{color:#aaa;font-size:.9rem}.team-purse-input input{width:100px;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.4rem;border-radius:4px;font-size:1rem}.team-stats{display:flex;gap:1rem;color:#aaa;font-size:.9rem}.team-total-purse{background:#1e4620;padding:.4rem .75rem;border-radius:4px;font-size:.95rem}.team-total-purse strong{color:#28a745;font-size:1.1rem}.team-settings-row{display:flex;gap:1rem;margin-bottom:1rem;padding:.75rem;background:#0f3460;border-radius:6px;flex-wrap:wrap}.team-setting{display:flex;align-items:center;gap:.5rem}.team-setting label{color:#aaa;font-size:.85rem;white-space:nowrap}.team-setting input{width:70px;background:#16213e;border:1px solid #1a4a7a;color:#eee;padding:.4rem;border-radius:4px;font-size:.9rem;text-align:right}.teams-container{display:flex;flex-wrap:wrap;gap:1rem}.team-card{background:#0f3460;border-radius:8px;padding:.75rem;min-width:180px;border-left:4px solid #1a4a7a}.team-card.1st{border-left-color:gold;background:linear-gradient(135deg,#ffd7001a,#0f3460)}.team-card.2nd{border-left-color:silver;background:linear-gradient(135deg,#c0c0c01a,#0f3460)}.team-card.3rd{border-left-color:#cd7f32;background:linear-gradient(135deg,#cd7f321a,#0f3460)}.team-card.ran{border-left-color:#666}.team-card.new-team{background:transparent;border:2px dashed #1a4a7a;display:flex;align-items:center;justify-content:center;min-height:100px}.team-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;gap:.5rem}.team-number{font-weight:600;color:#e67e22;font-size:1rem;flex:1}.team-name-edit{flex:1;background:transparent;border:1px solid transparent;color:#e67e22;font-weight:600;font-size:1rem;padding:.25rem .5rem;border-radius:4px;min-width:80px}.team-name-edit:hover{border-color:#444}.team-name-edit:focus{outline:none;border-color:#e67e22;background:#e67e221a}.team-name-edit::placeholder{color:#888;font-weight:400}.team-name-input{width:100%;padding:.5rem;margin-bottom:.5rem;border:1px solid #1a4a7a;border-radius:4px;background:#0a1628;color:#fff;font-size:.9rem}.team-name-input:focus{outline:none;border-color:#e67e22}.btn-delete-team{background:#8b0000;border:none;color:#fff;width:24px;height:24px;border-radius:4px;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center}.btn-delete-team:hover{background:#a00}.team-result-select{background:#16213e;border:1px solid #1a4a7a;color:#eee;padding:.25rem .5rem;border-radius:4px;font-size:.85rem}.team-drivers{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.5rem}.team-driver{display:flex;justify-content:space-between;align-items:center;padding:.25rem .5rem;background:#ffffff0d;border-radius:4px;font-size:.85rem}.team-driver span{color:#ccc}.btn-remove-driver{background:transparent;border:none;color:#e94560;cursor:pointer;font-size:.9rem;padding:0 .25rem;opacity:.6}.btn-remove-driver:hover{opacity:1}.btn-add-to-team{width:100%;background:transparent;border:1px dashed #1a4a7a;color:#aaa;padding:.4rem;cursor:pointer;border-radius:4px;font-size:.8rem}.btn-add-to-team:hover{background:#ffffff0d;color:#eee}.btn-new-team{background:transparent;border:none;color:#e67e22;font-size:1rem;cursor:pointer;padding:.5rem 1rem}.btn-new-team:hover{color:#f39c12}.team-payout{background:#28a7451a;border-radius:4px;padding:.5rem;margin-top:.5rem;font-size:.8rem;display:flex;flex-direction:column;gap:.2rem}.team-payout span{color:#aaa}.team-payout strong{color:#28a745}.team-payout-total{font-size:1rem;font-weight:700;color:gold;border-bottom:1px solid rgba(255,215,0,.3);padding-bottom:.3rem;margin-bottom:.2rem}.team-add-modal{min-width:350px}.team-add-modal input{width:100%;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.75rem;border-radius:4px;font-size:1rem;margin-bottom:.75rem}.driver-list{display:flex;flex-direction:column;gap:.25rem;max-height:250px;margin-bottom:1rem}.driver-option{width:100%;text-align:left;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.6rem .75rem;cursor:pointer;border-radius:4px;font-size:.95rem}.driver-option:hover{background:#1a4a7a}.driver-option-checkbox{display:flex;align-items:center;gap:.5rem;width:100%;text-align:left;background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.6rem .75rem;cursor:pointer;border-radius:4px;font-size:.95rem}.driver-option-checkbox:hover{background:#1a4a7a}.driver-option-checkbox.selected{background:#1a5a3a;border-color:#28a745}.driver-option-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer}.no-drivers{text-align:center;color:#888;padding:1rem}.times-page .kiosk-card{border-top:4px solid #e94560}.times-card{min-height:400px}.time-display{font-size:3rem;font-weight:700;color:#e94560;background:#0f3460;padding:1rem 2rem;border-radius:12px;min-width:200px;text-align:center;font-family:monospace}.time-display.car-display{color:#ffc107}.existing-time{color:#aaa;font-size:1.1rem;margin:0}.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;width:100%;max-width:300px}.numpad-btn{padding:1.25rem;font-size:1.75rem;font-weight:600;background:#0f3460;border:2px solid #1a4a7a;border-radius:12px;color:#eee;cursor:pointer;transition:all .1s}.numpad-btn:hover{background:#1a4a7a}.numpad-btn:active{transform:scale(.95);background:#2a5a9a}.numpad-btn.action{background:#16213e;color:#e94560;font-size:1.25rem}.numpad-btn.action:hover{background:#1a2a4e}.times-actions{display:flex;gap:.75rem;width:100%}.times-actions .kiosk-btn{flex:1;padding:1rem;font-size:1.25rem}.class-toggle-row{display:flex;gap:.5rem;margin-bottom:1rem;width:100%;max-width:500px}.class-toggle-btn{flex:1;padding:1rem 1.5rem;font-size:1.25rem;font-weight:700;border:3px solid #1a4a7a;border-radius:12px;background:#0f3460;color:#888;cursor:pointer;transition:all .2s}.class-toggle-btn:hover{background:#1a4a7a;color:#ccc}.class-toggle-btn.active{color:#fff}.class-toggle-btn.active.big{background:#e94560;border-color:#e94560}.class-toggle-btn.active.mini{background:#17a2b8;border-color:#17a2b8}@media(max-width:480px){.times-page .kiosk-card{padding:1rem}.time-display{font-size:2.5rem;padding:.75rem 1.5rem}.numpad{gap:.5rem}.numpad-btn{padding:1rem;font-size:1.5rem}.times-actions .kiosk-btn{padding:.75rem;font-size:1rem}.class-toggle-btn{padding:.75rem 1rem;font-size:1.1rem}}.treasurer-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:1.5rem}.treasurer-header{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #0f3460}.treasurer-header h1{margin:0;font-size:1.8rem;color:#e94560;flex:1}.treasurer-header .back-link{color:#aaa;text-decoration:none;font-size:.9rem}.treasurer-header .back-link:hover{color:#e94560}.treasurer-header .night-select{background:#0f3460;border:1px solid #1a4a7a;color:#eee;padding:.5rem 1rem;border-radius:4px;font-size:1rem}.treasurer-header .export-buttons{display:flex;gap:.5rem}.treasurer-header .btn-export{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500}.treasurer-header .btn-export.qb{background:#28a745;color:#fff}.treasurer-header .btn-export.qb:hover{background:#218838}.treasurer-header .btn-export.detailed{background:#17a2b8;color:#fff}.treasurer-header .btn-export.detailed:hover{background:#138496}.treasurer-header .btn-export:disabled{background:#444;color:#888;cursor:not-allowed}.treasurer-summary{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.treasurer-summary .summary-card{background:#16213e;border-radius:12px;padding:1.25rem 1.5rem;min-width:180px;flex:1;border-left:4px solid #0f3460}.treasurer-summary .summary-card.big{border-left-color:#e94560}.treasurer-summary .summary-card.mini{border-left-color:#17a2b8}.treasurer-summary .summary-card.total{border-left-color:#28a745;background:#1a3a1a}.treasurer-summary .summary-card h3{margin:0 0 .5rem;font-size:.9rem;color:#aaa;text-transform:uppercase;letter-spacing:.5px}.treasurer-summary .summary-card .amount{font-size:2rem;font-weight:700;color:#eee}.treasurer-summary .summary-card .count{font-size:.85rem;color:#888;margin-top:.25rem}.payout-table-container{background:#16213e;border-radius:12px;overflow:hidden}.payout-table{width:100%;border-collapse:collapse;font-size:.9rem}.payout-table th{background:#0f3460;color:#aaa;text-transform:uppercase;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:.75rem .5rem;text-align:left;position:sticky;top:0}.payout-table th.num,.payout-table td.num{text-align:right;font-family:SF Mono,Consolas,monospace}.payout-table th.total,.payout-table td.total{font-weight:700;color:#28a745}.payout-table td{padding:.6rem .5rem;border-bottom:1px solid #0f3460;color:#ddd}.payout-table td.driver-name{font-weight:500}.payout-table td.class-badge{font-size:.7rem;font-weight:600;text-transform:uppercase;padding:.2rem .5rem;border-radius:3px;text-align:center;width:50px}.payout-table td.class-badge.big{background:#e9456033;color:#e94560}.payout-table td.class-badge.mini{background:#17a2b833;color:#17a2b8}.payout-table td.donated{color:#e94560}.payout-table td.memo{font-size:.8rem;color:#888;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payout-table tr.section-header td{background:#0f3460;font-weight:700;font-size:1rem;padding:.75rem;color:#eee}.payout-table tr.section-header.big td{border-left:4px solid #e94560}.payout-table tr.section-header.mini td{border-left:4px solid #17a2b8}.payout-table tr.subtotal td{background:#1a2744;font-weight:600;color:#aaa}.payout-table tr.subtotal.big td{border-left:4px solid #e94560}.payout-table tr.subtotal.mini td{border-left:4px solid #17a2b8}.payout-table tr.grand-total td{background:#1a3a1a;font-weight:700;font-size:1.1rem;color:#28a745;border-top:2px solid #28a745}.payout-table tbody tr:hover{background:#ffffff08}.payout-table tbody tr.section-header:hover,.payout-table tbody tr.subtotal:hover,.payout-table tbody tr.grand-total:hover{background:inherit}.kiosk-links .divider{color:#444;margin:0 .25rem}.about-link{background:none;border:none;color:#888;font-size:.85rem;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:color .2s ease,background .2s ease}.about-link:hover{color:#aaa;background:#ffffff0d}.about-modal{max-width:450px;text-align:center}.about-content{padding:1.5rem}.about-logo{font-size:4rem;margin-bottom:.5rem}.about-logo-img{max-width:150px;height:auto;margin-bottom:1rem}.about-content h2{margin:0 0 .25rem;color:#fff;font-size:1.8rem}.about-version{color:#888;font-size:.9rem;margin:0 0 .5rem}.about-tagline{color:#6ea8fe;font-size:1.1rem;margin:0 0 1.5rem;font-style:italic}.about-description{background:#0f3460;padding:1rem;border-radius:8px;margin-bottom:1.5rem}.about-description p{margin:0;color:#ccc;line-height:1.5}.about-features{text-align:left;margin-bottom:1.5rem}.about-features h4{color:#fff;margin:0 0 .75rem;font-size:1rem}.about-features ul{margin:0;padding-left:1.5rem;color:#aaa}.about-features li{margin-bottom:.4rem}.about-credits{border-top:1px solid #1a4a7a;padding-top:1rem;color:#888}.about-credits p{margin:.25rem 0}.about-credits strong{color:#6ea8fe}.about-copyright{font-size:.8rem;color:#666;margin-top:.5rem!important}.tribute-modal{max-width:500px}.tribute-content{padding:1.5rem;text-align:left}.tribute-content p{color:#ccc;line-height:1.7;margin:0 0 1rem;font-style:italic}.tribute-content p:last-child{margin-bottom:0}@media(max-width:900px){.treasurer-page{padding:1rem}.treasurer-header h1{font-size:1.4rem;flex-basis:100%;order:-1;text-align:center}.treasurer-summary .summary-card{min-width:140px}.payout-table{font-size:.8rem}.payout-table th,.payout-table td{padding:.5rem .35rem}}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1a1a2e;color:#eee}.loading-screen .spinner{width:40px;height:40px;border:4px solid #333;border-top-color:#4a90d9;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.access-denied{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1a1a2e;color:#eee;text-align:center;padding:20px}.access-denied h1{color:#e94560;margin-bottom:10px}.access-denied p{color:#aaa;margin:5px 0}.access-denied strong{color:#eee;text-transform:capitalize}.team-driver-select{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.team-driver-option{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:#1e3a5f;border:2px solid #2a4a6f;border-radius:8px;color:#fff;font-size:1.1rem;cursor:pointer;transition:all .15s ease}.team-driver-option:hover{background:#254670;border-color:#3a5a7f}.team-driver-option.selected{background:#1e4a2a;border-color:#4caf50}.team-driver-option .driver-name{font-weight:500}.team-driver-option .captain-badge{background:#ffc107;color:#000;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.racing-mode-select{display:flex;gap:.75rem;margin-top:.75rem}.racing-mode-option{flex:1;padding:1rem;background:#1e3a5f;border:2px solid #2a4a6f;border-radius:8px;color:#fff;cursor:pointer;text-align:center;transition:all .15s ease}.racing-mode-option:hover{background:#254670;border-color:#3a5a7f}.racing-mode-option.selected{background:#1e4a2a;border-color:#4caf50}.racing-mode-option.team.selected{background:#4a3a1e;border-color:#ffc107}.racing-mode-option .mode-title{display:block;font-size:1.1rem;font-weight:600;margin-bottom:.25rem}.racing-mode-option .mode-desc{display:block;font-size:.85rem;color:#aaa}.team-checkout-summary{background:#0000004d;border:2px solid #444;border-radius:8px;padding:1rem;margin-top:1.5rem}.team-checkout-summary .summary-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #333}.team-checkout-summary .summary-row:last-child{border-bottom:none}.team-checkout-summary .summary-label{color:#888;font-size:.95rem}.team-checkout-summary .summary-value{color:#fff;font-weight:500;font-size:.95rem}.team-checkout-summary .summary-value.highlight{color:#4caf50;font-weight:600}.team-checkout-summary .summary-row.header{background:#4caf5033;margin:-1rem -1rem .5rem;padding:.75rem 1rem;border-radius:6px 6px 0 0;border-bottom:2px solid #4caf50}.team-checkout-summary .summary-row.header .summary-label{color:#4caf50;font-weight:600}.team-checkout-summary .summary-value.highlight-big{color:#4caf50;font-weight:700;font-size:1.1rem}.previous-rejection-warning{background:#fee2e2;border:2px solid #ef4444;border-radius:8px;padding:1rem;margin:1rem 0;text-align:center}.previous-rejection-warning .warning-header{font-size:1.25rem;font-weight:700;color:#dc2626;margin-bottom:.5rem}.previous-rejection-warning .rejection-details{color:#7f1d1d;font-size:1rem;line-height:1.4;white-space:pre-wrap}.car-item .tech-notes-display{display:block;background:#fef3c7;border:1px solid #f59e0b;border-radius:4px;padding:.5rem;margin-top:.5rem;font-size:.85rem;color:#92400e;text-align:left}.car-item.rejected .tech-notes-display{background:#fee2e2;border-color:#ef4444;color:#7f1d1d}.fan-mode-banner{background:linear-gradient(to right,#1e3a8a,#2563eb,#60a5fa),linear-gradient(to bottom,#ffffff26,#0000001a);background-blend-mode:overlay;padding:.75rem 1rem;text-align:center;border-bottom:3px solid #fbbf24}.fan-mode-btn{display:inline-block;background:linear-gradient(to bottom,#fcd34d,#f59e0b);color:#1e3a8a;font-size:1.25rem;font-weight:700;padding:.85rem 2.5rem;border-radius:8px;border:3px solid #b45309;border-top-color:#fde68a;border-left-color:#fde68a;text-decoration:none;text-shadow:0 1px 0 rgba(255,255,255,.4);box-shadow:0 4px #92400e,0 6px 15px #0000004d;transition:all .1s ease;cursor:pointer}.fan-mode-btn:hover{background:linear-gradient(to bottom,#fde68a,#fbbf24);transform:translateY(-2px);box-shadow:0 6px #92400e,0 8px 20px #00000059}.fan-mode-btn:active{transform:translateY(2px);box-shadow:0 2px #92400e,0 3px 10px #0000004d}@keyframes pulse-glow{0%,to{box-shadow:0 4px 15px #fbbf2466}50%{box-shadow:0 4px 25px #fbbf24b3}}.dash-votes-admin{display:flex;justify-content:center;padding:.5rem}.btn-clear-votes{background:#dc2626;color:#fff;border:none;border-radius:4px;padding:.4rem .8rem;font-size:.8rem;cursor:pointer;transition:background .2s}.btn-clear-votes:hover{background:#b91c1c}.lap-counter-page{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#1a1a2e,#0a0a15);color:#fff}.lap-counter-page.loading,.lap-counter-page.error{align-items:center;justify-content:center;font-size:1.2rem}.lcp-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#0000004d;border-bottom:1px solid rgba(255,255,255,.1)}.lcp-header-left{display:flex;align-items:center;gap:1rem}.lcp-back-link{color:#9ca3af;text-decoration:none;font-size:.9rem}.lcp-back-link:hover{color:#fff}.lcp-header h1{margin:0;font-size:1.3rem;font-weight:600}.lcp-header-right{display:flex;align-items:center;gap:1rem}.lcp-night{font-size:.9rem;color:#9ca3af;background:#ffffff1a;padding:.25rem .5rem;border-radius:4px}.lcp-event{font-size:.9rem;color:#4ade80;font-weight:600}.lcp-selecting{flex:1;display:flex;flex-direction:column;padding:1rem;gap:1rem;overflow-y:auto}.lcp-controls{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.lcp-class-toggle{display:flex;gap:0}.lcp-class-toggle button{padding:.75rem 1.5rem;font-size:1.2rem;font-weight:600;background:#ffffff1a;border:2px solid rgba(255,255,255,.2);color:#ccc;cursor:pointer;transition:all .2s}.lcp-class-toggle button:first-child{border-radius:4px 0 0 4px}.lcp-class-toggle button:last-child{border-radius:0 4px 4px 0;border-left:none}.lcp-class-toggle button.active{background:#4ade80;color:#000;border-color:#4ade80}.lcp-controls select{padding:.5rem .75rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:4px;color:#fff;font-size:.9rem}.lcp-controls select option{background:#1a1a2e}.lcp-selected{background:#4ade801a;border:1px solid rgba(74,222,128,.3);border-radius:8px;padding:.75rem}.lcp-selected h3{margin:0 0 .5rem;font-size:.9rem;color:#4ade80}.lcp-selected-cars{display:flex;flex-wrap:wrap;gap:.5rem;min-height:60px;align-items:flex-start}.lcp-hint{color:#9ca3af;font-size:.85rem;font-style:italic}.lcp-available{flex:1;display:flex;flex-direction:column;min-height:0}.lcp-available h3{margin:0 0 .5rem;font-size:.9rem;color:#9ca3af}.lcp-available-cars{flex:1;display:flex;flex-wrap:wrap;gap:.5rem;align-content:flex-start;overflow-y:auto}.lcp-gumball{width:60px;height:60px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.4) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.15) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fff,#e8e8e8 60%,#d0d0d0);border:3px solid #22c55e;color:#000;cursor:pointer;transition:all .15s;position:relative;box-shadow:0 4px 8px #0000004d,0 2px 4px #0003,inset 0 -2px 6px #0000001a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.lcp-gumball:hover{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.95) 0%,rgba(255,255,255,.5) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.1) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#f0fdf4,#dcfce7 60%,#bbf7d0);transform:scale(1.05) translateY(-2px);box-shadow:0 6px 12px #00000059,0 3px 6px #00000040,inset 0 -2px 6px #0000001a}.lcp-gumball.selected{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.4) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.15) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fff,#e8e8e8 60%,#d0d0d0);border-color:#16a34a;color:#000}.lcp-gumball.selected .lcp-num,.lcp-gumball.active .lcp-num,.lcp-gumball.finished .lcp-num{font-style:italic;font-weight:900;transform:skew(-12deg);letter-spacing:-1px}.lcp-gumball.active{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.4) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.15) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fff,#e8e8e8 60%,#d0d0d0);border-color:#16a34a;color:#000;cursor:pointer}.lcp-gumball.finished{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.8) 0%,rgba(255,255,255,.3) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.2) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fbbf24,#f59e0b,#d97706);border-color:#d97706;cursor:default;animation:gumball-breathe 1.5s ease-in-out infinite;overflow:visible;box-shadow:0 4px 8px #0000004d,0 2px 4px #0003,inset 0 -2px 6px #00000026,0 0 15px #f59e0b66}.lcp-gumball.finished:before,.lcp-gumball.finished:after{content:"✦";position:absolute;font-size:14px;color:#fff;animation:sparkle 1s ease-in-out infinite;text-shadow:0 0 6px #fff,0 0 10px #f59e0b;pointer-events:none}.lcp-gumball.finished:before{top:-4px;right:0;animation-delay:0s}.lcp-gumball.finished:after{bottom:-2px;left:-2px;animation-delay:.5s}@keyframes gumball-breathe{0%,to{transform:scale(1);box-shadow:0 0 #f59e0b66}50%{transform:scale(1.08);box-shadow:0 0 15px 5px #f59e0b4d}}@keyframes sparkle{0%,to{opacity:.4;transform:scale(.7)}50%{opacity:1;transform:scale(1.3)}}.lcp-previous-results{flex:1;display:flex;flex-direction:column;background:#4ade800d;border:1px solid rgba(74,222,128,.2);border-radius:8px;padding:1rem;overflow:hidden}.lcp-previous-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.lcp-previous-header h3{margin:0;color:#4ade80;font-size:1.2rem}.lcp-previous-entries{flex:1;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto}.lcp-previous-entry{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:#ffffff0d;border-radius:6px}.lcp-previous-entry.place-1{background:linear-gradient(90deg,rgba(255,215,0,.2),transparent);border-left:3px solid #ffd700}.lcp-previous-entry.place-2{background:linear-gradient(90deg,rgba(192,192,192,.2),transparent);border-left:3px solid #c0c0c0}.lcp-previous-entry.place-3{background:linear-gradient(90deg,rgba(205,127,50,.2),transparent);border-left:3px solid #cd7f32}.lcp-previous-pos{width:50px;font-weight:700;color:#4ade80}.lcp-previous-car{font-size:1.3rem;font-weight:700;font-style:italic;color:#fff;min-width:50px}.lcp-previous-result{color:#aaa}.lcp-previous-meta{margin-top:1rem;padding-top:.75rem;border-top:1px solid rgba(255,255,255,.1);color:#666;font-size:.85rem}.lcp-gumball.rookie{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.95) 0%,rgba(255,255,255,.5) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.1) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fffef5,#fff9c4,#ffe082);border-color:#fbc02d}.lcp-gumball.rookie.selected,.lcp-gumball.rookie.active{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.95) 0%,rgba(255,255,255,.5) 15%,transparent 40%),radial-gradient(circle at 70% 80%,rgba(0,0,0,.1) 0%,transparent 30%),radial-gradient(circle at 50% 50%,#fffef5,#fff9c4,#ffe082);border-color:#f9a825}.lcp-rookie-curve{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.lcp-rookie-curve text{font-size:5.5px;font-weight:600;fill:#8b6914;letter-spacing:.5px;text-transform:uppercase}.lcp-gumball.rookie{overflow:visible}.lcp-order{position:absolute;top:-4px;right:-4px;width:18px;height:18px;background:#000;border-radius:50%;font-size:.7rem;display:flex;align-items:center;justify-content:center;color:#4ade80;font-weight:700}.lcp-num{font-size:1.2rem;font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.lcp-pos{font-size:.7rem;font-weight:700;color:#000}.lcp-actions{display:flex;gap:.75rem;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.1)}.lcp-btn{padding:.75rem 1.5rem;border-radius:6px;border:none;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.lcp-btn:disabled{opacity:.5;cursor:not-allowed}.lcp-btn.primary{background:#4ade80;color:#000;flex:1}.lcp-btn.primary:hover:not(:disabled){background:#22c55e}.lcp-btn.secondary{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.lcp-btn.secondary:hover:not(:disabled){background:#fff3}.lcp-btn.validated{background:#22c55e;color:#fff}.lcp-ready{flex:1;display:flex;flex-direction:column;padding:.5rem;overflow:hidden}.lcp-grid-container{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.lcp-grid{display:grid;gap:2px;min-width:fit-content}.lcp-grid-header{background:#ffffff1a;padding:.5rem;text-align:center;font-weight:700;font-size:.85rem;color:#9ca3af;position:sticky;top:0;z-index:1}.lcp-grid-header.finish{background:#f59e0b4d;color:#fbbf24}.lcp-cell{background:#ffffff05;border:1px solid rgba(255,255,255,.05);min-height:70px;display:flex;align-items:center;justify-content:center}.lcp-cell.finish{background:#f59e0b1a;border-color:#f59e0b33}.lcp-cell.has-car{background:#3b82f61a}.lcp-ready-actions{display:flex;gap:.75rem;align-items:center;padding:.5rem;border-top:1px solid rgba(255,255,255,.1)}.lcp-finish-count{color:#9ca3af;font-size:.85rem;margin-left:auto}.lcp-modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.lcp-modal{background:#1a1a2e;border-radius:12px;width:100%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}.lcp-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.lcp-modal-header h2{margin:0;font-size:1.2rem}.lcp-modal-header button{background:none;border:none;color:#9ca3af;font-size:1.5rem;cursor:pointer;padding:0;line-height:1}.lcp-modal-body{flex:1;overflow-y:auto;padding:1rem}.lcp-sheet-card{background:#ffffff0d;border-radius:8px;padding:.75rem;margin-bottom:.75rem}.lcp-sheet-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.lcp-sheet-event{font-weight:600;color:#4ade80}.lcp-sheet-class{font-size:.75rem;background:#ffffff1a;padding:.15rem .4rem;border-radius:3px}.lcp-sheet-time{font-size:.75rem;color:#9ca3af;margin-left:auto}.lcp-sheet-validated{color:#4ade80;font-weight:700}.lcp-sheet-delete{background:none;border:none;color:#ef4444;font-size:1.2rem;cursor:pointer;padding:0 .25rem;opacity:.5}.lcp-sheet-delete:hover{opacity:1}.lcp-sheet-entries{display:flex;flex-wrap:wrap;gap:.5rem}.lcp-sheet-entry{font-size:.8rem;background:#ffffff1a;padding:.2rem .5rem;border-radius:4px}.lcp-modal-wide{max-width:700px;max-height:85vh}.lcp-history-night{margin-bottom:1.5rem;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:1rem}.lcp-history-night:last-child{border-bottom:none}.lcp-history-night-header{font-size:1.2rem;color:#4a9eff;margin:0 0 .75rem;display:flex;align-items:center;gap:1rem}.lcp-history-date{font-size:.9rem;color:#888;font-weight:400}.lcp-history-class{margin-left:.5rem;margin-bottom:1rem}.lcp-history-class-header{font-size:1rem;color:#aaa;margin:0 0 .5rem;padding-bottom:.25rem;border-bottom:1px solid rgba(255,255,255,.05)}@media(max-height:500px)and (orientation:landscape){.lap-counter-page.ready .lcp-header{padding:.35rem .75rem}.lap-counter-page.ready .lcp-header h1{display:none}.lap-counter-page.ready .lcp-back-link{font-size:.8rem}.lap-counter-page.ready .lcp-grid-header{padding:.25rem;font-size:.75rem}.lap-counter-page.ready .lcp-cell{min-height:55px}.lap-counter-page.ready .lcp-gumball{width:50px;height:50px}.lap-counter-page.ready .lcp-num{font-size:1rem}.lap-counter-page.ready .lcp-ready-actions{padding:.35rem .5rem}.lap-counter-page.ready .lcp-btn{padding:.5rem 1rem;font-size:.85rem}}@media(max-height:400px)and (orientation:landscape){.lap-counter-page.ready .lcp-header{display:none}.lap-counter-page.ready .lcp-cell{min-height:48px}.lap-counter-page.ready .lcp-gumball{width:44px;height:44px}.lap-counter-page.ready .lcp-num{font-size:.9rem}}.tech-issue-alerts{margin-bottom:1rem}.tech-issue-alert{background:linear-gradient(135deg,#fff3cd,#ffe9a0);border:2px solid #ffc107;border-radius:8px;padding:.75rem 1rem;margin-bottom:.5rem}.tech-issue-alert .alert-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.tech-issue-alert .alert-icon{font-size:1.2rem}.tech-issue-alert .alert-title{font-weight:700;color:#856404;text-transform:uppercase;letter-spacing:.05em}.tech-issue-alert .alert-night{color:#6c5a00;font-size:.9rem}.tech-issue-alert .alert-content{margin-bottom:.75rem}.tech-issue-alert .alert-description{color:#333;margin:0 0 .5rem;font-size:.95rem}.tech-issue-alert .alert-photos-toggle{background:transparent;border:none;color:#0056b3;text-decoration:underline;cursor:pointer;padding:0;font-size:.9rem}.tech-issue-alert .alert-photos{margin-top:.5rem}.tech-issue-alert .photos-loading{color:#666;font-style:italic;font-size:.9rem}.photo-grid-small{display:flex;flex-wrap:wrap;gap:.5rem}.photo-grid-small .photo-thumb-link{display:block;width:60px;height:60px;border-radius:4px;overflow:hidden;border:1px solid #ccc;background:none;padding:0;cursor:pointer}.photo-grid-small .photo-thumb-link img{width:100%;height:100%;object-fit:cover}.photo-lightbox{position:fixed;inset:0;background:#000000f2;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem}.photo-lightbox img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}.lightbox-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;background:#ffffff4d;border:1px solid rgba(255,255,255,.5);color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity 1s ease,background .2s ease}.lightbox-close:hover{background:#ffffff80}.lightbox-close.visible{opacity:1}.lightbox-close.hidden{opacity:0;pointer-events:none}.tech-issue-alert .alert-actions{display:flex;gap:.5rem;justify-content:flex-end}.kiosk-btn.flag-issue{background:linear-gradient(135deg,#ffc107,#e0a800);color:#333;border:none;font-weight:600}.kiosk-btn.flag-issue:hover{background:linear-gradient(135deg,#e0a800,#c69500)}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.tech-issue-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #e0e0e0;background:#f8f9fa;border-radius:12px 12px 0 0}.tech-issue-modal .modal-header h2{margin:0;font-size:1.25rem;color:#333}.modal-close{background:none;border:none;font-size:1.5rem;color:#666;cursor:pointer;padding:0;line-height:1}.modal-close:hover{color:#333}.tech-issue-modal .modal-body{padding:1.25rem}.tech-issue-modal .modal-error{background:#f8d7da;color:#721c24;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem}.tech-issue-modal .issue-driver-info{display:flex;gap:.75rem;align-items:center;padding:.75rem;background:#e9ecef;border-radius:6px;margin-bottom:1rem}.tech-issue-modal .issue-driver-info .car-number{font-size:1.5rem;font-weight:700;color:#333}.tech-issue-modal .issue-driver-info .driver-name{font-size:1.1rem;color:#555}.tech-issue-modal .form-group{margin-bottom:1rem}.tech-issue-modal .form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:#333}.tech-issue-modal .issue-description{width:100%;padding:.75rem;border:1px solid #ccc;border-radius:6px;font-size:1rem;font-family:inherit;resize:vertical}.tech-issue-modal .issue-description:focus{outline:none;border-color:#0056b3;box-shadow:0 0 0 2px #0056b333}.photo-grid{display:flex;flex-wrap:wrap;gap:.75rem}.photo-thumbnail{position:relative;width:80px;height:80px;border-radius:8px;overflow:hidden;border:2px solid #e0e0e0}.photo-thumbnail img{width:100%;height:100%;object-fit:cover}.photo-thumbnail.uploading{opacity:.6}.photo-thumbnail.error{border-color:#dc3545}.photo-uploading,.photo-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.7rem;text-align:center;padding:.25rem}.photo-uploading{background:#ffffffe6;color:#666}.photo-error{background:#dc3545e6;color:#fff}.photo-remove{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:#000000b3;color:#fff;border:none;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center}.photo-remove:hover{background:#dc3545e6}.photo-add-buttons{display:flex;flex-direction:column;gap:.5rem}.photo-add-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:38px;border:2px dashed #ccc;border-radius:8px;background:#f8f9fa;cursor:pointer;transition:all .2s}.photo-add-btn:hover{border-color:#0056b3;background:#e7f1ff}.photo-add-btn .icon{font-size:1rem}.photo-add-btn span:last-child{font-size:.65rem;color:#666}.tech-issue-modal .modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.25rem;border-top:1px solid #e0e0e0;background:#f8f9fa;border-radius:0 0 12px 12px}.btn{padding:.6rem 1.25rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;border:none;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#0056b3;color:#fff}.btn-primary:hover:not(:disabled){background:#004494}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-success{background:#28a745;color:#fff}.btn-success:hover:not(:disabled){background:#218838}.btn-sm{padding:.4rem .75rem;font-size:.875rem}.rejection-photos-section{margin:1rem 0}.rejection-photo-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.rejection-photo-thumb{position:relative;width:60px;height:60px;border-radius:8px;overflow:hidden;border:2px solid #28a745}.rejection-photo-thumb img{width:100%;height:100%;object-fit:cover}.rejection-photo-thumb .photo-remove-btn{position:absolute;top:-4px;right:-4px;width:22px;height:22px;border-radius:50%;background:#dc3545;color:#fff;border:2px solid white;font-size:14px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.camera-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#17a2b8;color:#fff;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;border:none}.camera-btn:active{background:#138496}.camera-btn input{display:none}.camera-btn.large{padding:1.5rem 2rem;font-size:1.25rem}.kiosk-btn-column{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:300px;margin:0 auto}.kiosk-btn.pass-btn{background:linear-gradient(135deg,#28a745,#1e7e34);color:#fff;font-size:1.25rem;padding:1rem}.kiosk-btn.conditional-btn{background:linear-gradient(135deg,#ffc107,#e0a800);color:#333;font-size:1.25rem;padding:1rem}.kiosk-btn.reject-btn{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;font-size:1.25rem;padding:1rem}.reject-header{color:#dc3545}.conditional-header{color:#e0a800}.issue-reasons-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin:.75rem 0;max-width:100%}.reason-btn{padding:.75rem .5rem;font-size:.95rem;border:2px solid #555;border-radius:8px;background:#333;color:#fff;cursor:pointer;transition:all .15s ease;text-align:center}.reason-btn:hover{background:#444;border-color:#888}.reason-btn.selected{background:#0d6efd;border-color:#0d6efd;color:#fff;font-weight:600}.issue-photo-section{margin:1rem 0;display:flex;justify-content:center}.issue-photo-preview{position:relative;width:200px;height:200px;border-radius:8px;overflow:hidden;border:3px solid #28a745}.issue-photo-preview img{width:100%;height:100%;object-fit:cover}.issue-photo-preview .photo-remove-btn{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;background:#dc3545;color:#fff;border:2px solid white;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.kiosk-success.issue-saved{background:#d4edda;border-color:#28a745}.photo-capture-btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:70px;height:70px;border:2px dashed #aaa;border-radius:6px;background:#f8f9fa;cursor:pointer;font-size:.7rem;color:#666;overflow:hidden}.photo-capture-btn:hover{border-color:#0056b3;background:#e7f1ff}.photo-capture-btn span:first-child{font-size:1.25rem;margin-bottom:2px}.modal-header-status{display:flex;gap:.5rem;margin-left:auto;margin-right:1rem}.offline-badge,.syncing-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.offline-badge{background:#6c757d;color:#fff}.syncing-badge{background:#17a2b8;color:#fff;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.offline-notice{background:#e7f3ff;border:1px solid #b6d4fe;border-radius:6px;padding:.75rem 1rem;margin-bottom:1rem;font-size:.9rem;color:#0a58ca}.photo-thumbnail.queued{border-color:#ffc107}.photo-thumbnail.uploaded{border-color:#28a745}.photo-status-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:600;text-transform:uppercase}.photo-status-overlay.uploading{background:#ffffffe6;color:#0056b3}.photo-status-overlay.queued{background:#ffc107d9;color:#333}.photo-status-overlay.failed{background:#dc3545d9;color:#fff}.photo-status-badge{position:absolute;bottom:2px;left:2px;right:2px;background:#28a745e6;color:#fff;font-size:.6rem;text-align:center;padding:2px;border-radius:2px;text-transform:uppercase}.photo-error-text{position:absolute;bottom:0;left:0;right:0;background:#dc3545f2;color:#fff;font-size:.6rem;padding:2px 4px;text-align:center}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:20px}.login-container{background:#fff;border-radius:12px;padding:40px;width:100%;max-width:400px;box-shadow:0 10px 40px #0000004d}.login-container h1{margin:0 0 10px;color:#1a1a2e;font-size:28px;text-align:center}.login-container h2{margin:20px 0 15px;color:#333;font-size:18px;text-align:center}.required-role{text-align:center;color:#666;margin-bottom:20px;font-size:14px;text-transform:capitalize}.login-step{display:flex;flex-direction:column;gap:15px}.login-step input{padding:14px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:border-color .2s}.login-step input:focus{outline:none;border-color:#4a90d9}.login-step input.code-input{text-align:center;font-size:24px;letter-spacing:8px;font-family:monospace}.login-step button{padding:14px 20px;border:none;border-radius:8px;font-size:16px;cursor:pointer;transition:all .2s}.login-step button:not(.back-btn):not(.link-btn):not(.copy-btn){background:#4a90d9;color:#fff}.login-step button:not(.back-btn):not(.link-btn):not(.copy-btn):hover:not(:disabled){background:#357abd}.login-step button:disabled{opacity:.6;cursor:not-allowed}.back-btn{background:#f0f0f0!important;color:#666!important}.back-btn:hover{background:#e0e0e0!important}.link-btn{background:none!important;color:#4a90d9!important;padding:0!important;text-decoration:underline;font-size:14px!important}.hint{text-align:center;color:#666;font-size:14px;margin-top:10px}.info{text-align:center;color:#666;font-size:14px;margin:0}.error-message{background:#ffebee;color:#c62828;padding:12px 16px;border-radius:8px;text-align:center;margin-bottom:15px}.password-display{display:flex;align-items:center;justify-content:center;gap:10px;background:#f5f5f5;padding:20px;border-radius:8px;margin:10px 0}.password-display code{font-size:24px;font-weight:700;color:#1a1a2e;letter-spacing:2px}.copy-btn{background:#e0e0e0!important;color:#333!important;padding:8px 12px!important;font-size:14px!important}.copy-btn:hover{background:#d0d0d0!important}.expiry{text-align:center;color:#666;font-size:14px;margin:0}.warning{text-align:center;color:#e65100;font-size:14px;font-weight:500;margin:0}.logged-in{text-align:center}.logged-in p{margin:10px 0;color:#333}.logged-in .role{color:#666;font-size:14px;text-transform:capitalize}.continue-btn{margin-top:20px;background:#4caf50;color:#fff;padding:14px 30px;border:none;border-radius:8px;font-size:16px;cursor:pointer}.continue-btn:hover{background:#43a047}.admin-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e)}.admin-header{background:#1a1a2e;color:#fff;padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.admin-header h1{margin:0;font-size:28px}.admin-header .back-link{color:#aaa;text-decoration:none}.admin-header .back-link:hover{color:#fff}.admin-header .user-info{display:flex;align-items:center;gap:15px;font-size:18px}.admin-header .logout-btn{background:#444;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer}.admin-header .logout-btn:hover{background:#555}.admin-tabs{background:#16213e;border-bottom:1px solid #0f3460;padding:0 20px;display:flex;gap:5px}.admin-tabs button{background:none;border:none;padding:15px 20px;font-size:20px;cursor:pointer;border-bottom:3px solid transparent;color:#aaa;position:relative}.admin-tabs button:hover{color:#ddd}.admin-tabs button.active{color:#fff;border-bottom-color:#e94560;font-weight:500}.admin-tabs .badge{background:#e53935;color:#fff;font-size:11px;padding:2px 6px;border-radius:10px;margin-left:5px}.admin-error{background:#c6282833;color:#ff6b6b;padding:12px 20px;margin:10px 20px;border-radius:4px;border:1px solid rgba(198,40,40,.3)}.admin-content{padding:20px}.loading{text-align:center;padding:40px;color:#aaa}.users-tab .tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.users-tab h2{margin:0;font-size:24px;color:#ddd}.users-tab .add-btn{background:#4a90d9;color:#fff;border:none;padding:12px 24px;border-radius:4px;cursor:pointer;font-size:18px}.users-tab .add-btn:hover{background:#357abd}.new-user-form{background:#1a2744;padding:20px;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000004d}.new-user-form h3{margin:0 0 15px;font-size:22px;color:#ddd}.new-user-form .form-row{display:flex;gap:10px;margin-bottom:10px}.new-user-form input,.new-user-form select{flex:1;padding:14px;border:1px solid #0f3460;border-radius:4px;font-size:18px;background:#0f3460;color:#ddd}.new-user-form .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.new-user-form button{padding:12px 24px;border:none;border-radius:4px;cursor:pointer;font-size:18px;background:#0f3460;color:#aaa}.new-user-form button.primary{background:#4a90d9;color:#fff}.users-table{width:100%;background:#1a2744;border-collapse:collapse;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000004d}.users-table th,.users-table td{padding:16px 20px;text-align:left;border-bottom:1px solid #0f3460;font-size:18px;color:#ddd}.users-table th{background:#0f3460;font-weight:600;font-size:18px;color:#aaa}.users-table tr.inactive{opacity:.6}.users-table .role{text-transform:capitalize}.users-table .status{padding:6px 12px;border-radius:4px;font-size:16px;font-weight:500}.users-table .status.active{background:#2e7d3233;color:#4caf50}.users-table .status.inactive{background:#c6282833;color:#ff6b6b}.users-table .actions{display:flex;gap:8px}.users-table .actions button{padding:10px 16px;border:none;border-radius:4px;font-size:16px;cursor:pointer;background:#0f3460;color:#aaa}.users-table .actions button:hover{background:#1a4a7a;color:#ddd}.users-table .actions button.danger{background:#c6282833;color:#ff6b6b}.users-table .actions button.success{background:#2e7d3233;color:#4caf50}.audit-tab .tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.audit-tab h2{margin:0;font-size:24px;color:#ddd}.audit-tab .tab-header button.danger{background:#c628284d;color:#ff6b6b;border:none;padding:12px 24px;border-radius:4px;cursor:pointer;font-size:18px}.audit-tab .tab-header button.danger:hover{background:#c6282880}.audit-table{width:100%;background:#1a2744;border-collapse:collapse;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000004d;font-size:13px}.audit-table th,.audit-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #0f3460;color:#ddd}.audit-table th{background:#0f3460;font-weight:500;color:#aaa}.audit-table .time{white-space:nowrap;color:#888;font-size:12px}.audit-table .action{font-family:monospace;background:#0f3460;color:#4a9eff;padding:2px 6px;border-radius:3px}.audit-table .details pre{margin:5px 0;padding:10px;background:#0f3460;color:#ccc;border-radius:4px;font-size:11px;max-width:400px;overflow-x:auto}.alerts-tab h2{margin:0 0 20px;font-size:18px;color:#ddd}.no-alerts{text-align:center;color:#888;padding:40px}.alerts-list{display:flex;flex-direction:column;gap:15px}.alert-card{background:#1a2744;padding:15px 20px;border-radius:8px;box-shadow:0 2px 4px #0000004d;border-left:4px solid #ff9800}.alert-card.acknowledged{opacity:.6;border-left-color:#666}.alert-card.void_payment{border-left-color:#f44336}.alert-card.multiple_voids{border-left-color:#e91e63}.alert-card.login_fail{border-left-color:#ff5722}.alert-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.alert-type{font-family:monospace;background:#0f3460;color:#4a9eff;padding:3px 8px;border-radius:4px;font-size:12px}.alert-time{color:#888;font-size:12px}.alert-message{margin:0 0 10px;font-size:14px;color:#ddd}.alert-user{margin:0;color:#888;font-size:13px}.alert-details{margin-top:10px}.alert-details pre{margin:5px 0;padding:10px;background:#0f3460;color:#ccc;border-radius:4px;font-size:11px}.alert-card button{margin-top:10px;padding:8px 16px;background:#4a90d9;color:#fff;border:none;border-radius:4px;cursor:pointer}.alert-card button:hover{background:#357abd}.admin-tabs .tab-spacer{flex:1}.admin-tabs .backup-btn{background:#2e7d32;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:16px}.admin-tabs .backup-btn:hover{background:#1b5e20}.backup-status{background:#2e7d3233;color:#4caf50;padding:12px 20px;margin:10px 20px;border-radius:4px;border:1px solid rgba(46,125,50,.3)}.users-table .role-select{padding:8px 12px;border:1px solid #0f3460;border-radius:4px;font-size:16px;background:#0f3460;color:#ddd;cursor:pointer;text-transform:capitalize}.users-table .role-select:hover{border-color:#4a90d9}.users-table .role-fixed{text-transform:capitalize;color:#888}.users-table tr.protected{background:#0f346080}.users-table .protected-badge{margin-left:6px;cursor:help}.users-table .protected-note{color:#888;font-style:italic;font-size:14px}.tech-issues-admin{padding:20px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin-bottom:20px}.stat-card{background:#ffffff1a;border-radius:8px;padding:15px;text-align:center}.stat-card .stat-value{font-size:2rem;font-weight:700;color:#fff}.stat-card .stat-label{font-size:.85rem;color:#aaa;text-transform:uppercase;letter-spacing:.05em}.stat-card.open .stat-value{color:#ffc107}.stat-card.resolved .stat-value{color:#28a745}.stat-card.storage .stat-value{color:#17a2b8}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;flex-wrap:wrap;gap:10px}.admin-toolbar .filters{display:flex;gap:10px}.admin-toolbar select{padding:8px 12px;border-radius:4px;border:1px solid #444;background:#1a1a2e;color:#fff;font-size:14px}.admin-toolbar .actions{display:flex;gap:10px}.btn-warning{background:#ffc107;color:#333}.btn-warning:hover{background:#e0a800}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.issues-table{overflow-x:auto}.issues-table table{width:100%;border-collapse:collapse;background:#ffffff0d;border-radius:8px;overflow:hidden}.issues-table th,.issues-table td{padding:12px 15px;text-align:left;border-bottom:1px solid rgba(255,255,255,.1)}.issues-table th{background:#0000004d;font-weight:600;text-transform:uppercase;font-size:.8rem;letter-spacing:.05em}.issues-table tr.open{background:#ffc1071a}.issues-table tr.resolved{background:#28a7450d}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.open{background:#ffc107;color:#333}.status-badge.resolved{background:#28a745;color:#fff}.link-btn{background:none;border:none;color:#4da6ff;cursor:pointer;text-decoration:underline;font-size:inherit;padding:0}.link-btn:hover{color:#7bbfff}.actions-cell{display:flex;gap:6px}.expanded-row td{background:#0003;padding:0}.issue-details{padding:15px 20px}.issue-description{margin-bottom:15px;color:#ccc}.issue-photos-grid{display:flex;flex-wrap:wrap;gap:10px}.issue-photos-grid .photo-link{display:block;width:100px;height:100px;border-radius:6px;overflow:hidden;border:2px solid #444;transition:border-color .2s}.issue-photos-grid .photo-link:hover{border-color:#4da6ff}.issue-photos-grid .photo-link img{width:100%;height:100%;object-fit:cover}.empty-state{text-align:center;padding:40px;color:#888;font-size:1.1rem}.tech-issues-admin .loading{text-align:center;padding:40px;color:#aaa}.cleanup-modal{max-width:450px}.cleanup-modal .form-group{margin-bottom:15px}.cleanup-modal .form-group label{display:flex;align-items:center;gap:8px;cursor:pointer}.cleanup-modal select{width:100%;padding:8px 12px;border-radius:4px;border:1px solid #ccc;font-size:14px;margin-top:5px}.cleanup-warning{background:#fff3cd;color:#856404;padding:12px;border-radius:6px;font-weight:500;text-align:center;margin-top:15px}.cleanup-result{text-align:center}.cleanup-result h3{color:#28a745;margin-bottom:15px}.cleanup-result ul{list-style:none;padding:0;margin:0 0 20px}.cleanup-result li{padding:8px 0;border-bottom:1px solid #eee}.cleanup-result li:last-child{border-bottom:none}.fan-page{min-height:100vh;min-height:100dvh;background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding-bottom:40px;overflow-x:clip;width:100%;max-width:100vw;box-sizing:border-box}.fan-page *{box-sizing:border-box}.fan-loading{text-align:center;padding:100px 20px;font-size:24px;color:#aaa}.fan-header{text-align:center;padding:30px 20px;background:#0000004d;position:relative}.fan-header h1{margin:0;font-size:42px;text-transform:uppercase;letter-spacing:3px}.ticket-link-container{text-align:center;padding:10px 20px}.ticket-link{display:inline-flex;align-items:center;text-decoration:none;transition:transform .2s,filter .2s;animation:ticket-pulse 3s ease-in-out infinite}.ticket-link:hover{transform:scale(1.05);filter:brightness(1.3);animation:none}.ticket-svg{width:280px;height:70px}@keyframes ticket-pulse{0%,to{opacity:1}50%{opacity:.7}}@media(max-width:600px){.ticket-svg{width:220px;height:55px}}.fan-subtitle{margin:10px 0 0;font-size:18px;color:#aaa}.staff-link{position:absolute;top:20px;right:20px;color:#666;text-decoration:none;font-size:14px;padding:8px 16px;border:1px solid #444;border-radius:4px}.staff-link:hover{color:#aaa;border-color:#666}.fan-class-toggle{display:flex;justify-content:center;gap:10px;padding:20px}.fan-class-toggle button{padding:15px 40px;font-size:20px;font-weight:700;border:none;border-radius:8px;cursor:pointer;background:#333;color:#888;transition:all .2s}.fan-class-toggle button:hover{background:#444;color:#ccc}.fan-class-toggle button.active.big{background:#e53935;color:#fff}.fan-class-toggle button.active.mini{background:#1e88e5;color:#fff}.fan-night-select{display:flex;justify-content:center;align-items:center;gap:15px;padding:10px 20px 30px}.fan-night-select label{font-size:18px;color:#aaa}.fan-night-select select{padding:12px 20px;font-size:18px;border-radius:6px;border:none;background:#333;color:#fff;cursor:pointer}.fan-section{max-width:1200px;margin:0 auto 40px;padding:0 20px;width:100%;overflow:hidden}.fan-section h2{font-size:28px;margin:0 0 20px;padding-bottom:10px;border-bottom:2px solid #444;text-align:center}.fan-subscribe{text-align:center;background:#0000004d;border-radius:12px;padding:25px;margin-bottom:30px;position:relative}.fan-subscribe-compact{padding:12px 20px;margin-bottom:20px;text-align:left}.fan-subscribe-compact .subscribe-form{flex-direction:row;align-items:center;justify-content:center;max-width:none;gap:8px;flex-wrap:wrap}.fan-subscribe-compact .subscribe-label{color:#aaa;font-size:14px;white-space:nowrap}.fan-subscribe-compact .subscribe-inputs{gap:6px;flex:1;min-width:0}.fan-subscribe-compact .subscribe-email,.fan-subscribe-compact .subscribe-name{padding:8px 12px;font-size:14px;min-width:140px}.fan-subscribe-compact .subscribe-btn{padding:8px 16px;font-size:13px}.fan-subscribe-compact .subscribe-dismiss{top:4px;right:6px;font-size:18px;padding:2px 6px}.subscribe-dismiss{position:absolute;top:10px;right:10px;background:transparent;border:none;color:#666;font-size:24px;cursor:pointer;padding:5px 10px;line-height:1;transition:color .2s}.subscribe-dismiss:hover{color:#fff}.fan-subscribe h2{border-bottom:none;padding-bottom:0;margin-bottom:15px}.subscribe-form{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:500px;margin:0 auto}.subscribe-inputs{display:flex;gap:10px;width:100%;flex-wrap:wrap;justify-content:center}.subscribe-email,.subscribe-name{padding:12px 16px;font-size:16px;border-radius:6px;border:2px solid #444;background:#222;color:#fff;flex:1;min-width:180px}.subscribe-email:focus,.subscribe-name:focus{border-color:gold;outline:none}.subscribe-email::placeholder,.subscribe-name::placeholder{color:#666}.subscribe-honeypot{opacity:0;position:absolute;top:0;left:0;height:0;width:0;z-index:-1}.subscribe-btn{padding:14px 30px;font-size:16px;font-weight:700;border:none;border-radius:8px;background:linear-gradient(135deg,gold,#ff8c00);color:#000;cursor:pointer;transition:transform .2s,box-shadow .2s}.subscribe-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #ffd70066}.subscribe-btn:disabled{opacity:.7;cursor:not-allowed}.subscribe-status{padding:10px 20px;border-radius:6px;font-size:14px;margin:0}.subscribe-status.success{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.subscribe-status.error{background:#f4433633;border:1px solid #f44336;color:#f44336}.fan-subscribe-bottom{padding:15px 25px;margin-top:30px;margin-bottom:0}.subscribed-confirmation{display:flex;align-items:center;justify-content:center;gap:10px;color:#4caf50;font-size:16px}.subscribed-check{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#4caf50;color:#fff;border-radius:50%;font-size:14px;font-weight:700}.subscribe-reset-link{display:block;text-align:center;margin-top:10px;color:#888;font-size:12px;text-decoration:none}.subscribe-reset-link:hover{color:gold;text-decoration:underline}.fan-fastest{text-align:center}.fan-fastest-row{display:flex;align-items:center;justify-content:center;gap:1.5rem}.class-toggle-btn{padding:16px 24px;font-size:18px;font-weight:700;border:3px solid #444;border-radius:12px;background:#222;color:#888;cursor:pointer;transition:all .2s;min-width:120px}.class-toggle-btn:hover{border-color:#666;color:#fff}.class-toggle-btn.big.active{background:linear-gradient(135deg,#1565c0,#0d47a1);border-color:#42a5f5;color:#fff;box-shadow:0 0 15px #2196f366}.class-toggle-btn.mini.active{background:linear-gradient(135deg,#7b1fa2,#4a148c);border-color:#ba68c8;color:#fff;box-shadow:0 0 15px #9c27b066}.fan-fastest-empty{background:linear-gradient(135deg,#444,#333);color:#888}.fan-fastest-display{background:linear-gradient(135deg,gold,#ff8c00);border-radius:12px;padding:22px;display:inline-block;min-width:225px}.fan-fastest-display.a-dash-winner{background:linear-gradient(135deg,#2e7d32,#1b5e20,#4caf50);border:3px solid #ffd700;box-shadow:0 0 15px #4caf5080;position:relative}.fan-fastest-display.a-dash-winner .fastest-car-num{position:relative}.fan-fastest-display.a-dash-winner .fastest-car-num:before,.fan-fastest-display.a-dash-winner .fastest-car-num:after{content:"🏆";position:absolute;font-size:24px;top:50%;transform:translateY(-50%)}.fan-fastest-display.a-dash-winner .fastest-car-num:before{left:-38px}.fan-fastest-display.a-dash-winner .fastest-car-num:after{right:-38px}.fan-fastest-display.a-dash-winner .fastest-driver{font-size:21px;font-weight:900;font-style:italic;color:#ffc107;letter-spacing:-1px;transform:skew(-10deg);text-shadow:2px 2px 4px rgba(0,0,0,.8)}.fan-fastest-display.a-dash-winner .fastest-time{font-size:24px;font-weight:900;font-style:italic;color:#ffc107;letter-spacing:-1px;transform:skew(-10deg);text-shadow:2px 2px 4px rgba(0,0,0,.8)}.fan-fastest-display .fastest-car-num{width:75px;height:75px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -4px 8px #0003,inset 0 4px 8px #fffc,0 4px 8px #0000004d;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-size:32px;font-weight:900;color:#000;font-style:italic;letter-spacing:-2px}.fan-fastest-display .fastest-driver{font-size:18px;color:#333;margin:8px 0}.fan-fastest-display .fastest-time{font-size:27px;font-weight:700;font-family:monospace;color:#000}.fan-fastest-display .fastest-class{font-size:11px;color:#666;margin-top:6px;text-transform:uppercase;letter-spacing:2px}.fan-fastest-display.a-dash-winner .fastest-class{color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.5)}.night-sponsor{text-align:center;padding:10px 16px;margin-bottom:8px}.night-sponsor-label{display:block;font-size:.75rem;color:#aaa;text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}.night-sponsor-content{display:inline-flex;align-items:center;gap:10px}.night-sponsor-logo{max-height:40px;max-width:100px;object-fit:contain;border-radius:4px}.night-sponsor-name{font-size:1.1rem;font-weight:600;color:#f0c040}.fan-sponsors{text-align:center}.fan-sponsors-bottom{padding-top:0;margin-top:-1rem}.fan-sponsors-row{display:flex;align-items:stretch;justify-content:center;gap:2rem}.fastest-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#333;margin-bottom:2px}.sponsor-slot{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:4px 0}.sponsor-logo{max-width:150px;max-height:80px;object-fit:contain;transition:opacity .5s ease;border-radius:6px}.sponsor-logo.fade-out{opacity:0}.fan-dash-container{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.fan-dash-box{width:460px;max-width:100%;background:#0006;border-radius:12px;padding:20px;border:3px solid #444}.fan-dash-box.a-dash{border-color:#e53935}.fan-dash-box.b-dash{border-color:#1e88e5}.fan-dash-box h3{margin:0 0 15px;font-size:24px;text-align:center}.fan-dash-box.a-dash h3{color:#e53935}.fan-dash-box.b-dash h3{color:#1e88e5}.vote-instruction{text-align:center;color:gold;font-size:14px;margin-bottom:10px;font-style:italic}.fan-front-indicator{display:flex;flex-direction:column;align-items:center;margin-bottom:15px;color:#4caf50}.fan-front-indicator .arrow{font-size:32px;line-height:1}.fan-front-indicator .label{font-size:14px;font-weight:700;letter-spacing:2px}.fan-lineup-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fan-lineup-car{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:15px 10px;background:#ffffff14;border-radius:8px;border:2px solid #444;min-height:100px}.fan-lineup-car.winner{background:#4caf504d;border:2px solid #4caf50}.fan-lineup-car.my-vote{border-color:gold;box-shadow:0 0 12px #ffd70066}.fan-lineup-car.vote-leader{animation:flash-green 1s ease-in-out infinite}.fan-lineup-car.vote-leader.winner{animation:none}@keyframes flash-green{0%,to{border-color:#0f0;box-shadow:0 0 15px #0f09}50%{border-color:#333;box-shadow:none}}.vote-btn{position:absolute;top:8px;right:8px;background:#00000080;border:1px solid #555;border-radius:6px;padding:4px 8px;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .2s}.vote-btn:hover{background:#ffd70033;border-color:gold}.vote-btn.voted{background:#ffd7004d;border-color:gold}.vote-btn.locked{opacity:.6;cursor:not-allowed}.vote-btn.locked:hover{background:transparent;border-color:#555}.vote-star{font-size:16px;color:gold}.vote-count{font-size:12px;font-weight:700;color:#fff;min-width:14px;text-align:center}.fan-lineup-car .position{font-size:14px;font-weight:700;color:#888;margin-bottom:5px}.fan-lineup-car .car-num{width:70px;height:70px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -4px 8px #0003,inset 0 4px 8px #fffc,0 4px 8px #0000004d;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;color:#000;font-style:italic;letter-spacing:-1px;text-shadow:none}.fan-lineup-car.rookie .car-num{background:linear-gradient(145deg,#fffef5,#fff9c4,#fff59d)}.fan-lineup-car .driver-name{font-size:14px;color:#fff;text-align:center;margin-top:5px}.fan-lineup-car .time{font-size:12px;color:#aaa;font-family:monospace;margin-top:3px}.fan-dash-empty{text-align:center;padding:30px;color:#666;font-style:italic}.fan-alternates{background:#0000004d;border:2px solid #555;border-radius:12px;padding:15px;margin-top:20px}.fan-alternates h4{color:#888;margin:0 0 15px;text-align:center;font-size:18px;text-transform:uppercase;letter-spacing:2px}.fan-alternates-grid{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}.fan-alternate-car{background:#ffffff0d;border:2px dashed #555;border-radius:8px;padding:15px;text-align:center;min-width:100px}.fan-alternate-car .alt-position{font-size:12px;color:#888;display:block;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px}.fan-alternate-car .car-num{width:50px;height:50px;margin:0 auto 8px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:#000;font-style:italic}.fan-alternate-car .driver-name{font-size:12px;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fan-alternate-car .time{font-size:11px;color:#28a745;font-family:monospace;margin-top:4px}.fan-times-list{background:#0000004d;border-radius:12px;padding:15px}.fan-time-row{display:grid;grid-template-columns:50px 80px 1fr 100px;align-items:center;padding:12px 15px;border-bottom:1px solid #333;font-size:18px}.fan-time-row:last-child{border-bottom:none}.fan-time-row .rank{font-weight:700;color:#888}.fan-time-row .car-num{font-size:22px;font-weight:900;font-style:italic;color:#ffc107;letter-spacing:-1px;transform:skew(-10deg);display:inline-block}.fan-time-row .driver-name{color:#fff}.fan-time-row .time{text-align:right;font-family:monospace;color:#4caf50}.fan-empty{text-align:center;padding:40px;color:#666;font-style:italic}.fan-standings-table{width:100%;border-collapse:collapse;background:#0000004d;border-radius:12px;overflow:hidden;table-layout:fixed}.fan-standings-table th,.fan-standings-table td{padding:14px 16px;text-align:left;font-size:18px}.fan-standings-table th{background:#00000080;font-weight:600;color:#aaa;text-transform:uppercase;font-size:14px}.fan-standings-table tbody tr{border-bottom:1px solid #333}.fan-standings-table tbody tr:hover{background:#ffffff0d}.fan-standings-table tbody tr.rookie{background:#ffc1071a}.fan-standings-table .num{text-align:center;font-weight:700}.standings-car-num{display:inline-block;font-size:22px;font-weight:900;font-style:italic;color:#ffc107;letter-spacing:-1px;transform:skew(-10deg)}.fan-standings-table .rookie-badge{background:#ffc107;color:#000;padding:2px 6px;border-radius:3px;font-size:12px;font-weight:700;margin-left:8px}.fan-teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.fan-team-card{background:#0006;border-radius:12px;padding:15px;border:3px solid #444}.fan-team-card.1st{border-color:gold;background:linear-gradient(135deg,#ffd70033,#0006)}.fan-team-card.2nd{border-color:silver;background:linear-gradient(135deg,#c0c0c033,#0006)}.fan-team-card.3rd{border-color:#cd7f32;background:linear-gradient(135deg,#cd7f3233,#0006)}.fan-team-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #444}.fan-team-number{font-size:20px;font-weight:700;color:#fff}.fan-team-result{font-size:16px;font-weight:700;padding:4px 12px;border-radius:4px;background:#333;color:#888}.fan-team-result.1st{background:linear-gradient(135deg,gold,#ffb300);color:#000}.fan-team-result.2nd{background:linear-gradient(135deg,silver,#a0a0a0);color:#000}.fan-team-result.3rd{background:linear-gradient(135deg,#cd7f32,#a66628);color:#fff}.fan-team-result.ran{background:#333;color:#888}.fan-team-drivers{display:flex;flex-direction:column;gap:8px}.fan-team-driver{display:flex;align-items:center;gap:12px;padding:8px 10px;background:#ffffff0d;border-radius:6px}.fan-team-car-num{width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#fff,#e0e0e0,#ccc);box-shadow:inset 0 -3px 6px #0003,inset 0 3px 6px #fffc,0 3px 6px #0000004d;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:#000;font-style:italic;letter-spacing:-1px;flex-shrink:0}.fan-team-driver-name{font-size:16px;color:#fff}.fan-footer{text-align:center;padding:30px 20px;color:#666;font-size:14px;border-top:1px solid #333;margin-top:40px}@media(max-width:600px){.fan-page{font-size:13px}.fan-header{padding:15px 10px}.fan-header h1{font-size:18px;letter-spacing:0}.fan-subtitle{font-size:12px}.staff-link{position:static;display:block;margin:10px auto 0;width:fit-content;font-size:12px}.fan-class-toggle{padding:10px 8px}.fan-class-toggle button{padding:8px 16px;font-size:13px}.fan-night-select{flex-direction:column;gap:8px;padding:8px 10px 20px}.fan-night-select label{font-size:14px}.fan-night-select select{padding:8px 14px;font-size:14px}.fan-section{padding:0 6px;margin-bottom:25px}.fan-section h2{font-size:16px;margin-bottom:12px}.fan-fastest-row{gap:.5rem}.class-toggle-btn{padding:10px 12px;font-size:12px;min-width:70px;border-width:2px;border-radius:8px}.fan-fastest-display{min-width:auto;width:auto;max-width:150px;padding:10px}.fan-fastest-display .fastest-car-num{width:55px;height:55px;font-size:24px}.fan-fastest-display .fastest-time{font-size:20px}.fan-fastest-display .fastest-driver{font-size:14px}.fan-fastest-display .fastest-class{font-size:9px}.fan-fastest-display.a-dash-winner .fastest-driver{font-size:16px}.fan-fastest-display.a-dash-winner .fastest-time{font-size:18px}.fan-fastest-display.a-dash-winner .fastest-car-num:before,.fan-fastest-display.a-dash-winner .fastest-car-num:after{font-size:16px}.fan-fastest-display.a-dash-winner .fastest-car-num:before{left:-25px}.fan-fastest-display.a-dash-winner .fastest-car-num:after{right:-25px}.sponsor-slot{justify-content:space-between}.sponsor-logo{max-width:90px;max-height:55px}.fan-sponsors-row{gap:.5rem}.fan-time-row{grid-template-columns:22px 40px 1fr 50px;padding:5px 3px;font-size:11px;gap:3px}.fan-time-row .car-num{font-size:13px}.fan-times-list{padding:6px 3px}.fan-standings-table th,.fan-standings-table td{padding:5px 3px;font-size:11px;word-break:break-word}.standings-car-num{font-size:13px}.fan-standings-table .rookie-badge{display:block;margin:4px 0 0;font-size:10px;padding:1px 4px}.fan-lineup-grid{gap:6px}.fan-lineup-car .car-num{width:38px;height:38px;font-size:16px}.fan-lineup-car{padding:5px 3px;min-height:50px}.fan-lineup-car .driver-name{font-size:9px}.fan-lineup-car .time{font-size:8px}.fan-lineup-car .position{font-size:10px}.vote-btn{top:4px;right:4px;padding:2px 5px}.vote-star{font-size:12px}.vote-count{font-size:10px}.fan-teams-grid{grid-template-columns:1fr}.fan-dash-container{gap:10px}.fan-dash-box{padding:10px 6px}.fan-dash-box h3{font-size:14px;margin-bottom:8px}.fan-front-indicator .arrow{font-size:24px}.fan-front-indicator .label{font-size:11px}.fan-alternates{padding:10px;margin-top:15px}.fan-alternates h4{font-size:14px;margin-bottom:10px}.fan-alternates-grid{gap:8px}.fan-alternate-car{padding:8px;min-width:70px}.fan-alternate-car .alt-position{font-size:10px;margin-bottom:5px}.fan-alternate-car .car-num{width:30px;height:30px;font-size:12px;margin-bottom:4px}.fan-alternate-car .driver-name{font-size:9px}.fan-alternate-car .time{font-size:8px}.fan-team-card{padding:12px}.fan-team-header{margin-bottom:10px;padding-bottom:8px}.fan-team-number{font-size:16px}.fan-team-result{font-size:13px;padding:3px 8px}.fan-team-car-num{width:35px;height:35px;font-size:14px}.fan-team-driver-name{font-size:12px}.fan-team-driver{padding:5px 6px;gap:8px}.fan-subscribe{padding:15px 10px}.fan-subscribe-compact{padding:10px 12px}.fan-subscribe-compact .subscribe-form{flex-direction:column;align-items:stretch;gap:6px}.fan-subscribe-compact .subscribe-inputs{flex-direction:row}.fan-subscribe-compact .subscribe-email,.fan-subscribe-compact .subscribe-name{min-width:0;flex:1}.fan-subscribe-compact .subscribe-btn{width:auto;padding:8px 16px;align-self:center}.subscribe-inputs{flex-direction:column}.subscribe-email,.subscribe-name{min-width:auto;width:100%}.subscribe-btn{width:100%;padding:12px 20px}}.archive-viewer-page{max-width:1200px;margin:0 auto;padding:20px}.archive-header{margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #333}.back-link{display:inline-block;margin-bottom:12px;color:#4a90d9;text-decoration:none}.back-link:hover{text-decoration:underline}.archive-header h1{margin:0 0 8px;font-size:1.75rem}.archive-date{color:#888;margin:0}.archive-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.tab-buttons{display:flex;gap:8px}.tab-buttons button{padding:8px 16px;border:1px solid #444;background:#1a1a2e;color:#ccc;cursor:pointer;border-radius:4px;transition:all .2s}.tab-buttons button:hover{background:#252540}.tab-buttons button.active{background:#4a90d9;border-color:#4a90d9;color:#fff}.class-toggle{display:flex;gap:4px}.class-toggle button{padding:8px 16px;border:1px solid #444;background:#1a1a2e;color:#ccc;cursor:pointer}.class-toggle button:first-child{border-radius:4px 0 0 4px}.class-toggle button:last-child{border-radius:0 4px 4px 0}.class-toggle button.active{background:#4a90d9;border-color:#4a90d9;color:#fff}.archive-content{background:#1a1a2e;border-radius:8px;padding:20px}.archive-content h2{margin:0 0 16px;font-size:1.25rem;color:#fff}.night-selector{margin-bottom:16px;display:flex;align-items:center;gap:12px}.night-selector label{color:#ccc}.night-selector select{padding:8px 12px;border:1px solid #444;background:#252540;color:#fff;border-radius:4px;min-width:200px}.archive-table{width:100%;border-collapse:collapse}.archive-table th,.archive-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #333}.archive-table th{background:#252540;color:#aaa;font-weight:600;font-size:.85rem;text-transform:uppercase}.archive-table tbody tr:hover{background:#252540}.standings-table .rank{font-weight:700;width:60px}.standings-table tr.rank-1 td{background:#ffd70026}.standings-table tr.rank-2 td{background:#c0c0c01a}.standings-table tr.rank-3 td{background:#cd7f321a}.standings-table .car-number{font-weight:600;color:#4a90d9}.standings-table .points{font-weight:700;text-align:right}.results-table .car-number{font-weight:600;color:#4a90d9}.results-table .win{color:#4caf50;font-weight:700}.results-table .first{color:gold;font-weight:700}.results-table .second{color:silver;font-weight:700}.results-table .third{color:#cd7f32;font-weight:700}.results-table .points,.results-table .pay{text-align:right}.results-table .time{font-family:monospace}.drivers-table .car-number{font-weight:600;color:#4a90d9}.drivers-table .flags{display:flex;gap:6px}.flag{padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}.flag.rookie{background:#e91e63;color:#fff}.flag.lifetime{background:#9c27b0;color:#fff}.flag.team{background:#ff9800;color:#fff}.no-data{color:#888;text-align:center;padding:40px;font-style:italic}@media(max-width:768px){.archive-controls{flex-direction:column;align-items:stretch}.tab-buttons,.class-toggle{justify-content:center}.archive-table{font-size:.9rem}.archive-table th,.archive-table td{padding:8px 6px}}.subscribe-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);padding:20px}.subscribe-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:50px 40px;max-width:450px;width:100%;text-align:center;box-shadow:0 20px 60px #0000004d}.subscribe-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:40px;margin:0 auto 25px}.subscribe-icon.success{background:linear-gradient(135deg,#4caf50,#2e7d32);color:#fff}.subscribe-icon.farewell{background:linear-gradient(135deg,#ff9800,#f57c00);font-size:36px}.subscribe-icon.error{background:linear-gradient(135deg,#f44336,#c62828);color:#fff;font-weight:700}.subscribe-card h1{color:#fff;font-size:32px;margin:0 0 20px;font-weight:600}.subscribe-message{color:#ccc;font-size:18px;line-height:1.6;margin:0 0 15px}.subscribe-note{color:#888;font-size:14px;margin:0}.subscribe-home-link{display:inline-block;margin-top:30px;padding:12px 30px;background:linear-gradient(135deg,gold,#ff8c00);color:#000;text-decoration:none;border-radius:8px;font-weight:600;font-size:16px;transition:transform .2s,box-shadow .2s}.subscribe-home-link:hover{transform:translateY(-2px);box-shadow:0 4px 15px #ffd70066}@media(max-width:500px){.subscribe-card{padding:40px 25px}.subscribe-card h1{font-size:26px}.subscribe-message{font-size:16px}.subscribe-icon{width:70px;height:70px;font-size:34px}}.fan-mail-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding-bottom:40px}.fan-mail-header{text-align:center;padding:30px 20px;background:#0000004d;position:relative}.fan-mail-header h1{margin:0;font-size:32px;color:gold}.fan-mail-header p{margin:10px 0 0;color:#aaa}.fan-mail-header .back-link{position:absolute;top:20px;left:20px;color:#888;text-decoration:none;padding:8px 16px;border:1px solid #444;border-radius:4px;font-size:14px}.fan-mail-header .back-link:hover{color:#fff;border-color:#666}.fan-mail-content{max-width:800px;margin:0 auto;padding:20px}.fan-mail-stats{display:flex;align-items:center;gap:20px;margin-bottom:30px;padding:20px;background:#0000004d;border-radius:12px}.stat-card{display:flex;flex-direction:column;align-items:center;gap:5px}.stat-number{font-size:48px;font-weight:700;color:gold}.stat-label{font-size:14px;color:#888;text-transform:uppercase;letter-spacing:1px}.refresh-btn{margin-left:auto;padding:10px 20px;background:#333;border:1px solid #555;border-radius:6px;color:#fff;cursor:pointer;transition:background .2s}.refresh-btn:hover:not(:disabled){background:#444}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}.error-message{background:#f4433633;border:1px solid #f44336;color:#f44336;padding:12px 16px;border-radius:6px;margin-bottom:20px}.fan-mail-compose{background:#0000004d;border-radius:12px;padding:25px;margin-bottom:30px}.fan-mail-compose h2{margin:0 0 20px;font-size:20px;color:#fff;border-bottom:1px solid #444;padding-bottom:10px}.fan-mail-compose .form-group{margin-bottom:20px}.fan-mail-compose label{display:block;margin-bottom:8px;font-weight:600;color:#ccc}.fan-mail-compose input[type=text]{width:100%;padding:12px 16px;background:#222;border:2px solid #444;border-radius:6px;color:#fff;font-size:16px;box-sizing:border-box}.fan-mail-compose input[type=text]:focus{border-color:gold;outline:none}.fan-mail-compose textarea{width:100%;padding:12px 16px;background:#222;border:2px solid #444;border-radius:6px;color:#fff;font-size:16px;font-family:inherit;resize:vertical;min-height:200px;box-sizing:border-box}.fan-mail-compose textarea:focus{border-color:gold;outline:none}.fan-mail-compose textarea::placeholder{color:#666}.compose-note{color:#888;font-size:14px;margin:0 0 15px}.compose-result{padding:12px 16px;border-radius:6px;margin-bottom:15px}.compose-result.success{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.compose-result.error{background:#f4433633;border:1px solid #f44336;color:#f44336}.send-btn{padding:14px 30px;background:linear-gradient(135deg,gold,#ff8c00);border:none;border-radius:8px;color:#000;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.send-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #ffd70066}.send-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.fan-mail-subscribers{background:#0000004d;border-radius:12px;padding:25px}.fan-mail-subscribers h2{margin:0 0 20px;font-size:20px;color:#fff;border-bottom:1px solid #444;padding-bottom:10px}.empty-list{color:#666;text-align:center;padding:30px;font-style:italic}.subscriber-list{border:1px solid #333;border-radius:6px;overflow:hidden}.subscriber-list-header,.subscriber-list-row{display:grid;grid-template-columns:1fr 150px 100px;padding:12px 16px}.subscriber-list-header{background:#0000004d;font-weight:600;color:#888;text-transform:uppercase;font-size:12px;letter-spacing:1px}.subscriber-list-row{border-top:1px solid #333}.subscriber-list-row:hover{background:#ffffff0d}.subscriber-list-row .email{color:#7af;word-break:break-all}.subscriber-list-row .name{color:#ccc}.subscriber-list-row .date{color:#888;font-size:14px}@media(max-width:600px){.fan-mail-header h1{font-size:24px}.fan-mail-header .back-link{position:static;display:inline-block;margin-top:15px}.fan-mail-stats{flex-direction:column;text-align:center}.refresh-btn{margin-left:0}.stat-number{font-size:36px}.subscriber-list-header,.subscriber-list-row{grid-template-columns:1fr 80px}.subscriber-list-row .name{display:none}.subscriber-list-header span:nth-child(2){display:none}.send-btn{width:100%}}.staff-gate-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:20px}.staff-gate-container{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:40px;max-width:400px;width:100%;text-align:center}.staff-gate-container h1{color:#fff;font-size:1.8rem;margin:0 0 10px}.staff-gate-container p{color:#ffffffb3;margin:0 0 30px}.code-input-container{margin-bottom:20px}.code-input{width:100%;max-width:200px;padding:16px;font-size:2rem;text-align:center;letter-spacing:.5em;border:2px solid rgba(255,255,255,.2);border-radius:8px;background:#0000004d;color:#fff;outline:none;transition:border-color .2s}.code-input:focus{border-color:#4caf50}.code-input::placeholder{color:#ffffff4d;letter-spacing:.5em}.honeypot-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.error-message{color:#ff6b6b;margin-bottom:20px;font-size:.9rem}.submit-btn{width:100%;max-width:200px;padding:14px 28px;font-size:1rem;font-weight:600;color:#fff;background:#4caf50;border:none;border-radius:8px;cursor:pointer;transition:background .2s,transform .1s}.submit-btn:hover:not(:disabled){background:#45a049;transform:translateY(-1px)}.submit-btn:disabled{background:#fff3;cursor:not-allowed}.fan-link{margin-top:30px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.fan-link a{color:#fff9;text-decoration:none;font-size:.9rem}.fan-link a:hover{color:#fff;text-decoration:underline}@media(max-width:480px){.staff-gate-container{padding:30px 20px}.staff-gate-container h1{font-size:1.5rem}.code-input{font-size:1.5rem;padding:12px}}.format-builder-page{min-height:100vh;background:linear-gradient(135deg,#1a1a2e,#16213e);color:#e0e0e0;padding:20px}.format-builder-page.loading{display:flex;align-items:center;justify-content:center;font-size:1.5rem}.fb-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #3a3a5a}.fb-header h1{margin:0;font-size:1.8rem;color:#fff}.fb-header .back-link{color:#4ecdc4;text-decoration:none;font-size:1rem}.fb-header .back-link:hover{text-decoration:underline}.fb-error{background:#e74c3c;color:#fff;padding:12px 20px;border-radius:6px;margin-bottom:20px}.fb-success{background:#27ae60;color:#fff;padding:12px 20px;border-radius:6px;margin-bottom:20px}.fb-tabs{display:flex;gap:5px;margin-bottom:25px;background:#0f0f23;padding:5px;border-radius:8px}.fb-tabs button{flex:1;padding:12px 20px;background:transparent;border:none;color:#8a8a9a;font-size:.95rem;font-weight:500;cursor:pointer;border-radius:6px;transition:all .2s}.fb-tabs button:hover{background:#1a1a3a;color:#fff}.fb-tabs button.active{background:#4ecdc4;color:#000}.fb-content{background:#0f0f23;border-radius:12px;padding:25px}.fb-section-header{margin-bottom:25px}.fb-section-header h2{margin:0 0 8px;font-size:1.4rem;color:#fff}.fb-section-header p{margin:0;color:#8a8a9a;font-size:.95rem}.fb-form{background:#1a1a3a;padding:20px;border-radius:8px;margin-bottom:25px}.fb-form h3{margin:0 0 15px;font-size:1.1rem;color:#4ecdc4}.fb-form-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.fb-form-row input[type=text],.fb-form-row input[type=number],.fb-form-row select{padding:10px 14px;background:#0f0f23;border:1px solid #3a3a5a;border-radius:6px;color:#e0e0e0;font-size:.95rem;flex:1;min-width:150px}.fb-form-row input:focus,.fb-form-row select:focus{outline:none;border-color:#4ecdc4}.fb-form-row .checkbox-label{display:flex;align-items:center;gap:8px;color:silver;font-size:.9rem;white-space:nowrap}.fb-form-row .checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.input-with-label{display:flex;align-items:center;gap:8px}.input-with-label label{white-space:nowrap;color:#8a8a9a;font-size:.9rem}.input-with-label input{width:100px}.btn-primary{padding:10px 20px;background:#4ecdc4;color:#000;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary:hover{background:#3dbdb5}.btn-primary:disabled{background:#3a3a5a;color:#6a6a7a;cursor:not-allowed}.btn-edit{padding:6px 12px;background:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-edit:hover{background:#2980b9}.btn-clone{padding:6px 12px;background:#9b59b6;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-clone:hover{background:#8e44ad}.btn-delete{padding:6px 12px;background:#e74c3c;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-delete:hover{background:#c0392b}.btn-save{padding:6px 12px;background:#27ae60;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-save:hover{background:#219a52}.btn-cancel{padding:6px 12px;background:#6a6a7a;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.btn-cancel:hover{background:#5a5a6a}.fb-list{background:#1a1a3a;border-radius:8px;overflow:hidden}.fb-list-header{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 150px;gap:15px;padding:12px 20px;background:#0f0f23;font-weight:600;font-size:.9rem;color:#8a8a9a;text-transform:uppercase}.fb-list-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 150px;gap:15px;padding:15px 20px;border-bottom:1px solid #2a2a4a;align-items:center}.fb-list-row:last-child{border-bottom:none}.fb-list-row.inactive{opacity:.6}.fb-list-row input[type=text],.fb-list-row input[type=number]{padding:8px 12px;background:#0f0f23;border:1px solid #3a3a5a;border-radius:4px;color:#e0e0e0;font-size:.9rem;width:100%}.action-buttons{display:flex;gap:8px;flex-wrap:wrap}.system-badge{background:#3498db;color:#fff;padding:2px 6px;border-radius:3px;font-size:.7rem;margin-left:8px}.status-active{color:#27ae60}.status-inactive{color:#e74c3c}.empty-message{padding:30px;text-align:center;color:#6a6a7a;font-style:italic}.formats-list{display:flex;flex-direction:column;gap:20px;background:transparent}.format-card{background:#1a1a3a;border-radius:10px;overflow:hidden;border:1px solid #2a2a4a}.format-card.default{border-color:#4ecdc4}.format-card.inactive{opacity:.6}.format-header{padding:20px;border-bottom:1px solid #2a2a4a}.format-title{display:flex;align-items:center;gap:10px;margin-bottom:8px}.format-title h3{margin:0;font-size:1.2rem;color:#fff}.badge{padding:3px 8px;border-radius:4px;font-size:.75rem;font-weight:600}.default-badge{background:#4ecdc4;color:#000}.template-badge{background:#9b59b6;color:#fff}.inactive-badge{background:#e74c3c;color:#fff}.format-desc{margin:0 0 15px;color:#8a8a9a;font-size:.9rem}.format-actions{display:flex;gap:10px}.format-events{padding:20px}.format-events h4{margin:0 0 15px;font-size:1rem;color:#4ecdc4}.empty-events{color:#6a6a7a;font-style:italic;padding:10px 0}.events-table{background:#0f0f23;border-radius:6px;overflow:hidden;margin-bottom:15px}.events-header{display:grid;grid-template-columns:40px 1.5fr 80px 1fr 1.2fr 1.2fr 100px;gap:10px;padding:10px 15px;background:#16163a;font-size:.8rem;font-weight:600;color:#8a8a9a;text-transform:uppercase}.event-row{display:grid;grid-template-columns:40px 1.5fr 80px 1fr 1.2fr 1.2fr 100px;gap:10px;padding:12px 15px;border-bottom:1px solid #2a2a4a;font-size:.9rem;align-items:center}.event-row:last-child{border-bottom:none}.col-order{text-align:center;font-weight:600;color:#4ecdc4}.col-actions{display:flex;gap:5px;justify-content:flex-end}.btn-move{padding:4px 8px;background:#2a2a4a;color:#8a8a9a;border:none;border-radius:3px;cursor:pointer;font-size:.8rem}.btn-move:hover:not(:disabled){background:#3a3a5a;color:#fff}.btn-move:disabled{opacity:.3;cursor:not-allowed}.btn-edit-small{padding:4px 8px;background:#3498db;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:.8rem}.btn-edit-small:hover{background:#2980b9}.btn-remove{padding:4px 8px;background:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;font-size:.9rem}.btn-remove:hover{background:#c0392b}.add-event-form{display:flex;flex-wrap:wrap;gap:10px;padding:15px;background:#16163a;border-radius:6px;margin-top:15px}.add-event-form select,.add-event-form input[type=text]{padding:10px 12px;background:#0f0f23;border:1px solid #3a3a5a;border-radius:5px;color:#e0e0e0;font-size:.9rem;min-width:150px}.add-event-form select:focus,.add-event-form input:focus{outline:none;border-color:#4ecdc4}.add-event-form .form-buttons{display:flex;gap:10px;margin-left:auto}.btn-add-event{display:block;width:100%;padding:12px;background:transparent;border:2px dashed #3a3a5a;border-radius:6px;color:#4ecdc4;font-size:.95rem;cursor:pointer;transition:all .2s}.btn-add-event:hover{border-color:#4ecdc4;background:#4ecdc41a}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#1a1a3a;border-radius:12px;padding:25px;width:90%;max-width:500px;box-shadow:0 10px 40px #00000080}.modal h3{margin:0 0 20px;font-size:1.3rem;color:#fff}.modal .form-group{margin-bottom:15px}.modal .form-group label{display:block;margin-bottom:6px;color:#8a8a9a;font-size:.9rem}.modal .form-group input[type=text]{width:100%;padding:10px 14px;background:#0f0f23;border:1px solid #3a3a5a;border-radius:6px;color:#e0e0e0;font-size:.95rem}.modal .form-group input:focus{outline:none;border-color:#4ecdc4}.modal .checkbox-group{display:flex;flex-direction:column;gap:10px}.modal .checkbox-group label{display:flex;align-items:center;gap:10px;cursor:pointer;color:silver}.modal .checkbox-group input[type=checkbox]{width:18px;height:18px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}@media(max-width:1024px){.fb-list-header,.fb-list-row{grid-template-columns:1.5fr 1fr 1fr 100px}.fb-list-header span:nth-child(2),.fb-list-row span:nth-child(2){display:none}.events-header,.event-row{grid-template-columns:30px 1fr 70px 1fr 80px}.events-header .col-payout,.events-header .col-points,.event-row .col-payout,.event-row .col-points{display:none}}@media(max-width:768px){.fb-header{flex-direction:column;align-items:flex-start;gap:10px}.fb-tabs{flex-wrap:wrap}.fb-tabs button{flex:1 1 calc(50% - 5px);padding:10px;font-size:.85rem}.fb-form-row{flex-direction:column}.fb-form-row input,.fb-form-row select{width:100%}.fb-list-header,.fb-list-row{grid-template-columns:1fr 1fr 100px;font-size:.85rem}.fb-list-header span:nth-child(3),.fb-list-row span:nth-child(3){display:none}.events-header,.event-row{grid-template-columns:30px 1fr 60px}.events-header .col-class,.events-header .col-label,.event-row .col-class,.event-row .col-label{display:none}.add-event-form{flex-direction:column}.add-event-form select,.add-event-form input{width:100%}.add-event-form .form-buttons{margin-left:0;width:100%}.add-event-form .form-buttons button{flex:1}}
