#verified-growth[hidden], #classic-growth[hidden], .growth-v2-challenge [hidden] { display: none !important; }

.growth-v2-totals { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.growth-v2-totals div { padding: .65rem .8rem; border-radius: .65rem; background: #1b2a36; }
.growth-v2-totals span { display: block; font-size: .85rem; color: #b6c8d6; }
.growth-v2-totals strong { color: #f4c486; font-size: 1.65rem; }
.growth-v2-totals div + div strong, .v2-domain-balance { color: #a9d0ed; }
.growth-v2-domains { list-style: none; margin: .85rem 0; padding: 0; }
.growth-v2-domains li { border-block-end: 1px solid #35495a; }
.growth-v2-domains summary { cursor: pointer; min-height: 2.65rem; padding: .5rem .2rem; }
.growth-v2-domains summary small { display: inline-block; margin-inline-start: .5rem; color: #b5c7d7; }
.growth-v2-domains details > :not(summary) { margin: 0 0 .55rem .3rem; }
.growth-v2-domains progress { display: block; max-width: 100%; accent-color: #e4aa65; }
#v2-radar { display: block; width: min(100%, 24rem); height: auto; margin-inline: auto; }
#v2-show-classic { margin-block: .45rem .8rem; }

.growth-v2-challenge { width: min(calc(100% - 1rem), 41rem); }
.growth-v2-challenge .challenge-header { grid-template-columns: minmax(0, 1fr) auto; }
.growth-v2-challenge #v2-prompt { line-height: 1.45; }
.growth-v2-challenge .growth-v2-actions { display: flex; flex-wrap: wrap; }
.v2-sudoku { border-collapse: collapse; width: min(100%, 21rem); table-layout: fixed; margin: .7rem auto; border: 2px solid #849aab; }
.v2-sudoku td { padding: 0; border: 1px solid #4b6071; text-align: center; color: #ebbc7d; }
.v2-sudoku tr:nth-child(3n) td { border-bottom: 2px solid #849aab; }
.v2-sudoku td:nth-child(3n) { border-right: 2px solid #849aab; }
.v2-sudoku td.given { color: #e9f1f7; background: #253849; font-weight: 700; }
.v2-sudoku button { color: inherit; background: #162531; display: block; width: 100%; aspect-ratio: 1; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.v2-sudoku button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #f3ba71; background: #354653; }
.v2-keypad { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .2rem; width: min(100%, 21rem); margin: 0 auto .65rem; }
.v2-keypad .deselect { padding-inline: .15rem; min-height: 2.5rem; }
.v2-keypad button:last-child { grid-column: 1 / -1; }
.v2-choices { margin: .65rem 0; padding: .45rem .5rem .5rem; border: 1px solid #3a5266; border-radius: .6rem; min-inline-size: 0; }
.v2-choices legend { padding-inline: .3rem; color: #f0bf83; font-weight: 650; }
.v2-choices label { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .25rem; line-height: 1.4; cursor: pointer; }
.v2-choices label + label { border-top: 1px solid #324959; }
.v2-choices input { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; accent-color: #eab573; }
.v2-choices strong, .v2-choices small { display: block; }
.v2-choices small { color: #bdcedb; }
.v2-plan-summary { color: #d4e4ec; border-inline-start: 3px solid #e8b36f; padding-inline-start: .6rem; }

.tree-tabs:has(#tab-talents) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .tree-tabs:has(#tab-talents) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.evolution-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin: 0 0 .75rem;
}
.evolution-pillars div, .evolution-group, .evolution-transfer, .evolution-legacy {
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 24%, transparent);
  border-radius: .65rem;
  padding: .65rem .85rem;
  margin-block: .55rem;
}
.evolution-pillars dd { margin: .25rem 0; font-size: 1.25rem; font-weight: 700; }
.evolution-group summary, .evolution-transfer summary, .evolution-legacy summary, .evolution-research summary {
  cursor: pointer;
  padding-block: .35rem;
}
.evolution-rows { list-style: none; padding: 0; }
.evolution-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  justify-content: space-between;
  margin-block: .55rem;
  padding-block: .35rem;
}
.evolution-row small { display: block; margin-top: .2rem; }
.evolution-row button { min-height: 44px; text-align: left; }
.evolution-transfer label { display: block; margin-top: .75rem; }
.evolution-transfer input {
  width: 100%;
  padding: .65rem;
  margin-block: .35rem .65rem;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: .4rem;
}
.evolution-research { margin-bottom: .75rem; }
.evolution-research a { color: inherit; }

.world-picker { position: absolute; bottom: 1rem; z-index: 700; inset-inline: 1rem; margin: auto;
  max-width: 32rem; background: #152635; border: 1px solid #a37e52; border-radius: .75rem;
  color: #fff; padding: .65rem; display: flex; align-items: center; gap: .65rem; }
.world-picker[hidden] { display: none; }
.world-resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); gap: .5rem; }
.world-resources div, .world-placement { background: #1b2a36; padding: .65rem; border-radius: .65rem; }
.world-resources dd { margin: .3rem 0 0; font-variant-numeric: tabular-nums; font-weight: 700; color: #f4c486; }
.world-placement button + button { margin-inline-start: .5rem; }
.world-map-structure { display: block; border: 1px solid #f0ba78; border-radius: .5rem;
  text-align: center; padding: .2rem; background: #142431; color: #fff; font-size: .7rem; line-height: 1.1; }

.competition-rankings { width: 100%; border-collapse: collapse; margin-block: .75rem; }
.competition-rankings :is(th, td) { text-align: left; border-bottom: 1px solid #384e62; padding: .45rem; }
#competition-content select { display: block; width: 100%; color: inherit; background: #142534; padding: .55rem;
  border: 1px solid #5d768a; border-radius: .55rem; margin-top: .3rem; }
#competition-content button { min-height: 44px; margin: .25rem .45rem .25rem 0; }
.rival-structure { border-color: #a4c8dc; }
