/* ISSUE-005: Adventure status / base-ability icons
   Display-only. Uses existing GameAssets_RELEASE runtime assets already present in the game.
*/

/* ---- Main status page: combat/stat icons ---- */
#adventure #statusSummaryStats > div::before{
  content:""!important;
  display:block!important;
  width:clamp(27px,2.45vw,40px)!important;
  height:clamp(27px,2.45vw,40px)!important;
  min-width:27px!important;
  min-height:27px!important;
  background-position:center!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  flex:0 0 auto!important;
}
#adventure #statusSummaryStats > div:nth-child(1)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_STAT_HP_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(2)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_STAT_MP_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(3)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_PATK_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(4)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_HIT_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(5)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_PDEF_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(6)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_EVA_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(7)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_MATK_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(8)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_SPEED_01.webp")!important;
}
#adventure #statusSummaryStats > div:nth-child(9)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/combat/UI_ICON_COMBAT_MDEF_01.webp")!important;
}

/* ---- Base abilities: 8 ability icons ---- */
#adventure #attributeGrid > .attribute-card::before{
  content:""!important;
  display:block!important;
  width:clamp(27px,2.25vw,38px)!important;
  height:clamp(27px,2.25vw,38px)!important;
  min-width:27px!important;
  min-height:27px!important;
  background-position:center!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  flex:0 0 auto!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(1)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_STR_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(2)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_INT_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(3)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_DEX_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(4)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_MND_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(5)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_VIT_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(6)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_LUK_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(7)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_AGI_01.webp")!important;
}
#adventure #attributeGrid > .attribute-card:nth-child(8)::before{
  background-image:url("../assets/ui/adventure_runtime/icons/ability/UI_ICON_ABILITY_CHA_01.webp")!important;
}

/* Keep icon / label / value / plus button in one row, matching the target UI. */
#adventure #attributeGrid > .attribute-card{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  gap:clamp(3px,.28vw,6px)!important;
}
#adventure #attributeGrid > .attribute-card .attribute-name{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media (max-width:1200px) and (orientation:landscape){
  #adventure #statusSummaryStats > div::before,
  #adventure #attributeGrid > .attribute-card::before{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
}
