*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,sans-serif;background:#0d1117;color:#e6edf3}.app{max-width:960px;margin:0 auto;padding:1.5rem 1rem}.app-header{margin-bottom:1.25rem}.app-header h1{margin:0;font-size:1.2rem;font-weight:600;letter-spacing:.01em}.app-tagline{margin:.2rem 0 0;font-size:.8rem;color:#6e7681}.filter-bar{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.controls{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}.team-picker{display:flex;flex-direction:column;gap:.25rem}.team-picker-label{font-size:.8rem;font-weight:500;color:#8b949e;text-transform:uppercase;letter-spacing:.05em}.team-picker-select{background:#161b22;color:#e6edf3;border:1px solid #30363d;border-radius:6px;padding:.35rem .6rem;font-size:.875rem;cursor:pointer;min-width:200px}.team-picker-select:focus{outline:2px solid #388bfd;outline-offset:1px}.clearable-select{display:flex;flex-direction:column;gap:.25rem}.clearable-select-row{display:flex;align-items:center;gap:.25rem}.clear-btn{background:none;border:1px solid #30363d;border-radius:4px;color:#6e7681;cursor:pointer;font-size:.75rem;line-height:1;padding:.3rem .45rem;transition:color .1s,border-color .1s;flex-shrink:0}.clear-btn:hover{color:#e6edf3;border-color:#6e7681}.clear-btn:focus{outline:2px solid #388bfd;outline-offset:1px}.swap-btn{background:none;border:1px solid #30363d;border-radius:4px;color:#6e7681;cursor:pointer;font-size:.75rem;line-height:1;padding:.3rem .45rem;transition:color .1s,border-color .1s;flex-shrink:0;align-self:flex-end}.swap-btn:hover{color:#e6edf3;border-color:#6e7681}.swap-btn:focus{outline:2px solid #388bfd;outline-offset:1px}.stats-bar{display:flex;gap:0;margin-bottom:.75rem;border:1px solid #30363d;border-radius:6px}.stat{flex:1;display:flex;flex-direction:column;align-items:center;padding:.5rem .75rem;background:#161b22;border-right:1px solid #30363d}.stat:first-child{border-radius:6px 0 0 6px}.stat:last-child{border-right:none;border-radius:0 6px 6px 0}.stat-number{font-size:1.35rem;font-weight:700;color:#e6edf3;line-height:1.1}.stat-label{font-size:.7rem;font-weight:500;color:#6e7681;text-transform:uppercase;letter-spacing:.05em;margin-top:.15rem}.stat-number--goal{color:#4ade80}.stat-dim .stat-number{color:#6e7681;font-size:1.1rem}.stat-dim .stat-label{color:#484f58}.stat-dim{position:relative;cursor:default}.stat-dim[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);background:#1c2128;border:1px solid #30363d;border-radius:6px;color:#8b949e;font-size:.75rem;line-height:1.4;padding:.4rem .6rem;white-space:normal;width:220px;text-align:center;z-index:10;pointer-events:none}.canvas-wrapper{width:100%;min-height:120px}.canvas-loading{display:flex;align-items:center;justify-content:center;height:120px;color:#6e7681;font-size:.875rem}.details-bar{margin-top:.75rem;padding:.6rem .75rem;background:#161b22;border:1px solid #30363d;border-radius:6px;min-height:2.4rem;display:flex;align-items:center;font-size:.875rem}.details-prompt{color:#6e7681}.details-preview{opacity:.75}.details-meta{color:#8b949e;font-size:.875rem}.details-active{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.details-dot{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;flex-shrink:0}.details-name{font-weight:600;color:#e6edf3}.details-sep{color:#6e7681}.details-outcome{color:#8b949e;text-transform:capitalize}.details-minute,.details-xg{color:#8b949e}.shot-card{margin-top:.75rem;border:1px solid #30363d;border-radius:8px;overflow:hidden;background:#161b22}.shot-card-banner{display:flex;justify-content:space-between;align-items:center;padding:.4rem 1rem;background:#0d1117;border-bottom:1px solid #30363d;font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}.shot-card-close{background:none;border:none;color:#6e7681;cursor:pointer;font-size:.85rem;padding:0;line-height:1}.shot-card-close:hover{color:#e6edf3}.shot-card-body{padding:.875rem 1rem;display:flex;flex-direction:column;gap:.6rem}.shot-card-player{font-size:1rem;font-weight:600;color:#e6edf3}.shot-card-meta{font-size:.875rem;color:#8b949e;margin-top:.15rem}.shot-card-xg{font-size:.875rem;color:#e6edf3}.shot-card-assist{font-size:.875rem;color:#8b949e}.shot-badges{display:flex;flex-wrap:wrap;gap:.35rem}.badge{padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500;background:#21262d;border:1px solid #30363d;color:#8b949e}.shot-card-doorways{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.15rem}.doorway-btn{background:none;border:1px solid #30363d;border-radius:6px;color:#58a6ff;cursor:pointer;font-size:.8rem;padding:.4rem .75rem;transition:border-color .1s,background .1s}.doorway-btn:hover{background:#21262d;border-color:#58a6ff}.match-header{padding:.85rem 1rem .7rem;background:#161b22;border:1px solid #30363d;border-radius:8px;margin-bottom:.75rem;text-align:center}.match-header-row{display:flex;align-items:center;gap:.75rem}.match-header-team{display:flex;align-items:center;gap:.4rem;flex:1;min-width:0}.match-header-team--home{justify-content:flex-end;text-align:right}.match-header-team--away{justify-content:flex-start;text-align:left}.match-header-flag{font-size:1.3rem;flex-shrink:0}.match-header-team-name{font-size:.95rem;font-weight:600;color:#e6edf3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-header-score{font-size:2rem;font-weight:700;color:#e6edf3;letter-spacing:.04em;flex-shrink:0}.match-header-detail{font-size:.78rem;color:#6e7681;margin-top:.35rem;text-transform:uppercase;letter-spacing:.05em}.shootout-strip{margin-top:.75rem;padding:.75rem 1rem;background:#161b22;border:1px solid #30363d;border-radius:6px;display:flex;flex-direction:column;gap:.5rem}.shootout-label{font-size:.7rem;font-weight:500;color:#6e7681;text-transform:uppercase;letter-spacing:.05em}.shootout-rows{display:flex;flex-direction:column;gap:.35rem}.shootout-row{display:flex;align-items:center;gap:.75rem}.shootout-team{font-size:.875rem;color:#8b949e;min-width:180px}.shootout-row--winner .shootout-team{color:#e6edf3;font-weight:600}.shootout-kicks{display:flex;gap:.3rem}.kick-dot{display:inline-block;width:.8rem;height:.8rem;border-radius:50%;flex-shrink:0}.kick-scored{background:#4ade80}.kick-missed{background:#f87171}.shootout-tally{font-size:.875rem;font-weight:600;color:#6e7681;min-width:1.5rem}.shootout-row--winner .shootout-tally{color:#4ade80}.shootout-winner{font-size:.8rem;color:#6e7681}.match-cards{margin-top:.75rem;display:flex;flex-direction:column;gap:.35rem}.match-cards-label{font-size:.7rem;font-weight:500;color:#6e7681;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.1rem}.match-card{display:flex;align-items:center;gap:.75rem;padding:.45rem .75rem;background:#161b22;border:1px solid #30363d;border-radius:6px;cursor:pointer;text-align:left;width:100%;transition:border-color .1s,background .1s}.match-card:hover{background:#1c2128;border-color:#6e7681}.match-card--selected{border-color:#388bfd;background:#1c2128}.match-card-opponent{font-size:.875rem;color:#e6edf3;font-weight:500;flex:1}.match-card-stage{font-size:.8rem;color:#6e7681}.match-card-result{font-size:.8rem;font-weight:600;min-width:5rem;text-align:right}.result-w{color:#4ade80}.result-d{color:#8b949e}.result-l{color:#f87171}.attribution{margin-top:1.5rem;font-size:.75rem;color:#6e7681}.attribution a{color:#6e7681;text-decoration:underline;text-underline-offset:2px}@media(max-width:600px){.app{padding:1rem .75rem}.team-picker,.clearable-select{width:100%}.team-picker-select{min-width:0;width:100%}.controls{gap:.6rem}.stats-bar{flex-wrap:wrap;overflow:hidden}.stat{flex:1 1 30%;border-bottom:1px solid #30363d}.stat:first-child{border-radius:0}.stat:last-child{border-radius:0;border-right:1px solid #30363d}.stat:nth-child(3n){border-right:none}.stat:nth-last-child(-n+3){border-bottom:none}.stat-number{font-size:1.1rem}.stat-dim .stat-number{font-size:.95rem}.match-header-score{font-size:1.5rem}.match-header-team-name{font-size:.8rem}.match-header-flag{font-size:1.1rem}.shootout-team{min-width:0;flex:1;font-size:.8rem}.shootout-kicks{flex-wrap:wrap}.shot-card-doorways{flex-direction:column}.match-card-result{min-width:3.5rem}.match-card-stage{font-size:.75rem}}
