:root { color-scheme: dark; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; background: #0d1118; color: #e8edf4; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 780px; background: radial-gradient(circle at 72% 0, #172333 0, #0d1118 42%); }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 218px; flex: 0 0 218px; min-height: 100vh; padding: 22px 14px 18px; display: flex; flex-direction: column; border-right: 1px solid #27303c; background: linear-gradient(180deg, #141b26, #10161f); }
.brand { display: flex; align-items: center; gap: 11px; width: 100%; margin: 0 4px 30px; padding: 0; border: 0; background: transparent; color: #f2f5f9; text-align: left; }
.brand img { width: 43px; height: 43px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 22px rgba(71, 211, 82, .22); }
.brand span { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; line-height: 1.1; }
.brand em { display: block; color: #e8b75b; font-size: 10px; font-style: normal; letter-spacing: 2.4px; margin-top: 3px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item, .sub-nav-item { display: flex; align-items: center; border: 1px solid transparent; border-radius: 9px; color: #8491a1; background: transparent; text-align: left; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.nav-item { width: 100%; min-height: 43px; gap: 12px; padding: 8px 11px; font-size: 13px; font-weight: 700; }
.nav-item img, .sub-nav-item img { width: 21px; height: 21px; flex: 0 0 21px; object-fit: contain; opacity: .63; }
.nav-item:hover, .sub-nav-item:hover { color: #edf2f7; background: #1b2633; }
.nav-item.active, .sub-nav-item.active { color: #f6d38f; border-color: rgba(232, 183, 91, .25); background: linear-gradient(90deg, rgba(212, 154, 61, .2), rgba(212, 154, 61, .04)); }
.nav-item.active img, .sub-nav-item.active img { opacity: 1; }
.nav-item-text { gap: 12px; }
.nav-item-text small { margin-left: auto; padding: 3px 5px; border-radius: 5px; color: #a9b4c0; background: #202b38; font-size: 10px; }
.nav-glyph { width: 21px; color: #e8b75b; font-size: 18px; text-align: center; }
.chevron { margin-left: auto; color: #748294; font-size: 16px; }
.nav-group { margin-bottom: 2px; }
.sub-nav { display: flex; flex-direction: column; gap: 2px; margin: 1px 0 7px 22px; padding-left: 12px; border-left: 1px solid #303d4d; }
.sub-nav.collapsed { display: none; }
.sub-nav-item { width: 100%; min-height: 34px; gap: 9px; padding: 6px 8px; font-size: 11px; font-weight: 600; }
.sub-nav-item img { width: 16px; height: 16px; flex-basis: 16px; }
.sub-nav-icon { width: 16px; color: #8391a1; text-align: center; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 8px 0; color: #617082; font-size: 10px; }
.online-dot, .live-label i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #7ed394; box-shadow: 0 0 9px rgba(126, 211, 148, .7); }
.main-area { min-width: 0; flex: 1; }
.topbar { min-height: 88px; padding: 20px 36px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #27303c; background: linear-gradient(110deg, #141b26, #0d1118); }
.eyebrow { color: #e8b75b; font-size: 10px; letter-spacing: 2px; font-weight: 700; }
h1 { margin: 5px 0 0; font-size: 27px; } h2 { margin: 0; font-size: 21px; } h3 { margin: 0; font-size: 17px; } p { color: #9ba8b8; line-height: 1.55; }
.topbar-meta, .page-heading { display: flex; align-items: center; gap: 12px; }
.badge, .patch-chip { padding: 7px 10px; border-radius: 20px; font-size: 10px; }
.badge { color: #9ed6a7; background: #17331f; }
.patch-chip { color: #dfb566; border: 1px solid rgba(232, 183, 91, .25); background: rgba(212, 154, 61, .1); letter-spacing: 1px; }
.patch-chip strong { color: #f5ddb0; font-size: 12px; }
.patch-chip.large { padding: 10px 13px; }
main { padding: 25px 36px 42px; }
.panel { padding: 20px; background: rgba(21, 28, 38, .96); border: 1px solid #27303c; border-radius: 12px; box-shadow: 0 12px 25px rgba(0,0,0,.18); }
.search-panel { padding: 17px 20px 12px; }
label { display: block; margin-bottom: 8px; color: #9ba8b8; font-size: 12px; }
.search-row { display: flex; gap: 10px; }
input { flex: 1; padding: 12px; border: 1px solid #3a4655; border-radius: 7px; outline: none; background: #0d1118; color: white; }
input:focus { border-color: #d49a3d; box-shadow: 0 0 0 2px rgba(212, 154, 61, .12); }
button:not(.nav-item):not(.sub-nav-item):not(.brand) { padding: 0 18px; border: 0; border-radius: 7px; background: #d49a3d; color: #15100a; font-weight: 700; }
button#load-player, button#player-page-load { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
button#load-player img, button#player-page-load img { width: 13px; height: 13px; object-fit: contain; }
button:disabled { opacity: .55; cursor: wait; }
#status { color: #748294; font-size: 11px; min-height: 14px; }
.home-intro, .page-heading { margin: 24px 0 13px; }
.home-intro { display: flex; justify-content: space-between; align-items: end; }
.home-intro h2 { margin-top: 5px; }
.overview-grid, .content-grid, .graph-grid { display: grid; gap: 18px; margin-top: 18px; }
.overview-grid { grid-template-columns: 1fr 1.25fr; } .content-grid { grid-template-columns: 1.35fr 1fr; } .graph-grid { grid-template-columns: 1fr 1fr; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.muted, .empty { color: #778596; font-size: 12px; } .hidden { display: none !important; }
body[data-page="live"] :is(.muted, .empty), #match-view :is(.muted, .empty) { color: #8f9cad; font-size: 13px; }
.profile-head { display: flex; align-items: center; gap: 12px; } .profile-avatar { width: 58px; height: 58px; flex: 0 0 58px; border: 1px solid #3d4042; border-radius: 9px; object-fit: cover; background: #1b1d1f; } .player-name { font-size: 24px; font-weight: 700; } .player-meta { margin-top: 8px; color: #9ba8b8; font-size: 13px; line-height: 1.6; } .profile-submeta { margin-top: 12px; padding-top: 11px; border-top: 1px solid #282a2c; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .stat { padding: 12px; background: #0d1118; border-radius: 8px; } .stat strong { display: block; font-size: 19px; } .stat span { color: #8491a1; font-size: 11px; }
.match { display: grid; grid-template-columns: 58px 1fr 90px 140px; align-items: center; gap: 10px; padding: 12px 8px; border: 0; border-bottom: 1px solid #27303c; background: transparent; color: #e8edf4; text-align: left; width: 100%; font-weight: 400; } .match:hover { background: #1b2633; } .win { color: #8dd49a; } .loss { color: #e08484; } .match-id { color: #9ba8b8; font-size: 11px; } .match-hero, .hero-row-name { display: flex; align-items: center; gap: 9px; min-width: 0; } .match-hero img, .hero-row-name img { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 5px; object-fit: cover; background: #1b1d1f; }
.hero-row { display: grid; grid-template-columns: 1fr 72px 72px; gap: 8px; padding: 10px 0; border-bottom: 1px solid #27303c; font-size: 12px; } .hero-row strong { color: #e8edf4; } .hero-row > span:not(.hero-row-name) { color: #9ba8b8; text-align: right; }
.back-button { height: 36px; margin-bottom: 14px; padding: 0 14px !important; background: #263445 !important; color: #e8edf4 !important; }
.match-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; } .match-title { font-size: 22px; font-weight: 700; } .match-subtitle { margin-top: 7px; color: #9ba8b8; font-size: 12px; } .match-result { font-size: 20px; font-weight: 700; }
.graph { min-height: 130px; display: flex; align-items: center; } .graph svg { width: 100%; height: 130px; overflow: visible; } .graph-line { fill: none; stroke-width: 2.5; } .graph-zero { stroke: #4a5664; stroke-width: 1; stroke-dasharray: 4 4; }
.team-title { padding: 9px 0; color: #e8b75b; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; } .player-row { display: grid; grid-template-columns: 1.5fr 92px 92px 92px 1fr; gap: 10px; align-items: center; padding: 11px 8px; border-bottom: 1px solid #27303c; font-size: 12px; } .player-row:hover { background: #1b2633; } .player-row.me { border-left: 3px solid #e8b75b; } .player-hero { color: #e8b75b; } .player-items { color: #9ba8b8; font-size: 11px; line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .patch-hero { min-height: 250px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 80% 20%, rgba(39, 93, 68, .32), transparent 45%), #151c26; } .patch-hero h3 { margin-top: 13px; font-size: 38px; } .patch-hero p { margin: 8px 0 22px; }
.action-link { align-self: flex-start; padding: 10px 13px; border: 1px solid rgba(232, 183, 91, .35); border-radius: 7px; color: #f0ca84; font-size: 12px; text-decoration: none; } .action-link:hover { background: rgba(212, 154, 61, .12); }
.note-list { margin-top: 18px; } .note-list > div { display: grid; grid-template-columns: 32px 1fr; gap: 5px 10px; padding: 11px 0; border-bottom: 1px solid #27303c; } .note-list span { color: #e8b75b; font-size: 11px; } .note-list p { grid-column: 2; margin: 0; font-size: 12px; }
.live-label { display: flex; align-items: center; gap: 6px; color: #8dd49a; font-size: 11px; letter-spacing: 1px; } .esports-grid { grid-template-columns: 1.2fr .8fr; } .feed-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #27303c; font-size: 12px; } .feed-row strong { color: #e8edf4; } .feed-row span { color: #8b9aab; }
.trend-row { display: grid; grid-template-columns: 32px 1fr 1fr 100px; gap: 10px; align-items: center; padding: 12px 7px; border-bottom: 1px solid #27303c; font-size: 12px; } .trend-rank { color: #e8b75b; } .trend-bar { height: 6px; overflow: hidden; border-radius: 5px; background: #27303c; } .trend-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d49a3d, #8dd49a); }
.hero-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; } .hero-tile { padding: 13px; border: 1px solid #27303c; border-radius: 8px; background: #0d1118; } .hero-tile strong { display: block; font-size: 12px; } .hero-tile span { display: block; margin-top: 5px; color: #778596; font-size: 10px; }
.player-search-card { margin-bottom: 18px; } .player-search-card p { margin: 8px 0 17px; font-size: 12px; } .player-result-title { font-size: 19px; font-weight: 700; } .player-result-meta { margin-top: 7px; color: #9ba8b8; font-size: 12px; }
.pro-player-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; } .pro-player { padding: 13px; border: 1px solid #27303c; border-radius: 8px; background: #0d1118; } .pro-player strong { display: block; } .pro-player span { display: block; margin-top: 5px; color: #778596; font-size: 11px; }
.simple-state { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } .state-icon { color: #e8b75b; font-size: 26px; } .simple-state p { max-width: 390px; font-size: 12px; } .inline-action { height: 34px; margin-top: 8px; padding: 0 13px !important; }
@media (max-width: 1000px) { .sidebar { width: 190px; flex-basis: 190px; } .topbar, main { padding-left: 24px; padding-right: 24px; } .overview-grid, .content-grid, .graph-grid, .feature-grid, .esports-grid { grid-template-columns: 1fr; } }
@media (max-width: 920px) { .player-row { grid-template-columns: 1.4fr 80px 80px 80px; } .player-items { display: none; } .hero-list { grid-template-columns: repeat(2, 1fr); } }

/* Reference-style horizontal header navigation. The Esports menu is hover-only. */
.announcement-bar { min-height: 35px; padding: 10px 18px; color: #edf8ed; background: linear-gradient(90deg, #256d2b, #2f8436, #256d2b); text-align: center; font-size: 12px; font-weight: 700; }
.announcement-bar strong { color: #fff8c7; }
.app-shell { display: block; min-height: calc(100vh - 35px); }
.sidebar { width: 100%; min-height: 62px; height: 62px; padding: 0 24px; display: flex; flex-direction: row; align-items: center; gap: 22px; border-right: 0; border-bottom: 1px solid #24404a; background: linear-gradient(90deg, #071f27, #092b34 55%, #071f27); }
.brand { flex: 0 0 150px; width: 150px; margin: 0; gap: 9px; }
.brand img { width: 32px; height: 32px; border-radius: 6px; }
.brand span { color: #f2f5f9; font-size: 18px; letter-spacing: 1.3px; }
.brand em { display: inline; margin-left: 4px; color: #e8b75b; font-size: 11px; letter-spacing: 1.4px; }
.main-nav { min-width: 0; flex: 1; height: 100%; flex-direction: row; align-items: stretch; gap: 3px; }
.nav-item { width: auto; min-height: 100%; gap: 8px; padding: 0 13px; border-radius: 7px; color: #bdcbd1; font-size: 12px; white-space: nowrap; }
.nav-item img { width: 18px; height: 18px; flex-basis: 18px; }
.nav-item:hover { background: rgba(53, 92, 103, .52); color: #fff; }
.nav-item.active { color: #f3f8fb; border-color: transparent; background: #243f49; }
.nav-item.active img { filter: none; }
.nav-item-text { gap: 8px; }
.nav-item-text small { margin-left: 2px; padding: 3px 5px; color: #bfe9c4; background: #187b50; }
.nav-group { position: relative; display: flex; align-items: stretch; margin: 0; }
.nav-group > .nav-item { height: 100%; }
.chevron { margin-left: 1px; font-size: 13px; }
.sub-nav { position: absolute; top: 61px; left: 0; z-index: 20; display: none; width: 238px; margin: 0; padding: 10px; border: 1px solid #29343e; border-radius: 0 0 10px 10px; background: #0d1319; box-shadow: 0 16px 30px rgba(0,0,0,.42); }
.nav-group:hover > .sub-nav { display: flex; }
.sub-nav.collapsed { display: none; }
.nav-group:hover > .sub-nav.collapsed { display: flex; }
.sub-nav-item { min-height: 38px; gap: 10px; padding: 8px 10px; border-radius: 6px; color: #b9c4cc; font-size: 12px; }
.sub-nav-item:hover { color: #fff; background: #1b2b34; }
.sub-nav-item.active { color: #f6d38f; background: rgba(212, 154, 61, .15); }
.sidebar-footer { display: none; }
.main-area { width: 100%; }
.topbar { min-height: 78px; padding: 18px 36px; background: linear-gradient(110deg, #0d151c, #101a21); }
main { max-width: 1220px; margin: 0 auto; }
.page-heading { margin-top: 8px; }
@media (max-width: 1000px) { .sidebar { width: 100%; flex-basis: auto; } .brand { flex-basis: 126px; width: 126px; } .brand span { font-size: 14px; } .nav-item { padding: 0 8px; font-size: 11px; } .nav-item img { width: 16px; height: 16px; flex-basis: 16px; } }
@media (max-width: 820px) { .sidebar { padding: 0 10px; gap: 8px; } .brand { flex-basis: 108px; width: 108px; } .brand em { display: block; margin: 2px 0 0; } .nav-item { padding: 0 6px; gap: 5px; } .nav-item-text small, .chevron { display: none; } }

/* Slightly larger UI scale for the reference-style header and hero detail view. */
.brand img { width: 36px; height: 36px; }
.nav-item { gap: 10px; padding-left: 15px; padding-right: 15px; font-size: 13px; }
.nav-item img { width: 21px; height: 21px; flex-basis: 21px; }
.sub-nav-item { min-height: 42px; font-size: 13px; }
.sub-nav-item img { width: 20px; height: 20px; flex-basis: 20px; }
.hero-tile { display: block; width: 100%; min-height: 88px; padding: 12px !important; border: 1px solid #27303c !important; border-radius: 8px !important; background: #0d1118 !important; color: #e8edf4 !important; text-align: left; }
.hero-tile:hover { border-color: rgba(232, 183, 91, .55) !important; background: #17222c !important; }
.hero-tile img { width: 100%; height: 94px; margin: -12px -12px 10px; width: calc(100% + 24px); object-fit: cover; object-position: center 22%; opacity: .85; }
.hero-tile strong { font-size: 14px; }
.hero-tile span { font-size: 11px; }
.hero-detail { margin-top: 18px; scroll-margin-top: 18px; }
.hero-detail-loading { min-height: 140px; display: flex; align-items: center; justify-content: center; color: #9eacb7; font-size: 13px; }
.hero-detail-head { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; }
.hero-detail-image { width: 150px; height: 150px; border-radius: 10px; object-fit: cover; object-position: center 20%; box-shadow: 0 10px 25px rgba(0,0,0,.28); }
.hero-detail-head h3 { margin-top: 6px; font-size: 27px; }
.hero-detail-head p { max-width: 720px; margin: 8px 0; font-size: 13px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-badges span { padding: 5px 8px; border: 1px solid #354453; border-radius: 5px; color: #b8c7d1; background: #101a22; font-size: 11px; }
.wiki-link { align-self: start; color: #e8b75b; font-size: 12px; text-decoration: none; white-space: nowrap; }
.wiki-link:hover { color: #ffe1a1; }
.hero-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.hero-stat { padding: 10px; border: 1px solid #27303c; border-radius: 7px; background: #0d1118; }
.hero-stat span { display: block; color: #778596; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.hero-stat strong { display: block; margin-top: 5px; color: #f3f6f8; font-size: 15px; }
.hero-stat small { color: #e8b75b; font-size: 10px; font-weight: 400; }
.hero-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.hero-copy-grid section { padding: 15px; border: 1px solid #27303c; border-radius: 8px; background: #101820; }
.hero-copy-grid h4 { margin: 0; color: #e8b75b; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.hero-copy-grid p { max-height: 185px; margin: 8px 0 0; overflow: auto; font-size: 12px; white-space: pre-line; }
.ability-section { margin-top: 20px; }
.ability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ability-card { display: flex; gap: 12px; padding: 13px; border: 1px solid #27303c; border-radius: 8px; background: #0d1118; }
.ability-card > img { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 7px; object-fit: cover; }
.ability-body { min-width: 0; }
.ability-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ability-title h4 { margin: 0; font-size: 14px; }
.ability-title span { color: #e8b75b; font-size: 10px; text-transform: uppercase; }
.ability-card p { margin: 7px 0; font-size: 11px; white-space: pre-line; }
.ability-notes, .ability-upgrade { margin: 7px 0; padding: 7px 8px; border-left: 2px solid #536b7a; color: #aebac2; background: #111b23; font-size: 10px; }
.ability-upgrade { border-left-color: #e8b75b; color: #d7c19a; }
.ability-upgrade b { color: #f1cd88; }
.ability-meta, .ability-traits { display: flex; flex-wrap: wrap; gap: 5px 10px; color: #8491a1; font-size: 10px; }
.ability-meta b, .ability-traits b { color: #c3cdd4; font-weight: 600; }
.ability-traits { margin-top: 7px; padding-top: 7px; border-top: 1px solid #27303c; }
@media (max-width: 900px) { .hero-stats-grid { grid-template-columns: repeat(3, 1fr); } .hero-detail-head { grid-template-columns: 110px 1fr; } .hero-detail-image { width: 110px; height: 110px; } .wiki-link { grid-column: 2; } .ability-list, .hero-copy-grid { grid-template-columns: 1fr; } }
.hero-browser-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; margin: 4px 0 16px; padding: 10px 12px; border: 1px solid #27303c; border-radius: 7px; background: #0d1118; }
.hero-toolbar-label { color: #8391a1; font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }
.hero-filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.hero-filter { height: 30px; padding: 0 10px !important; border: 1px solid #33434f !important; border-radius: 5px !important; color: #9eacb7 !important; background: #101a22 !important; font-size: 11px !important; font-weight: 600 !important; }
.hero-filter:hover, .hero-filter.active { border-color: rgba(232, 183, 91, .45) !important; color: #f4d18c !important; background: rgba(212, 154, 61, .15) !important; }
.attribute-orb { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; vertical-align: 0; }
.attribute-orb.strength { color: #d95555; background: #d95555; }
.attribute-orb.agility { color: #72c889; background: #72c889; }
.attribute-orb.intelligence { color: #6ba9e8; background: #6ba9e8; }
.attribute-orb.universal { color: #c186df; background: linear-gradient(135deg, #d95555, #72c889 48%, #6ba9e8); }
.complexity-filter { min-width: 30px; padding: 0 7px !important; color: #c4ccd2 !important; letter-spacing: 1px; }
.hero-search { margin: 0 0 0 auto; }
.hero-search input { width: 190px; height: 30px; padding: 5px 9px; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-list { display: block; }
.hero-attribute-group + .hero-attribute-group { margin-top: 22px; }
.hero-group-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #27303c; }
.hero-group-heading > div { display: flex; align-items: center; gap: 8px; }
.hero-group-heading h4 { margin: 0; color: #e8edf4; font-size: 13px; letter-spacing: .7px; text-transform: uppercase; }
.hero-group-heading > span { color: #778596; font-size: 11px; }
.hero-group-heading .attribute-orb { width: 10px; height: 10px; margin: 0; }
.hero-group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hero-tile { position: relative; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: 1fr auto; align-items: center; min-height: 78px; overflow: hidden; padding: 8px !important; border-radius: 7px !important; }
.hero-tile img { position: static; grid-column: 1; grid-row: 1 / span 2; width: 72px; height: 60px; margin: 0; border-radius: 5px; object-fit: cover; object-position: center; opacity: .92; transition: transform .2s ease, opacity .2s ease; }
.hero-tile:hover img { transform: scale(1.04); opacity: 1; }
.hero-tile .hero-tile-shade { display: none; }
.hero-tile strong { position: static; grid-column: 2; grid-row: 1; align-self: end; padding-left: 10px; font-size: 12px; line-height: 1.15; }
.hero-tile small { position: static; grid-column: 2; grid-row: 2; align-self: start; padding: 5px 0 0 10px; color: #687987; font-size: 9px; }
.hero-complexity { display: flex; align-items: center; gap: 3px; }
.hero-complexity i { display: block; width: 7px; height: 7px; border: 1px solid #50606d; border-radius: 1px; background: transparent; }
.hero-complexity i.is-filled { border-color: #e8b75b; background: #e8b75b; box-shadow: 0 0 5px rgba(232, 183, 91, .35); }
@media (max-width: 1040px) { .hero-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hero-search { width: 100%; margin-left: 0; } .hero-search input { width: 100%; } .hero-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.announcement-bar.is-dismissed { display: none; }
.announcement-close { position: absolute; top: 50%; right: 16px; z-index: 2; width: 25px; height: 25px; padding: 0 !important; border: 1px solid rgba(255, 255, 255, .38) !important; border-radius: 5px !important; color: #ffffff !important; background: rgba(42, 44, 46, .28) !important; font-size: 17px; font-weight: 500; line-height: 21px; transform: translateY(-50%); }
.announcement-close:hover { border-color: rgba(255, 255, 255, .8) !important; background: rgba(42, 44, 46, .52) !important; }
.meta-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.meta-summary-card { min-height: 104px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.meta-summary-card strong { color: #fafbfa; font-size: 25px; }
.meta-summary-card > span:last-child { color: #82909e; font-size: 11px; }
.meta-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: 18px; }
.meta-list { display: flex; flex-direction: column; }
.meta-row { display: grid; grid-template-columns: 34px 1.2fr 100px 68px; gap: 10px; align-items: center; width: 100%; min-height: 45px; padding: 8px 7px; border: 0; border-bottom: 1px solid #292b2d; border-radius: 0; color: #eff0ef; background: transparent; text-align: left; font-size: 12px; font-weight: 400; }
.meta-row:hover { background: rgba(139, 140, 139, .14); }
.meta-rank { color: #d7d8d7; font-variant-numeric: tabular-nums; }
.meta-row strong { color: #f7f8f7; }
.meta-attribute { color: #9fa09f; font-size: 11px; }
.meta-row > span:nth-last-of-type(1) { color: #8f9ba6; font-size: 11px; }
.meta-row b { color: #aee0b8; text-align: right; }
.meta-row b small { color: #81918b; font-size: 9px; font-weight: 400; }
@media (max-width: 900px) { .meta-layout { grid-template-columns: 1fr; } .meta-summary-grid { grid-template-columns: 1fr; } }

/* UX refinement: quieter surfaces, clearer hierarchy, and fewer competing cards. */
:root { font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; color: #f4f5f4; }
body { background: radial-gradient(circle at 50% -18%, rgba(188, 189, 188, .11), transparent 34%), #08070e; }
.announcement-bar { min-height: 31px; padding: 8px 44px; font-size: 11px; letter-spacing: .1px; }
.sidebar { height: 60px; min-height: 60px; padding: 0 30px; gap: 26px; border-bottom-color: #3a3d3f; background: rgba(22, 24, 26, .96); box-shadow: 0 7px 20px rgba(0, 0, 0, .28); }
.brand { flex-basis: 184px; width: 184px; gap: 10px; }
.brand img { width: 46px; height: 46px; }
.brand span { font-size: 19px; letter-spacing: .7px; }
.brand em { letter-spacing: inherit; }
.main-nav { gap: 6px; }
.nav-item { padding-left: 13px; padding-right: 13px; color: #aeafae; font-size: 12px; font-weight: 650; }
.nav-item img { opacity: .72; }
.nav-item:hover { color: #fdfefd; text-shadow: none; }
.nav-item.active { color: #fdfefd; }
.nav-item::after { right: 13px; left: 13px; bottom: -1px; }
.topbar { min-height: 84px; padding: 22px 48px 18px; border-bottom-color: #242628; background: rgba(15, 17, 19, .78); }
.topbar h1 { font-size: 28px; letter-spacing: -.4px; }
.topbar-meta { gap: 8px; }
.badge, .patch-chip { border-radius: 5px; }
.badge { padding: 6px 8px; color: #bdbebd; background: #1b1d1f; }
.patch-chip { padding: 6px 8px; color: #d9dad9; border-color: #4f5254; background: rgba(128, 129, 128, .14); }
main { max-width: 1240px; padding: 28px 48px 56px; }
.eyebrow { color: #c3c4c3; font-size: 10px; letter-spacing: 1.45px; }
.page-heading { margin: 4px 0 17px; align-items: end; }
.page-heading h2, .home-intro h2 { margin-top: 6px; font-size: 23px; letter-spacing: -.25px; }
.page-heading > .muted { padding-bottom: 2px; text-align: right; }
.panel { padding: 20px; border-color: #282a2c; border-radius: 8px; background: rgba(19, 21, 23, .96); box-shadow: 0 10px 25px rgba(0, 0, 0, .23); }
.search-panel { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(380px, 1.28fr); gap: 6px 26px; align-items: end; padding: 21px 24px 14px; border-color: #3d4042; background: linear-gradient(105deg, rgba(32, 34, 36, .98), rgba(19, 21, 23, .98)); }
.search-panel-heading { display: flex; flex-direction: column; gap: 6px; }
.search-panel-heading h2 { margin: 0; font-size: 20px; }
.search-hint { color: #898a89; font-size: 11px; }
.search-panel .search-row { min-width: 0; }
.search-panel #status { grid-column: 2; margin: 2px 0 0; }
.search-row { gap: 8px; }
input { padding: 11px 12px; border-color: #3f4244; border-radius: 5px; background: #0f1113; }
input::placeholder { color: #6a6d6f; }
input:focus { border-color: #b6b7b6; box-shadow: 0 0 0 2px rgba(182, 183, 182, .13); }
button:not(.nav-item):not(.sub-nav-item):not(.brand) { min-height: 38px; padding: 0 16px; border-radius: 5px; background: #a3a4a3; color: #1a1c1e; }
button:not(.nav-item):not(.sub-nav-item):not(.brand):hover { background: #babbba; }
.home-intro { margin: 30px 0 14px; }
.home-intro > .muted { padding-bottom: 2px; }
.overview-grid, .content-grid, .graph-grid { gap: 14px; margin-top: 14px; }
.section-heading { margin-bottom: 10px; }
.section-heading h2, .section-heading h3 { letter-spacing: -.1px; }
.muted, .empty { color: #868786; }
.stats-grid { gap: 0; border: 1px solid #2a2c2e; border-radius: 6px; overflow: hidden; }
.stat { min-height: 72px; padding: 13px; border-right: 1px solid #2a2c2e; border-radius: 0; background: #101214; }
.stat:last-child { border-right: 0; }
.stat strong { color: #f5f6f5; font-size: 18px; }
.stat span { color: #979897; }
.match, .hero-row, .feed-row, .trend-row, .player-row { border-bottom-color: #282a2c; }
.match:hover, .player-row:hover { background: rgba(134, 135, 134, .1); }
.hero-row { padding: 11px 4px; }
.hero-row span { color: #a0a1a0; }
.feature-grid { gap: 14px; }
.patch-hero { background: radial-gradient(circle at 82% 18%, rgba(128, 129, 128, .18), transparent 43%), #131517; }
.action-link { border-color: #5c5f61; border-radius: 5px; color: #d9dad9; }
.action-link:hover { background: rgba(139, 140, 139, .14); }
.meta-summary-grid { gap: 0; border: 1px solid #2c2e30; border-radius: 7px; overflow: hidden; }
.meta-summary-card { min-height: 88px; padding: 16px 18px; border: 0; border-right: 1px solid #2c2e30; border-radius: 0; box-shadow: none; background: #121416; }
.meta-summary-card:last-child { border-right: 0; }
.meta-summary-card strong { font-size: 22px; }
.meta-layout { gap: 14px; }
.meta-row { min-height: 48px; padding: 8px 5px; border-bottom-color: #282a2c; }
.meta-row:hover { background: rgba(139, 140, 139, .11); }
.meta-row strong { font-weight: 650; }
.meta-row b { color: #b7e3c2; font-weight: 650; }
.trend-row { min-height: 49px; padding: 11px 5px; }
.trend-bar { height: 4px; background: #242628; }
.trend-bar i { background: linear-gradient(90deg, #969796, #cecfce); }
.esports-grid .panel { min-height: 250px; }
.feed-row { padding: 13px 4px; }
.live-label i { width: 6px; height: 6px; }
.hero-browser-toolbar { gap: 10px 14px; margin: 0 0 18px; padding: 0 0 14px; border: 0; border-bottom: 1px solid #2c2e30; border-radius: 0; background: transparent; }
.hero-toolbar-label { color: #939493; letter-spacing: 1.25px; }
.hero-filter-group { gap: 2px; padding: 2px; border: 1px solid #313436; border-radius: 5px; background: #111315; }
.hero-filter { height: 28px; border: 0 !important; border-radius: 3px !important; color: #999a99 !important; background: transparent !important; }
.hero-filter:hover, .hero-filter.active { color: #f1f2f1 !important; background: rgba(146, 147, 146, .22) !important; }
.hero-search input { height: 31px; }
.hero-group-heading { margin-bottom: 9px; padding-bottom: 7px; }
.hero-group-heading h4 { font-size: 12px; letter-spacing: 1px; }
.hero-group-grid { gap: 7px; }
.hero-tile { min-height: 74px; border-color: #2a2c2e !important; border-radius: 6px !important; background: #131517 !important; }
.hero-tile { min-height: 74px !important; }
.hero-filter { min-height: 28px !important; }
.announcement-close { min-height: 25px !important; }
.hero-tile:hover { border-color: #6b6e70 !important; background: #1b1d1f !important; }
.hero-tile strong { color: #eff0ef; font-weight: 650; }
.hero-tile small { color: #7e7f7e; }
.hero-complexity i { width: 6px; height: 6px; border-color: #5a5d5f; }
.hero-complexity i.is-filled { border-color: #bebfbe; background: #bebfbe; }
.hero-detail { border-color: #3f4244; }
.hero-stat, .hero-copy-grid section, .ability-card { border-color: #2c2e30; background: #111315; }
.hero-copy-grid section { border-radius: 6px; }
.hero-copy-grid h4, .ability-title span { color: #cfd0cf; }
.ability-card { border-radius: 6px; }
.ability-notes, .ability-upgrade { background: #17191b; }
.player-search-card { margin-bottom: 14px; }
.player-search-card p { margin: 7px 0 15px; }
.pro-player-list { gap: 7px; }
.pro-player { padding: 13px; border-color: #2c2e30; border-radius: 6px; background: #111315; }
.simple-state { min-height: 190px; border-style: dashed; box-shadow: none; }
.simple-state p { color: #909190; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #d0d1d0; outline-offset: 2px; }
@media (max-width: 900px) { .search-panel { grid-template-columns: 1fr; gap: 12px; } .search-panel #status { grid-column: 1; } .page-heading > .muted { display: none; } }

/* Use more of the available desktop width while keeping comfortable gutters. */
main { width: 100%; max-width: 1500px; padding-left: 32px; padding-right: 32px; }
@media (max-width: 1000px) { main { padding-left: 24px; padding-right: 24px; } }

/* Compact match history: the visual order mirrors the in-game scoreboard. */
.matches-list { overflow-x: auto; }
.match-list-header, .match { display: grid; grid-template-columns: minmax(145px, 1.7fr) 58px 44px 70px 83px 55px 55px minmax(155px, 1.5fr); gap: 8px; align-items: center; min-width: 720px; }
.match-list-header { padding: 0 8px 7px; color: #7d7e7d; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
button.match { min-height: 55px; padding: 8px; border: 0; border-bottom: 1px solid #282a2c; background: transparent !important; color: #e8edf4 !important; }
button.match:hover { background: rgba(134, 135, 134, .1) !important; }
.match-hero { min-width: 0; }
.match-hero img { width: 36px; height: 36px; border-radius: 5px; image-rendering: auto; }
.match-hero strong, .match-hero small, .match-role small, .match-rate small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-hero small { margin-top: 3px; color: #7d7e7d; font-size: 9px; }
.match-role { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #c1c2c1; }
.match-role img { width: 22px; height: 22px; }
.match-role small { max-width: 55px; color: #a1a2a1; font-size: 9px; }
.result-badge { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 5px; font-size: 12px; font-weight: 800; }
.result-badge.win { color: #9de2a6; background: rgba(62, 137, 76, .28); }
.result-badge.loss { color: #f09a9a; background: rgba(141, 49, 59, .25); }
.mmr-cell, .match-rate { display: flex; flex-direction: column; gap: 3px; }
.mmr-cell strong { color: #f5f6f5; font-size: 10px; }
.mmr-cell b { font-size: 12px; }
.match-kda { color: #e8e9e8; font-size: 11px; white-space: nowrap; }
.match-rate b { color: #e8e9e8; font-size: 11px; }
.match-rate small { color: #868786; font-size: 9px; }
.match-team-cell { min-width: 0; }
.match-teams { display: flex; align-items: center; gap: 5px; min-width: 0; color: #abacab; font-size: 9px; }
.match-teams > b { color: #717476; font-size: 9px; }
.team-chip { display: flex; align-items: center; gap: 4px; min-width: 0; }
.team-chip img { width: 19px; height: 19px; flex: 0 0 19px; }
.team-chip strong { max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 600; }
.team-chip.enemy strong { color: #b797a0; }

/* Leaderboard rows: placement, profile, player, top heroes, rank. */
.leaderboard-panel { overflow-x: auto; }
.leaderboard-header, .leaderboard-row { display: grid; grid-template-columns: 105px 48px minmax(180px, 1fr) minmax(170px, 1.25fr) 125px; gap: 14px; align-items: center; min-width: 700px; }
.leaderboard-header { padding: 0 10px 8px; color: #7d7e7d; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.leaderboard-row { min-height: 64px; padding: 9px 10px; border-top: 1px solid #282a2c; }
.leaderboard-row:hover { background: rgba(134, 135, 134, .1); }
.leaderboard-place { color: #d7d8d7; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.leaderboard-avatar { width: 40px; height: 40px; border: 1px solid #3d4042; border-radius: 7px; object-fit: cover; background: #1b1d1f; }
.leaderboard-player-name { min-width: 0; }
.leaderboard-player-name strong, .leaderboard-player-name small, .leaderboard-rank strong, .leaderboard-rank small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leaderboard-player-name strong { color: #f7f8f7; font-size: 13px; }
.leaderboard-player-name small { margin-top: 4px; color: #888988; font-size: 10px; text-transform: uppercase; }
.leaderboard-heroes { display: flex; align-items: center; gap: 8px; }
.leaderboard-hero { display: inline-flex; width: 38px; height: 38px; padding: 2px; border: 1px solid #3f4244; border-radius: 6px; background: #101214; }
.leaderboard-hero img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; image-rendering: auto; }
.leaderboard-no-heroes { color: #7a7b7a; }
.leaderboard-rank { justify-self: end; text-align: right; }
.leaderboard-rank { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.leaderboard-rank > img { width: 34px; height: 34px; object-fit: contain; }
.leaderboard-rank strong { color: #dadbda; font-size: 12px; }
.leaderboard-rank small { margin-top: 4px; color: #a1a2a1; font-size: 10px; font-variant-numeric: tabular-nums; }
.leaderboard-search-row { max-width: 430px; margin: 0 0 18px; }
.leaderboard-search-row label { margin-bottom: 6px; color: #939493; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.leaderboard-search-row button { min-width: 82px; }
/* Leaderboard loading states: skeleton rows before the first chunk, hero placeholders while profiles resolve, load-more footer. */
.leaderboard-skeleton, .leaderboard-hero-skeleton { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, #1f2123 25%, #313436 50%, #1f2123 75%); background-size: 200% 100%; animation: leaderboard-shimmer 1.3s linear infinite; }
.leaderboard-skeleton-avatar { width: 40px; height: 40px; border-radius: 7px; }
.leaderboard-hero-skeleton { width: 38px; height: 38px; border-radius: 6px; }
.leaderboard-row.is-pending .leaderboard-avatar { opacity: .5; }
.leaderboard-more { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 700px; padding: 16px 10px 6px; border-top: 1px solid #282a2c; }
.leaderboard-more button { min-width: 190px; }
@keyframes leaderboard-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .leaderboard-skeleton, .leaderboard-hero-skeleton { animation: none; } }
/* Clickable players: search results, leaderboard rows, match rows and pro players all open the profile. */
.player-results { display: grid; gap: 6px; }
.search-panel .player-results { grid-column: 1 / -1; max-height: 300px; margin-top: 8px; overflow: auto; }
button.player-result { display: flex !important; align-items: center; gap: 12px; width: 100%; min-height: 0 !important; padding: 8px 10px !important; border: 1px solid #2c2e30 !important; border-radius: 6px !important; background: #111315 !important; color: #f7f8f7 !important; font-weight: 400 !important; text-align: left; }
button.player-result:hover, button.player-result:focus-visible { border-color: #9d9e9d !important; background: rgba(134, 135, 134, .16) !important; }
.player-result img { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #3d4042; border-radius: 6px; object-fit: cover; background: #1b1d1f; }
.player-result-body { min-width: 0; flex: 1; }
.player-result-body strong, .player-result-body small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-result-body strong { font-size: 13px; }
.player-result-body small { margin-top: 3px; color: #888988; font-size: 10px; }
.player-result em { color: #d7d8d7; font-size: 11px; font-style: normal; white-space: nowrap; }
button.player-link { min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #f7f8f7 !important; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(215, 216, 215, .45); text-underline-offset: 3px; }
button.player-link:hover { color: #dadbda !important; text-decoration-color: #dadbda; }
.leaderboard-row[role="button"], .pro-player[data-account-id] { cursor: pointer; }
.leaderboard-row:focus-visible, .pro-player:focus-visible { outline: 2px solid #d0d1d0; outline-offset: -2px; }
.pro-player[data-account-id]:hover { border-color: #9d9e9d; background: rgba(134, 135, 134, .12); }
.player-page-open { margin-top: 14px; }
.rank-history-panel { margin-top: 14px; }
.rank-history { display: grid; grid-template-columns: repeat(9, minmax(70px, 1fr)); gap: 8px; overflow-x: auto; }
.rank-history-item { min-width: 70px; padding: 9px 6px; border: 1px solid #2c2e30; border-radius: 6px; background: #101214; text-align: center; }
.rank-history-item img { width: 48px; height: 48px; object-fit: contain; }
.rank-history-item span, .rank-history-item small { display: block; white-space: nowrap; }
.rank-history-item span { margin-top: 5px; color: #edeeed; font-size: 10px; }
.rank-history-item small { margin-top: 3px; color: #858685; font-size: 9px; }
.rank-history-note { margin: 12px 0 0; color: #7d7e7d; font-size: 10px; }
.discord-button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px !important; padding: 0 10px !important; border: 1px solid #4f5254 !important; border-radius: 5px !important; color: #eff0ef !important; background: rgba(128, 129, 128, .16) !important; font-size: 11px; font-weight: 700; }
.discord-button img { width: 17px; height: 17px; }
.discord-button:hover { border-color: #c1c2c1 !important; background: rgba(146, 147, 146, .3) !important; }
.discord-notice { position: fixed; top: 102px; right: 36px; z-index: 50; padding: 11px 14px; border: 1px solid #6a6d6f; border-radius: 6px; color: #fafbfa; background: #1f2123; box-shadow: 0 12px 28px rgba(0, 0, 0, .38); font-size: 12px; }
@media (max-width: 700px) { .discord-button span { display: none; } .discord-button { padding: 0 8px !important; } .discord-notice { right: 16px; } }

/* Steam account */
button#account-button { display:inline-flex; align-items:center; gap:9px; min-height:38px; border:1px solid #7a7b7a; background:#252729; color:#eaebea; white-space:nowrap; }
#account-button svg, .account-symbol svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
button#account-button:hover { background:#35383a; border-color:#bfc0bf; }
.account-dialog { position:fixed; width:min(440px, calc(100vw - 40px)); box-sizing:border-box; max-height:90vh; overflow:auto; margin:auto; padding:34px; color:#f5f6f5; background:radial-gradient(ellipse at top right, #2c2e30, transparent 60%), #151719; border:1px solid #4f5254; border-radius:16px; box-shadow:0 30px 100px #000b; }
.account-dialog::backdrop { background:#07050bc9; backdrop-filter:blur(5px); }
.account-dialog [hidden] { display:none !important; }
.account-dialog h2 { margin:12px 0; font-size:27px; letter-spacing:-.7px; }
.account-dialog p { line-height:1.6; color:#c0c1c0; font-size:14px; }
.account-symbol { position:absolute; top:14px; right:42px; width:32px; height:28px; display:grid; place-items:center; color:#d9dad9; }
.account-symbol svg { width:32px; height:22px; }
.account-dialog button.account-close { position:absolute; right:10px; top:10px; min-width:24px; width:24px; height:24px; padding:0; background:transparent; color:#c0c1c0; font-size:18px; line-height:1; }
.account-dialog button.steam-login { width:100%; margin:14px 0 10px; min-height:49px; display:flex; justify-content:space-between; align-items:center; background:#acadac; color:#191b1d; }
.steam-login-label { display:inline-flex; align-items:center; gap:10px; }
.steam-login-label img { width:20px; height:20px; flex:none; object-fit:contain; filter:brightness(0); }
.account-dialog .account-note { font-size:12px; color:#a9aaa9; }
.account-dialog .account-detail { padding:15px 0; border-top:1px solid #35383a; border-bottom:1px solid #35383a; margin-bottom:16px; }
.account-detail span { display:block; font-size:10px; letter-spacing:1.2px; color:#a9aaa9; margin-bottom:6px; }
.account-detail strong { font-size:14px; font-weight:500; }
.account-dialog form { margin-top:26px; }
.account-dialog label { font-size:14px; font-weight:600; }
.account-dialog label span { font-size:11px; color:#a9aaa9; margin-left:6px; font-weight:400; }
.account-dialog input { width:100%; min-height:42px; box-sizing:border-box; border:1px solid #484b4d; border-radius:6px; background:#121416; color:#f5f6f5; padding:10px 12px; }
.account-dialog button.account-secondary { width:100%; background:#2e3133; color:#e3e4e3; border:1px solid #515456; }
.account-dialog button.account-logout { background:transparent; color:#c0c1c0; padding:0; margin-top:20px; }
.account-dialog button.account-delete { display:block; margin-top:12px; padding:0; border:0; background:transparent; color:#e89393; font:inherit; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.account-dialog .account-public-consent { display:flex !important; align-items:flex-start; gap:8px; margin:13px 0 12px !important; color:#cdcecd; font-size:11px !important; line-height:1.4; }
.account-dialog .account-public-consent input { width:15px !important; min-height:15px !important; margin-top:1px; accent-color:#a3a4a3; }
.account-dialog .account-public-consent a { color:#e3e4e3; }
.account-dialog .account-message { margin-bottom:0; color:#dfe0df; font-size:13px; }
@media(max-width:850px) { .topbar-meta { flex-wrap:wrap; justify-content:flex-end; } .topbar-meta .badge { display:none; } }

/* Header account entry (top right) and a roomier Esports menu. */
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; margin-left: auto; }
.header-actions button#account-button { min-height: 36px; padding: 0 14px; gap: 8px; border-color: #636668; background: rgba(128, 129, 128, .16); color: #f0f1f0; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
.header-actions button#account-button:hover { border-color: #c1c2c1; background: rgba(146, 147, 146, .32); }
.header-actions #account-button svg { width: 18px; height: 18px; }
.account-label-short { display: none; }
.account-avatar { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; object-fit: cover; }
.header-actions button#account-button.signed-in { padding-left: 5px; }
.header-actions button#account-button.signed-in .account-label, .header-actions button#account-button.signed-in .account-label-short { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-nav { top: calc(100% + 1px); padding: 8px; }
.sub-nav-item { min-height: 46px; gap: 12px; padding: 8px 11px; }
.sub-nav-item img { width: 28px; height: 28px; flex-basis: 28px; opacity: .72; transition: opacity .16s ease; }
.sub-nav-item:hover img, .sub-nav-item.active img { opacity: 1; }
/* Narrow windows: shorter account label, then icon only with a compact nav, then a logo-only brand. */
@media (max-width: 1180px) { .header-actions .account-label { display: none; } .header-actions .account-label-short { display: inline; } }
@media (max-width: 1000px) { .sidebar { padding: 0 18px; gap: 16px; } .brand { flex-basis: 170px; width: 170px; } .main-nav { gap: 3px; } .nav-item { padding-left: 9px; padding-right: 9px; } .nav-item::after { right: 9px; left: 9px; } .nav-item img { width: 22px; height: 22px; flex-basis: 22px; } .nav-item[data-tab="home"] img { width: 26px; height: 26px; flex-basis: 26px; } .header-actions .account-label-short { display: none; } .header-actions button#account-button { padding: 0 11px; } }
@media (max-width: 860px) { .brand { flex-basis: 46px; width: 46px; gap: 0; } .brand span { display: none; } }

/* Hero roster: dota2.com-style portrait grid. Cards grow and reveal the name on hover. */
.hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 6px 0; }
.hero-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 4px !important; overflow: hidden; background: #101214 !important; color: #fff !important; text-align: left; transition: transform .3s ease-out, box-shadow .3s ease-out; }
.hero-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-card-shade, .hero-card-name { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease-out; pointer-events: none; }
.hero-card-shade { background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .73) 75%, #000 100%); }
.hero-card-name { top: auto; display: flex; align-items: center; gap: 7px; padding: 0 9px 7px; overflow: hidden; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .85); white-space: nowrap; text-overflow: ellipsis; }
.hero-card-name .attribute-orb { flex: 0 0 auto; width: 11px; height: 11px; margin: 0; }
.hero-card:hover, .hero-card:focus-visible { z-index: 3; transform: scale(1.4); box-shadow: 3px 3px 8px #000; }
.hero-card:hover .hero-card-shade, .hero-card:hover .hero-card-name, .hero-card:focus-visible .hero-card-shade, .hero-card:focus-visible .hero-card-name { opacity: 1; }
.hero-card:focus-visible { outline-offset: 0; }
@media (prefers-reduced-motion: reduce) { .hero-card, .hero-card-shade, .hero-card-name { transition: none; } .hero-card:hover, .hero-card:focus-visible { transform: scale(1.08); } }

/* Home "Dota at a glance": public stats that stay visible without a loaded player. */
#pulse-view { margin-top: 6px; }
#overview-view + #pulse-view, #match-view + #pulse-view { margin-top: 0; }
.pulse-totals { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
.pulse-totals .stat strong { font-size: 20px; }
.pulse-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pulse-live-panel { grid-column: 1 / -1; }
.pulse-row { display: grid; grid-template-columns: 24px 34px minmax(0, 1fr) 92px; gap: 10px; align-items: center; width: 100%; min-height: 46px; padding: 6px 4px !important; border: 0 !important; border-bottom: 1px solid #282a2c !important; border-radius: 0 !important; background: transparent !important; color: #e8edf4 !important; text-align: left; font-size: 12px; font-weight: 400; }
button.pulse-row:hover, button.pulse-row:focus-visible { background: rgba(134, 135, 134, .12) !important; }
.pulse-row:last-child { border-bottom: 0 !important; }
.pulse-rank { color: #d7d8d7; font-size: 11px; font-variant-numeric: tabular-nums; }
.pulse-row img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; background: #101214; }
.pulse-row.item img { width: 34px; height: 25px; border-radius: 4px; object-fit: contain; background: #17191b; }
.pulse-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pulse-main strong, .pulse-row.compact strong { overflow: hidden; color: #f5f6f5; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.pulse-main .trend-bar { display: block; width: 100%; max-width: 220px; }
.pulse-value { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pulse-value b { color: #e8e9e8; font-size: 12px; font-variant-numeric: tabular-nums; }
.pulse-value small { color: #868786; font-size: 10px; white-space: nowrap; }
.pulse-row.compact { grid-template-columns: 24px 30px minmax(0, 1fr) 62px; min-height: 40px; }
.pulse-row.compact img { width: 30px; height: 30px; }
.pulse-pro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.pulse-pro h4 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid #2c2e30; color: #939493; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.pulse-live strong span { margin: 0 6px; padding: 2px 7px; border-radius: 4px; color: #d9dad9; background: rgba(128, 129, 128, .2); font-variant-numeric: tabular-nums; }
.pulse-live > span { color: #868786; font-size: 11px; white-space: nowrap; }
@media (max-width: 1100px) { .pulse-totals { grid-template-columns: repeat(3, 1fr); } .pulse-totals .stat { border-bottom: 1px solid #2a2c2e; } }
@media (max-width: 900px) { .pulse-grid { grid-template-columns: 1fr; } .pulse-pro { grid-template-columns: 1fr; } }

/* Player profile: header, two-column layout (side cards + match history), hero/peer rows, match rows. */
.profile-header { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 18px 20px; }
.profile-header.empty { display: block; }
.profile-avatar.large { width: 86px; height: 86px; flex-basis: 86px; border-radius: 12px; }
.profile-identity { min-width: 0; flex: 1; }
.profile-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.profile-name-row h2 { margin: 0; font-size: 26px; letter-spacing: -.3px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid #3d4042; border-radius: 5px; color: #d7d8d7; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; background: rgba(134, 135, 134, .12); }
.chip.gold { color: #f2cf7a; border-color: #6a5220; background: rgba(212, 154, 61, .14); }
.chip.plus { color: #f2cf7a; border-color: #6a5220; background: rgba(212, 154, 61, .14); }
.chip.warn { color: #f0a97a; border-color: #6b3d22; background: rgba(214, 120, 60, .14); text-transform: none; letter-spacing: 0; }
.profile-meta { margin-top: 7px; color: #a1a2a1; font-size: 12px; }
.profile-aliases { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; color: #868786; }
.profile-aliases em { padding: 2px 7px; border-radius: 4px; background: #1b1d1f; color: #bdbebd; font-style: normal; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ghost-button, a.ghost-button, button.ghost-button { display: inline-flex !important; align-items: center; gap: 8px; min-height: 36px !important; padding: 0 14px !important; border: 1px solid #4f5254 !important; border-radius: 6px !important; color: #eaebea !important; background: rgba(128, 129, 128, .14) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.ghost-button:hover { border-color: #c1c2c1 !important; background: rgba(146, 147, 146, .3) !important; }
.ghost-button.hidden { display: none !important; }
.profile-rank-badge { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 120px; padding: 10px 12px; border: 1px solid #2c2e30; border-radius: 8px; background: #101214; text-align: center; }
.profile-rank-badge img { width: 74px; height: 74px; object-fit: contain; }
.profile-rank-badge strong { color: #f5f6f5; font-size: 13px; }
.profile-rank-badge small { color: #a1a2a1; font-size: 10px; }
.profile-layout { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.profile-side, .profile-main { display: grid; gap: 14px; min-width: 0; }
.profile-side .panel, .profile-main .panel { padding: 16px; }
.profile-side h3, .profile-main h3 { margin: 0; font-size: 14px; }
.rank-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rank-hero img { width: 60px; height: 60px; object-fit: contain; }
.rank-hero strong { display: block; font-size: 16px; color: #f5f6f5; }
.rank-hero small { display: block; margin-top: 3px; color: #a1a2a1; font-size: 11px; }
.wl-rows { display: grid; gap: 8px; }
.wl-row { display: grid; grid-template-columns: 82px 78px 1fr 42px; align-items: center; gap: 8px; font-size: 11px; color: #aaabaa; }
.wl-row b { color: #edeeed; font-variant-numeric: tabular-nums; }
.wl-row em { text-align: right; font-style: normal; font-weight: 700; }
.wl-row .trend-bar, .count-row .trend-bar { display: block; height: 5px; border-radius: 4px; overflow: hidden; background: #242628; }
.wl-row .trend-bar i, .count-row .trend-bar i { display: block; height: 100%; }
.wl-row .trend-bar i.win { background: linear-gradient(90deg, #3e894c, #8dd49a); }
.wl-row .trend-bar i.loss { background: linear-gradient(90deg, #8d313b, #e08484); }
.hero-stat-list, .peer-list { display: grid; gap: 4px; }
button.hero-stat, button.peer-row { display: grid !important; align-items: center; gap: 10px; width: 100%; min-height: 0 !important; padding: 7px 8px !important; border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important; color: #e8edf4 !important; font-weight: 400 !important; text-align: left; }
button.hero-stat { grid-template-columns: 34px minmax(0, 1fr) 62px; }
button.peer-row { grid-template-columns: 34px minmax(0, 1fr) 62px; }
button.hero-stat:hover, button.peer-row:hover, button.hero-stat.active { border-color: #4f5254 !important; background: rgba(134, 135, 134, .12) !important; }
button.hero-stat.active { border-color: #a3a4a3 !important; }
.hero-stat img, .peer-row img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; background: #1b1d1f; }
.hero-stat-main, .peer-main { min-width: 0; }
.hero-stat-main strong, .peer-main strong, .hero-stat-main small, .peer-main small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stat-main strong, .peer-main strong { font-size: 12px; }
.hero-stat-main small, .peer-main small { margin-top: 2px; color: #888988; font-size: 10px; }
.hero-stat-main small b { color: #f5f6f5; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-stat-wr, .hero-stat-rank, .peer-wr { text-align: right; }
.hero-stat-wr b, .peer-wr b, .hero-stat-rank b { display: block; font-size: 12px; }
.hero-stat-rank b { color: #d7d8d7; }
.hero-stat-wr small, .peer-wr small, .hero-stat-rank small { display: block; color: #888988; font-size: 10px; font-variant-numeric: tabular-nums; }
#profile-heroes-more { margin-top: 10px; width: 100%; justify-content: center; }
.totals-grid { grid-template-columns: repeat(2, 1fr); }
.totals-grid .stat { min-height: 58px; padding: 10px 12px; border-bottom: 1px solid #2a2c2e; }
.totals-grid .stat strong { font-size: 14px; }
.totals-grid .stat span { font-size: 10px; }
.count-groups { display: grid; gap: 14px; }
.count-group h4 { margin: 0 0 6px; color: #939493; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.count-row { display: grid; grid-template-columns: 92px 1fr 36px 58px; align-items: center; gap: 8px; padding: 3px 0; font-size: 11px; color: #cdcecd; }
.count-row .trend-bar i { background: linear-gradient(90deg, #969796, #cecfce); }
.count-row b { text-align: right; font-variant-numeric: tabular-nums; }
.count-row small { text-align: right; font-size: 10px; }
.recent-summary { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; }
.recent-ring { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(#8dd49a calc(var(--pct) * 1%), #2f3234 0); }
.recent-ring.loss { background: conic-gradient(#e08484 calc(var(--pct) * 1%), #2f3234 0); }
.recent-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #131517; }
.recent-ring b, .recent-ring small { position: relative; }
.recent-ring b { font-size: 18px; color: #f5f6f5; }
.recent-ring small { color: #a1a2a1; font-size: 10px; }
.recent-stats { display: grid; grid-template-columns: max-content max-content; justify-content: start; column-gap: 22px; row-gap: 10px; }
.recent-stats b { display: block; font-size: 14px; color: #f5f6f5; }
.recent-stats small { color: #a1a2a1; font-size: 10px; }
.recent-heroes { display: flex; gap: 10px; }
.recent-heroes span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.recent-heroes img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #1b1d1f; }
.recent-heroes b { font-size: 11px; }
.recent-heroes small { color: #888988; font-size: 9px; }
.streak { grid-column: 1 / -1; display: flex; gap: 3px; }
.streak i { flex: 1; height: 6px; border-radius: 2px; background: #2f3234; }
.streak i.win { background: #6fbf7c; } .streak i.loss { background: #c96a6a; }
.match-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.match-filters button { min-height: 26px !important; padding: 0 10px !important; border: 1px solid #3d4042 !important; border-radius: 4px !important; background: transparent !important; color: #bdbebd !important; font-size: 11px; font-weight: 700; }
.match-filters button.active, .match-filters button:hover { border-color: #a3a4a3 !important; color: #f7f8f7 !important; background: rgba(134, 135, 134, .16) !important; }
.match-filters button.hero-chip { display: inline-flex !important; align-items: center; gap: 6px; border-color: #a3a4a3 !important; color: #f7f8f7 !important; }
.match-filters button.hero-chip img { width: 18px; height: 18px; border-radius: 3px; }
.match-filters button.hero-chip b { color: #d7d8d7; }
.mh-list { display: grid; gap: 6px; margin-top: 4px; }
button.mh-row { display: grid !important; grid-template-columns: 78px 118px 112px 40px 46px 92px 66px 82px 68px minmax(150px, 1fr) 84px; align-items: center; gap: 6px; width: 100%; min-height: 0 !important; padding: 9px 10px 9px 12px !important; border: 1px solid #282a2c !important; border-left-width: 4px !important; border-radius: 6px !important; background: #101214 !important; color: #e8edf4 !important; font-weight: 400 !important; text-align: left; }
button.mh-row.win { border-left-color: #6fbf7c !important; background: rgba(62, 137, 76, .09) !important; }
button.mh-row.loss { border-left-color: #c96a6a !important; background: rgba(141, 49, 59, .09) !important; }
button.mh-row:hover { border-color: #4f5254 !important; }
.mh-row b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.mh-row small { display: block; color: #a1a2a1; font-size: 11px; white-space: nowrap; }
.mh-meta b { color: #dadbda; }
.mh-hero { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.mh-hero img { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 6px; object-fit: cover; background: #1b1d1f; }
.mh-hero i { position: absolute; left: 28px; bottom: -3px; min-width: 16px; padding: 0 3px; border-radius: 3px; background: #1f2123; color: #eaebea; font-size: 10px; font-style: normal; font-weight: 700; text-align: center; }
.mh-hero small { color: #f7f8f7; white-space: normal; font-size: 12px; font-weight: 600; line-height: 1.2; }
.mh-performance-chart { display: block; width: 112px; height: 30px; margin-left: -3px; }
.mh-performance-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mh-performance-chart line:not(.mh-performance-baseline) { stroke-width: 2; stroke-linecap: round; }
.mh-performance-baseline { stroke: #585a59; stroke-width: .8; stroke-dasharray: 3 3; opacity: .65; }
.mh-role { display: flex; align-items: center; justify-content: center; min-width: 0; }
.mh-role img { width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.mh-result b { font-size: 13px; letter-spacing: .6px; }
.mh-row.win .mh-result b { color: #8dd49a; } .mh-row.loss .mh-result b { color: #e08484; }
.mh-result small { color: #e08484; }
.mh-items { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.mh-items img, .mh-items i { width: 36px; height: 26px; border-radius: 3px; background: #1b1d1f; object-fit: cover; }
.mh-items .neutral { margin-left: 5px; }
.mh-items .neutral img { width: 30px; height: 30px; border-radius: 50%; }
.mh-extra { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.mh-extra > img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.mh-party { display: inline-flex; align-items: center; gap: 3px; color: #d6d7d6; font-variant-numeric: tabular-nums; transform: translateX(-7px); }
.mh-party img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; opacity: .88; }
.mh-party b { font-size: 12px; }
.profile-more { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
@media (max-width: 1500px) { button.mh-row { grid-template-columns: 78px 108px 112px 40px 46px 88px 82px minmax(140px, 1fr) 84px; } .mh-farm, .mh-dmg { display: none; } }
@media (max-width: 1150px) { .profile-layout { grid-template-columns: 1fr; } .profile-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } .recent-summary { grid-template-columns: 96px 1fr; } .recent-heroes { grid-column: 1 / -1; } }
@media (max-width: 900px) { .profile-side { grid-template-columns: 1fr; } .profile-header { flex-wrap: wrap; } button.mh-row { grid-template-columns: 78px 1fr 46px 88px; } .mh-rate, .mh-items, .mh-extra, .mh-role, .mh-performance-chart { display: none; } }

/* Skeleton blocks for the profile loading state (same layout as the loaded page). */
.sk { display: inline-block; max-width: 100%; vertical-align: middle; border-radius: 4px; background: linear-gradient(90deg, #1f2123 25%, #313436 50%, #1f2123 75%); background-size: 200% 100%; animation: leaderboard-shimmer 1.3s linear infinite; }
.sk.block { display: block; }
.sk.block + .sk.block { margin-top: 6px; }
.sk.round { border-radius: 50%; }
.sk.profile-avatar { border-color: #2f3234; }
.rank-hero .sk.round { flex: 0 0 60px; }
.is-loading button:disabled { opacity: 1; cursor: default; }
.is-loading button.mh-row:hover, .is-loading button.hero-stat:hover, .is-loading button.peer-row:hover { border-color: transparent !important; background: transparent !important; }
.is-loading button.mh-row, .is-loading button.mh-row:hover { border-color: #282a2c !important; border-left-color: #2f3234 !important; background: #101214 !important; }
.recent-summary.is-loading > .sk.round { width: 96px; height: 96px; }
.recent-heroes .sk { display: block; }
.mh-hero .sk + .sk { margin-left: 8px; }
.wl-row .sk, .count-row .sk { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.is-loading button.hero-stat { min-height: 60px !important; } .is-loading button.peer-row { min-height: 50px !important; } .is-loading button.mh-row { min-height: 64px !important; } .totals-grid.is-loading .stat { min-height: 61px; } .count-groups.is-loading .count-row { min-height: 21px; } .count-groups.is-loading h4 { min-height: 14px; } .is-loading .wl-row { min-height: 15px; }
.profile-footer-sk { display: flex; align-items: center; gap: 12px; margin-top: 12px; }

/* Multi-page site: navigation and list rows are real links now; keep the former button styling. */
a.brand, a.nav-item, a.sub-nav-item, a.pulse-row, a.meta-row, a.trend-row, a.hero-card, a.player-result, a.peer-row, a.pro-player, a.player-link, a.inline-action { text-decoration: none; cursor: pointer; }
a.brand { color: #ffffff; }
a.nav-item, a.sub-nav-item { color: #aeafae; }
a.nav-item:hover, a.nav-item.active { color: #fdfefd; }
a.sub-nav-item:hover { color: #fff; }
a.sub-nav-item.active { color: #f6d38f; }
a.trend-row { color: inherit; }
a.trend-row:hover, a.meta-row:hover { background: rgba(139, 140, 139, .11); }
a.pulse-row:hover, a.pulse-row:focus-visible { background: rgba(134, 135, 134, .12) !important; }
a.hero-card { display: block; color: #fff; }
a.player-result { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 1px solid #2c2e30; border-radius: 6px; background: #111315; color: #f7f8f7; font-weight: 400; text-align: left; }
a.player-result:hover, a.player-result:focus-visible { border-color: #9d9e9d; background: rgba(134, 135, 134, .16); }
a.peer-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 62px; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 1px solid transparent; border-radius: 6px; color: #e8edf4; font-weight: 400; text-align: left; }
a.peer-row:hover { border-color: #4f5254; background: rgba(134, 135, 134, .12); }
a.pro-player { display: block; color: inherit; }
a.pro-player:hover { border-color: #9d9e9d; background: rgba(134, 135, 134, .12); }
a.player-link { color: #f7f8f7; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(215, 216, 215, .45); text-underline-offset: 3px; }
a.player-link:hover { color: #dadbda; text-decoration-color: #dadbda; }
a.inline-action { display: inline-flex; align-items: center; height: 34px; margin-top: 8px; padding: 0 13px; border-radius: 5px; background: #a3a4a3; color: #1a1c1e; font-weight: 700; }
a.inline-action:hover { background: #babbba; }
/* The header shell no longer wraps <main>, so it must not claim the viewport height. */
.app-shell { min-height: 0; }
body > main { display: block; }
/* Match details: role column between player and result, hero names in white. */
.player-row { grid-template-columns: 1.5fr 124px 80px 92px 92px 1fr; }
.player-hero { color: #f9faf9; }
.player-role { display: inline-flex; align-items: center; gap: 7px; color: #e0e1e0; font-size: 11px; font-weight: 600; white-space: nowrap; }
.player-role img { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
@media (max-width: 920px) { .player-row { grid-template-columns: 1.4fr 110px 70px 80px 80px; } }
/* In-app navigation: the page fades briefly while the next <main> is fetched; a thin bar under the header shows progress. */
body > main { transition: opacity .18s ease; }
body.is-navigating > main { opacity: .55; pointer-events: none; }
.sidebar::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: linear-gradient(90deg, #969796, #cecfce); content: ""; opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity .15s ease; }
body.is-navigating .sidebar::after { opacity: 1; animation: nav-progress 1.2s ease-out forwards; }
@keyframes nav-progress { from { transform: scaleX(0); } 60% { transform: scaleX(.8); } to { transform: scaleX(.95); } }
.sidebar { position: relative; }

/* Hero statistics page (dota2protracker-style block under the hero header). */
.hero-stats-page { display: grid; gap: 14px; margin-top: 18px; }
.hs-roles { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.hs-role { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 112px; padding: 9px 12px; border: 1px solid #2c2e30; border-radius: 6px; background: #101214; }
.hs-role small { color: #939493; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.hs-role b { font-size: 16px; }
.hs-role span { color: #a1a2a1; font-size: 10px; font-variant-numeric: tabular-nums; }
.hs-role.all { border-color: #4f5254; background: rgba(134, 135, 134, .12); }
.hs-role.popular { border-color: #a3a4a3; box-shadow: 0 0 0 1px rgba(163, 164, 163, .35) inset; }
.hs-role.empty { opacity: .5; }
.hs-role-note { display: flex; flex-direction: column; justify-content: center; gap: 2px; margin-left: auto; padding: 9px 12px; text-align: right; }
.hs-role-note span { color: #939493; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.hs-role-note b { color: #dadbda; font-size: 14px; }
.hs-role-note small { color: #a1a2a1; font-size: 10px; }
.hs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hs-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-card { padding: 16px; border: 1px solid #282a2c; border-radius: 8px; background: #131517; }
.hs-card h3 { margin: 0; font-size: 14px; }
.hs-card h4 { margin: 0 0 8px; color: #939493; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.hs-card .hs-body > h4, .hs-build-grid h4, .hs-phase h4 { margin-top: 12px; }
.hs-body { margin-top: 12px; }
.hs-foot { margin: 12px 0 0; color: #a1a2a1; font-size: 11px; }
.hs-foot b { color: #edeeed; }
.dim { color: #939493; }
.hs-trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hs-spark { width: 100%; height: 84px; overflow: visible; }
.hs-spark-area { opacity: .12; }
.hs-spark-label { fill: #a1a2a1; font-size: 10px; }
.hs-spark-label.strong { fill: #f5f6f5; font-weight: 700; }
.hs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-tile { padding: 10px 12px; border: 1px solid #2a2c2e; border-radius: 6px; background: #101214; }
.hs-tile b { display: block; font-size: 16px; color: #f5f6f5; }
.hs-tile small { display: block; margin-top: 3px; color: #979897; font-size: 10px; }
.hs-bars { display: flex; align-items: flex-end; gap: 6px; min-height: 170px; }
.hs-bar { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.hs-bar b { font-size: 11px; font-variant-numeric: tabular-nums; }
.hs-bar-track { display: flex; align-items: flex-end; width: 100%; max-width: 46px; height: 92px; border-radius: 4px; background: #1b1d1f; overflow: hidden; }
.hs-bar-track i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #8dd49a, #3e894c); }
.hs-bar-track i.loss { background: linear-gradient(180deg, #e08484, #8d313b); }
.hs-bar img { width: 28px; height: 28px; object-fit: contain; }
.hs-bar small { max-width: 100%; color: #bdbebd; font-size: 9px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-bar small.dim { color: #868786; }
.hs-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 11px; color: #a1a2a1; }
.hs-controls button { min-height: 24px !important; padding: 0 9px !important; border: 1px solid #3d4042 !important; border-radius: 4px !important; background: transparent !important; color: #bdbebd !important; font-size: 11px; font-weight: 700; }
.hs-controls button.active, .hs-controls button:hover { border-color: #a3a4a3 !important; color: #f7f8f7 !important; background: rgba(134, 135, 134, .16) !important; }
.hs-controls .dim { margin-left: auto; }
.hs-spectrum { position: relative; height: 140px; margin: 6px 0 14px; border: 1px solid #282a2c; border-radius: 6px; background: linear-gradient(90deg, rgba(141, 49, 59, .18), transparent 45%, transparent 55%, rgba(62, 137, 76, .18)); overflow: hidden; }
.hs-spec-axis { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed #4f5254; }
.hs-spec-mark { position: absolute; bottom: 2px; transform: translateX(-50%); color: #939493; font-size: 9px; font-weight: 700; }
.hs-spec-mark.center { color: #d7d8d7; }
.hs-spec-hero { position: absolute; width: 26px; height: 26px; transform: translateX(-50%); border: 1px solid #3f4244; border-radius: 4px; background: #101214; overflow: hidden; transition: transform .12s ease; }
.hs-spec-hero:hover { z-index: 2; transform: translateX(-50%) scale(1.5); border-color: #d7d8d7; }
.hs-spec-hero img { width: 100%; height: 100%; object-fit: cover; }
.hs-matchup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.hs-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 90px 52px; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; border-radius: 5px; color: #e8edf4; text-decoration: none; }
a.hs-row:hover { background: rgba(134, 135, 134, .12); }
.hs-row > img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; background: #1b1d1f; }
.hs-row > img.medal { width: 28px; height: 28px; object-fit: contain; }
.hs-row-name { min-width: 0; }
.hs-row-name strong, .hs-row-name small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-row-name strong { font-size: 12px; }
.hs-row-name small { margin-top: 2px; color: #888988; font-size: 10px; }
.hs-row .trend-bar { display: block; height: 5px; border-radius: 4px; overflow: hidden; background: #242628; }
.hs-row .trend-bar i { display: block; height: 100%; background: linear-gradient(90deg, #969796, #cecfce); }
.hs-row .trend-bar i.win { background: linear-gradient(90deg, #3e894c, #8dd49a); }
.hs-row .trend-bar i.loss { background: linear-gradient(90deg, #8d313b, #e08484); }
.hs-row > b { font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.hs-row > b.result { width: 26px; height: 26px; margin: 0 auto; border-radius: 4px; line-height: 26px; text-align: center; background: rgba(62, 137, 76, .22); }
.hs-row > b.result.loss { background: rgba(141, 49, 59, .25); }
.hs-row > em { font-size: 12px; font-style: normal; color: #d7d8d7; text-align: right; font-variant-numeric: tabular-nums; }
.hs-row > .dim, .hs-row > small.dim { font-size: 11px; text-align: right; white-space: nowrap; }
.hs-row.static { grid-template-columns: minmax(0, 1fr) 90px 62px 62px; }
#hs-pro .hs-row { grid-template-columns: 30px minmax(0, 1fr) 46px 58px; }
.hs-bench-head { display: grid; grid-template-columns: minmax(0, 1fr) 90px 62px 62px; gap: 10px; padding: 0 6px 4px; color: #939493; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }
.hs-bench-head b, .hs-bench-head em { text-align: right; font-style: normal; }
.hs-bench-head em { color: #d7d8d7; }
.hs-build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 14px 24px; }
.hs-item-row, .hs-timeline, .hs-ability-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-item { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.hs-item img, .hs-item i { display: block; width: 44px; height: 32px; border-radius: 4px; background: #1b1d1f; object-fit: cover; }
.hs-item small { color: #a1a2a1; font-size: 9px; font-variant-numeric: tabular-nums; }
.hs-item.timed { min-width: 52px; padding: 5px 4px; border: 1px solid #2c2e30; border-radius: 6px; background: #101214; }
.hs-item.timed b { font-size: 11px; color: #f5f6f5; }
.hs-ability { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.hs-ability img, .hs-ability b { display: block; width: 34px; height: 34px; border-radius: 5px; background: #1b1d1f; object-fit: cover; }
.hs-ability b { display: grid; place-items: center; color: #f2cf7a; font-size: 13px; border: 1px solid #6a5220; }
.hs-ability small { color: #939493; font-size: 9px; }
.hs-phase { margin-bottom: 4px; }
.hs-card.is-loading .hs-bar-track i.sk, .hero-stats-page.is-loading .hs-bar-track i { width: 100%; border-radius: 4px 4px 0 0; }
.hero-stats-page.is-loading .hs-item-row .sk, .hero-stats-page.is-loading .hs-timeline .sk, .hero-stats-page.is-loading .hs-ability-row .sk { display: inline-block; }
@media (max-width: 1100px) { .hs-grid, .hs-grid.two, .hs-matchup-grid, .hs-build-grid, .hs-trend-grid { grid-template-columns: 1fr; } }

/* Private / unlinked profile notice. */
.profile-private { margin-top: 14px; padding: 14px 18px; border: 1px solid #6b3d22; border-radius: 8px; background: rgba(214, 120, 60, .1); }
.profile-private strong { display: block; color: #f0a97a; font-size: 13px; }
.profile-private p { max-width: 760px; margin: 6px 0 0; color: #cdcecd; font-size: 12px; line-height: 1.5; }
.profile-private em { color: #f7f8f7; font-style: normal; font-weight: 700; }
.profile-private .profile-actions { margin-top: 10px; }

/* Hero page: compact heading with a small back link, banner head, attribute strip, collapsible abilities and lore. */
.hero-heading { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.hero-heading .crumb-back { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 1px solid #3f4244; border-radius: 5px; color: #d9dad9; background: rgba(128, 129, 128, .12); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero-heading .crumb-back:hover { border-color: #c1c2c1; background: rgba(146, 147, 146, .28); color: #fff; }
.hero-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.25px; }
.hero-heading .muted { margin-left: auto; }
.hero-detail { margin-top: 0; padding: 0 !important; overflow: hidden; }
.hero-detail > .empty, .hero-detail-loading { padding: 28px 24px; }
.hero-banner { position: relative; background: #101214 center 22% / cover no-repeat; }
.hero-banner::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 18, .97) 0%, rgba(14, 16, 18, .9) 40%, rgba(14, 16, 18, .6) 100%), linear-gradient(180deg, rgba(14, 16, 18, .15), rgba(14, 16, 18, .9)); backdrop-filter: blur(14px); content: ''; }
.hero-banner-inner { position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; }
.hero-portrait { width: 118px; height: 118px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 8px; object-fit: cover; object-position: center 18%; box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }
.hero-banner-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #cfd0cf; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.hero-banner-meta .attribute-orb { width: 11px; height: 11px; margin: 0; }
.hero-complexity-label { color: #a8a9a8; }
.hero-complexity-label em { color: #4e5153; font-style: normal; }
.hero-banner h2 { margin: 6px 0 5px; font-size: 30px; letter-spacing: -.4px; }
.hero-banner p { max-width: 640px; margin: 0; color: #cdcecd; font-size: 13px; line-height: 1.45; }
.hero-banner .wiki-link { align-self: start; color: #cfd0cf; }
.hero-attr-strip { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 24px; border-top: 1px solid #282a2c; border-bottom: 1px solid #282a2c; background: #111315; }
.hero-attr { display: flex; align-items: baseline; gap: 7px; padding: 5px 10px; border: 1px solid #2c2e30; border-radius: 5px; background: #131517; font-size: 12px; }
.hero-attr span { color: #939493; font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.hero-attr strong { color: #f5f6f5; font-variant-numeric: tabular-nums; }
.hero-attr small { color: #c3c4c3; font-size: 10px; }
.hero-attr.str strong { color: #f29a9a; } .hero-attr.agi strong { color: #93e3a8; } .hero-attr.int strong { color: #94c5ff; }
.hero-abilities { padding: 16px 24px 4px; }
.hero-abilities .section-heading { margin-bottom: 8px; }
.ability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
details.ability-card { display: block; padding: 0; border: 1px solid #2c2e30; border-radius: 6px; background: #111315; }
details.ability-card[open] { border-color: #4f5254; }
.ability-card summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; list-style: none; }
.ability-card summary::-webkit-details-marker { display: none; }
.ability-card summary:hover { background: rgba(134, 135, 134, .1); }
.ability-card summary img { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 5px; object-fit: cover; }
.ability-name { min-width: 0; }
.ability-name h4 { margin: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.ability-name small { display: block; margin-top: 2px; color: #939493; font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.ability-cost { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; color: #c3cdd4; font-size: 10px; white-space: nowrap; }
.ability-card .ability-body { padding: 0 10px 10px 60px; }
.ability-card .ability-body p { margin: 0 0 7px; color: #dbdcdb; font-size: 11px; line-height: 1.5; white-space: pre-line; }
.hero-lore { margin: 12px 24px 18px; }
.hero-lore summary { cursor: pointer; color: #cfd0cf; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; list-style: none; }
.hero-lore summary::-webkit-details-marker { display: none; }
.hero-lore summary::before { content: '▸ '; }
.hero-lore[open] summary::before { content: '▾ '; }
.hero-lore-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.hero-lore-body section { padding: 14px; border: 1px solid #2c2e30; border-radius: 6px; background: #111315; }
.hero-lore-body h4 { margin: 0; color: #cfd0cf; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.hero-lore-body p { max-height: 220px; margin: 8px 0 0; overflow: auto; color: #dbdcdb; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.hero-detail .hero-stats-page { margin: 16px 24px 0; }
.hero-detail .hero-stats-page + .hero-lore { margin-top: 16px; }
@media (max-width: 900px) { .hero-banner-inner { grid-template-columns: 90px 1fr; } .hero-portrait { width: 90px; height: 90px; } .hero-banner .wiki-link { grid-column: 2; } .hero-lore-body { grid-template-columns: 1fr; } .hero-heading .muted { display: none; } }
.hero-detail-head { display: block; gap: 0; }
.hero-banner-inner .wiki-link { grid-column: 3; }
.hero-abilities .section-heading h3 { font-size: 15px; }

/* Match view: score header, draft, tabbed scoreboard, advantage charts, objectives and teamfights. */
.match-heading { margin-bottom: 14px; }
button.crumb-back { display: inline-flex; align-items: center; gap: 6px; min-height: 30px !important; padding: 0 11px !important; border: 1px solid #3f4244 !important; border-radius: 5px !important; color: #d9dad9 !important; background: rgba(128, 129, 128, .12) !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
button.crumb-back:hover { border-color: #c1c2c1 !important; background: rgba(146, 147, 146, .28) !important; color: #fff !important; }
.match-header { display: block; padding: 0 !important; overflow: hidden; }
.mv-loading { padding: 28px; color: #939493; font-size: 14px; text-align: center; }
.mv-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 22px; background: linear-gradient(90deg, rgba(62, 137, 76, .16), transparent 30%, transparent 70%, rgba(141, 49, 59, .16)); }
.mv-team { display: flex; flex-direction: column; gap: 3px; }
.mv-team.dire { align-items: flex-end; text-align: right; }
.mv-team-label { color: #9e9f9e; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.mv-team.radiant .mv-team-label { color: #9de2a6; } .mv-team.dire .mv-team-label { color: #f09a9a; }
.mv-team strong { color: #f5f6f5; font-size: 16px; }
.mv-team .mv-score { font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mv-team.radiant .mv-score { color: #9de2a6; } .mv-team.dire .mv-score { color: #f09a9a; }
.mv-team small { color: #a8a9a8; font-size: 12px; }
.mv-team.winner strong::after { content: 'Winner'; display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 3px; color: #0b1a10; background: #9de2a6; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; vertical-align: 2px; }
.mv-center { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 120px; }
.mv-vs { color: #f5f6f5; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mv-mode { color: #b2b3b2; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.mv-result { margin-top: 4px; padding: 3px 9px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.mv-result.win { color: #9de2a6; background: rgba(62, 137, 76, .22); } .mv-result.loss { color: #f09a9a; background: rgba(141, 49, 59, .22); }
.mv-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 11px 22px; border-top: 1px solid #282a2c; background: #111315; }
.mv-facts span { display: flex; flex-direction: column; gap: 2px; }
.mv-facts small { color: #a1a2a1; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.mv-facts b { display: inline-flex; align-items: center; gap: 5px; color: #eff0ef; font-size: 13px; font-weight: 600; }
.mv-facts b img { width: 18px; height: 18px; }
.mv-facts i { font-style: normal; } .mv-facts i.radiant { color: #9de2a6; } .mv-facts i.dire { color: #f09a9a; }
.mv-facts a { color: #cfd0cf; text-decoration: none; } .mv-facts a:hover { color: #fff; }
.mv-panel { margin-top: 14px; }
.mv-panel .section-heading h3 { font-size: 16px; }
.mv-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.mv-draft-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.mv-draft-row + .mv-draft-row { border-top: 1px solid #282a2c; }
.mv-draft-label { flex: 0 0 90px; font-size: 13px; font-weight: 700; }
.mv-draft-row.radiant .mv-draft-label { color: #9de2a6; } .mv-draft-row.dire .mv-draft-label { color: #f09a9a; }
.mv-draft-list { display: flex; flex-wrap: wrap; gap: 5px; }
.mv-draft-hero { position: relative; display: inline-block; width: 40px; height: 40px; border-radius: 5px; overflow: hidden; }
.mv-draft-hero img { width: 100%; height: 100%; object-fit: cover; }
.mv-draft-hero.ban img { filter: grayscale(1) brightness(.45); }
.mv-draft-hero.ban::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #f09a9a; font-size: 18px; font-weight: 800; content: '✕'; }
.mv-draft-hero small { position: absolute; right: 2px; bottom: 1px; padding: 0 3px; border-radius: 3px; color: #fff; background: rgba(0, 0, 0, .7); font-size: 9px; }
.mv-tabs { display: flex; gap: 2px; margin-bottom: 10px; padding: 2px; border: 1px solid #313436; border-radius: 5px; background: #111315; width: max-content; }
.mv-tabs button { min-height: 30px !important; padding: 0 13px !important; border: 0 !important; border-radius: 3px !important; color: #999a99 !important; background: transparent !important; font-size: 13px; font-weight: 700; }
.mv-tabs button:hover, .mv-tabs button.active { color: #f1f2f1 !important; background: rgba(146, 147, 146, .22) !important; }
.mv-table-wrap { overflow-x: auto; }
.mv-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.mv-table + .mv-table { margin-top: 14px; }
.mv-table th { padding: 10px 5px; color: #9d9e9d; font-size: 11px; font-weight: 700; letter-spacing: .6px; line-height: 1.2; text-align: left; text-transform: uppercase; }
/* Column widths (fixed layout, read from the header row): the player column and the item grid get fixed shares, the numeric columns split the rest. */
.mv-table th:first-child { width: 32%; }
.mv-table.tab-damage th:first-child, .mv-table.tab-vision th:first-child { width: 22%; }
.mv-table th.items { width: 20.5%; }
.mv-table th.num, .mv-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv-table th.mv-team-head { text-align: left; }
.mv-table thead tr { height: 56px; }
.mv-table tbody tr { height: 70px; }
.mv-table tbody tr.mv-totals { height: 38px; }
.mv-team-name { display: block; overflow: hidden; font-size: 14px; letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.mv-table.radiant .mv-team-name { color: #9de2a6; } .mv-table.dire .mv-team-name { color: #f09a9a; }
.mv-team-kills { color: #a8a9a8; letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 13px; white-space: nowrap; }
.mv-table td { padding: 7px 5px; border-top: 1px solid #282a2c; color: #e8e9e8; vertical-align: middle; }
.mv-table tr:hover td { background: rgba(134, 135, 134, .08); }
.mv-table tr.me td { background: rgba(232, 183, 91, .07); }
.mv-table tr.me td:first-child { box-shadow: inset 3px 0 0 #e8b75b; }
.mv-table tr.mv-totals td { color: #b2b3b2; font-size: 13px; font-weight: 700; background: #111315; }
.mv-table td b { color: #f5f6f5; font-weight: 700; } .mv-table td b.gold { color: #f5ddb0; }
/* Player cell: wide hero portrait with level badge, then name / hero / role on fixed-height single lines so every row keeps the same height. */
.mv-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mv-hero { position: relative; flex: 0 0 71px; }
.mv-hero img { display: block; width: 71px; height: 40px; border-radius: 5px; object-fit: cover; background: #1b1d1f; }
.mv-hero b { position: absolute; right: -4px; bottom: -4px; min-width: 18px; padding: 0 4px; border: 1px solid #3d4042; border-radius: 4px; color: #f5f6f5; background: #12101a; font-size: 11px; line-height: 16px; text-align: center; }
.mv-names { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.2; }
.mv-name { display: flex; align-items: center; gap: 5px; height: 16px; max-width: 100%; }
.mv-name .player-link, .mv-anon { min-width: 0; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mv-name em { flex: 0 0 auto; color: #f09a9a; font-size: 10px; font-style: normal; text-transform: uppercase; }
.mv-rank { flex: 0 0 16px; width: 16px; height: 16px; }
.mv-names small { display: block; height: 15px; max-width: 100%; overflow: hidden; color: #b0b1b0; font-size: 12px; line-height: 15px; text-overflow: ellipsis; white-space: nowrap; }
.mv-role { display: inline-flex; align-items: center; gap: 5px; color: #d5d6d5; font-weight: 600; }
.mv-role img { flex: 0 0 15px; width: 15px; height: 15px; object-fit: contain; }
.mv-role span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Items: the six inventory slots as the in-game 3x2 grid; the match view adds neutral item + Aghanim's next to it, the live view the backpack row below. */
.mv-items { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.mv-items.has-backpack { flex-direction: column; align-items: flex-start; gap: 3px; }
.mv-inventory, .mv-backpack { display: grid; grid-template-columns: repeat(3, 30px); grid-auto-rows: 22px; gap: 2px; direction: ltr; }
.mv-backpack { grid-template-columns: repeat(3, 24px); grid-auto-rows: 18px; opacity: .6; }
.mv-inventory img, .mv-inventory i, .mv-backpack img, .mv-backpack i { display: block; width: 100%; height: 100%; border-radius: 3px; object-fit: cover; background: #17191b; }
.mv-inventory i, .mv-extras i { border: 1px dashed #313436; }
.mv-backpack i { visibility: hidden; }
.mv-extras { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 30px; }
.mv-extras .neutral { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #17191b; }
.mv-buffs { display: flex; gap: 2px; min-height: 14px; }
.mv-buffs img { width: 14px; height: 14px; border-radius: 50%; }
.mv-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mv-chart-empty { padding: 26px 12px; border: 1px dashed #313436; border-radius: 6px; color: #939493; font-size: 13px; text-align: center; }
.mv-chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.mv-chart-head h4 { margin: 0; font-size: 13px; }
.mv-chart-head span { display: flex; gap: 12px; font-size: 11px; }
.mv-chart-head b.radiant { color: #9de2a6; } .mv-chart-head b.dire { color: #f09a9a; }
.mv-chart svg { display: block; width: 100%; height: auto; overflow: hidden; }
.mv-chart .grid { stroke: #282a2c; stroke-width: 1; }
.mv-chart .axis { fill: #8b8c8b; font-size: 11px; }
.mv-chart .zero { stroke: #5f6264; stroke-width: 1; stroke-dasharray: 3 3; }
.mv-chart .line { fill: none; stroke: #e8e9e8; stroke-width: 1.6; stroke-linejoin: round; }
.mv-chart .area.radiant { fill: rgba(62, 137, 76, .45); } .mv-chart .area.dire { fill: rgba(141, 49, 59, .45); }
.mv-objectives { display: flex; flex-direction: column; max-height: 420px; overflow: auto; }
.mv-obj { display: grid; grid-template-columns: 52px 22px 1fr; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid #282a2c; font-size: 13px; }
.mv-obj:last-child { border-bottom: 0; }
.mv-obj-time { color: #d7d8d7; font-variant-numeric: tabular-nums; }
.mv-obj-icon { text-align: center; }
.mv-obj.radiant .mv-obj-text { color: #cdeed2; } .mv-obj.dire .mv-obj-text { color: #f4c3c3; }
.mv-obj-hero { display: inline-flex; align-items: center; gap: 5px; color: #f5f6f5; font-weight: 600; }
.mv-obj-hero img { width: 20px; height: 20px; border-radius: 4px; }
.mv-fights { display: flex; flex-direction: column; max-height: 420px; overflow: auto; }
.mv-fight { display: grid; grid-template-columns: 96px 1fr 26px 1fr; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid #282a2c; font-size: 13px; }
.mv-fight:last-child { border-bottom: 0; }
.mv-fight.radiant { box-shadow: inset 3px 0 0 rgba(62, 137, 76, .6); } .mv-fight.dire { box-shadow: inset 3px 0 0 rgba(141, 49, 59, .6); }
.mv-fight-time { display: flex; flex-direction: column; color: #939493; font-size: 11px; }
.mv-fight-time b { color: #d7d8d7; font-size: 12px; font-variant-numeric: tabular-nums; }
.mv-fight-side { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.mv-fight-side b { font-size: 14px; } .mv-fight-side.radiant b { color: #9de2a6; } .mv-fight-side.dire b { color: #f09a9a; }
.mv-fight-side img { width: 20px; height: 20px; border-radius: 4px; }
.mv-fight-side small { width: 100%; color: #a8a9a8; font-size: 11px; }
.mv-fight-vs { color: #808180; font-size: 11px; text-align: center; }
@media (max-width: 1000px) { .mv-charts, .mv-grid { grid-template-columns: 1fr; } .mv-head { grid-template-columns: 1fr; } .mv-team.dire { align-items: flex-start; text-align: left; } }

/* Live matches list (Esports) and the live match page. */
.esports-grid { grid-template-columns: 1.55fr .8fr; }
.live-head-meta { display: flex; align-items: center; gap: 12px; }
.live-list { max-height: 720px; overflow: auto; }
a.live-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 96px minmax(0, 1fr) 96px; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid #282a2c; color: inherit; text-decoration: none; }
a.live-row:hover { background: rgba(134, 135, 134, .12); }
a.live-row.pro { background: rgba(62, 137, 76, .06); }
.live-tag { display: flex; flex-direction: column; align-items: flex-start; }
.live-tag b { color: #f5f6f5; font-size: 14px; font-variant-numeric: tabular-nums; }
a.live-row.pro .live-tag b { padding: 2px 7px; border-radius: 4px; color: #0b1a10; background: #9de2a6; font-size: 11px; letter-spacing: 1px; }
.live-tag small { color: #939493; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }
.live-team { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.live-team.dire { align-items: flex-end; text-align: right; }
.live-team strong { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.live-team.radiant strong { color: #cdeed2; } .live-team.dire strong { color: #f4c3c3; }
.live-heroes { display: flex; gap: 3px; }
.live-heroes img { width: 26px; height: 26px; border-radius: 4px; object-fit: cover; background: #1b1d1f; }
.live-score { display: flex; flex-direction: column; align-items: center; }
.live-score b { color: #f5f6f5; font-size: 17px; font-variant-numeric: tabular-nums; }
.live-score b i { margin: 0 4px; color: #717476; font-style: normal; }
.live-score small { color: #a8a9a8; font-size: 11px; font-variant-numeric: tabular-nums; }
.live-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.live-meta small { color: #939493; font-size: 11px; white-space: nowrap; }
.live-lead { padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.live-lead.radiant { color: #9de2a6; background: rgba(62, 137, 76, .22); } .live-lead.dire { color: #f09a9a; background: rgba(141, 49, 59, .22); } .live-lead.even { color: #a8a9a8; background: #1f2123; }
.live-heading { margin-bottom: 14px; }
.live-lead-bar { position: relative; display: flex; height: 22px; overflow: hidden; border-top: 1px solid #282a2c; }
.live-lead-bar svg { display: block; width: 100%; height: 100%; }
.live-lead-bar span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #f5f6f5; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.mv-charts.single { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .esports-grid { grid-template-columns: 1fr; } a.live-row { grid-template-columns: 60px 1fr 80px 1fr; } .live-meta { display: none; } }
a.feed-row { color: inherit; text-decoration: none; } a.feed-row:hover { background: rgba(134, 135, 134, .1); }

/* Live minimap */
.live-grid { display: grid; grid-template-columns: minmax(380px, 520px) 1fr; gap: 14px; }
.live-map svg { display: block; width: 100%; height: auto; border: 1px solid #282a2c; border-radius: 10px; }
.map-river { fill: rgba(70, 120, 170, .35); stroke: rgba(120, 170, 220, .25); stroke-width: 1; }
.map-lane { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map-tower.radiant, .map-rax.radiant, .map-ancient.radiant { fill: #4fbf68; stroke: #0b1a10; stroke-width: 1; }
.map-tower.dire, .map-rax.dire, .map-ancient.dire { fill: #e05a5a; stroke: #1a0b0b; stroke-width: 1; }
.map-rax { opacity: .8; }
.map-ancient { stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
.map-hero circle { fill: #101214; stroke-width: 2.5; }
.map-hero.radiant circle { stroke: #7ee08f; } .map-hero.dire circle { stroke: #f08a8a; }
.map-hero { transition: transform .8s ease; cursor: default; }
.map-hero:hover circle { stroke: #fff; }
.map-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; fill: rgba(255, 255, 255, .5); }
.map-label.radiant { fill: rgba(126, 224, 143, .7); } .map-label.dire { fill: rgba(240, 138, 138, .7); }
@media (max-width: 1000px) { .live-grid { grid-template-columns: 1fr; } }
.map-tower { stroke-width: 1.5; } .map-hero circle { fill: rgba(16, 18, 20, .85); } .map-hero.radiant circle { stroke: #9dffad; } .map-hero.dire circle { stroke: #ff9a9a; }
.live-map svg { border-color: #3d4042; }

/* Final product pass: quieter surfaces, tighter density and clearer profile metadata. */
body { background: #111315; }
.sidebar, .topbar { background: #141618; }
.topbar { border-bottom-color: #282a2c; }
.panel { background: #16181a; border-color: #2d2f31; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.patch-hero { background: #17191b; }
.profile-header { gap: 18px; padding: 20px 22px; }
.profile-avatar.large { width: 96px; height: 96px; flex-basis: 96px; }
.profile-name-row h2 { font-size: 28px; }
.profile-meta { margin-top: 8px; font-size: 14px; color: #b5b6b5; }
.profile-aliases { gap: 6px; margin-top: 9px; font-size: 13px; }
.profile-aliases em { padding: 4px 9px; }
.profile-layout { grid-template-columns: minmax(280px, 330px) minmax(0, 1fr); gap: 12px; }
.profile-side, .profile-main { gap: 12px; }
.profile-side .panel, .profile-main .panel { padding: 14px; }
.profile-rank-badge { min-width: 236px; padding: 10px 12px; align-items: stretch; text-align: left; }
.profile-rank-badge .rank-hero { margin-bottom: 8px; }
.profile-rank-badge .rank-hero img { width: 58px; height: 58px; }
.profile-rank-badge .rank-hero strong { font-size: 15px; }
.profile-rank-badge .rank-hero small { font-size: 11px; }
.profile-rank-badge .wl-row { grid-template-columns: 74px 72px 1fr 38px; font-size: 10px; }
.profile-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 10px; border: 1px solid #383b3d; border-radius: 6px; color: #cccdcc; background: #121416; font-size: 12px; font-weight: 700; text-decoration: none; }
.social-link:hover { border-color: #9d9e9d; color: #f7f8f7; background: #1b1d1f; }
.social-link > span { display: inline-grid; width: 19px; height: 19px; place-items: center; border-radius: 4px; color: #fcfdfc; background: #646769; font-size: 11px; }
.social-twitch > span { background: #9146ff; }
.social-x > span { background: #2a2c2e; }
.social-reddit > span { background: #e65a2d; }
.chip.plus { gap: 7px; padding-left: 8px; }
.chip.plus .plus-icon { display: inline-block; width: 19px; height: 19px; background: #f2cf7a; -webkit-mask: url(../../assets/DotaPlus.png) center / contain no-repeat; mask: url(../../assets/DotaPlus.png) center / contain no-repeat; }
.social-link img, .profile-action-icon { width: 20px; height: 20px; flex: none; object-fit: contain; }
.social-link.social-discord { cursor: pointer; font-family: inherit; }
.social-link.social-discord > [data-discord-label] { display: inline; width: auto; height: auto; border-radius: 0; color: inherit; background: none; font: inherit; }
.social-link:focus-visible { outline: 2px solid #c1c2c1; outline-offset: 2px; }
.social-live { margin-left: 2px; padding: 2px 5px; border-radius: 3px; color: #07140b; background: #86e99a; font-size: 9px; letter-spacing: .4px; }
.match-history-heading { align-items: flex-start; }
.match-hero-picker { display: grid; grid-template-columns: auto 130px 150px; align-items: center; gap: 6px; margin-left: 4px; }
.match-hero-picker label { margin: 0; color: #939493; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.match-hero-picker input, .match-hero-picker select { height: 28px; min-width: 0; padding: 0 8px; border: 1px solid #3d4042; border-radius: 4px; color: #dcdddc; background: #101214; font-size: 11px; }
.match-hero-picker select { appearance: auto; }
.match-hero-picker input:focus, .match-hero-picker select:focus { border-color: #a3a4a3; outline: none; box-shadow: 0 0 0 2px rgba(163, 164, 163, .12); }
.account-symbol svg, #account-button svg { width: 30px; height: 22px; }
.account-social-heading { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.account-social-heading strong { font-size: 14px; }
.account-social-heading span { color: #a9aaa9; font-size: 11px; }
.account-dialog #account-social-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid #35383a; }
.account-dialog #account-social-form label { display: block; margin: 10px 0 5px; font-size: 12px; }
.account-dialog #account-social-form input { min-height: 36px; padding: 8px 10px; font-size: 12px; }
.account-live-toggle { display: flex !important; align-items: center; gap: 8px; margin: 13px 0 12px !important; color: #cdcecd; }
.account-live-toggle input { width: 15px !important; min-height: 15px !important; accent-color: #a3a4a3; }
.account-live-toggle b { color: #8dd49a; font-size: 10px; letter-spacing: .6px; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; max-width: 1500px; margin: 0 auto; padding: 18px 32px 24px; border-top: 1px solid #252729; color: #737473; font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: #999a99; text-decoration: none; }
.site-footer a:hover { color: #dfe0df; }
@media (max-width: 1000px) { .profile-layout { grid-template-columns: 1fr; } .site-footer { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 860px) { .profile-rank-badge { width: 100%; min-width: 0; } .match-hero-picker { grid-template-columns: auto minmax(90px, 1fr) minmax(110px, 1fr); margin-left: 0; } }
@media (max-width: 700px) { .site-footer { flex-direction: column; } .match-history-heading { flex-direction: column; } .match-filters { width: 100%; } .match-hero-picker { width: 100%; } }

/* Win rates close to even are neutral: 45%–55% uses the site's warm yellow accent. */
.neutral { color: #e8b75b !important; }
.wl-row .trend-bar i.neutral, .count-row .trend-bar i.neutral { background: linear-gradient(90deg, #9b702b, #e8b75b); }
.recent-ring.neutral { background: conic-gradient(#e8b75b calc(var(--pct) * 1%), #2f3234 0); }
.pulse-value small.neutral, .hero-stat-wr b.neutral, .hero-stat-rank b.neutral, .peer-wr b.neutral, .hs-role b.neutral { color: #e8b75b !important; }
.hs-tile b.neutral, .meta-row b.neutral { color: #e8b75b !important; }
.hs-role-note small.neutral, .trend-row > span.neutral { color: #e8b75b !important; }

/* Profile rank: use the open space for the win/loss rows and keep the rank itself prominent. */
.profile-rank-badge { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(130px, 156px); align-items: center; gap: 22px; min-width: 390px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: left; }
.profile-rank-badge .wl-rows { grid-column: 1; grid-row: 1; gap: 11px; }
.profile-rank-badge .wl-row { grid-template-columns: 96px 84px minmax(70px, 1fr) 50px; gap: 9px; font-size: 13px; }
.profile-rank-badge .wl-row b { font-size: 13px; }
.profile-rank-badge .rank-hero { grid-column: 2; grid-row: 1; flex-direction: column; align-items: center; justify-content: center; gap: 7px; margin: 0; text-align: center; }
.profile-rank-badge .rank-hero img { width: 82px; height: 82px; }
.profile-rank-badge .rank-hero strong { font-size: 18px; line-height: 1.1; }
.profile-rank-badge .rank-hero small { margin-top: 0; font-size: 12px; }
.profile-rank-badge:not(:has(.wl-rows)) .rank-hero { grid-column: 1 / -1; }
@media (max-width: 860px) { .profile-rank-badge { grid-template-columns: minmax(170px, 1fr) 130px; min-width: 0; width: 100%; } }
@media (max-width: 560px) { .profile-rank-badge { grid-template-columns: 1fr; gap: 16px; } .profile-rank-badge .wl-rows, .profile-rank-badge .rank-hero { grid-column: 1; grid-row: auto; } .profile-rank-badge .rank-hero { order: -1; } }

/* Match sides and the shared Radiant/Dire timeline. */
.mv-scoreboard-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; overflow-x: hidden; }
.mv-scoreboard-sides .mv-table { min-width: 0; margin-top: 0; }
.mv-team-icon { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; }
.mv-team-label { display: inline-flex; align-items: center; gap: 7px; }
.mv-team-label .mv-team-icon { width: 22px; height: 22px; flex-basis: 22px; }
.mv-team-heading { display: flex; align-items: center; gap: 10px; width: 100%; }
.mv-team-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mv-team-head .mv-team-icon { width: 30px; height: 30px; flex-basis: 30px; }
.mv-prognosis { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: #dcdddc; font-size: 11px; font-weight: 700; white-space: nowrap; }
.mv-prognosis img { width: 16px; height: 16px; object-fit: contain; }
.mv-prognosis > span { color: #757675; }
.mv-draft-timeline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 14px; align-items: start; }
.mv-timeline-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 9px 0 1px; }
.mv-timeline-controls label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #313436; border-radius: 4px; color: #bdbebd; background: #111315; font-size: 11px; cursor: pointer; }
.mv-timeline-controls label.disabled { opacity: .45; cursor: not-allowed; }
.mv-timeline-controls input { accent-color: #a3a4a3; }
.mv-timeline-controls label i, .mv-timeline-legend i { display: inline-block; width: 16px; height: 3px; border-radius: 3px; }
.mv-timeline-controls i.net, .mv-timeline-legend i.net { background: #e8b75b; }
.mv-timeline-controls i.xp, .mv-timeline-legend i.xp { background: #91a9ce; }
.mv-timeline-controls i.win, .mv-timeline-legend i.win { background: #8dd49a; }
.mv-timeline { width: 100%; }
.mv-timeline-footer { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 4px; }
.mv-timeline svg { display: block; width: 100%; height: auto; overflow: visible; }
.mv-timeline .plot-surface { fill: url(#timeline-surface); opacity: .92; }
.mv-timeline .plot-border { fill: none; stroke: #3f4244; stroke-width: 1; }
.mv-timeline .plot-bg { fill: #070d0c; opacity: .58; }
.mv-timeline .grid { stroke: #2a3432; stroke-width: 1; }
.mv-timeline .grid.mid { stroke: #5a5d5f; stroke-dasharray: 4 4; }
.mv-timeline .axis { fill: #8d8e8d; font-size: 11px; }
.mv-timeline .axis-value { fill: #adaead; font-size: 10px; font-weight: 700; }
.mv-timeline .axis-team { font-size: 13px; font-weight: 800; letter-spacing: .3px; }
.mv-timeline .axis-team.radiant { fill: #9de2a6; }
.mv-timeline .axis-team.dire { fill: #f09a9a; }
.mv-timeline-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mv-timeline-point { stroke-width: 2; }
.mv-timeline-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 3px; color: #aeafae; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.mv-timeline-legend span { display: inline-flex; align-items: center; gap: 5px; }
.live-team-title { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.live-team.dire .live-team-title { justify-content: flex-end; }
.live-team-icon { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
/* Side by side, the Dire table is a full mirror of the Radiant one: right-to-left column order (player column on the outer edge, items towards the middle) with left-to-right cell contents. Stacked tables (the dense scoreboard tabs, narrow windows) both read left to right. */
.mv-scoreboard-sides.stacked { grid-template-columns: 1fr; }
@media (min-width: 1361px) {
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire { direction: rtl; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire :is(th, td) { direction: ltr; text-align: right; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire :is(th, td).num { text-align: left; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-team-heading { flex-direction: row-reverse; text-align: right; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-player { flex-direction: row-reverse; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-names { align-items: flex-end; text-align: right; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-name { flex-direction: row-reverse; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-items { flex-direction: row-reverse; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire .mv-items.has-backpack { flex-direction: column; align-items: flex-end; }
  .mv-scoreboard-sides:not(.stacked) .mv-table.dire tr.me td:first-child { box-shadow: inset -3px 0 0 #e8b75b; }
}
@media (max-width: 1360px) { .mv-scoreboard-sides { grid-template-columns: 1fr; } }
.live-players-panel { margin-top: 34px; padding-bottom: 28px; }
.live-players-panel .mv-table th:first-child { width: 36%; }
.live-players-panel .mv-table th.lvl { width: 7%; }
.live-players-panel .mv-table th.items { width: 20%; }
.live-players-panel .mv-table tbody tr { height: 84px; }
.mv-table td.items { overflow: hidden; }
@media (max-width: 1100px) { .mv-draft-timeline { grid-template-columns: 1fr; } }

/* Product pass: one heading per page (the chrome only carries the nav), flat surfaces, quiet labels, real icons. */
.announcement-bar { min-height: 30px; padding: 7px 44px; border-bottom-color: #323537; color: #d5d6d5; background: #1b1d1f; box-shadow: none; font-weight: 500; }
.announcement-bar strong { color: #eff0ef; text-shadow: none; }
.announcement-close { border-color: #46494b !important; color: #d5d6d5 !important; background: transparent !important; }
.announcement-close:hover { border-color: #9d9e9d !important; background: #282a2c !important; }
.sidebar { height: 62px; min-height: 62px; padding: 0 28px; gap: 22px; border-bottom-color: #282a2c; background: #141618; box-shadow: none; }
.brand { flex-basis: auto; width: auto; margin-right: 6px; }
.brand span { font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.brand img { width: 38px; height: 38px; }
.main-nav { gap: 2px; }
.nav-item { padding-left: 12px; padding-right: 12px; color: #b0b1b0; font-size: 13px; font-weight: 600; }
.nav-item img { width: 22px; height: 22px; flex-basis: 22px; opacity: .7; }
.nav-item:hover img, .nav-item.active img { opacity: 1; }
.nav-item::after { right: 12px; left: 12px; background: #bebfbe; }
.nav-item.active::after { background: #d7d8d7; }
.nav-item-text small { margin-left: 4px; padding: 2px 5px; border-radius: 4px; color: #e2e3e2; background: #393c3e; font-size: 10px; font-weight: 600; }
svg.chevron { width: 14px; height: 14px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.sub-nav { border-color: #2d2f31; border-radius: 0 0 8px 8px; background: #16181a; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
.sub-nav-item img { width: 22px; height: 22px; flex-basis: 22px; }
.header-actions { gap: 8px; }
.header-actions .patch-chip { min-height: 32px; padding: 0 9px; display: inline-flex; align-items: center; gap: 5px; border-color: #3f4244; color: #bdbebd; background: transparent; font-size: 10px; font-weight: 600; letter-spacing: .8px; }
.header-actions .patch-chip strong { color: #f1f2f1; font-size: 12px; }
.header-actions .discord-button { min-height: 32px !important; border-color: #3f4244 !important; background: transparent !important; color: #dcdddc !important; }
.header-actions .discord-button:hover { border-color: #9d9e9d !important; background: rgba(134, 135, 134, .16) !important; }
.header-actions button#account-button { min-height: 40px; padding: 0 12px 0 8px; gap: 9px; border-color: #636668; background: #303335; color: #f1f2f1; font-weight: 600; }
.header-actions button#account-button:hover { border-color: #a3a4a3; background: #3e4143; }
.discord-notice { top: 72px; right: 28px; }
body.is-navigating > main { opacity: .6; }
body.is-navigating .sidebar::after { background: #bebfbe; }
main { padding-top: 24px; }
.eyebrow { color: #939493; font-size: 10px; font-weight: 600; letter-spacing: 1.1px; }
.page-heading { margin: 0 0 16px; }
.page-heading h2, .home-intro h2 { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.panel { border-color: #282a2c; border-radius: 8px; background: #16181a; box-shadow: none; }
.search-panel { border-color: #35383a; background: #181a1c; }
.simple-state { box-shadow: none; }
.sub-nav-item.active, a.sub-nav-item.active { color: #f1f2f1; background: rgba(134, 135, 134, .16); }
.site-footer { margin-top: 12px; }

/* Legal pages */
.legal-page { max-width: 900px; margin: 0 auto; padding: 18px 32px 54px; }
.legal-page .legal-intro { margin: 6px 0 30px; color: #a8aaa9; font-size: 14px; line-height: 1.65; }
.legal-card { padding: 28px 30px; }
.legal-card + .legal-card { margin-top: 14px; }
.legal-card h2 { margin: 0 0 13px; color: #f0f1f0; font-size: 18px; }
.legal-card h3 { margin: 22px 0 8px; color: #dfdfde; font-size: 14px; }
.legal-card p, .legal-card li { color: #bbbcbb; font-size: 13px; line-height: 1.65; }
.legal-card p { margin: 0 0 12px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 0 0 14px; padding-left: 20px; }
.legal-card a { color: #e1e2e1; text-decoration: underline; text-underline-offset: 3px; }
.legal-address { font-style: normal; color: #dedfde; line-height: 1.65; }
.legal-updated { color: #818381 !important; font-size: 11px !important; }
@media (max-width: 700px) { .legal-page { padding: 16px 20px 42px; } .legal-card { padding: 22px 20px; } }
/* Buttons that look like plain links in lists (Discord copy on profiles and the LFG board) must not pick up the primary button style. */
button.social-link { min-height: 31px !important; padding: 0 10px !important; border: 1px solid #383b3d !important; border-radius: 6px !important; color: #cccdcc !important; background: #121416 !important; font-size: 12px; font-weight: 700; }
button.social-link:hover { border-color: #9d9e9d !important; color: #f7f8f7 !important; background: #1b1d1f !important; }
@media (max-width: 1240px) { .header-actions .patch-chip { display: none; } }
@media (max-width: 1100px) { .header-actions .discord-button span { display: none; } .header-actions .discord-button { padding: 0 8px !important; } }

/* Win prognosis: the chart uses the full card height and the layer toggles sit right above the bottom edge of the card. */
.mv-draft-timeline { align-items: stretch; }
.mv-draft-timeline .mv-panel:has(#mv-charts), .live-grid .mv-panel:has(#live-chart) { display: flex; flex-direction: column; padding-bottom: 10px; }
#mv-charts, #live-chart { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mv-timeline { display: flex; flex: 1; flex-direction: column; }
.mv-timeline .mv-chart-head { margin-bottom: 2px; }
.mv-timeline .mv-chart-head h4 { color: #a1a2a1; font-size: 12px; font-weight: 600; }
.mv-timeline svg { flex: 1; min-height: 0; }
.mv-timeline-footer { margin-top: auto; padding-top: 8px; }
.mv-timeline-controls { margin: 0; }
.mv-timeline .mv-chart-empty { flex: 1; display: flex; align-items: center; justify-content: center; }

/* LFG board: your post on the left, everyone looking right now on the right. */
.lfg-locked { display: grid; justify-items: center; max-width: 560px; margin: 20px auto 0; padding: 34px 28px 30px; text-align: center; }
.lfg-locked img { width: 42px; height: 42px; opacity: .75; }
.lfg-locked h3 { margin-top: 14px; font-size: 20px; }
.lfg-locked p { max-width: 460px; margin: 8px 0 18px; font-size: 13px; }
.lfg-locked button.steam-login { display: inline-flex; align-items: center; gap: 14px; min-height: 44px !important; padding: 0 18px !important; background: #acadac; color: #191b1d; }
.lfg-locked .steam-login-label { display: inline-flex; align-items: center; gap: 10px; }
.lfg-locked .steam-login-label img { width: 20px; height: 20px; flex: none; object-fit: contain; filter: brightness(0); }
.lfg-coming-soon { display: grid; justify-items: center; max-width: 560px; margin: 20px auto 0; padding: 48px 28px; text-align: center; }
.lfg-coming-lock { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #46494b; border-radius: 50%; background: #101214; font-size: 25px; filter: grayscale(1); }
.lfg-coming-soon .eyebrow { margin-top: 18px; }
.lfg-coming-soon h3 { margin: 8px 0 6px; font-size: 21px; }
.lfg-coming-soon p { max-width: 430px; margin: 0; color: #a9aaa9; font-size: 13px; line-height: 1.55; }
.nav-coming-soon .nav-lock { margin-left: 5px; font-size: 10px; font-style: normal; opacity: .65; }
.lfg-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 14px; align-items: start; }
.lfg-side .panel, .lfg-main .panel { padding: 16px; }
.lfg-form { display: grid; gap: 14px; }
.lfg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lfg-form label, .lfg-label { display: block; margin: 0; color: #a1a2a1; font-size: 11px; font-weight: 600; letter-spacing: .3px; }
.lfg-form label small, .lfg-label small { margin-left: 4px; color: #737473; font-weight: 400; }
.lfg-form select, .lfg-form textarea { display: block; width: 100%; margin-top: 6px; padding: 9px 10px; border: 1px solid #3f4244; border-radius: 5px; color: #f4f5f4; background: #0f1113; font: inherit; font-size: 13px; }
.lfg-form select { appearance: auto; min-height: 36px; }
.lfg-form textarea { min-height: 68px; resize: vertical; }
.lfg-form select:focus, .lfg-form textarea:focus { border-color: #b6b7b6; outline: none; box-shadow: 0 0 0 2px rgba(182, 183, 182, .13); }
.lfg-segmented { display: flex; gap: 2px; margin-top: 6px; padding: 2px; border: 1px solid #313436; border-radius: 5px; background: #111315; }
.lfg-form .lfg-segmented button { flex: 1; min-height: 30px !important; padding: 0 8px !important; border: 0 !important; border-radius: 3px !important; color: #999a99 !important; background: transparent !important; font-size: 12px; font-weight: 600; }
.lfg-form .lfg-segmented button[aria-pressed="true"], .lfg-form .lfg-segmented button:hover { color: #f1f2f1 !important; background: rgba(146, 147, 146, .22) !important; }
.lfg-roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; }
.lfg-form button.lfg-role { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 0 !important; padding: 8px 2px 6px !important; border: 1px solid #313436 !important; border-radius: 5px !important; color: #939493 !important; background: #111315 !important; font-size: 10px; font-weight: 600; line-height: 1.1; text-align: center; }
.lfg-form button.lfg-role img { width: 22px; height: 22px; object-fit: contain; opacity: .4; }
.lfg-form button.lfg-role:hover { border-color: #4f5254 !important; color: #dbdcdb !important; }
.lfg-form button.lfg-role[aria-pressed="true"] { border-color: #a3a4a3 !important; color: #f7f8f7 !important; background: rgba(134, 135, 134, .18) !important; }
.lfg-form button.lfg-role[aria-pressed="true"] img { opacity: 1; }
.lfg-form label.lfg-check { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 36px; color: #cdcecd; font-size: 12px; cursor: pointer; }
.lfg-check input { width: 15px; min-height: 15px; margin: 0; accent-color: #a3a4a3; }
.lfg-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid #313436; border-radius: 6px; background: #111315; }
.lfg-contact .lfg-label { width: 100%; }
.lfg-contact-line { display: inline-flex; align-items: center; gap: 7px; color: #dcdddc; font-size: 12px; }
.lfg-contact-line img { width: 16px; height: 16px; }
.lfg-contact-line b { color: #f7f8f7; }
.lfg-contact-line.missing { color: #aaabaa; }
.lfg-form button.lfg-inline-link { min-height: 0 !important; margin-left: auto; padding: 0 !important; border: 0 !important; background: transparent !important; color: #d7d8d7 !important; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lfg-form-actions { display: flex; gap: 8px; }
.lfg-form-actions button[type="submit"] { flex: 1; }
.lfg-form-message { min-height: 16px; margin: -4px 0 0; color: #dfe0df; font-size: 12px; }
.lfg-list-heading { align-items: flex-start; }
.lfg-list-heading > div > .muted { display: block; margin-top: 3px; }
.lfg-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.lfg-filters label { display: flex; align-items: center; gap: 6px; margin: 0; color: #939493; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.lfg-filters select { height: 28px; padding: 0 8px; border: 1px solid #3d4042; border-radius: 4px; color: #dcdddc; background: #101214; font: inherit; font-size: 11px; appearance: auto; }
.lfg-list { display: grid; gap: 8px; }
.lfg-post { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #282a2c; border-radius: 6px; background: #101214; }
.lfg-post.mine { border-color: #707375; background: rgba(134, 135, 134, .1); }
.lfg-post-player { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.lfg-post-player > img { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #3d4042; border-radius: 7px; object-fit: cover; background: #1b1d1f; }
.lfg-post-player > span { min-width: 0; }
.lfg-post-player strong { display: block; overflow: hidden; color: #f7f8f7; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.lfg-post-player strong em { margin-left: 5px; padding: 1px 5px; border-radius: 3px; color: #eaebea; background: #424547; font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; vertical-align: 2px; }
.lfg-post-player small { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #aaabaa; font-size: 11px; white-space: nowrap; }
.lfg-post-player small img { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.lfg-post-player:hover strong { color: #dadbda; }
.lfg-post-body { display: grid; gap: 6px; min-width: 0; }
.lfg-post-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.lfg-post-meta span { padding: 2px 7px; border-radius: 3px; color: #cdcecd; background: #1f2123; font-size: 11px; }
.lfg-post-roles { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lfg-post-roles > span { display: inline-flex; align-items: center; gap: 4px; }
.lfg-post-roles small { margin-right: 3px; color: #939493; font-size: 10px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.lfg-post-roles img { width: 18px; height: 18px; object-fit: contain; }
.lfg-post-roles i { color: #aaabaa; font-size: 11px; font-style: normal; }
.lfg-post-message { margin: 0; color: #e8e9e8; font-size: 13px; line-height: 1.4; }
.lfg-post-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lfg-post-actions small { color: #939493; font-size: 11px; white-space: nowrap; }
.lfg-post-actions .social-link { min-height: 30px; }
@media (max-width: 1100px) { .lfg-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .lfg-post { grid-template-columns: 1fr; } .lfg-post-actions { flex-direction: row; align-items: center; } .lfg-field-row { grid-template-columns: 1fr; } }
