.battle .hunt-settings {
  margin-top: 28px;
}

.battle .bt-add {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
}

.bt-entrants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.bt-entrants li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--plum);
}

.bt-i {
  width: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.bt-entrants img,
.bt-entrants .bt-noimg,
.bt-side img,
.bt-side .bt-noimg {
  flex-shrink: 0;
  width: 27px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--plum-2);
}

.bt-who {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.bt-who strong,
.bt-who small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-who strong {
  font-size: 14px;
}

.bt-who small {
  font-size: 12px;
  color: var(--muted);
}

.bt-entrants button {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--muted);
  font-size: 17px;
}

.bt-entrants button:hover {
  background: var(--plum-2);
  color: #ff6b6b;
}

.bt-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
}

.bt-start p {
  margin: 0;
  color: #cfcadb;
}

.bt-start > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bt-start .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bt-bracket-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 24px;
}

.bt-bracket-head p {
  margin: 0;
  color: #cfcadb;
}

.bt-champion {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--volt);
  border-radius: var(--radius-l);
  background: rgba(214, 255, 58, 0.06);
}

.bt-champion[hidden] {
  display: none;
}

.bt-champion span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--volt);
}

.bt-champion strong {
  display: block;
  font-stretch: 118%;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  text-transform: uppercase;
}

.bt-champion small {
  font-size: 15px;
  color: #cfcadb;
}

.bt-rounds {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.bt-round {
  display: flex;
  flex-direction: column;
}

.bt-matches {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 12px;
}

.bt-round h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.bt-match {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--plum);
  overflow: hidden;
}

.bt-match.is-current {
  border-color: var(--volt);
}

.bt-match.is-bye {
  opacity: 0.7;
}

.bt-now {
  display: block;
  padding: 4px 10px;
  background: var(--volt);
  color: #16101f;
  font-size: 11px;
  font-weight: 800;
}

.bt-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 7px 8px 7px 10px;
}

.bt-side + .bt-side {
  border-top: 1px solid var(--line);
}

.bt-side.is-win {
  background: rgba(214, 255, 58, 0.08);
}

.bt-side.is-win strong {
  color: var(--volt);
}

.bt-side.is-out .bt-who,
.bt-side.is-out img {
  opacity: 0.45;
}

.bt-side.is-empty strong {
  color: var(--muted);
  font-weight: 600;
}

.battle .bt-side input[data-side] {
  flex-shrink: 0;
  width: 92px;
  height: 34px;
  padding: 0 8px;
  text-align: right;
  font-size: 14px;
}

.bt-auto {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}

.bt-pick {
  flex-shrink: 0;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.battle .hunt-obs code {
  display: inline-block;
  margin: 2px 0;
}

@media (max-width: 1100px) {
  .battle .hunt-settings {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .battle .bt-add {
    grid-template-columns: 1fr;
  }

  .battle .bt-add > * {
    grid-column: auto;
  }

  .battle .hunt-settings label:first-child {
    grid-column: auto;
  }

  .bt-rounds {
    grid-auto-columns: minmax(240px, 86%);
  }
}

.battle .bt-slot-in {
  display: block;
  width: 100%;
  max-width: 240px;
  text-align: left;
  height: 30px;
  margin-top: 3px;
  padding: 0 8px;
  font-size: 13px;
  border-color: rgba(214, 255, 58, 0.45);
}

.bt-who small .bt-edit {
  width: 20px;
  height: 18px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  vertical-align: -2px;
}

.bt-who small .bt-edit:hover {
  background: var(--plum-2);
  color: var(--text);
}

.bt-float {
  position: fixed;
  right: auto;
  z-index: 60;
}
