*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{background-color:#0d1117;color:#e6edf3;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}#root{min-height:100vh}.nav{background:#161b22;border-bottom:1px solid #30363d;padding:0 24px;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}.nav-logo{font-size:18px;font-weight:700;letter-spacing:-.5px;color:#e6edf3;text-decoration:none}.nav-logo span{color:#8b949e}.nav-links{display:flex;gap:8px;align-items:center}.nav-link{color:#8b949e;text-decoration:none;font-size:14px;font-weight:500;padding:6px 12px;border-radius:6px;transition:color .15s,background .15s}.nav-link:hover{color:#e6edf3;background:#1c2128}.nav-link.active{color:#c9d1d9}.nav-sign-in{padding:6px 14px;background:#1c2128;border:1px solid #484f58;border-radius:6px;color:#e6edf3;font-size:14px;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s}.nav-sign-in:hover{background:#21262d;border-color:#8b949e}.page{max-width:720px;margin:0 auto;padding:40px 24px}.card{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:32px}.page-title{font-size:22px;font-weight:700;letter-spacing:-.5px;margin-bottom:32px;color:#e6edf3}.page-title span{color:#8b949e}.section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:#6e7681;margin-bottom:16px}.form-group{margin-bottom:20px}.form-label{display:block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6e7681;margin-bottom:8px}.form-select{width:100%;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;padding:10px 14px;font-size:15px;font-family:inherit;outline:none;transition:border-color .15s;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}.form-select:focus{border-color:#8b949e}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.btn-group{display:flex;gap:8px}.btn-opt{flex:1;padding:10px 8px;border-radius:8px;border:1px solid #30363d;background:#0d1117;color:#6e7681;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;transition:border-color .15s,color .15s,background .15s;text-align:center;white-space:nowrap}.btn-opt:hover{border-color:#484f58;color:#e6edf3}.btn-opt.active{border-color:#8b949e;background:#8b949e14;color:#c9d1d9}.btn-opt.win.active{border-color:#22c55e;background:#22c55e1a;color:#4ade80}.btn-opt.loss.active{border-color:#ef4444;background:#ef44441a;color:#f87171}.btn-opt.draw.active{border-color:#f59e0b;background:#f59e0b1a;color:#fbbf24}.submit-btn{width:100%;padding:14px;background:#1c2128;border:1px solid #484f58;border-radius:8px;color:#e6edf3;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .1s;margin-top:8px;letter-spacing:.02em}.submit-btn:hover:not(:disabled){background:#21262d;border-color:#8b949e;box-shadow:0 0 16px #8b949e1f;transform:translateY(-1px)}.submit-btn:disabled{opacity:.35;cursor:not-allowed}.status-msg{margin-top:16px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:12px}.status-msg.success{background:#22c55e14;border:1px solid rgba(34,197,94,.25);color:#4ade80}.status-msg.error{background:#ef444414;border:1px solid rgba(239,68,68,.25);color:#f87171}.reset-link{background:none;border:none;color:inherit;cursor:pointer;font-size:13px;text-decoration:underline;font-family:inherit;opacity:.8;white-space:nowrap}.reset-link:hover{opacity:1}.divider{height:1px;background:#21262d;margin:24px 0 20px}.landing{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(ellipse at 50% 40%,#1c2128,#0d1117 65%)}.landing-badge{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:#8b949e;background:#8b949e0f;border:1px solid rgba(139,148,158,.2);border-radius:20px;padding:4px 14px;margin-bottom:24px}.landing-title{font-size:56px;font-weight:800;letter-spacing:-2px;line-height:1.05;margin-bottom:16px;color:#e6edf3}.landing-title .highlight{color:#8b949e}.landing-subtitle{font-size:17px;color:#6e7681;margin-bottom:40px;max-width:380px;line-height:1.6}.landing-btn{padding:14px 36px;background:#1c2128;border:1px solid #484f58;border-radius:10px;color:#e6edf3;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .1s;letter-spacing:.02em}.landing-btn:hover{background:#21262d;border-color:#8b949e;box-shadow:0 0 24px #8b949e26;transform:translateY(-2px)}.result-indicator{display:inline-flex;align-items:center;padding:8px 20px;border-radius:8px;font-size:14px;font-weight:700;letter-spacing:.04em;border:1px solid}.result-indicator.win{color:#4ade80;border-color:#22c55e;background:#22c55e1a}.result-indicator.loss{color:#f87171;border-color:#ef4444;background:#ef44441a}.result-indicator.draw{color:#fbbf24;border-color:#f59e0b;background:#f59e0b1a}.placeholder-text{color:#6e7681;font-size:15px;line-height:1.6}.legend-select{position:relative}.legend-trigger{width:100%;display:flex;align-items:center;gap:10px;padding:8px 12px;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:14px;font-family:inherit;cursor:pointer;text-align:left;transition:border-color .15s;min-height:44px}.legend-trigger:hover,.legend-trigger.open{border-color:#8b949e}.legend-trigger-img{width:32px;height:32px;border-radius:6px;object-fit:cover;flex-shrink:0}.legend-trigger-placeholder{color:#484f58}.legend-trigger-arrow{margin-left:auto;color:#484f58;font-size:11px;flex-shrink:0}.legend-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#161b22;border:1px solid #30363d;border-radius:10px;padding:10px;z-index:200;box-shadow:0 12px 40px #000000b3;max-height:320px;overflow-y:auto}.legend-search{width:100%;background:#0d1117;border:1px solid #30363d;border-radius:6px;color:#e6edf3;padding:7px 10px;font-size:13px;font-family:inherit;outline:none;margin-bottom:10px;transition:border-color .15s}.legend-search::placeholder{color:#484f58}.legend-search:focus{border-color:#8b949e}.legend-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:8px}.legend-no-results{color:#484f58;font-size:13px;padding:8px;text-align:center;grid-column:1 / -1}.legend-tile{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px;background:none;border:1px solid transparent;border-radius:8px;cursor:pointer;transition:border-color .15s,background .15s;font-family:inherit}.legend-tile:hover{border-color:#484f58;background:#1c2128}.legend-tile.selected{border-color:#8b949e;background:#8b949e14}.legend-tile-img{width:52px;height:52px;border-radius:8px;object-fit:cover}.legend-tile-name{font-size:10px;color:#6e7681;text-align:center;line-height:1.2;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-tile.selected .legend-tile-name{color:#c9d1d9}.matrix-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:12px}.matrix-sort-label{font-size:12px;color:#6e7681}.matrix-sort-btns{display:flex;gap:4px}.matrix-sort-btn{padding:5px 12px;background:none;border:1px solid #30363d;border-radius:6px;color:#6e7681;font-size:12px;font-family:inherit;cursor:pointer;transition:all .15s}.matrix-sort-btn:hover{border-color:#484f58;color:#e6edf3}.matrix-sort-btn.active{border-color:#8b949e;background:#8b949e14;color:#c9d1d9}.matrix-table{border-collapse:collapse;width:100%;font-size:13px}.matrix-th{padding:8px 10px;text-align:center;color:#6e7681;font-size:11px;font-weight:600;letter-spacing:.05em;border-bottom:1px solid #30363d;white-space:nowrap}.matrix-th-label{text-align:left;color:#484f58;min-width:140px}.matrix-th-overall{color:#8b949e;border-right:1px solid #30363d;font-size:10px}.matrix-legend-header{display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0}.matrix-legend-img{width:36px;height:36px;border-radius:6px;object-fit:cover}.matrix-legend-name{font-size:10px;color:#6e7681;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-weight:500}.matrix-td{padding:8px 10px;text-align:center;border-bottom:1px solid #161b22;vertical-align:middle;min-width:80px}.matrix-td-label{text-align:left;white-space:nowrap;border-right:1px solid #30363d;padding-right:16px}.matrix-row-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#e6edf3;font-weight:600}.matrix-td-overall{border-right:1px solid #30363d}.matrix-td-self{background:#00000040}.matrix-row:hover .matrix-td{background-color:#ffffff05}.matrix-row:hover .matrix-td-self{background:#00000040}.matrix-empty{color:#30363d;font-size:14px}.matrix-wr{display:block;font-size:14px;font-weight:700;line-height:1.3}.matrix-record{display:block;font-size:10px;color:#484f58;margin-top:2px}@media (max-width: 600px){.form-row{grid-template-columns:1fr}.card{padding:20px 16px}.landing-title{font-size:40px;letter-spacing:-1.5px}.btn-group{flex-wrap:wrap}.btn-opt{flex:1 1 calc(50% - 4px)}}.sync-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;color:#8b949e;font-size:15px}.pending-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.pending-card{background:#161b22;border:1px solid #30363d;border-radius:12px;padding:48px 40px;max-width:420px;width:100%;text-align:center}.pending-card h2{font-size:22px;font-weight:700;color:#e6edf3;margin-bottom:12px}.pending-card p{font-size:14px;color:#8b949e;line-height:1.6}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th{text-align:left;padding:10px 14px;color:#8b949e;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #30363d;white-space:nowrap}.admin-table td{padding:12px 14px;border-bottom:1px solid #21262d;color:#e6edf3;vertical-align:middle}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover td{background:#161b22}.admin-email{color:#8b949e;font-size:12px}.admin-date{color:#8b949e;font-size:12px;white-space:nowrap}.admin-badge{display:inline-block;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:600;letter-spacing:.03em}.badge-approved{background:#22c55e1f;color:#4ade80;border:1px solid rgba(34,197,94,.25)}.badge-pending{background:#fbbf241f;color:#fbbf24;border:1px solid rgba(251,191,36,.25)}.badge-rejected{background:#ef44441f;color:#f87171;border:1px solid rgba(239,68,68,.25)}.admin-actions{display:flex;gap:6px}.admin-btn{padding:4px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:opacity .15s}.admin-btn:disabled{opacity:.3;cursor:default}.admin-btn.approve{background:#22c55e1f;color:#4ade80;border-color:#22c55e40}.admin-btn.approve:not(:disabled):hover{background:#22c55e33}.admin-btn.reject{background:#ef44441f;color:#f87171;border-color:#ef444440}.admin-btn.reject:not(:disabled):hover{background:#ef444433}.result-win{color:#4ade80}.result-loss{color:#f87171}.result-draw{color:#8b949e}.log-feed{display:flex;flex-direction:column;gap:2px}.log-item{display:flex;align-items:center;gap:14px;padding:12px 4px;border-bottom:1px solid #21262d}.log-item:last-child{border-bottom:none}.log-legends{position:relative;width:52px;height:36px;flex-shrink:0}.log-legend-img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid #0d1117;position:absolute;top:0}.log-legend-img:first-child{left:0;z-index:2}.log-legend-opp{left:16px;z-index:1}.log-content{flex:1;min-width:0}.log-headline{font-size:13px;color:#e6edf3;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.log-username{color:#e6edf3;font-weight:600;text-decoration:none}.log-username:hover{color:#fff;text-decoration:underline}.log-verb{font-weight:600}.log-legend-name{color:#c9d1d9}.log-meta{font-size:11px;color:#6e7681;margin-top:2px}.log-badge{flex-shrink:0;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.profile-header-card{display:flex;flex-direction:column;gap:8px}.profile-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.profile-username{font-size:26px;font-weight:700;color:#e6edf3;letter-spacing:-.5px;margin-bottom:4px}.profile-since{font-size:13px;color:#6e7681}.stats-bar{display:flex;gap:0}.stat-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 8px;border-right:1px solid #21262d}.stat-item:last-child{border-right:none}.stat-value{font-size:22px;font-weight:700;color:#e6edf3;letter-spacing:-.5px}.stat-label{font-size:11px;color:#6e7681;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.section-heading{font-size:13px;font-weight:700;color:#8b949e;text-transform:uppercase;letter-spacing:.06em;margin-bottom:16px}.top-legends-grid{display:flex;flex-direction:column;gap:2px}.legend-card{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid #21262d}.legend-card:last-child{border-bottom:none}.legend-card-img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #30363d;flex-shrink:0}.legend-card-body{flex:1;display:flex;align-items:center;gap:16px}.legend-card-name{font-size:14px;font-weight:600;color:#e6edf3;min-width:120px}.legend-card-wr{font-size:15px;font-weight:700;min-width:52px}.legend-card-record{font-size:12px;color:#6e7681}.recent-results-list{display:flex;flex-direction:column;gap:2px}.recent-item{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid #21262d}.recent-item:last-child{border-bottom:none}.recent-legends{position:relative;width:52px;height:32px;flex-shrink:0}.recent-legend-img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #0d1117;position:absolute;top:0}.recent-legend-img:first-child{left:0;z-index:2}.recent-legend-opp{left:14px;z-index:1}.recent-info{flex:1;display:flex;align-items:center;gap:12px;min-width:0}.recent-matchup{font-size:13px;color:#e6edf3;font-weight:500}.recent-vs{color:#6e7681;font-weight:400}.recent-format{font-size:12px;color:#6e7681}
