/* Results lead the page; controls and review details support the reading flow. */
.hierarchy-tracker,
.hierarchy-profile {
  min-width: 0;
  --hierarchy-hairline: #90a9cb1c;
  --hierarchy-soft: #8295b1;
}

.hierarchy-tracker .tracker-intro {
  min-height: 76px;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 310px;
  margin-bottom: 18px;
}
.hierarchy-tracker .updated-label {
  background: transparent;
  padding: 0;
  color: #7f90a9;
  font-size: 10px;
  margin-bottom: 9px;
}
.hierarchy-tracker .location-monogram { display: none; }
.hierarchy-tracker .location-heading h1 { margin-bottom: 6px; }
.hierarchy-tracker .location-heading h1 .tracker-title-source {
  color: #eef3fb;
  font-size: 35px;
}
.hierarchy-tracker .location-heading h1 .tracker-title-label {
  color: #c9d5e8;
  font-size: 23px;
  letter-spacing: .015em;
}
html[lang=en] .hierarchy-tracker .location-heading h1 .tracker-title-label { font-size: 26px; }
.hierarchy-tracker .location-heading p { color: #8b9bb2; font-size: 12px; }
.hierarchy-tracker .tracker-summary {
  padding: 10px 0 10px 24px;
  gap: 5px 15px;
  border: 0;
  border-left: 1px solid var(--hierarchy-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hierarchy-tracker .tracker-summary > div + div { border: 0; padding-left: 0; }
.hierarchy-tracker .tracker-summary strong { font-size: 20px; font-weight: 500; color: #b8c6da; }
.hierarchy-tracker .tracker-summary span { font-size: 10px; margin-top: 3px; color: #7e90aa; }
.hierarchy-tracker .tracker-summary > a { color: #829bbf; font-size: 10px; }

.leader-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 27px;
  min-width: 0;
}
.leader-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 9px;
  min-width: 0;
  padding: 15px 22px 14px;
  border: 1px solid #96b8e411;
  border-radius: 10px;
  background: linear-gradient(135deg, #202d3d, #1a2330 74%);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.leader-card:hover {
  background: linear-gradient(135deg, #26384b, #1d2939 74%);
  border-color: #93b7e637;
}
.leader-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.leader-rank {
  font-family: 'Barlow Condensed', 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: #94aed3;
  letter-spacing: .03em;
}
.leader-card:first-child .leader-rank { color: #cfbb8c; }
.leader-caption { margin-left: auto; color: #8b9db8; font-size: 10px; line-height: 1.5; }
.leader-top > .icon { width: 14px; height: 14px; color: #6f86a7; }
.leader-player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.leader-player > .avatar {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  border: 1px solid #bfd4f029;
  background: #25364b;
  font-size: 15px;
  box-shadow: 0 3px 12px #070d151f;
}
.leader-identity { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.leader-identity strong { color: #f0f4fb; font-size: 16px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.leader-identity small { display: block; color: #7f93b1; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.leader-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
.leader-profit { min-width: 0; }
.leader-profit .money {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.2;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: -.055em;
  white-space: nowrap;
}
.leader-chart { width: 113px; flex: 0 1 113px; min-width: 56px; }
.sparkline { display: block; width: 100%; height: 44px; color: var(--green); overflow: visible; }
.sparkline.negative, .negative .sparkline { color: var(--red); }
.sparkline.neutral { color: #90a9c9; }
.leader-chart .sparkline { height: 42px; }
.leader-meta { display: flex; gap: 14px; flex-wrap: wrap; color: #8092ad; font-size: 10px; line-height: 1.4; }
.leader-meta span { white-space: nowrap; }

.hierarchy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 11px 18px;
  min-width: 0;
  margin: 0 0 14px;
}
.hierarchy-toolbar .tracker-search { flex: 1 1 240px; width: 300px; max-width: 400px; min-width: 180px; }
.hierarchy-toolbar .tracker-search input {
  height: 38px;
  background: #171f2b;
  border: 1px solid #8099bd29;
  font-size: 12px;
  box-shadow: none;
}
.hierarchy-toolbar .tracker-search input::placeholder { color: #7488a6; }
.compact-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.compact-controls select,
.hierarchy-toolbar .outline-button,
.hierarchy-profile .profile-tools-row .outline-button {
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #8099bd29;
  border-radius: 5px;
  background: #1a2330;
  color: #a9bad1;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}
.compact-controls .compact-source { max-width: 180px; }
.compact-controls .compact-date { max-width: 154px; }
.hierarchy-toolbar .outline-button:hover,
.hierarchy-profile .profile-tools-row .outline-button:hover { background: #26364c; color: #dce8fb; border-color: #6883a751; }
.hierarchy-toolbar .filter-trigger.active,
.hierarchy-profile .profile-tools-row .filter-trigger.active { background: #2a3d59; color: #cce0ff; border-color: #6e95cc65; }
.hierarchy-toolbar .icon { width: 14px; height: 14px; }
.hierarchy-tracker .advanced-filters > .filter-panel,
.hierarchy-profile .advanced-filters > .filter-panel {
  background: #1a2330;
  border-color: #8099bd26;
  border-radius: 7px;
  padding: 17px 18px;
}
.hierarchy-tracker .advanced-filters[hidden],
.hierarchy-profile .advanced-filters[hidden] { display: none; }

.hierarchy-tracker .players-ranking { background: #171f2b; border-color: #8099bd25; border-radius: 8px; box-shadow: none; }
.hierarchy-tracker .players-ranking > .panel-head { background: #1a2330; border-color: #8099bd1c; padding: 10px 18px; min-height: 48px; }
.hierarchy-tracker .players-ranking .tabs-inline button { color: #8c9fbc; font-size: 11px; padding: 7px 12px; }
.hierarchy-tracker .players-ranking .tabs-inline button.active { background: #2a3b54; color: #d2e1f8; }
.hierarchy-tracker .players-ranking table { min-width: 1120px; }
.hierarchy-tracker .players-ranking th { background: #1c2533; border-color: #8099bd22; color: #8599b5; font-size: 11px; padding: 13px 18px; }
.hierarchy-tracker .players-ranking .sort-button { color: #91a4c1; font-size: 11px; font-weight: 400; }
.hierarchy-tracker .players-ranking .sort-button.sorted { color: #d2e3fa; }
.hierarchy-tracker .players-ranking td {
  background: #171f2b;
  border-color: #8099bd16;
  height: 72px;
  padding: 13px 18px;
  color: #92a5c0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.hierarchy-tracker .players-ranking tbody tr:nth-child(even) td { background: #19222e; }
.hierarchy-tracker .players-ranking tbody tr:hover td,
.hierarchy-tracker .players-ranking tbody tr:focus-within td { background: #223047; }
.hierarchy-tracker .players-ranking .rank { width: 53px; color: #7f94b3; font-size: 13px; }
.hierarchy-tracker .players-ranking .primary-player { min-width: 230px; }
.hierarchy-tracker .players-ranking .player-cell { min-width: 206px; gap: 12px; }
.hierarchy-tracker .players-ranking .player-cell > .avatar { width: 42px; height: 42px; flex: 0 0 42px; border-color: #aec7ea28; }
.hierarchy-tracker .players-ranking .player-name { color: #edf3fc; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.hierarchy-tracker .players-ranking .subline { font-size: 10px; color: #748baa; margin-top: 3px; }
.hierarchy-tracker .players-ranking .primary-profit { min-width: 160px; }
.hierarchy-tracker .players-ranking .primary-profit .table-money { font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.hierarchy-tracker .players-ranking td:not(.primary-profit) > .money { font-size: 12px; }
.hierarchy-tracker .players-ranking .trend-cell { width: 138px; min-width: 118px; text-align: left; }
.trend-link { display: block; padding: 4px 0; width: 114px; text-decoration: none; border-radius: 3px; }
.trend-link .sparkline { height: 34px; }
.hierarchy-tracker .players-ranking .pagination { padding: 15px 18px; background: #19222f; color: #7f94b2; font-size: 11px; }
.hierarchy-tracker .tracker-scope-note { color: #7388a5; font-size: 10px; margin: 13px 0 17px; }
.hierarchy-tracker .tracker-scope-note a { color: #8da7cc; }

.data-review-drawer,
.hierarchy-profile .profile-review-drawer {
  border: 0;
  border-top: 1px solid #8099bd1c;
  background: transparent;
  margin: 15px 0 0;
  color: #8da2bf;
}
.data-review-drawer > summary,
.hierarchy-profile .profile-review-drawer > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 15px;
  list-style: none;
  padding: 16px 0;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.7;
  color: #9db0ca;
}
.data-review-drawer > summary::-webkit-details-marker,
.hierarchy-profile .profile-review-drawer > summary::-webkit-details-marker { display: none; }
.data-review-drawer > summary::before,
.hierarchy-profile .profile-review-drawer > summary::before {
  content: '+';
  color: #91aace;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}
.data-review-drawer[open] > summary::before,
.hierarchy-profile .profile-review-drawer[open] > summary::before { content: '\2212'; }
.data-review-drawer > summary > span,
.data-review-drawer > summary > small { color: #738aa9; font-size: 10px; }
.data-review-content { padding: 0 0 7px; }
.data-review-content .tracker-workspace {
  margin: 0;
  padding: 14px 17px;
  background: #182230;
  border-color: #8099bd20;
  box-shadow: none;
  border-radius: 5px;
}
.data-review-content .tracker-workspace-mark { background: transparent; border-color: #8099bd2b; color: #8ea7cb; }
.data-review-content .tracker-workspace-status { color: #9bb1d0; }

.hierarchy-profile .back-link { color: #8fa6c8; font-size: 11px; margin-bottom: 17px; }
.hierarchy-profile .profile-header { border: 0; margin-bottom: 23px; padding: 0; gap: 20px; min-width: 0; }
.hierarchy-profile .profile-header > .avatar.large { width: 88px; height: 88px; flex: 0 0 88px; border-width: 2px; border-color: #aec8ef29; }
.hierarchy-profile .profile-title { min-width: 0; }
.hierarchy-profile .profile-title .eyebrow { color: #7f98ba; font-size: 10px; letter-spacing: .12em; margin-bottom: 5px; }
.hierarchy-profile .profile-title h1 { color: #f0f5fd; font-size: 38px; font-weight: 600; letter-spacing: -.035em; overflow-wrap: anywhere; }
.hierarchy-profile .profile-title p { color: #8196b4; font-size: 11px; }
.hierarchy-profile .portrait-credit { color: #7087a9; font-size: 9px; margin-top: 5px; }
.hierarchy-profile .profile-header .heading-tools { margin-left: auto; flex-basis: auto; padding: 0; gap: 8px; align-items: center; }
.hierarchy-profile .profile-tag { color: #a1b8d9; border-color: #8099bd29; background: #1c2737; font-size: 10px; }
.hierarchy-profile .profile-grid {
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 17px;
  padding: 0 0 23px;
  border-bottom: 1px solid #8099bd1f;
}
.hierarchy-profile .profile-grid > .stat-card {
  display: block;
  min-width: 0;
  min-height: 109px;
  padding: 10px 26px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hierarchy-profile .profile-grid > .stat-card + .stat-card { border-left: 1px solid #8099bd1c; }
.hierarchy-profile .profile-grid > .stat-card:first-child { padding-left: 0; }
.hierarchy-profile .profile-grid .stat-top { color: #8d9fb9; font-size: 11px; margin-bottom: 7px; }
.hierarchy-profile .profile-grid .stat-top .stat-icon { display: none; }
.hierarchy-profile .profile-grid .stat-value { font-size: 28px; font-weight: 500; line-height: 1.2; color: #c9d8ee; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hierarchy-profile .profile-grid > .stat-card:first-child .stat-value { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; font-weight: 600; color: #ebf3ff; }
.hierarchy-profile .profile-grid > .stat-card:first-child.accent .stat-value { color: var(--green); }
.hierarchy-profile .profile-grid .stat-sub { color: #738baa; font-size: 10px; line-height: 1.8; margin-top: 9px; overflow-wrap: anywhere; }
.hierarchy-profile .profile-tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin: 0 0 16px; }
.hierarchy-profile .profile-filter-summary { font-size: 11px; line-height: 1.7; color: #8299b9; overflow-wrap: anywhere; }
.hierarchy-profile .profile-primary-chart { margin: 0 0 27px; background: #192330; border-color: #8fa9ce24; border-radius: 8px; overflow: hidden; }
.hierarchy-profile .profile-primary-chart > .panel-head { background: transparent; padding: 20px 24px 3px; border-bottom: 0; }
.hierarchy-profile .profile-primary-chart .panel-title { font-size: 16px; color: #dce9fb; }
.hierarchy-profile .profile-primary-chart .panel-caption { font-size: 10px; color: #738eaf; margin-top: 3px; }
.hierarchy-profile .profile-primary-chart .chart-wrap { padding: 12px 20px 3px; }
.hierarchy-profile .profile-primary-chart .chart-legend { color: #829cbd; font-size: 10px; }
.hierarchy-profile .profile-shortcuts { gap: 8px; margin: 0 0 20px; padding: 0 0 17px; border-color: #8099bd1c; }
.hierarchy-profile .profile-shortcuts button,
.hierarchy-profile .profile-shortcuts button:first-child { min-height: 36px; padding: 8px 13px; color: #9db4d5; background: #1a2637; border-color: #8099bd2a; font-size: 11px; }
.hierarchy-profile .profile-shortcuts button:hover { background: #2a3c56; color: #d5e5fc; border-color: #779ed356; }
.hierarchy-profile .profile-review-drawer { margin-top: 24px; }
.hierarchy-profile .profile-review-drawer > summary { padding: 17px 0; }
.hierarchy-profile .profile-secondary-section { min-width: 0; }
.hierarchy-tracker :is(a, button, input, select, summary):focus-visible,
.hierarchy-profile :is(a, button, input, select, summary):focus-visible { outline: 2px solid #a3c8ff; outline-offset: 3px; }

@media (max-width: 1180px) {
  .hierarchy-tracker .tracker-intro { grid-template-columns: minmax(0, 1fr) 275px; gap: 20px; }
  .leader-card { padding: 14px 18px; gap: 9px; }
  .leader-profit .money { font-size: 27px; }
  .leader-chart { flex-basis: 90px; width: 90px; }
  .hierarchy-toolbar .tracker-search { flex: 1 1 210px; }
  .hierarchy-profile .profile-grid > .stat-card { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 900px) {
  .hierarchy-tracker .tracker-intro { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; min-height: 72px; margin-bottom: 18px; }
  .hierarchy-tracker .tracker-summary { padding-left: 18px; grid-template-columns: repeat(3, minmax(55px, 1fr)); gap: 4px 12px; }
  .hierarchy-tracker .tracker-summary > a { display: none; }
  .hierarchy-tracker .tracker-summary strong { font-size: 18px; }
  .hierarchy-tracker .location-heading h1 .tracker-title-source { font-size: 31px; }
  .hierarchy-tracker .location-heading h1 .tracker-title-label { font-size: 21px; }
  html[lang=en] .hierarchy-tracker .location-heading h1 .tracker-title-label { font-size: 24px; }
  .leader-strip { gap: 11px; margin-bottom: 23px; }
  .leader-card { padding: 14px 15px; gap: 9px; }
  .leader-player { gap: 10px; }
  .leader-player > .avatar { width: 43px; height: 43px; flex-basis: 43px; }
  .leader-identity strong { font-size: 14px; }
  .leader-identity small { font-size: 9px; }
  .leader-bottom { gap: 8px; }
  .leader-profit .money { font-size: 25px; }
  .leader-chart { flex-basis: 66px; width: 66px; min-width: 45px; }
  .leader-meta { gap: 5px 12px; font-size: 9px; }
  .hierarchy-toolbar { gap: 10px; }
  .hierarchy-toolbar .tracker-search { flex: 1 1 100%; max-width: none; width: 100%; }
  .compact-controls { width: 100%; }
  .compact-controls select { flex: 1 1 auto; }
  .hierarchy-profile .profile-title h1 { font-size: 32px; }
  .hierarchy-profile .profile-header > .avatar.large { width: 78px; height: 78px; flex-basis: 78px; }
  .hierarchy-profile .profile-grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
  .hierarchy-profile .profile-grid > .stat-card { min-height: 104px; padding-left: 17px; padding-right: 17px; }
  .hierarchy-profile .profile-grid > .stat-card:first-child .stat-value { font-size: 35px; }
  .hierarchy-profile .profile-grid .stat-value { font-size: 25px; }
  .data-review-content .tracker-workspace { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 600px) {
  .hierarchy-tracker .tracker-intro { display: block; min-height: 0; margin-bottom: 18px; }
  .hierarchy-tracker .location-heading h1 { column-gap: 10px; margin-bottom: 5px; }
  .hierarchy-tracker .location-heading h1 .tracker-title-source { font-size: 31px; }
  .hierarchy-tracker .location-heading h1 .tracker-title-label { font-size: 21px; }
  .hierarchy-tracker .location-heading p { font-size: 11px; line-height: 1.75; }
  .hierarchy-tracker .updated-label { margin-bottom: 7px; font-size: 9px; }
  .hierarchy-tracker .tracker-summary { display: flex; flex-wrap: wrap; gap: 14px; padding: 11px 0 0; border: 0; }
  .hierarchy-tracker .tracker-summary > div { display: flex; align-items: baseline; gap: 5px; }
  .hierarchy-tracker .tracker-summary strong { font-size: 14px; line-height: 1.4; color: #9db2d0; }
  .hierarchy-tracker .tracker-summary span { margin: 0; font-size: 9px; color: #7388a6; }
  .leader-strip { display: flex; gap: 11px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #3e536f transparent; padding: 0 0 8px; margin-bottom: 18px; }
  .leader-card { flex: 0 0 min(83%, 320px); scroll-snap-align: start; padding: 17px 18px; gap: 13px; }
  .leader-rank { font-size: 16px; }
  .leader-caption { font-size: 10px; }
  .leader-player > .avatar { width: 46px; height: 46px; flex-basis: 46px; }
  .leader-identity strong { font-size: 15px; }
  .leader-identity small { font-size: 10px; }
  .leader-profit .money { font-size: 30px; }
  .leader-chart { width: 90px; flex-basis: 90px; }
  .leader-meta { font-size: 10px; gap: 15px; }
  .hierarchy-toolbar { margin-bottom: 12px; }
  .hierarchy-toolbar .tracker-search { min-width: 0; }
  .hierarchy-toolbar .tracker-search input { height: 39px; font-size: 12px; }
  .compact-controls { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto auto auto; gap: 6px; }
  .compact-controls > select { min-width: 0; width: 100%; max-width: none; }
  .compact-controls .outline-button,
  .compact-controls select { font-size: 10px; padding: 7px 8px; height: 36px; min-height: 36px; }
  .compact-controls [data-export] { min-width: 34px; width: 34px; font-size: 0; padding: 8px; gap: 0; }
  .compact-controls [data-export] .icon { width: 15px; height: 15px; }
  .compact-controls .filter-trigger { white-space: nowrap; }
  .compact-controls .filter-trigger .icon { display: none; }
  .hierarchy-tracker .advanced-filters > .filter-panel,
  .hierarchy-profile .advanced-filters > .filter-panel { padding: 15px; gap: 12px; }
  .hierarchy-tracker .players-ranking > .panel-head { padding: 9px 10px; gap: 8px; }
  .hierarchy-tracker .players-ranking .tabs-inline button { font-size: 10px; padding: 6px 9px; }
  .hierarchy-tracker .players-ranking .table-tools select { width: 66px; padding: 6px; font-size: 10px; }
  .hierarchy-tracker .players-ranking .table-scroll > table {
    table-layout: fixed;
    width: 1030px;
    min-width: 1030px;
    max-width: none;
  }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(1),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(1) { width: 31px; min-width: 0; padding-left: 7px; padding-right: 3px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(2),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(2) { width: 156px; min-width: 0; padding-left: 7px; padding-right: 8px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(3),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(3) { width: 126px; min-width: 0; padding-left: 6px; padding-right: 10px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(4),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(4) { width: 138px; min-width: 0; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(5),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(5) { width: 74px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(6),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(6) { width: 128px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(7),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(7) { width: 185px; }
  .hierarchy-tracker .players-ranking .table-scroll > table th:nth-child(8),
  .hierarchy-tracker .players-ranking .table-scroll > table td:nth-child(8) { width: 192px; }
  .hierarchy-tracker .players-ranking th { font-size: 10px; padding: 11px 13px; }
  .hierarchy-tracker .players-ranking td { height: 66px; font-size: 11px; padding: 11px 13px; }
  .hierarchy-tracker .players-ranking td.rank { font-size: 11px; }
  .hierarchy-tracker .players-ranking td.primary-player { min-width: 0; }
  .hierarchy-tracker .players-ranking td.primary-player .player-cell { min-width: 0; gap: 8px; }
  .hierarchy-tracker .players-ranking td.primary-player .player-cell > .avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .hierarchy-tracker .players-ranking td.primary-player .name-block { min-width: 0; flex: 1; }
  .hierarchy-tracker .players-ranking td.primary-player .player-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.35;
  }
  .hierarchy-tracker .players-ranking td.primary-player .subline { display: none; }
  .hierarchy-tracker .players-ranking td.primary-profit { min-width: 0; }
  .hierarchy-tracker .players-ranking td.primary-profit .table-money { font-size: 17.5px; letter-spacing: -.035em; white-space: nowrap; }
  .hierarchy-tracker .players-ranking .pagination { padding: 13px 12px; gap: 10px; font-size: 10px; }
  .hierarchy-tracker .tracker-scope-note { font-size: 9px; line-height: 1.8; }
  .data-review-drawer > summary { font-size: 10px; gap: 6px 10px; }
  .data-review-drawer > summary > span,
  .data-review-drawer > summary > small { font-size: 9px; }
  .data-review-content .tracker-workspace { padding: 14px; }
  .hierarchy-profile .back-link { margin-bottom: 16px; font-size: 10px; }
  .hierarchy-profile .profile-header { flex-wrap: wrap; gap: 13px; margin-bottom: 20px; align-items: center; }
  .hierarchy-profile .profile-header > .avatar.large { width: 69px; height: 69px; flex-basis: 69px; }
  .hierarchy-profile .profile-title { flex: 1; min-width: 0; }
  .hierarchy-profile .profile-title h1 { font-size: 29px; line-height: 1.18; }
  .hierarchy-profile .profile-title .eyebrow { font-size: 9px; margin-bottom: 4px; }
  .hierarchy-profile .profile-title p { font-size: 10px; margin-top: 5px; }
  .hierarchy-profile .profile-header .heading-tools { flex-basis: 100%; margin: 1px 0 0; padding: 0; justify-content: flex-start; gap: 7px; }
  .hierarchy-profile .profile-header .heading-tools .outline-button { min-height: 32px; padding: 7px 9px; font-size: 10px; }
  .hierarchy-profile .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 13px; padding-bottom: 15px; gap: 0; }
  .hierarchy-profile .profile-grid > .stat-card { display: block; padding: 15px 0 0; min-height: 87px; }
  .hierarchy-profile .profile-grid > .stat-card:first-child { grid-column: 1 / -1; padding: 0 0 17px; min-height: 103px; }
  .hierarchy-profile .profile-grid > .stat-card + .stat-card { border: 0; border-top: 1px solid #8099bd1b; }
  .hierarchy-profile .profile-grid > .stat-card:last-child { padding-left: 18px; }
  .hierarchy-profile .profile-grid .stat-top { font-size: 10px; margin-bottom: 6px; }
  .hierarchy-profile .profile-grid .stat-value { font-size: 24px; }
  .hierarchy-profile .profile-grid > .stat-card:first-child .stat-value { font-size: 39px; letter-spacing: -.045em; }
  .hierarchy-profile .profile-grid .stat-sub { font-size: 9px; line-height: 1.65; margin-top: 7px; }
  .hierarchy-profile .profile-tools-row { gap: 9px; margin-bottom: 13px; }
  .hierarchy-profile .profile-tools-row .outline-button { font-size: 10px; padding: 7px 9px; }
  .hierarchy-profile .profile-filter-summary { flex: 1; min-width: 0; font-size: 10px; }
  .hierarchy-profile .profile-primary-chart { margin-bottom: 22px; padding-bottom: 10px; }
  .hierarchy-profile .profile-primary-chart > .panel-head { padding: 17px 15px 3px; gap: 8px; }
  .hierarchy-profile .profile-primary-chart .panel-title { font-size: 14px; }
  .hierarchy-profile .profile-primary-chart .panel-caption { font-size: 9px; letter-spacing: .02em; }
  .hierarchy-profile .profile-primary-chart .chart-wrap { padding: 12px 4px 0; }
  .hierarchy-profile .profile-primary-chart .chart-legend { display: none; }
  .hierarchy-profile .profile-shortcuts { gap: 6px; padding-bottom: 15px; }
  .hierarchy-profile .profile-shortcuts button,
  .hierarchy-profile .profile-shortcuts button:first-child { min-height: 37px; padding: 8px 11px; font-size: 10px; }
}
@media (max-width: 360px) {
  .compact-controls { gap: 5px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto; }
  .compact-controls .compact-source { grid-column: span 2; }
  .compact-controls .compact-date { grid-column: span 2; grid-row: 2; }
  .compact-controls .outline-button { min-width: 0; }
  .leader-card { flex-basis: 90%; }
  .leader-profit .money { font-size: 28px; }
  .hierarchy-profile .profile-title h1 { font-size: 26px; }
  .hierarchy-profile .profile-grid > .stat-card:first-child .stat-value { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .leader-card { transition: none; }
  .leader-strip { scroll-snap-type: none; }
}

/* Public presentation: concise results and identity, audit records retained. */
.brand-name{font-family:'Microsoft YaHei',sans-serif;font-size:24px;letter-spacing:.06em}
.brand-name>span{font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:.04em;text-transform:none;margin-top:3px}
.brand-symbol{font-family:Georgia,serif;font-size:31px;line-height:1}
.header-actions{margin-left:auto}
.hierarchy-tracker .tracker-intro{min-height:66px;margin-bottom:18px}
.hierarchy-tracker .tracker-summary{grid-template-columns:repeat(2,auto);padding-right:0;gap:34px}
.hierarchy-tracker .tracker-summary>div{padding:0;border:0}
.hierarchy-tracker .tracker-summary strong{font-size:24px}
.hierarchy-tracker .tracker-summary span{font-size:11px}
.data-review-drawer,.updated-label,.asof,.tracker-scope-note,.coverage-strip,
.ev-census-note,.actual-ev-separation,.ev-profile-note,.source-review-note,
.source-review-count,.ev-all-player-note,.ev-profit-formula,.ev-method,
.profile-review-drawer>summary,.profile-review-content>.pending-callout,
.profile-review-content>.ev-profit-profile,.matchup-census,.matchup-scope,
.matchup-method-note,.matchup-coverage,.matchup-sample-tag{display:none!important}
.profile-review-drawer,.profile-review-content{border:0!important;padding:0!important;margin:0!important}
.site-footer{padding-top:22px;padding-bottom:22px}
.site-footer>div{gap:0}
.footer-brand{font-size:12px;letter-spacing:.03em;text-transform:none}
@media(max-width:600px){
 .brand-name{font-size:22px}.brand-name>span{font-size:9px}
 .hierarchy-tracker .tracker-intro{min-height:0;margin-bottom:17px;gap:12px}
 .hierarchy-tracker .tracker-summary{gap:22px;display:flex;padding:0}
 .hierarchy-tracker .tracker-summary>div{display:flex;align-items:baseline;gap:6px}
 .hierarchy-tracker .tracker-summary strong{font-size:16px}
 .hierarchy-tracker .tracker-summary span{font-size:11px}
}

/* Bilingual product name; English is split across two lines. */
.brand-name{min-width:0;line-height:1.15}.brand-name>[data-brand-primary]{display:block;font:inherit}.brand-name>[data-brand-secondary]{display:block;line-height:1.35;white-space:normal;letter-spacing:.02em}html[lang=en] .brand-name{font-size:23px;letter-spacing:0}.footer-brand{overflow-wrap:anywhere}@media(max-width:600px){html[lang=en] .brand-name{font-size:18px}.brand-name>[data-brand-secondary]{font-size:8px}.header-inner{gap:12px}.brand{gap:9px}}

/* Two EV rankings share a switch; source channels stay beside session results. */
.ev-rank-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid #3c4b63}
.ev-rank-navigation .ev-subnav{display:inline-flex;flex-wrap:nowrap;gap:3px;width:auto;max-width:100%;margin:0;padding:3px;border:1px solid #35445a;border-radius:5px;background:#18202c}
.ev-rank-navigation .ev-subnav a,html[lang=en] .ev-rank-navigation .ev-subnav a{flex:1 1 auto;min-height:36px;padding:8px 13px;font-size:12px;line-height:1.5;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:3px}
.ev-rank-navigation .ev-coverage-link{margin-left:auto;font-size:11px;line-height:1.6;color:#a9c4eb}
.ev-rank-navigation .ev-coverage-link:hover{color:#dcecff;text-decoration:underline}
.session-source-directory{margin:0 0 18px;scroll-margin-top:145px}
.session-source-directory>summary{display:flex;align-items:center;gap:10px;padding:14px 18px;list-style:none;cursor:pointer;font-size:12px;color:#c5d7ef}
.session-source-directory>summary::-webkit-details-marker{display:none}
.session-source-directory>summary::before{content:'+';width:12px;flex:0 0 12px;color:#93b7ed;font-size:17px;line-height:1}
.session-source-directory[open]>summary::before{content:'\2212'}
.session-source-directory>summary>span{margin-left:auto;font-size:10px;font-weight:400;color:#8fa4c1;white-space:nowrap}
.session-source-directory[open]>summary{border-bottom:1px solid #303e53}
.session-source-directory>.directory-intro{max-width:none;margin:18px 18px 14px;font-size:12px;line-height:1.8}
.session-source-directory>.stream-directory{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px;padding:0 18px 18px}
.session-source-directory .stream-card{min-width:0;padding:20px}
.session-source-directory .stream-card h2{margin-top:18px;font-size:23px}
.session-source-directory .stream-card-actions{flex-wrap:wrap;gap:12px 18px}
@media(max-width:600px){
 .ev-rank-navigation{gap:10px 14px;margin-bottom:17px;padding-bottom:12px}
 .ev-rank-navigation .ev-subnav a,html[lang=en] .ev-rank-navigation .ev-subnav a{font-size:11px;padding:8px 11px}
 .ev-rank-navigation .ev-coverage-link{margin-left:0;font-size:10px}
 .session-source-directory>summary{padding:13px 14px;font-size:11px;gap:8px}
 .session-source-directory>summary>span{font-size:9px}
 .session-source-directory>.directory-intro{margin:15px 14px 12px;font-size:11px}
 .session-source-directory>.stream-directory{padding:0 14px 14px}
 .session-source-directory .stream-card{padding:17px}
}

/* Each session opens its own results directly below the selected table row. */
.session-inline-result-row[hidden]{display:none}
.session-index .session-inline-result-row>td{padding:16px;white-space:normal;background:#171f2d}
.session-inline-result-row .session-result-card{margin:0;border:1px solid #3b4b64;border-radius:4px;overflow:hidden}
.session-inline-result-row .session-result-table{min-width:0!important}
.session-result-button{white-space:nowrap}
@media(max-width:600px){.session-index .session-inline-result-row>td{padding:10px}}

/* EV views follow the same compact hierarchy as the actual-profit ranking. */
.ev-hierarchy .ev-rank-navigation{gap:9px 16px;margin:0 0 19px;padding:0;border:0}
.ev-hierarchy .ev-rank-navigation .ev-subnav{display:inline-flex;flex-wrap:nowrap;gap:3px;width:auto;max-width:100%;margin:0;padding:3px;border:1px solid #8099bd25;border-radius:5px;background:#1a2330}
.ev-hierarchy .ev-rank-navigation .ev-subnav a,html[lang=en] .ev-hierarchy .ev-rank-navigation .ev-subnav a{min-height:32px;padding:6px 12px;border:1px solid transparent;border-radius:3px;background:transparent;color:#8c9fbc;font-size:11px;line-height:1.5;white-space:nowrap}
.ev-hierarchy .ev-rank-navigation .ev-subnav a.active{border-color:transparent;background:#2a3b54;color:#d2e1f8}
.ev-hierarchy .ev-rank-navigation .ev-subnav a:hover{background:#26374e;color:#e0ecff}
.ev-hierarchy .ev-rank-navigation .ev-coverage-link{color:#829bbf;font-size:10px}
.ev-hierarchy .ev-ranking-panel{min-width:0;border-color:#8099bd25;border-radius:8px;background:#171f2b;box-shadow:none}
.ev-hierarchy .ev-ranking-panel>.panel-head{min-height:48px;padding:10px 18px;border-color:#8099bd1c;background:#1a2330}
.ev-hierarchy .ev-ranking-panel>.panel-head .panel-title{margin:0;color:#b9cce8;font-size:13px;font-weight:500;line-height:1.5}
.ev-hierarchy .ev-ranking-panel>.panel-head .panel-caption{margin:4px 0 0;color:#7e94b3;font-size:10px;line-height:1.6}
.ev-hierarchy .ev-ranking-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px 15px;min-width:0;padding:10px 18px;border-bottom:1px solid #8099bd1c;background:#1a2330;color:#8da2bf;font-size:11px;line-height:1.5}
.ev-hierarchy .ev-ranking-controls label{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:11px;line-height:1.5}
.ev-hierarchy .ev-ranking-controls select{max-width:100%;min-height:31px;padding:5px 28px 5px 9px;border:1px solid #40516d;border-radius:4px;background-color:#202a3a;color:#b9cce9;font-size:11px;line-height:1.4}
.ev-hierarchy .ev-ranking-panel>.table-scroll{min-width:0;max-width:100%;overflow-x:auto}
.ev-hierarchy .ev-ranking-panel table{min-width:1120px}
.ev-hierarchy .ev-ranking-panel th{padding:13px 18px;border-color:#8099bd22;background:#1c2533;color:#8599b5;font-size:11px;font-weight:500;line-height:1.6}
.ev-hierarchy .ev-ranking-panel td{height:72px;padding:13px 18px;border-color:#8099bd16;background:#171f2b;color:#92a5c0;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.ev-hierarchy .ev-ranking-panel .primary-profit{min-width:160px;background:#171f2b}
.ev-hierarchy .ev-ranking-panel tbody tr:nth-child(even) td{background:#19222e}
.ev-hierarchy .ev-ranking-panel tbody tr:hover td,.ev-hierarchy .ev-ranking-panel tbody tr:focus-within td{background:#223047}
.ev-hierarchy .ev-ranking-panel .rank{width:53px;color:#7f94b3;font-size:13px}
.ev-hierarchy .ev-ranking-panel .primary-player{min-width:230px}
.ev-hierarchy .ev-ranking-panel .player-cell{min-width:206px;gap:12px}
.ev-hierarchy .ev-ranking-panel .player-cell>.avatar{width:42px;height:42px;flex:0 0 42px;border-color:#aec7ea28}
.ev-hierarchy .ev-ranking-panel .player-name{color:#edf3fc;font-size:15px;font-weight:600;letter-spacing:0}
.ev-hierarchy .ev-ranking-panel .subline{margin-top:3px;color:#748baa;font-size:10px;line-height:1.6}
.ev-hierarchy .ev-ranking-panel .primary-profit .table-money{font-size:21px;font-weight:600;letter-spacing:-.035em}
.ev-hierarchy .ev-ranking-panel td:not(.primary-profit)>.money{font-size:12px}
.ev-hierarchy .ev-ranking-panel .pagination{padding:15px 18px;background:#19222f;color:#7f94b2;font-size:11px}
.ev-hierarchy .data-review-content .ev-scope,.ev-hierarchy .data-review-content .ev-profit-formula{margin:0 0 13px;padding:14px 17px;border:1px solid #8099bd20;border-radius:5px;background:#182230;color:#92a8c6;font-size:11px;line-height:1.85;box-shadow:none}
@media(max-width:760px){.ev-hierarchy .ev-rank-navigation{gap:8px 12px;margin-bottom:17px}.ev-hierarchy .ev-rank-navigation .ev-subnav a,html[lang=en] .ev-hierarchy .ev-rank-navigation .ev-subnav a{min-height:31px;padding:6px 10px;font-size:10px}.ev-hierarchy .ev-ranking-panel>.panel-head{min-height:44px;padding:9px 12px}.ev-hierarchy .ev-ranking-controls{gap:8px 12px;padding:9px 12px}.ev-hierarchy .ev-ranking-panel th{padding:12px 14px;font-size:10px}.ev-hierarchy .ev-ranking-panel td{height:65px;padding:11px 14px;font-size:11px}.ev-hierarchy .ev-ranking-panel .rank{width:43px;font-size:12px}.ev-hierarchy .ev-ranking-panel .primary-player{min-width:190px}.ev-hierarchy .ev-ranking-panel .player-cell{min-width:165px;gap:10px}.ev-hierarchy .ev-ranking-panel .player-cell>.avatar{width:35px;height:35px;flex-basis:35px}.ev-hierarchy .ev-ranking-panel .player-name{font-size:13px}.ev-hierarchy .ev-ranking-panel .primary-profit .table-money{font-size:19px}.ev-hierarchy .ev-ranking-panel .pagination{padding:13px 14px;font-size:10px}}
@media(max-width:420px){.ev-hierarchy .ev-rank-navigation .ev-coverage-link{margin-left:0}.ev-hierarchy .ev-ranking-panel>.panel-head .panel-title{font-size:12px}.ev-hierarchy .ev-ranking-controls label,.ev-hierarchy .ev-ranking-controls select{font-size:10px}.ev-hierarchy .ev-ranking-panel table{min-width:1050px}.ev-hierarchy .data-review-content .ev-scope,.ev-hierarchy .data-review-content .ev-profit-formula{padding:12px 13px;font-size:10px}}

/* The live-session list uses one compact row of filters and search tools. */
.session-list-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-width:0;max-width:100%;margin:0 0 18px}
.session-list-selects{display:flex;align-items:center;flex:0 1 530px;gap:10px;min-width:0;max-width:100%}
.session-list-selects>select{flex:1 1 180px;width:180px;min-width:0}
.session-list-selects>#session-date{flex-basis:150px;width:150px}
.session-list-toolbar .outline-button,.session-list-toolbar>select{box-sizing:border-box;height:39px;min-height:39px;padding:8px 11px;border:1px solid #40516b;border-radius:4px;background:#202b3d;color:#c4d5ef;font-size:12px;line-height:1.4;box-shadow:none}
.session-list-toolbar select.outline-button{padding-right:29px}
.session-list-toolbar>.outline-button:hover{background:#2a3b55;border-color:#6885ac;color:#e4eeff}
.session-list-toolbar>select{flex:0 1 92px;width:92px;min-width:0}
.session-list-toolbar .session-list-search{position:relative;flex:1 1 220px;width:auto;min-width:180px;max-width:none;margin:0}
.session-list-search>input{display:block;box-sizing:border-box;width:100%;min-width:0;height:39px;padding:9px 12px 9px 34px;border:1px solid #8099bd29;border-radius:4px;background:#171f2b;color:#d9e6fa;font-family:inherit;font-size:12px;line-height:1.4;box-shadow:none}
.session-list-search>input::placeholder{color:#7488a6}
.session-list-search>.icon{top:12px;color:#8096b7}
.session-list-toolbar>[data-export]{flex:0 0 auto;min-width:94px;white-space:nowrap}
@media(max-width:900px){.session-list-toolbar .outline-button,.session-list-toolbar>select,.session-list-search>input{font-size:11px}.session-list-selects{gap:8px}}
@media(max-width:600px){.session-list-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:16px}.session-list-selects{flex:1 1 100%;width:100%;max-width:none;gap:8px}.session-list-toolbar .session-list-selects>select{flex:1 1 0;width:0;min-width:0;padding-left:9px;padding-right:24px;font-size:11px}.session-list-toolbar .session-list-search{flex:1 1 180px;min-width:0}.session-list-toolbar>[data-export]{min-width:91px}.session-list-toolbar>select{flex:0 1 87px}}
