/* Shared visual system. Component geometry and data states live in desktop.css. */
:root {
  --canvas: #111315;
  --surface: #181b1e;
  --surface-raised: #202428;
  --line: #2b3034;
  --text: #ecece8;
  --muted: #a1a7aa;
  --accent: #ad89e5;
  --accent-soft: #d6bdf7;
  --content-width: 1600px;
  --page-gutter: 48px;
  --accent-hover: #c1a1ef;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
body { min-width: 320px; background: var(--canvas); }
body > main { width: 100%; max-width: calc(var(--content-width) + 2 * var(--page-gutter)); min-height: calc(100vh - 270px); padding: 36px var(--page-gutter) 72px; background: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, input:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p { color: var(--muted); }
h1, h2, h3, h4 { color: var(--text); }
h2 { font-weight: 600; letter-spacing: -.6px; }
h3 { font-weight: 600; }
.muted, .empty { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }
.page-heading { min-height: 100px; margin: 0 0 26px; padding: 12px 0 24px; border-bottom: 1px solid var(--line); justify-content: space-between; }
.page-heading h2 { margin-top: 10px; font-size: 34px; letter-spacing: -1px; }
.page-heading > .muted { font-size: 12px; }
.panel { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); box-shadow: none; }
.section-heading { gap: 14px; margin-bottom: 18px; }
.section-heading h2, .section-heading h3 { font-size: 18px; font-weight: 600; letter-spacing: -.35px; }
.section-heading > .muted { font-size: 11px; }
/* Navigation stays simple; the artwork provides the color. */
.announcement-bar { position: relative; min-height: 32px; padding: 8px 48px; border: 0; border-bottom: 1px solid var(--line); color: #a8acaa; background: #1c201f; font-size: 11px; font-weight: 400; box-shadow: none; }
.announcement-bar::after { display: none; }
.announcement-bar strong { color: #d6d8cf; font-weight: 600; text-shadow: none; }
.announcement-separator { margin: 0 14px; color: #616961; }
.announcement-bar a { margin-left: 20px; color: var(--accent-soft); text-decoration: none; }
.announcement-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
button.announcement-close { border: 0 !important; background: transparent !important; color: var(--muted) !important; box-shadow: none; }
.app-shell { min-height: 0; }
.sidebar { position: relative; z-index: 30; height: 76px; min-height: 76px; gap: 40px; padding: 0 max(var(--page-gutter), calc((100% - var(--content-width)) / 2)); border: 0; border-bottom: 1px solid var(--line); background: #141719; box-shadow: none; }
.brand { width: auto; flex: 0 0 auto; gap: 9px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 0; filter: none; box-shadow: none; }
.brand > span { color: var(--text); font-size: 25px; font-weight: 650; letter-spacing: -1px; text-shadow: none; }
.brand .brand-period { display: inline; color: var(--accent); font-size: inherit; letter-spacing: inherit; }
.main-nav { flex: 1; gap: 4px; }
.nav-item { padding: 0 12px; gap: 6px; color: #9da4a8; font-size: 13px; font-weight: 500; border: 0; border-radius: 0; background: transparent; }
.nav-item:hover, .nav-item.active { color: var(--text); background: transparent; text-shadow: none; box-shadow: none; }
.nav-item::before { display: none; }
.nav-item::after { right: 12px; left: 12px; bottom: 0; height: 2px; border-radius: 0; background: var(--accent); transform: none; box-shadow: none; }
.nav-item:hover::after, .nav-item.active::after { height: 2px; background: var(--accent); transform: none; box-shadow: none; }
.nav-item:hover:not(.active)::after { opacity: .4; }
.chevron { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sub-nav { display: flex; top: 100%; width: 200px; padding: 6px; border: 1px solid var(--line); border-radius: 0 0 4px 4px; background: #1b1f22; box-shadow: 0 12px 24px #0004; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.nav-group:hover > .sub-nav, .nav-group:focus-within > .sub-nav { display: flex; visibility: visible; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; transition-delay: 0s; }
.sub-nav-item { min-height: 42px; padding: 10px 12px; border: 0; border-radius: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }
.sub-nav-item:hover, .sub-nav-item.active { color: var(--text); background: var(--surface-raised); }
.header-actions { gap: 12px; }
.header-actions .patch-chip { padding: 0; border: 0; background: none; color: #8e969b; font-size: 9px; letter-spacing: .5px; white-space: nowrap; }
.patch-chip strong { color: #c6cdc6; font-size: 11px; }
.header-actions button.discord-button { width: 28px; min-height: 34px !important; padding: 0 !important; justify-content: center; background: transparent !important; border: 0 !important; box-shadow: none; }
.discord-button span { display: none; }
.header-actions button.discord-button { width: 42px; min-height: 40px !important; }
.header-actions .discord-button img { width: 25px; height: 25px; }
.download-button { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 12px 0 8px; border: 1px solid #3f4244; border-radius: 5px; color: #f1f2f1; background: #303335; font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.download-button img { width: 30px; height: 30px; object-fit: contain; }
.download-button .download-arrow { color: #cfd0cf; font-size: 17px; line-height: 1; }
.download-button:hover, .download-button:focus-visible { border-color: #a3a4a3; background: #3e4143; transform: translateY(-1px); }
.download-showcase { position: relative; min-height: calc(100vh - 108px); overflow: hidden; background: transparent; }
.download-backdrop { position: absolute; inset: 0; overflow: hidden; background: #111315; }
.download-backdrop-art { position: absolute; inset: -5%; background: url('../../assets/artwork/esports-lineup.webp') center / cover no-repeat; opacity: .62; animation: download-backdrop-drift 18s ease-in-out infinite alternate; }
.download-backdrop-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 12, .62), rgba(8, 10, 12, .74) 48%, rgba(8, 10, 12, .84)), linear-gradient(180deg, rgba(8, 10, 12, .28), rgba(8, 10, 12, .72)); pointer-events: none; }
.download-cta { position: absolute; top: 50%; left: clamp(24px, 7vw, 108px); display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 92px; padding: 12px 18px; border: 1px solid #3f4244; border-radius: 7px; color: #f1f2f1; background: #303335; font-size: 17px; font-weight: 700; text-align: center; text-decoration: none; transform: translateY(-50%); transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.download-cta img { width: 56px; height: 56px; object-fit: contain; }
.download-cta-copy { display: grid; gap: 2px; text-align: left; }
.download-cta-copy strong { font-size: 19px; font-weight: 700; line-height: 1.15; }
.download-cta-copy small { color: #b9bcba; font-size: 13px; font-weight: 500; letter-spacing: .2px; }
.download-cta b { color: #cfd0cf; font-size: 24px; font-weight: 400; line-height: 1; }
.download-cta:hover, .download-cta:focus-visible { border-color: #a3a4a3; background: #3e4143; transform: translateY(calc(-50% - 2px)); }
.header-actions button#account-button { min-height: 40px; padding: 0 14px; gap: 9px; border: 1px solid #3f4244; color: #f1f2f1; background: #303335; font-size: 12px; font-weight: 600; box-shadow: none; }
.header-actions button#account-button:hover { border-color: #a3a4a3; background: #3e4143; box-shadow: none; }
.sidebar::after { background: var(--accent); }
/* Inputs and actions. */
input, select, textarea, .account-dialog input { min-width: 0; border: 1px solid #3a4146; border-radius: 3px; color: var(--text); background: #111416; }
input::placeholder, textarea::placeholder { color: #838b90; }
input:focus, select:focus, textarea:focus, .account-dialog input:focus { border-color: var(--accent); box-shadow: none; }
button:not(.nav-item):not(.sub-nav-item):not(.brand) { border-radius: 3px; background: var(--accent); color: #171513; font-weight: 600; }
button:not(.nav-item):not(.sub-nav-item):not(.brand):hover { background: var(--accent-hover); }
.ghost-button, a.ghost-button, button.ghost-button { border-color: #3a4146 !important; border-radius: 3px !important; color: #d4d8da !important; background: transparent !important; font-weight: 500; }
.ghost-button:hover { border-color: #768087 !important; background: #252a2e !important; }
.action-link { border-color: #495057; color: var(--accent-soft); border-radius: 3px; }
.action-link:hover { background: #ffffff08; }
.online-dot, .live-label i { background: #90ba91; box-shadow: none; }
/* Homepage: an image-led introduction, followed by unobstructed data. */
body[data-page="home"] > main { display: grid; grid-template-columns: minmax(var(--page-gutter), 1fr) minmax(0, var(--content-width)) minmax(var(--page-gutter), 1fr); max-width: none; padding: 0 0 72px; }
body[data-page="home"] > main > * { grid-column: 2; min-width: 0; }
body[data-page="home"] > main > .home-hero { grid-column: 1 / -1; }
.home-hero { position: relative; isolation: isolate; min-height: clamp(500px, 31vw, 720px); margin: 0; padding: 58px max(var(--page-gutter), calc((100% - var(--content-width)) / 2)) 84px; overflow: hidden; background: var(--canvas); border: 0; }
.home-artwork { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 15%; opacity: 1; }
/* Center the artwork and fade only vertically; both horizontal edges receive identical treatment. */
.home-hero::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(0deg, var(--canvas) 0%, #111315ee 8%, #11131566 25%, #11131500 50%), linear-gradient(#11131526, #11131526); pointer-events: none; }
.home-hero-content { width: min(100%, 515px); }
.hero-kicker { color: var(--accent-soft); font-size: 10px; font-weight: 600; letter-spacing: 2.4px; }
.home-dota-logo { width: .94em; height: .94em; margin: 0 0 0 .08em; vertical-align: -.12em; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); }
.home-hero h1 { margin: 18px 0 14px; font-size: clamp(46px, 4.8vw, 66px); font-weight: 550; letter-spacing: -2.8px; line-height: 1.02; }
.hero-description { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: #aab0b1; }
.home-hero .search-panel { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
.search-panel > label { margin-bottom: 8px; color: #d9dcda; font-size: 12px; font-weight: 500; }
.home-hero .search-row { gap: 0; min-height: 48px; padding: 4px; border: 1px solid #495052; border-radius: 4px; background: #171b1deb; }
.home-hero .search-row input { width: 100%; padding: 8px 11px; border: 0; background: transparent; font-size: 12px; }
.home-hero .search-row:focus-within { border-color: var(--accent); }
.home-hero .search-row input:focus-visible { outline-offset: -3px; }
.home-hero #load-player { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; min-height: 38px; padding: 0 17px; font-size: 12px; }
#load-player svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-hero #status { margin: 9px 0 0; min-height: 18px; color: #8e979a; font-size: 11px; }
.home-hero .player-results { max-height: 250px; margin-top: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 3px; background: #1a1e21; }
.hero-explore { position: absolute; right: max(var(--page-gutter), calc((100% - var(--content-width)) / 2)); bottom: 62px; display: flex; align-items: center; gap: 24px; padding-bottom: 7px; border-bottom: 1px solid #ffffff45; color: #d5d2c8; font-size: 12px; text-decoration: none; }
.hero-explore:hover { color: #fff; border-color: var(--accent); }
.home-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.home-shortcuts a { display: flex; align-items: center; gap: 15px; padding: 22px 18px; color: #ced1cf; font-size: 12px; text-decoration: none; }
.home-shortcuts a:first-child { padding-left: 0; }
.home-shortcuts a:last-child { padding-right: 0; }
.home-shortcuts a > span:first-child { color: #7b8387; font-size: 10px; font-variant-numeric: tabular-nums; }
.home-shortcuts a > span:last-child { margin-left: auto; color: #8b9293; }
.home-shortcuts a:hover { color: var(--accent-hover); background: #ffffff03; }
.home-intro { margin: 40px 0 22px; align-items: end; }
.home-intro h2 { margin-top: 9px; font-size: 27px; font-weight: 550; letter-spacing: -.7px; }
.home-intro > .muted { font-size: 11px; }
.stats-grid { border-color: var(--line); border-radius: 3px; }
.stat { border-color: var(--line); background: transparent; }
.stat strong { color: var(--text); font-weight: 550; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); }
.pulse-totals { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.pulse-totals .stat { min-height: 100px; padding: 20px 26px; border-right: 1px solid var(--line); }
.pulse-totals .stat:first-child { padding-left: 0; }
.pulse-totals .stat:last-child { border-right: 0; }
.pulse-totals .stat strong { font-size: 28px; letter-spacing: -.8px; }
.pulse-totals .stat span { margin-top: 7px; font-size: 11px; }
.pulse-grid { gap: 36px 40px; margin-top: 36px; }
.pulse-grid > .panel { padding: 0; border: 0; border-radius: 0; background: none; }
.pulse-grid .section-heading { min-height: 38px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pulse-row { grid-template-columns: 22px 40px minmax(0, 1fr) 98px; min-height: 53px; gap: 12px; border-bottom-color: #272c2f !important; font-weight: 400; }
a.pulse-row:hover { background: #ffffff04 !important; }
.pulse-rank { color: #818a8e; }
.pulse-row img { width: 40px; height: 32px; border-radius: 2px; background: transparent; }
.pulse-main { gap: 7px; }
.pulse-main strong, .pulse-row.compact strong { color: #dfe2df; font-weight: 500; }
.pulse-value b { color: #d8dcda; font-weight: 500; }
.pulse-value small { color: #929c9e; }
.trend-bar { height: 3px; border-radius: 0; background: #262d30; }
.trend-bar i, .count-row .trend-bar i { background: #9582b3; border-radius: 0; }
.pulse-main .trend-bar { max-width: 170px; height: 2px; }
.pulse-pro { gap: 24px; padding-top: 14px; }
.pulse-pro h4 { border-color: var(--line); color: #a1a7aa; font-weight: 500; font-size: 10px; }
.pulse-row.compact { min-height: 48px; }
.pulse-live > span { color: var(--muted); }
.pulse-live strong span { color: #e0d6c5; background: #292d2c; }
.pulse-live-panel { margin-top: 0; }
/* Roster and hero detail. Cards keep the original hover: they grow over their neighbours and reveal the name. */
.hero-browser-toolbar { border-color: var(--line); gap: 12px; padding-bottom: 18px; }
.hero-filter-group { padding: 3px; border-color: var(--line); border-radius: 3px; background: #111416; }
.hero-filter { color: #a9b0b3 !important; background: transparent !important; font-weight: 500 !important; }
.hero-filter:hover, .hero-filter.active { color: var(--accent-soft) !important; background: #30283d !important; }
.hero-search input { height: 34px; }
.hero-toolbar-label { color: #909b9e; font-size: 9px; font-weight: 500; }
.hero-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.hero-card { border-radius: 3px !important; }
.hero-card-name { font-size: 10px; font-weight: 600; letter-spacing: .4px; }
.attribute-orb { box-shadow: none; }
.hero-group-heading { border-color: var(--line); }
/* Hero banner and profile header: the hero art / the player avatar is a soft backdrop - heavily blurred, kept in colour but
   toned down, so the text and portrait stay the focus. */
.hero-banner, .profile-header { position: relative; isolation: isolate; overflow: hidden; background: #111416; }
.hero-banner::before, .profile-header::before { position: absolute; inset: -48px; z-index: 0; background: var(--hero-art, var(--profile-art, none)) center 22% / cover no-repeat; filter: blur(14px) saturate(1.15); opacity: .6; content: ''; backdrop-filter: none; }
.hero-banner::after, .profile-header::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #111416e0, #11141699 50%, #11141659), linear-gradient(180deg, #11141626, #11141680); content: ''; pointer-events: none; }
.hero-banner > *, .profile-header > * { position: relative; z-index: 1; }
.profile-header.empty::before, .profile-header.is-loading::before { display: none; }
.hero-banner-inner { min-height: 210px; padding: 28px; }
.hero-portrait { border-radius: 3px; box-shadow: none; }
.hero-attr-strip { border-color: var(--line); background: #15191b; }
.hero-attr { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: none; }
/* Secondary pages: a full-width artwork header. The picture is painted on a pseudo-element that fades in from the solid
   title area and softens again at the right edge, so nothing ends abruptly; each page family has its own motif. */
body:is([data-page="esports"], [data-page="leaderboard"], [data-page="pro-players"], [data-page="teams"], [data-page="players"], [data-page="heroes"], [data-page="meta"], [data-page="trends"], [data-page="lfg"], [data-page="skills-builds"]) .page-heading { position: relative; isolation: isolate; overflow: hidden; min-height: 190px; padding: 30px 32px; border: 1px solid var(--line); border-radius: 3px; background: #15191b; }
body:is([data-page="esports"], [data-page="leaderboard"], [data-page="pro-players"], [data-page="teams"], [data-page="players"], [data-page="heroes"], [data-page="meta"], [data-page="trends"], [data-page="lfg"], [data-page="skills-builds"]) .page-heading > * { position: relative; z-index: 1; }
body:is([data-page="esports"], [data-page="leaderboard"], [data-page="pro-players"], [data-page="teams"], [data-page="players"], [data-page="heroes"], [data-page="meta"], [data-page="trends"], [data-page="lfg"], [data-page="skills-builds"]) .page-heading::before { position: absolute; inset: 0; z-index: 0; background: var(--artwork) var(--artwork-position, center) / var(--artwork-size, cover) no-repeat; content: ''; -webkit-mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .55) 34%, #000 58%, #000 88%, rgba(0, 0, 0, .35) 100%); mask-image: linear-gradient(90deg, transparent 8%, rgba(0, 0, 0, .55) 34%, #000 58%, #000 88%, rgba(0, 0, 0, .35) 100%); }
body:is([data-page="esports"], [data-page="leaderboard"], [data-page="pro-players"], [data-page="teams"], [data-page="players"], [data-page="heroes"], [data-page="meta"], [data-page="trends"], [data-page="lfg"], [data-page="skills-builds"]) .page-heading::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(21, 25, 27, .35), transparent 30%, transparent 70%, rgba(21, 25, 27, .45)); content: ''; pointer-events: none; }
body:is([data-page="esports"], [data-page="leaderboard"], [data-page="pro-players"], [data-page="teams"], [data-page="players"], [data-page="heroes"], [data-page="meta"], [data-page="trends"], [data-page="lfg"], [data-page="skills-builds"]) .page-heading > .muted { padding: 4px 8px; border-radius: 3px; background: rgba(21, 25, 27, .72); }
body[data-page="heroes"] .page-heading { --artwork: url('../../assets/artwork/heroes-lineup.webp'); --artwork-position: right top; }
body[data-page="meta"] .page-heading { --artwork: url('../../assets/artwork/meta-banner.webp'); --artwork-position: center 36%; }
body[data-page="trends"] .page-heading { --artwork: url('../../assets/artwork/trends-lineup.webp'); --artwork-position: right top; }
body[data-page="skills-builds"] .page-heading { --artwork: url('../../assets/artwork/skills-lineup.webp'); --artwork-position: right top; }
body[data-page="esports"] .page-heading { --artwork: url('../../assets/artwork/arena.jpg'); --artwork-position: center 38%; }
body[data-page="leaderboard"] .page-heading { --artwork: url('../../assets/artwork/leaderboard-lineup.webp'); --artwork-position: right top; }
body:is([data-page="pro-players"], [data-page="teams"], [data-page="players"]) .page-heading { --artwork: url('../../assets/artwork/esports-lineup.webp'); --artwork-position: right top; }
body[data-page="lfg"] .page-heading { --artwork: url('../../assets/artwork/aegis.webp'); --artwork-position: center 45%; }
.meta-summary-grid { border-color: var(--line); border-radius: 3px; background: #15191b; }
.meta-summary-card { border-color: var(--line); background: transparent; padding: 22px; }
.meta-row .meta-hero { display: flex; align-items: center; gap: 10px; min-width: 0; }
.meta-row .meta-hero-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 4px; object-fit: cover; background: #1b1d1f; }
.meta-row .meta-hero strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-row:focus-visible { position: relative; z-index: 1; }
.patch-hero { min-height: 280px; padding: 28px; background: linear-gradient(0deg, #15191b, #15191bb0), url('../../assets/artwork/heroes.webp') 58% 25% / cover; }
.patch-hero h3 { margin-top: 18px; font-size: 30px; font-weight: 500; }
.meta-row { min-height: 56px; border-color: var(--line); }
.meta-summary-grid:has(.meta-sort-summary) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.meta-sort-summary { cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.meta-sort-summary:hover, .meta-sort-summary:focus-visible { border-color: #53595a; background: #1d2123; outline: none; }
.meta-sort-summary #meta-sort { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #f2f3f2; font-size: 22px; font-weight: 650; }
.meta-sort-summary #meta-sort span { color: #bcc1be; font-size: 16px; }
.meta-roles-panel { margin-bottom: 14px; }
.meta-role-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.meta-role-column { min-width: 0; padding: 15px 10px 6px; border-right: 1px solid var(--line); }
.meta-role-column:first-child { padding-left: 0; }
.meta-role-column:last-child { padding-right: 0; border-right: 0; }
.meta-role-heading { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px 12px; color: #e9eae9; font-size: 13px; font-weight: 700; }
.meta-role-heading img { width: 25px; height: 25px; object-fit: contain; opacity: .9; }
.meta-role-list { display: flex; flex-direction: column; }
.meta-role-row { display: grid; grid-template-columns: 20px 36px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 51px; padding: 6px 4px; border-bottom: 1px solid var(--line); color: #eff0ef; text-decoration: none; }
.meta-role-row:hover { background: rgba(255, 255, 255, .05); }
.meta-role-rank { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.meta-role-row img { width: 36px; height: 36px; border-radius: 3px; object-fit: cover; background: #1b1d1f; }
.meta-role-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; }
.meta-role-rate { color: #b7e3c2; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.meta-row { font-size: 13px; }
.meta-row .meta-hero strong { font-size: 14px; }
@media (max-width: 1100px) { .meta-role-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } .meta-role-column:nth-child(3) { border-right: 0; } .meta-role-column:nth-child(n + 4) { border-top: 1px solid var(--line); } .meta-role-column:nth-child(4) { padding-left: 0; } }
@media (max-width: 680px) { .meta-summary-grid:has(.meta-sort-summary), .meta-role-columns { grid-template-columns: 1fr; } .meta-role-column, .meta-role-column:nth-child(3) { padding-left: 0; padding-right: 0; border-right: 0; border-top: 1px solid var(--line); } .meta-role-column:first-child { border-top: 0; } }
.profile-header { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(360px, 470px); width: 100%; padding: 28px; border-color: var(--line); }
.profile-avatar.large { border-radius: 4px; }
.profile-name-row h2 { font-weight: 550; letter-spacing: -.8px; }
.profile-rank-badge { min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.profile-rank-badge .rank-hero img { width: 100px; height: 100px; }
.profile-rank-badge .rank-hero strong { font-size: 20px; }
.profile-rank-badge .rank-hero small { font-size: 13px; }
.profile-layout { grid-template-columns: 320px minmax(0, 1fr); width: 100%; }
.profile-main, .profile-side { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.profile-main { container-type: inline-size; container-name: profile-content; }
.profile-side .panel, .profile-main .panel { width: 100%; min-width: 0; padding: 20px; }
.profile-rank-badge .wl-row { grid-template-columns: 76px 78px minmax(0, 1fr) 36px; gap: 8px; font-size: 12px; }
.profile-rank-badge .wl-row b { font-size: 12px; }
.profile-meta { overflow-wrap: anywhere; }
.match-history-heading, .match-filters { flex-wrap: wrap; }
.match-hero-picker { max-width: 100%; }
.recent-summary { grid-template-columns: 96px minmax(0, 1fr) auto; }
.mh-list { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.profile-side h3, .profile-main h3 { font-size: 15px; }
.mh-list { gap: 1px; }
a.mh-row, button.mh-row { border-radius: 2px !important; box-shadow: none; }
.match-filters button { font-weight: 500; }
.match-filters button.active, .match-filters button:hover { border-color: var(--accent) !important; color: var(--accent-soft) !important; background: #ad89e514 !important; }
.chip { border-color: #3f494b; color: #c6cccc; background: #ffffff05; font-size: 10px; font-weight: 500; }
.mv-timeline .plot-surface { fill: #151a1d; }
.mv-timeline g[filter] { filter: none; }
.leaderboard-table { width: 100%; overflow-x: auto; }
.leaderboard-table:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Account and community pages share the same form surfaces. */
.account-dialog { border-color: #424a4f; border-radius: 5px; color: var(--text); background: #1b1f22; box-shadow: 0 24px 80px #0008; }
.account-dialog::backdrop { background: #080b0dcc; backdrop-filter: blur(3px); }
.account-dialog p, .account-dialog .account-note { color: var(--muted); }
.account-symbol { border: 0; border-radius: 0; color: #d9dfda; background: transparent; }
.account-dialog button.steam-login { background: var(--accent); color: #17131e; }
.account-dialog button.steam-login:hover { background: var(--accent-hover); }
.account-dialog button.account-close, .account-dialog button.account-logout { background: transparent; color: var(--muted); }
.account-dialog button.account-secondary { border-color: #424a4f; background: #272e32; color: var(--text); }
.account-live-toggle input { accent-color: var(--accent); }
/* Account entry: mirrors the filled Get Overseer action and uses the shared white key PNG. */
.header-actions button#account-button {
  min-height: 40px;
  padding: 0 14px;
  gap: 9px;
  border: 1px solid #3f4244;
  border-radius: 5px;
  color: #f1f2f1;
  background: #303335;
  font-size: 12px;
  font-weight: 600;
}
.header-actions button#account-button:hover,
.header-actions button#account-button:focus-visible {
  border-color: #a3a4a3;
  background: #3e4143;
}
.account-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  padding: 32px;
  border: 1px solid #424a4f;
  border-radius: 7px;
  background: #1b1f22;
}
.account-dialog h2 {
  display: block;
  min-height: 0;
  margin: 12px 28px 12px 0;
}
.account-dialog button.account-close {
  top: 12px;
  right: 12px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 18px;
}
.account-dialog button.account-close {
  color: var(--accent) !important;
  background: transparent !important;
  box-shadow: none;
}
.account-dialog button.account-close:hover,
.account-dialog button.account-close:focus-visible {
  color: #c9aeff !important;
  background: transparent !important;
}
.account-dialog .account-auth-intro { margin: 0 0 18px; line-height: 1.5; }
.account-auth-options { display: grid; gap: 9px; }
.account-dialog button.account-auth-option, .account-dialog button.steam-login { display: flex; align-items: center; width: 100%; min-height: 54px; padding: 9px 12px; border: 1px solid #424a4f; border-radius: 6px; color: #edf0ee; background: #303335; text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.account-dialog button.account-auth-option:not(:disabled):hover, .account-dialog button.account-auth-option:not(:disabled):focus-visible { border-color: #a3a4a3; background: #303537; transform: translateY(-1px); }
.account-dialog button.steam-login:hover, .account-dialog button.steam-login:focus-visible { border-color: #a3a4a3; background: #3e4143; transform: translateY(-1px); }
.account-dialog button.account-auth-option:disabled { cursor: not-allowed; border-color: #424a4f; color: #c7cdca; background: #303335; opacity: .8; }
.account-auth-copy { display: grid; gap: 3px; min-width: 0; }
.account-auth-copy b { color: inherit; font-size: 13px; font-weight: 700; }
.account-auth-copy small { color: #aeb4b1; font-size: 11px; font-weight: 400; }
.account-auth-arrow { margin-left: auto; color: #d5dad7; font-size: 18px; }
.google-mark { display: block; width: 28px; height: 28px; flex: 0 0 28px; margin: 0 12px 0 5px; object-fit: contain; }
.account-auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: #858d8a; font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.account-auth-divider::before, .account-auth-divider::after { height: 1px; flex: 1; content: ''; background: #383e40; }
.account-dialog button.steam-login { justify-content: space-between; margin: 0 0 10px; }
.account-provider-options { display: grid; gap: 8px; }
.account-dialog button.account-provider { min-height: 48px; margin: 0; }
.account-dialog button.account-provider .google-mark { display: grid; place-items: center; box-sizing: border-box; width: 22px; height: 22px; flex: 0 0 22px; margin: 0; padding: 3px; border-radius: 50%; background: #fff; filter: none; }
.google-mark svg { display: block; width: 100%; height: 100%; }
.account-dialog:has(#account-guest:not([hidden])) { padding-top: 26px; padding-bottom: 24px; }
.account-dialog:has(#account-guest:not([hidden])) h2 { margin-top: 9px; margin-bottom: 8px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-intro { margin-bottom: 14px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-divider { margin: 12px 0 9px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-form { gap: 6px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-form label { margin-top: 5px; }
.account-dialog:has(#account-guest:not([hidden])) button.account-submit { margin-top: 9px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-switch { margin-top: 13px; }
.account-dialog:has(#account-guest:not([hidden])) .account-auth-note { margin-top: 12px; }
/* Standalone Overseer credentials: a familiar, quiet register/login form. */
.account-dialog .account-auth-form { display: grid; gap: 8px; margin: 0; }
.account-dialog .account-auth-form label { margin: 7px 0 0; color: #d7dcda; font-size: 11px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.account-dialog .account-auth-form input { min-height: 42px; padding: 10px 12px; border-color: #424a4f; border-radius: 4px; font-size: 13px; }
.account-dialog .account-auth-form input::placeholder { color: #77807d; }
.account-dialog button.account-submit { display: block; justify-content: initial; min-height: 46px; margin: 12px 0 0; border-color: #c4c8c5; border-radius: 4px; background: #acadac; color: #191b1d; font-size: 13px; font-weight: 700; text-align: center; }
.account-dialog button.account-submit:hover, .account-dialog button.account-submit:focus-visible { border-color: #f4f5f4; background: #c5c7c5; transform: none; }
.account-auth-switch { margin: 18px 0 0; color: #aeb4b1 !important; font-size: 12px !important; text-align: center; }
.account-dialog button.account-text-button { min-height: auto; padding: 0; border: 0; border-radius: 0; color: var(--accent) !important; background: transparent !important; font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; box-shadow: none; }
.account-dialog button.account-text-button:hover, .account-dialog button.account-text-button:focus-visible { color: #c9aeff !important; background: transparent !important; }
.account-dialog #account-login-form .account-text-button { justify-self: start; margin-top: 4px; }
.account-dialog .account-auth-note { margin: 18px 0 0; color: #858d8a; font-size: 11px; line-height: 1.45; text-align: center; }
.lfg-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 24px; }
.lfg-locked { min-height: 300px; padding: 40px; text-align: center; }
.lfg-locked > img { width: 32px; height: 32px; margin-bottom: 14px; opacity: .6; }
.lfg-locked p { max-width: 570px; margin: 15px auto 24px; }
.lfg-locked .steam-login { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; }
.lfg-field, .lfg-contact { display: block; margin: 20px 0; }
.lfg-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.lfg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lfg-form select, .lfg-form textarea, .lfg-filters select { display: block; width: 100%; min-height: 36px; margin-top: 7px; padding: 8px; }
.lfg-roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.lfg-roles button.lfg-role { min-width: 0; min-height: 60px; padding: 5px 2px; border: 1px solid var(--line); background: #111416; color: var(--muted); font-size: 9px; }
.lfg-role img { display: block; width: 24px; height: 24px; margin: 0 auto 6px; object-fit: contain; }
.lfg-roles button[aria-pressed="true"], .lfg-segmented button[aria-pressed="true"] { border-color: var(--accent); background: #30283d; color: var(--accent-soft); }
.lfg-segmented { display: flex; gap: 5px; }
.lfg-segmented button { flex: 1; padding: 0 6px !important; border: 1px solid var(--line) !important; background: #111416 !important; color: #d2d7d7 !important; font-size: 11px; }
.lfg-segmented button[aria-pressed="true"] { border-color: var(--accent) !important; }
.lfg-field small { float: right; color: var(--muted); font-weight: 400; }
.lfg-check { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.lfg-check input { flex: none; accent-color: var(--accent); }
.lfg-contact-line { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.lfg-contact-line img { width: 18px; height: 18px; object-fit: contain; }
.lfg-inline-link { padding: 0 !important; color: var(--accent-hover) !important; background: transparent !important; font-size: 11px; }
.lfg-form-actions { display: flex; gap: 8px; }
.lfg-list-heading { flex-wrap: wrap; }
.lfg-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lfg-filters label { font-size: 10px; }
.lfg-post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lfg-post-player { display: flex; gap: 10px; align-items: start; text-decoration: none; }
.lfg-post-player > img { width: 40px; height: 40px; border-radius: 3px; }
.lfg-post-player strong { font-size: 13px; }
.lfg-post-player small { display: flex; align-items: center; color: var(--muted); font-size: 10px; }
.lfg-post-player small img { width: 30px; height: 30px; object-fit: contain; }
.lfg-post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 10px; }
.lfg-post-roles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.lfg-post-roles > span { display: flex; align-items: center; gap: 6px; }
.lfg-post-roles img { width: 23px; height: 23px; object-fit: contain; }
.lfg-post-roles small { color: var(--muted); font-size: 10px; }
.lfg-post-message { font-size: 13px; overflow-wrap: anywhere; }
.lfg-post-actions { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
.lfg-post-actions > small { margin-right: auto; color: var(--muted); }
.lfg-form-message { font-size: 12px; }
.site-footer { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--content-width); padding: 28px 0 32px; border-color: var(--line); color: #90989c; }
.site-footer > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.site-footer .footer-brand { font-size: 20px; font-weight: 600; letter-spacing: -.7px; color: #d9dcda; }
.site-footer small { flex-basis: 100%; font-size: 10px; color: #828b90; }
.site-footer nav { align-items: flex-start; font-size: 11px; }
.site-footer a { color: #a1a9ae; }
.site-footer a:hover { color: var(--text); }
/* Responsive navigation has its own row, leaving the content free to shrink. */
@media (max-width: 1200px) {
  :root { --page-gutter: 28px; }
  .sidebar { padding: 0 28px; gap: 24px; }
  .nav-item { padding: 0 9px; }
  .header-actions .patch-chip { display: none; }
  .site-footer { margin: 0 auto; }
  .pulse-totals .stat { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 1150px) { .profile-header { grid-template-columns: 80px minmax(0, 1fr); } .profile-avatar.large { width: 80px; height: 80px; } .profile-rank-badge { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 140px; } .profile-layout { grid-template-columns: minmax(0, 1fr); } .profile-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1050px) {
  :root { --page-gutter: 28px; }
  .sidebar { height: auto; min-height: 108px; flex-wrap: wrap; gap: 0 20px; padding: 0 28px; }
  .brand { height: 60px; }
  .brand > span { display: inline; }
  .header-actions { order: 1; }
  .main-nav { order: 2; flex: 0 0 100%; height: 48px; justify-content: space-between; gap: 0; }
  .main-nav > .nav-item, .nav-group > .nav-item { min-height: 48px; padding: 0 14px; }
  .header-actions .account-label-short { display: inline; }
  body > main { padding-left: 28px; padding-right: 28px; }

  .home-artwork { object-position: center top; }

  .pulse-totals { grid-template-columns: repeat(5, 1fr); }
  .pulse-totals .stat { border-bottom: 0; }
  .pulse-totals .stat strong { font-size: 24px; }
  .pulse-grid { gap: 32px 24px; }
  .pulse-pro { grid-template-columns: 1fr; gap: 22px; }
  .lfg-layout { grid-template-columns: 1fr; }
  .site-footer { margin: 0 28px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 20px; }
  body > main { padding: 22px 20px 48px; }
  .sidebar { padding: 0 20px; }
  .brand > span { font-size: 23px; }
  .brand img { width: 30px; height: 30px; }
  .main-nav > .nav-item, .nav-group > .nav-item { padding: 0 8px; font-size: 12px; }
  .main-nav .chevron { display: none; }
  .header-actions { gap: 10px; }
  .home-hero { min-height: 490px; padding: 34px var(--page-gutter) 48px; }
  .home-hero-content { width: min(100%, 460px); }
  .home-artwork { object-position: center top; opacity: .85; }
  .home-hero::after { background: linear-gradient(0deg, var(--canvas) 0%, #111315d9 12%, transparent 60%), linear-gradient(#11131599, #11131599); }
  .home-hero h1 { font-size: 55px; }
  .hero-description { font-size: 14px; }
  .hero-explore { position: static; width: fit-content; margin-top: 20px; font-size: 11px; }
  .home-shortcuts { grid-template-columns: 1fr 1fr; }
  .home-shortcuts a { padding: 17px 10px; font-size: 11px; }
  .home-shortcuts a:nth-child(odd) { padding-left: 0; }
  .home-shortcuts a:nth-child(even) { padding-right: 0; }
  .home-intro { margin-top: 30px; }
  .home-intro > .muted { max-width: 120px; text-align: right; line-height: 1.5; }
  .home-intro h2 { font-size: 23px; }
  .pulse-totals { grid-template-columns: repeat(3, 1fr); }
  .pulse-totals .stat { min-height: 90px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .pulse-totals .stat:nth-child(3) { border-right: 0; }
  .pulse-totals .stat:nth-child(n+4) { border-bottom: 0; }
  .pulse-totals .stat:first-child { padding-left: 12px; }
  .pulse-totals .stat strong { font-size: 24px; }
  .pulse-totals .stat span { font-size: 10px; }
  .pulse-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .pulse-pro { grid-template-columns: 1fr 1fr; }
  .page-heading h2 { font-size: 28px; }
  body .page-heading { min-height: 125px !important; padding: 22px !important; }
  .hero-grid { grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 8px; }
  .hero-browser-toolbar { align-items: start; }
  .hero-toolbar-label { width: 100%; }
  .hero-search { width: 100%; margin: 0; }
  .hero-search input { width: 100%; }
  .hero-filter-group { flex-wrap: wrap; }
  .panel { padding: 16px; }
  .meta-row { grid-template-columns: 25px minmax(90px, 1fr) 70px 60px; gap: 7px; font-size: 11px; }
  .meta-row .meta-attribute { display: none; }
  .hero-banner-inner { padding: 22px; }
  .hero-banner .wiki-link { white-space: normal; }
  .hero-attr-strip { padding: 12px; }
  .ability-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-header { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; align-items: flex-start; }
  .profile-avatar.large { width: 64px; height: 64px; flex-basis: 64px; }
  .profile-name-row h2 { font-size: 24px; }
  .profile-layout, .profile-side { grid-template-columns: minmax(0, 1fr); }
  .profile-side .panel, .profile-main .panel { padding: 16px; }
  .leaderboard-table, .mv-table-wrap, .table-wrap { max-width: 100%; overflow-x: auto; }
  .leaderboard-row { min-width: 570px; }
  .feed-row { flex-wrap: wrap; gap: 8px; }
  .pulse-live > span { white-space: normal; }
  .lfg-locked { padding: 28px 20px; }
  .lfg-post { grid-template-columns: minmax(0, 1fr); }
  .site-footer { margin: 0 20px; flex-direction: column; gap: 24px; }
}
@media (max-width: 560px) {
  .profile-rank-badge { grid-template-columns: minmax(0, 1fr); }
  .profile-rank-badge .wl-row { grid-template-columns: 66px 74px minmax(0, 1fr) 34px; gap: 6px; font-size: 11px; }
  .profile-rank-badge .wl-row b { font-size: 11px; }
  .profile-side .panel, .profile-main .panel { min-width: 0; }
  .count-row { grid-template-columns: 78px minmax(0, 1fr) 30px 44px; gap: 6px; font-size: 10px; }
  button.mh-row { grid-template-columns: 54px minmax(0, 1fr) 36px 68px; gap: 6px; padding: 9px 6px !important; }
  .mh-row b, .mh-row .mh-result b { font-size: 10px; }
  .mh-row small { font-size: 9px; }
  .mh-hero { flex-direction: column; align-items: flex-start; gap: 5px; }
  .mh-hero img { width: 32px; height: 32px; flex-basis: 32px; }
  .mh-hero small { font-size: 10px; }
  .mh-hero i { top: 21px; bottom: auto; left: 23px; }
  .profile-more { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .download-showcase { min-height: calc(100vh - 156px); }
  .download-cta { left: 28px; }
}

@keyframes download-backdrop-drift {
  from { transform: scale(1.02) translate3d(-1%, -1%, 0); }
  to { transform: scale(1.08) translate3d(1%, 1%, 0); }
}
@media (max-width: 420px) {
  .main-nav > .nav-item, .nav-group > .nav-item { padding: 0 5px; font-size: 11px; }
  .header-actions .discord-button { display: none; }
  .home-hero h1 { font-size: 50px; }
  .home-hero .search-row input { font-size: 11px; padding-left: 7px; }
  .home-hero #load-player { gap: 6px; padding: 0 10px; }
  .home-intro > .muted { display: none; }
  .pulse-pro { grid-template-columns: 1fr; }
  .pulse-row { grid-template-columns: 20px 34px minmax(0, 1fr) 82px; gap: 8px; }
  .pulse-row img { width: 34px; }
  .section-heading { flex-wrap: wrap; gap: 6px; }
  .hero-filter { padding-left: 7px !important; padding-right: 7px !important; font-size: 10px !important; }
  .sub-nav { left: -35px; }
}

/* Match history responds to the space left beside the profile sidebar. */
.profile-main button.mh-row { grid-template-columns: 68px 118px 112px 40px 44px 88px 66px 78px 68px minmax(140px, 1.3fr) 84px; gap: 8px; }
.profile-main .mh-farm, .profile-main .mh-dmg, .profile-main .mh-rate { display: block; }
.profile-main .mh-items, .profile-main .mh-extra, .profile-main .mh-role { display: flex; }
.profile-main .mh-row > span { min-width: 0; }
@container profile-content (max-width: 1120px) {
  .profile-main button.mh-row { grid-template-columns: 68px 110px 112px 40px 44px 88px 78px minmax(100px, 1fr) 84px; gap: 7px; }
  .profile-main .mh-farm, .profile-main .mh-dmg { display: none; }
}
@container profile-content (max-width: 790px) {
  .profile-main button.mh-row { grid-template-columns: 64px minmax(90px, 1fr) 112px 40px 44px 86px 78px; }
  .profile-main .mh-items, .profile-main .mh-extra { display: none; }
  .recent-summary { grid-template-columns: 96px minmax(0, 1fr); }
  .recent-heroes { grid-column: 1 / -1; }
}
@container profile-content (max-width: 540px) {
  .profile-main button.mh-row { grid-template-columns: 58px minmax(0, 1fr) 40px 76px; gap: 7px; }
  .profile-main .mh-rate, .profile-main .mh-role, .profile-main .mh-performance-chart { display: none; }
}
@container profile-content (max-width: 340px) {
  .profile-main button.mh-row { grid-template-columns: 48px minmax(0, 1fr) 34px 64px; gap: 5px; padding: 9px 6px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-card:hover, .hero-card:focus-visible { transform: scale(1.08); }
}




/* Match timeline: quieter plot, markers inside the frame, hover cursor with a tooltip for every visible series. */
.mv-timeline .plot-border { stroke: #33373a; }
.mv-timeline .grid { stroke: #24282b; }
.mv-timeline .grid.mid { stroke: #4c5054; stroke-dasharray: 4 4; }
.mv-timeline .axis-value { fill: #9a9fa2; font-size: 12px; font-weight: 500; }
.mv-timeline .axis { font-size: 12px; }
.mv-timeline-point { stroke: #151a1d; stroke-width: 2; }
.mv-timeline .mv-timeline-hover { pointer-events: none; }
.mv-timeline .hover-line { stroke: #b9bec1; stroke-width: 1; stroke-dasharray: 3 3; }
.mv-timeline .hover-dot { stroke: #f4f5f4; stroke-width: 2; }
.mv-timeline .hover-tip-bg { fill: #0f1215; fill-opacity: .96; stroke: #3d4144; stroke-width: 1; }
.mv-timeline .hover-tip-time { fill: #f4f5f4; font-size: 14px; font-weight: 700; }
.mv-timeline .hover-tip-row { fill: #d7dadc; font-size: 13px; }
.mv-timeline .hover-capture { cursor: crosshair; }

/* Live match: spectators in the top-left corner of the score header; larger team marks everywhere. */
.mv-head { position: relative; }
.mv-head:has(.live-spectators) { padding-top: 50px; }
.live-spectators { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border: 1px solid var(--line); border-radius: 3px; color: #e6e8e7; background: rgba(17, 20, 22, .82); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.live-spectators img { width: 18px; height: 18px; object-fit: contain; opacity: .9; }
.live-spectators.is-live { color:#ff6470; border-color:rgba(255,100,112,.55); text-shadow:0 0 8px rgba(255,76,91,.8); }
.live-spectators.is-live img { opacity:1; filter:brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(2421%) hue-rotate(326deg) brightness(102%) contrast(105%); }
.mv-team-label .mv-team-icon { width: 32px; height: 32px; flex-basis: 32px; }
.mv-team-head .mv-team-icon { width: 38px; height: 38px; flex-basis: 38px; }
.mv-prognosis img { width: 20px; height: 20px; }
.live-team-icon { width: 26px; height: 26px; flex: 0 0 26px; }
.mv-timeline .axis-team { font-size: 14px; }
.live-meta { align-items: center; justify-content: center; text-align: center; }
.live-lead { padding: 4px 8px; font-size: 12px; }
.live-title-group { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.live-status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #7ed394; box-shadow: 0 0 9px rgba(126, 211, 148, .7); }
button.live-refresh { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px 0 9px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 999px; color: #fff !important; background: rgba(21, 25, 27, .35) !important; font-size: 11px; font-weight: 700; letter-spacing: .15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 8px rgba(0, 0, 0, .18); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
button.live-refresh:hover, button.live-refresh:focus-visible { border-color: #fff; color: #fff !important; background: rgba(255, 255, 255, .1) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 3px 12px rgba(0, 0, 0, .24); transform: translateY(-1px); }
.live-refresh-progress { width: 14px; height: 14px; transform: rotate(-90deg); }
.live-refresh-progress :is(circle) { fill: none; stroke-width: 2.4; }
.live-refresh-progress-track { stroke: #484b4d; }
.live-refresh-progress-value { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear; }

/* The desktop client is an app, not the public marketing site: keep its navigation compact. */
.overwolf-client .announcement-bar, .overwolf-client .site-footer { display: none; }
.overwolf-client .app-shell { min-height: 0; }
.overwolf-client .sidebar { height: 64px; min-height: 64px; padding: 0 16px; gap: 18px; border-bottom-color: #303438; background: #111417; box-shadow: none; cursor: grab; }
.overwolf-client .sidebar:active { cursor: grabbing; }
.overwolf-client .brand { width: auto; flex: 0 0 auto; gap: 9px; }
.overwolf-client .brand img { width: 38px; height: 38px; }
.overwolf-client .brand > span { font-size: 21px; letter-spacing: -.65px; }
.overwolf-client .main-nav { height: 64px; min-width: 0; gap: 0; overflow-x: auto; scrollbar-width: none; cursor: default; }
.overwolf-client .main-nav::-webkit-scrollbar { display: none; }
.overwolf-client .main-nav > .nav-item, .overwolf-client .nav-group > .nav-item { min-height: 64px; padding: 0 15px; border-radius: 0; color: #c1c7c9; font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.overwolf-client .main-nav > .nav-item::after, .overwolf-client .nav-group > .nav-item::after { right: 9px; bottom: 0; left: 9px; height: 2px; }
.overwolf-client .main-nav > .nav-item:hover, .overwolf-client .nav-group > .nav-item:hover { color: #f1f3f2; background: rgba(255,255,255,.045); }
.overwolf-client .main-nav > .nav-item.active, .overwolf-client .nav-group > .nav-item.active { color: #f5f7f6; border-color: transparent; background: transparent; }
.overwolf-client .sub-nav { top: 64px; }
.overwolf-client .header-actions { height: 64px; gap: 5px; cursor: default; }
.overwolf-client .header-actions .patch-chip, .overwolf-client .header-actions .discord-button, .overwolf-client .header-actions .download-button { display: none !important; }
.overwolf-client .header-actions button#account-button { min-height: 34px; padding: 0 11px; border-color: #3b4044; border-radius: 3px; background: #252a2d; font-size: 13px; }
.desktop-account-slot { display: inline-flex; align-items: center; }
/* Topbar icon group (settings, contact, notifications): bare white glyphs, no button chrome. The long selector outranks the generic accent-button rule. */
.overwolf-client .client-icon-actions { position: relative; display: flex; align-items: center; gap: 2px; margin-right: 6px; }
.overwolf-client .client-topbar .client-header-actions button.client-icon-button, .overwolf-client .client-topbar .client-header-actions button.client-icon-button:hover, .overwolf-client .client-topbar .client-header-actions button.client-icon-button:focus-visible, .overwolf-client .client-topbar .client-header-actions button.client-icon-button:active { position: relative; display: inline-grid; width: 34px; height: 34px; min-height: 0; place-items: center; padding: 0; border: 0; border-radius: 4px; color: #fff; background: transparent; box-shadow: none; outline: 0; transform: none; line-height: 1; cursor: pointer; }
.overwolf-client .client-topbar .client-header-actions button.client-icon-button { opacity: .85; transition: opacity .16s ease, background .16s ease; }
.overwolf-client .client-topbar .client-header-actions button.client-icon-button:hover, .overwolf-client .client-topbar .client-header-actions button.client-icon-button:focus-visible, .overwolf-client .client-topbar .client-header-actions button.client-icon-button[aria-expanded="true"] { opacity: 1; background: rgba(255, 255, 255, .07); }
.client-icon-button svg { display: block; width: 18px; height: 18px; fill: currentColor; stroke: none; }
.client-icon-button img { display: block; width: 19px; height: 19px; object-fit: contain; }
.client-discord-button img { filter: grayscale(1) brightness(0) invert(1); }
.notification-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 2px #11161a; }
.notification-dot[hidden] { display: none; }
.notifications-panel { position: absolute; z-index: 130; top: calc(100% + 10px); right: 0; width: 320px; padding: 6px; border: 1px solid #394248; border-radius: 5px; background: #141a1e; box-shadow: 0 15px 32px #000a; }
.notifications-panel.hidden { display: none; }
.notifications-panel h3 { margin: 6px 8px 4px; color: #849097; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.notification-item { display: grid; gap: 3px; padding: 9px 8px; border-radius: 3px; color: #eaf0f1; text-decoration: none; }
.notification-item:hover { background: #242e35; }
.notification-item strong { font-size: 13px; }
.notification-item span { color: #94a0a7; font-size: 12px; line-height: 1.4; }
.notification-item.is-read strong { color: #b9c2c7; font-weight: 600; }
.notifications-empty { margin: 0; padding: 16px 8px; color: #94a0a7; font-size: 13px; text-align: center; }
.contact-dialog .account-auth-form select, .contact-dialog .account-auth-form textarea { width: 100%; min-height: 42px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #424a4f; border-radius: 4px; color: var(--text); background: #111416; font: inherit; font-size: 13px; }
.contact-dialog .account-auth-form textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.contact-dialog .account-auth-form textarea::placeholder { color: #77807d; }
.contact-dialog .contact-status { min-height: 18px; margin: 6px 0 0; color: #94a0a7; font-size: 12px; }
.contact-dialog .contact-status.is-error { color: #e89393; }
.contact-dialog .contact-status.is-success { color: #8fd694; }
.desktop-window-actions { display: inline-flex; align-self: stretch; align-items: stretch; margin-left: 4px; }
.desktop-window-actions button { width: 34px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; color: #bbc0c2 !important; background: transparent !important; font-size: 17px; font-weight: 400 !important; line-height: 1; }
.desktop-window-actions button:hover { color: #fff !important; background: #30363a !important; }
.desktop-window-actions button[data-window-action="close"]:hover { background: #b33a35 !important; }
@media (max-width: 820px) {
  .overwolf-client .sidebar { gap: 8px; padding: 0 8px; }
  .overwolf-client .brand > span, .overwolf-client .header-actions button#account-button .account-label { display: none; }
  .overwolf-client .main-nav > .nav-item, .overwolf-client .nav-group > .nav-item { padding: 0 8px; }
  .desktop-window-actions button { width: 29px; }
}

/* Esports list: roomier live rows, spectator count on the left, and team marks for pro matches. */
.live-list { display: grid; gap: 8px; max-height: 720px; overflow: auto; padding: 2px 8px 2px 4px; background: transparent; scrollbar-gutter: stable; scrollbar-color: #4a4d4f transparent; }
.live-list::-webkit-scrollbar { width: 10px; }
.live-list::-webkit-scrollbar-track { background: transparent; border-radius: 10px; }
.live-list::-webkit-scrollbar-thumb { min-height: 42px; border: 2px solid transparent; border-radius: 10px; background: linear-gradient(180deg, #555a5d, #373b3e) padding-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .35); }
.live-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #697074, #454b4f); }
a.live-row { grid-template-columns: 108px 72px minmax(0, 1fr) 96px minmax(0, 1fr) 96px; gap: 16px; padding: 15px 12px; border: 1px solid #282a2c; border-radius: 7px; }
.live-spectator-count { display: grid; grid-template-columns: 19px auto; grid-template-rows: auto auto; column-gap: 6px; row-gap: 1px; align-items: center; min-width: 0; color: #d7d8d7; font-variant-numeric: tabular-nums; }
.live-spectator-value { display: contents; }
.live-spectator-count img { width: 19px; height: 19px; flex: 0 0 19px; object-fit: contain; opacity: .9; }
.live-spectator-count img { grid-column: 1; grid-row: 1 / span 2; }
.live-spectator-count b { grid-column: 2; grid-row: 1; font-size: 13px; }
.live-spectator-count small { grid-column: 2; grid-row: 2; color: #939493; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
a.live-row.is-watched { transition: border-color .45s ease, box-shadow .45s ease; }
a.live-row.is-watched.is-watched-pulsing { border-color: rgba(255, 255, 255, .72); box-shadow: 0 0 8px rgba(255, 255, 255, .09); }
a.live-row.is-active { border-color: rgba(108, 198, 128, .72); background: linear-gradient(90deg, rgba(65, 132, 81, .22), rgba(23, 35, 27, .72)); box-shadow: inset 3px 0 0 #70c983, 0 0 14px rgba(79, 161, 96, .12); }
a.live-row.is-active:hover { border-color: #8cdda0; background: linear-gradient(90deg, rgba(77, 157, 94, .3), rgba(25, 40, 29, .78)); }
a.live-row.is-active.is-watched-pulsing { border-color: rgba(143, 224, 158, .92); box-shadow: inset 3px 0 0 #8fe09e, 0 0 15px rgba(79, 161, 96, .22); }
.live-spectator-count.is-active { color: #96e0a4; }
.live-spectator-count.is-active img { opacity: 1; filter: brightness(0) saturate(100%) invert(76%) sepia(21%) saturate(1021%) hue-rotate(78deg) brightness(94%) contrast(89%); }
.live-spectator-count.is-active small { color: #96e0a4; font-weight: 800; }
.pro-match-row { align-items: center; gap: 16px; padding: 14px 6px; }
.pro-match-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; flex: 1; }
.pro-team { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
/* Keep both team-mark columns fixed: Radiant marks start at the left, Dire marks end at the right. */
.pro-team.dire { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.pro-team img { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 4px; object-fit: contain; background: #1b1d1f; }
.pro-team-logo-placeholder { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #34383b; border-radius: 4px; background: #1b1d1f; }
.pro-team strong { min-width: 0; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.pro-team.dire strong { text-align: right; }
.pro-match-score { display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; }
.pro-match-score b { color: #f5f6f5; font-size: 13px; font-variant-numeric: tabular-nums; }
.pro-match-score small, .pro-match-meta { color: #939493; font-size: 10px; white-space: nowrap; }
.pro-match-meta { flex: 0 0 auto; text-align: right; }
@media (max-width: 1000px) {
  a.live-row { grid-template-columns: 106px minmax(0, 1fr) 80px minmax(0, 1fr); gap: 10px; padding: 14px 8px; }
  a.live-row .live-tag, a.live-row .live-meta { display: none; }
}

/* Desktop-app shell: U.GG-inspired rail navigation and a global Dota search. */
.overwolf-client { background: #101417; }
.overwolf-client .app-shell { display: block; min-height: 0; }
.overwolf-client .app-sidebar { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; display: flex; width: 88px; height: 100vh; min-height: 100vh; flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 16px 15px; overflow: hidden auto; scrollbar-width: none; border: 0; border-right: 1px solid #2b3034; background: #0c1013; box-shadow: none; cursor: default; transition: width .18s ease, box-shadow .18s ease; }
.overwolf-client .app-sidebar::-webkit-scrollbar { display: none; }
.overwolf-client .app-sidebar::after { position: absolute; top: 73px; right: 0; left: 0; height: 1px; background: #2a3034; content: ""; }
.overwolf-client .app-brand { display: flex; width: 100%; height: 58px; align-items: center; justify-content: flex-start; gap: 10px; margin: 0 0 17px; padding: 0 0 0 9px; overflow: hidden; border: 0; }
.overwolf-client .app-brand img { width: 40px; height: 40px; flex: 0 0 auto; object-fit: contain; }
.overwolf-client .app-brand > span { display: block; width: 0; overflow: hidden; opacity: 0; color: #f1f3f4; font-size: 25px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; transition: width .18s ease, opacity .13s ease; }
.overwolf-client .app-main-nav { display: flex; width: 100%; height: auto; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 8px; overflow: visible; }
.overwolf-client .app-main-nav .app-nav-item { position: relative; display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: flex-start; gap: 14px; padding: 0 0 0 15px; overflow: hidden; border: 1px solid transparent; border-radius: 7px; color: #8b959b; background: transparent; transition: background .16s ease; }
.overwolf-client .app-main-nav .app-nav-item img { width: 25px; height: 25px; flex: 0 0 auto; object-fit: contain; opacity: .7; filter: grayscale(1); transition: opacity .16s ease, filter .16s ease, transform .16s ease; }
.overwolf-client .app-main-nav .app-nav-item > span { display: block; width: 0; overflow: hidden; opacity: 0; color: #c5cdd1; font-size: 13px; font-weight: 700; white-space: nowrap; transition: width .18s ease, opacity .13s ease; }
.overwolf-client .app-main-nav .app-nav-item:hover { color: #fff; background: #1d2428; }
.overwolf-client .app-main-nav .app-nav-item:hover img { opacity: 1; filter: none; transform: scale(1.06); }
.overwolf-client .app-main-nav .app-nav-item.active { border-color: transparent; color: #fff; background: transparent; box-shadow: none; }
.overwolf-client .app-main-nav .app-nav-item.active::before, .overwolf-client .app-main-nav .app-nav-item.active::after { position: absolute; left: 15px; width: 27px; height: 2px; border-radius: 2px; background: #4e83ff; content: ""; transition: width .18s ease; }
.overwolf-client .app-main-nav .app-nav-item.active::before { top: 3px; }
.overwolf-client .app-main-nav .app-nav-item.active::after { bottom: 3px; }
.overwolf-client .app-main-nav .app-nav-item.active img { opacity: 1; filter: none; }
.overwolf-client .app-main-nav .app-nav-item.is-match-live { background: transparent; box-shadow: none; }
.overwolf-client .app-main-nav .app-nav-item.is-match-live img { opacity: 1; filter: brightness(0) saturate(100%) invert(82%) sepia(18%) saturate(820%) hue-rotate(75deg) brightness(101%) contrast(92%); }
.overwolf-client .app-main-nav .app-nav-item.is-match-live::before { display: none; }
.overwolf-client .app-main-nav .app-nav-item.is-match-live::after { position: absolute; bottom: 3px; left: 15px; width: 27px; height: 2px; border-radius: 2px; background: #71db88; box-shadow: none; content: ""; }
.overwolf-client .app-main-nav .app-nav-item.is-pro-match-live { background: transparent; box-shadow: none; }
.overwolf-client .app-main-nav .app-nav-item.is-pro-match-live img { opacity: 1; filter: brightness(0) saturate(100%) invert(84%) sepia(39%) saturate(678%) hue-rotate(339deg) brightness(103%) contrast(101%); }
.overwolf-client .app-main-nav .app-nav-item.is-pro-match-live::before { display: none; }
.overwolf-client .app-main-nav .app-nav-item.is-pro-match-live::after { position: absolute; bottom: 3px; left: 15px; width: 27px; height: 2px; border-radius: 2px; background: #f3b64e; box-shadow: none; content: ""; }
.overwolf-client .app-main-nav .app-nav-item.locked { opacity: .48; }
.overwolf-client .app-main-nav .nav-lock { position: absolute; right: 5px; bottom: 4px; font-size: 10px; font-style: normal; }
.overwolf-client .client-topbar { position: relative; z-index: 60; display: flex; height: 74px; align-items: center; gap: 18px; margin-left: 88px; padding: 0 12px 0 22px; border-bottom: 1px solid #2a3034; background: #11161a; }
.overwolf-client .client-drag-zone { display: inline-flex; width: 14px; min-width: 14px; height: 100%; align-items: center; color: #e7eaeb; cursor: grab; }
.overwolf-client .client-drag-zone:active { cursor: grabbing; }
.overwolf-client .global-search { position: relative; display: flex; width: min(650px, 58vw); height: 45px; align-items: center; border: 1px solid #343b40; border-radius: 5px; background: #0b0f12; transition: border-color .16s ease, box-shadow .16s ease; }
.overwolf-client .global-search:focus-within { border-color: #4f83ff; box-shadow: 0 0 0 3px #3976e329; }
.global-search-icon { display: grid; width: 42px; place-items: center; color: #aeb8bd; }
.global-search-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.9; }
.overwolf-client .global-search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; color: #edf1f3; background: transparent; font: inherit; font-size: 14px; }
.overwolf-client .global-search input::placeholder { color: #879197; }
.overwolf-client .global-search kbd { margin-right: 9px; padding: 3px 6px; border: 1px solid #384147; border-radius: 3px; color: #899399; background: #171d21; font-size: 10px; font-family: inherit; white-space: nowrap; }
.global-search-results { position: absolute; z-index: 120; top: calc(100% + 7px); right: 0; left: 0; max-height: 410px; overflow: auto; padding: 6px; border: 1px solid #394248; border-radius: 5px; background: #141a1e; box-shadow: 0 15px 32px #000a; }
.global-search-results.hidden { display: none; }
.global-result { display: flex; min-height: 57px; align-items: center; gap: 11px; padding: 7px; border-radius: 3px; color: #eaf0f1; text-decoration: none; }
.global-result:hover { background: #242e35; }
.global-result img { width: 42px; height: 42px; border-radius: 3px; object-fit: cover; background: #263038; }
.global-result span { display: grid; gap: 3px; }
.global-result small { color: #849097; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.global-result strong { font-size: 13px; }
.global-search-empty { margin: 0; padding: 14px; color: #94a0a7; font-size: 13px; text-align: center; }
.overwolf-client .client-header-actions { height: 74px; margin-left: auto; }
.overwolf-client .client-header-actions .desktop-window-actions { height: 74px; }
.overwolf-client .client-header-actions .desktop-window-actions button { width: 38px; }
.overwolf-client main { width: auto; max-width: none; min-height: calc(100vh - 74px); margin: 0 0 0 88px; padding-left: 28px; padding-right: 28px; }
.overwolf-client .site-footer { display: none; }
.overwolf-client.sidebar-expanded .app-sidebar { width: 236px; box-shadow: 12px 0 28px #0008; }
.overwolf-client.sidebar-expanded .app-brand > span { width: 126px; opacity: 1; }
.overwolf-client.sidebar-expanded .app-main-nav .app-nav-item > span { width: 135px; opacity: 1; }
.overwolf-client.sidebar-expanded .app-main-nav .app-nav-item.active > span { color: #fff; }
.overwolf-client.sidebar-expanded .app-main-nav .app-nav-item.active::before, .overwolf-client.sidebar-expanded .app-main-nav .app-nav-item.active::after { width: calc(100% - 30px); }
.overwolf-client.sidebar-expanded .app-main-nav .app-nav-item.is-match-live::after, .overwolf-client.sidebar-expanded .app-main-nav .app-nav-item.is-pro-match-live::after { width: 27px; }
@media (max-width: 850px) {
  .overwolf-client .app-sidebar { width: 70px; padding-right: 10px; padding-left: 10px; }
  .overwolf-client .client-topbar, .overwolf-client main { margin-left: 70px; }
  .overwolf-client .app-brand { padding-left: 5px; }
  .overwolf-client .app-main-nav .app-nav-item { padding-left: 11px; }
  .overwolf-client .app-main-nav .app-nav-item.active::before, .overwolf-client .app-main-nav .app-nav-item.active::after { left: 11px; }
  .overwolf-client .app-main-nav .app-nav-item.is-match-live::after, .overwolf-client .app-main-nav .app-nav-item.is-pro-match-live::after { left: 11px; }
  .overwolf-client .client-drag-zone { display: none; }
  .overwolf-client .global-search { width: min(460px, 55vw); }
}

/* ==== Esports live-match cards (2026-09-23) ====
   Replaces the older 6-column live-row grid above. Each card is one compact meta line (spectators, PRO/avg MMR,
   gold lead) over three zones: Radiant (name + heroes) | score + clock | Dire (mirrored). Sizes follow the list's
   own width (container queries), so the narrow side-by-side panel in the app and the full-width column on the
   website both stay readable; team names ellipsize inside their own column and never reach the score. */
.live-list { container: live-list / inline-size; }
.live-list a.live-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "meta meta meta" "radiant score dire"; align-items: center; column-gap: 14px; row-gap: 9px; padding: 9px 14px 11px; }
.live-list a.live-row .live-meta { grid-area: meta; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-width: 0; padding-bottom: 8px; border-bottom: 1px solid #25292b; text-align: left; }
.live-list a.live-row .live-spectator-count { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.live-list a.live-row .live-spectator-value { display: inline-flex; align-items: center; gap: 6px; }
.live-list a.live-row .live-spectator-count img { width: 16px; height: 16px; flex: 0 0 16px; }
.live-list a.live-row .live-spectator-count b { font-size: 12px; }
.live-list a.live-row .live-spectator-count small { font-size: 10px; }
.live-list a.live-row .live-tag { display: inline-flex; flex-direction: row; align-items: baseline; gap: 5px; min-width: 0; white-space: nowrap; }
.live-list a.live-row .live-tag b { font-size: 12px; }
.live-list a.live-row.pro .live-tag b { padding: 2px 6px; font-size: 10px; line-height: 1.2; }
.live-list a.live-row .live-lead { margin-left: auto; padding: 3px 8px; font-size: 11px; }
.live-list a.live-row .live-team { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.live-list a.live-row .live-team.radiant { grid-area: radiant; }
.live-list a.live-row .live-team.dire { grid-area: dire; text-align: right; }
.live-list a.live-row .live-team-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.live-list a.live-row .live-team.dire .live-team-title { justify-content: flex-end; }
.live-list a.live-row .live-team-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.live-list a.live-row .live-team strong { flex: 0 1 auto; min-width: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.live-list a.live-row .live-heroes { display: flex; gap: 3px; min-width: 0; }
.live-list a.live-row .live-team.dire .live-heroes { justify-content: flex-end; }
.live-list a.live-row .live-heroes img { flex: 0 1 28px; width: 28px; min-width: 0; height: auto; aspect-ratio: 1; }
.live-list a.live-row .live-score { grid-area: score; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.live-list a.live-row .live-score b { font-size: 20px; line-height: 1.15; white-space: nowrap; }
.live-list a.live-row .live-score small { font-size: 11px; }
@container live-list (min-width: 700px) {
  .live-list a.live-row { column-gap: 22px; padding-right: 18px; padding-left: 18px; }
  .live-list a.live-row .live-heroes img { flex-basis: 32px; width: 32px; }
  .live-list a.live-row .live-team strong { font-size: 14px; }
  .live-list a.live-row .live-score b { font-size: 22px; }
}
@container live-list (max-width: 420px) {
  .live-list a.live-row { column-gap: 8px; padding: 9px 10px 11px; }
  .live-list a.live-row .live-meta { flex-wrap: wrap; gap: 6px 10px; }
  .live-list a.live-row .live-team-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .live-list a.live-row .live-team strong { font-size: 12px; }
  .live-list a.live-row .live-heroes { gap: 2px; }
  .live-list a.live-row .live-score { min-width: 48px; }
  .live-list a.live-row .live-score b { font-size: 17px; }
}
/* Pro matches: league + time on a small line above the teams, so the league name no longer squeezes the team names. */
.pro-match-row { flex-direction: column; align-items: stretch; gap: 8px; }
.pro-match-info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.feed-row .pro-match-league { min-width: 0; overflow: hidden; color: #939493; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }

/* ==== One title per tab (2026-09-23) ====
   Page headings lost their eyebrows/kickers; these rules tidy the few places that relied on them. */
.profile-header.empty .profile-sign-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.profile-sign-in .player-meta { margin: 0; color: #c9ced0; font-size: 14px; }
.meta-roles-panel .section-heading { align-items: center; }
.patch-hero h3 { margin-top: 0; }
.lfg-coming-lock + h3 { margin-top: 18px; }
