.online-setup-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
}
.online-name-label {
  margin-top: 20px;
}
.online-name-label span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 5px;
}
.online-setup input,
.online-copy-note input {
  width: 100%;
  min-width: 0;
  font: inherit;
  border: 1px solid #dce2d0;
  background: #fffef9;
  color: var(--ink);
  padding: 12px;
  border-radius: 7px;
  box-sizing: border-box;
}
.online-room-options {
  padding: 26px;
  background: #f3f6ed;
}
.online-room-options h2 {
  font-size: 22px;
  margin: 10px 0 25px;
}
.online-room-options > .button {
  width: 100%;
  justify-content: center;
}
.online-room-options > p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.online-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  color: #95a084;
  font-size: 10px;
}
.online-divider:before,
.online-divider:after {
  content: '';
  height: 1px;
  background: #dce3ce;
  flex: 1;
}
.online-join-row {
  display: flex;
  gap: 9px;
  margin-top: 7px;
}
.online-join-row input {
  font-weight: 700;
  letter-spacing: 2px;
  flex: 1;
  width: 0;
}
.online-join-row button {
  white-space: nowrap;
}
.online-room-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 4px 0 14px;
}
.online-room-bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.online-room-bar b {
  font:
    800 18px Manrope,
    var(--font);
  letter-spacing: 2px;
  color: #698453;
}
.online-your-seat {
  font-size: 11px;
  color: #879676;
  overflow-wrap: anywhere;
}
.online-connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #829475;
  margin-bottom: 16px;
  line-height: 1.7;
  min-height: 20px;
}
.online-connection-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #80a36a;
}
.online-connection.is-offline {
  background: #faf0dc;
  border: 1px solid #e5d3ac;
  color: #917446;
  padding: 10px 12px;
  border-radius: 8px;
}
.online-connection.is-offline .online-connection-dot {
  background: #bb9551;
}
.online-connection button {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
}
.online-large-code {
  font:
    800 32px Manrope,
    var(--font);
  letter-spacing: 6px;
  color: #5c7848;
  padding: 15px 25px;
  background: #e9eedc;
  border: 1px dashed #bfcca8;
  border-radius: 10px;
  margin: 0 0 25px;
}
.online-waiting > p {
  margin-bottom: 18px;
}
.online-copy-note {
  font-size: 11px;
  color: #6f875b;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.online-copy-note input {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  max-width: 500px;
}
.online-room-bar .button {
  flex-shrink: 0;
}
.online-setup input:focus-visible {
  outline: 3px solid #b6ca92;
  outline-offset: 2px;
}
.online-setup .pvp-team-card {
  min-width: 0;
}
#online-view .pvp-end-row > span {
  line-height: 1.6;
}
#online-view .pvp-seat-score > span {
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
#online-view .pvp-score-center > small {
  line-height: 1.6;
}
.online-play-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2px 0 20px;
}
.online-play-types button {
  border: 1px solid #dce2d0;
  border-radius: 8px;
  background: #fffef9;
  color: var(--ink);
  padding: 12px 9px;
  text-align: left;
  font: 700 13px var(--font);
  cursor: pointer;
}
.online-play-types button span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.online-play-types button.is-selected {
  background: #eaf0dd;
  border-color: #8da571;
  box-shadow: inset 0 0 0 1px #8da571;
}
.online-play-types button:focus-visible,
.online-coach-pick:focus-visible {
  outline: 3px solid #b6ca92;
  outline-offset: 3px;
}
.online-handoff-note,
.online-coach-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 13px 0 0;
}
.online-handoff-note {
  color: #607c47;
}
.online-coach-heading {
  gap: 14px;
  flex-wrap: wrap;
}
.online-coach-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.online-coach-pick {
  white-space: normal;
  text-align: left;
  line-height: 1.5;
  max-width: 100%;
}
#online-coach .pvp-coach-options button.is-selected {
  background: #edf3e1;
  border-color: #96ac78;
  box-shadow: inset 0 0 0 1px #96ac78;
}
#online-coach .pvp-coach-options button:disabled,
.online-play-types button:disabled {
  cursor: wait;
  opacity: 0.65;
}
#online-coach .online-defense-options {
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}
.online-coach-heading .small-tag {
  font-size: 8px;
}
@media (max-width: 700px) {
  .online-setup-grid {
    grid-template-columns: 1fr;
  }
  .online-room-options {
    padding: 20px;
  }
  .online-room-options h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .online-room-bar {
    align-items: flex-start;
  }
  .online-room-bar > div {
    gap: 8px;
  }
  .online-room-bar .eyebrow {
    width: 100%;
  }
  .online-room-bar .button {
    font-size: 10px;
    padding: 10px;
  }
  .online-room-bar b {
    font-size: 16px;
  }
  .online-your-seat {
    font-size: 10px;
  }
  .online-connection {
    font-size: 9px;
  }
  .online-large-code {
    font-size: 28px;
  }
  .online-join-row input {
    font-size: 13px;
  }
  .online-join-row .button {
    font-size: 12px;
    padding: 12px;
  }
  .online-coach-heading {
    align-items: stretch;
  }
  .online-coach-pick {
    width: 100%;
    justify-content: center;
  }
  #online-coach .online-defense-options {
    grid-template-columns: 1fr;
  }
  .online-play-types button {
    min-height: 60px;
  }
  .online-coach-heading > div {
    gap: 8px;
  }
}
#online-coach .online-pass-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 560px) {
  #online-coach .online-pass-options {
    grid-template-columns: 1fr;
  }
}
