.statistics-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:36px 0 26px}.statistics-heading h1{margin:12px 0}.statistics-heading p{color:var(--muted)}.statistics-filters{padding:20px;display:flex;align-items:end;gap:18px;flex-wrap:wrap}.statistics-main select,.statistics-main input:not([type=file]){border:1px solid var(--line);background:#11171b;color:var(--text);border-radius:8px;padding:11px 12px;min-height:43px}.statistics-main label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.statistics-filters label{min-width:165px}.statistics-filters>button{margin-left:auto;padding:12px 0}.statistics-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.statistics-summary article{padding:22px;display:flex;flex-direction:column;gap:8px}.statistics-summary article>span{font-size:12px;color:var(--muted)}.statistics-summary strong{font-size:30px;font-weight:650}.statistics-summary small{font-size:10px;color:var(--muted)}.statistics-sample-note{padding:18px 22px;border-color:#61553d;background:linear-gradient(120deg,#292a20,var(--panel))}.statistics-sample-note strong{color:var(--gold)}.statistics-sample-note p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:6px}.pair-selectors{display:flex;gap:18px;align-items:end;padding:20px;margin-bottom:18px}.pair-selectors label{flex:1}.pair-analysis-grid{display:grid;grid-template-columns:minmax(270px,.8fr) minmax(0,1.5fr);gap:18px}.pair-spotlight{padding:25px}.pair-heroes{display:flex;justify-content:space-between;gap:10px;align-items:center}.pair-heroes>div{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px}.pair-heroes .avatar{width:64px;height:80px}.pair-heroes>span{color:var(--muted);font-size:11px}.pair-result{display:flex;gap:20px;align-items:center;margin:30px 0 16px}.pair-result>strong{font-size:40px;color:var(--green);letter-spacing:-1px}.pair-result>div{display:flex;flex-direction:column;gap:7px;font-size:12px}.pair-result span{font-size:10px;color:var(--muted)}.pair-rate-bar{height:6px;background:#2c3539;border-radius:4px;overflow:hidden}.pair-rate-bar i{display:block;height:100%;background:var(--green)}.pair-extra{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:11px;color:var(--muted)}.pair-extra b{color:var(--text)}.pair-confidence{font-size:11px;color:var(--gold);line-height:1.8;margin-bottom:20px}.statistics-table-head{padding:20px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.statistics-table-head>div{flex:1;min-width:180px}.statistics-table-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.statistics-table-head select{font-size:11px;padding:8px}.statistics-table{min-width:640px}.statistics-table td:first-child{min-width:170px}.stats-hero-button{display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;padding:0}.stats-hero-button .avatar{width:29px;height:36px}.opponents-panel>.bars-note{padding:0 20px 20px}.sample-badge{background:#273329;color:var(--green);border:1px solid #405142;border-radius:5px;padding:5px 7px;font-size:10px;white-space:nowrap}.sample-badge.small-sample{color:var(--gold);background:#332d23;border-color:#5c513c}.counter-candidates{padding:22px;display:flex;gap:24px;align-items:center;margin:20px 0;flex-wrap:wrap}.counter-candidates>div{flex:1;min-width:230px}.counter-candidates h3{margin:8px 0}.counter-candidates p{font-size:12px;color:var(--muted);line-height:1.8;max-width:600px}.counter-candidate{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px;text-align:left}.counter-candidate>span{display:flex;flex-direction:column;gap:7px}.counter-candidate small{font-size:11px;color:var(--muted)}.matchup-matrix .bars-note{padding:0 20px}.matchup-matrix table{width:100%;border-collapse:collapse;min-width:850px}.matchup-matrix th,.matchup-matrix td{text-align:center;padding:8px;border:1px solid var(--line)}.matchup-matrix th{font-size:10px;min-width:80px}.matchup-matrix th:first-child{min-width:160px;text-align:left}.matchup-matrix th .avatar{width:28px;height:35px;margin:0 auto 5px}.matchup-matrix th small{font-size:9px}.matrix-cell{padding:7px;min-width:65px;border-radius:5px;background:#26382a;color:var(--green)}.matrix-cell.small-sample{background:#232c28}.matrix-cell strong,.matrix-cell small{display:block}.matrix-cell strong{font-size:11px}.matrix-cell small{font-size:9px;color:var(--muted);margin-top:4px}.saved-match-list{display:grid;gap:16px}.saved-match{padding:22px}.saved-match-heading{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.saved-match-heading>span{font-size:11px;color:var(--muted)}.saved-match-heading>a{margin-left:auto}.saved-match-team{display:flex;gap:20px;align-items:center;margin:14px 0}.saved-match-team>span{font-size:11px;min-width:75px}.saved-match-team>div{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;flex:1}.saved-match-team button{display:flex;gap:6px;align-items:center;flex-direction:column;min-width:0}.saved-match-team .avatar{width:38px;height:47px}.saved-match-team small{font-size:10px}.statistics-import-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.statistics-import{padding:24px;display:flex;flex-direction:column;gap:16px}.statistics-import h3{font-size:19px}.statistics-import p{font-size:12px;color:var(--muted);line-height:1.8}.statistics-file-label{border:1px dashed #657455;border-radius:10px;padding:24px;color:var(--green)!important;cursor:pointer;align-items:center;background:#1f2b21}.statistics-import input[type=file]{font-size:11px;color:var(--muted);max-width:100%}.import-status{padding:20px;margin-top:18px;font-size:12px;line-height:1.8;white-space:pre-wrap}.statistics-error{padding:20px;color:var(--red);font-size:12px}.statistics-error button{margin-left:12px}.empty-data{padding:25px!important;color:var(--muted);font-size:12px}.avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:#293235;border:1px solid var(--line);color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#next-matches,#first-matches{margin:18px 10px 0 0}.statistics-main .topbar{justify-content:space-between}@media(max-width:1100px){.pair-analysis-grid{grid-template-columns:1fr}.pair-spotlight{display:block}.pair-heroes{justify-content:start;gap:24px}.pair-result{margin:18px 0}.statistics-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.statistics-heading{align-items:start;flex-direction:column}.statistics-heading h1{font-size:34px}.statistics-heading p{font-size:12px}.statistics-filters{gap:12px}.statistics-filters label{flex:1;min-width:135px}.statistics-filters>button{margin-left:0}.statistics-summary{gap:10px}.statistics-summary article{padding:16px}.statistics-summary strong{font-size:27px}.statistics-import-grid{grid-template-columns:1fr}.pair-selectors{gap:10px;padding:15px}.pair-selectors label{min-width:0}.pair-selectors select{width:100%;font-size:12px}.saved-match{padding:17px}.saved-match-team{gap:10px;align-items:start}.saved-match-team>span{min-width:55px;font-size:10px}.saved-match-team>div{grid-template-columns:repeat(3,1fr);gap:12px}.saved-match-team small{font-size:9px}.saved-match-heading>a{margin-left:0}.pair-result>strong{font-size:36px}}

.statistics-filters{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.statistics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.statistics-filters{grid-template-columns:1fr}}

/* Matches catalogue. The existing shared stylesheet is retained above this block. */
.matches-main{max-width:1480px;padding-bottom:50px}.matches-heading{margin:36px 0 26px}.matches-heading h1{font-size:clamp(38px,4.1vw,58px);line-height:1.12;letter-spacing:-1.7px;margin:12px 0 14px;font-weight:600}.matches-heading>p{color:var(--muted);font-size:14px;line-height:1.8;margin:0}.matches-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 22px;padding:24px}.matches-filters label{display:grid;gap:8px;min-width:0;font-size:11px;color:var(--muted)}.matches-filters select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#111a1b;color:var(--text);font:inherit;font-size:12px;cursor:pointer}.matches-filter-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:1px}.matches-filter-actions .text-button{font-size:11px;min-height:30px}.matches-filter-actions .text-button:last-child{color:#a9bea3}.matches-status{min-height:29px;font-size:12px;line-height:1.7;color:var(--muted);padding:8px 0}.matches-status .text-button{font-size:12px;margin-left:10px;color:var(--green)}.matches-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:34px}.match-metric{min-width:0;min-height:145px;padding:23px 24px;display:flex;flex-direction:column;justify-content:flex-start;gap:13px;transition:border-color .15s}.match-metric-label{font-size:11px;line-height:1.55;color:var(--muted);display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.match-metric-number{font-size:38px;font-weight:550;line-height:1.1;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;color:var(--text)}.match-metric small{font-size:10px;line-height:1.7;color:var(--muted);margin-top:auto}.match-metric-eternus{border-color:#c1a96e50;background:linear-gradient(130deg,#bfa36c0b,transparent)}.match-metric-eternus .match-metric-number{color:#dcc68f}.match-leader:hover{border-color:#b4ce9555;background:#172320}.match-leader-body{display:flex;gap:14px;align-items:center;min-width:0}.match-leader-body>div{min-width:0;display:grid;gap:7px}.match-hero-avatar{width:56px;height:56px;flex:0 0 56px;object-fit:cover;object-position:center 20%;border-radius:10px;background:#263330;border:1px solid #c1df9a24}.match-avatar-empty{display:grid;place-items:center}.match-leader-name{font-size:19px;font-weight:550;line-height:1.3;overflow-wrap:anywhere}.match-leader-value{font-size:17px;font-weight:500;color:var(--green);line-height:1.35;font-variant-numeric:tabular-nums}.match-lookup{padding:30px 32px 32px;margin-bottom:42px;background:linear-gradient(120deg,#c1df9a0a,transparent 70%);border-color:#c1df9a35}.match-lookup h2{font-size:26px;font-weight:550;letter-spacing:-.5px;line-height:1.35;margin:10px 0 8px}.match-lookup>div>p{margin:0 0 24px;color:var(--muted);font-size:12px;line-height:1.8}.match-search-control{display:flex;align-items:center;gap:16px;padding:10px 10px 10px 23px;border:1px solid #a6c18d58;border-radius:12px;background:#101a18;box-shadow:0 4px 22px #00000012}.match-search-control:focus-within{border-color:#c1df9a;box-shadow:0 0 0 3px #c1df9a12}.match-search-hash{font-size:25px;color:#789574}.match-search-control input{font:inherit;min-width:0;width:100%;flex:1;background:transparent;color:var(--text);font-size:23px;line-height:1.5;border:0;outline:0;min-height:50px;letter-spacing:.25px}.match-search-control input::placeholder{color:#6f857a;font-size:19px}.match-search-control .button{min-height:50px;white-space:nowrap;justify-content:center;padding:14px 23px;font-size:13px;flex-shrink:0}.match-search-error{color:#f0ab9d;font-size:12px;line-height:1.7;margin:12px 0 0}.matches-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.matches-section-heading h2{font-size:29px;line-height:1.35;letter-spacing:-.65px;font-weight:550;margin:10px 0}.matches-section-heading p{font-size:12px;line-height:1.75;color:var(--muted);margin:0}.matches-refresh{font-size:12px;white-space:nowrap;min-height:40px}.matches-refresh:disabled{opacity:.5;cursor:progress}.eternus-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.eternus-match{min-width:0;padding:24px;overflow:hidden}.eternus-match-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.eternus-match-id{font-size:21px;font-weight:550;line-height:1.3;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.eternus-match-id>span{font-size:15px;color:var(--muted);margin-left:4px}.eternus-match-id:hover{color:var(--green)}.eternus-rank{font-size:10px;color:#e1ce9d;background:#bd9c4e10;border:1px solid #c1a96e3b;border-radius:100px;padding:6px 9px;white-space:nowrap}.eternus-match-meta{display:flex;flex-wrap:wrap;gap:7px 14px;color:var(--muted);font-size:10px;line-height:1.7;margin:14px 0 21px}.eternus-match-meta>span{padding-left:12px;border-left:1px solid #a6ba9b35}.eternus-match-teams{display:grid;gap:12px}.eternus-team{display:flex;align-items:center;gap:12px;min-width:0}.eternus-team>span{font-size:10px;width:66px;flex:0 0 66px}.eternus-team-heroes{display:flex;align-items:center;gap:7px;min-width:0}.eternus-team-heroes>a{display:block;width:36px;height:40px;border-radius:6px;overflow:hidden;flex:0 0 36px;transition:transform .15s}.eternus-team-heroes>a:hover{transform:translateY(-2px)}.eternus-hero-avatar{width:100%;height:100%;object-fit:cover;object-position:center 19%;background:#263330;border:1px solid #bdccab25;border-radius:6px}.eternus-match-open{display:flex;justify-content:space-between;align-items:center;padding-top:17px;margin-top:19px;border-top:1px solid var(--line);color:var(--green);font-size:11px}.eternus-match-open:hover{color:#d2e9b8}.matches-pagination{display:flex;flex-direction:column;align-items:center;gap:16px;padding-top:28px}.matches-pagination>span{font-size:11px;line-height:1.7;color:var(--muted)}.matches-pagination .button{min-width:200px;min-height:46px;justify-content:center}.matches-pagination .button:disabled{opacity:.55;cursor:progress}.matches-empty{padding:35px;text-align:center;color:var(--muted);font-size:13px;line-height:1.9}.matches-empty strong{font-size:17px;color:var(--text);font-weight:500}.matches-empty p{margin:9px auto 16px;max-width:500px}.matches-empty .text-button{font-size:12px;color:var(--green)}.matches-updated{font-size:10px;line-height:1.9;color:#809287;margin:25px 0 36px}.matches-main :is(a,button,select):focus-visible{outline:2px solid var(--green);outline-offset:4px}.matches-main .topbar .crumbs{display:flex;gap:10px;align-items:center}.matches-main .language-switch{margin-left:auto}.matches-method-dialog{max-width:640px;width:calc(100% - 32px);max-height:85vh;padding:28px;border:1px solid #c1df9a35;border-radius:15px;background:#14201c;color:var(--text);box-shadow:0 25px 100px #0008}.matches-method-dialog::backdrop{background:#050b08bf;backdrop-filter:blur(4px)}.matches-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.matches-dialog-head h2{font-size:23px;line-height:1.4;font-weight:550;margin:0}.matches-dialog-head button{font-size:25px;min-width:34px;min-height:34px}.matches-dialog-copy p{font-size:13px;line-height:1.9;color:#b2c1b2;margin:0 0 17px}.matches-dialog-copy a{font-size:12px;color:var(--green)}
@media(min-width:1500px){.match-metric-number{font-size:43px}.match-leader-name{font-size:22px}.eternus-team-heroes>a{width:42px;height:46px;flex-basis:42px}}
@media(max-width:1150px){.match-metric{padding:20px}.match-leader-name{font-size:17px}.match-leader-body{gap:11px}.match-hero-avatar{width:48px;height:48px;flex-basis:48px}.eternus-match{padding:20px}.eternus-team{gap:8px}.eternus-team>span{width:58px;flex-basis:58px}.eternus-team-heroes{gap:5px}.eternus-team-heroes>a{width:31px;height:36px;flex-basis:31px}.eternus-match-id{font-size:19px}}
@media(max-width:950px){.eternus-match-grid{grid-template-columns:1fr}.eternus-team-heroes>a{width:40px;height:44px;flex-basis:40px}.eternus-team-heroes{gap:8px}.eternus-team>span{width:70px;flex-basis:70px}.matches-metrics{gap:12px}.match-metric{padding:18px 16px}.match-metric-number{font-size:32px}.match-leader-body{gap:9px}.match-hero-avatar{width:42px;height:48px;flex-basis:42px}.match-leader-name{font-size:16px}.match-leader-value{font-size:15px}}
@media(max-width:760px){.matches-main .topbar{gap:13px}.matches-heading{margin:27px 0 23px}.matches-heading h1{font-size:43px}.matches-filters{padding:19px;gap:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.matches-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:27px}.match-metric{min-height:143px;padding:20px}.match-metric-number{font-size:36px}.match-leader-name{font-size:18px}.match-hero-avatar{width:48px;height:54px;flex-basis:48px}.match-lookup{padding:25px;margin-bottom:32px}.match-lookup h2{font-size:25px}.match-search-control{gap:10px;padding-left:16px}.match-search-control input{font-size:21px}.match-search-control input::placeholder{font-size:16px}.match-search-control .button{font-size:12px;padding:12px 17px}.matches-section-heading{gap:12px}.matches-section-heading h2{font-size:27px}.matches-section-heading p{font-size:11px}.eternus-match{padding:23px}}
@media(max-width:480px){.matches-heading>p{font-size:13px;max-width:320px}.matches-filters{padding:16px;gap:15px 12px}.matches-filter-actions{align-items:flex-start;flex-direction:column;gap:1px}.matches-filter-actions .text-button{min-height:32px}.matches-metrics{gap:10px}.match-metric{padding:17px 15px;min-height:146px;gap:12px}.match-metric-label{font-size:10px;line-height:1.6}.match-metric-number{font-size:31px}.match-metric small{font-size:9px}.match-leader-body{gap:9px;align-items:flex-start}.match-hero-avatar{width:37px;height:45px;flex-basis:37px;border-radius:7px}.match-leader-name{font-size:15px;line-height:1.35}.match-leader-value{font-size:14px;line-height:1.55}.match-leader-body>div{gap:5px}.match-lookup{padding:21px 17px}.match-lookup h2{font-size:23px}.match-lookup>div>p{font-size:11px;margin-bottom:20px}.match-search-control{flex-wrap:wrap;padding:8px 10px 10px;gap:5px 8px;border-radius:10px}.match-search-hash{padding-left:5px;font-size:22px}.match-search-control input{font-size:21px;min-height:49px}.match-search-control input::placeholder{font-size:16px}.match-search-control .button{width:100%;min-height:45px;font-size:12px}.matches-section-heading{align-items:flex-start}.matches-section-heading h2{font-size:25px}.matches-refresh{font-size:11px;padding-top:24px}.matches-section-heading p{max-width:255px}.eternus-match{padding:19px}.eternus-match-id{font-size:20px}.eternus-rank{font-size:9px;padding:5px 8px}.eternus-match-meta{font-size:9px;gap:5px 9px;margin:12px 0 19px}.eternus-match-meta>span{padding-left:9px}.eternus-team>span{width:58px;flex-basis:58px;font-size:9px}.eternus-team-heroes{gap:5px}.eternus-team-heroes>a{width:30px;height:36px;flex-basis:30px}.eternus-team{gap:7px}.matches-empty{padding:25px 20px}.matches-method-dialog{padding:22px}.matches-dialog-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.match-metric,.eternus-team-heroes>a{transition:none}}
