/* Табло матча, часы и командная статистика. Адаптивные правила расположены рядом с компонентами. */
.detail-score { font-size: 38px; font-weight: 900; }
.detail-score em { font-style: normal; color: rgb(115, 128, 147); }
.detail-sub { text-align: center; color: var(--muted); font-size: 12px; margin-top: 3px; }
.stats-line { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; color: rgb(154, 167, 183); }
@media (max-width: 500px) {
  .stats-line { font-size: 11px; }
}
.detail-score { font-size: 32px; line-height: 1.05; }
.detail-sub { font-size: 11px; margin-top: 2px; }
.detail-top .stats-line { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 12px; padding-top: 10px; }
.scoreboard { display: grid; grid-template-columns: minmax(0px, 252px) 323px minmax(0px, 252px); justify-content: center; gap: 4px 6px; align-items: center; }
.team-banner { min-width: 0px; width: calc(100% + 75px); padding: 9px 12px; border-radius: 0px; color: rgb(255, 255, 255); font-size: 17px; font-family: "Segoe UI", Arial, sans-serif; font-weight: 400; white-space: nowrap; overflow: hidden; background: rgb(33, 75, 57); border: 1px solid rgb(50, 101, 79); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-banner.dire { background: rgb(101, 45, 45); border-color: rgb(130, 64, 63); }
.team-banner-right { text-align: right; flex-direction: row-reverse; justify-self: end; }
.team-banner-name { min-width: 0px; overflow: hidden; text-overflow: ellipsis; }
.networth-advantage { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; font-size: 14px; font-variant-numeric: tabular-nums; }
.networth-advantage b { font-weight: inherit; }
.networth-advantage .dashboard-icon { width: 16px; height: 16px; flex-basis: 16px; }
.team-banner.radiant .networth-advantage { color: rgb(107, 225, 163); }
.team-banner.dire .networth-advantage { color: rgb(255, 119, 119); }
.scoreboard-center { min-width: 105px; text-align: center; grid-area: 1 / 2 / 3; align-self: center; padding-top: 0px; }
.scoreboard .detail-score { font-size: 27px; }
.team-dashboard { display: grid; grid-template-columns: repeat(4, max-content); justify-content: center; gap: 12px; color: rgb(223, 232, 242); }
.scoreboard > .team-banner { grid-area: 1 / 1; }
.scoreboard > .team-banner-right { grid-column: 3; }
.scoreboard > .team-dashboard { grid-area: 2 / 1; }
.scoreboard > .team-dashboard { justify-content: end; padding-right: 8px; }
.scoreboard > .team-dashboard:last-child { grid-column: 3; }
.scoreboard > .team-dashboard:last-child { justify-content: start; padding-left: 8px; padding-right: 0px; }
.scoreboard > div:empty { display: none; }
.team-stat { display: flex; align-items: center; gap: 5px; min-width: 0px; font-variant-numeric: tabular-nums; }
.team-stat b { font-size: 13px; color: rgb(255, 255, 255); }
.team-dashboard.radiant .team-stat b { color: rgb(107, 225, 163); }
.team-dashboard.dire .team-stat b { color: rgb(255, 119, 119); }
.dashboard-icon { width: 18px; height: 18px; flex: 0 0 18px; color: rgb(241, 241, 241); }
@media (max-width: 900px) {
  .scoreboard { gap: 8px; grid-template-columns: minmax(0px, 1fr) auto minmax(0px, 1fr); }
  .team-banner { width: 100%; }
  .scoreboard > .team-dashboard, .scoreboard > .team-dashboard:last-child { padding: 0px; justify-content: center; }
}
@media (max-width: 650px) {
  .team-banner { padding: 9px; font-size: 13px; }
  .team-dashboard { grid-template-columns: repeat(2, max-content); }
  .scoreboard-center { min-width: 72px; }
  .scoreboard .detail-score { font-size: 22px; }
}
.team-banner { border: 0px; box-shadow: rgba(255, 255, 255, 0.05) 0px 1px 0px inset; }
@media (min-width: 1800px) {
  .monitor-grid:not(.single) .scoreboard { grid-template-columns: minmax(0px, 1fr) 260px minmax(0px, 1fr); }
}
.detail-sub .map-clock { display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1.4; color: rgb(174, 185, 200); }
.map-clock .map-divider { color: rgb(101, 116, 135); font-weight: 400; }
.map-clock .map-time { font-variant-numeric: tabular-nums; }
.detail-sub > .map-phase { display: block; margin-top: 4px; }
@media (max-width: 650px) {
  .detail-sub .map-clock { font-size: 12px; gap: 4px; }
}
.map-stale { color: var(--amber); }
@media (max-width: 650px) {
  .team-banner, .team-banner-right { flex-direction: column; align-items: stretch; white-space: normal; gap: 4px; }
  .team-banner-name { overflow: visible; overflow-wrap: anywhere; }
  .team-banner .networth-advantage { align-self: flex-start; }
  .team-banner-right .networth-advantage { align-self: flex-end; }
}
.map-stale { display: block; max-width: 150px; margin: 5px auto 0px; font-size: 11px; }
.live-layout .scoreboard { display: contents; }
.live-layout .scoreboard-center { grid-area: 1 / 2; min-width: 0px; align-self: center; padding: 2px 0px 4px; }
.live-layout .detail-sub { margin: 0px; }
.live-layout .team-banner { grid-area: 2 / 1; width: 100%; min-height: 48px; padding: 12px; border-radius: 10px; font-size: 16px; gap: 6px; align-self: stretch; }
.live-layout .team-banner-right { grid-column: 3; }
.live-layout .team-dashboard { grid-area: 3 / 1; justify-content: space-evenly; padding: 2px 0px 6px; gap: 8px; }
.live-layout .team-dashboard:last-child { grid-column: 3; padding: 2px 0px 6px; justify-content: space-evenly; }
.live-layout .detail-top > .map-stale { grid-area: 1 / 1 / auto / -1; justify-self: start; max-width: 220px; margin: 0px; }
@media (max-width: 900px) {
  .live-layout .scoreboard-center { grid-area: 1 / 1 / auto / -1; }
  .live-layout .team-banner { grid-area: 3 / 1; }
  .live-layout .team-banner-right { grid-column: 2; }
  .live-layout .team-dashboard { grid-area: 4 / 1; }
  .live-layout .team-dashboard:last-child { grid-column: 2; }
}
@media (max-width: 580px) {
  .live-layout .scoreboard-center { grid-column: 1; }
  .live-layout .team-banner-right { grid-area: 6 / 1; }
  .live-layout .team-dashboard:last-child { grid-area: 7 / 1; }
  .live-layout .team-banner { flex-direction: row; align-items: center; font-size: 15px; }
  .live-layout .team-dashboard { grid-template-columns: repeat(4, max-content); }
}
@media (min-width: 901px) {
  .monitor-grid.single .live-layout .team-banner { height: 48px; min-height: 48px; }
  .monitor-grid.single .live-layout .scoreboard-center { align-self: start; }
  .monitor-grid.single .live-layout .detail-sub > .map-phase, .monitor-grid.single .live-layout .map-stale { position: relative; z-index: 1; background: var(--bg); }
}
.live-layout .team-banner { border-radius: 7px; }
.monitor-grid .match-monitor .match-layout .scoreboard { display: grid; grid-template-columns: minmax(0px, 1fr) 90px minmax(0px, 1fr); gap: 10px 12px; align-items: center; }
.monitor-grid .match-monitor .match-layout .team-banner { grid-area: 1 / 1; display: flex; flex-direction: row; justify-content: flex-end; align-items: center; align-self: center; height: auto; min-height: 48px; width: 100%; padding: 0px; font-size: 16px; background: transparent; border: 0px; box-shadow: none; gap: 10px; }
.monitor-grid .match-monitor .match-layout .team-banner-right { grid-column: 3; flex-direction: row-reverse; }
.match-layout .team-banner-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.team-kills { font-style: normal; font-variant: tabular-nums; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: 500; font-stretch: normal; font-size: 26px; line-height: 1; font-family: "Segoe UI", sans-serif; flex: 0 0 auto; }
.radiant .team-kills { color: rgb(66, 214, 155); }
.dire .team-kills { color: rgb(241, 107, 117); }
.match-layout .networth-advantage { font-size: 13px; }
.monitor-grid .match-monitor .match-layout .scoreboard-center { grid-area: 1 / 2; min-width: 0px; align-self: center; padding: 5px 7px; background: rgb(24, 33, 45); border: 1px solid rgb(44, 57, 74); border-radius: 7px; }
.match-layout .map-clock { display: flex; flex-direction: column; gap: 0px; }
.match-layout .map-clock .map-time, .match-layout .map-clock .map-phase { order: -1; color: rgb(225, 231, 239); font-style: normal; font-variant: tabular-nums; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-weight: 500; font-stretch: normal; font-size: 18px; line-height: 1.3; font-family: "Segoe UI", sans-serif; }
.match-layout .map-clock .map-number { font-size: 10px; font-weight: 400; color: rgb(130, 144, 162); }
.match-layout .map-clock .map-divider { display: none; }
.monitor-grid .match-monitor .live-layout .team-dashboard { grid-area: 2 / 1; grid-template-columns: repeat(3, max-content); justify-content: center; padding: 0px; gap: 20px; }
.monitor-grid .match-monitor .live-layout .team-dashboard:last-child { grid-column: 3; }
.live-layout .team-dashboard .team-stat:first-child { display: none; }
.monitor-grid .match-monitor .match-layout .detail-top > .map-stale { position: static; max-width: none; margin: 0px 0px 8px; }
@media (max-width: 760px) {
  .monitor-grid .match-monitor .match-layout .team-banner { flex-wrap: wrap; gap: 6px; font-size: 14px; }
  .match-layout .networth-advantage { order: 3; flex-basis: 100%; justify-content: flex-end; }
  .match-layout .team-banner-right .networth-advantage { justify-content: flex-start; }
  .monitor-grid .match-monitor .match-layout .scoreboard { grid-template-columns: minmax(0px, 1fr) 76px minmax(0px, 1fr); column-gap: 8px; }
  .monitor-grid .match-monitor .live-layout .team-dashboard { gap: 8px; }
}
@media (max-width: 620px) {
  .team-kills { font-size: 22px; }
  .match-layout .team-banner-name { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
.match-layout .detail-sub { margin: 0px; }
.monitor-grid .match-monitor .match-layout .scoreboard-center { background: transparent; border: 0px; border-radius: 0px; }
@media (max-width: 620px) {
  .monitor-grid .match-monitor .match-layout .scoreboard { grid-template-columns: minmax(0px, 1fr) 62px minmax(0px, 1fr); gap: 6px; }
  .monitor-grid .match-monitor .match-layout .team-banner { font-size: 12px; min-height: 50px; gap: 4px; }
  .team-kills { font-size: 21px; }
  .match-layout .networth-advantage { font-size: 10px; }
  .match-layout .map-clock .map-time { font-size: 16px; }
}
