.round-setup-board {
  display: grid;
  gap: 0.9rem;
}

.round-setup-card {
  background: #ffffff;
  border: 1px solid #d8e6dd;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 59, 44, 0.08);
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
}

.round-setup-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.round-setup-card-head strong {
  color: #0f3d2b;
  font-size: 1.02rem;
}

.round-setup-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}

.round-format-picker {
  display: grid;
  gap: 0.75rem;
}

.round-format-group {
  display: grid;
  gap: 0.5rem;
}

.round-format-group-title {
  color: #285241;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.round-format-group-list {
  display: grid;
  gap: 0.55rem;
}

.round-format-row {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.55rem;
}

.round-format-row label {
  align-items: center;
  color: #153d2f;
  display: flex;
  font-size: 0.86rem;
  font-weight: 850;
  gap: 0.45rem;
  min-width: 0;
}

.round-format-main {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.round-format-row .round-format-all-rounds {
  color: #52645b;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.34rem;
  padding-left: 1.8rem;
}

.round-format-row .round-format-all-rounds input[type="checkbox"] {
  height: 15px;
  width: 15px;
}

.round-format-row input[type="checkbox"] {
  height: 18px;
  width: 18px;
}

.round-format-row .admin-action {
  min-height: 2rem;
  padding: 0.28rem 0.58rem;
}

.round-save-row {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  justify-content: flex-start;
}

.round-save-row span {
  color: #52645b;
  font-size: 0.78rem;
  font-weight: 750;
}

.round-format-modal {
  align-items: stretch;
  background: rgba(6, 28, 20, 0.62);
  bottom: 0;
  display: grid;
  left: 0;
  padding: 1rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000;
}

.round-format-modal[hidden] {
  display: none;
}

.round-format-sheet {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin: auto;
  max-height: min(92vh, 980px);
  max-width: 700px;
  overflow: hidden;
  width: min(100%, 700px);
}

.round-format-modal-head {
  align-items: center;
  background: #002868;
  color: #ffffff;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.9rem;
}

.round-format-modal-head strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.15;
}

.round-format-modal-head span {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  margin-top: 0.16rem;
}

/* Format editors are part of the USA Tour Office family. Keep the three-line
   identity header compact and legible instead of falling back to the legacy
   green modal treatment. */
body[data-admin-theme] .round-format-modal:not(.pairing-sheet-options-modal) .round-format-modal-head {
  background: #002868;
  border-bottom-color: #002868;
}

body[data-admin-theme] .round-format-modal-head .round-format-event-name,
body[data-admin-theme] .round-format-modal-head [data-round-format-title],
body[data-admin-theme] .round-format-modal-head [data-round-format-subtitle] {
  color: #ffffff;
  opacity: 1;
}

body[data-admin-theme] .round-format-modal-head .round-format-event-name,
body[data-admin-theme] .round-format-modal-head [data-round-format-title] {
  font-size: 14px;
  line-height: 1.25;
}

body[data-admin-theme] .round-format-modal-head [data-round-format-subtitle] {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  margin-top: 0.12rem;
}

body[data-admin-theme] .round-format-modal:not(.pairing-sheet-options-modal) .round-format-modal-head .admin-action.secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

body[data-admin-theme] .round-format-modal:not(.pairing-sheet-options-modal) .round-format-modal-head .admin-action.secondary:hover,
body[data-admin-theme] .round-format-modal:not(.pairing-sheet-options-modal) .round-format-modal-head .admin-action.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  border-color: #ffffff;
}

.round-format-body {
  display: grid;
  gap: 0.85rem;
  overflow: auto;
  padding: 0.9rem;
}

.round-format-panel {
  border: 1px solid #d8e6dd;
  border-radius: 8px;
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem;
}

.round-format-panel > header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.round-format-panel > header strong {
  color: #103b2c;
  font-size: 0.95rem;
}

.round-format-meta-panel {
  background: #fbfdfc;
}

.round-format-meta-panel .round-format-rename-field {
  align-items: center;
  column-gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.round-format-meta-panel .round-format-rename-field > span {
  margin: 0;
  white-space: nowrap;
}

.round-multiday-settings {
  display: grid;
  gap: 0.55rem;
}

.round-multiday-panel {
  display: grid;
  gap: 0.55rem;
}

.round-multiday-rounds {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.round-multiday-round {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 7px;
  color: #153d2f;
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 0.45rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.55rem;
}

.round-multiday-round.is-current {
  background: #eef7f1;
}

.round-stableford-points-panel .stableford-point-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.format-addon-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.format-addon-scope-grid {
  display: grid;
  gap: 0.5rem;
}

.format-addon-scope-row {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(9rem, 1.1fr);
  padding: 0.55rem;
}

.format-addon-scope-row > strong {
  color: #103b2c;
  font-size: 0.86rem;
}

.format-addon-scope-row > input {
  border: 1px solid #cfded5;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
  min-height: 2rem;
  min-width: 0;
  padding: 0.36rem 0.45rem;
}

.format-addon-toggle {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 7px;
  color: #153d2f;
  display: flex;
  font-size: 0.84rem;
  font-weight: 850;
  gap: 0.45rem;
  padding: 0.55rem;
}

.format-prize-grid {
  display: grid;
  gap: 0.45rem;
}

.format-prize-scope-stack {
  display: grid;
  gap: 0.7rem;
}

.format-prize-scope-card {
  background: #ffffff;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
}

.format-prize-scope-card > header strong {
  color: #103b2c;
  font-size: 0.92rem;
}

.closest-number-prize-card {
  background: #f7faf8;
  border: 2px solid var(--admin-theme-secondary, #d9a521);
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
  padding: 0.65rem;
}

.closest-number-prize-card > header {
  align-items: baseline;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
}

.closest-number-prize-card > header strong {
  color: var(--admin-theme-primary, #103b2c);
  font-size: 0.86rem;
}

.closest-number-prize-card > header small {
  color: #587066;
  font-size: 0.68rem;
  text-align: right;
}

.format-prize-places {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) 4.25rem;
  padding: 0.55rem;
}

.format-prize-places span {
  color: #103b2c;
  font-size: 0.86rem;
  font-weight: 900;
}

.format-prize-places input {
  border: 1px solid #cfded5;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  min-height: 2rem;
  padding: 0.3rem 0.4rem;
  text-align: center;
  width: 100%;
}

.format-prize-type-row {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 22rem;
}

.format-prize-type-choice {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 7px;
  color: #153d2f;
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 0.32rem;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.28rem;
  text-align: center;
}

.format-prize-type-choice input {
  height: 14px;
  width: 14px;
}

.format-prize-row {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 3rem minmax(7rem, 0.8fr) minmax(0, 1fr);
  padding: 0.5rem;
}

.format-prize-row strong {
  color: #103b2c;
  font-size: 0.86rem;
}

.format-prize-row input,
.format-prize-row select {
  border: 1px solid #cfded5;
  border-radius: 6px;
  font: inherit;
  font-size: 0.8rem;
  min-height: 2rem;
  min-width: 0;
  padding: 0.36rem 0.45rem;
}

.format-prize-value-field {
  align-items: center;
  display: grid;
  min-width: 0;
}

.format-prize-value-field.is-money {
  background: #ffffff;
  border: 1px solid #cfded5;
  border-radius: 6px;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  overflow: hidden;
}

.format-prize-value-field.is-money span {
  color: #17633f;
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
}

.format-prize-row .format-prize-value-field.is-money input {
  border: 0;
  border-left: 1px solid #e0e9e3;
  border-radius: 0;
}

.format-prize-fixed-type {
  color: #52645b;
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-field.compact {
  max-width: 13rem;
}

.division-choice-grid,
.tee-assignment-grid {
  display: grid;
  gap: 0.5rem;
}

.division-choice-grid label {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 7px;
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
}

.round-drag-layout {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.round-drag-list,
.round-drop-list {
  display: grid;
  gap: 0.5rem;
}

.round-drag-item,
.round-drop-box {
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  color: #143d2d;
  font-size: 0.82rem;
  font-weight: 850;
  min-height: 2.35rem;
  padding: 0.55rem;
}

.round-drag-item {
  cursor: grab;
}

.round-drop-box {
  align-content: start;
  display: grid;
  gap: 0.4rem;
}

.round-drop-box.drag-over {
  border-color: #0f7a4a;
  box-shadow: 0 0 0 2px rgba(15, 122, 74, 0.16);
}

.round-pill {
  align-items: center;
  background: #e7f3ec;
  border: 1px solid #bdd9c8;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: space-between;
  padding: 0.28rem 0.42rem 0.28rem 0.55rem;
}

.round-pill button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #17633f;
  cursor: pointer;
  font-weight: 950;
  padding: 0 0.1rem;
}

.tee-assignment-row {
  align-items: center;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.8fr);
}

.tee-assignment-row span {
  color: #263b32;
  font-size: 0.8rem;
  font-weight: 850;
}

.team-builder-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.team-card-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  min-height: 4.2rem;
  padding: 0.55rem;
}

.round-format-footer {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #d8e6dd;
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
  justify-content: flex-start;
  padding: 0.85rem 0.9rem;
  position: sticky;
  bottom: 0;
  z-index: 20;
}

/* Every direct format action is a blue USA-theme action, never a legacy green
   button or green text. */
body[data-admin-theme] [data-round-format-configure] {
  background: #002868 !important;
  border-color: #002868 !important;
  color: #ffffff !important;
}

body[data-admin-theme] [data-round-format-configure]:hover,
body[data-admin-theme] [data-round-format-configure]:focus-visible {
  background: #194d8f !important;
  border-color: #194d8f !important;
  color: #ffffff !important;
}

.round-format-footer > [data-round-format-status],
.round-format-footer > [data-round-division-status],
.round-format-footer > [data-round-rules-status],
.round-format-footer > [data-team-cup-status] {
  margin-right: auto;
}

@media (max-width: 720px) {
  .round-setup-grid,
  .round-drag-layout,
  .team-builder-grid {
    grid-template-columns: 1fr;
  }

  .round-format-modal {
    padding: 0;
  }

  .round-format-sheet {
    border-radius: 0;
    height: 100dvh;
    max-height: none;
    width: 100%;
  }

  .round-format-body {
    min-height: 0;
    overscroll-behavior: contain;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .round-format-footer {
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
  }

  .team-card-grid {
    grid-template-columns: 1fr;
  }

  .format-addon-grid,
  .format-addon-scope-row,
  .format-prize-type-row,
  .format-prize-row {
    grid-template-columns: 1fr;
  }

  .format-prize-places {
    grid-template-columns: minmax(0, 1fr) 3.6rem;
  }

  .format-prize-row strong {
    padding-bottom: 0;
  }
}

body[data-admin-theme] #adminRoundSetup .round-setup-board {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  max-width: 358px;
  width: 100%;
}

body[data-admin-theme] #adminRoundSetup .round-setup-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  padding: 0;
  width: min(100%, 342px);
}

body[data-admin-theme] #adminRoundSetup .round-setup-summary::-webkit-details-marker,
body[data-admin-theme] #adminRoundSetup .round-setup-summary::marker,
body[data-admin-theme] #adminRoundSetup .round-pencil-details > summary::-webkit-details-marker,
body[data-admin-theme] #adminRoundSetup .round-pencil-details > summary::marker {
  color: transparent;
  content: "";
  display: none;
  font-size: 0;
}

body[data-admin-theme] #adminRoundSetup .round-setup-details {
  background: transparent;
  border: 0;
  display: block;
  padding: 0;
  width: 100%;
}

body[data-admin-theme] #adminRoundSetup .round-setup-summary {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

body[data-admin-theme] #adminRoundSetup .round-setup-tee .admin-event-tee-arrow {
  background: var(--admin-theme-light, #ffffff);
  color: var(--admin-theme-primary, #17633f);
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
  left: auto;
  opacity: 1;
  right: 42px;
  z-index: 4;
}

body[data-admin-theme] #adminRoundSetup .round-setup-details:not([open]) .round-setup-tee .admin-event-tee-arrow::before {
  transform: translateY(-2px) rotate(135deg);
}

body[data-admin-theme] #adminRoundSetup .round-setup-details[open] .round-setup-tee .admin-event-tee-arrow::before {
  transform: translateY(2px) rotate(-45deg);
}

body[data-admin-theme] #adminRoundSetup .round-setup-card-body {
  display: grid;
  gap: 0.5rem;
  margin-left: var(--admin-themed-card-track-indent, 0.9rem);
  padding: 0.2rem 0 0.45rem;
  width: var(--admin-themed-card-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-setup-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-card {
  --round-snapshot-frame: var(--admin-theme-primary, #17633f);
  --round-snapshot-frame-width: 0;
  --round-snapshot-fill: var(--admin-theme-secondary, #ff883e);
  --round-snapshot-item-bg: var(--admin-theme-light, #ffffff);
  --round-snapshot-item-border: color-mix(in srgb, var(--round-snapshot-frame) 46%, #ffffff);
  --round-snapshot-item-border-width: 0;
  --round-snapshot-label: color-mix(in srgb, var(--round-snapshot-frame) 72%, #1f2937);
  --round-snapshot-text: var(--admin-theme-ink, #103b2c);
  background: var(--round-snapshot-fill);
  border: var(--round-snapshot-frame-width) solid var(--round-snapshot-frame);
  border-radius: var(--admin-themed-card-radius, 8px);
  box-shadow: 0 1px 5px rgba(23, 35, 30, 0.06);
  display: grid;
  gap: 0.42rem;
  grid-template-columns: 1fr;
  margin-left: var(--admin-themed-card-track-indent, 0.9rem);
  padding: var(--admin-themed-card-padding, 0.5rem);
  width: var(--admin-themed-card-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item {
  background: var(--round-snapshot-item-bg);
  border: var(--round-snapshot-item-border-width) solid var(--round-snapshot-item-border);
  border-radius: var(--admin-themed-card-inner-radius, 6px);
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.38rem 0.44rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item.wide {
  grid-column: 1 / -1;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item span {
  color: var(--round-snapshot-label);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item strong {
  color: var(--round-snapshot-text);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.15;
  min-width: 0;
  overflow: visible;
  padding-block: 0.04em 0.1em;
  text-overflow: clip;
  white-space: normal;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item .round-tee-status {
  appearance: none;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--round-snapshot-frame) 36%, #ffffff);
  cursor: default;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  justify-content: center;
  justify-self: start;
  line-height: normal;
  min-width: 4.6rem;
  padding: 0.22rem 0.48rem;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item button.round-tee-status {
  cursor: pointer;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item .round-tee-status.set {
  background: #2854a6;
  box-shadow: inset 0 0 0 1px #2854a6;
  color: #ffffff;
  white-space: nowrap;
}

.round-format-panel .format-prize-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 14px;
}
.round-format-panel .format-prize-control > label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
}
.round-format-panel .format-prize-control > label > span { white-space: nowrap; }
.round-format-panel .format-prize-control select {
  width: 148px;
  min-width: 148px;
  height: 32px;
  font: inherit;
}
.round-format-panel .format-prize-control button {
  flex: 0 0 auto;
  width: auto;
  min-height: 32px;
  padding: 4px 14px;
  font: inherit;
  background: var(--admin-theme-primary, #002868);
  color: #fff;
}

body[data-admin-theme] #adminRoundSetup .round-snapshot-item .round-tee-status.not-set {
  background: var(--admin-theme-secondary, #b22234);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--admin-theme-secondary, #b22234), #000000 12%);
  color: #ffffff;
}

body[data-admin-theme] #adminRoundSetup .round-setting-card {
  --round-setting-frame: var(--admin-theme-primary, #17633f);
  background: var(--round-setting-frame);
  border: 0;
  border-radius: var(--admin-themed-card-radius, 8px);
  box-shadow: 0 1px 5px rgba(23, 35, 30, 0.06);
  display: grid;
  gap: 0.36rem;
  padding: var(--admin-themed-card-padding, 0.5rem);
}

body[data-admin-theme] #adminRoundSetup .round-setting-card:nth-child(2n) {
  --round-setting-frame: var(--admin-theme-secondary, #ff883e);
}

body[data-admin-theme] #adminRoundSetup .round-setting-card > span,
body[data-admin-theme] #adminRoundSetup .round-setting-card > input {
  background: var(--admin-theme-light, #ffffff);
  border: 1.5px solid color-mix(in srgb, var(--round-setting-frame) 54%, #ffffff);
  border-radius: var(--admin-themed-card-inner-radius, 6px);
  color: var(--admin-theme-ink, #103b2c);
}

body[data-admin-theme] #adminRoundSetup .round-setting-card > span {
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.36rem 0.48rem;
}

body[data-admin-theme] #adminRoundSetup .round-setting-card > input {
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  min-height: 2.2rem;
  min-width: 0;
  padding: 0.36rem 0.48rem;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-row {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 0.3rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-left: var(--admin-themed-pencil-track-indent, 0.9rem);
  padding: 0;
  width: var(--admin-themed-pencil-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-pencil-details {
  border: 0;
  border-radius: 0;
  margin-left: var(--admin-themed-pencil-track-indent, 0.9rem);
  overflow: visible;
  width: var(--admin-themed-pencil-track-width, calc(100% - 0.9rem));
}

body[data-admin-theme] #adminRoundSetup .round-pencil-details > summary {
  background: transparent;
  border: 0;
  color: inherit;
  display: block;
  list-style: none;
  min-height: 66px;
  padding: 0 30px 0 0;
  position: relative;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-details > summary::before,
body[data-admin-theme] #adminRoundSetup .round-pencil-details > summary::after {
  content: none !important;
  display: none !important;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-shell {
  align-items: center;
  display: flex;
  min-height: 66px;
  padding: 10px 58px 10px 56px;
}

body[data-admin-theme] #adminRoundSetup .settings-pencil-art {
  height: 58px;
  width: min(300px, calc(100% - 22px));
}

body[data-admin-theme] #adminRoundSetup .round-pencil-copy {
  align-items: center;
  color: var(--settings-pencil-text, #ffffff);
  display: grid;
  gap: 0.12rem;
  line-height: 1.08;
  min-width: 0;
  position: relative;
  width: 160px;
  z-index: 2;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-copy strong,
body[data-admin-theme] #adminRoundSetup .round-pencil-copy small {
  color: var(--settings-pencil-text, #ffffff);
  overflow: hidden;
  padding-block: 0.06em 0.16em;
  text-overflow: ellipsis;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-copy strong {
  font-size: 0.82rem;
  font-weight: 950;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-copy small {
  font-size: 0.63rem;
  font-weight: 900;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-row .admin-action {
  align-self: center;
  font-size: 0.72rem;
  min-height: 1.82rem;
  padding: 0.24rem 0.5rem;
}

body[data-admin-theme] #adminRoundSetup .round-attestation-select {
  align-self: center;
  width: 9.2rem;
  min-height: 2rem;
  padding: 0.3rem 1.7rem 0.3rem 0.5rem;
  border: 1.5px solid var(--settings-pencil-frame, var(--admin-theme-primary, #17633f));
  border-radius: 6px;
  color: var(--admin-theme-ink, #103b2c);
  background: var(--admin-theme-light, #ffffff);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-arrow {
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--settings-pencil-frame, var(--admin-theme-primary, #17633f));
  display: inline-flex;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-arrow::before {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 6px;
  transform: translateY(-2px) rotate(135deg);
  width: 6px;
}

body[data-admin-theme] #adminRoundSetup .round-pencil-details[open] .round-pencil-arrow::before {
  transform: translateY(2px) rotate(-45deg);
}

body[data-admin-theme] #adminRoundSetup .round-format-details .round-format-picker,
body[data-admin-theme] #adminRoundSetup .round-format-details .round-save-row {
  background: var(--admin-theme-light, #ffffff);
  border: 3px solid var(--admin-theme-secondary, #ff883e);
  border-radius: var(--admin-themed-card-radius, 8px);
  margin-top: 0.35rem;
  padding: 0.55rem;
}

body[data-admin-theme] #adminRoundSetup .round-format-details .round-save-row {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-top: 0.45rem;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-setup-tee,
body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-pencil-shell {
  --event-tee-fill: #169b62;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #169b62;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #169b62;
  --settings-pencil-frame: #169b62;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-snapshot-card {
  --round-snapshot-frame: #ff883e;
  --round-snapshot-fill: #169b62;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #ff883e 50%, #ffffff);
  --round-snapshot-label: #17633f;
  --round-snapshot-text: #103b2c;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-setup-tee,
body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-pencil-shell {
  --event-tee-fill: #ffffff;
  --event-tee-text: #106a46;
  --event-tee-accent: #106a46;
  --event-tee-arrow: #106a46;
  --event-tee-stroke: #106a46;
  --event-tee-stroke-width: 2.5px;
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #17633f;
  --settings-pencil-text: #17633f;
  --settings-pencil-stroke: #17633f;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-snapshot-card {
  --round-snapshot-frame: #169b62;
  --round-snapshot-frame-width: 4px;
  --round-snapshot-fill: #ffffff;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: #ff883e;
  --round-snapshot-item-border-width: 2px;
  --round-snapshot-label: #17633f;
  --round-snapshot-text: #103b2c;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-setup-tee,
body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-pencil-shell {
  --event-tee-fill: #ff883e;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #ff883e;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #ff883e;
  --settings-pencil-frame: #ff883e;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="irish"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-snapshot-card {
  --round-snapshot-frame: #169b62;
  --round-snapshot-fill: #ff883e;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #169b62 50%, #ffffff);
  --round-snapshot-label: #17633f;
  --round-snapshot-text: #103b2c;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-setup-tee,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-pencil-shell {
  --event-tee-fill: #b22234;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #b22234;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #b22234;
  --settings-pencil-frame: #b22234;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 1) .round-snapshot-card {
  --round-snapshot-frame: #3c3b6e;
  --round-snapshot-fill: #b22234;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #3c3b6e 50%, #ffffff);
  --round-snapshot-label: #3c3b6e;
  --round-snapshot-text: #3c3b6e;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-setup-tee,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-pencil-shell {
  --event-tee-fill: #ffffff;
  --event-tee-text: #3c3b6e;
  --event-tee-accent: #3c3b6e;
  --event-tee-arrow: #3c3b6e;
  --event-tee-stroke: #3c3b6e;
  --event-tee-stroke-width: 2.5px;
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #3c3b6e;
  --settings-pencil-text: #3c3b6e;
  --settings-pencil-stroke: #3c3b6e;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 2) .round-snapshot-card {
  --round-snapshot-frame: #3c3b6e;
  --round-snapshot-frame-width: 4px;
  --round-snapshot-fill: #ffffff;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: #b22234;
  --round-snapshot-item-border-width: 2px;
  --round-snapshot-label: #3c3b6e;
  --round-snapshot-text: #3c3b6e;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-setup-tee,
body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-pencil-shell {
  --event-tee-fill: #3c3b6e;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #3c3b6e;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #3c3b6e;
  --settings-pencil-frame: #3c3b6e;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="usa"] #adminRoundSetup .round-setup-card:nth-of-type(3n + 3) .round-snapshot-card {
  --round-snapshot-frame: #b22234;
  --round-snapshot-fill: #3c3b6e;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #b22234 50%, #ffffff);
  --round-snapshot-label: #3c3b6e;
  --round-snapshot-text: #3c3b6e;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 1) .round-setup-tee,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 1) .round-pencil-shell {
  --event-tee-fill: #2f6fe8;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #2f6fe8;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #2f6fe8;
  --settings-pencil-frame: #2f6fe8;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 1) .round-snapshot-card {
  --round-snapshot-frame: #ef342d;
  --round-snapshot-fill: #2f6fe8;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #ef342d 50%, #ffffff);
  --round-snapshot-label: #2057bd;
  --round-snapshot-text: #18213a;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 2) .round-setup-tee,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 2) .round-pencil-shell {
  --event-tee-fill: #ffffff;
  --event-tee-text: #bd211c;
  --event-tee-accent: #bd211c;
  --event-tee-arrow: #ef342d;
  --event-tee-stroke: #ef342d;
  --event-tee-stroke-width: 2.5px;
  --settings-pencil-fill: #ffffff;
  --settings-pencil-frame: #ef342d;
  --settings-pencil-text: #bd211c;
  --settings-pencil-stroke: #ef342d;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 2) .round-snapshot-card {
  --round-snapshot-frame: #ef342d;
  --round-snapshot-frame-width: 4px;
  --round-snapshot-fill: #ffffff;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: #f6b51d;
  --round-snapshot-item-border-width: 2px;
  --round-snapshot-label: #bd211c;
  --round-snapshot-text: #18213a;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 3) .round-setup-tee,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 3) .round-pencil-shell {
  --event-tee-fill: #f6b51d;
  --event-tee-text: #18213a;
  --event-tee-accent: #18213a;
  --event-tee-arrow: #f6b51d;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #f6b51d;
  --settings-pencil-frame: #f6b51d;
  --settings-pencil-text: #18213a;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 3) .round-snapshot-card {
  --round-snapshot-frame: #2f6fe8;
  --round-snapshot-fill: #f6b51d;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #2f6fe8 50%, #ffffff);
  --round-snapshot-label: #946600;
  --round-snapshot-text: #18213a;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 4) .round-setup-tee,
body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 4) .round-pencil-shell {
  --event-tee-fill: #2f9e3c;
  --event-tee-text: #ffffff;
  --event-tee-accent: #ffffff;
  --event-tee-arrow: #2f9e3c;
  --event-tee-stroke: transparent;
  --event-tee-stroke-width: 0;
  --settings-pencil-fill: #2f9e3c;
  --settings-pencil-frame: #2f9e3c;
  --settings-pencil-text: #ffffff;
  --settings-pencil-stroke: transparent;
}

body[data-admin-theme="scoodle"] #adminRoundSetup .round-setup-card:nth-of-type(4n + 4) .round-snapshot-card {
  --round-snapshot-frame: #f6b51d;
  --round-snapshot-fill: #2f9e3c;
  --round-snapshot-item-bg: #ffffff;
  --round-snapshot-item-border: color-mix(in srgb, #f6b51d 50%, #ffffff);
  --round-snapshot-label: #1f7d2a;
  --round-snapshot-text: #18213a;
}

@media (max-width: 430px) {
  body[data-admin-theme] #adminRoundSetup .round-setup-board {
    max-width: 342px;
  }

  body[data-admin-theme] #adminRoundSetup .round-setup-card {
    width: min(100%, 342px);
  }

  body[data-admin-theme] #adminRoundSetup .round-pencil-shell {
    padding-right: 48px;
  }

  body[data-admin-theme] #adminRoundSetup .settings-pencil-art {
    width: min(276px, calc(100% - 30px));
  }
}


/* skins-prize-panel-1 */
.skins-prize-panel {
  background: #fbfdfc;
}

.skins-prize-type-row {
  max-width: 27rem;
}

.skins-prize-field {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.8fr);
  max-width: 32rem;
}

.skins-prize-field > span:first-child {
  color: #103b2c;
  font-size: 0.86rem;
  font-weight: 900;
}

.skins-prize-field > input,
.skins-prize-money {
  min-width: 0;
}

.skins-prize-field > input {
  min-height: 2.2rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid #cfded5;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
}

.skins-prize-money {
  align-items: center;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cfded5;
  border-radius: 6px;
  background: #ffffff;
}

.skins-prize-money b {
  color: #17633f;
  font-size: 0.92rem;
  text-align: center;
}

.skins-prize-money input {
  min-width: 0;
  min-height: 2.2rem;
  padding: 0.38rem 0.5rem;
  border: 0;
  border-left: 1px solid #e0e9e3;
  border-radius: 0;
  font: inherit;
  font-size: 0.82rem;
}

@media (max-width: 520px) {
  .skins-prize-field {
    grid-template-columns: 1fr;
  }
}

/* round-live-settings-1 */
body[data-admin-theme] #adminRoundSetup .round-live-control {
  align-items: center;
  background: color-mix(in srgb, var(--admin-date-card-primary, var(--admin-theme-primary, #17633f)) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--admin-date-card-primary, var(--admin-theme-primary, #17633f)) 48%, #ffffff);
  border-radius: 7px;
  color: var(--admin-date-card-ink, var(--admin-theme-ink, #103b2c));
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
  padding: 4px 5px 4px 8px;
}

body[data-admin-theme] #adminRoundSetup .round-live-control > span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

body[data-admin-theme] #adminRoundSetup .round-live-control strong {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

body[data-admin-theme] #adminRoundSetup .round-live-control small {
  color: inherit;
  font-size: 0.62rem;
  font-weight: 700;
}

body[data-admin-theme] #adminRoundSetup .round-live-control > button {
  align-items: center;
  background: var(--admin-date-card-primary, var(--admin-theme-primary, #17633f));
  border: 1px solid var(--admin-date-card-primary, var(--admin-theme-primary, #17633f));
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  justify-content: center;
  min-height: 27px;
  padding: 3px 7px;
  white-space: nowrap;
}

body[data-admin-theme] #adminRoundSetup .round-live-control.is-unlocked {
  background: color-mix(in srgb, var(--admin-theme-secondary, #ff883e) 13%, #ffffff);
  border-color: color-mix(in srgb, var(--admin-theme-secondary, #ff883e) 62%, #ffffff);
}

body[data-admin-theme] #adminRoundSetup .round-live-control.is-unlocked > button {
  background: var(--admin-theme-secondary, #ff883e);
  border-color: var(--admin-theme-secondary, #ff883e);
}

body[data-admin-theme] #adminRoundSetup .round-live-control.is-ready {
  background: color-mix(in srgb, var(--admin-date-card-secondary, var(--admin-theme-secondary, #ff883e)) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--admin-date-card-secondary, var(--admin-theme-secondary, #ff883e)) 55%, #ffffff);
}

body[data-admin-theme] #adminRoundSetup .round-live-control.is-ready > button {
  background: var(--admin-date-card-secondary, var(--admin-theme-secondary, #ff883e));
  border-color: var(--admin-date-card-secondary, var(--admin-theme-secondary, #ff883e));
}

@media (max-width: 560px) {
  body[data-admin-theme] #adminRoundSetup .round-live-control {
    margin-left: 0;
  }
}
