/* BoomScore identity study: an editorial score desk, independent of Agent.
   Shared shell only. The match centre supplies its own content layout. */
:root {
  --display:var(--font-ui);
  --font-ui:"Space Grotesk",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --ink: #151515;
  --muted: #666;
  --soft: #777;
  --line: #dedede;
  --bg: #f4f4f4;
  --nav: #101010;
  --radius: 4px;
  --shadow: none;
  font-family: var(--font-ui);
}
body { background: var(--bg); }
h1, h2, h3, .footer-brand, .brand, .mobile-brand { font-family: var(--display); }
h1 { font-weight: 700; letter-spacing: -1.3px; }
h2, h3 { letter-spacing: -.45px; }
.sidebar {
  width: 176px; padding: 29px 12px 22px; background: #101010;
  border-right: 1px solid transparent; color: #bababa;
}
.brand { padding: 0 5px; gap: 0; min-height: 37px; }
.brand > span { font-size: 26px; font-weight: 700; letter-spacing: -1.1px; }
.brand-light { font-weight: 400; }
.brand small { margin-top: 10px; color: #a4a4a4; font-size: 7px; letter-spacing: 1.3px; }
.sidebar .sport-picker {
  margin: 28px 0 29px; padding: 11px 5px; gap: 8px;
  background: transparent; border: 0; border-top: 1px solid transparent;
  border-bottom: 1px solid transparent; border-radius: 0; font-size: 11px;
}
.sport-picker small { font-size: 9px; color: #999; margin-top: 4px; }
.sport-picker > .icon { width: 11px; flex-basis: 11px; }
.cs-mark {
  width: 25px; height: 27px; flex-shrink: 0; border-radius: 2px;
  background: #e9e9e9; color: #171717; font-size: 17px;
}
.nav-label { font-size: 9px; letter-spacing: 1.7px; color: #8e8e8e; margin: 0 10px 12px; }
.nav-link {
  position: relative; height: 43px; padding: 0 10px; gap: 10px;
  margin-bottom: 2px; border-radius: 0; font-size: 12px; font-weight: 500;
  color: #bdbdbd; transition: color .15s, background .15s;
}
.nav-link > .icon { width: 17px; height: 17px; flex-basis: 17px; color: #8d8d8d; }
.nav-link:hover { color: #fff; background: #1c1c1c; }
.nav-link.active { color: #fff; background: #222; box-shadow: inset 2px 0 0 var(--brand-red); }
.nav-link.active > .icon { color: #f4f4f4; }
.nav-count { background: transparent; color: #ff5355; min-width: 15px; font-size: 11px; padding: 0; border-radius: 0; }
.soon-dot { background: #747474; }
.sidebar-separator { margin: 23px 10px; background: #333; }
.following-list > p { font-size: 11px; padding: 0 10px; color: #999; line-height: 1.7; }
.following-list > a { padding: 8px 10px; font-size: 12px; }
.sidebar-bottom { padding: 35px 10px 0; }
.preview-badge { font-size: 8px; color: #aaa; letter-spacing: 1px; }
.sidebar-bottom > p { font-size: 10px; color: #929292; }
.sidebar-bottom > a { font-size: 10px; color: #ccc; }
.workspace { margin-left: 176px; }
.topbar { height: 70px; padding: 0 32px; gap: 24px; border-bottom: 1px solid transparent; }
.global-search { width: 48%; max-width: 480px; gap: 12px; color: #666; }
.global-search input { font-size: 13px; color: #222; }
.global-search input::placeholder { color: #6c6c6c; }
.global-search kbd { color: #777; border-radius: 2px; }
.topbar-right { gap: 17px; }
.sample-tag { background: transparent; font-size: 9px; color: #666; letter-spacing: 1.2px; padding: 0; }
.timezone { color: #666; font-size: 11px; }
.user-avatar { background: #242424; border-color: transparent; color: white; border-radius: 4px; }
.sample-notice { padding: 9px 32px; background: #f4f4f4; font-size: 10px; border-bottom: 1px solid transparent; }
.sample-notice a { color: #444; }
main { max-width: 1600px; padding: 32px 32px 48px; }
.page-heading { margin-bottom: 28px; align-items: flex-end; }
.page-heading h1 { font-size: 40px; line-height: 1.05; letter-spacing: -1.2px; margin-bottom: 11px; }
.page-heading p { font-size: 13px; color: #666; }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; color: #666; }
.button { font-size: 12px; border-radius: 4px; min-height: 38px; font-weight: 600; }
.button.coral { background: #191919; border-color: transparent; color: #fff; }
.button.coral:hover { background: #353535; border-color: transparent; }
.icon-button { border-radius: 4px; color: #686868; }
.text-link { font-size: 11px; color: #555; }
.panel { border: 1px solid transparent; border-radius: 4px; box-shadow: none; }
.section-head { padding: 23px 23px 18px; gap: 14px; }
.section-head h2, .right-column .section-head h2 { font-family: var(--display); font-size: 19px; color: #1c1c1c; font-weight: 600; }
.section-head p, .right-column .section-head p { font-size: 11px; color: #737373; line-height: 1.5; }
.right-column .section-head .text-link { font-size: 11px; }
.panel-foot { font-size: 10px; color: #777; border-color: transparent; line-height: 1.6; }
.page-tabs { gap: 27px; border-color: transparent; margin-bottom: 24px; }
.page-tabs > button, .region-tabs > button { font-size: 12px; color: #646464; padding: 16px 0 14px; }
.page-tabs > button.active { color: #191919; font-weight: 700; }
.page-tabs > button.active:after { height: 3px; border-radius: 0; }
.chip { border-radius: 2px; }
.rating, .rating.large { border-radius: 3px; font-family: var(--display); }
.data-table { font-size: 12px; color: #555; font-variant-numeric: tabular-nums; }
.data-table th { padding: 13px 18px; font-size: 10px; color: #666; background: #f6f6f6; border-color: transparent; }
.data-table td { padding: 14px 18px; font-size: 12px; border-color: transparent; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table .table-team small, .score-player small { font-size: 10px; color: #737373; }
.select-wrap select { border-radius: 4px; color: #444; }
.filter-bar .select-wrap > span { font-size: 10px; color: #666; }
.filter-bar .select-wrap select { font-size: 11px; min-height: 35px; }
.segmented, .segmented > button { border-radius: 3px; }
.segmented > button { font-size: 10px; }
.profile-hero, .team-hero, .event-hero, .region-intro, .rankings-intro,
.player-card, .team-card, .event-feature-card, .planned-feature { border-radius: 4px; box-shadow: none; }
.profile-identity .real-name { font-size: 12px; color: #666; }
.profile-team { font-size: 12px; }
.profile-hero .position-pills > span { font-size: 9px; border-radius: 3px; }
.profile-hero .additional-role { font-size: 10px; }
.hero-rating > div > strong { font-size: 12px; }
.hero-rating > div > small { font-size: 10px; color: #737373; }
.metric > span, .impact-panel .metric > span { font-size: 10px; color: #666; }
.metric > small { font-size: 10px; color: #777; }
.trait-summary > div > p { font-size: 12px; line-height: 1.7; }
.trait-summary > div > small { font-size: 10px; line-height: 1.6; }
.trait-row { font-size: 11px; }
.career-row strong { font-size: 12px; }
.career-row small { font-size: 10px; }
.ranking-row small, .player-card-info p { font-size: 10px; }
.region-picker > a { border-radius: 3px; font-size: 12px; }
.region-mini { border-radius: 4px; }
.week-lineup > a, .roster-card, .event-team-grid > a { border-radius: 3px; }
.region-intro p, .rankings-intro p { font-size: 12px; }
.empty-state p { font-size: 12px; }
.search-results { border-radius: 4px; }
footer { border-top: 1px solid transparent; padding: 24px 32px; }
.footer-brand { font-size: 21px; letter-spacing: -.7px; color: #222; }
footer > span, footer > a:last-child { font-size: 10px; color: #777; }
.toast { left: calc(50% + 88px); border-radius: 4px; }
@media (min-width: 861px) and (max-width: 1100px) {
  main { padding: 28px 24px 40px; }
  .topbar, .sample-notice { padding-left: 24px; padding-right: 24px; }
  .page-heading h1 { font-size: 35px; }
  .section-head { padding: 20px 18px 17px; }
  .right-column .section-head { flex-wrap: wrap; }
  .trait-summary > div > p { font-size: 11px; }
}
@media (max-width: 860px) {
  .sidebar { width: 70px; padding: 24px 10px; }
  .brand { justify-content: center; padding: 0; }
  .brand > span { display: none; }
  .brand .brand-short { display: block; font-size: 23px; letter-spacing: -1px; }
  .sidebar .sport-picker { margin: 24px 0 21px; padding: 10px 0; justify-content: center; }
  .nav-link { width: 43px; height: 43px; padding: 0; justify-content: center; margin: 0 auto 4px; }
  .nav-link > .icon { width: 20px; height: 20px; flex-basis: 20px; }
  .workspace { margin-left: 70px; }
  .topbar { padding: 0 22px; }
  .sample-notice { padding: 8px 22px; }
  main { padding: 26px 22px 40px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading p { font-size: 12px; }
  .section-head { padding: 20px 18px 16px; }
  .section-head h2, .right-column .section-head h2 { font-size: 18px; }
  .profile-hero .position-pills > span { font-size: 8px; }
  .data-table td, .data-table th { padding-left: 15px; padding-right: 15px; }
  .trait-row { font-size: 10px; }
  .toast { left: calc(50% + 35px); }
}
@media (max-width: 540px) {
  .sidebar { width: 240px; padding: 25px 17px; }
  .sidebar .brand { justify-content: flex-start; padding: 0 8px; }
  .sidebar .brand > span { display: block; font-size: 30px; }
  .sidebar .brand .brand-short { display: none; }
  .sidebar .brand small { font-size: 8px; letter-spacing: 1.6px; }
  .sidebar .sport-picker { padding: 13px 9px; justify-content: flex-start; gap: 12px; background: transparent; border-width: 1px 0; font-size: 12px; }
  .sidebar .nav-link { padding: 0 14px; height: 45px; font-size: 13px; }
  .workspace { margin-left: 0; }
  .topbar { height: 64px; padding: 0 15px; gap: 10px; }
  .mobile-brand strong { font-family: var(--display); font-size: 20px; letter-spacing: -.8px; }
  .mobile-menu { color: #222; }
  .global-search { gap: 5px; }
  .global-search input, .global-search input::placeholder { font-size: 11px; }
  .sample-notice { padding: 9px 15px; font-size: 9px; }
  .sample-notice > span:last-child { white-space: normal; flex-wrap: wrap; line-height: 1.5; }
  .sample-notice a { font-size: 9px; }
  main { padding: 24px 15px 32px; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; gap: 13px; }
  .page-heading h1 { font-size: 34px; line-height: 1.08; }
  .page-heading .eyebrow { font-size: 9px; }
  .page-heading p { font-size: 12px; max-width: 340px; }
  .page-heading > .button { font-size: 11px; min-height: 35px; }
  .panel, .team-card, .event-feature-card, .rankings-intro { border-radius: 4px; }
  .section-head h2, .right-column .section-head h2 { font-size: 18px; }
  .section-head p, .right-column .section-head p { font-size: 10px; }
  .section-head .chip { font-size: 8px; }
  .page-tabs > button, .region-tabs > button { font-size: 11px; }
  .region-picker > a { font-size: 10px; }
  .profile-identity .real-name { font-size: 11px; }
  .profile-hero .position-pills > span { font-size: 7px; }
  .trait-summary > div > p { font-size: 11px; }
  .metric > span, .impact-panel .metric > span { font-size: 9px; }
  .metric > small { font-size: 9px; }
  .data-table td { font-size: 11px; }
  .career-row small { font-size: 9px; }
  .week-lineup strong { font-size: 10px; }
  .week-lineup > a > span:last-child { font-size: 7px; }
  footer { padding: 23px 15px; }
  footer > span, footer > a:last-child { font-size: 9px; }
  .toast { left: 50%; }
}

/* Regional navigation, ordered Europe, Americas, Asia. */
.nav-regions summary{cursor:pointer;list-style:none}
.nav-regions summary::-webkit-details-marker{display:none}
.nav-regions summary>.icon:last-child{margin-left:auto;width:13px;height:13px;transition:transform .15s}
.nav-regions[open] summary>.icon:last-child{transform:rotate(180deg)}
.nav-region-links{display:grid;padding:3px 0 7px 35px;gap:2px}
.nav-region-links a{color:#b8b8bd;text-decoration:none;font-size:12px;padding:9px 10px;border-left:1px solid transparent}
.nav-region-links a:hover,.nav-region-links a[aria-current=page]{color:#fff;background:#222225;border-left-color:#d32f3f}
.nav-regions summary:focus-visible,.nav-region-links a:focus-visible{outline:2px solid #e74955;outline-offset:-2px}

/* Content-first density: no introductory billboards or oversized empty panels. */
.page-heading{margin-bottom:18px}.page-heading h1{font-size:24px;line-height:1.2}
.section-head{padding:16px 18px}.section-head h2{font-size:16px;line-height:1.3}
.vrs-empty{min-height:0;padding:20px;gap:0}.vrs-empty h2{font-size:17px;margin:0 0 10px}
.empty-state{padding:24px 18px;min-height:0}.empty-state h3{font-size:16px}.empty-state p{font-size:13px}
.following-empty{padding:24px}.following-empty>.icon{width:24px;height:24px}
@media(max-width:650px){.page-heading h1{font-size:22px}.section-head{padding:14px}.section-head h2{font-size:15px}}

.valve-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px 16px;color:#777;font-size:12px}
.valve-tools input{font:inherit;background:transparent;color:inherit;border:1px solid transparent;border-radius:6px;padding:9px 12px;width:min(280px,70%)}
.valve-standings td:first-child,.valve-standings th:first-child{width:65px}.valve-standings td:last-child,.valve-standings th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.valve-standings .section-head{align-items:center}.valve-standings .section-head .text-link{font-size:12px;color:#777}

.following-category-tabs { display:flex; gap:0; overflow-x:auto; border-bottom:1px solid transparent; }
.following-category-tabs > button { flex:1 0 auto; min-width:100px; padding:18px 20px; font-size:14px; text-align:center; }
.following-category-tabs > button.active:after { left:0; right:0; width:100%; height:3px; }
@media(max-width:600px){.following-category-tabs > button{min-width:88px;padding:16px 14px;font-size:13px;}}

.tournament-directory { max-width:900px; display:grid; gap:20px; }
.top-tournaments { padding:24px; }
.top-tournaments h2 { font-size:16px; margin:0 0 12px; }
.tournament-list-row { display:flex; align-items:center; gap:14px; min-height:66px; }
.tournament-list-row > a { flex:1; min-width:0; display:flex; align-items:center; gap:18px; padding:10px 0; font-size:15px; font-weight:500; }
.tournament-list-row > a span:last-child { overflow-wrap:anywhere; }
.tournament-list-row > a:hover { color:var(--coral,#d52e36); }
.all-tournaments { padding:0 24px 12px; }
.all-tournaments > summary { padding:24px 0 12px; font-size:16px; font-weight:650; cursor:pointer; }
.all-tournaments:not([open]) { padding-bottom:24px; }
.all-tournaments .catalog-toolbar { margin:16px 0 8px; }
@media(max-width:600px){.top-tournaments{padding:18px}.all-tournaments{padding-left:18px;padding-right:18px}.tournament-list-row > a{font-size:14px;gap:12px}.tournament-list-row{min-height:62px}}

.sidebar .sidebar-search { position:relative; display:flex; flex-wrap:wrap; width:100%; max-width:none; margin:25px 0 17px; padding:10px; gap:8px; border:1px solid transparent; border-radius:5px; background:#1b1b1b; color:#999; }
.sidebar-search > .icon { width:15px; height:15px; flex:0 0 15px; }
.sidebar .sidebar-search input { width:0; min-width:0; flex:1; background:transparent; color:#f5f5f5; font-size:12px; border:0; outline:none; }
.sidebar .sidebar-search input::placeholder { color:#a6a6a6; }
.sidebar-search:focus-within { border-color:transparent; }
.sidebar .sidebar-search .search-results { position:static; flex:0 0 100%; width:100%; max-height:340px; overflow:auto; box-shadow:none; border:0; border-top:1px solid transparent; border-radius:0; margin-top:5px; background:#1b1b1b; color:#eee; }
.sidebar-search .search-results > a { padding:9px 2px; gap:6px; color:#eee; }
.sidebar-search .search-results > a:hover { background:#303030; }
.sidebar-search .search-results strong { font-size:11px; overflow-wrap:anywhere; }
.sidebar-search .search-results small { font-size:9px; color:#aaa; }
.sidebar-search .search-results h4 { padding:12px 2px 4px; font-size:9px; color:#aaa; }
.sidebar-search .search-results .no-results { padding:10px 0; font-size:11px; }
.topbar-right { margin-left:auto; }
.sidebar .sidebar-search .search-results strong { color:#eee; }

.news-feed { max-width:900px; }
.news-tabs { margin-bottom:0; gap:30px; }
.news-tabs > button { font-size:14px; padding:14px 2px; }
.news-empty { padding:32px 0; color:#777; font-size:13px; }
.news-empty p { margin:0 0 12px; }
.news-empty .text-link { font-size:12px; color:#333; }

.nav-link[href="#/fantasy"] > span { font-weight:700; }
.nav-coming-soon { margin-left:auto; font-size:8px; font-weight:400; color:#858585; white-space:nowrap; }
.login-panel { max-width:440px; padding:28px; }
.login-panel h2 { font-size:20px; margin:0 0 12px; }
.login-panel p { color:#777; font-size:13px; line-height:1.6; margin-bottom:20px; }
.account-button { min-height:32px; padding:6px 12px; font-size:12px; }
