*{box-sizing:border-box;margin:0;padding:0}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;font-size:14.4px}color-scheme: dark; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body{margin:0;min-height:100vh;background:#1a1f2e}#root{min-height:100vh}.thinking-time-card{display:flex;flex-direction:column;border-radius:min(.75rem,2cqw);overflow:hidden;box-shadow:0 min(4px,1cqw) min(6px,1.5cqw) #0003;margin-bottom:min(1rem,3cqw);container-type:size;width:100%;height:100%;min-height:120px}.thinking-time-card[style*=height]{min-height:unset}.thinking-time-section{flex:1;display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;padding:clamp(.5rem,min(4cqw,3cqh),2rem);gap:clamp(.5rem,min(3cqw,2cqh),1.5rem)}.thinking-time-label{font-size:clamp(1rem,min(10cqw,12cqh),3rem);font-weight:700;text-shadow:0 clamp(1px,.5cqw,4px) clamp(2px,1cqw,8px) rgba(0,0,0,.3);text-align:left;line-height:1}.thinking-time-value{font-size:min(25cqw,30cqh);font-weight:700;font-family:Courier New,monospace;text-shadow:0 clamp(2px,.5cqw,4px) clamp(4px,1cqw,8px) rgba(0,0,0,.3);text-align:left;line-height:1}.time-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;height:100%}.stone-indicators{display:flex;flex-direction:row;gap:clamp(.125rem,min(2cqw,2cqh),1rem);justify-content:center;height:85%;margin:4px 24px 4px 16px}.stone-row{display:flex;flex-direction:column;gap:clamp(.125rem,min(2cqw,2cqh),1rem);justify-content:space-between;height:100%}.stone-circle{--stone-size: clamp(8px, min(5cqw, 5cqh), 40px);width:var(--stone-size);height:var(--stone-size);border-radius:50%;transition:all .3s;position:relative;box-sizing:border-box;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:0}.stone-circle.active{background:var(--stone-color)!important;box-shadow:0 0 clamp(3px,min(1.5cqw,1.5cqh),8px) #fff9}.stone-circle.active:after{content:"";position:absolute;top:50%;left:50%;transform-origin:center center;width:10%;height:50%;--handle-radius: calc(var(--stone-size) * .08);transform:translate(-50%,-50%) rotate(0) translateY(calc(-1 * var(--handle-radius)));border-width:calc(var(--stone-size) * .06);border-style:solid;z-index:2;border-color:var(--section-bg-color);border-radius:clamp(4px,min(2.5cqw,2.5cqh),18px);background-color:var(--section-bg-color);pointer-events:none;opacity:.7;animation:spin 4s linear infinite}.stone-circle:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 calc(var(--stone-size) * .15) var(--outline-color, rgba(0,0,0,.25));z-index:1}@keyframes spin{0%{transform:translate(-50%,-50%) rotate(0) translateY(calc(-1 * var(--handle-radius)))}to{transform:translate(-50%,-50%) rotate(360deg) translateY(calc(-1 * var(--handle-radius)))}}@keyframes running-blink{0%,49%{background:transparent!important}50%,to{background:var(--stone-color)!important}}.thinking-time-pause{display:flex;align-items:center;justify-content:center}.thinking-time-pause-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(.5rem,min(4cqw,3cqh),2rem)}.thinking-time-pause-label{font-size:clamp(1rem,min(10cqw,12cqh),3rem);font-weight:700;text-align:center;line-height:1;margin-bottom:clamp(.5rem,min(2cqw,2cqh),1rem)}.thinking-time-pause-value{font-size:min(25cqw,30cqh);font-weight:700;font-family:Courier New,monospace;text-align:center;line-height:1}.thinking-time-pause-layout{display:flex;flex-direction:column}.between-ends-top{flex:2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(.5rem,min(4cqw,3cqh),2rem)}.between-ends-label{font-size:clamp(1rem,min(8cqw,10cqh),2.5rem);font-weight:700;text-align:center;line-height:1;margin-bottom:clamp(.25rem,min(1cqw,1cqh),.5rem)}.between-ends-countdown{font-size:min(20cqw,25cqh);font-weight:700;font-family:Courier New,monospace;text-align:center;line-height:1}.clearing-stones-text{font-size:min(12cqw,15cqh);font-weight:500;text-align:center;line-height:1;font-style:italic}.between-ends-times{flex:1;display:flex;flex-direction:row}.between-ends-time-section{flex:1;display:flex;align-items:center;justify-content:center;padding:clamp(.25rem,min(2cqw,1.5cqh),1rem)}.between-ends-time-value{font-size:min(15cqw,18cqh);font-weight:700;font-family:Courier New,monospace;text-align:center;line-height:1;text-shadow:0 clamp(1px,.5cqw,3px) clamp(2px,1cqw,6px) rgba(0,0,0,.3)}body.light .thinking-time-label{text-shadow:0 1px 2px rgba(0,0,0,.1)}body.light .thinking-time-value,body.light .between-ends-time-value{text-shadow:0 1px 3px rgba(0,0,0,.15)}body.light .pause-indicator{color:#64748b}.split-time-card{border-radius:min(.75rem,2cqw);box-shadow:0 min(4px,1cqw) min(6px,1.5cqw) #0003;display:flex;flex-direction:column;position:relative;container-type:size;width:100%;height:100%;min-height:200px;padding:0}.split-time-card[style*=height]{min-height:unset}.stone-number-badge{position:absolute;top:clamp(.5rem,3cqw,1rem);left:clamp(.5rem,3cqw,1rem);width:clamp(1.25rem,7cqw,2.5rem);height:clamp(1.25rem,7cqw,2.5rem);border-radius:50%;background:#fffffff2;color:#1f2937;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:clamp(.625rem,3.5cqw,1rem);box-shadow:0 2px 4px #0003}.split-time-card.size-normal .stone-number-badge{top:.75rem;left:.75rem;width:1.75rem;height:1.75rem;font-size:.75rem}.shot-content{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;margin:0 auto;overflow:hidden;padding:clamp(.5rem,2cqw,1rem)}.split-columns{display:flex;flex-direction:row;gap:clamp(1rem,4cqw,3rem);width:100%;height:100%;margin-left:48px;margin-top:12px;justify-content:center;align-items:center}.split-column{flex:1;display:flex;flex-direction:column;justify-content:center;gap:clamp(.25rem,min(2cqw,2cqh),1rem);min-width:0}.split-timer{display:flex;flex-direction:column;gap:clamp(0rem,min(.5cqw,.5cqh),.25rem);width:100%;text-align:left;flex-shrink:1;min-height:0}.split-label{font-weight:600;color:#000000b3;font-size:min(2.5cqw,3.5cqh);opacity:.9;text-transform:uppercase;letter-spacing:.05em;margin-bottom:clamp(0rem,min(.5cqw,.5cqh),.25rem);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.split-time{font-weight:800;font-family:Courier New,monospace;color:#000000e6;font-size:min(8cqw,10cqh);text-shadow:0 clamp(1px,.3cqw,2px) clamp(2px,.6cqw,4px) rgba(0,0,0,.3);line-height:1;overflow:hidden;text-overflow:ellipsis}body.light .stone-number-badge{background:#fff;color:#1f2937;box-shadow:0 2px 4px #00000026}body.light .split-label{color:#000000b3}body.light .split-time{color:#000000e6}body.light .split-time-card.empty{background-color:#475569!important;border:1px solid #64748b}body.light .split-time-card.empty .split-label{color:#fffc}body.light .split-time-card.empty .split-time{color:#fffffff2}.log-card{position:relative;border-radius:.5rem;padding:.5rem .5rem .5rem 2.5rem;box-shadow:0 2px 4px #0000004d;transition:all .2s;color:#fff;opacity:.85;border:1px solid rgba(255,255,255,.2)}.log-card.selected{border:3px solid #3b82f6;box-shadow:0 0 0 2px #3b82f64d,0 4px 8px #0006;opacity:1}.log-card.has-locations{cursor:pointer}.log-card:hover{opacity:1;transform:translateY(2px);box-shadow:0 4px 8px #0006}.log-card.expanded{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0}.stone-number-badge-small{position:absolute;top:.375rem;left:.375rem;width:1.375rem;height:1.375rem;border-radius:50%;background:#fffffff2;color:#1f2937;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.625rem;box-shadow:0 2px 4px #0003}.log-content{display:flex;flex-direction:column;padding-top:6px;gap:0}.log-split{display:flex;justify-content:space-between;align-items:center}.log-label{font-size:.625rem;opacity:.9;font-weight:500;line-height:1.2}.log-value{font-size:.75rem;font-weight:700;font-family:Courier New,monospace;line-height:1.2}.log-locations-expansion{min-height:300px;margin-top:-12px;margin-bottom:1rem;border:1px solid rgba(0,0,0,.1);border-top:none;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;overflow:hidden}.log-locations-expansion>.stone-locations-card{border-top-left-radius:0!important;border-top-right-radius:0!important}body.light .log-card{background:#ffffffe6;border-color:#cbd5e1;color:#0f172a;box-shadow:0 2px 4px #00000014}body.light .log-card:hover{box-shadow:0 4px 8px #0000001f}body.light .log-card.selected{border-color:#3b82f6}body.light .stone-number-badge-small{background:#fff;color:#1f2937;box-shadow:0 2px 4px #00000026}body.light .log-label{opacity:.7}.stone-locations-card{background-color:#323b4a;border-radius:8px;padding:6px;box-shadow:0 2px 4px #0000001a;margin-bottom:0;height:100%;display:flex;flex-direction:column}.stone-locations-card.empty{background:#323b4a;border:1px solid #323b4a;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:150px;height:100%;margin-bottom:0}.stone-locations-card.empty .no-data{color:#ffffff80;font-size:clamp(.75rem,2.5cqw,2rem);font-weight:600;margin:0}.stone-locations-card.empty h2,.stone-locations-card.empty h3{color:#ffffffb3;margin-bottom:10px}.stone-locations-card.compact{min-height:210px;padding:0;margin-bottom:12px}.stone-locations-card.compact.empty{min-height:100px}.stone-locations-card.large{padding:30px;margin:0;height:100%;display:flex;flex-direction:column}.stone-locations-card.large h2{font-size:2.5rem;margin-bottom:20px}.stone-locations-card.large .visualization-container{flex:1;display:flex;align-items:center;justify-content:center}.stone-locations-card h2{margin:0 0 15px;font-size:1.2rem;color:#333}.stone-locations-card h3{margin:0 0 10px;font-size:1rem;color:#333;font-weight:600}.stone-locations-card .no-data{color:#888}.history-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding:8px 12px;background-color:#f5f5f5;border-radius:4px}.shot-label{font-weight:700;color:#333}.stone-count{font-size:.9rem;color:#666}.visualization-container{position:relative;display:flex;justify-content:center;align-items:center;margin-top:0;margin-bottom:-4px;max-height:100%;flex:1;overflow:hidden;min-height:0}.stone-locations-card.compact .visualization-container{margin-bottom:0}.stone-positions-svg{max-width:100%;max-height:100%;height:auto;width:auto}.slider-container{margin-top:15px}.slider-container label{display:block;margin-bottom:8px;font-size:.95rem;color:#555;font-weight:500}.history-slider{width:100%;height:6px;border-radius:3px;background:#ddd;outline:none;-webkit-appearance:none;margin-bottom:8px}.history-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#4caf50;cursor:pointer;box-shadow:0 2px 4px #0003}.history-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#4caf50;cursor:pointer;border:none;box-shadow:0 2px 4px #0003}.slider-labels{display:flex;justify-content:space-between;font-size:.85rem;color:#888}.scrubbing-ui{position:absolute;bottom:0;left:0;right:0;height:100%;pointer-events:none}.tick-marks{position:absolute;bottom:0;left:0;right:0;height:10px;display:flex}.tick-mark{position:absolute;bottom:0;width:2px;height:2px;background-color:#ffffff80;transform:translate(-50%)}.tick-mark.shot-tick{width:auto;height:12px;opacity:.8;transform:none}.tick-mark.shot-tick.red{background-color:#dc3545}.tick-mark.shot-tick.yellow{background-color:#ffc107}.tick-mark.shot-tick:before{content:attr(data-stone-number);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.7rem;font-weight:700;letter-spacing:.04em;white-space:nowrap;color:inherit;pointer-events:none}.tick-mark.shot-tick.red{color:#fff}.tick-mark.shot-tick.yellow{color:#323b4a}.position-overlay{position:absolute;top:0;bottom:0;background-color:#0000004d;pointer-events:none}body.light .stone-locations-card{background:#fff;border-color:#e2e8f0;box-shadow:0 2px 8px #00000014}body.light .stone-locations-card.empty{background:#00000003;border-color:#e2e8f0;color:#94a3b8}body.light .history-controls{background:#f8fafc;border-color:#e2e8f0}body.light .history-slider{background:#cbd5e1}body.light .slider-labels{color:#64748b}body.light .position-overlay{background-color:#0000001a}body.light .house-centerline,body.light .house-teeline{stroke:#475569!important}body.light .house-circle-4ft,body.light .house-circle-8ft{stroke:#fff!important}body.light .house-circle-middle-ring{fill:#fff!important;stroke:#fff!important}.end-container{margin-bottom:.5rem;border:1px solid rgba(255,255,255,.15);border-radius:.5rem;background-color:#0003;overflow:visible;transition:all .2s ease-in-out}.end-container.current{border-color:#3b82f666;box-shadow:0 0 0 1px #3b82f633}.end-container-header{display:flex;justify-content:space-between;align-items:center;padding:.625rem .875rem;background-color:#475569;border:1px solid #64748b;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s;position:sticky;top:0;z-index:1}.end-container-header:hover{background-color:#64748b}.end-container-header:focus{outline:2px solid rgba(59,130,246,.5);outline-offset:-2px}.end-container.current .end-container-header{background-color:#3b82f6}.end-container.current .end-container-header:hover{background-color:#2563eb}.end-container-title{display:flex;align-items:center;gap:.5rem}.end-label{font-size:.875rem;font-weight:600;color:#fff;letter-spacing:.025em}.current-badge{font-size:.625rem;font-weight:700;padding:.125rem .375rem;border-radius:.25rem;background-color:#3b82f6cc;color:#fff;text-transform:uppercase;letter-spacing:.05em}.end-container-toggle{font-size:.75rem;color:#ffffffb3;transition:transform .2s}.end-container.expanded .end-container-toggle{transform:rotate(0)}.end-container.collapsed .end-container-toggle{transform:rotate(-90deg)}.end-container-content{display:flex;flex-direction:column;gap:.5rem;padding:.5rem;position:relative}.end-container.current .end-container-content:before{background:linear-gradient(to bottom,#3b82f666,#3b82f626)}body.light .end-container{background-color:#f8fafc;border-color:#cbd5e1}body.light .end-container.current{border-color:#3b82f680;box-shadow:0 0 0 1px #3b82f64d;background-color:#3b82f605}body.light .end-container-header{background-color:#94a3b8!important;border-color:#64748b}body.light .end-container-header:hover{background-color:#64748b!important}body.light .end-container.current>.end-container-header{background-color:#2563eb!important}body.light .end-container.current>.end-container-header:hover{background-color:#1d4ed8!important}body.light .end-container-header .end-label{color:#0f172a!important;font-weight:700!important}body.light .end-container.current .end-container-header .end-label{color:#fff!important;font-weight:700!important}body.light .end-container-header .end-container-toggle{color:#0f172a!important}body.light .end-container.current .end-container-header .end-container-toggle{color:#fff!important}.end-summary-card{display:flex;gap:0;margin-bottom:15px;background-color:#ffffff08;border-radius:8px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.end-summary-card.layout-horizontal{flex-direction:row}.end-summary-card.layout-vertical{flex-direction:column}@media(max-width:768px){.end-summary-card,.end-summary-card.layout-horizontal,.end-summary-card.layout-vertical{flex-direction:column!important}}.end-summary-left{flex:1;display:flex;align-items:center;justify-content:center}.end-summary-card.layout-vertical .end-summary-left,.end-summary-card.layout-vertical .end-summary-right{width:100%}.end-summary-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#ffffff05;border:1px dashed rgba(255,255,255,.2);border-radius:0;color:#fff6;font-size:.9rem;padding:20px}.end-summary-table{width:100%;height:100%;display:flex;align-items:stretch;justify-content:center;padding:0}.end-summary-table table{width:100%;height:100%;border-collapse:collapse;color:#fff}.end-summary-table th,.end-summary-table td{padding:12px 16px;text-align:center;border:1px solid rgba(255,255,255,.1);vertical-align:middle}.end-summary-table thead th{height:50px}.end-summary-table tbody td{height:calc((100% - 50px)/4)}.end-summary-table .stat-label-header{background-color:#ffffff0d;width:40%}.end-summary-table .red-header{background-color:#ef4444;color:#fff;font-weight:600;width:30%}.end-summary-table .yellow-header{background-color:#eab308;color:#000;font-weight:600;width:30%}.end-summary-table .stat-label{background-color:#ffffff0d;text-align:left;font-weight:500}.end-summary-table .red-value{background-color:#ef444433;color:#fff;font-weight:500}.end-summary-table .yellow-value{background-color:#eab30833;color:#fff;font-weight:500}.thinking-time-counter{width:100%;text-align:center}.thinking-time-counter-header{font-size:.85rem;font-weight:600;color:#fff9;margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}.thinking-time-counter-teams{display:flex;flex-direction:column;gap:8px}.thinking-time-counter-team{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;border-radius:4px;background-color:#ffffff0d}.thinking-time-counter-team.red{border-left:3px solid #ef4444}.thinking-time-counter-team.yellow{border-left:3px solid #eab308}.thinking-time-counter-team .team-label{font-size:.85rem;font-weight:600;color:#ffffffb3}.thinking-time-counter-team.red .team-label{color:#ef4444}.thinking-time-counter-team.yellow .team-label{color:#eab308}.thinking-time-counter-team .time-value{font-size:1.1rem;font-weight:700;color:#ffffffe6;font-family:Courier New,monospace;letter-spacing:1px}.end-summary-right{flex:1}.end-summary-card.layout-horizontal .end-summary-placeholder{border-radius:8px 0 0 8px}.end-summary-card.layout-horizontal .stone-locations-card{border-radius:0 8px 8px 0}.end-summary-card.layout-vertical .end-summary-placeholder{border-radius:8px 8px 0 0}.end-summary-card.layout-vertical .stone-locations-card{border-radius:0 0 8px 8px}@media(max-width:768px){.end-summary-card .end-summary-placeholder{border-radius:8px 8px 0 0!important}.end-summary-card .stone-locations-card{border-radius:0 0 8px 8px!important}.end-summary-card .end-summary-left,.end-summary-card .end-summary-right{width:100%}}.end-summary-card .stone-locations-card{margin-bottom:0}body.light .end-summary-card{background-color:#f8fafc;border-color:#cbd5e1}body.light .end-summary-placeholder{background-color:#f1f5f9;border-color:#cbd5e1;color:#64748b}body.light .end-summary-table{color:#0f172a}body.light .end-summary-table th,body.light .end-summary-table td{border-color:#cbd5e1}body.light .end-summary-table .stat-label-header{background-color:#cbd5e1;color:#0f172a}body.light .end-summary-table .stat-label-cell,body.light .end-summary-table .stat-label{background-color:#e2e8f0;color:#1e293b}body.light .end-summary-table .stat-value-cell,body.light .end-summary-table .red-value,body.light .end-summary-table .yellow-value{color:#0f172a;font-weight:600}body.light .end-summary-table .red-value{background-color:#ef444426}body.light .end-summary-table .yellow-value{background-color:#eab30826}body.light .stat-diff{color:#475569}body.light .thinking-time-container{background-color:#f1f5f9;border-color:#cbd5e1}body.light .thinking-label{color:#1e293b}body.light .thinking-value{color:#0f172a;font-weight:600}body.light .thinking-time-container .pause-indicator{color:#475569}body.light .thinking-time-counter-header{color:#64748b}body.light .thinking-time-counter-team{background-color:#f1f5f9}body.light .thinking-time-counter-team-label{color:#1e293b}body.light .thinking-time-counter-team-value{color:#0f172a;font-weight:600}.shot-scatter-plot{background:linear-gradient(135deg,#1e293b,#334155);border-radius:.75rem;padding:1rem;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);max-width:100%;overflow:hidden;flex-shrink:0;box-sizing:border-box}@media(max-width:768px){.shot-scatter-plot{width:100%;padding:.75rem;margin-bottom:1rem}.shot-scatter-plot:last-child{margin-bottom:0}.plot-options{max-width:100%;box-sizing:border-box}.stone-buttons{max-width:100%}.axis-controls{flex-direction:column;gap:.5rem}.axis-select{width:100%}}.scatter-plot-header{margin-bottom:.75rem;display:flex;justify-content:space-between;align-items:center}.scatter-plot-header h3{margin:0;color:#f1f5f9;font-size:1rem;font-weight:600}.header-buttons{display:flex;gap:.375rem}.toggle-header-btn{background:#475569cc;border:1px solid rgba(255,255,255,.2);color:#fff;width:1.5rem;height:1.5rem;border-radius:.25rem;font-size:.65rem;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.toggle-header-btn:hover{background:#475569;transform:scale(1.1)}.duplicate-plot-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:none;width:1.5rem;height:1.5rem;border-radius:.25rem;font-size:1rem;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003}.duplicate-plot-btn:hover{background:linear-gradient(135deg,#2563eb,#1e40af);transform:scale(1.1);box-shadow:0 4px 8px #3b82f666}.delete-plot-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;border:none;width:1.5rem;height:1.5rem;border-radius:.25rem;font-size:1.25rem;line-height:1;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0003}.delete-plot-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b);transform:scale(1.1);box-shadow:0 4px 8px #dc262666}.scatter-controls{display:flex;flex-direction:column;gap:0;margin-bottom:.75rem;max-width:100%;overflow:hidden}.scatter-controls>*:not(.options-toggle-btn):not(.plot-options){margin-bottom:.75rem}.axis-controls{display:flex;gap:.5rem;width:100%}.axis-select{display:flex;align-items:center;gap:.25rem;flex:1;min-width:0}.axis-select label{font-size:.75rem;color:#94a3b8;font-weight:500;flex-shrink:0}.axis-select select{padding:.375rem .5rem;border:1px solid #475569;border-radius:.375rem;font-size:.75rem;background:#1e293b;color:#f1f5f9;cursor:pointer;flex:1;min-width:0}.axis-select select:focus{outline:none;border-color:#3b82f6}.options-toggle-btn{padding:.5rem .75rem;background:#475569;color:#e2e8f0;border:1px solid #64748b;border-radius:.375rem;cursor:pointer;font-size:.75rem;font-weight:500;transition:all .2s;text-align:left;display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.options-toggle-btn:hover{background:#64748b;border-color:#94a3b8}.options-toggle-btn:has(+.plot-options){border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0;border-bottom:none}.plot-options{display:flex;flex-direction:column;gap:.75rem;padding:.75rem;background:#1e293b80;border-radius:0 0 .5rem .5rem;border:1px solid rgba(100,116,139,.3);border-top:none;margin-bottom:.75rem;max-width:100%;overflow:hidden}.filter-group{display:flex;flex-direction:column;gap:.375rem}.filter-header{display:flex;align-items:center;gap:.5rem}.filter-header span{font-size:.75rem;color:#94a3b8;font-weight:500}.select-all-btn{font-size:.625rem;padding:.125rem .375rem;background:#475569;color:#e2e8f0;border:none;border-radius:.25rem;cursor:pointer;transition:background .2s}.select-all-btn:hover{background:#64748b}.stone-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.stone-btn{font-size:.625rem;padding:.25rem .5rem;min-width:1.5rem;border:1px solid;border-radius:.25rem;cursor:pointer;transition:all .2s;font-weight:600}.stone-btn.red-stone{border-color:#ef4444;color:#f1f5f9}.stone-btn.red-stone:not(.selected){background:transparent;opacity:.5}.stone-btn.red-stone.selected{background:#ef4444;opacity:1;color:#fff}.stone-btn.yellow-stone{border-color:#eab308;color:#f1f5f9}.stone-btn.yellow-stone:not(.selected){background:transparent;opacity:.5}.stone-btn.yellow-stone.selected{background:#eab308;opacity:1;color:#000}.stone-btn:hover{opacity:.9;transform:scale(1.05)}.zone-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.zone-btn{font-size:.625rem;padding:.25rem .375rem;min-width:1.5rem;background:#475569;color:#e2e8f0;border:1px solid #64748b;border-radius:.25rem;cursor:pointer;transition:all .2s}.zone-btn:not(.selected){background:transparent;opacity:.5}.zone-btn.selected{background:#3b82f6;border-color:#60a5fa}.zone-btn[data-zone="0"].selected,.zone-btn[data-zone="11"].selected{background:#9ca3af;color:#fff;border-color:#d1d5db}.zone-btn[data-zone="1"].selected,.zone-btn[data-zone="2"].selected,.zone-btn[data-zone="3"].selected,.zone-btn[data-zone="5"].selected,.zone-btn[data-zone="7"].selected,.zone-btn[data-zone="9"].selected{background:#e5e7eb;color:#1f2937;border-color:#d1d5db}.zone-btn[data-zone="4"].selected,.zone-btn[data-zone="10"].selected{background:#93c5fd;color:#1e3a8a;border-color:#bfdbfe}.zone-btn[data-zone="6"].selected,.zone-btn[data-zone="8"].selected{background:#fca5a5;color:#7f1d1d;border-color:#fecaca}.zone-btn[data-zone=--].selected{background:#9ca3af;color:#fff;border-color:#d1d5db}.zone-btn:hover:not(:disabled){opacity:.9;transform:scale(1.05)}.zone-btn.disabled,.zone-btn:disabled{opacity:.3;cursor:not-allowed;background:transparent!important;border-color:#475569!important}.slide-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.slide-btn{font-size:.625rem;padding:.25rem .375rem;min-width:2.5rem;background:#475569;color:#e2e8f0;border:1px solid #64748b;border-radius:.25rem;cursor:pointer;transition:all .2s}.slide-btn:not(.selected){background:transparent;opacity:.5}.slide-btn.selected{background:#10b981;border-color:#34d399}.slide-btn[data-range="L12+"].selected,.slide-btn[data-range=L4-8].selected,.slide-btn[data-range=R4-8].selected,.slide-btn[data-range="R12+"].selected{background:#e5e7eb;color:#1f2937;border-color:#d1d5db}.slide-btn[data-range=L8-12].selected,.slide-btn[data-range=R8-12].selected{background:#93c5fd;color:#1e3a8a;border-color:#bfdbfe}.slide-btn[data-range=L0-4].selected,.slide-btn[data-range=R0-4].selected{background:#fca5a5;color:#7f1d1d;border-color:#fecaca}.slide-btn[data-range=--].selected{background:#9ca3af;color:#fff;border-color:#d1d5db}.release-btn[data-range=--].selected{background:#9ca3af;color:#fff;border-color:#d1d5db}.slide-btn:hover{opacity:.9;transform:scale(1.05)}.release-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.release-btn{font-size:.625rem;padding:.25rem .375rem;min-width:2.5rem;background:#475569;color:#e2e8f0;border:1px solid #64748b;border-radius:.25rem;cursor:pointer;transition:all .2s}.release-btn:not(.selected){background:transparent;opacity:.5}.release-btn.selected{background:#10b981;border-color:#34d399}.release-btn[data-range="L12+"].selected,.release-btn[data-range=L4-8].selected,.release-btn[data-range=R4-8].selected,.release-btn[data-range="R12+"].selected{background:#e5e7eb;color:#1f2937;border-color:#d1d5db}.release-btn[data-range=L8-12].selected,.release-btn[data-range=R8-12].selected{background:#93c5fd;color:#1e3a8a;border-color:#bfdbfe}.release-btn[data-range=L0-4].selected,.release-btn[data-range=R0-4].selected{background:#fca5a5;color:#7f1d1d;border-color:#fecaca}.release-btn:hover{opacity:.9;transform:scale(1.05)}.color-toggle{display:flex;align-items:center}.color-toggle label{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:#94a3b8;cursor:pointer}.color-toggle input[type=checkbox]{width:.875rem;height:.875rem;cursor:pointer}.colorbar-container{background:#0f172a;border-radius:.5rem;padding:.5rem .5rem .25rem;margin-bottom:.5rem;overflow:hidden}.colorbar-svg{width:100%;height:auto;display:block}.scatter-plot-container{background:#0f172a;border-radius:.5rem;padding:.5rem;overflow:hidden}.scatter-svg{width:100%;height:auto;display:block}body.light .scatter-svg{background:#f8fafc;border-radius:.25rem}.end-buttons{display:flex;gap:.25rem;flex-wrap:wrap}.end-btn{font-size:.625rem;padding:.25rem .375rem;min-width:1.5rem;background:#475569;color:#e2e8f0;border:1px solid #64748b;border-radius:.25rem;cursor:pointer;transition:all .2s}.end-btn:not(.selected){background:transparent;opacity:.5}.end-btn.selected{background:#8b5cf6;border-color:#a78bfa}.end-btn:hover{opacity:.9;transform:scale(1.05)}@keyframes pulse{0%,to{stroke-opacity:1}50%{stroke-opacity:.5}}.active-point{animation:pulse 1.5s ease-in-out infinite}body.light .shot-scatter-plot{background:linear-gradient(135deg,#fff,#f8fafc);border-color:#e2e8f0;box-shadow:0 2px 8px #00000014}body.light .scatter-plot-header h3{color:#0f172a}body.light .toggle-header-btn{background:#cbd5e199;border-color:#cbd5e1;color:#1e293b}body.light .toggle-header-btn:hover{background:#cbd5e1e6}body.light .duplicate-plot-btn{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}body.light .duplicate-plot-btn:hover{background:linear-gradient(135deg,#2563eb,#1e40af)}body.light .delete-plot-btn{background:linear-gradient(135deg,#dc2626,#b91c1c)}body.light .delete-plot-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b)}body.light .options-toggle-btn{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}body.light .options-toggle-btn:hover{background:#cbd5e1;border-color:#94a3b8}body.light .plot-options{background:#f8fafce6;border-color:#cbd5e1}body.light .filter-header{color:#475569}body.light .filter-tags{background:#f1f5f9;border-color:#cbd5e1}body.light .filter-tag{background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:#1e293b;border-color:#94a3b8}body.light .filter-tag:hover{background:linear-gradient(135deg,#cbd5e1,#94a3b8)}body.light .filter-tag.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border-color:#1d4ed8}body.light .color-filter-btn{background:#cbd5e14d;border-color:#cbd5e1}body.light .color-filter-btn:hover{background:#cbd5e180}body.light .color-filter-btn.active{border-color:#3b82f6;background:#3b82f61a}body.light .end-btn{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}body.light .end-btn:not(.selected){background:transparent;opacity:.5}body.light .end-btn.selected{background:#8b5cf6;border-color:#a78bfa;color:#fff}body.light .control-label{color:#64748b}body.light .control-value{color:#0f172a}body.light .axis-select label{color:#475569}body.light .axis-select select{background:#fff;color:#0f172a;border-color:#cbd5e1}body.light .axis-select select:focus{border-color:#3b82f6;background:#fff}body.light .colorbar-container{background:#f8fafc;border:1px solid #e2e8f0}body.light .scatter-plot-container{background:#fff;border:1px solid #e2e8f0}body.light .select-all-btn{background:#e2e8f0;color:#1e293b;border:1px solid #cbd5e1}body.light .select-all-btn:hover{background:#cbd5e1}body.light .stone-btn.red-stone,body.light .stone-btn.yellow-stone{color:#0f172a}body.light .zone-btn{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}body.light .zone-btn:not(.selected){background:transparent;opacity:.6}body.light .slide-btn{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}body.light .slide-btn:not(.selected){background:transparent;opacity:.6}body.light .release-btn{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}body.light .release-btn:not(.selected){background:transparent;opacity:.6}body.light .color-toggle label{color:#475569}.connection-status{position:relative;display:flex;align-items:center;gap:.5rem}.connection-status.inline{display:flex;align-items:center;gap:.5rem}.connection-status.corner{position:fixed;top:1.5rem;right:1.5rem;z-index:1000}.status-cog-icon{width:24px;height:24px;cursor:pointer;transition:transform .2s;display:flex;align-items:center;justify-content:center}.connection-status.corner .status-cog-icon{width:32px;height:32px}.status-cog-icon:hover{transform:rotate(45deg)}.cog-icon{width:100%;height:100%}.playback-indicator{display:flex;align-items:center;gap:.25rem;background:#10b9811a;border:1px solid #10b981;border-radius:.375rem;padding:.25rem .5rem}.play-indicator-icon{width:12px;height:12px}.playback-speed{font-size:.75rem;font-weight:600;color:#10b981}.status-circle{width:12px;height:12px;border-radius:50%;animation:pulse 2s infinite;cursor:pointer;transition:transform .2s}.connection-status.corner .status-circle{width:20px;height:20px}.status-circle:hover{transform:scale(1.1)}.status-play-icon{width:12px;height:12px;border-radius:50%;cursor:pointer;transition:transform .2s;display:flex;align-items:center;justify-content:center}.connection-status.corner .status-play-icon{width:20px;height:20px}.status-play-icon:hover{transform:scale(1.1)}.play-icon{width:60%;height:60%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.status-text{font-weight:600;color:#e2e8f0;font-size:.875rem}.settings-panel{position:absolute;background:#1e293b;border:2px solid #475569;border-radius:.5rem;padding:1.5rem;min-width:300px;box-shadow:0 10px 25px #00000080;z-index:1001}.connection-status.inline .settings-panel{top:100%;left:0;margin-top:.5rem}.connection-status.corner .settings-panel{top:60px;right:0}.settings-panel h3{margin:0 0 1rem;color:#f1f5f9;font-size:1.25rem}.settings-panel label{display:block;margin-bottom:1rem;color:#cbd5e1;font-size:.875rem;font-weight:500}.settings-panel input{display:block;width:100%;margin-top:.5rem;padding:.5rem .75rem;border:2px solid #475569;border-radius:.5rem;font-size:.875rem;background:#0f172a;color:#f1f5f9;transition:all .2s}.settings-panel input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.settings-panel button{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;width:100%}.settings-panel button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #3b82f64d}.settings-panel label+label{margin-top:1rem}.tabs-container{display:flex;gap:.25rem;margin:-1.5rem -1.5rem 0;padding:0 1.5rem;background:#0f172a;border-bottom:1px solid #334155}.tab{flex:1;padding:.875rem 1rem;background:transparent;color:#64748b;border:none;border-top-left-radius:.5rem;border-top-right-radius:.5rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;position:relative;margin-bottom:-1px}.tab:hover:not(.active){color:#94a3b8;background:#64748b1a}.tab.active{color:#f1f5f9;background:#1e293b;border-bottom:1px solid #1e293b;box-shadow:0 -2px 8px #0003}.settings-panel>label:first-of-type{margin-top:1.5rem}.settings-panel .upload-button{margin-top:.5rem;background:linear-gradient(135deg,#10b981,#059669)}.settings-panel .upload-button:hover{box-shadow:0 4px 8px #10b9814d}.database-controls>label:first-child{margin-top:1.5rem;margin-bottom:0}.selected-file{padding:.5rem .75rem;background:#0f172a;border:2px solid #475569;border-radius:.5rem;color:#cbd5e1;font-size:.875rem;word-break:break-word}.playback-checkbox span{font-weight:500;color:#cbd5e1}.action-button{margin-top:.5rem;background:linear-gradient(135deg,#3b82f6,#2563eb)}.action-button:hover{box-shadow:0 4px 8px #3b82f64d}.settings-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.settings-container{background:#1e293b;border:2px solid #475569;border-radius:1rem;width:90%;max-width:900px;height:85vh;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 50px #000c;animation:slideIn .3s ease-out}@media(max-width:768px){.settings-container{width:95%;height:95vh;max-height:85vh;border-radius:.5rem}.settings-header{padding:1rem 1.25rem;gap:.5rem}.settings-header h2{font-size:1.25rem}.header-status-banner{padding:.375rem .5rem;gap:.375rem}.header-status-icon{width:16px;height:16px}.header-status-text{font-size:.75rem}.header-status-filename{font-size:.625rem}.header-status-speed{font-size:.75rem;padding:.125rem .25rem}}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.settings-header{display:flex;justify-content:flex-start;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #334155;background:#0f172a;border-top-left-radius:1rem;border-top-right-radius:1rem;gap:1rem}.settings-header-logo{height:2.5rem;padding-top:6px;width:auto;object-fit:contain}.header-status-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#10b9811a;border:1px solid #10b981;border-radius:.5rem;flex-shrink:1;min-width:0;margin-right:auto}.header-status-banner.awaiting{background:#94a3b81a;border-color:#94a3b8}.header-status-banner.loaded{background:#3b82f61a;border-color:#3b82f6}.header-status-icon{width:18px;height:18px;flex-shrink:0}.header-status-info{display:flex;flex-direction:column;gap:.125rem;min-width:0}.header-status-text{color:#10b981;font-size:.875rem;font-weight:600;white-space:nowrap}.header-status-banner.awaiting .header-status-text{color:#94a3b8}.header-status-banner.loaded .header-status-text{color:#3b82f6}.header-status-filename{color:#94a3b8;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-status-speed{color:#10b981;font-weight:700;font-size:.875rem;padding:.125rem .375rem;background:#10b98126;border-radius:.25rem;flex-shrink:0}.disconnect-button{background:none;border:none;color:#94a3b8;font-size:1.25rem;cursor:pointer;padding:.25rem .5rem;margin-left:auto;flex-shrink:0;transition:color .2s}.disconnect-button:hover{color:#ef4444}.auth-status{padding:.5rem .75rem;border-radius:.5rem;font-size:.875rem;font-weight:500;text-align:center}.auth-status.authenticated{background:#10b9811a;border:1px solid #10b981;color:#10b981}.auth-status.not-authenticated{background:#fb923c1a;border:1px solid #fb923c;color:#fb923c}.header-status-banner.confirmation{background:#ef44441a;border-color:#ef4444;justify-content:space-between;padding:.5rem .75rem;min-height:42px}.header-status-banner.confirmation .header-status-text{color:#ef4444;align-self:center}.confirmation-buttons{display:flex;gap:.5rem;flex-shrink:0;align-items:center}.confirm-button,.cancel-button{padding:.375rem .75rem;border:none;border-radius:.25rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;height:28px;display:flex;align-items:center}.confirm-button{background:#ef4444;color:#fff}.confirm-button:hover{background:#dc2626}.cancel-button{background:#334155;color:#f1f5f9}.cancel-button:hover{background:#475569}.close-button{background:none;border:none;color:#94a3b8;font-size:1.75rem;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .2s;line-height:1;margin-left:auto;flex-shrink:0}.close-button:hover{background:#334155;color:#f1f5f9}.settings-content{padding:2rem;overflow-y:auto;flex:1}.settings-tabs{display:flex;gap:0;background:#0f172a;border-bottom:2px solid #334155;padding:0}.settings-tab{flex:1;padding:1rem 1.5rem;background:none;border:none;color:#94a3b8;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border-bottom:3px solid transparent;position:relative;top:2px}.settings-tab:hover{color:#cbd5e1;background:#3341554d}.settings-tab.active{color:#f1f5f9;border-bottom-color:#3b82f6;background:#3b82f61a}.playback-status-banner{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#10b9811a,#10b9810d);border:2px solid #10b981;border-radius:.75rem;margin-bottom:1.5rem}.playback-status-banner.awaiting{background:linear-gradient(135deg,#94a3b81a,#94a3b80d);border:2px solid #94a3b8}.playback-status-banner.loaded{background:linear-gradient(135deg,#3b82f61a,#3b82f60d);border:2px solid #3b82f6}.playback-status-banner.disconnected{background:linear-gradient(135deg,#ef44441a,#ef44440d);border:2px solid #ef4444}.playback-status-banner.error{background:linear-gradient(135deg,#f59e0b1a,#f59e0b0d);border:2px solid #f59e0b}.playback-status-icon{width:24px;height:24px;flex-shrink:0}.playback-status-info{display:flex;flex-direction:column;gap:.25rem;flex-grow:1}.playback-status-text{color:#10b981;font-size:1rem;font-weight:600}.playback-status-banner.awaiting .playback-status-text{color:#94a3b8}.playback-status-banner.loaded .playback-status-text{color:#3b82f6}.playback-status-banner.disconnected .playback-status-text{color:#ef4444}.playback-status-banner.error .playback-status-text{color:#f59e0b}.playback-status-filename{color:#cbd5e1;font-size:.875rem;font-weight:400}.playback-status-speed{color:#10b981;font-size:1.25rem;font-weight:700;background:#10b98126;padding:.25rem .75rem;border-radius:.375rem;border:1px solid #10b981}.settings-section{margin-top:16px;margin-bottom:2rem}.settings-section:last-child{margin-bottom:0}.settings-section h3{margin:0 0 1rem;color:#f1f5f9;font-size:1.125rem;font-weight:600;border-bottom:2px solid #334155;padding-bottom:.5rem}.theme-toggle-container{display:flex;flex-direction:column;gap:.75rem}.theme-toggle-container>label{color:#cbd5e1;font-weight:500;font-size:.9375rem}.theme-toggle{display:flex;gap:.5rem;background:#0f172a;padding:.25rem;border-radius:.5rem;border:1px solid #334155;width:fit-content}.theme-toggle-topright{display:flex;gap:.5rem;justify-content:flex-end;margin-bottom:2rem;background:#0f172a;padding:.25rem;border-radius:.5rem;border:1px solid #334155;width:fit-content;margin-left:auto;margin-bottom:-28px;margin-top:-16px}.theme-option{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:transparent;border:none;border-radius:.375rem;color:#94a3b8;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s}.theme-option:hover{background:#1e293b;color:#cbd5e1}.theme-option.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 4px #3b82f64d}.theme-icon{width:1.125rem;height:1.125rem}.connection-mode-toggle{display:flex;margin-bottom:-20px;gap:.5rem;background:#0f172a;padding:.25rem;border-radius:.5rem;border:1px solid #334155;width:fit-content;margin-left:auto;position:relative;z-index:10}.connection-mode-option{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:transparent;border:none;border-radius:.375rem;color:#94a3b8;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s}.connection-mode-option:hover:not(:disabled){background:#1e293b;color:#cbd5e1}.connection-mode-option.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 4px #3b82f64d}.connection-mode-option:disabled{opacity:.5;cursor:not-allowed}.connection-mode-icon{width:1.125rem;height:1.125rem}body.light .settings-overlay{background:#0006}body.light .settings-container{background:#fff;border-color:#cbd5e1}body.light .settings-header{background:#f8fafc;border-bottom-color:#e2e8f0}body.light .settings-header h2{color:#0f172a}body.light .close-button{color:#64748b}body.light .close-button:hover{background:#e2e8f0;color:#0f172a}body.light .settings-tabs{background:#f8fafc;border-bottom-color:#e2e8f0}body.light .settings-tab{color:#64748b}body.light .settings-tab:hover{color:#475569;background:#94a3b826}body.light .settings-tab.active{color:#1e40af;border-bottom-color:#3b82f6;background:#3b82f614}body.light .settings-section h3{color:#0f172a;border-bottom-color:#e2e8f0}body.light .theme-toggle{background:#f1f5f9;border-color:#cbd5e1}body.light .theme-toggle-container>label{color:#475569}body.light .theme-toggle-topright{background:#f1f5f9;border-color:#cbd5e1}body.light .theme-option{color:#64748b}body.light .theme-option:hover{background:#e2e8f0;color:#334155}body.light .theme-option.active{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}body.light .connection-mode-toggle{background:#f1f5f9;border-color:#cbd5e1}body.light .connection-mode-option{color:#64748b}body.light .connection-mode-option:hover:not(:disabled){background:#e2e8f0;color:#334155}body.light .playback-status-banner{background:linear-gradient(135deg,#10b98114,#10b9810a);border-color:#10b98133}body.light .playback-status-banner.awaiting{background:linear-gradient(135deg,#94a3b814,#94a3b80a);border-color:#94a3b833}body.light .playback-status-banner.loaded{background:linear-gradient(135deg,#3b82f614,#3b82f60a);border-color:#3b82f633}body.light .playback-status-text{color:#0f172a}body.light .playback-status-filename{color:#475569}body.light .playback-status-speed{color:#059669;background:#10b9811a}.tabs-container{display:flex;gap:.5rem;margin-bottom:1rem;margin-left:0;margin-right:0;background:#0f172a;border:1px solid #334155;border-radius:.5rem;padding:.25rem}.tab{flex:1;padding:.625rem 1rem;background:transparent;color:#94a3b8;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.tab:disabled{cursor:not-allowed;opacity:.5}.tab:hover:not(.active):not(:disabled){color:#cbd5e1;background:#1e293b}.tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}.game-settings-tabs{display:flex;gap:.5rem;margin-bottom:6px;background:#0f172a;border:1px solid #334155;border-radius:.5rem;padding:.25rem;flex-wrap:wrap}.game-settings-tab{flex:1;min-width:60px;padding:.625rem .75rem;background:transparent;color:#94a3b8;border:none;border-radius:.375rem;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.game-settings-tab:hover:not(.active){color:#cbd5e1;background:#1e293b}.game-settings-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}.playback-mode-tabs{display:flex;gap:.5rem;background:#0f172a;border:1px solid #334155;border-radius:.5rem;margin-top:24px;padding:.25rem;flex:1}.playback-mode-tab{flex:1;min-width:60px;padding:.625rem .75rem;background:transparent;color:#94a3b8;border:none;border-radius:.375rem;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.375rem}.playback-mode-tab svg{flex-shrink:0;fill:#10b981}.playback-mode-tab:hover:not(.active){color:#cbd5e1;background:#1e293b}.playback-mode-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}.playback-mode-tab.active svg{fill:#fff}.playback-controls-banner{display:flex;align-items:center;gap:1rem;padding:.875rem 1rem;background:linear-gradient(135deg,#1e293b,#0f172a);border:1px solid #334155;border-radius:.5rem;margin-bottom:1.5rem}.playback-controls-label{color:#94a3b8;font-size:.8125rem;font-weight:500;white-space:nowrap}.playback-controls-banner .playback-mode-tabs{margin-top:0;flex:1}.tab-tracking-indicator{display:inline-flex;align-items:center;margin-right:.375rem;font-size:1.5rem;line-height:1}.tab-tracking-indicator.tracking{color:#10b981}.tab-tracking-indicator.stopped{color:#64748b}.tab-data-indicator{display:inline-flex;align-items:center;margin-right:.375rem;font-size:1.25rem;line-height:1;font-weight:700}.tab-data-indicator.has-data{color:#10b981}.tab-data-indicator.no-data{color:#64748b}.game-settings-content{display:flex;flex-direction:column;gap:1rem;background:#0f172a4d;border:1px solid rgba(51,65,85,.6);border-radius:.5rem;padding:1.25rem;margin-top:-.25rem}.sheet-not-tracked-message{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;color:#64748b}.sheet-not-tracked-message .not-tracked-icon{fill:#64748b;margin-bottom:1rem;opacity:.5}.sheet-not-tracked-message p{font-size:1rem;font-weight:500;margin:0}.game-setting-row{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}.game-setting-label{flex:1;min-width:200px;display:flex;flex-direction:column;gap:.5rem;color:#cbd5e1;font-weight:500;font-size:.9375rem}.game-setting-label input:not([type=checkbox]){width:100%;padding:.625rem .75rem;background:#0f172a;border:1px solid #334155;border-radius:.5rem;color:#f1f5f9;font-size:.9375rem;transition:all .2s;height:2.75rem}.game-setting-label input:not([type=checkbox]):focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.game-setting-label input:not([type=checkbox]):disabled{opacity:.6;cursor:not-allowed;background:#0a0f1a}.game-setting-label select.setting-select{width:100%;padding:.625rem .75rem;background:#0f172a;border:1px solid #334155;border-radius:.5rem;color:#f1f5f9;font-size:.9375rem;transition:all .2s;height:2.75rem;cursor:pointer}.game-setting-label select.setting-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.game-setting-label select.setting-select:disabled{opacity:.6;cursor:not-allowed;background:#0a0f1a}.game-setting-label input.team-input.red{border-left:3px solid #ef4444}.game-setting-label input.team-input.yellow{border-left:3px solid #eab308}.game-setting-label.checkbox-label{flex-direction:row;align-items:center;gap:.75rem}.game-setting-label.checkbox-label input[type=checkbox]{width:auto;margin:0;cursor:pointer}.selected-file-display{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#0f172a;border:1px solid #334155;border-radius:.5rem;flex:1}.selected-file-display svg{flex-shrink:0;color:#3b82f6}.selected-file-display .file-name{flex:1;color:#e2e8f0;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-file-display .remove-file-button{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1.25rem;padding:.25rem;line-height:1;transition:color .2s;flex-shrink:0}.selected-file-display .remove-file-button:hover{color:#ef4444}.toggle-lock-button{background:none;border:2px solid #475569;border-radius:.5rem;width:2.75rem;height:2.75rem;margin-bottom:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;padding:0;flex-shrink:0}.toggle-lock-button svg{fill:#94a3b8;transition:fill .2s}.toggle-lock-button.locked{background:#1e40af;border-color:#2563eb}.toggle-lock-button.locked svg{fill:#93c5fd}.toggle-lock-button.unlocked:hover:not(:disabled){background:#334155;border-color:#64748b}.toggle-lock-button.unlocked:hover:not(:disabled) svg{fill:#cbd5e1}.toggle-lock-button.locked:hover:not(:disabled){background:#2563eb;border-color:#3b82f6}.toggle-lock-button.locked:hover:not(:disabled) svg{fill:#bfdbfe}.toggle-lock-button:disabled{opacity:.5;cursor:not-allowed}.use-default-checkbox{display:flex;align-items:center;gap:.5rem;color:#cbd5e1;font-size:.875rem;font-weight:500;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.use-default-checkbox input[type=checkbox]{width:1.125rem;height:1.125rem;cursor:pointer}.use-default-checkbox input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.apply-all-button{padding:.625rem;margin-bottom:8px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:.5rem;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;height:2.75rem;width:2.75rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;position:relative}.apply-all-button svg{width:1.5rem;height:1.5rem;fill:currentColor}.apply-all-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 8px #3b82f64d;transform:translateY(-1px)}.apply-all-button:active:not(:disabled){transform:translateY(0)}.apply-all-button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.game-settings-tabs{gap:.2rem}.game-settings-tab{min-width:50px;padding:.5rem;font-size:.75rem}.game-setting-row{gap:.5rem}.game-setting-label{min-width:0;flex:1}.toggle-lock-button{flex-shrink:0}.use-default-checkbox{justify-content:flex-start}.playback-mode-tabs{flex-wrap:wrap;gap:.375rem}.playback-mode-tab{flex:1 1 calc(33.333% - .25rem);min-width:80px;padding:.5rem;font-size:.75rem}.playback-controls-banner{flex-direction:column;align-items:flex-start;gap:.75rem;padding:.75rem}.playback-controls-label,.playback-controls-banner .playback-mode-tabs{width:100%}}.connection-content{display:flex;flex-direction:column;gap:1rem}.connection-status-display{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#0f172a;border-radius:.5rem;border:1px solid #334155}.status-label{color:#cbd5e1;font-size:.875rem;font-weight:500}.connection-status-indicator{display:flex;align-items:center;gap:.5rem;color:#cbd5e1;font-size:.875rem;font-weight:500}.status-badge{padding:.25rem .75rem;border-radius:.375rem;font-weight:600;text-transform:uppercase;font-size:.75rem}.status-badge.connected{background:#10b981;color:#fff}.status-badge.disconnected{background:#ef4444;color:#fff}.status-badge.error{background:#f59e0b;color:#fff}.database-controls{display:flex;flex-direction:column;gap:.75rem}.team-names-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.team-names-sheet h4{margin:0 0 .75rem;color:#cbd5e1;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.team-name-inputs{display:flex;flex-direction:column;gap:.75rem}.team-input{padding:.5rem .75rem;background:#0f172a;color:#f1f5f9;border:1px solid #334155;border-radius:.375rem;font-size:.875rem;transition:all .2s}.team-input.red{border-left:8px solid #ef4444!important}.team-input.yellow{border-left:8px solid #eab308!important}.team-input:focus{outline:none;border-color:#3b82f6;background:#1e293b}.team-input.red:focus{border-left-color:#ef4444!important}.team-input.yellow:focus{border-left-color:#eab308!important}.color-indicator{display:inline-block;font-size:.75rem;margin-right:.25rem}.color-indicator.red{color:#ef4444}.color-indicator.yellow{color:#eab308}.sync-toggle{margin-bottom:1rem}.toggle-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:#cbd5e1;font-weight:500}.toggle-checkbox input[type=checkbox]{cursor:pointer;width:auto;margin:0}.toggle-checkbox input[type=checkbox]:disabled{cursor:not-allowed}.setting-control{margin-bottom:1rem}.per-sheet-controls{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.setting-with-toggle{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #334155}.setting-with-toggle:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.setting-with-toggle .setting-control{flex:1;margin-bottom:0}.setting-with-toggle .toggle-checkbox{flex-shrink:0;margin-top:1.75rem}.settings-section label{display:block;color:#cbd5e1;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.settings-section input[type=text],.settings-section input[type=number],.settings-section select{display:block;width:100%;margin-top:.5rem;padding:.625rem .875rem;border:2px solid #475569;border-radius:.5rem;font-size:.875rem;background:#0f172a;color:#f1f5f9;transition:all .2s;font-family:inherit}.settings-section input[type=text]:focus,.settings-section input[type=number]:focus,.settings-section select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.settings-section input[type=text]:disabled,.settings-section input[type=number]:disabled,.settings-section select:disabled{opacity:.5;cursor:not-allowed}.upload-button,.action-button{width:100%;padding:.625rem 1rem;border:none;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;background:linear-gradient(135deg,#10b981,#059669);color:#fff}.upload-button:hover,.action-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.upload-button:disabled,.action-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.action-button{background:linear-gradient(135deg,#3b82f6,#2563eb)}.action-button:hover{box-shadow:0 4px 12px #3b82f64d}.selected-file{padding:.625rem .875rem;background:#0f172a;border:2px solid #475569;border-radius:.5rem;color:#cbd5e1;font-size:.875rem;word-break:break-word}.playback-checkbox{display:flex!important;flex-direction:row!important;align-items:center;gap:.5rem;margin:0!important;cursor:pointer}.playback-checkbox input[type=checkbox]{width:auto!important;margin:0!important;cursor:pointer}.speed-input{display:flex!important;flex-direction:row!important;align-items:center;gap:.5rem;margin:0!important}.speed-input input[type=number]{width:80px!important;margin:0!important}.speed-suffix{color:#94a3b8;font-size:.875rem}.dashboard-cards-list{display:flex;flex-direction:column;gap:.75rem}.dashboard-card-item-wrapper{background:#0f172a;border:2px solid #475569;border-radius:.5rem;transition:all .2s}.dashboard-card-item-wrapper:hover{background:#1e293b;border-color:#64748b}.dashboard-card-item{display:flex!important;flex-direction:row!important;align-items:center;gap:.75rem;padding:.75rem;cursor:pointer;transition:all .2s;margin:0!important;border-radius:0;border:none;background:transparent}.dashboard-card-item:hover{background:#1e293b;border-color:#64748b}.dashboard-card-item input[type=checkbox]{width:auto!important;margin:0!important;cursor:pointer}.dashboard-card-item span{font-size:.875rem;font-weight:500;color:#cbd5e1}.card-setting-row{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;margin-top:-.5rem}.card-setting-row.card-setting-nested{padding:1rem .75rem .75rem;margin-top:0;border-top:1px solid #334155}.card-setting-row.card-setting-indent{padding-left:2.5rem}.card-setting-label{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#94a3b8;width:100%}.card-setting-checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#cbd5e1;cursor:pointer}.card-setting-checkbox-label input[type='"checkbox"']{width:auto;margin:0;cursor:pointer}.card-setting-checkbox-label span{font-size:.8125rem}.game-setting-label.game-setting-checkbox{flex-direction:row!important;gap:.5rem;align-items:center;min-width:auto}.game-setting-label.game-setting-checkbox input[type='"checkbox"']{width:auto!important;height:auto!important;min-width:auto!important;margin:0!important;padding:0!important;cursor:pointer;flex:0 0 auto}.game-setting-label.game-setting-checkbox span{font-size:.875rem;color:#cbd5e1;flex:0 1 auto;white-space:nowrap}.card-setting-select{flex:1;background:#0f172a;color:#e2e8f0;border:1px solid #475569;border-radius:.375rem;padding:.375rem .5rem;font-size:.8125rem;cursor:pointer;transition:all .2s}.card-setting-select:hover{border-color:#64748b;background:#1e293b}.card-setting-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.card-setting-select:disabled{opacity:.5;cursor:not-allowed;background:#0a0f1a}.card-setting-row.card-setting-nested:has(.card-setting-select:disabled){opacity:.6}body.light .tabs-container{background:#f1f5f9;border-color:#cbd5e1}body.light .tab{color:#64748b}body.light .tab:hover:not(.active):not(:disabled){color:#334155;background:#e2e8f0}body.light .tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}body.light .connection-content label,body.light .setting-control label,body.light .status-label{color:#475569}body.light .connection-content input,body.light .connection-content select,body.light .setting-control input,body.light .setting-control select{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}body.light .connection-content input:focus,body.light .setting-control input:focus,body.light .connection-content select:focus,body.light .setting-control select:focus{border-color:#3b82f6;background:#fff}body.light .game-setting-label{color:#475569}body.light .game-setting-label input{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}body.light .game-setting-label input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}body.light .game-setting-label input:disabled{background:#e2e8f0;opacity:.7}body.light .game-setting-label select.setting-select,body.light .settings-section select{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}body.light .game-setting-label select.setting-select:focus,body.light .settings-section select:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}body.light .game-setting-label select.setting-select:disabled,body.light .settings-section select:disabled{background:#e2e8f0;opacity:.7}body.light .selected-file-display{background:#f8fafc;border-color:#cbd5e1}body.light .selected-file-display .file-name{color:#0f172a}body.light .selected-file-display .remove-file-button{color:#64748b}body.light .selected-file-display .remove-file-button:hover{color:#ef4444}body.light .connection-status-display{background:#f8fafc;border-color:#cbd5e1}body.light .connection-status-indicator{color:#475569}body.light .common-btn,body.light button[type=button]{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}body.light .common-btn:hover,body.light button[type=button]:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8)}body.light .common-btn:disabled,body.light button[type=button]:disabled{opacity:.5}body.light .team-name-inputs{background:transparent}body.light .team-input{background:#fff;color:#0f172a;border:1px solid #cbd5e1}body.light .team-input.red{border-left:8px solid #ef4444!important}body.light .team-input.yellow{border-left:8px solid #eab308!important}body.light .team-input:focus{border-color:#3b82f6;background:#f8fafc}body.light .team-input.red:focus{border-left-color:#ef4444!important}body.light .team-input.yellow:focus{border-left-color:#eab308!important}body.light .dashboard-card-item{background:#f8fafc;border-color:#cbd5e1}body.light .dashboard-card-item:hover{background:#f1f5f9;border-color:#94a3b8}body.light .dashboard-card-item-wrapper{background:#f8fafc;border-color:#cbd5e1}body.light .dashboard-card-item-wrapper:hover{background:#f1f5f9;border-color:#94a3b8}body.light .card-setting-row.card-setting-nested{border-top-color:#e2e8f0}body.light .dashboard-card-item span,body.light .speed-suffix{color:#475569}body.light .card-setting-label{color:#64748b}body.light .card-setting-checkbox-label,body.light .game-setting-checkbox span{color:#475569}body.light .card-setting-select{background:#fff;color:#0f172a;border-color:#cbd5e1}body.light .card-setting-select:hover{border-color:#94a3b8;background:#f8fafc}body.light .card-setting-select:focus{border-color:#3b82f6}body.light .card-setting-select:disabled{opacity:.5;cursor:not-allowed;background:#f1f5f9}body.light .toggle-checkbox span{color:#475569}body.light input[type=checkbox]{accent-color:#3b82f6}body.light .game-settings-tab{color:#64748b}body.light .game-settings-tab:hover:not(.active){color:#334155;background:#e2e8f0}body.light .game-settings-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}body.light .game-settings-tabs,body.light .playback-mode-tabs{background:#f1f5f9;border-color:#cbd5e1}body.light .playback-mode-tab{color:#64748b}body.light .playback-mode-tab:hover:not(.active){color:#334155;background:#e2e8f0}body.light .playback-mode-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}body.light .playback-controls-banner{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-color:#cbd5e1}body.light .playback-controls-label{color:#64748b}body.light .game-settings-content{background:#f8fafc80;border-color:#cbd5e199}body.light .sheet-not-tracked-message{color:#475569}body.light .sheet-not-tracked-message .not-tracked-icon{fill:#94a3b8}.tracking-controls{margin-top:1rem;padding:1rem;background:#33415580;border:1px solid #475569;border-radius:.5rem}.tracking-controls h4{margin:0 0 1rem;font-size:.875rem;font-weight:600;color:#e2e8f0;text-transform:uppercase;letter-spacing:.05em}.tracking-sheet{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#1e293b80;border-radius:.375rem;margin-bottom:.5rem}.tracking-sheet:last-child{margin-bottom:0}.sheet-label{font-weight:600;min-width:3rem;color:#e2e8f0}.tracking-buttons{display:flex;align-items:center;gap:.5rem;flex:1}.start-button{background:#10b981;border-color:#10b981}.start-button:hover:not(:disabled){background:#059669;border-color:#059669}.start-button:disabled{background:#334155;border-color:#475569;color:#64748b;cursor:not-allowed}.stop-button{background:#ef4444;border-color:#ef4444}.stop-button:hover:not(:disabled){background:#dc2626;border-color:#dc2626}.stop-button:disabled{background:#334155;border-color:#475569;color:#64748b;cursor:not-allowed}.tracking-status{font-size:.875rem;font-weight:600;margin-left:auto}.tracking-status.tracking{color:#10b981}.tracking-status.stopped{color:#64748b}body.light .tracking-controls{background:#f1f5f980;border-color:#cbd5e1}body.light .tracking-controls h4{color:#1e293b}body.light .tracking-sheet{background:#f8fafc80}body.light .sheet-label{color:#1e293b}body.light .start-button:disabled,body.light .stop-button:disabled,body.light .reset-button:disabled{background:#e2e8f0;border-color:#cbd5e1;color:#94a3b8}body.light .tracking-status.stopped{color:#94a3b8}.read-only-message{display:flex;align-items:center;padding:1rem;background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:8px;color:#fbbf24;font-size:.9375rem;margin-bottom:1rem}body.light .read-only-message{background:#f59e0b14;border-color:#f59e0b40;color:#d97706}.tracking-control-row{display:flex;flex-direction:column;gap:.75rem;padding-bottom:.5rem;border-bottom:1px solid rgba(51,65,85,.6);margin-bottom:.5rem}.tracking-control-label{color:#cbd5e1;font-weight:500;font-size:.9375rem}.tracking-buttons-group{display:flex;align-items:center;gap:.75rem}.tracking-buttons-group .action-button{flex:0 0 auto;width:auto;min-width:100px;padding:.5rem 1.25rem}.tracking-buttons-full-width{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.75rem;width:100%}.tracking-buttons-full-width .action-button{width:100%;padding:.625rem 1rem}.reset-button{background:#f59e0b;border-color:#f59e0b}.reset-button:hover:not(:disabled){background:#d97706;border-color:#d97706}.reset-button:disabled{background:#334155;border-color:#475569;color:#64748b;cursor:not-allowed}.tracking-status-inline{display:flex;justify-content:center;margin-top:.5rem}.tracking-status-display{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#0f172a4d;border:1px solid rgba(51,65,85,.6);border-radius:.375rem;margin-top:.5rem}.tracking-status-label{color:#cbd5e1;font-weight:500;font-size:.875rem}body.light .tab-tracking-indicator.stopped,body.light .tab-data-indicator.no-data{color:#94a3b8}body.light .disconnect-button{color:#64748b}body.light .disconnect-button:hover{color:#ef4444}body.light .cancel-button{background:#e2e8f0;color:#0f172a}body.light .cancel-button:hover{background:#cbd5e1}body.light .tracking-control-row{border-bottom-color:#cbd5e199}body.light .tracking-control-label,body.light .tracking-status-label{color:#475569}body.light .tracking-status-display{background:#f8fafc80;border-color:#cbd5e199}.scoreboard-card{background:#ffffff1a;border-radius:min(.75rem,2cqw);padding:0;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:space-between;container-type:inline-size;min-height:0;overflow:hidden}.scoreboard-table{width:100%;height:100%;border-collapse:collapse;table-layout:fixed;margin:0}.scoreboard-table tbody{display:table-row-group}.scoreboard-table tr{height:33.33%}.scoreboard-red-row,.scoreboard-score-row,.scoreboard-yellow-row{border-radius:4px}.scoreboard-label-cell{text-align:center;font-weight:700;font-size:clamp(.75rem,2.25cqw,1.125rem);padding:4px;width:120px}.scoreboard-spacer-cell{padding:4px;width:120px}.scoreboard-end-cell,.scoreboard-score-cell{text-align:center;font-weight:700;font-size:clamp(.75rem,2.25cqw,1.125rem);padding:4px;border:1px solid rgba(0,0,0,.1)}.scoreboard-blink{animation:scoreboard-blink-animation 2s ease-in-out infinite}@keyframes scoreboard-blink-animation{0%,to{opacity:1}50%{opacity:.3}}.scoreboard-finalized{display:inline-flex;align-items:center;justify-content:center;background-color:#d4d2d2;color:#000;padding:.2em .4em;border-radius:.2em;min-width:95%;min-height:95%;box-sizing:border-box;transition:background-color .15s ease,transform .1s ease}.scoreboard-finalized[style*="cursor: pointer"]:hover{background-color:#6496ff80!important;transform:scale(1.1)}body.light .scoreboard-card{background:#fffc;border-color:#e2e8f0}.game-time-card{background:#ffffff1a;border-radius:min(.75rem,2cqw);padding:1rem;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;container-type:inline-size;min-height:0}.game-time-label{font-size:clamp(.75rem,3cqw,1.25rem);font-weight:700;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}.game-time-value{font-size:clamp(1.5rem,20cqw,15rem);font-weight:700;text-align:center;font-variant-numeric:tabular-nums;font-family:Courier New,Courier,monospace;line-height:1}body.light .game-time-card{background:#fffc;border-color:#e2e8f0}body.light .game-time-label{color:#1e293b;text-shadow:0 1px 2px rgba(0,0,0,.1)}body.light .game-time-value{color:#1e293b}.app{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#1a1f2e,#2d3748)}.app.dashboard{padding:0 1rem 1rem;max-width:100vw;box-sizing:border-box;overflow-x:hidden;height:100vh;overflow-y:auto}@media(max-width:768px){.app.dashboard{height:100vh;overflow-y:auto}}body.light .app{background:linear-gradient(135deg,#e8edf4,#d4dce8);color:#1e293b}body.light{color:#1e293b}.common-btn{padding:.625rem 1.25rem;background:linear-gradient(135deg,#364d73,#2e509b);color:#fff;border:none;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0003}.common-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:scale(1.01)}.common-btn:active{transform:scale(.98)}@keyframes slideInFromTop{0%{opacity:0;transform:translateY(-100px)}60%{opacity:1}to{opacity:1;transform:translateY(0)}}.shot-slide-in{animation:slideInFromTop .8s cubic-bezier(.34,1.56,.64,1)}.app>div:first-child{display:flex;justify-content:center;padding:1rem}.on-ice-display-selector{display:flex;align-items:center;gap:.5rem}.on-ice-display-selector label{font-weight:500;color:#cbd5e1;font-size:.875rem}.on-ice-display-selector select{padding:.5rem .75rem;border:2px solid #475569;border-radius:.5rem;font-size:.875rem;background:#1e293b;color:#f1f5f9;transition:all .2s;cursor:pointer}.on-ice-display-selector select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.missed-events-warning{margin-top:.75rem;padding:.75rem 1rem;background:linear-gradient(135deg,#dc2626,#b91c1c);border:2px solid #991b1b;border-radius:.5rem;color:#fff;font-size:.875rem;box-shadow:0 4px 6px #dc26264d}.missed-events-warning small{color:#fecaca;font-size:.75rem}.clear-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;border:none;padding:.625rem 1.25rem;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0003}.clear-btn:hover{background:linear-gradient(135deg,#b91c1c,#991b1b);transform:translateY(-1px);box-shadow:0 4px 8px #0000004d}.clear-btn:active{transform:translateY(0)}.main{flex:1}.sheets-container{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}.dashboard-header{display:flex;align-items:center;justify-content:center;padding:1.5rem;background:linear-gradient(180deg,#0f172af2,#0f172a00);position:relative}.dashboard-logo{height:2.5rem;width:auto}.sheet-column{display:flex;flex-direction:column;gap:1rem;min-height:0;min-width:0}@media(max-width:900px){.sheets-container{grid-template-columns:1fr}}body.light{background:#f8fafc}body.light .thinking-time-card,body.light .split-time-card,body.light .shot-log-card,body.light .end-summary-card,body.light .stone-locations-card,body.light .scoreboard-card,body.light .game-time-card{box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}body.light .dashboard-header{background:linear-gradient(135deg,#fff,#f1f5f9);border-bottom:2px solid #e2e8f0}body.light .empty-shot-log{background:#00000005;border-color:#e2e8f0}body.light .empty-shot-log p{color:#64748b}body.light .common-btn,body.light .create-plot-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border-color:transparent}body.light .common-btn:hover,body.light .create-plot-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}body.light .on-ice-display-selector label{color:#475569}body.light .on-ice-display-selector select{background:#fff;color:#0f172a;border-color:#cbd5e1}body.light .on-ice-display-selector select:focus{border-color:#3b82f6;background:#fff}body.light .toggle-btn{background:#cbd5e1cc;border-color:#0000001a;color:#0f172a}body.light .toggle-btn:hover{background:#cbd5e1}body.light .shot-log-card-header,body.light .end-container-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom-color:#e2e8f0}body.light .shot-log-card-header h3,body.light .end-container-header h3{color:#0f172a}display: flex; flex-direction: column; gap: 1rem; min-height: 0; } .sheet-header-row{display:flex;align-items:center;justify-content:center;gap:.75rem}.sheet-header{color:#f1f5f9;font-size:1.5rem;font-weight:700;text-align:center;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.3)}.open-sheet-btn{width:100%;height:2rem;line-height:1;display:flex;align-items:center;justify-content:center;gap:.375rem;padding:0 .75rem}.open-sheet-btn svg{height:1rem;width:auto;flex-shrink:0}.open-sheet-btn span{line-height:1}.open-sheet-btn:disabled{opacity:.4;cursor:not-allowed;background:#4755694d}.open-sheet-btn:disabled:hover{transform:none;background:#4755694d}.shot-log{display:flex;flex-direction:column;gap:.75rem;flex:1;overflow-y:auto;overflow-x:hidden;height:500px;max-height:500px;position:relative}.scroll-to-top-btn{position:sticky;top:0;z-index:10;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.5rem 1rem;border-radius:0;font-weight:600;font-size:.75rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #3b82f680;margin-bottom:.75rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.toggle-separator{display:flex;align-items:center;margin:.5rem 0;position:relative;height:2rem}.toggle-separator:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 20%,rgba(255,255,255,.2) 80%,transparent 100%)}.toggle-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);background:#475569cc;border:1px solid rgba(255,255,255,.2);font-size:.75rem;padding:.25rem .5rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1}.toggle-btn:hover{background:#475569;transform:translateY(-50%) scale(1.05)}.empty-shot-log{background:#ffffff1a;border-radius:.75rem;padding:2rem;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;min-height:500px}.dashboard .create-plot-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.dashboard .create-plot-btn{text-align:center;flex:1 1 calc(25% - .375rem);min-width:0;display:flex;align-items:center;justify-content:center;gap:.375rem}@media(max-width:768px){.dashboard .create-plot-btn{flex:1 1 calc(50% - .25rem)}}@media(max-width:400px){.dashboard .create-plot-btn{flex:1 1 100%}}.split-time-card.split-time-with-locations{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0}.active-stone-locations-wrapper{margin-top:-16px;margin-bottom:1rem}.active-stone-locations-wrapper .stone-locations-card{border-top-left-radius:0!important;border-top-right-radius:0!important}@media(max-width:1400px){.sheets-container{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.sheets-container{grid-template-columns:1fr}.main{padding:1rem}}.sheet-view{height:100vh;max-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#1a1f2e,#2d3748);padding:0 1rem 1rem;overflow:hidden;max-width:100vw;box-sizing:border-box}@media(max-width:768px){.sheet-view{height:100vh;max-height:100vh;overflow-y:auto;overflow-x:hidden}.sheet-view>*{flex-shrink:0}}.sheet-view.error{justify-content:center;align-items:center;color:#f1f5f9}.sheet-view-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:.5rem;position:sticky;top:0;z-index:100;background:linear-gradient(135deg,#1a1f2e,#2d3748);padding:.75rem 1rem;margin:0 -1rem 1rem;max-width:100vw;box-sizing:border-box;height:4rem}.sheet-view-header-main{display:contents}.header-logo-container{display:flex;align-items:center;min-width:fit-content}.header-logo{height:2.5rem;display:block}.header-icon{height:2.5rem;display:none}@media(max-width:900px){.header-logo{display:none}.header-icon{display:block}}.on-ice-display-button{margin-right:12px;background:#47556980;color:#94a3b8;border:1px solid rgba(255,255,255,.1);border-radius:.2rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;height:4rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.on-ice-display-button:hover{background:#475569cc;color:#e2e8f0;transform:translateY(-1px)}.on-ice-display-placeholder{margin-right:12px;background:#47556980;color:#94a3b8;border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;white-space:nowrap;visibility:hidden;pointer-events:none}.on-ice-display-placeholder:before{content:"↗ On-Ice Display"}@media(max-width:768px){.on-ice-display-button,.on-ice-display-placeholder{display:none}.sheet-tab.dashboard-tab{display:none!important}}body.light .on-ice-display-button{background:#47556980;color:#64748b;border-color:#0000001a}body.light .on-ice-display-button:hover{background:#475569cc;color:#475569}.back-to-dashboard-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.sheet-view-title{color:#f1f5f9;font-size:2rem;font-weight:700;text-align:center;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.3);flex:1}.sheet-tabs{display:flex;gap:.5rem;flex:1;justify-content:center;align-items:center;background:transparent;border:none;border-radius:.5rem;padding:.25rem}.sheet-tab{background:transparent;color:#94a3b8;border:none;border-radius:.375rem;padding:.625rem .75rem;font-size:1.25rem;font-weight:500;cursor:pointer;transition:all .2s;min-width:3.5rem;height:3.5rem;display:flex;align-items:center;justify-content:center}.sheet-tab-icon{width:1.3rem;height:1.3rem;fill:currentColor;flex-shrink:0}.sheet-tab:hover:not(.active){color:#cbd5e1;background:#1e293b}.sheet-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}.sheet-tab:disabled{opacity:.4;cursor:not-allowed;background:transparent}.sheet-tab:disabled:hover{background:transparent;color:#94a3b8}body.light .sheet-view-header{background:linear-gradient(135deg,#e8edf4,#d4dce8)}.sheet-view-new-top-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:1rem;height:125px;overflow:hidden;transition:height .3s ease-in-out,margin-bottom .3s ease-in-out,opacity .3s ease-in-out;opacity:1}.sheet-view-new-top-row.collapsed{height:0;margin-bottom:0;opacity:0}.sheet-view-new-top-row>*:first-child{grid-column:1 / 3;height:100%;min-height:125px;max-height:125px}.sheet-view-new-top-row>*:last-child{grid-column:3 / 4;height:100%;min-height:125px;max-height:125px}@media(max-width:768px){.sheet-view-new-top-row{grid-template-columns:1fr;height:auto;gap:1rem}.sheet-view-new-top-row>*:first-child{grid-column:1 / 2;min-height:125px;max-height:none;height:auto;order:1}.sheet-view-new-top-row>*:last-child{grid-column:1 / 2;min-height:125px;max-height:none;height:auto;order:2}}.sheet-view-top-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:1rem;height:250px;overflow:hidden;transition:height .3s ease-in-out,margin-bottom .3s ease-in-out,opacity .3s ease-in-out;opacity:1}.sheet-view-top-row.collapsed{height:0;margin-bottom:0;opacity:0}.sheet-view-top-row>*{height:100%;min-height:250px;max-height:250px}.sheet-view-top-row .thinking-time-card{height:250px!important;min-height:250px!important}@media(max-width:768px){.sheet-view-top-row{grid-template-columns:1fr;height:auto;gap:1rem;margin-bottom:0}.sheet-view-top-row>*{min-height:200px;max-height:none}.sheet-view-top-row>*:nth-child(1){order:4}.sheet-view-top-row>*:nth-child(2){order:5}.sheet-view-top-row>*:nth-child(3){order:3}.sheet-view-top-row .thinking-time-card{height:auto!important;min-height:200px!important}}.sheet-view-top-row .split-time-card.split-time-with-locations{border-bottom-left-radius:min(.75rem,2cqw);border-bottom-right-radius:min(.75rem,2cqw)}@media(max-width:768px){.mobile-hidden,.mobile-hide{display:none!important}.mobile-show{display:grid!important}.sheet-view-plots-column.mobile-show{display:block!important}}.sheet-view-stone-locations{display:flex;flex-direction:column;height:100%}.sheet-view-divider{height:2px;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 20%,rgba(255,255,255,.2) 80%,transparent 100%);margin:1rem 0;position:relative}.sheet-view-controls{display:flex;justify-content:flex-end;gap:1rem;margin-bottom:1rem;align-items:center}.shot-log-header{color:#f1f5f9;font-size:1.5rem;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.3);text-align:center}.sheet-view-main{display:grid;grid-template-columns:2fr 1fr;gap:1rem;flex:1;min-height:0;overflow:hidden}@media(max-width:768px){.sheet-view-main{grid-template-columns:1fr;overflow:visible;min-height:auto}}.sheet-view-shot-log-column{display:flex;flex-direction:column;flex:1;height:100%;min-height:0;overflow:hidden}@media(max-width:768px){.sheet-view-shot-log-column{height:auto;min-height:400px;overflow:visible}}.sheet-view-shot-log{display:flex;flex-direction:column;gap:.75rem;flex:1;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;position:relative;min-height:0}@media(max-width:768px){.sheet-view-shot-log{height:auto;max-height:none;overflow-y:visible}}.shot-log-entry-with-location{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:stretch}@media(max-width:768px){.shot-log-entry-with-location{grid-template-columns:1fr;gap:0}.shot-log-entry-with-location .shot-log-card-wrapper .log-card{border-top-left-radius:.5rem;border-top-right-radius:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0}.shot-log-entry-with-location .shot-location-wrapper .stone-locations-card{border-top-left-radius:0!important;border-top-right-radius:0!important;border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important;margin-top:0}}.shot-log-card-wrapper{display:flex;flex-direction:column;min-height:0}.shot-log-card-wrapper .log-card{flex:1;height:100%;display:flex;flex-direction:column}.shot-location-wrapper{display:flex;flex-direction:column;min-height:0}.shot-location-wrapper .stone-locations-card{flex:1;height:auto;min-height:0;display:flex;flex-direction:column}.shot-log-entry-with-location:has(.end-marker-card){grid-template-columns:1fr}.shot-log-entry-with-location:has(.end-marker-card:not(.end-marker-change)){height:48px;min-height:48px}.shot-log-entry-with-location:has(.end-marker-card.end-marker-change){height:96px;min-height:96px}.no-location-data{flex:1;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border-radius:.5rem;border:1px solid rgba(255,255,255,.1)}.no-location-data p{margin:0;color:#ffffff4d;font-size:.875rem}@media(min-width:769px){.sheet-view .shot-log-card-wrapper .log-card{border-top-right-radius:0;border-bottom-right-radius:0}.sheet-view .shot-location-wrapper .stone-locations-card{border-top-left-radius:0!important;border-bottom-left-radius:0!important;margin:0}.sheet-view .no-location-data{border-top-left-radius:0;border-bottom-left-radius:0}}.sheet-view .shot-log-card-wrapper .log-label{font-size:.875rem}.sheet-view .shot-log-card-wrapper .log-value{font-size:1.125rem}.empty-locations{background:#ffffff1a;border-radius:.75rem;padding:2rem;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;min-height:200px}.empty-locations p{margin:0;color:#ffffff80;font-size:1.125rem;font-weight:600}.sheet-view-plots-column{display:flex;flex-direction:column;gap:1rem;overflow-y:auto;overflow-x:hidden;height:100%;max-height:100%}@media(max-width:768px){.sheet-view-plots-column{height:auto;max-height:none;overflow-y:visible}}.scroll-to-top-btn{position:sticky;top:2.5rem;z-index:10;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.5rem 1rem;border-radius:0;font-weight:600;font-size:.75rem;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #3b82f680;margin-bottom:.75rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.scroll-to-top-btn:hover{background:linear-gradient(135deg,#2563eb,#1e40af);box-shadow:0 4px 12px #3b82f699;transform:translateY(-1px)}.scroll-to-top-btn:active{transform:translateY(0)}.empty-shot-log{background:#ffffff1a;border-radius:.75rem;padding:2rem;box-shadow:0 4px 6px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;min-height:200px}.empty-shot-log p{margin:0;color:#ffffff80;font-size:clamp(.75rem,2.5cqw,2rem);font-weight:600}.sheet .create-plot-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.sheet .create-plot-btn{text-align:center;flex:1 1 calc(25% - .375rem);min-width:0;height:40px;display:flex;align-items:center;justify-content:center;gap:.375rem;padding:.625rem}@media(max-width:768px){.sheet .create-plot-btn{flex:1 1 calc(50% - .25rem)}}@media(max-width:400px){.sheet .create-plot-btn{flex:1 1 100%}}color: white; background: linear-gradient(135deg,#3b82f6 0%,#2563eb 100%); box-shadow: 0 2px 4px rgba(59,130,246,.3); border: none; border-radius: .375rem; font-weight: 500; transition: all .2s; opacity: .7; } @media (max-width: 768px){.sheet .create-plot-btn{flex:1 1 calc(50% - .25rem);min-width:0;max-width:calc(50% - .25rem)}}.create-plot-btn .plot-icon{height:16px;width:auto}.create-plot-btn:hover,.create-plot-btn:active{background:linear-gradient(135deg,#2563eb,#1d4ed8);opacity:1}@media(max-width:1400px){.sheet-view-main{grid-template-columns:1fr}.sheet-view-shot-log-column{max-height:600px}}@media(max-width:768px){.sheet-view-top-row,.shot-log-row-wrapper{grid-template-columns:1fr}.sheet-view-header{flex-direction:column;align-items:stretch;gap:0;position:sticky;top:0;z-index:100;height:auto!important;padding:.5rem 1rem 0}.sheet-view-header-main{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.back-to-dashboard-btn{margin-left:0!important;font-size:.9rem;padding:.5rem .75rem;white-space:nowrap}.sheet-tabs{flex:1;gap:.5rem;padding:.25rem}.sheet-tab{padding:.5rem .75rem;font-size:.875rem;min-width:2.5rem;height:2.5rem}.open-ice-btn{display:none}.mobile-content-tabs{display:flex;gap:.5rem;background:transparent;border:none;border-radius:.5rem;padding:.25rem;margin:.1rem 1rem .5rem}.mobile-content-tabs .settings-tab{background:transparent;color:#94a3b8;border:none;border-radius:.375rem;padding:.5rem .75rem;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s;flex:1;display:flex;align-items:center;justify-content:center}.mobile-content-tabs .settings-tab:hover:not(.active){color:#cbd5e1;background:#1e293b}.mobile-content-tabs .settings-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 4px #3b82f64d}.mobile-hide{display:none!important}.sheet-view-main{grid-template-columns:1fr;overflow:visible;min-height:auto}.sheet-view-shot-log-column,.sheet-view-plots-column{width:100%;height:auto;overflow:visible}.sheet-view-divider{display:none}}@media(min-width:769px){.mobile-content-tabs{display:none}}body.light .sheet-view{background:linear-gradient(135deg,#e8edf4,#d4dce8)}body.light .sheet-view-title{color:#0f172a;text-shadow:0 1px 2px rgba(0,0,0,.1)}body.light .sheet-tab{background:#cbd5e14d;color:#64748b;border-color:#cbd5e1}body.light .sheet-tab:hover{background:#cbd5e199;color:#475569}body.light .sheet-tab.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border-color:#3b82f6}body.light .sheet-tab:disabled{background:#cbd5e133;color:#94a3b8}body.light .sheet-tab:disabled:hover{background:#cbd5e133;color:#94a3b8}body.light .scroll-to-top-btn{background:#fffffff2;color:#3b82f6;border-color:#cbd5e1;box-shadow:0 4px 6px #0000001a}body.light .scroll-to-top-btn:hover{background:#fff;box-shadow:0 6px 12px #00000026}body.light .create-plot-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:transparent}body.light .create-plot-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.ice-view{height:100vh;width:100vw;display:flex;flex-direction:column;background:linear-gradient(135deg,#1a1f2e,#2d3748);position:relative;overflow:hidden}.ice-view.error{justify-content:center;align-items:center;color:#f1f5f9}.sheet-title{text-align:center;color:#f1f5f9;font-size:3rem;font-weight:700;margin:2rem 0;text-shadow:0 4px 8px rgba(0,0,0,.5)}.fullscreen-thinking-time{flex:1;display:flex;flex-direction:column;overflow:hidden}.fullscreen-game-time{flex:1;display:flex;padding:0;overflow:hidden}.fullscreen-game-time .game-time-card{flex:1;border-radius:0}.fullscreen-scoreboard{flex:1;display:flex;padding:0;overflow:hidden}.fullscreen-scoreboard .scoreboard-card{flex:1;border-radius:0}.ice-view .thinking-time-card{border-radius:0;margin-bottom:0}.thinking-time-container{flex:1;display:flex;gap:2rem;overflow:hidden}.thinking-time-half{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:1rem;box-shadow:0 10px 40px #0006;padding:3rem}.thinking-time-label-large{font-size:4rem;font-weight:700;margin-bottom:2rem;text-shadow:0 4px 8px rgba(0,0,0,.3)}.thinking-time-value-large{font-size:10rem;font-weight:700;font-family:Courier New,monospace;margin-bottom:3rem;text-shadow:0 4px 8px rgba(0,0,0,.3)}.thinking-time-value-large.running{animation:pulse-text 1s infinite}@keyframes pulse-text{0%,to{opacity:1}50%{opacity:.7}}.stone-indicators-large{display:flex;flex-direction:column;gap:1.5rem}.stone-row-large{display:flex;gap:1.5rem;justify-content:center}.stone-circle-large{width:60px;height:60px;border-radius:50%;border:4px solid;transition:all .3s}.stone-circle-large.active{background:transparent!important;animation:blink 1s infinite}.stone-circle-large.used{background:transparent!important;opacity:.3}@keyframes blink{0%,49%{background:transparent!important}50%,to{background:var(--stone-color)!important}}.fullscreen-split-time{flex:1;display:flex;flex-direction:column;overflow:hidden}.ice-view .split-time-card{border-radius:0;margin-bottom:0}.active-shot-fullscreen{flex:1;border-radius:1rem;box-shadow:0 10px 40px #0006;padding:3rem;display:flex;flex-direction:column;position:relative}.stone-number-badge-large{position:absolute;top:2rem;left:2rem;width:120px;height:120px;border-radius:50%;background:#0000004d;display:flex;align-items:center;justify-content:center;font-size:4rem;font-weight:700;color:#fff;box-shadow:0 4px 12px #0000004d}.shot-content-large{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3rem;margin-top:4rem}.split-timer-large{width:100%;max-width:800px;text-align:center}.split-label-large{font-size:2.5rem;font-weight:600;color:#000000b3;margin-bottom:1rem}.split-time-large{font-size:8rem;font-weight:700;font-family:Courier New,monospace;color:#000000e6;text-shadow:0 2px 4px rgba(255,255,255,.3)}.empty-active-large{flex:1;display:flex;align-items:center;justify-content:center;font-size:3rem;color:#ffffff80;font-weight:600}.fullscreen-stone-locations{flex:1;display:flex;width:100%;height:100%;overflow:hidden}.fullscreen-stone-locations .stone-locations-card,.fullscreen-stone-locations .stone-locations-card.empty{width:100%;height:100%;margin:0;border-radius:0}body.light .ice-view{background:linear-gradient(135deg,#f8fafc,#e2e8f0)}body.light .sheet-title{color:#0f172a;text-shadow:0 2px 4px rgba(0,0,0,.1)}body.light .empty-active-large{color:#0000004d}body.light .split-label-large{color:#000000b3}body.light .split-time-large{color:#000000e6}.landing-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background-color:#010323e0}.landing-container{max-width:900px;width:100%;background:#1e293b99;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(71,85,105,.3);border-radius:1.5rem;padding:3rem;box-shadow:0 20px 60px #0006}.logo-section{text-align:center;margin-bottom:3rem}.logo{width:150px;height:150px;margin-bottom:1.5rem;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3))}.logicurl-text{width:400px;max-width:90%;height:auto;margin-bottom:1.5rem;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3));display:block;margin-left:auto;margin-right:auto}.title{font-size:4rem;font-weight:700;background:linear-gradient(135deg,#60a5fa,#3b82f6,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem;letter-spacing:-.02em}.tagline{font-size:1.5rem;color:#94a3b8;font-weight:500}.description-section{margin-bottom:3rem;color:#cbd5e1;line-height:1.8}.description-section h2{font-size:2rem;color:#f1f5f9;margin-bottom:1rem;font-weight:600}.description-section p{margin-bottom:1.5rem;font-size:1.1rem}.features-list{list-style:none;padding:0;margin:2rem 0}.features-list li{padding:1rem 1.5rem;margin-bottom:1rem;background:#33415566;border-left:4px solid #3b82f6;border-radius:.5rem;transition:all .3s ease}.features-list li:hover{background:#33415599;transform:translate(5px)}.features-list strong{color:#60a5fa;display:block;margin-bottom:.3rem;font-size:1.1rem}.demo-button{width:100%;padding:1.5rem;font-size:1.5rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:1rem;cursor:pointer;transition:all .3s ease;box-shadow:0 10px 30px #3b82f666;display:flex;align-items:center;justify-content:center;gap:1rem}.demo-button:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 15px 40px #3b82f680}.demo-button:active{transform:translateY(0)}.button-icon{font-size:1.8rem}.footer-section{margin-top:3rem;text-align:center;padding-top:2rem;border-top:1px solid rgba(71,85,105,.3)}.footer-text{color:#94a3b8;font-size:.95rem}.footer-text a{color:#60a5fa;text-decoration:none;font-weight:600;transition:color .2s}.footer-text a:hover{color:#3b82f6;text-decoration:underline}@media(max-width:768px){.landing-container{padding:2rem}.logo{width:100px;height:100px}.title{font-size:3rem}.tagline{font-size:1.2rem}.description-section h2{font-size:1.5rem}.description-section p{font-size:1rem}.features-list li{padding:.8rem 1rem}.features-list strong{font-size:1rem}.demo-button{font-size:1.2rem;padding:1.2rem}}
