/* Local 13-fighter review layout.  The normal full-roster flow is unchanged. */
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] {
  background: radial-gradient(ellipse at 51% 23%, #1a2936 0, #0d1420 48%, #080d16 100%);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-panel {
  width: min(1400px, 98vw);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-header .eyebrow,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-header .subtitle {
  display: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-title-row {
  justify-content: space-between;
  align-items: end;
  padding: 4px 0 8px;
  border-bottom: 1px solid #354556;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-title-row .title {
  color: #f5f2e8;
  font: 900 clamp(24px, 3vw, 38px)/.9 Impact, "Arial Narrow", sans-serif;
  font-style: italic;
  letter-spacing: .015em;
  text-shadow: 2px 2px 0 #394d61;
  transform: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step-title {
  text-align: right;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step-title b {
  color: #d9ecf6;
  font-size: clamp(12px, 1.3vw, 17px);
  letter-spacing: .12em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step-title small {
  color: #92aabb;
  font-size: 9px;
  letter-spacing: .12em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-breadcrumb {
  margin: 7px 0 5px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step[data-step="fighters"] {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(280px, 1fr);
  grid-template-rows: minmax(0, 1fr) 57px 103px;
  gap: 8px 12px;
  min-height: 0;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-column {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: 24px minmax(0, 1fr);
  gap: 7px;
  min-height: 0;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-column::before {
  content: "SELECT A FIGHTER   /   13 IN THE STARTING LINEUP";
  align-self: center;
  color: #d5e2ec;
  font: 800 10px/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: .16em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-search-row,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-filter-row {
  display: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-height: 0;
  height: 100%;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick {
  border: 1px solid #405163;
  border-radius: 2px;
  background: radial-gradient(ellipse at 50% 85%, color-mix(in srgb, var(--card), transparent 75%), transparent 72%),
    linear-gradient(160deg, #24313d 0, #131d2a 50%, #0b111b 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.11);
  transition: border-color .12s ease, box-shadow .12s ease, filter .12s ease;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick::after {
  content: "";
  position: absolute;
  inset: auto 0 21px;
  height: 1px;
  background: color-mix(in srgb, var(--card), transparent 30%);
  opacity: .65;
  z-index: 2;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick .corner-mark {
  display: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick .pick-mini.cel-fighter-art {
  position: absolute;
  inset: 4px 3px 22px;
  width: calc(100% - 6px);
  height: calc(100% - 26px);
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: drop-shadow(0 7px 5px rgba(0,0,0,.6));
  opacity: 1;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick:hover .pick-mini.cel-fighter-art {
  transform: none;
  filter: drop-shadow(0 8px 7px rgba(0,0,0,.7));
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick b {
  height: 22px;
  padding: 4px 2px 3px;
  background: #080d16;
  color: #f5f8fa;
  font: 800 clamp(9px, .9vw, 13px)/1 "Arial Narrow", Impact, sans-serif;
  letter-spacing: .07em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick.previewing,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick:focus-visible {
  border-color: #e7f5f9;
  box-shadow: inset 0 0 0 2px #e7f5f9, 0 0 0 2px color-mix(in srgb, var(--card), transparent 25%);
  z-index: 3;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick.random-cell {
  border-color: #576575;
  background: linear-gradient(145deg, #1d2b38, #0c131e);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .random-cell .random-mark {
  top: 27%;
  font: 900 clamp(50px, 7vh, 82px)/1 Impact, sans-serif;
  color: #b7cbd7;
  text-shadow: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-lower-deck {
  display: contents;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: block;
  height: auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #516579;
  border-top: 2px solid var(--preview-color);
  border-radius: 2px;
  background: radial-gradient(ellipse at 50% 65%, color-mix(in srgb, var(--preview-color), transparent 79%), transparent 65%),
    linear-gradient(160deg, #283746, #101927 55%, #0a101a);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview::before {
  content: "FIGHTER PROFILE";
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  color: #b5c8d4;
  font: 800 9px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .16em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview-art {
  position: absolute;
  inset: 14px 0 79px;
  width: 100%;
  height: auto;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,.64));
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview-id {
  position: absolute;
  inset: auto 0 0;
  min-height: 82px;
  padding: 10px 14px 12px;
  background: linear-gradient(0deg, #080d16 65%, rgba(8,13,22,.72) 88%, transparent);
  gap: 3px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview-id h3 {
  color: #f5f8fa;
  font: 900 clamp(20px, 2vw, 31px)/.95 Impact, "Arial Narrow", sans-serif;
  font-style: italic;
  letter-spacing: .02em;
  text-shadow: 2px 2px 0 #243647;
  white-space: normal;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .preview-sub {
  color: var(--preview-color);
  font: 800 10px/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: .12em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .preview-tagrow,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .preview-traits,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .preview-stats {
  display: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 57px;
  min-height: 0;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 5px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team:first-child {
  grid-column: 1;
  grid-row: 1;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team:last-child {
  grid-column: 2;
  grid-row: 1;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #405163;
  border-left: 3px solid var(--slot-color);
  border-radius: 2px;
  background: linear-gradient(100deg, #1c2936, #0c131e);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot.active {
  border-color: #e9f3f6;
  border-left-color: var(--slot-color);
  box-shadow: inset 0 0 0 1px var(--slot-color);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot .slot-mini.cel-fighter-art {
  inset: 1px auto 1px 3px;
  width: 34%;
  height: calc(100% - 2px);
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: none;
  opacity: .9;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team:last-child > .slot .slot-mini.cel-fighter-art {
  left: auto;
  right: 3px;
  transform: scaleX(-1);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot .slot-text {
  inset: 0 0 0 34%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 5px;
  background: none;
  text-align: left;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team:last-child > .slot .slot-text {
  inset: 0 34% 0 0;
  text-align: right;
  align-items: flex-end;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot .slot-text small {
  color: var(--slot-color);
  font: 800 8px/1.1 ui-monospace, Consolas, monospace;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team > .slot .slot-text b {
  color: #f2f6f8;
  font: 900 clamp(9px, .9vw, 12px)/1.05 "Arial Narrow", Impact, sans-serif;
  overflow-wrap: normal;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 22px minmax(0, 1fr);
  gap: 5px;
  height: 103px;
  min-height: 0;
  padding: 7px 10px;
  border: 1px solid #405163;
  border-radius: 2px;
  background: linear-gradient(120deg, #192635, #0a111c);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck > .assist-deck-head {
  grid-column: 1;
  grid-row: 1;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck-title {
  color: #d6e8f0;
  font: 800 10px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .16em;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck-title::after {
  content: "  /  CLICK A SLOT TO CHANGE";
  color: #899fae;
  font-size: 8px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck > .versus-loadout {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-select {
  min-height: 0;
  padding: 6px 10px;
  border: 1px solid #415970;
  border-left: 3px solid #53bdd0;
  background: #0b1723;
  text-align: left;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-select.right {
  border-left-color: #e29b5c;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-select small {
  color: #91adbe;
  font-size: 8px;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-select b {
  color: #f0f4f6;
  font-size: clamp(11px, 1.15vw, 15px);
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-carousel,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-equip-row,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-tray,
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck .assist-random {
  display: none;
}
html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-footer {
  border-top-color: #354556;
}

@media (max-width: 699px) {
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step[data-step="fighters"] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 8px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-title-row {
    display: block;
    padding: 3px 0 6px;
    text-align: center;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-title-row .title {
    display: block;
    width: 100%;
    font-size: 26px;
    white-space: nowrap;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-step-title {
    display: none;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-column {
    order: 1;
    flex: none;
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster-column::before {
    font-size: 9px;
    letter-spacing: .1em;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, 128px);
    height: auto;
    min-height: 0;
    gap: 5px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .pick b {
    font-size: 9px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-lower-deck > .fighter-preview {
    order: 2;
    flex: none;
    width: 100%;
    height: 330px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .fighter-preview-art {
    inset: 14px 0 78px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row {
    order: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, 56px);
    flex: none;
    width: 100%;
    height: 120px;
    gap: 5px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team {
    height: 56px;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .slot-row > .slot-team:last-child {
    grid-column: 1;
    grid-row: 2;
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .setup-lower-deck > .assist-deck {
    order: 4;
    flex: none;
    width: 100%;
    height: 154px;
    grid-template-rows: 25px minmax(0, 1fr);
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck > .versus-loadout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  html[data-roster-candidate="starting-v1"] #setup[data-step="fighters"] .assist-deck-title::after {
    display: none;
  }
}
