/* Общая система разделов v2. Цвета и шрифты связаны с tokens.css. */
.page-layout{max-width:1400px;margin:0 auto;padding:30px 35px 25px;min-width:0}
.top-nav .icon{display:none}
.rail-nav a>span{display:none}
.rail{overflow-y:auto}
.rail-nav{gap:7px}
.rail-logo{margin-bottom:15px;flex:none}
.rail-bottom{padding-top:20px}
.topbar{gap:28px}
.top-nav{gap:23px}
.top-actions{gap:12px}
.source-chip:empty{display:none}
.global-menu{display:none;position:relative}
.global-menu>summary{list-style:none;min-height:44px;min-width:44px;display:grid;place-items:center;cursor:pointer}
.global-menu>summary::-webkit-details-marker{display:none}
.global-menu>nav{position:absolute;right:0;top:53px;z-index:70;width:240px;padding:10px;background:var(--panel);border:1px solid var(--border);border-radius:5px;box-shadow:0 12px 40px oklch(5% 0 0 / .35)}
.global-menu nav a{display:flex;align-items:center;gap:15px;min-height:44px;padding:10px 13px;font-size:13px}
.global-menu nav a:hover{background:var(--soft);color:var(--fg)}
.global-menu nav a.active{background:var(--soft)}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:22px;margin:8px 0 27px}
.section-title .caps{margin-bottom:13px}
.section-title h1{font-size:43px}
.section-title p{font-size:13px;color:var(--muted);margin-top:13px;max-width:62ch}
.section-actions{flex:none}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.section-heading h2{font-size:22px;font-weight:550}
.subnav,.profile-tabs{display:flex;gap:25px;overflow-x:auto;max-width:100%;white-space:nowrap;border-bottom:1px solid var(--line);scrollbar-width:thin}
.subnav{margin:25px 0 22px}
.subnav button,.profile-tabs button{flex:none;min-height:46px;padding:0 0 12px;font-size:12px;color:var(--muted);position:relative}
.subnav button:hover,.profile-tabs button:hover{color:var(--fg)}
.subnav button[aria-pressed=true],.profile-tabs button[aria-selected=true]{color:var(--fg)}
.subnav button[aria-pressed=true]:after,.profile-tabs button[aria-selected=true]:after{content:'';position:absolute;height:2px;inset:auto 0 0;background:var(--fg)}
.toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:17px 21px}
.toolbar label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted)}
.toolbar .control{min-width:130px}
.grow{flex:1;min-width:150px}
.inline-controls{display:flex;gap:14px;align-items:center}
.segmented{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:0 21px}
.segmented button{min-height:44px;padding:8px 14px;border-radius:4px;font-size:11px;color:var(--muted)}
.segmented button[aria-pressed=true]{background:var(--soft);color:var(--fg);box-shadow:inset 0 0 0 1px var(--border)}
.segmented button:hover{background:var(--surface-hover);color:var(--fg)}
.toolbar .segmented{padding:0}
.inline-search{display:flex;gap:8px}
.advanced-filters{position:relative;color:var(--muted);font-size:11px;align-self:end}
.advanced-filters>summary{padding:12px 8px;min-height:44px;cursor:pointer}
.advanced-filters>div{position:absolute;z-index:30;top:46px;left:0;display:grid;gap:14px;min-width:220px;padding:18px;background:var(--panel);border:1px solid var(--border);border-radius:4px}
.scope-note,.panel-note{font-size:11px;color:var(--muted);line-height:1.7;max-width:85ch}
.scope-note{margin-top:14px}
.panel-note{padding:15px 21px}
.panel-note:empty{display:none}
.two-column{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.mini-stats{display:flex;flex-wrap:wrap;gap:32px;padding:18px 0 24px;font-size:11px;color:var(--muted)}
.mini-stats strong{font:28px var(--font-display);letter-spacing:-.015em;color:var(--fg);margin-right:7px;font-weight:400}
.freshness-bar{display:flex;align-items:center;gap:20px;font-size:10px;color:var(--muted);padding:0 0 12px;flex-wrap:wrap}
.freshness-bar>span{display:flex;gap:6px;align-items:center}
.freshness-bar strong{color:var(--fg);font-weight:400}
.freshness-bar>.btn{margin-left:auto;min-height:36px;font-size:10px}
.saved-report{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}
.saved-report .icon{width:13px;height:13px}
.data-details .saved-report{font-size:11px}
.region-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 22px;min-height:190px;text-align:center;gap:13px}
.region-state>.icon{width:26px;height:26px;color:var(--muted)}
.region-state h3{font-size:16px;font-weight:550}
.region-state p{font-size:12px;line-height:1.7;color:var(--muted);max-width:52ch}
.region-state .btn{margin-top:4px}
.data-table-wrap{overflow-x:auto;max-width:100%;scrollbar-width:thin}
.data-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.data-table th{font-size:10px;white-space:nowrap;font-weight:400;color:var(--muted);background:var(--panel);border-block:1px solid var(--line);padding:10px 15px;text-align:left}
.data-table th:has(button){padding-block:0}
.data-table th button{min-height:44px;padding:0;font-size:10px;white-space:nowrap;color:var(--muted)}
.data-table th button:hover{color:var(--fg)}
.data-table td{border-bottom:1px solid var(--line);padding:13px 15px;vertical-align:middle}
.data-table tbody tr:last-child td{border:0}
.data-table tbody tr:hover{background:var(--soft)}
.data-table .numeric{text-align:right;white-space:nowrap}
.data-table .numeric .impact-inline{min-width:95px;max-width:130px;margin-left:auto}
.entity-cell{display:flex;gap:12px;align-items:center;font-size:12px;text-align:left;min-width:130px}
.entity-cell>img{width:39px;height:43px;object-fit:contain;flex:none}
.entity-cell>span{overflow-wrap:anywhere}
.entity-cell small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.entity-cell small:empty{display:none}
a.entity-cell:hover{text-decoration:underline}
.cell-meter{height:3px;display:block;min-width:65px;max-width:110px;background:var(--bg);margin:7px 0 0 auto}
.cell-meter i{height:100%;display:block;background:var(--fg)}
.visual-bars{display:grid;gap:17px;padding:14px 0}
.visual-bar-row{display:grid;grid-template-columns:minmax(95px,180px) minmax(50px,1fr) 65px;gap:15px;align-items:center;font-size:12px}
.bar-label{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere}
.bar-label img{height:32px;width:32px;object-fit:contain}
.filled-track{height:6px;background:var(--bg);display:block}
.filled-track>span{height:100%;display:block}
.bar-value{text-align:right;font-size:11px}
.series-chart>svg{width:100%;height:auto;display:block;margin-top:10px;overflow:visible}
.series-chart svg text{font-family:var(--font-mono)}
.series-legend{display:flex;gap:13px 22px;flex-wrap:wrap;font-size:10px;margin-top:12px;color:var(--muted)}
.series-legend>span{display:flex;align-items:center;gap:7px}
.series-legend i{width:11px;height:3px;display:inline-block}
.series-legend small{font-size:9px;color:var(--muted)}
.chronology-portraits{display:flex;justify-content:space-around;gap:10px;padding:0 25px 23px}
.chronology-portraits>a{display:grid;justify-items:center;gap:7px;min-width:44px;min-height:44px;font:10px var(--font-mono);color:var(--muted)}
.chronology-portraits img{width:30px;height:30px;object-fit:contain}
.distribution-columns{height:210px;padding:20px 18px;display:flex;gap:6px;align-items:end;max-width:100%;overflow-x:auto}
.distribution-column{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;min-width:11px;height:100%}
.column-value{font:9px var(--font-mono);color:var(--muted);min-height:12px}
.distribution-stack{width:70%;min-height:1px;display:flex;flex-direction:column-reverse;background:var(--soft);max-width:30px}
.distribution-stack i{display:block;width:100%}
.distribution-label{font-size:9px;color:var(--muted)}
.calendar-panel{margin-top:22px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:0 22px 24px;max-width:700px;margin:0 auto}
.calendar-weekday{text-align:center;color:var(--muted);font-size:10px;padding:10px}
.calendar-day{min-height:66px;display:flex;flex-direction:column;gap:8px;padding:10px;text-align:left;border:1px solid var(--line);border-radius:3px;position:relative;background:var(--bg)}
.calendar-day>span:first-child{font:10px var(--font-mono);color:var(--muted)}
.calendar-day>strong{font:20px var(--font-display);align-self:end}
.calendar-day:not(.has-games)>i{position:absolute;width:5px;height:5px;border:1px solid var(--border);right:12px;bottom:12px}
.calendar-day.has-games{background:var(--soft);border-color:var(--border)}
.calendar-day:hover{background:var(--surface-hover);border-color:var(--muted)}
.calendar-portraits{display:flex;flex-wrap:wrap;gap:2px}
.calendar-portraits img{height:21px;width:21px;object-fit:contain}
.purchase-history{padding:0 21px 18px}
.history-purchase-row{display:grid;grid-template-columns:160px 70px minmax(0,1fr);gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}
.history-purchase-row .item-icon{width:37px;height:39px}
.history-purchase-row:last-child{border:0}
.player-picker{display:flex;gap:9px;overflow-x:auto;padding:3px 0 21px;max-width:100%;scrollbar-width:thin}
.player-picker button{min-width:74px;min-height:74px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;border:1px solid transparent;border-radius:4px;padding:8px}
.player-picker button img{height:34px;width:34px;object-fit:contain}
.player-picker button span{font-size:9px;white-space:nowrap}
.player-picker button:hover,.player-picker button[aria-pressed=true]{background:var(--soft);border-color:var(--border)}
.player-picker button[aria-pressed=true]{border-color:var(--fg)}
.graph-player-toggles{display:flex;gap:6px 10px;flex-wrap:wrap;padding:0 21px 15px}
.graph-player-toggles label{display:flex;align-items:center;gap:7px;font-size:10px;min-height:44px;cursor:pointer}
.graph-player-toggles img{width:25px;height:25px;object-fit:contain}
.graph-player-toggles input{accent-color:var(--fg)}
.phase-controls{padding:0 23px}
.phase-controls label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}
.phase-controls output{font-family:var(--font-mono);color:var(--fg)}
.phase-controls input[type=range]{width:100%;min-height:44px;accent-color:var(--fg)}
.phase-controls .timeline-axis{padding-inline:0}
.phase-summary{padding:20px 23px;border-block:1px solid var(--line);background:var(--panel)}
.phase-summary .mini-stats{padding-bottom:19px}
.phase-inventory{margin-top:13px}
.purchase-timeline{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px;padding:0 23px 23px}
.purchase-event{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:3px;min-width:0;background:var(--panel)}
.purchase-event>time{font:10px var(--font-mono);color:var(--muted);flex:none}
.purchase-event>.item-icon{flex:none}
.purchase-event>span{font-size:10px;overflow-wrap:anywhere}
.purchase-event small{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.purchase-event.future-purchase{opacity:.42}
.objective-panel{margin-top:24px}
.objective-timeline{display:flex;gap:12px;overflow-x:auto;padding:0 22px 22px}
.objective-event{flex:0 0 120px;border-top:1px solid var(--border);padding-top:15px;display:flex;align-items:start;flex-direction:column;gap:8px}
.objective-event i{font-size:20px;color:var(--muted);font-style:normal}
.objective-event strong{font:12px var(--font-mono)}
.objective-event>span{font-size:10px;color:var(--muted)}
.table-select{min-height:44px;text-align:left;padding:0}
.table-select:hover{text-decoration:underline}
.hero-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:18px;margin-top:24px}
.hero-catalog-card{background:var(--panel);border:1px solid var(--line);border-radius:5px;overflow:hidden;transition:transform .18s,border-color .18s}
.hero-catalog-card:hover{border-color:var(--muted);transform:translateY(-3px)}
.catalog-art{height:218px;background:var(--soft);overflow:hidden}
.catalog-art img{height:100%;width:100%;object-fit:cover;object-position:center 24%}
.hero-catalog-card:not(.has-card-art) .catalog-art{display:grid;place-items:center}
.hero-catalog-card:not(.has-card-art) .catalog-art img{object-fit:contain;max-height:155px;padding:20px}
.catalog-copy{padding:15px}
.catalog-copy h2{font-size:16px;line-height:1.25;margin-bottom:6px}
.catalog-copy>span{font-size:10px;color:var(--muted)}
.catalog-stat{margin-top:12px;display:flex;justify-content:space-between;align-items:end;gap:6px}
.catalog-stat strong{font:23px var(--font-display)}
.catalog-stat small{font-size:9px;color:var(--muted)}
.meta-spotlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:22px 0}
.meta-spotlight{display:flex;background:var(--panel);border:1px solid var(--line);border-radius:4px;overflow:hidden;min-height:145px;min-width:0}
.meta-spotlight>img{width:43%;object-fit:cover;object-position:center 22%}
.meta-spotlight>div{flex:1;padding:17px 12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.meta-spotlight h2{font-size:13px;overflow-wrap:anywhere}
.meta-spotlight strong{font:25px var(--font-display)}
.meta-spotlight small{font-size:9px;color:var(--muted)}
.meta-spotlight:hover{background:var(--soft);border-color:var(--muted)}
.hero-detail-banner{display:flex;gap:35px;align-items:center;margin-top:20px;background:var(--panel);border:1px solid var(--line);border-radius:5px;overflow:hidden;min-height:245px}
.hero-detail-art{height:245px;width:245px;flex:none;background:var(--soft)}
.hero-detail-art img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.hero-detail-banner h1{font-size:54px;margin:13px 0 23px}
.hero-detail-links{display:flex;gap:10px;flex-wrap:wrap}
.hero-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:35px;padding:5px 23px 30px}
.hero-metrics>div{min-width:0}
.hero-metrics>div>span{font-size:11px;color:var(--muted)}
.hero-metrics strong{display:block;font:36px var(--font-display);letter-spacing:-.02em;margin:10px 0 15px}
.hero-metrics small{font-size:10px;color:var(--muted)}
.matchup-preview{padding:0 23px 23px}
.matchup-teaser{border:1px solid var(--line);border-radius:4px;padding:19px}
.matchup-teaser h2{font-size:17px;margin-bottom:15px}
.matchup-teaser p{line-height:1.7}
.matchup-mini{display:flex;gap:10px;align-items:center;min-height:50px;font-size:11px;border-bottom:1px solid var(--line)}
.matchup-mini img{height:30px;width:30px;object-fit:contain}
.matchup-mini strong{margin-left:auto;font:12px var(--font-mono)}
.matchup-mini:hover{background:var(--soft)}
.leader-rank{font:25px var(--font-display);color:var(--muted)}
.leader-name{font-weight:550}
.leader-heroes{display:flex;gap:7px}
.leader-heroes a{display:block;width:49px;height:55px;border:1px solid var(--border);border-radius:3px;overflow:hidden}
.leader-heroes img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.search-page-panel{padding:27px}
.search-kind{padding:0;margin-bottom:24px}
.big-search{display:flex;gap:9px;align-items:stretch;min-height:58px}
.big-search input{min-width:0;flex:1;border:1px solid var(--control-border);border-radius:4px;background:var(--bg);color:var(--fg);padding:15px 18px;font-size:16px}
.big-search .btn{padding-inline:23px}
.search-page-panel .small{margin-top:13px}
.search-examples{display:flex;gap:15px;margin-top:18px}
.search-player-results{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:23px}
.search-player-card{display:flex;align-items:center;gap:20px;padding:20px}
.search-player-card>img{height:60px;width:60px;object-fit:cover;border-radius:4px}
.search-player-card>span>strong{display:block;font:25px var(--font-display)}
.search-player-card small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.search-player-card>.icon:last-child{margin-left:auto}
.search-player-card:hover{background:var(--soft);border-color:var(--muted)}
.search-match-result{margin-top:23px;padding:23px;display:flex;gap:25px;align-items:center}
.search-team-portraits{display:flex;gap:4px}
.search-team-portraits img{width:40px;height:55px;object-fit:cover;object-position:center 20%;border-radius:2px}
.search-match-result .btn{margin-left:auto}
.search-match-result h2{margin-bottom:7px}
/* Companion и Steam */
.account-slot{flex:none}
.steam-entry{font-size:11px;min-height:40px;background:var(--surface)}
.account-menu{position:relative}
.account-menu>summary{display:flex;align-items:center;gap:9px;min-height:44px;list-style:none;cursor:pointer;font-size:11px}
.account-menu summary::-webkit-details-marker{display:none}
.account-avatar{height:31px;width:31px;display:grid;place-items:center;border:1px solid var(--border);background:var(--soft);border-radius:3px;overflow:hidden}
.account-avatar img{height:100%;width:100%;object-fit:cover}
.account-menu>div{position:absolute;right:0;top:49px;z-index:65;min-width:190px;padding:8px;background:var(--panel);border:1px solid var(--border);border-radius:4px;box-shadow:0 8px 30px oklch(5% 0 0 / .3)}
.account-menu a,.account-menu button{display:block;min-height:44px;padding:12px;font-size:12px;width:100%;text-align:left}
.account-menu a:hover,.account-menu button:hover{background:var(--soft)}
.companion-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:35px;align-items:center;min-height:350px;margin-bottom:28px;padding:20px 0 15px}
.companion-copy .caps{font-size:10px;color:var(--muted);margin-bottom:20px}
.companion-copy h1{font-size:62px;line-height:1.07;letter-spacing:-.025em}
.companion-copy p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:18px}
.companion-copy .btn.quiet{padding-left:0;margin-top:13px}
.companion-art{display:flex;justify-content:center;align-items:center;gap:12px;min-width:0;position:relative;height:340px}
.companion-hero-card{height:300px;flex:1;max-width:175px;min-width:0;border:1px solid var(--border);border-radius:5px;overflow:hidden;position:relative;background:var(--soft);transition:transform .2s,border-color .2s}
.companion-hero-card>img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
.hero-art-0{transform:translateY(13px) rotate(-5deg)}
.hero-art-1{height:330px;z-index:2}
.hero-art-2{transform:translateY(13px) rotate(5deg)}
.companion-hero-card>span{position:absolute;left:9px;bottom:10px;right:9px;background:oklch(from var(--bg) l c h / .92);border:1px solid var(--border);padding:7px 9px;font-size:11px;border-radius:3px;text-align:center;box-shadow:0 3px 9px oklch(5% 0 0 / .25)}
.companion-hero-card:hover{transform:translateY(-6px);border-color:var(--fg)}
.home-search-section{background:var(--panel);padding:23px;border:1px solid var(--line);border-radius:6px;margin-bottom:32px}
.home-search-section label{display:block;font-size:15px;font-weight:550;margin-bottom:13px}
.home-search-section .big-search{background:var(--fg);border:1px solid var(--fg);border-radius:4px;padding:5px}
.home-search-section .big-search input{border:0;background:var(--fg);color:var(--bg);padding-left:12px}
.home-search-section .big-search input::placeholder{color:oklch(from var(--bg) calc(l + .27) c h)}
.home-search-section select{background:var(--fg);color:var(--bg);border:0;border-right:1px solid oklch(from var(--bg) l c h / .25);padding:0 13px;font-size:12px;min-height:44px}
.home-search-section input:focus-visible,.home-search-section select:focus-visible{outline-color:var(--bg);outline-offset:-4px}
.home-meta-section{margin-bottom:33px}
.home-meta-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.home-meta-hero{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);border-radius:4px;overflow:hidden;min-width:0}
.home-meta-hero>img{width:59px;height:81px;flex:none;object-fit:cover;object-position:center 20%}
.home-meta-hero>span{min-width:0;padding:10px 6px 10px 0}
.home-meta-hero strong{display:block;font-size:11px;font-weight:550;line-height:1.4}
.home-meta-hero small{display:block;font-size:9px;color:var(--muted);margin-top:7px;white-space:nowrap}
.home-meta-hero:hover{background:var(--soft);border-color:var(--muted)}
.home-meta-section .scope-note{font-size:10px}
.home-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px;align-items:start}
.home-shortcuts{display:grid;gap:19px;padding-top:59px}
.companion-shortcut{padding:22px;display:block;border:1px solid var(--line);border-radius:5px;background:var(--panel);overflow:hidden}
.companion-shortcut h2{font:26px var(--font-display);letter-spacing:-.015em;margin-top:12px}
.companion-shortcut p{font-size:12px;color:var(--muted);line-height:1.8;margin:15px 0 25px}
.companion-shortcut>span:last-child{display:block;font-size:11px;margin-top:15px}
.companion-shortcut:hover{border-color:var(--muted)}
.shortcut-portraits{display:flex;gap:7px;margin-top:20px}
.shortcut-portraits img{height:95px;width:calc((100% - 14px)/3);object-fit:cover;object-position:center 20%;border-radius:3px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:22px}
.home-lower-grid .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0;gap:18px}
.news-card{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:var(--panel);min-width:0;display:flex;flex-direction:column}
.news-card:hover{border-color:var(--border)}
.news-image{height:190px;overflow:hidden;display:block}
.news-image img{height:100%;width:100%;object-fit:cover}
.news-card-content{padding:22px;display:flex;flex-direction:column;flex:1;gap:14px}
.news-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}
.news-card h2{font:26px/1.18 var(--font-display);letter-spacing:-.015em;text-wrap:balance}
.news-card h2 a:hover{text-decoration:underline}
.news-card p{font-size:12px;line-height:1.8;color:var(--muted);max-width:60ch;overflow-wrap:anywhere}
.news-card-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:auto;padding-top:12px;font-size:10px;color:var(--muted)}
.news-card-foot a{font-size:11px;color:var(--fg);min-height:30px;display:flex;align-items:center}
.news-card-foot a:hover{text-decoration:underline}
.text-news .news-card-content{min-height:260px}
.text-news{border-top-color:var(--border)}
.news-skeleton{height:280px}
.home-personal-link{display:inline-flex;align-items:center;gap:11px;margin-top:18px;min-height:44px}
.home-personal-link>img{height:38px;width:38px;object-fit:cover;border-radius:3px}
.home-personal-link>span{font-size:13px}
.home-personal-link small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:600px;align-items:center;gap:65px;max-width:980px;margin:15px auto 30px}
.login-art{height:510px;overflow:hidden;position:relative;border:1px solid var(--border);border-radius:5px;background:var(--soft)}
.login-art>img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
.login-copy h1{font-size:51px;line-height:1.1;margin:18px 0;white-space:pre-line;letter-spacing:-.025em}
.login-copy>p{font-size:14px;line-height:1.8;color:var(--muted);max-width:45ch}
.login-copy #login-action{display:flex;flex-direction:column;gap:9px;align-items:stretch;margin-top:26px}
.login-copy .login-note{font-size:11px;margin-top:21px;line-height:1.8}
.login-cancelled{font-size:11px;color:var(--warn);margin-top:14px}
.source-chip:not(:empty){white-space:nowrap}
@media(max-width:1350px){.top-nav{gap:17px}
.topbar{gap:22px;padding-inline:24px}
.top-actions{gap:8px}
.top-nav a{font-size:11px}
.brand{font-size:16px}
.source-chip{display:none}
.home-meta-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-meta-hero>img{width:58px}
.companion-copy h1{font-size:56px}
.companion-art{height:315px}
.companion-hero-card{height:270px}
.hero-art-1{height:305px}
.companion-hero{gap:25px}
.meta-spotlight{min-height:132px}
.meta-spotlight>img{width:40%}
.meta-spotlight>div{padding:13px 10px}
.meta-spotlight h2{font-size:12px}
.meta-spotlight strong{font-size:22px}
}
@media(max-width:1120px){.top-nav{display:none}
.global-menu{display:block}
.topbar .top-actions{margin-left:auto}
.page-layout{padding:25px 24px}
.home-lower-grid{grid-template-columns:minmax(0,1fr) 245px;gap:20px}
.home-shortcuts{padding-top:58px}
.companion-shortcut{padding:19px}
.companion-shortcut h2{font-size:23px}
.hero-detail-art{width:205px;height:235px}
.hero-detail-banner{gap:25px;min-height:235px}
.hero-detail-banner h1{font-size:47px}
.meta-spotlights{grid-template-columns:1fr 1fr}
.meta-spotlight>img{width:38%;max-width:140px;height:150px}
.meta-spotlight>div{gap:8px;padding:17px}
.meta-spotlight h2{font-size:16px}
.meta-spotlight strong{font-size:27px}
.news-grid{grid-template-columns:1fr 1fr}
.news-card-content{padding:19px}
.home-lower-grid .news-grid{grid-template-columns:1fr}
.companion-copy h1{font-size:51px}
.login-layout{gap:40px}
.login-art{height:440px}
.login-copy h1{font-size:45px}
.hero-catalog{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.catalog-art{height:200px}
}
@media(max-width:850px){.companion-hero{grid-template-columns:1.05fr 1fr;min-height:300px;gap:22px}
.companion-copy h1{font-size:45px}
.companion-copy .caps{font-size:8px;margin-bottom:15px}
.companion-copy p{font-size:12px}
.companion-art{height:280px;gap:8px}
.companion-hero-card{height:225px;max-width:130px}
.hero-art-1{height:265px}
.companion-hero-card>span{font-size:9px;left:6px;right:6px;bottom:7px;padding:6px}
.companion-copy #home-personal .btn{font-size:10px}
.home-lower-grid{grid-template-columns:1fr}
.home-lower-grid .news-grid{grid-template-columns:1fr 1fr}
.home-shortcuts{padding:0;grid-template-columns:1fr 1fr}
.two-column{gap:17px}
.hero-detail-links .btn{font-size:10px}
.hero-detail-banner{gap:20px}
.hero-detail-art{width:185px;height:220px}
.hero-detail-banner h1{font-size:42px}
.hero-metrics{gap:20px}
.hero-metrics strong{font-size:31px}
.calendar-portraits img{width:18px;height:18px}
.purchase-history{padding-inline:16px}
.history-purchase-row{grid-template-columns:145px 55px minmax(0,1fr);gap:10px}
.big-search input{font-size:14px}
.big-search .btn{padding-inline:17px}
.login-layout{gap:28px;min-height:540px}
.login-art{height:410px}
.login-copy h1{font-size:40px}
.login-copy>p{font-size:12px}
.login-copy .login-note{font-size:10px}
.distribution-columns{gap:4px;padding-inline:13px}
.distribution-label{font-size:8px}
.phase-summary .mini-stats strong{font-size:24px}
.search-match-result{flex-wrap:wrap}
.search-player-results{grid-template-columns:1fr}
}
@media(max-width:600px){.page-layout{padding:22px 15px}
.topbar{padding:0 15px;gap:10px}
.brand{font-size:15px}
.brand span{font-size:8px}
.top-actions{gap:2px}
.topbar .global-menu summary{min-width:36px}
.steam-entry{font-size:10px;padding:7px 10px;min-height:40px}
.account-menu>summary>span:nth-child(2){display:none}
.account-menu>summary{gap:5px}
.account-avatar{height:30px;width:30px}
.topbar #global-search{display:none}
.global-menu nav .icon{display:block}
.global-menu>nav{right:-2px;width:240px}
.section-title{align-items:start;gap:15px;flex-wrap:wrap;margin-bottom:23px}
.section-title h1{font-size:37px}
.section-title p{font-size:12px}
.section-title .caps{font-size:9px}
.section-actions .btn{font-size:10px}
.profile-tabs,.subnav{gap:22px}
.profile-tabs button,.subnav button{font-size:11px}
.freshness-bar{font-size:9px;gap:8px 15px;padding-bottom:13px}
.freshness-bar>span{display:block;line-height:1.7}
.freshness-bar strong{display:block}
.freshness-bar>.btn{font-size:9px;min-height:44px;margin-left:auto}
.freshness-bar .saved-report{display:none}
.toolbar{padding:14px 15px;gap:9px}
.toolbar .control{min-width:115px}
.toolbar label{font-size:9px;flex:1}
.toolbar>.grow{min-width:140px}
.toolbar .btn{font-size:10px;min-height:44px}
.toolbar .segmented{flex-wrap:nowrap}
.segmented{padding:0 14px;gap:3px}
.segmented button{font-size:10px;padding:8px 11px}
.advanced-filters>div{left:auto;right:0}
.mini-stats{gap:15px;padding:12px 0 21px;justify-content:space-between}
.mini-stats strong{font-size:24px;display:block;margin:0 0 4px}
.mini-stats>span{font-size:9px}
.data-table{font-size:11px;min-width:540px}
.data-table th{font-size:9px}
.data-table th button{font-size:9px}
.data-table td{padding:12px 13px}
.data-table .btn{font-size:10px}
.data-table .entity-cell{font-size:11px}
.region-state{padding:30px 17px;min-height:180px}
.region-state h3{font-size:15px}
.region-state p{font-size:11px}
.two-column{grid-template-columns:1fr;gap:18px}
.panel-note,.scope-note{font-size:10px}
.panel-note{padding:13px 15px}
.calendar-panel .panel-heading{flex-wrap:wrap}
.calendar-grid{padding:0 15px 18px;gap:5px}
.calendar-weekday{font-size:9px;padding:6px}
.calendar-day{min-height:53px;padding:7px;gap:6px}
.calendar-day>strong{font-size:18px}
.calendar-day>span:first-child{font-size:9px}
.calendar-portraits{gap:1px}
.calendar-portraits img{height:14px;width:14px}
.chronology-portraits{gap:3px;padding-inline:12px}
.chronology-portraits>a{min-width:30px;min-height:44px;font-size:8px}
.chronology-portraits img{height:25px;width:25px}
.distribution-columns{height:200px}
.distribution-label{font-size:8px}
.visual-bar-row{grid-template-columns:95px minmax(35px,1fr) 49px;gap:10px;font-size:11px}
.bar-value{font-size:10px}
.series-legend{font-size:9px;gap:10px 15px}
.series-legend small{font-size:8px}
.history-purchase-row{grid-template-columns:1fr auto}
.history-purchase-row>.item-list{grid-column:1/-1;padding-left:0}
.history-purchase-row .entity-cell{min-width:0}
.history-purchase-row .item-icon{width:37px;height:39px}
.player-picker{gap:7px;padding-bottom:17px}
.player-picker button{min-width:67px;min-height:70px}
.phase-controls{padding-inline:16px}
.phase-summary{padding:17px 16px}
.phase-summary .mini-stats strong{font-size:23px}
.purchase-timeline{grid-template-columns:1fr;padding:0 16px 18px;gap:9px}
.purchase-event{padding:9px}
.objective-timeline{padding:0 16px 17px;gap:11px}
.objective-event{flex-basis:110px}
.graph-player-toggles{padding-inline:16px;gap:4px 12px}
.graph-player-toggles label{font-size:9px}
.graph-player-toggles img{width:23px;height:23px}
.match-tabs{gap:19px;overflow-x:auto;white-space:nowrap;max-width:100%}
.match-tabs button{flex:none;min-height:44px;font-size:10px}
.hero-catalog{grid-template-columns:1fr 1fr;gap:12px;margin-top:19px}
.catalog-art{height:200px}
.catalog-copy{padding:13px}
.catalog-copy h2{font-size:15px}
.catalog-copy>span{font-size:9px}
.hero-catalog-card:not(.has-card-art) .catalog-art img{max-height:135px}
.meta-spotlights{gap:10px;margin:18px 0}
.meta-spotlight{min-height:125px}
.meta-spotlight>img{height:auto;width:43%}
.meta-spotlight>div{padding:12px 9px;gap:7px}
.meta-spotlight .caps{font-size:7px}
.meta-spotlight h2{font-size:11px}
.meta-spotlight strong{font-size:23px}
.meta-spotlight small{font-size:8px}
.hero-detail-banner{gap:16px;min-height:190px;align-items:center}
.hero-detail-art{width:40%;height:200px}
.hero-detail-banner>div:last-child{padding:15px 10px 15px 0;min-width:0}
.hero-detail-banner h1{font-size:34px;margin:10px 0 14px;overflow-wrap:anywhere}
.hero-detail-banner .caps{font-size:8px}
.hero-detail-links{gap:5px}
.hero-detail-links .btn{font-size:9px;padding:7px 10px}
.hero-detail-links .btn.quiet{display:none}
.hero-metrics{gap:19px;padding:8px 16px 23px;grid-template-columns:1fr 1fr}
.hero-metrics>div:last-child{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-metrics strong{font-size:29px;margin:8px 0 12px}
.hero-metrics>div>span{font-size:10px}
.hero-metrics small{font-size:10px}
.matchup-preview{padding-inline:15px}
.matchup-teaser{padding:16px}
.leader-rank{font-size:24px}
.leader-heroes a{height:48px;width:40px}
.search-page-panel{padding:19px 16px}
.search-page-panel .big-search{display:grid;grid-template-columns:1fr}
.search-page-panel .big-search input{min-height:53px}
.search-examples{gap:9px;flex-wrap:wrap}
.search-examples .btn{font-size:10px}
.search-team-portraits img{width:36px;height:50px}
.search-team-portraits{gap:3px}
.search-match-result{padding:18px;gap:17px}
.search-match-result .btn{margin-left:0;font-size:11px}
.search-player-card{padding:17px;gap:15px}
.search-player-card>img{height:52px;width:52px}
.search-player-card>span>strong{font-size:23px}
.companion-hero{display:flex;flex-direction:column;align-items:stretch;padding-top:8px;gap:20px;margin-bottom:22px}
.companion-copy{position:relative;z-index:3}
.companion-copy h1{font-size:48px;line-height:1.05}
.companion-copy .caps{font-size:8px;letter-spacing:.08em;margin-bottom:15px}
.companion-copy p{font-size:12px;margin-top:14px;line-height:1.7}
.companion-copy .btn.quiet{font-size:10px;margin-top:9px}
.companion-art{height:237px;margin:0 15px;gap:11px}
.companion-hero-card{height:210px;max-width:none}
.hero-art-1{height:237px}
.hero-art-0,.hero-art-2{transform:translateY(8px) rotate(-4deg)}
.hero-art-2{transform:translateY(8px) rotate(4deg)}
.companion-hero-card>span{font-size:9px;padding:6px 4px}
.home-search-section{padding:17px 14px;margin-bottom:25px}
.home-search-section label{font-size:14px}
.home-search-section .big-search{display:grid;grid-template-columns:83px minmax(0,1fr);gap:0}
.home-search-section .big-search select{padding:5px 9px;font-size:11px}
.home-search-section .big-search input{width:100%;padding:12px 8px;font-size:12px;min-height:48px}
.home-search-section .big-search .btn{grid-column:1/-1;margin-top:5px;min-height:46px}
.section-heading{margin-bottom:13px}
.section-heading h2{font-size:19px}
.section-heading .btn{font-size:10px;padding-inline:5px}
.home-meta-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.home-meta-hero>img{height:75px;width:55px}
.home-meta-hero{gap:9px}
.home-meta-hero strong{font-size:10px}
.home-meta-hero small{font-size:8px}
.home-meta-section .scope-note{font-size:9px;line-height:1.7}
.home-meta-section{margin-bottom:25px}
.home-lower-grid .news-grid,.news-grid{grid-template-columns:1fr;gap:15px}
.news-card-content{padding:20px}
.news-card h2{font-size:26px}
.news-card p{font-size:12px}
.news-image{height:200px}
.text-news .news-card-content{min-height:240px}
.home-shortcuts{grid-template-columns:1fr}
.companion-shortcut h2{font-size:26px}
.shortcut-portraits img{height:120px}
.companion-shortcut p{font-size:12px}
.login-layout{display:flex;flex-direction:column;gap:26px;min-height:0;margin:3px auto 25px;max-width:420px}
.login-art{height:255px;width:100%}
.login-art>img{object-position:50% 24%}
.login-copy{padding:0 3px;width:100%}
.login-copy h1{font-size:41px}
.login-copy>p{font-size:13px}
.login-copy #login-action{margin-top:22px}
.login-copy .login-note{font-size:11px}
.freshness-bar .btn:disabled{opacity:.65}
.inline-search{flex-wrap:wrap}
}
@media(max-width:365px){.page-layout{padding-inline:12px}
.topbar{padding-inline:12px}
.brand{font-size:13px}
.steam-entry{font-size:9px;padding-inline:8px}
.account-menu>summary{min-width:35px}
.topbar .global-menu summary{min-width:34px}
.companion-copy h1{font-size:44px}
.companion-art{height:221px;margin-inline:10px;gap:8px}
.companion-hero-card{height:192px}
.hero-art-1{height:221px}
.home-meta-hero>img{width:49px;height:71px}
.home-meta-hero{gap:7px}
.home-meta-hero strong{font-size:9px}
.catalog-art{height:178px}
.hero-detail-banner h1{font-size:30px}
.calendar-grid{padding-inline:11px;gap:4px}
.calendar-day{min-height:49px;padding:6px}
.calendar-portraits img{height:12px;width:12px}
.chronology-portraits>a{min-width:25px}
.mini-stats{gap:12px}
.freshness-bar{gap:8px 11px}
.visual-bar-row{grid-template-columns:85px minmax(30px,1fr) 45px}
.match-tabs{gap:16px}
}
.result-chip.unknown{color:var(--muted);background:var(--soft);border-color:var(--border)}
.hero-crop.unknown:after,.result-strip .unknown{background:var(--muted)}
.brand{min-height:44px;display:flex;flex-direction:column;justify-content:center}
.steam-entry{min-height:44px}
.global-menu>summary{min-width:44px}
.account-menu>summary{min-width:44px}
.freshness-bar>.btn{min-height:44px}
.news-card-foot a{min-height:44px}
.hero-legend-row button{min-height:44px}
.details-body{overflow-wrap:anywhere}
@media(max-width:600px){.topbar .global-menu summary{min-width:44px}
.hero-legend-row button{min-height:44px}
.account-menu>summary{min-width:44px}
.calendar-day{min-height:55px}
.calendar-portraits img{width:13px;height:13px}
}
[data-tip]:before{display:none!important}
.floating-tooltip{position:fixed;z-index:120;max-width:min(230px,calc(100vw - 24px));padding:10px 12px;background:var(--fg);color:var(--bg);border-radius:4px;font:11px/1.55 var(--font-body);letter-spacing:0;pointer-events:none;box-shadow:0 4px 20px oklch(5% 0 0 / .3);overflow-wrap:anywhere}
.floating-tooltip[hidden]{display:none}
/* Уплотнённый профиль: визуальные карточки, история выше первого сгиба. */
.profile-layout{padding-top:18px}
.profile-layout .profile-identity{min-height:92px;gap:20px;margin-bottom:14px}
.profile-layout .avatar-wrap{width:86px;height:86px}
.profile-layout .identity-copy .caps{margin-bottom:5px}
.profile-layout .identity-copy h1{font-size:38px;margin-bottom:5px}
.profile-layout .freshness-bar{padding-bottom:4px;gap:12px}
.profile-layout .profile-tabs{margin-bottom:14px}
.profile-layout .profile-tabs button{min-height:44px;padding-bottom:8px}
.profile-layout .summary-grid{margin-bottom:16px;gap:14px}
.profile-layout .summary-card{padding:13px 18px}
.profile-layout .summary-title{margin-bottom:10px}
.profile-layout .summary-number{font-size:28px}
.profile-layout .summary-bottom{margin-top:7px}
.profile-layout .history-panel>.panel-heading{padding:13px 16px 8px}
.profile-layout .history-filters{padding:0 16px 8px}
.profile-layout .history-labels{display:none}
.profile-layout .history-rows{padding:0 10px 10px}
.history-card{border:1px solid var(--line);border-left:3px solid var(--loss);border-radius:0;background:var(--panel);margin-bottom:7px;min-width:0}
.history-card.win{border-left-color:var(--win)}
.history-card.unknown{border-left-color:var(--muted)}
.history-card-main{display:grid;grid-template-columns:80px minmax(92px,1fr) 100px minmax(100px,1fr) minmax(126px,192px);gap:12px;align-items:center;padding:9px 12px 4px}
.history-card-hero{display:block;min-width:0;font-size:11px;line-height:1.3}
.history-card-hero img{display:block;width:80px;height:50px;object-fit:cover;object-position:center 27%;filter:none;image-rendering:auto;border:1px solid var(--border)}
.history-card-hero span{display:block;margin-top:4px}
.history-card-result{display:grid;gap:5px;min-width:0;font-size:12px}
.history-card-result strong{font-weight:550;color:var(--loss)}
.history-card.win .history-card-result strong{color:var(--win)}
.history-card.unknown .history-card-result strong{color:var(--fg)}
.history-card-result small,.history-card-kda small,.history-card-impact small{display:block;font-size:10px;line-height:1.4;color:var(--muted)}
.history-card-kda .kda{font-size:18px;white-space:nowrap}
.history-card-kda small{margin-top:5px}
.history-card-impact{display:flex;align-items:center;gap:7px;min-width:0}
.history-card-impact .medal{width:28px;height:35px}
.history-card-impact>div{min-width:0;flex:1}
.history-card-impact .impact-inline{gap:5px}
.history-card-impact small{margin-top:5px}
.history-build-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;align-content:center}
.history-build-preview .item-icon{width:100%;height:32px;min-height:32px;padding:2px;border-radius:0;border-color:transparent}
.history-build-preview .item-icon img{width:28px;height:28px;max-width:100%;filter:none}
.history-build-preview>.small{grid-column:1/-1}
.history-card-details>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:10px;color:var(--muted);padding:0 12px 0 104px;list-style:none}
.history-card-details>summary::-webkit-details-marker{display:none}
.history-card-details>summary:hover{background:var(--soft);color:var(--fg)}
.history-card-details>summary .icon{width:14px;height:14px;transform:rotate(90deg)}
.history-card-details[open]>summary .icon{transform:rotate(-90deg)}
.history-expanded{border-top:1px solid var(--line);padding:10px 12px 14px}
.report-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.report-card-heading>span{display:flex;gap:6px;flex-wrap:wrap}
.report-pill{display:inline-block;padding:4px 7px;background:var(--soft);border:1px solid var(--border);font-size:10px;border-radius:14px}
.history-expanded-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.history-expanded h3{font:550 11px var(--font-body);margin-bottom:10px}
.history-expanded .item-icon{width:44px;height:44px;padding:3px}
.history-rosters{display:grid;gap:7px}
.history-roster-team{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
.history-roster-team a{min-height:44px;display:flex;align-items:center}
.history-roster-team img{width:100%;height:40px;object-fit:cover;object-position:center 27%;filter:none}
.build-wait{display:block;height:45px;grid-column:1/-1;background:var(--soft)}
.build-loading{padding:10px 0;font-size:12px;color:var(--muted)}
.unknown-item{display:grid;place-items:center;color:var(--muted);width:100%;height:100%;background:var(--soft)}
.unknown-item .icon{width:18px;height:18px}
.item-icon.image-failed{color:var(--muted)}
@media(min-width:1041px) and (max-width:1320px){.profile-layout .profile-columns{grid-template-columns:minmax(0,1fr) 240px;gap:16px}
.history-card-main{grid-template-columns:80px minmax(85px,1fr) 94px 100px minmax(126px,168px);gap:8px}
.history-build-preview .item-icon{height:29px}
}
@media(max-width:760px){.history-card-main{grid-template-columns:80px minmax(0,1fr) 90px;gap:9px}
.history-card-impact{grid-column:2;grid-row:2}
.history-build-preview{grid-column:1/-1;display:flex;flex-wrap:wrap;padding-top:3px}
.history-build-preview .item-icon{width:34px;height:34px}
.history-card-details>summary{padding-left:12px}
.history-expanded-grid{grid-template-columns:minmax(0,1fr)}
.profile-layout .summary-card{padding:12px}
.profile-layout .summary-number small{display:block;margin:5px 0 0}
.profile-layout .summary-title{gap:6px}
.profile-layout .summary-meta{font-size:10px}
}
@media(max-width:600px){.profile-layout{padding-top:12px}
.profile-layout .profile-identity{min-height:78px;gap:13px;margin-bottom:9px}
.profile-layout .avatar-wrap{width:72px;height:72px}
.profile-layout .identity-copy h1{font-size:32px}
.profile-layout .identity-foot{font-size:10px;gap:6px;flex-wrap:wrap}
.profile-layout .freshness-bar>span:nth-child(2){display:none}
.profile-layout .freshness-bar strong{display:inline}
.profile-layout .summary-bottom{font-size:9px;gap:6px}
.profile-layout .history-rows{padding-inline:6px}
.history-card-main{padding:8px 8px 0;grid-template-columns:80px minmax(0,1fr) 82px}
.history-card-kda .kda{font-size:16px}
.history-build-preview .item-icon{width:44px;height:44px}
.history-build-preview .item-icon img{width:36px;height:36px}
.report-card-heading{flex-wrap:wrap}
}

.profile-layout #profile-freshness{margin-top:16px}
.profile-layout .summary-bottom{display:none}
.profile-layout .summary-title{margin-bottom:9px}
.profile-layout .history-card-details>summary:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}

/* Item artwork is supplied as transparent game glyphs; backing colors follow its source asset folder. */
.item-icon:has(img[src*="/mods_tech/"]){background:#796092;border-color:#9f86b6}
.item-icon:has(img[src*="/mods_armor/"]){background:#739268;border-color:#9db793}
.item-icon:has(img[src*="/mods_weapon/"]){background:#aa7a40;border-color:#cda463}
.item-icon:has(img[src*="/mods_utility/"]){background:#527b86;border-color:#83adb7}
.item-icon:hover{box-shadow:inset 0 0 0 1px var(--fg)}
@media(min-width:1100px){.history-card-main{grid-template-columns:80px minmax(100px,1fr) 100px 96px minmax(180px,210px)}.history-build-preview .item-icon{height:32px}}
