/* Approved brand treatment: blue header with the supplied white XINGFU KELE logo. */
:root { --xk-brand: #205bff; }

.header-logo.logo-tile {
  width: 140px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.header-logo .logo-mark { aspect-ratio: 835 / 520; }
.header-logo .logo-mark img { width: 139.88%; left: -19.88%; top: -24.0385%; }
.header-identity { gap: 26px; }
.header-kicker .eyebrow { color: #8ea7cf; letter-spacing: 2.4px; font-size: 10px; }
.header-heading h1 { font-size: clamp(23px, 1.7vw, 32px); font-weight: 550; max-width: 1050px; }
.header-right { flex-shrink: 0; }
.header { position: relative; padding-bottom: 22px; }
.header::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 140px; height: 2px; background: var(--xk-brand); }
.metric::after { background: var(--xk-brand); width: 58px; }
.metric:first-child { border-top-color: #315ab1; }
.stations-panel .panel-heading h2::before { content: ''; display: inline-block; width: 3px; height: 13px; background: var(--xk-brand); margin-right: 8px; vertical-align: -1px; border-radius: 1px; }
.footer-brand.logo-tile { width: 44px; height: 22px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.footer-brand .logo-mark img { width: 139.88%; left: -19.88%; top: -32.3834%; }
.ticker-heading-label { color: #8fa9d5; letter-spacing: .6px; }

/* Blue brand band and the supplied white lockup. */
html[data-brand="2"] .header {
  padding: 20px 24px;
  margin-bottom: 5px;
  border: 1px solid #355ed0;
  border-radius: 10px;
  background: linear-gradient(112deg, #205bff 0%, #1949ce 56%, #153c9e 56.1%, #10213d 78%, #0e1a2d 100%);
  box-shadow: 0 10px 40px #0d2c681f;
}
html[data-brand="2"] .header::after { display: none; }
html[data-brand="2"] .header-kicker .eyebrow { color: #d2dfff; }
html[data-brand="2"] .header-heading h1 { color: #fff; }
html[data-brand="2"] .header-right { padding: 12px 0 12px 20px; }
html[data-brand="2"] .connection { color: #c6d8f5; }
html[data-brand="2"] .clock-block div { color: #a0b6d8; }
html[data-brand="2"] .clock-block { border-color: #6385ce60; }
html[data-brand="2"] .header .icon-button { background: #d0e0ff0f; border-color: #9ab5ed40; color: #d9e6ff; }
html[data-brand="2"] .toolbar { border-top-color: transparent; }
html[data-brand="2"] .metric { background: linear-gradient(120deg, #142641, #101824 75%); border-top-color: #34599a; }
html[data-brand="2"] .metric::after { width: 82px; }
html[data-brand="2"] .stations-panel { border-top: 2px solid var(--xk-brand); }
html[data-brand="2"] .footer.telemetry-footer { border-top: 1px solid #254474; }

@media (min-width: 1700px) {
  .header-logo.logo-tile { width: 154px; }
  .header-identity { gap: 32px; }
  .header-kicker .eyebrow { font-size: 11px; }
  html[data-brand="2"] .header { padding: 22px 28px; }
}

@media (max-width: 1190px) {
  .header-logo.logo-tile { width: 114px; }
  .header-identity { gap: 20px; }
  .header-heading h1 { font-size: 23px; }
  .header-kicker .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  html[data-brand="2"] .header { padding: 18px; }
  html[data-brand="2"] .header-right { padding-left: 5px; }
}

@media (max-width: 700px) {
  .header-logo.logo-tile { width: 86px; }
  .header-identity { gap: 16px; }
  .header-heading h1 { font-size: 19px; line-height: 1.35; }
  .header-kicker .eyebrow { font-size: 7px; letter-spacing: .8px; line-height: 1.5; }
  .header::after { width: 86px; }
  html[data-brand="2"] .header { padding: 18px 14px 14px; background: linear-gradient(145deg, #205bff, #1641b7 65%, #10213d); }
  html[data-brand="2"] .header-right { padding: 0; }
}

@media (max-width: 380px) {
  .header-logo.logo-tile { width: 68px; }
  .header-identity { gap: 12px; }
  .header-heading h1 { font-size: 17px; }
}
