/* Ivan review: shared visual language, with separate outcome and Impact colors. */
:root{--review-impact:linear-gradient(90deg,#778ba3,#b8a0ee);--review-line:var(--line,var(--border))}
.panel,.hc-root .hc-functions article,.hc-root .hc-match-example,.hc-root .hc-video-example,.hc-root .hc-premium-functions{border-radius:10px}
.site-topbar .top-actions{margin-left:auto}.site-topbar #account-slot{order:20}.site-topbar .site-mobile-menu{order:10}
.review-search{position:relative;width:clamp(150px,17vw,260px);margin:0}.review-search input{width:100%;min-height:42px;border:1px solid var(--review-line);border-radius:8px;background:var(--panel);color:var(--fg);padding:8px 12px;font:inherit;font-size:13px}.review-search-results{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 32px));background:var(--panel);border:1px solid var(--review-line);border-radius:10px;padding:6px;box-shadow:0 12px 30px #0006;z-index:120}.review-search-results a{display:flex;gap:10px;align-items:center;min-height:44px;padding:8px;border-radius:6px;text-decoration:none}.review-search-results a:hover,.review-search-results a:focus{background:var(--soft)}.review-search-results img{width:32px;height:32px;border-radius:50%}.review-search-results [role=status]{padding:12px;color:var(--muted)}
.hc-root .hc-steam-signin{gap:12px;min-height:52px;padding:12px 22px;background:var(--accent);color:var(--on-accent,var(--bg));border-radius:8px;font-weight:600}.hc-steam-signin svg{width:28px;height:28px;fill:currentColor;flex:none}.hc-root .hc-functions{gap:16px;margin-top:12px}.hc-root .hc-functions article{padding:22px;border:1px solid var(--review-line);background:var(--panel)}.hc-root .hc-functions a{text-decoration:underline}.hc-root .hc-functions a::after{content:'↗';margin-left:8px}.hc-root .hc-match-impact b{color:#b8a0ee}.hc-root .hc-hero-example>[data-hc-report]{order:-1}.hc-match-build,.hc-match-components{grid-column:1/-1;min-width:0}.hc-match-build{display:flex;flex-wrap:wrap;gap:5px}.hc-match-build .item-icon{width:32px;height:32px;min-width:32px}.hc-match-components{display:grid;gap:8px}.hc-match-components .component{white-space:normal}
body[data-page=profile] .profile-scope-controls{display:flex!important;flex-wrap:wrap;width:100%!important;gap:8px!important;z-index:6}.profile-scope-controls>.profile-filter{border:1px solid var(--review-line);border-radius:7px;background:var(--panel);min-width:0!important;flex:0 1 auto}.profile-scope-controls>.profile-filter-reset{border:1px solid var(--review-line);border-radius:7px}.profile-filter>summary{white-space:nowrap}.profile-filter-options{z-index:100}
#identity-mean-impact{display:flex;align-items:baseline;gap:10px;margin-top:8px;color:var(--muted);font-size:13px}#identity-mean-impact strong{font-size:20px;color:#b8a0ee}
body[data-page=profile] .profile-summary-card,body[data-page=profile] .profile-trends-panel,body[data-page=profile] .history-panel{border-radius:10px!important}.profile-summary-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:140px}.profile-count-track,.profile-win-track{margin-top:auto!important;margin-bottom:0!important;height:9px}.profile-metric-label{color:var(--muted);font-size:13px}.profile-wr-line{margin-bottom:12px}.profile-trends-panel>header{justify-content:space-between;flex-wrap:wrap}.profile-trends-panel h2{font-size:22px}.profile-trends-panel .segmented button{font-size:12px;padding-inline:8px;min-width:0}.profile-trends-panel{position:relative}.profile-trend-bars{overflow:visible;gap:2px}.profile-trend-bars>div{flex:1 1 0;min-width:0}.profile-trend-bars>div>a{min-width:0}.profile-trend-bars .history-mini-badges{left:50%;transform:translateX(-50%);width:auto}.profile-trend-bars:has(>div:nth-child(26)) .history-mini-badges{display:none}.trend-oi-bar i,.profile-row-oi em,.overview-meter.impact i{background:var(--review-impact)!important}.profile-row-oi b{color:#b8a0ee}.profile-trend-ring g[role=button]{cursor:pointer}.profile-trend-ring g[role=button]:hover path,.profile-trend-ring g[role=button]:focus path{stroke:var(--fg);stroke-width:2;filter:brightness(1.3)}.trend-tooltip{position:absolute;left:12px;right:12px;top:60px;z-index:8;border:1px solid var(--review-line);border-radius:8px;padding:12px;background:var(--panel);box-shadow:0 8px 24px #0005;font-size:12px;line-height:1.6;pointer-events:none}
body[data-page=profile] .profile-table-head,body[data-page=profile] .history-stratz.profile-dense-history .history-card-main{grid-template-columns:44px 44px 88px 34px minmax(120px,1fr) 100px!important;gap:8px!important;padding:10px!important;min-height:84px!important}body[data-page=profile] .profile-dense-history .history-card-hero{grid-column:1!important;grid-row:1!important}body[data-page=profile] .profile-dense-history .history-outcome-link{grid-column:2!important;grid-row:1!important}body[data-page=profile] .profile-dense-history .history-card-impact{grid-column:3!important;grid-row:1!important}body[data-page=profile] .profile-dense-history .history-mini-badges{grid-column:4!important;grid-row:1!important;justify-content:center!important}body[data-page=profile] .profile-dense-history .history-build-preview:not([hidden]){display:flex!important;grid-column:5!important;grid-row:1!important;flex-wrap:wrap!important;gap:3px!important;min-width:0;max-width:none}body[data-page=profile] .profile-dense-history .history-build-preview .item-icon{width:24px!important;height:24px!important;min-width:24px!important}body[data-page=profile] .profile-dense-history .history-match-date{grid-column:6!important;grid-row:1!important;white-space:normal!important;font-size:11px!important}body[data-page=profile] .profile-dense-history .history-card-kda,body[data-page=profile] .profile-dense-history .profile-row-moments{display:none!important}.profile-dense-history .history-card-main{cursor:pointer}.profile-dense-history .history-card-main:hover,.profile-dense-history .history-card-main:focus-visible{background:var(--soft);outline:1px solid var(--accent);outline-offset:-1px}.profile-row-oi>i{width:42px}.history-mini-badge.profile-award{position:relative;overflow:visible}.history-mini-badge.profile-award::after{white-space:normal;min-width:180px;max-width:240px}
.overview-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.overview-top-grid>.panel{min-width:0;padding:20px}.overview-top-grid h2,.overview-activity h2{font-size:22px;margin:0 0 16px}.overview-top-grid article{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--review-line)}.overview-top-identity{display:flex;gap:8px;align-items:center;min-width:0;text-decoration:none}.overview-top-identity>span{overflow-wrap:anywhere}.overview-top-identity img{width:32px;height:40px;object-fit:contain}.overview-top-identity small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.overview-top-grid article>div>span{display:flex;justify-content:space-between;font-size:11px;gap:5px}.overview-meter{display:block;height:6px;background:var(--review-line);border-radius:3px;overflow:hidden;margin-top:7px}.overview-meter i{display:block;height:100%}.overview-meter.wins i{background:var(--win)}.overview-activity{margin-top:20px;padding:20px}.overview-calendar{display:grid;grid-template-rows:repeat(7,1fr);grid-auto-flow:column;grid-template-columns:repeat(13,minmax(0,1fr));gap:4px}.overview-day{aspect-ratio:1;background:var(--soft);display:grid;place-items:center;border-radius:3px;min-width:0}.overview-day i{width:var(--day-size);height:var(--day-size);background:var(--muted);border-radius:2px}.overview-day.win i{background:var(--win)}.overview-day.loss i{background:var(--loss)}.overview-day.tie i{background:#d8bd76}.overview-day:hover,.overview-day:focus-visible{outline:1px solid var(--accent)}
.ivan-match-header{display:grid!important;grid-template-columns:32px minmax(0,1fr) 44px!important;gap:12px!important;padding:22px 0!important}.ivan-match-header .back-link{grid-column:1!important;grid-row:1!important}.ivan-match-header #match-actions{grid-column:3!important;grid-row:1!important}.ivan-match-header .ivan-match-score{grid-column:2!important;grid-row:1!important;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:20px;align-items:center;max-width:650px;width:100%;margin:auto}.ivan-match-side{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:14px}.ivan-team-mark{grid-row:1/3;display:flex;flex-direction:column;align-items:center;gap:8px}.ivan-team-mark .team-badge{font-size:0}.ivan-team-mark img{width:54px;height:54px}.ivan-match-side>strong{font:600 40px/1.1 var(--font-display,Oswald);white-space:nowrap}.ivan-match-side>small{font-size:12px;color:var(--muted)}.ivan-match-side.team-1{direction:rtl}.ivan-match-side.team-1>*{direction:ltr}.ivan-winner{font-size:11px;border-radius:14px;background:color-mix(in srgb,var(--win) 18%,transparent);color:var(--win);padding:3px 8px}.ivan-match-duration{color:var(--muted);font-size:18px}.ivan-match-meta{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;gap:16px;padding-top:14px;border-top:1px solid var(--review-line);font-size:12px;color:var(--muted)}.ivan-match-header .ivan-match-meta h1{font:inherit!important;margin:0!important}.scoreboard-table th,.scoreboard-table td{border-right:1px solid var(--review-line)}.scoreboard-table .scoreboard-items .item-list{display:grid;grid-template-columns:repeat(6,26px);gap:3px}.scoreboard-table .scoreboard-items .item-icon{width:26px;height:26px;min-width:26px}.scoreboard-player{cursor:pointer}.scoreboard-player:hover,.scoreboard-player:focus-visible{background:var(--soft);outline:1px solid var(--accent);outline-offset:-1px}.scoreboard-oi .match-award{display:inline-flex;padding:2px;margin:4px 0 0;font-size:0}.scoreboard-oi .match-award svg{width:16px;height:16px}.scoreboard-oi .match-award>span{font-size:14px}.scoreboard-review{padding:20px;white-space:normal;max-width:850px;margin:auto}.scoreboard-review h2{font-size:22px;margin-bottom:16px}.scoreboard-review .component{display:grid;grid-template-columns:minmax(120px,1fr) minmax(90px,2fr) 40px;gap:16px;align-items:center;margin:12px 0;white-space:normal}.scoreboard-review .component-tag{display:block}.scoreboard-review .impact-bar{display:block!important;min-width:0}.scoreboard-review .impact-bar>span{background:var(--review-impact)}
@media(max-width:1180px){.review-search{width:180px}.site-topbar{flex-wrap:wrap!important}.site-topbar .top-actions{flex:1;justify-content:flex-end}.site-topbar .brand{margin-right:auto}}
@media(max-width:900px){body[data-page=profile] .profile-scope-controls{display:grid!important;grid-template-columns:1fr 1fr 44px!important}.profile-scope-controls>.profile-filter{width:100%}.profile-scope-controls>.profile-filter-reset{grid-column:3;grid-row:1/3}.overview-top-grid{grid-template-columns:1fr}body[data-page=profile] .history-stratz.profile-dense-history .history-card-main{grid-template-columns:40px 36px 80px 30px minmax(0,1fr)!important;gap:6px!important;padding:10px 8px!important}body[data-page=profile] .profile-dense-history .history-build-preview:not([hidden]){grid-column:2/6!important;grid-row:2!important}body[data-page=profile] .profile-dense-history .history-match-date{grid-column:5!important;grid-row:1!important;font-size:10px!important}body[data-page=profile] .profile-dense-history .history-mini-badges{grid-column:4!important}.profile-table-head{display:none}.profile-trend-ring{max-width:330px}.overview-top-grid article{grid-template-columns:minmax(0,1fr) 78px 78px;gap:8px}.overview-top-grid>.panel{padding:16px}}
@media(max-width:700px){.review-search{width:160px}.site-topbar .top-actions{gap:6px}.ivan-match-header .ivan-match-score{gap:8px}.ivan-match-side{gap:5px;grid-template-columns:1fr;text-align:center}.ivan-team-mark{grid-row:auto;min-height:70px}.ivan-match-side.team-1{direction:ltr}.ivan-match-side>strong{font-size:28px}.ivan-match-side>small{font-size:11px}.ivan-match-duration{font-size:15px}.ivan-match-meta{gap:8px;flex-wrap:wrap}.ivan-team-mark img{width:42px;height:42px}.scoreboard-table{table-layout:auto!important;width:100%!important}.scoreboard-table th:first-child{width:auto}.scoreboard-table .scoreboard-items{display:table-cell!important}.scoreboard-table .scoreboard-items .item-list{grid-template-columns:repeat(3,22px)}.scoreboard-table .scoreboard-items .item-icon{width:22px;height:22px;min-width:22px}.scoreboard-table .scoreboard-oi{width:50px}.scoreboard-table .scoreboard-kills,.scoreboard-table .scoreboard-deaths,.scoreboard-table .scoreboard-assists{width:25px}.scoreboard-table th button{min-width:22px}.scoreboard-identity{gap:3px}.scoreboard-identity a{max-width:58px}.scoreboard-review{padding:12px 8px}.scoreboard-review .component{grid-template-columns:minmax(100px,1fr) minmax(60px,1fr) 24px;gap:8px;font-size:12px}.scoreboard-detail-row>td{padding:0!important}.hc-root .hc-hero h1{font-size:36px}}
@media(max-width:380px){.review-search{width:140px}.ivan-match-header{grid-template-columns:18px minmax(0,1fr) 30px!important}.ivan-match-side>strong{font-size:23px}.scoreboard-identity>.entity-portrait-link,.scoreboard-identity img{width:26px}.scoreboard-identity a{max-width:45px}.scoreboard-table{font-size:11px}.overview-top-grid article{grid-template-columns:minmax(0,1fr) 68px 68px}}
/* Keep the approved history columns authoritative over earlier compact layouts. */
body[data-page=profile] .history-stratz.profile-dense-history .history-build-preview:not([hidden]){grid-column:5!important;grid-row:1!important;display:flex!important;justify-content:flex-start;flex-wrap:wrap!important}
body[data-page=profile] .history-stratz.profile-dense-history .history-mini-badges{grid-column:4!important;grid-row:1!important}
body[data-page=profile] .profile-table-head>span:last-child{grid-column:6!important}
body[data-page=profile] .profile-columns{align-items:stretch!important}body[data-page=profile] #profile-trends{display:flex;flex-direction:column;gap:20px}.overview-activity{margin-top:auto}
.site-topbar .top-actions>a.icon-btn[aria-label]{display:none}
.profile-trend-bars:has(>div:nth-child(26)) .history-mini-badges{display:flex;justify-content:center;pointer-events:auto}.profile-trend-bars:has(>div:nth-child(26)) .profile-award{min-width:0!important;width:100%!important;max-width:8px;min-height:18px;padding:0!important;border:0}.profile-trend-bars:has(>div:nth-child(26)) .profile-award svg{width:6px!important}.profile-trend-bars:has(>div:nth-child(26)) .profile-award .history-team-star{font-size:7px}.profile-trend-bars .profile-award::after{left:auto;right:0;transform:none}
@media(max-width:900px){body[data-page=profile] .history-stratz.profile-dense-history .history-build-preview:not([hidden]){grid-column:2/6!important;grid-row:2!important}body[data-page=profile] .history-stratz.profile-dense-history .history-mini-badges{grid-column:4!important;grid-row:1!important}.overview-activity{margin-top:0}}
.profile-trend-bars:has(>div:nth-child(26)) .history-mini-badges{width:100%;min-width:0;left:0;transform:none;gap:0}
.profile-trend-bars:has(>div:nth-child(26)) .profile-award{flex:1 1 0!important;width:100%!important;max-width:100%!important;height:14px!important;min-height:14px!important;background:#d8bd76!important;border-radius:1px!important;font-size:0}.profile-trend-bars:has(>div:nth-child(26)) .profile-award svg,.profile-trend-bars:has(>div:nth-child(26)) .profile-award .history-team-star{display:none!important}
body[data-page=profile] #profile-trends{align-items:stretch!important;width:100%}body[data-page=profile] #profile-trends>.panel{width:100%;box-sizing:border-box}.scoreboard-oi .impact-bar>span{background:var(--review-impact)!important}.scoreboard-oi .number{color:#b8a0ee}
