:root {
  --admin-top-blue: #2f6f9f;
  --admin-top-blue-border: #255c86;
  --admin-top-fill: #e5f1eb;
  --admin-top-fill-strong: #d8eadf;
  --admin-top-text: #12372a;
  --admin-top-muted: #486256;
  --admin-selected-fill: #fff1bf;
  --admin-selected-border: #e5c45c;
  --admin-selected-text: #173428;
  --admin-master-bg: #ffffff;
  --admin-master-bg-open: #f7faf8;
  --admin-master-border: #d9e2dc;
  --admin-master-title: #18251f;
  --admin-master-muted: #6c7a72;
  --admin-master-shadow: 0 2px 10px rgba(23, 35, 30, 0.08);
  --admin-master-arrow-bg: #f2f5f3;
  --admin-master-arrow-border: #d8e1dc;
  --admin-master-arrow: #21372d;
}

.mobile-app-brand {
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 33, 61, 0.12);
  color: var(--admin-top-text);
}

.mobile-app-header {
  background: var(--admin-top-fill);
  border-bottom: 1px solid #c9ded2;
  color: var(--admin-top-text);
  gap: 8px;
  padding: 10px 12px 12px;
}

.mobile-title-row {
  display: block;
}

.admin-selected-event-chip {
  background: var(--admin-selected-fill);
  border: 1px solid var(--admin-selected-border);
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(96, 76, 21, 0.1);
  color: var(--admin-selected-text);
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  text-align: left;
}

.mobile-title-copy strong {
  color: var(--admin-top-text);
}

.admin-selected-event-chip strong {
  color: var(--admin-selected-text);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.1;
}

.mobile-title-copy span {
  color: var(--admin-top-muted);
  font-size: 0.86rem;
  font-weight: 750;
  opacity: 1;
}

.admin-selected-event-chip > span {
  color: #475c51;
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-selected-header-pills {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.admin-selected-header-pills .admin-master-pill {
  grid-column: auto;
  grid-row: auto;
  justify-self: start;
  min-height: 22px;
  overflow: visible;
  padding-inline: 8px;
  text-overflow: clip;
}

.mobile-icon-button {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #c5d9ce;
  color: var(--admin-top-text);
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 38px;
  padding: 0 5px;
  width: 42px;
}

.mobile-nav a,
.mobile-nav button {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid #c5d9ce;
  color: #2f4b3f;
  min-height: 36px;
}

.mobile-nav a.active,
.mobile-nav button.active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 2px 8px rgba(23, 52, 40, 0.09);
  color: #12372a;
}

.admin-overview {
  background: var(--admin-selected-fill);
  border-color: var(--admin-selected-border);
  box-shadow: 0 2px 10px rgba(96, 76, 21, 0.12);
  color: var(--admin-selected-text);
  display: grid;
  gap: 7px;
}

.admin-overview h2,
.admin-overview p {
  color: var(--admin-selected-text);
}

.admin-overview .mobile-kicker {
  display: none;
}

.admin-overview h2 {
  font-size: 1.1rem;
  line-height: 1.15;
}

.admin-overview .admin-selected-meta {
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
  margin: 0;
}

.admin-selected-status-row {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: flex-start;
  margin-top: 1px;
}

.admin-section {
  background: #ffffff;
  border-color: var(--admin-master-border);
  box-shadow: var(--admin-master-shadow);
}

.admin-section > summary {
  align-items: center;
  background: var(--admin-master-bg);
  border-bottom: 1px solid transparent;
  color: var(--admin-master-title);
  display: grid;
  gap: 3px 10px;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  min-height: 58px;
  padding: 11px 12px;
}

.admin-section[open] > summary {
  background: var(--admin-master-bg-open);
  border-bottom-color: var(--admin-master-border);
}

.admin-section > summary span {
  color: var(--admin-master-title);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  min-width: 0;
}

.admin-section > summary small {
  color: var(--admin-master-muted);
  font-size: 0.72rem;
  font-weight: 750;
  grid-column: 1 / 2;
  line-height: 1.2;
  padding-right: 0;
}

.admin-section > summary::after {
  background: var(--admin-master-arrow-bg);
  border: 1px solid var(--admin-master-arrow-border);
  border-radius: 999px;
  color: var(--admin-master-arrow);
  grid-column: 3;
  grid-row: 1 / span 2;
  height: 30px;
  justify-self: end;
  width: 30px;
}

.admin-section > summary::before {
  color: var(--admin-master-arrow);
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: auto;
  right: 23px;
}

.admin-master-pill {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 900;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  letter-spacing: 0;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
  text-transform: none;
  white-space: nowrap;
}

.admin-master-pill[data-tone="green"] {
  background: #e8f5ee;
  border-color: #bcdcc9;
  color: #11643f;
}

.admin-master-pill[data-tone="blue"] {
  background: #eaf2ff;
  border-color: #c4d9ff;
  color: #1d4f91;
}

.admin-master-pill[data-tone="amber"] {
  background: #fff5db;
  border-color: #ecd08f;
  color: #765315;
}

.admin-master-pill[data-tone="gray"] {
  background: #eef1f0;
  border-color: #d6ddda;
  color: #4d5a54;
}

.admin-master-pill[data-tone="red"] {
  background: #fff0ee;
  border-color: #f0c6bf;
  color: #944033;
}

.admin-master-pill[data-tone="theme"] {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--admin-theme-secondary, #17633f), #ffffff 35%);
  color: var(--admin-theme-ink, #173428);
}

.admin-master-pill[data-action="true"] {
  border-color: #a8c8f5;
  font-weight: 950;
}

@media (max-width: 380px) {
  .admin-section > summary {
    grid-template-columns: minmax(0, 1fr) auto 30px;
    padding-inline: 10px;
  }

  .admin-master-pill {
    font-size: 0.62rem;
    min-height: 22px;
    padding-inline: 7px;
  }
}

body[data-admin-theme="irish"] {
  --admin-theme-primary: #169b62;
  --admin-theme-secondary: #ff883e;
  --admin-theme-light: #ffffff;
  --admin-theme-ink: #12372a;
  --admin-theme-header-fill: #e9f6ef;
  --admin-theme-header-border: #b9dac9;
  --admin-theme-selected-fill: #fff4e8;
  --admin-theme-selected-border: #ffbf8d;
  --admin-theme-stripe-soft: #eefaf4;
  --admin-theme-nav-fill: #ff883e;
  --admin-theme-nav-fill-active: #ffffff;
  --admin-theme-nav-text: #173428;
  --admin-theme-nav-text-active: #12372a;
  --admin-theme-pill-fill: #ff883e;
  --admin-theme-pill-text: #173428;
}

body[data-admin-theme="usa"] {
  --admin-theme-primary: #3c3b6e;
  --admin-theme-secondary: #b22234;
  --admin-theme-light: #ffffff;
  --admin-theme-ink: #14213d;
  --admin-theme-header-fill: #eef3fb;
  --admin-theme-header-border: #c9d7ef;
  --admin-theme-selected-fill: #fff1f2;
  --admin-theme-selected-border: #dfa4ac;
  --admin-theme-stripe-soft: #f8fbff;
  --admin-theme-nav-fill: #b22234;
  --admin-theme-nav-fill-active: #ffffff;
  --admin-theme-nav-text: #ffffff;
  --admin-theme-nav-text-active: #14213d;
  --admin-theme-pill-fill: #ffffff;
  --admin-theme-pill-text: #14213d;
}

body[data-admin-theme="scoodle"] {
  --admin-theme-primary: #2f6fe8;
  --admin-theme-secondary: #ef342d;
  --admin-theme-accent: #f6b51d;
  --admin-theme-green: #2f9e3c;
  --admin-theme-light: #ffffff;
  --admin-theme-ink: #18213a;
  --admin-theme-header-fill: #eef4ff;
  --admin-theme-header-border: #c8d9ff;
  --admin-theme-selected-fill: #fff8de;
  --admin-theme-selected-border: #f6b51d;
  --admin-theme-stripe-soft: #f4f8ff;
  --admin-theme-nav-fill: #ef342d;
  --admin-theme-nav-fill-active: #ffffff;
  --admin-theme-nav-text: #ffffff;
  --admin-theme-nav-text-active: #18213a;
  --admin-theme-pill-fill: #f6b51d;
  --admin-theme-pill-text: #18213a;
}

body[data-admin-theme="masters"] {
  --admin-theme-primary: #006747;
  --admin-theme-secondary: #e2ba2f;
  --admin-theme-light: #ffffff;
  --admin-theme-ink: #103c31;
  --admin-theme-header-fill: #edf7f3;
  --admin-theme-header-border: #bdd9cf;
  --admin-theme-selected-fill: #fff9e5;
  --admin-theme-selected-border: #e2ba2f;
  --admin-theme-stripe-soft: #f3faf7;
  --admin-theme-nav-fill: #e2ba2f;
  --admin-theme-nav-fill-active: #ffffff;
  --admin-theme-nav-text: #103c31;
  --admin-theme-nav-text-active: #006747;
  --admin-theme-pill-fill: #e2ba2f;
  --admin-theme-pill-text: #103c31;
}

body[data-admin-theme] {
  --admin-section-fill: var(--admin-theme-primary);
  --admin-section-text: #ffffff;
  --admin-section-muted-themed: rgba(255, 255, 255, 0.86);
  --admin-ball-fill: #ffffff;
  --admin-ball-text: var(--admin-theme-primary);
  --admin-ball-border: rgba(255, 255, 255, 0.85);
  --admin-themed-card-strong: var(--admin-theme-primary);
  --admin-themed-card-surface: var(--admin-theme-light, #ffffff);
  --admin-themed-card-surface-border: color-mix(in srgb, var(--admin-theme-primary), #ffffff 66%);
  --admin-themed-card-track-indent: 0.9rem;
  --admin-themed-card-track-width: calc(100% - var(--admin-themed-card-track-indent));
  --admin-themed-pencil-track-indent: var(--admin-themed-card-track-indent);
  --admin-themed-pencil-track-width: calc(100% - var(--admin-themed-pencil-track-indent));
  --admin-themed-setting-track-indent: calc(var(--admin-themed-card-track-indent) + 0.55rem);
  --admin-themed-setting-track-width: calc(100% - var(--admin-themed-setting-track-indent));
  --admin-themed-card-radius: 8px;
  --admin-themed-card-inner-radius: 6px;
  --admin-themed-card-padding: 0.5rem;
  --admin-themed-card-gap: 0.5rem;
}

body[data-admin-theme-boot="loading"] #adminEvents > .admin-event-group,
body[data-admin-theme-boot="loading"] #adminEvents > .admin-event-toggle:not(.admin-event-tee-toggle),
body[data-admin-theme-boot="loading"] #adminEvents > :not(.admin-events-tee-list),
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-section-toolbar,
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-lock-panel,
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-form-grid,
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-round-list,
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-save-row,
body[data-admin-theme-boot="loading"] #adminEventSetup > .admin-note:not(.compact) {
  display: none !important;
}

body[data-admin-theme] .mobile-app-brand {
  background: #ffffff;
  border-bottom-color: rgba(20, 33, 61, 0.12);
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.08);
  color: var(--admin-theme-ink);
  position: sticky;
  top: 0;
  z-index: 80;
  text-shadow: none;
}

body[data-admin-theme] .mobile-app-header {
  background:
    linear-gradient(118deg,
      color-mix(in srgb, var(--admin-theme-primary), #000 3%) 0%,
      color-mix(in srgb, var(--admin-theme-primary), var(--admin-theme-light) 58%) 36%,
      var(--admin-theme-light) 51%,
      color-mix(in srgb, var(--admin-theme-secondary), var(--admin-theme-light) 42%) 67%,
      var(--admin-theme-secondary) 100%);
  border-bottom-color: var(--admin-theme-header-border);
  color: var(--admin-theme-ink);
  position: sticky;
  top: 86px;
  z-index: 79;
}

body[data-admin-theme] .admin-selected-event-chip {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-color: color-mix(in srgb, var(--admin-theme-primary), #ffffff 54%);
  box-shadow: 0 5px 16px rgba(20, 33, 61, 0.12);
}

body[data-admin-theme] .mobile-title-copy strong,
body[data-admin-theme] .admin-selected-event-chip strong {
  color: var(--admin-theme-ink);
}

body[data-admin-theme] .admin-selected-event-chip > span,
body[data-admin-theme] .mobile-title-copy span {
  color: color-mix(in srgb, var(--admin-theme-ink), #ffffff 26%);
}

body[data-admin-theme] .mobile-nav a,
body[data-admin-theme] .mobile-nav button {
  text-align: center;
}

body[data-admin-theme="irish"] .mobile-nav a:nth-child(1),
body[data-admin-theme="irish"] .mobile-nav button:nth-child(1) {
  background: #ffffff;
  border-color: color-mix(in srgb, #169b62, #ffffff 42%);
  color: #106a46;
}

body[data-admin-theme="irish"] .mobile-nav a:nth-child(2),
body[data-admin-theme="irish"] .mobile-nav button:nth-child(2) {
  background: #ff883e;
  border-color: color-mix(in srgb, #ff883e, #000 12%);
  color: #ffffff;
}

body[data-admin-theme="irish"] .mobile-nav a:nth-child(3),
body[data-admin-theme="irish"] .mobile-nav button:nth-child(3) {
  background: #169b62;
  border-color: color-mix(in srgb, #169b62, #000 14%);
  color: #ffffff;
}

body[data-admin-theme="usa"] .mobile-nav a:nth-child(1),
body[data-admin-theme="usa"] .mobile-nav button:nth-child(1) {
  background: #ffffff;
  border-color: color-mix(in srgb, #3c3b6e, #ffffff 38%);
  color: #3c3b6e;
}

body[data-admin-theme="usa"] .mobile-nav a:nth-child(2),
body[data-admin-theme="usa"] .mobile-nav button:nth-child(2) {
  background: #b22234;
  border-color: color-mix(in srgb, #b22234, #000 12%);
  color: #ffffff;
}

body[data-admin-theme="usa"] .mobile-nav a:nth-child(3),
body[data-admin-theme="usa"] .mobile-nav button:nth-child(3) {
  background: #3c3b6e;
  border-color: color-mix(in srgb, #3c3b6e, #000 14%);
  color: #ffffff;
}

body[data-admin-theme="scoodle"] .mobile-nav a:nth-child(1),
body[data-admin-theme="scoodle"] .mobile-nav button:nth-child(1) {
  background: #ffffff;
  border-color: color-mix(in srgb, #2f6fe8, #ffffff 38%);
  color: #2057bd;
}

body[data-admin-theme="scoodle"] .mobile-nav a:nth-child(2),
body[data-admin-theme="scoodle"] .mobile-nav button:nth-child(2) {
  background: #ef342d;
  border-color: color-mix(in srgb, #ef342d, #000 12%);
  color: #ffffff;
}

body[data-admin-theme="scoodle"] .mobile-nav a:nth-child(3),
body[data-admin-theme="scoodle"] .mobile-nav button:nth-child(3) {
  background: #2f9e3c;
  border-color: color-mix(in srgb, #2f9e3c, #000 14%);
  color: #ffffff;
}

body[data-admin-theme] .mobile-nav a.active,
body[data-admin-theme] .mobile-nav button.active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.62), 0 2px 8px rgba(20, 33, 61, 0.14);
}

body[data-admin-theme] .admin-selected-header-pills .admin-master-pill {
  align-items: center;
  background: var(--admin-theme-pill-fill);
  border-color: color-mix(in srgb, var(--admin-theme-pill-fill), #000 14%);
  color: var(--admin-theme-pill-text);
  display: inline-flex;
  height: 26px;
  justify-content: center;
  line-height: 1;
  min-height: 26px;
  padding-block: 0;
  text-align: center;
}

@media (min-width: 760px) {
  body[data-admin-theme] .mobile-shell {
    overflow: visible;
  }

  body[data-admin-theme] .mobile-app-brand {
    top: 0;
  }

  body[data-admin-theme] .mobile-app-header {
    top: 86px;
  }
}

body[data-admin-theme="irish"] .admin-section[data-master-section="Events"],
body[data-admin-theme="irish"] .admin-section[data-master-section="Rounds"] {
  --admin-section-fill: #169b62;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #106a46;
}

body[data-admin-theme="irish"] .admin-section[data-master-section="Settings"],
body[data-admin-theme="irish"] .admin-section[data-master-section="Tee Times"],
body[data-admin-theme="irish"] .admin-section[data-master-section="Results"] {
  --admin-section-fill: #ffffff;
  --admin-section-text: #163d2f;
  --admin-section-muted-themed: #52645b;
  --admin-ball-fill: #f9fbff;
  --admin-ball-text: #173428;
  --admin-ball-border: #d8e2dc;
}

body[data-admin-theme="irish"] .admin-section[data-master-section="Players"] {
  --admin-section-fill: #ff883e;
  --admin-section-text: #173428;
  --admin-section-muted-themed: rgba(23, 52, 40, 0.72);
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #8a3d08;
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Events"],
body[data-admin-theme="usa"] .admin-section[data-master-section="Rounds"] {
  --admin-section-fill: #b22234;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #8a1e2d;
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Settings"],
body[data-admin-theme="usa"] .admin-section[data-master-section="Tee Times"],
body[data-admin-theme="usa"] .admin-section[data-master-section="Results"] {
  --admin-section-fill: #ffffff;
  --admin-section-text: #14213d;
  --admin-section-muted-themed: #5c6678;
  --admin-ball-fill: #f9fbff;
  --admin-ball-text: #14213d;
  --admin-ball-border: #d8deea;
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Players"] {
  --admin-section-fill: #3c3b6e;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #2c2b58;
}

body[data-admin-theme="scoodle"] .admin-section[data-master-section="Events"],
body[data-admin-theme="scoodle"] .admin-section[data-master-section="Rounds"] {
  --admin-section-fill: #2f6fe8;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #2057bd;
}

body[data-admin-theme="scoodle"] .admin-section[data-master-section="Settings"],
body[data-admin-theme="scoodle"] .admin-section[data-master-section="Tee Times"] {
  --admin-section-fill: #ef342d;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #bd211c;
}

body[data-admin-theme="scoodle"] .admin-section[data-master-section="Players"] {
  --admin-section-fill: #f6b51d;
  --admin-section-text: #18213a;
  --admin-section-muted-themed: rgba(24, 33, 58, 0.72);
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #946600;
}

body[data-admin-theme="scoodle"] .admin-section[data-master-section="Results"] {
  --admin-section-fill: #2f9e3c;
  --admin-section-text: #ffffff;
  --admin-ball-fill: #ffffff;
  --admin-ball-text: #1f7d2a;
}

body[data-admin-theme] .admin-section > summary {
  background: var(--admin-section-fill);
  border-bottom-color: color-mix(in srgb, var(--admin-section-fill), #000 12%);
  color: var(--admin-section-text);
  column-gap: 26px;
  grid-template-columns: 116px minmax(0, 1fr) 88px;
  grid-template-rows: 1fr auto;
  min-height: 118px;
  padding: 8px 14px;
}

body[data-admin-theme] .admin-section[open] > summary {
  background: color-mix(in srgb, var(--admin-section-fill), #ffffff 9%);
  border-bottom-color: color-mix(in srgb, var(--admin-section-fill), #000 16%);
}

body[data-admin-theme] .admin-section > summary > span:not(.admin-master-pill) {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at 38% 20%, rgba(255, 255, 255, 0.78) 0 7%, transparent 21%),
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.1)),
    url("../assets/golf-ball-texture.png") center / 122% 122%;
  border: 1px solid var(--admin-ball-border);
  border-radius: 50%;
  box-shadow: inset -10px -12px 16px rgba(40, 48, 62, 0.12), 0 4px 10px rgba(11, 35, 25, 0.22);
  color: var(--admin-ball-text);
  display: inline-flex;
  flex-direction: column;
  font-size: 0.86rem;
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 108px;
  justify-content: center;
  justify-self: start;
  letter-spacing: 0;
  line-height: 1;
  max-width: 108px;
  min-height: 108px;
  overflow: hidden;
  padding: 0 7px;
  position: relative;
  text-align: center;
  white-space: normal;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  width: 108px;
  word-break: normal;
  z-index: 0;
}

body[data-admin-theme] .admin-section > summary > span:not(.admin-master-pill)::after {
  color: color-mix(in srgb, var(--admin-ball-text), #000 10%);
  content: attr(data-count);
  display: block;
  font-size: 1.12rem;
  font-weight: 1000;
  line-height: 1.08;
  margin-top: 2px;
}

body[data-admin-theme] .admin-section > summary small {
  align-self: center;
  color: var(--admin-section-muted-themed);
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  line-height: 1.18;
  padding-right: 0;
  text-align: center;
}

body[data-admin-theme] .admin-section > summary small span {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

body[data-admin-theme] .admin-section > summary::after {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.92);
  bottom: 10px;
  grid-column: auto;
  grid-row: auto;
  position: absolute;
  right: 14px;
  top: auto;
  transform: none;
}

body[data-admin-theme] .admin-section > summary::before {
  bottom: 20px;
  color: var(--admin-theme-ink);
  grid-column: auto;
  grid-row: auto;
  position: absolute;
  right: 25px;
  top: auto;
  transform: rotate(135deg);
}

body[data-admin-theme] .admin-section[open] > summary::before {
  bottom: 18px;
  transform: rotate(-45deg);
}

body[data-admin-theme] .admin-section > summary .admin-master-pill {
  align-self: start;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-width: 80px;
}

body[data-admin-theme] .admin-section[data-master-section="Results"] > summary {
  grid-template-columns: 116px minmax(0, 1fr) 88px;
}

body[data-admin-theme] .admin-section[data-master-section="Results"] > summary .admin-master-pill {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

body[data-admin-theme="irish"] .admin-section[data-master-section="Settings"] > summary::after,
body[data-admin-theme="irish"] .admin-section[data-master-section="Tee Times"] > summary::after {
  border-color: #106a46;
  box-shadow: 0 0 0 1px rgba(16, 106, 70, 0.14);
}

body[data-admin-theme="irish"] .admin-section[data-master-section="Settings"] > summary::before,
body[data-admin-theme="irish"] .admin-section[data-master-section="Tee Times"] > summary::before {
  color: #106a46;
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Settings"] > summary::after,
body[data-admin-theme="usa"] .admin-section[data-master-section="Tee Times"] > summary::after {
  border-color: #3c3b6e;
  box-shadow: 0 0 0 1px rgba(60, 59, 110, 0.14);
}

body[data-admin-theme="usa"] .admin-section[data-master-section="Settings"] > summary::before,
body[data-admin-theme="usa"] .admin-section[data-master-section="Tee Times"] > summary::before {
  color: #3c3b6e;
}

@media (max-width: 380px) {
  body[data-admin-theme] .admin-section > summary {
    column-gap: 22px;
    grid-template-columns: 104px minmax(0, 1fr) 78px;
    min-height: 112px;
    padding-inline: 10px;
  }

  body[data-admin-theme] .admin-section > summary > span:not(.admin-master-pill) {
    font-size: 0.76rem;
    height: 96px;
    min-height: 96px;
    width: 96px;
  }

  body[data-admin-theme] .admin-section > summary > span:not(.admin-master-pill)::after {
    font-size: 1.02rem;
  }

  body[data-admin-theme] .admin-section > summary small span {
    font-size: 0.76rem;
  }

  body[data-admin-theme] .admin-section > summary .admin-master-pill {
    min-width: 70px;
  }

  body[data-admin-theme] .admin-section[data-master-section="Results"] > summary {
    grid-template-columns: 104px minmax(0, 1fr) 78px;
  }
}
