:root{--color-primary: #2563eb;--color-secondary: #64748b;--color-success: #16a34a;--color-warning: #ea580c;--color-background: #f8fafc;--color-surface: #ffffff;--color-border: #e2e8f0;--color-text: #1e293b;--color-text-secondary: #64748b;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-family);background-color:var(--color-background);color:var(--color-text);line-height:1.6}#app{max-width:1200px;margin:0 auto;padding:20px}.nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;margin-bottom:2rem;border-bottom:2px solid var(--color-border)}.nav h1{font-size:1.75rem;font-weight:600;margin:0;color:var(--color-primary)}.nav-link{color:var(--color-text-secondary);text-decoration:none;font-size:.95rem;font-weight:500;padding:.5rem 1rem;border-radius:6px;transition:all .2s}.nav-link:hover{color:var(--color-primary);background:var(--color-background)}#game-selector{background:var(--color-surface);padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a;margin-bottom:30px}#game-selector label{display:block;margin-bottom:8px;font-weight:600;color:var(--color-text)}#game-select{width:100%;padding:12px;font-size:1rem;border:2px solid var(--color-border);border-radius:6px;background:var(--color-surface);cursor:pointer;transition:border-color .2s}#game-select:hover{border-color:var(--color-primary)}#game-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px #2563eb1a}.game-meta{display:flex;justify-content:space-between;align-items:center;padding:12px 0;margin-bottom:16px;color:var(--color-text-secondary);font-size:.95rem}.game-date,.game-field{font-weight:500}.game-header{display:flex;justify-content:space-between;align-items:center;background:var(--color-surface);padding:24px 32px;border-radius:8px;box-shadow:0 2px 4px #00000014;margin-bottom:24px;gap:32px}.team-section{flex:1;display:flex;align-items:center;gap:12px}.team-left{justify-content:flex-start}.team-right{justify-content:flex-end}.team-name{font-size:1.4rem;font-weight:700;color:var(--color-text);margin:0}.score-section{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:200px}.score-display{display:flex;align-items:center;gap:16px}.score{font-size:3.5rem;font-weight:800;color:var(--color-text);line-height:1}.score-secondary{color:var(--color-text-secondary)}.score-separator{font-size:2rem;color:var(--color-text-secondary);font-weight:400}.status-badge{display:inline-block;padding:6px 16px;border-radius:20px;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge.not-started{background:var(--color-secondary);color:#fff}.status-badge.first-half,.status-badge.second-half{background:var(--color-success);color:#fff}.status-badge.halftime{background:var(--color-warning);color:#fff}.status-badge.finished{background:var(--color-text);color:#fff}.progression-table-container{background:var(--color-surface);padding:20px;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:24px;overflow-x:auto}.progression-table{width:100%;border-collapse:collapse;font-size:.9rem}.progression-table th{padding:10px 8px;text-align:center;font-weight:600;color:var(--color-text-secondary);border-bottom:2px solid var(--color-border);font-size:.85rem}.progression-table th.team-col{text-align:left;min-width:150px}.progression-table th.point-col{min-width:32px}.progression-table th.final-col{font-weight:700;color:var(--color-text);min-width:50px}.progression-table td{padding:12px 8px;text-align:center;border-bottom:1px solid var(--color-border)}.progression-table td.team-col{text-align:left;font-weight:600;color:var(--color-text)}.progression-table td.point-col{color:#d1d5db;font-weight:400}.progression-table td.final-col{font-weight:700;color:var(--color-text);font-size:1.05rem;border-left:3px solid #d1d5db}.progression-table td.scoring-point{color:var(--color-text);font-weight:700}.progression-table td.break-point{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}.progression-table td.first-point,.progression-table th.first-point{border-left:3px solid #d1d5db}.progression-table td.before-halftime,.progression-table th.before-halftime{border-right:3px solid var(--color-success)}.progression-table tr:last-child td{border-bottom:none}.efficiency-stats-container{background:var(--color-surface);padding:24px;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:24px}.efficiency-stats-container h3{margin-bottom:16px;color:var(--color-text);font-size:1.2rem;font-weight:700}.efficiency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.efficiency-card{padding:20px;border-radius:8px;text-align:center;border:2px solid var(--color-border);transition:all .2s}.efficiency-card:hover{box-shadow:0 4px 8px #0000001a}.o-line-card{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#2563eb}.d-line-card{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#16a34a}.efficiency-label{font-size:.9rem;font-weight:600;color:var(--color-text-secondary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.efficiency-value{display:flex;flex-direction:column;gap:4px;align-items:center}.efficiency-value .percentage{font-size:2.5rem;font-weight:800;color:var(--color-text);line-height:1}.efficiency-value .record{font-size:.9rem;color:var(--color-text-secondary);font-weight:500}.timeline-container{background:var(--color-surface);padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a}.timeline-container h3{margin-bottom:20px;color:var(--color-text);font-size:1.3rem}.timeline{position:relative;padding:0}.timeline-event{position:relative;padding:0;margin-bottom:8px;display:flex;align-items:stretch;gap:0;border-radius:4px;overflow:hidden;box-shadow:0 1px 3px #00000014}.timeline-event:last-child{margin-bottom:0}.timeline-event:before{content:"";width:6px;min-height:100%;background:var(--color-primary);flex-shrink:0}.timeline-event.goal-us:before{background:var(--color-success)}.timeline-event.goal-them:before{background:var(--color-warning)}.event-left{flex:1;padding:12px 16px;background:var(--color-surface);display:flex;flex-direction:column;gap:4px}.event-header{display:flex;align-items:center;gap:8px;line-height:1.4}.event-time{font-size:.9rem;color:var(--color-text-secondary);font-weight:500;min-width:50px}.event-icon{font-size:1rem;line-height:1}.event-type{font-weight:600;color:var(--color-text);font-size:.95rem}.event-details{font-size:.85rem;color:var(--color-text-secondary);margin-left:58px}.event-details.defensive-play{color:var(--color-success);font-weight:600;margin-top:2px}.event-score-cell{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:220px;padding:12px 16px;background:#f8f9fa;border-left:1px solid var(--color-border);flex-shrink:0}.score-line{font-size:.9rem;line-height:1.4;display:flex;align-items:baseline;gap:8px}.score-number{font-weight:700;font-size:1.1rem;min-width:20px}.empty-state{text-align:center;color:var(--color-text-secondary);padding:40px;font-style:italic}.hidden{display:none!important}.error-message{background:#fef2f2;border:2px solid #fecaca;color:#991b1b;padding:20px;border-radius:8px;text-align:center}footer{text-align:center;margin-top:50px;padding:20px;color:var(--color-text-secondary);font-size:.9rem}@media (max-width: 768px){.game-header{flex-direction:column;padding:20px;gap:16px}.team-section{width:100%;justify-content:center}.score{font-size:2.5rem}.team-name{font-size:1.2rem}.progression-table-container{padding:12px}.progression-table{font-size:.8rem}.progression-table th,.progression-table td{padding:8px 4px}.progression-table th.team-col,.progression-table td.team-col{min-width:100px}}
