
/* ==========================================================================
   RC4.8.3 Build 6.2.8.16.9.4.12
   SEMANTIC HEADER FIT & AXES TITLE ALIGNMENT
   Baseline: 6.2.8.16.9.4.11
   BTC Frontend Presentation Contract V1.0
   Presentation-only. Grid/DOM/provider/data/business logic remain unchanged.
   ========================================================================== */

/* --------------------------------------------------------------------------
   A) PLAYER PROPERTY CARDS
   Keep title + icon on one stable line without clipping or collision.
   Geometry of the cards is not changed.
   -------------------------------------------------------------------------- */
html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-property-grid > .btc628169-master-panel.btc62816942-semantic-card
.btc62816942-card-header{
  grid-template-columns:minmax(0,1fr) 31px!important;
  column-gap:7px!important;
  align-items:center!important;
  min-width:0!important;
  margin:0 0 10px!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-property-grid > .btc628169-master-panel.btc62816942-semantic-card
.btc62816942-card-title-slot{
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-status,[data-btc6281693-slot='status'],
    .btc628169-slot-strength,[data-btc6281693-slot='strength'],
    .btc628169-slot-focus,[data-btc6281693-slot='focus'])
.btc62816942-card-title-slot :is(h2,h3,h4){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.06!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-property-grid > .btc628169-master-panel.btc62816942-semantic-card
.btc62816942-card-icon-slot{
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  font-size:16px!important;
  align-self:center!important;
  justify-self:end!important;
}

/* Slightly more room for the long semantic names. */
html body.btc-rc4836 .btc62816935-boundary-authority
:is(.btc628169-slot-status,[data-btc6281693-slot='status'],
    .btc628169-slot-focus,[data-btc6281693-slot='focus'])
.btc62816942-card-title-slot :is(h2,h3,h4){
  font-size:11.5px!important;
}

/* --------------------------------------------------------------------------
   B) PERFORMANCE AXES HEADER
   Important: 103 uses ::before for icon and ::after for subtitle.
   Do NOT turn the heading into flex; that places title/subtitle on one line.
   Restore a deterministic stacked semantic header:
   icon | title
        | subtitle
   -------------------------------------------------------------------------- */
html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-slot-axes > :is(h2,h3,h4):first-child{
  grid-column:1 / -1!important;
  grid-row:1!important;
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  margin:0 0 5px!important;
  padding:1px 8px 0 38px!important;
  font-size:15px!important;
  line-height:1.08!important;
  letter-spacing:-.018em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  box-sizing:border-box!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-slot-axes > :is(h2,h3,h4):first-child::before{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;
  display:grid!important;
  place-items:center!important;
  font-size:14px!important;
  line-height:1!important;
  transform:none!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-slot-axes > :is(h2,h3,h4):first-child::after{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:3px 0 0!important;
  padding:0!important;
  font-size:10.5px!important;
  line-height:1.15!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:#a9bfd4!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  box-sizing:border-box!important;
}

/* Radar and native axis rows remain owned by 104. No geometry rewrite here. */
html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-slot-axes .btc628169-axes-radar-host{
  min-width:0!important;
  max-width:100%!important;
}

html body.btc-rc4836 .btc62816935-boundary-authority
.btc628169-slot-axes .btc628169-axes-native-bars{
  min-width:0!important;
  max-width:100%!important;
}

/* --------------------------------------------------------------------------
   C) COMPACT DESKTOP
   Scale header typography before any wrapping is allowed.
   -------------------------------------------------------------------------- */
@media (max-width:1180px) and (min-width:861px){
  html body.btc-rc4836 .btc62816935-boundary-authority
  :is(.btc628169-slot-status,[data-btc6281693-slot='status'],
      .btc628169-slot-strength,[data-btc6281693-slot='strength'],
      .btc628169-slot-focus,[data-btc6281693-slot='focus'])
  .btc62816942-card-title-slot :is(h2,h3,h4){
    font-size:11px!important;
  }

  html body.btc-rc4836 .btc62816935-boundary-authority
  .btc628169-slot-axes > :is(h2,h3,h4):first-child{
    font-size:14px!important;
    padding-left:35px!important;
  }

  html body.btc-rc4836 .btc62816935-boundary-authority
  .btc628169-slot-axes > :is(h2,h3,h4):first-child::before{
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    min-height:27px!important;
    font-size:13px!important;
  }

  html body.btc-rc4836 .btc62816935-boundary-authority
  .btc628169-slot-axes > :is(h2,h3,h4):first-child::after{
    font-size:10px!important;
  }
}

/* Mobile may wrap naturally; desktop presentation remains locked. */
@media (max-width:860px){
  html body.btc-rc4836 .btc62816935-boundary-authority
  :is(.btc628169-slot-status,[data-btc6281693-slot='status'],
      .btc628169-slot-strength,[data-btc6281693-slot='strength'],
      .btc628169-slot-focus,[data-btc6281693-slot='focus'])
  .btc62816942-card-title-slot :is(h2,h3,h4),
  html body.btc-rc4836 .btc62816935-boundary-authority
  .btc628169-slot-axes > :is(h2,h3,h4):first-child,
  html body.btc-rc4836 .btc62816935-boundary-authority
  .btc628169-slot-axes > :is(h2,h3,h4):first-child::after{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}
