/* Mists talent chooser: one row per tier, three talents in it, the chosen one lit. The radios
   are real inputs (keyboard and screen reader first) with the client icon ring around each
   talent; the selected state is drawn in CSS, so nothing moves when a choice changes. */
.tt-form { margin: 0; display: grid; gap: 14px; }
.tt-tier {
  margin: 0;
  padding: 12px 14px 14px;
  border: 1px solid var(--wgf-border-neutral, #4a4336);
  border-radius: 8px;
  background: var(--wgf-panel-2, #1b1a17);
}
.tt-tier__legend {
  padding: 0 8px;
  color: var(--wgf-gold, #dfc18b);
  font-family: var(--font-game, Georgia, serif);
  font-size: 16px;
}
.tt-tier__index {
  margin-left: 10px;
  color: var(--wgf-muted, #aaa69e);
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tt-tier__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tt-choice {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid var(--wgf-border-neutral-soft, #3d382e);
  border-radius: 7px;
  background: var(--wgf-well, #16161499);
  cursor: pointer;
}
.tt-choice:hover { border-color: var(--wgf-gold-dim, #b99b63); }
.tt-choice input {
  grid-column: 1 / -1;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tt-choice:has(input:checked) {
  border-color: var(--wgf-gold, #dfc18b);
  background: var(--wgf-bg-hero, #221f18);
  box-shadow: inset 0 0 0 1px rgba(var(--wgf-gold-rgb, 223, 193, 139), .35);
}
.tt-choice:has(input:focus-visible) { outline: 2px solid var(--wgf-gold-bright, #ffd100); outline-offset: 3px; }
.tt-choice__icon { flex: none; }
.tt-choice__body { display: grid; gap: 4px; min-width: 0; }
.tt-choice__name {
  color: var(--wgf-gold, #dfc18b);
  font-family: var(--font-game, Georgia, serif);
  font-size: 15px;
  line-height: 1.25;
}
.tt-choice__text { color: var(--wgf-text, #e6e0d3); font-size: 13px; line-height: 1.5; }
.tt-readout {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--wgf-muted, #aaa69e);
  font-size: 13.5px;
}
.tt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.tt-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--wgf-border-strong, #6a6052);
  border-radius: 6px;
  background: var(--wgf-plate, #292621);
  color: var(--wgf-text, #e6e0d3);
  font: inherit;
  cursor: pointer;
}
.tt-button:hover { border-color: var(--wgf-gold, #dfc18b); background: var(--wgf-plate-hi, #393226); }
.tt-button--gold {
  border-color: var(--wgf-gold, #dfc18b);
  background: var(--wgf-gold, #dfc18b);
  color: var(--wgf-on-gold, #191611);
  font-weight: 700;
}
.tt-button:focus-visible, .tt-input:focus-visible { outline: 2px solid var(--wgf-gold-bright, #ffd100); outline-offset: 3px; }
.tt-input {
  flex: 1 1 260px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--wgf-border-strong, #6a6052);
  border-radius: 5px;
  background: var(--wgf-bg-base, #101110);
  color: var(--wgf-text, #e6e0d3);
  font: inherit;
  font-size: 13px;
}
.tt-build { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tt-build li {
  padding: 8px 12px;
  border-left: 3px solid var(--wgf-gold-dark, #8a6f3c);
  background: var(--wgf-well, #17171599);
  font-size: 14px;
  line-height: 1.5;
}
.tt-build a { color: var(--wgf-gold, #dfc18b); text-underline-offset: 3px; }
.tt-build__level {
  display: inline-block;
  min-width: 78px;
  color: var(--wgf-gold-bright, #ffd100);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tt-build__text { display: block; color: var(--wgf-muted, #aaa69e); font-size: 13px; }
@media (max-width: 860px) {
  .tt-tier__choices { grid-template-columns: minmax(0, 1fr); }
  .tt-choice { min-height: 0; }
}
