/* stylelint-disable no-descending-specificity -- Component states intentionally follow shared base selectors. */
:root {
  --cbt-orange: #fe5d0c;
  --cbt-orange-deep: #a83200;
  --cbt-ink: #0d0d0e;
  --cbt-charcoal: #2a2a2c;
  --cbt-paper: #f6f3ec;
  --cbt-mist: #ede8db;
  --cbt-white: #fff;
  --cbt-max: 1240px;
  --cbt-shadow: 0 14px 40px rgb(13 13 14 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--cbt-orange);
  outline-offset: 4px;
}

.skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
}

.cbt-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: #000;
  border-bottom: 3px solid var(--cbt-orange);
  box-shadow: 0 10px 30px rgb(0 0 0 / 28%);
}

.admin-bar .cbt-site-header {
  top: 32px;
}

.cbt-brand {
  letter-spacing: -0.025em;
}

.cbt-header-logo {
  margin: 0;
  line-height: 0;
}

.cbt-header-logo img {
  display: block;
  width: clamp(150px, 18vw, 230px);
  height: auto;
  background: #000;
  box-shadow: none;
}

.cbt-site-header .wp-block-navigation-item__content {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cbt-site-header .cbt-nav-portal .wp-block-navigation-item__content {
  padding: 0.55rem 0.85rem;
  background: var(--cbt-orange);
  color: var(--cbt-ink);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.cbt-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cbt-hero {
  position: relative;
  min-height: min(820px, 86vh);
  overflow: hidden;
}

.cbt-hero--field {
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgb(5 5 5 / 95%) 0%,
      rgb(5 5 5 / 78%) 48%,
      rgb(5 5 5 / 25%) 100%
    ),
    url("../images/thunder-field-golden-hour.webp");
  background-position: center;
  background-size: cover;
}

.cbt-hero::after {
  content: "";
  position: absolute;
  right: -6vw;
  bottom: -22vw;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  transform: rotate(18deg);
  background: var(--cbt-orange);
  clip-path: polygon(
    48% 0,
    100% 0,
    66% 41%,
    92% 41%,
    18% 100%,
    38% 54%,
    8% 54%
  );
  opacity: 0.92;
  filter: drop-shadow(0 15px 30px rgb(0 0 0 / 45%));
}

.cbt-hero > .wp-block-group__inner-container,
.cbt-hero > * {
  position: relative;
  z-index: 1;
}

.cbt-hero-title {
  max-width: 11ch;
  margin-block: 0.5rem 1rem;
  letter-spacing: -0.035em;
  text-shadow: 0 5px 0 rgb(0 0 0 / 45%);
}

.cbt-hero-logo {
  margin: 0 0 1.5rem;
}

.cbt-hero-logo img {
  display: block;
  width: min(450px, 82vw);
  height: auto;
  border: 2px solid rgb(255 255 255 / 30%);
  object-fit: contain;
  box-shadow: 10px 10px 0 var(--cbt-orange);
}

.cbt-season-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.5rem 0.8rem;
  background: var(--cbt-orange);
  color: var(--cbt-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(-1deg);
}

.cbt-card {
  height: 100%;
  border: 2px solid var(--cbt-ink);
  background: var(--cbt-white);
  box-shadow: 7px 7px 0 var(--cbt-ink);
}

.cbt-card,
.cbt-dashboard-card,
.cbt-action-grid a {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cbt-card:hover,
.cbt-dashboard-card:hover,
.cbt-action-grid a:hover {
  transform: translate(-3px, -3px) rotate(-0.25deg);
  box-shadow: 10px 10px 0 var(--cbt-orange);
}

.cbt-section-dark {
  color: var(--cbt-white);
  background: var(--cbt-ink);
}

.cbt-section-dark a {
  color: var(--cbt-white);
}

.cbt-score-strip {
  border-block: 2px solid var(--cbt-ink);
  white-space: nowrap;
  overflow: hidden;
}

.cbt-score-strip p {
  animation: cbt-marquee 22s linear infinite;
}

.cbt-year-one {
  background:
    radial-gradient(circle at 85% 15%, rgb(254 93 12 / 18%), transparent 28%),
    var(--cbt-paper);
}

.cbt-journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(125px, 1fr));
  gap: 0.65rem;
  margin-top: 2.5rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
}

.cbt-journey div {
  min-height: 145px;
  border: 2px solid var(--cbt-ink);
  padding: 1rem;
  background: var(--cbt-white);
  box-shadow: 5px 5px 0 var(--cbt-ink);
}

.cbt-journey div:nth-child(even) {
  transform: translateY(10px);
  background: var(--cbt-orange);
}

.cbt-journey strong,
.cbt-journey span {
  display: block;
}

.cbt-journey strong {
  color: var(--cbt-orange);
  font-size: 2.4rem;
  line-height: 1;
}

.cbt-journey div:nth-child(even) strong {
  color: var(--cbt-ink);
}

.cbt-journey span {
  margin-top: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-photo-feature {
  position: relative;
  overflow: hidden;
}

.cbt-photo-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: repeating-linear-gradient(
    125deg,
    transparent 0 24px,
    var(--cbt-orange) 25px 27px
  );
}

.cbt-photo-feature > * {
  position: relative;
}

.cbt-feature-image img {
  aspect-ratio: 4 / 3;
  border: 3px solid var(--cbt-white);
  object-fit: cover;
  box-shadow: 14px 14px 0 var(--cbt-orange);
  transform: rotate(-1.5deg);
}

.cbt-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.cbt-action-grid a {
  position: relative;
  min-height: 210px;
  border: 2px solid var(--cbt-ink);
  padding: 1.4rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--cbt-ink);
  overflow: hidden;
}

.cbt-action-grid a::after {
  content: "→";
  position: absolute;
  right: 1rem;
  bottom: 0;
  color: var(--cbt-orange);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.8;
}

.cbt-action-grid strong,
.cbt-action-grid span {
  display: block;
}

.cbt-action-grid strong {
  font-size: 1.45rem;
  text-transform: uppercase;
}

.cbt-action-grid span {
  max-width: 14ch;
  margin-top: 0.75rem;
}

.cbt-final-cta {
  position: relative;
  isolation: isolate;
}

.cbt-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 22px,
    #000 23px 26px
  );
}

.cbt-practice-promo,
.cbt-open-practice-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgb(254 93 12 / 22%), transparent 34%),
    var(--cbt-ink);
}

.cbt-practice-promo::before,
.cbt-open-practice-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    125deg,
    transparent 0 26px,
    var(--cbt-orange) 27px 29px
  );
}

.cbt-practice-promo > *,
.cbt-open-practice-page > * {
  position: relative;
}

.cbt-flyer-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.15rem);
  align-items: start;
}

.cbt-flyer-pair a {
  display: block;
}

.cbt-flyer-pair img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgb(255 255 255 / 70%);
  background: var(--cbt-white);
  box-shadow: 8px 8px 0 var(--cbt-orange);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cbt-flyer-pair a:hover img {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--cbt-orange);
}

.cbt-flyer-pair--large {
  width: min(100%, 980px);
  margin: clamp(2rem, 5vw, 3.5rem) auto;
}

.cbt-practice-facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.cbt-practice-facts > div {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.25fr) minmax(0, 1fr);
  gap: 0.15rem 0.85rem;
  padding: 0.8rem 1rem;
  border-left: 5px solid var(--cbt-orange);
  background: rgb(255 255 255 / 8%);
}

.cbt-practice-facts span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--cbt-orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbt-practice-facts strong,
.cbt-practice-facts small {
  display: block;
}

.cbt-practice-facts strong {
  font-size: 1.05rem;
}

.cbt-practice-facts small {
  color: rgb(255 255 255 / 78%);
}

.cbt-practice-facts--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1100px);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.cbt-practice-facts--page > div {
  grid-template-columns: 1fr;
  border-top: 5px solid var(--cbt-orange);
  border-left: 0;
  text-align: center;
}

.cbt-practice-facts--page span {
  grid-row: auto;
}

.cbt-practice-spanish {
  color: rgb(255 255 255 / 78%);
  font-style: italic;
}

.cbt-rsvp-form-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  border-top: 8px solid var(--cbt-orange);
  box-shadow: 12px 12px 0 rgb(0 0 0 / 32%);
}

.cbt-rsvp-form-shell .cbt-practice-spanish {
  color: #625d55;
}

.cbt-portal-shell {
  min-height: 70vh;
}

.cbt-portal-heading {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgb(254 93 12 / 32%), transparent 32%),
    var(--cbt-ink);
  color: var(--cbt-white);
  box-shadow: 9px 9px 0 var(--cbt-orange);
}

.cbt-portal-heading::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -70px;
  width: 170px;
  height: 170px;
  transform: rotate(18deg);
  background: var(--cbt-orange);
  clip-path: polygon(
    48% 0,
    100% 0,
    66% 41%,
    92% 41%,
    18% 100%,
    38% 54%,
    8% 54%
  );
  opacity: 0.16;
}

.cbt-portal-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0.2rem 0 0;
  color: var(--cbt-white);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.cbt-portal-heading .cbt-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--cbt-orange);
}

.cbt-portal-intro {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 0.75rem 0 0;
  color: #d9d5ce;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.cbt-portal-badge {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border: 2px solid var(--cbt-orange);
  padding: 0.65rem 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbt-portal-nav {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem;
  overflow-x: auto;
  border: 2px solid var(--cbt-ink);
  background: var(--cbt-ink);
  box-shadow: 6px 6px 0 rgb(13 13 14 / 16%);
}

.cbt-portal-nav a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.5rem 0.2rem;
  color: var(--cbt-white);
  font-size: clamp(0.64rem, 0.78vw, 0.76rem);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.cbt-portal-nav a[aria-current="page"],
.cbt-portal-nav a:hover {
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
}

.cbt-upcoming-events {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
  align-items: stretch;
}

.cbt-upcoming-event-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: clamp(1rem, 2.4vw, 2rem);
  overflow: hidden;
  padding: clamp(1.25rem, 2.3vw, 1.75rem);
}

.cbt-upcoming-event-card:only-child {
  display: grid;
  grid-template-columns: minmax(13rem, 0.85fr) minmax(18rem, 1.35fr) auto;
  align-items: center;
}

.cbt-upcoming-event-card h3 {
  margin: 0.5rem 0 0;
  overflow-wrap: anywhere;
}

.cbt-upcoming-event-meta {
  display: grid;
  gap: 1rem;
}

.cbt-upcoming-event-card:only-child .cbt-upcoming-event-meta {
  grid-template-columns: minmax(10rem, 0.75fr) minmax(14rem, 1.25fr);
}

.cbt-upcoming-event-meta p {
  margin: 0;
}

.cbt-event-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cbt-orange-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cbt-upcoming-event-card .cbt-event-location {
  display: block;
  color: #4f4b45;
  line-height: 1.45;
}

.cbt-section-dark .cbt-upcoming-event-card .cbt-location-link {
  color: var(--cbt-ink);
}

.cbt-upcoming-event-action {
  display: inline-flex;
  min-height: 48px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cbt-ink);
  padding: 0.72rem 1rem;
  background: var(--cbt-orange);
  color: var(--cbt-ink);
  font-family: var(--wp--preset--font-family--display);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.cbt-section-dark .cbt-upcoming-event-action {
  color: var(--cbt-ink);
}

.cbt-upcoming-event-action:hover,
.cbt-upcoming-event-action:focus-visible {
  background: var(--cbt-ink);
  color: var(--cbt-white);
}

.cbt-event-location-tba {
  font-style: italic;
}

@media (width <= 800px) {
  .cbt-upcoming-event-card:only-child {
    display: flex;
  }

  .cbt-upcoming-event-card:only-child .cbt-upcoming-event-meta {
    grid-template-columns: 1fr;
  }

  .cbt-upcoming-event-action {
    width: 100%;
    white-space: normal;
  }
}

.cbt-dashboard-card {
  border: 2px solid var(--cbt-ink);
  border-top: 7px solid var(--cbt-orange);
  padding: 1.25rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  box-shadow: 6px 6px 0 rgb(13 13 14 / 18%);
}

.cbt-dashboard-card h2,
.cbt-dashboard-card h3 {
  margin-top: 0;
}

.cbt-dashboard-card > label {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 800;
}

.cbt-dashboard-card select,
.cbt-dashboard-card textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--cbt-ink);
  border-radius: 0;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: var(--cbt-white);
}

.cbt-portal-shell [data-cbt-dashboard] {
  grid-template-columns: 1fr;
}

.cbt-portal-shell .cbt-dashboard-card {
  border: 1px solid #d9d3c8;
  border-top: 6px solid var(--cbt-orange);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--cbt-shadow);
}

.cbt-portal-shell .cbt-dashboard-card:hover {
  transform: none;
  box-shadow: var(--cbt-shadow);
}

.cbt-dashboard-card--next {
  background:
    radial-gradient(circle at 100% 0, rgb(254 93 12 / 14%), transparent 35%),
    var(--cbt-white);
}

.cbt-dashboard-card--actions {
  background: var(--cbt-ink) !important;
  color: var(--cbt-white) !important;
}

.cbt-dashboard-card--actions h3 {
  color: var(--cbt-white);
}

.cbt-card-kicker {
  margin: 0 0 0.4rem;
  color: var(--cbt-orange-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cbt-dashboard-card--actions .cbt-card-kicker {
  color: var(--cbt-orange);
}

.cbt-next-event strong,
.cbt-next-event span {
  display: block;
}

.cbt-next-event strong {
  margin-bottom: 0.45rem;
  font-size: 1.3rem;
}

.cbt-next-event span + span {
  margin-top: 0.25rem;
  color: #5f5b55;
}

.cbt-next-event-date {
  margin: 1.4rem 0 0.45rem;
  color: var(--cbt-ink);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 900;
}

.cbt-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.cbt-card-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 2px solid currentcolor;
  padding: 0.5rem 0.75rem;
  color: var(--cbt-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.cbt-dashboard-card--actions .cbt-card-actions a {
  color: var(--cbt-orange);
}

.cbt-card-actions a:hover {
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-card-summary {
  max-width: 40ch;
  color: #d9d5ce;
}

.cbt-dashboard-checklist {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.cbt-dashboard-checklist li + li {
  border-top: 1px solid #3d3e41;
}

.cbt-dashboard-checklist a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 0.75rem;
  align-items: center;
  padding: 0.8rem 0;
  color: var(--cbt-white);
  text-decoration: none;
}

.cbt-dashboard-checklist a > span {
  display: grid;
  grid-row: span 2;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--cbt-orange);
  color: var(--cbt-ink);
  font-weight: 950;
}

.cbt-dashboard-checklist strong,
.cbt-dashboard-checklist small {
  grid-column: 2;
}

.cbt-dashboard-checklist small {
  color: #bdb9b2;
}

.cbt-dashboard-checklist a:hover strong {
  color: var(--cbt-orange);
}

.cbt-card-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.cbt-card-heading > span {
  border: 1px solid #cfc8bc;
  padding: 0.35rem 0.55rem;
  color: #5f5b55;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.cbt-announcement-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cbt-announcement-list article {
  border-left: 4px solid var(--cbt-orange);
  padding: 0.85rem 1rem;
  background: var(--cbt-paper);
}

.cbt-announcement-list p {
  margin-bottom: 0;
  color: #4f4b45;
}

.cbt-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--cbt-mist);
  color: var(--cbt-ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.cbt-empty {
  border: 2px dashed #afa99f;
  padding: 1.25rem;
  color: #5f5b55;
}

.cbt-form-grid {
  display: grid;
  gap: 1rem;
}

.cbt-form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.cbt-form-field input,
.cbt-form-field select,
.cbt-form-field textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 2px solid var(--cbt-ink);
  border-radius: 0;
  padding: 0.75rem;
  font: inherit;
  background: var(--cbt-white);
}

.cbt-notice {
  border-left: 6px solid var(--cbt-orange);
  padding: 1rem;
  background: var(--cbt-white);
}

.cbt-notice--success {
  border-color: #19713b;
  background: #e4f6e9;
  color: #155b31;
}

.cbt-onboarding {
  width: min(100%, 980px);
  margin-inline: auto;
}

.cbt-onboarding-heading {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background:
    radial-gradient(circle at 90% 10%, rgb(254 93 12 / 32%), transparent 32%),
    var(--cbt-ink);
  color: var(--cbt-white);
  box-shadow: 9px 9px 0 var(--cbt-orange);
}

.cbt-onboarding-heading h2 {
  margin-block: 0.2rem 0.6rem;
  color: var(--cbt-white);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.cbt-onboarding-heading p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  color: #d3d0c9;
}

.cbt-onboarding-heading .cbt-eyebrow {
  margin: 0;
  color: var(--cbt-orange);
}

.cbt-onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 1rem;
  padding: 0;
  list-style: none;
}

.cbt-onboarding-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border: 2px solid var(--cbt-ink);
  padding: 0.75rem;
  background: var(--cbt-white);
  font-weight: 900;
}

.cbt-onboarding-steps strong {
  display: grid;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: var(--cbt-orange);
}

.cbt-onboarding-form {
  margin-top: 1rem;
}

.cbt-onboarding-section {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  margin: 0;
  border: 1px solid #d4cec2;
  border-top: 7px solid var(--cbt-orange);
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--cbt-white);
  box-shadow: 7px 7px 0 rgb(13 13 14 / 14%);
}

.cbt-onboarding-section legend {
  padding: 0 0.6rem;
  color: var(--cbt-ink);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 950;
  text-transform: uppercase;
}

.cbt-onboarding-section .cbt-form-intro {
  grid-column: 1 / -1;
  margin: 0;
  border-left: 5px solid var(--cbt-orange);
  padding: 0.8rem 1rem;
  background: var(--cbt-paper);
}

.cbt-form-field small {
  display: block;
  margin-top: 0.35rem;
  color: #615d56;
  line-height: 1.4;
}

.has-ink-background-color #cbt-player-birth-help {
  color: #f7f3ea;
}

.cbt-form-field input:focus,
.cbt-form-field select:focus,
.cbt-form-field textarea:focus {
  border-color: var(--cbt-orange);
  outline: 3px solid rgb(254 93 12 / 24%);
  outline-offset: 0;
}

.cbt-eligibility-guide {
  border: 2px solid var(--cbt-ink);
  border-left: 8px solid var(--cbt-orange);
  padding: clamp(1rem, 3vw, 1.4rem);
  color: var(--cbt-ink);
  background: linear-gradient(135deg, #fff 0%, var(--cbt-paper) 100%);
  box-shadow: 6px 6px 0 rgb(13 13 14 / 12%);
}

.cbt-eligibility-guide .cbt-eyebrow {
  margin: 0 0 0.35rem;
  color: #b33800;
}

.cbt-eligibility-guide h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.cbt-eligibility-guide p:last-child {
  margin-bottom: 0;
}

.cbt-eligibility-result {
  width: min(100%, 22rem);
  min-height: 1.6rem;
  margin: 0.65rem 0 0;
  border-left: 5px solid currentcolor;
  padding: 0.65rem 0.75rem;
  font-weight: 850;
}

.cbt-eligibility-result:empty {
  display: none;
}

.cbt-eligibility-result[data-state="eligible"] {
  color: #176835;
}

.cbt-eligibility-result[data-state="ineligible"],
.cbt-eligibility-result[data-state="invalid"],
.cbt-notice--eligibility {
  color: #8c1d18;
}

.cbt-birth-date-field {
  width: min(100%, 28rem);
}

.cbt-birth-date-field input[type="date"] {
  width: min(100%, 22rem);
  min-height: 52px;
  padding-block: 0.625rem;
  font-size: 1rem;
  color-scheme: light;
}

.cbt-birth-date-field small {
  width: min(100%, 22rem);
  margin-top: 0.5rem;
  border-left: 4px solid var(--cbt-orange);
  padding: 0.55rem 0.7rem;
  background: #252526;
  color: #f7f3ea !important;
}

.cbt-eligibility-result[data-state="eligible"] {
  background: #e4f6e9;
  color: #155b31;
}

.cbt-eligibility-result[data-state="ineligible"],
.cbt-eligibility-result[data-state="invalid"] {
  background: #fff1ef;
  color: #8c1d18;
}

.has-ink-background-color .cbt-eligibility-result[data-state="eligible"] {
  color: #155b31;
}

.has-ink-background-color .cbt-eligibility-result[data-state="ineligible"],
.has-ink-background-color .cbt-eligibility-result[data-state="invalid"] {
  color: #8c1d18;
}

.cbt-contact-consent {
  display: flex !important;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 !important;
  border: 2px solid #d4cec2;
  border-left: 6px solid var(--cbt-orange);
  padding: 0.9rem 1rem;
  background: var(--cbt-paper);
  color: var(--cbt-ink);
  line-height: 1.45;
}

.cbt-form-field .cbt-contact-consent input[type="checkbox"] {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  max-width: 1.35rem;
  min-width: 1.35rem;
  height: 1.35rem;
  min-height: 1.35rem;
  margin: 0.12rem 0 0;
  padding: 0;
  accent-color: var(--cbt-orange);
}

.cbt-contact-consent span {
  min-width: 0;
}

.cbt-form-grid button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.8);
  opacity: 0.55;
}

.cbt-form-check {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.75rem;
  align-items: start;
  border-left: 5px solid var(--cbt-orange);
  padding: 1rem;
  background: var(--cbt-paper);
  font-weight: 700;
  line-height: 1.5;
}

.cbt-form-check input {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  accent-color: var(--cbt-orange);
}

.cbt-form-submit-help {
  margin: 0.65rem 0 0;
  color: #615d56;
  font-size: 0.9rem;
}

.cbt-checkin-card {
  position: relative;
  overflow: hidden;
}

.cbt-checkin-state,
.cbt-checkin-coach-status {
  border: 2px solid var(--cbt-ink);
  padding: 0.55rem 0.75rem;
  background: var(--cbt-mist);
  font-weight: 900;
}

.cbt-checkin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cbt-attendance-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-left: 8px solid var(--cbt-orange);
  padding: 1rem 1.25rem;
  background: var(--cbt-ink);
  color: var(--cbt-white);
  box-shadow: 7px 7px 0 var(--cbt-orange);
}

.cbt-attendance-toolbar .cbt-eyebrow {
  margin: 0 0 0.2rem;
  color: var(--cbt-orange);
}

.cbt-attendance-toolbar strong {
  font-size: 1.35rem;
}

.cbt-attendance-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 1.25rem;
}

.cbt-attendance-card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.cbt-attendance-card:hover {
  transform: none;
  box-shadow: 6px 6px 0 rgb(13 13 14 / 18%);
}

.cbt-attendance-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-attendance-status-label {
  color: #6d675e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cbt-attendance-card .cbt-checkin-coach-status {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  width: fit-content;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
}

.cbt-attendance-card .cbt-checkin-coach-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentcolor;
}

.cbt-attendance-card.is-received .cbt-checkin-coach-status {
  background: #dff4e4;
  color: #176b36;
}

.cbt-attendance-card.is-missing .cbt-checkin-coach-status {
  background: #fff0d8;
  color: #955300;
}

.cbt-attendance-player {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cbt-attendance-player h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.cbt-jersey-number {
  display: grid;
  flex: 0 0 3rem;
  place-items: center;
  min-height: 3rem;
  background: var(--cbt-orange);
  font-size: 1.15rem;
  font-weight: 900;
  transform: rotate(-2deg);
}

.cbt-attendance-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: end;
}

.cbt-attendance-fields label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
}

.cbt-attendance-fields select,
.cbt-attendance-fields textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--cbt-ink);
  border-radius: 0;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: var(--cbt-white);
}

.cbt-attendance-fields textarea {
  resize: vertical;
}

.cbt-attendance-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-attendance-card-actions [data-cbt-result] {
  margin: 0;
  color: #176b36;
  font-weight: 800;
}

.cbt-button-secondary {
  border: 2px solid var(--cbt-ink) !important;
  background: transparent !important;
  color: var(--cbt-ink) !important;
}

.cbt-gallery-grid {
  display: grid;
  gap: 2rem;
}

.cbt-gallery-album {
  border-top: 8px solid var(--cbt-orange);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--cbt-ink);
  color: var(--cbt-white);
  box-shadow: 12px 12px 0 var(--cbt-orange);
}

.cbt-gallery-content .wp-block-gallery {
  gap: 0.8rem;
}

.cbt-gallery-content img {
  border: 2px solid var(--cbt-white);
  object-fit: cover;
}

.cbt-sponsors {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.cbt-sponsor-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border: 2px solid var(--cbt-ink);
  padding: clamp(1.5rem, 4.5vw, 4rem);
  background:
    linear-gradient(125deg, rgb(13 13 14 / 98%), rgb(42 42 44 / 94%)),
    repeating-linear-gradient(
      -25deg,
      transparent 0 18px,
      rgb(255 255 255 / 5%) 18px 20px
    );
  color: var(--cbt-white);
  box-shadow: 10px 10px 0 var(--cbt-orange);
}

.cbt-sponsor-hero::after {
  position: absolute;
  right: -4.5rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  transform: rotate(-12deg);
  background: var(--cbt-orange);
  clip-path: polygon(
    38% 0,
    100% 0,
    62% 42%,
    88% 42%,
    12% 100%,
    39% 55%,
    10% 55%
  );
  content: "";
  opacity: 0.13;
}

.cbt-sponsor-hero > * {
  position: relative;
  z-index: 1;
}

.cbt-sponsor-hero .cbt-eyebrow,
.cbt-sponsor-interest .cbt-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--cbt-orange);
}

.cbt-sponsor-interest .cbt-eyebrow {
  color: var(--cbt-orange-deep);
}

.cbt-sponsor-hero h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.cbt-sponsor-hero > div > p:not(.cbt-eyebrow) {
  max-width: 62ch;
  margin: 1.25rem 0 1.5rem;
  color: #e9e5dc;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
}

.cbt-sponsor-hero .wp-element-button {
  border: 2px solid var(--cbt-orange);
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-sponsor-benefits {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbt-sponsor-benefits li {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
  padding: 1.15rem 0;
}

.cbt-sponsor-benefits li:first-child {
  border-top: 0;
}

.cbt-sponsor-benefits strong {
  color: var(--cbt-white);
  font-size: 1.05rem;
}

.cbt-sponsor-benefits span {
  color: #cbc7bf;
  line-height: 1.45;
}

.cbt-sponsor-directory {
  display: grid;
  gap: 1.5rem;
}

.cbt-sponsor-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 2rem;
  border-bottom: 2px solid var(--cbt-ink);
  padding-bottom: 1.25rem;
}

.cbt-sponsor-section-heading .cbt-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--cbt-orange-deep);
}

.cbt-sponsor-section-heading h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.cbt-sponsor-section-heading > p {
  margin: 0;
  color: #4c4943;
  line-height: 1.55;
}

.cbt-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.5rem;
}

.cbt-sponsor-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  min-width: 0;
  border: 2px solid var(--cbt-ink);
  background: var(--cbt-white);
  box-shadow: 7px 7px 0 rgb(13 13 14 / 15%);
}

.cbt-sponsor-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--cbt-ink);
  padding: 1.25rem;
  background: #f0ece3;
}

.cbt-sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cbt-sponsor-logo > span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 3px solid var(--cbt-ink);
  background: var(--cbt-orange);
  color: var(--cbt-ink);
  font-family: var(--wp--preset--font-family--heading, Impact, sans-serif);
  font-size: 3rem;
  font-weight: 900;
}

.cbt-sponsor-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.4rem;
}

.cbt-sponsor-level {
  width: fit-content;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.5rem;
  background: var(--cbt-ink);
  color: var(--cbt-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbt-sponsor-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.cbt-sponsor-description {
  margin: 0.9rem 0 1.15rem;
  color: #45413a;
  line-height: 1.55;
}

.cbt-sponsor-offer {
  display: grid;
  gap: 0.25rem;
  margin: auto 0 1.15rem;
  border-left: 5px solid var(--cbt-orange);
  padding: 0.75rem 0.85rem;
  background: #fff1e8;
  line-height: 1.35;
}

.cbt-sponsor-offer strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbt-sponsor-offer code {
  display: inline-block;
  border: 1px dashed var(--cbt-orange-deep);
  padding: 0.12rem 0.35rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  font-weight: 900;
}

.cbt-sponsor-link {
  width: fit-content;
  margin-top: auto;
  color: var(--cbt-ink);
  font-weight: 900;
}

.cbt-sponsor-empty {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 2px dashed #aaa49a;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgb(255 255 255 / 55%);
}

.cbt-sponsor-empty > span {
  color: var(--cbt-orange);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
}

.cbt-sponsor-empty h3,
.cbt-sponsor-empty p {
  margin: 0;
}

.cbt-sponsor-empty p {
  margin-top: 0.35rem;
  color: #4c4943;
}

.cbt-sponsor-interest {
  scroll-margin-top: 9rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border: 2px solid var(--cbt-ink);
  border-top: 8px solid var(--cbt-orange);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--cbt-white);
  box-shadow: 9px 9px 0 var(--cbt-ink);
}

.cbt-sponsor-interest-intro h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.cbt-sponsor-interest-intro > p:last-child {
  color: #4c4943;
  line-height: 1.55;
}

.cbt-sponsor-interest form {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.cbt-sponsor-form > label:not(.cbt-form-consent) {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  font-weight: 800;
}

.cbt-sponsor-interest input:not([type="checkbox"], [type="radio"]),
.cbt-sponsor-interest select,
.cbt-sponsor-interest textarea {
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  border: 2px solid var(--cbt-ink);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  color: var(--cbt-ink);
  font: inherit;
  background: var(--cbt-white);
}

.cbt-sponsor-interest textarea {
  min-height: 130px;
  resize: vertical;
}

.cbt-sponsor-form .cbt-form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 700;
  line-height: 1.4;
}

.cbt-sponsor-form .cbt-form-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--cbt-orange);
}

.cbt-sponsor-form .wp-element-button {
  width: fit-content;
  border: 2px solid var(--cbt-ink);
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-sponsor-form .cbt-form-privacy {
  margin: 0;
  color: #55514a;
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (width >= 901px) {
  .cbt-sponsors {
    position: relative;
    left: 50%;
    width: min(calc(100vw - 4rem), 1180px);
    max-width: 1180px;
    transform: translateX(-50%);
  }

  body:has(.cbt-sponsors) #main-content > .wp-block-post-title {
    position: relative;
    left: 50%;
    width: min(calc(100vw - 4rem), 1180px);
    max-width: 1180px;
    transform: translateX(-50%);
  }
}

@media (width <= 760px) {
  .cbt-sponsor-hero,
  .cbt-sponsor-interest,
  .cbt-sponsor-section-heading {
    grid-template-columns: 1fr;
  }

  .cbt-sponsor-hero {
    box-shadow: 6px 6px 0 var(--cbt-orange);
  }

  .cbt-sponsor-hero h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .cbt-sponsor-benefits {
    border-top: 1px solid rgb(255 255 255 / 20%);
  }

  .cbt-sponsor-section-heading {
    gap: 0.8rem;
  }

  .cbt-sponsor-interest {
    scroll-margin-top: 6rem;
    box-shadow: 5px 5px 0 var(--cbt-ink);
  }

  .cbt-sponsor-form .wp-element-button {
    width: 100%;
  }
}

@media (width <= 420px) {
  .cbt-sponsor-card {
    grid-template-rows: 145px 1fr;
  }

  .cbt-sponsor-empty {
    align-items: flex-start;
    flex-direction: column;
  }
}

.cbt-roster-intro {
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgb(254 93 12 / 20%), transparent 45%),
    var(--cbt-paper);
}

.cbt-coach-command {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgb(254 93 12 / 16%), transparent 42%),
    var(--cbt-paper);
}

.cbt-coach-command-hero {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  border-bottom: 2px solid var(--cbt-ink);
  padding-bottom: 1.5rem;
}

.cbt-coach-command-hero h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.cbt-coach-command-hero p:last-child {
  max-width: 58ch;
  margin-bottom: 0;
  color: #4f4b45;
}

.cbt-coach-command-hero > .wp-element-button {
  flex: 0 0 auto;
}

.cbt-coach-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  border: 2px solid var(--cbt-ink);
  border-top: 8px solid var(--cbt-orange);
  background: var(--cbt-white);
  box-shadow: 9px 9px 0 var(--cbt-ink);
}

.cbt-coach-focus-event,
.cbt-coach-prep {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.cbt-coach-focus-event {
  background: radial-gradient(
    circle at 100% 0,
    rgb(254 93 12 / 16%),
    transparent 38%
  );
}

.cbt-coach-focus-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-coach-focus h3 {
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
}

.cbt-coach-event-meta {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.cbt-coach-event-meta strong {
  font-size: 1.05rem;
}

.cbt-coach-prep {
  background: var(--cbt-ink);
  color: var(--cbt-white);
}

.cbt-coach-prep .cbt-card-kicker {
  color: var(--cbt-orange);
}

.cbt-coach-prep ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbt-coach-prep li + li {
  border-top: 1px solid #3d3e41;
}

.cbt-coach-prep a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.15rem 0.8rem;
  align-items: center;
  padding: 1rem 0;
  color: var(--cbt-white);
  text-decoration: none;
}

.cbt-coach-prep a > span {
  display: grid;
  grid-row: span 2;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 2px solid var(--cbt-orange);
  color: var(--cbt-orange);
  font-weight: 950;
}

.cbt-coach-prep strong {
  font-size: 1.05rem;
}

.cbt-coach-prep small {
  grid-column: 2;
  color: #bbb7b0;
}

.cbt-coach-prep a::after {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--cbt-orange);
  content: "→";
  font-size: 1.5rem;
  font-weight: 900;
}

.cbt-coach-prep a:hover strong {
  color: var(--cbt-orange);
}

.cbt-coach-secondary {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 0.5rem;
}

.cbt-coach-secondary h3 {
  margin-top: 0.25rem;
}

.cbt-coach-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.cbt-coach-tool-grid a {
  display: grid;
  gap: 0.55rem;
  min-height: 170px;
  border: 2px solid var(--cbt-ink);
  padding: 1.1rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 rgb(13 13 14 / 18%);
}

.cbt-coach-tool-grid strong {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.cbt-coach-tool-grid span {
  color: #5f5b55;
}

.cbt-coach-tool-grid b {
  align-self: end;
  color: var(--cbt-orange-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.cbt-coach-tool-grid a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--cbt-orange);
}

.cbt-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cbt-player-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 2px solid var(--cbt-ink);
  padding: 1.35rem;
  background:
    linear-gradient(145deg, rgb(254 93 12 / 14%), transparent 58%),
    var(--cbt-white);
  box-shadow: 6px 6px 0 var(--cbt-orange);
}

.cbt-player-tile:has(.cbt-player-photo) {
	padding: 0;
}

.cbt-player-photo {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-bottom: 2px solid var(--cbt-ink);
}

.cbt-player-tile-content {
	position: relative;
	z-index: 1;
	padding: 1.35rem;
}

.cbt-player-tile:not(:has(.cbt-player-photo)) .cbt-player-tile-content {
	padding: 0;
}

.cbt-player-tile::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border: 18px solid rgb(254 93 12 / 10%);
  border-radius: 50%;
  content: "";
}

.cbt-player-number {
  display: inline-block;
  font-family: var(--cbt-display);
  color: var(--cbt-orange-deep);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.cbt-player-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.cbt-player-position {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 800;
}

.cbt-player-position span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--cbt-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cbt-roster-privacy {
	max-width: 760px;
	border-left: 4px solid var(--cbt-orange);
	padding: 0.75rem 1rem;
	background: var(--cbt-white);
	font-weight: 700;
}

.cbt-roster-privacy--private {
	border-left-color: #24783f;
	background: #eff8f1;
}

.cbt-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.cbt-social-links a {
  border: 1px solid rgb(255 255 255 / 50%);
  padding: 0.5rem 0.7rem;
  color: var(--cbt-white);
  font-weight: 800;
  text-decoration: none;
}

.cbt-social-links a:hover {
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-site-footer .wp-block-column p a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--cbt-white);
}

.cbt-site-footer .wp-block-column p a:hover {
  color: var(--cbt-orange);
}

.cbt-home-field-section {
  background:
    linear-gradient(145deg, rgb(254 93 12 / 14%), transparent 45%),
    var(--cbt-paper);
}

.cbt-home-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  border: 3px solid var(--cbt-ink);
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--cbt-white);
  box-shadow: 12px 12px 0 var(--cbt-orange);
}

.cbt-home-field h2 {
  margin-block: 0.25rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.cbt-home-field-address {
  font-size: 1.2rem;
  font-weight: 900;
}

.cbt-home-field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cbt-home-field-actions > a:not(.wp-element-button),
.cbt-location-link {
  font-weight: 800;
}

.cbt-home-field-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--cbt-ink);
  color: var(--cbt-white);
  clip-path: polygon(50% 0, 100% 28%, 86% 86%, 50% 100%, 14% 86%, 0 28%);
  transform: rotate(3deg);
}

.cbt-home-field-mark strong {
  color: var(--cbt-orange);
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1;
}

.cbt-home-field-mark span {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.7;
}

.cbt-lineup-builder {
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(145deg, rgb(254 93 12 / 14%), transparent 35%),
    var(--cbt-paper);
}

.cbt-lineup-heading,
.cbt-batting-panel-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.cbt-lineup-heading h2,
.cbt-batting-panel-heading h3 {
  margin-block: 0.2rem;
}

.cbt-lineup-heading > div > p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

.cbt-lineup-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: 1.5rem;
}

.cbt-lineup-workspace > div:first-child > h3 {
  margin-top: 0;
}

.cbt-baseball-field {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  overflow: hidden;
  border: 5px solid var(--cbt-ink);
  border-radius: 48% 48% 8% 8%;
  background: #2f7c42;
  box-shadow: 10px 10px 0 var(--cbt-orange);
  isolation: isolate;
}

.cbt-field-grass {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: repeating-radial-gradient(
    ellipse at 50% 94%,
    #3f9852 0 12%,
    #318446 12% 22%
  );
}

.cbt-infield-dirt {
  position: absolute;
  left: 50%;
  bottom: 7%;
  z-index: -2;
  width: 54%;
  aspect-ratio: 1;
  border: 4px solid rgb(255 255 255 / 70%);
  background: #bd7a42;
  transform: translateX(-50%) rotate(45deg);
}

.cbt-field-line {
  position: absolute;
  bottom: 5%;
  z-index: -1;
  width: 4px;
  height: 91%;
  background: rgb(255 255 255 / 82%);
  transform-origin: bottom;
}

.cbt-field-line--left {
  left: 49.5%;
  transform: rotate(-37deg);
}

.cbt-field-line--right {
  right: 49.5%;
  transform: rotate(37deg);
}

.cbt-home-plate {
  position: absolute;
  bottom: 3.5%;
  left: 50%;
  width: 22px;
  height: 18px;
  background: var(--cbt-white);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  transform: translateX(-50%);
}

.cbt-field-slot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(78px, 21%, 108px);
  min-height: 48px;
  border: 2px solid var(--cbt-ink);
  border-radius: 10px;
  padding: 0.8rem 0.25rem 0.3rem;
  background: rgb(255 255 255 / 92%);
  box-shadow: 3px 4px 0 rgb(12 13 14 / 62%);
  color: var(--cbt-ink);
  font-size: clamp(0.66rem, 1.35vw, 0.8rem);
  line-height: 1.05;
  text-align: center;
  transform: translate(-50%, -50%);
}

.cbt-field-slot > span {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 1.85rem;
  aspect-ratio: 1;
  border: 2px solid var(--cbt-ink);
  border-radius: 50%;
  background: var(--cbt-orange);
  font-size: 0.68rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.cbt-field-slot > strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cbt-field-slot:not(.has-player) {
  border-style: dashed;
  opacity: 0.72;
}

.cbt-field-slot.has-player {
  border-color: var(--cbt-orange);
  background: var(--cbt-white);
}

.cbt-field-slot.has-conflict {
  border-color: #a32e21;
  background: #ffe3de;
  box-shadow: 3px 4px 0 #a32e21;
}

.cbt-field-slot.has-conflict::after {
  content: "+" attr(data-conflict-count);
  position: absolute;
  top: -0.65rem;
  right: -0.65rem;
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--cbt-white);
  border-radius: 999px;
  padding-inline: 0.15rem;
  background: #a32e21;
  color: var(--cbt-white);
  font-size: 0.62rem;
  font-weight: 950;
}

.cbt-field-slot--cf {
  top: 10%;
  left: 50%;
}

.cbt-field-slot--lf {
  top: 24%;
  left: 20%;
}

.cbt-field-slot--rf {
  top: 24%;
  left: 80%;
}

.cbt-field-slot--ss {
  top: 43%;
  left: 35%;
}

.cbt-field-slot--2b {
  top: 43%;
  left: 65%;
}

.cbt-field-slot--3b {
  top: 61%;
  left: 23%;
}

.cbt-field-slot--1b {
  top: 61%;
  left: 77%;
}

.cbt-field-slot--p {
  top: 65%;
  left: 50%;
}

.cbt-field-slot--c {
  top: 85%;
  left: 50%;
}

.cbt-bench-slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: min(100%, 520px);
  margin: 1.25rem auto 0;
  border: 2px solid var(--cbt-ink);
  padding: 0.8rem;
  background: var(--cbt-white);
  box-shadow: 5px 5px 0 var(--cbt-orange);
}

.cbt-bench-slot > span {
  padding: 0.45rem 0.6rem;
  background: var(--cbt-ink);
  color: var(--cbt-white);
  font-weight: 900;
}

.cbt-batting-panel {
  border-top: 8px solid var(--cbt-orange);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--cbt-white);
  box-shadow: 8px 8px 0 var(--cbt-ink);
}

.cbt-batting-panel-heading > span {
  color: #615d56;
  font-size: 0.82rem;
  font-weight: 800;
}

.cbt-lineup-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
  counter-reset: batting;
}

.cbt-lineup-player {
  display: grid;
  grid-template-columns: 2rem 3.2rem minmax(7rem, 1fr) minmax(8rem, 11rem);
  gap: 0.65rem;
  align-items: center;
  min-height: 64px;
  border: 2px solid var(--cbt-ink);
  padding: 0.65rem;
  background: var(--cbt-white);
  counter-increment: batting;
}

.cbt-lineup-player::before {
  content: counter(batting);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--cbt-orange);
  font-weight: 900;
}

.cbt-lineup-order-controls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.15rem;
}

.cbt-lineup-order-controls button {
  display: grid;
  place-items: center;
  min-width: 24px;
  min-height: 32px;
  border: 1px solid var(--cbt-ink);
  padding: 0;
  background: var(--cbt-paper);
  color: var(--cbt-ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cbt-lineup-order-controls button:focus-visible,
.cbt-lineup-order-controls button:hover {
  background: var(--cbt-orange);
}

.cbt-lineup-player label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.cbt-lineup-player select {
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--cbt-ink);
  padding: 0.35rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  font: inherit;
}

.cbt-lineup-player[aria-grabbed="true"] {
  opacity: 0.55;
}

.cbt-lineup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.cbt-lineup-actions [data-cbt-lineup-result] {
  flex-basis: 100%;
  margin: 0;
  font-weight: 800;
}

.cbt-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.cbt-table {
  width: 100%;
  border-collapse: collapse;
}

.cbt-table th,
.cbt-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #d8d2c7;
  text-align: left;
}

.cbt-table th {
  background: var(--cbt-ink);
  color: var(--cbt-white);
}

.cbt-schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cbt-schedule-actions .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cbt-schedule-manager {
  margin-top: clamp(2rem, 6vw, 4.5rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgb(254 93 12 / 18%), transparent 40%),
    var(--cbt-ink);
  color: var(--cbt-white);
  box-shadow: 10px 10px 0 var(--cbt-orange);
}

.cbt-schedule-manager-heading {
  display: flex;
  gap: 1.5rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cbt-schedule-manager-heading h2 {
  margin-block: 0.2rem 0.5rem;
  color: var(--cbt-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.cbt-schedule-manager-heading .cbt-eyebrow {
  margin: 0;
  color: var(--cbt-orange);
}

.cbt-schedule-manager-heading p:last-child {
  max-width: 62ch;
  color: #d3d0c9;
}

.cbt-event-editor {
  margin-top: 1rem;
  border-top: 6px solid var(--cbt-orange);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--cbt-paper);
  color: var(--cbt-ink);
  box-shadow: 6px 6px 0 rgb(254 93 12 / 24%);
}

.cbt-event-editor--create {
  border: 2px solid var(--cbt-orange);
  border-top-width: 8px;
}

.cbt-event-editor-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cbt-event-editor-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.cbt-event-editor-list {
  margin-top: 2rem;
}

.cbt-event-list-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-event-list-heading h3 {
  color: var(--cbt-white);
}

.cbt-event-list-heading span {
  color: #cbc8c2;
  font-weight: 800;
}

.cbt-event-editor-record {
  margin-top: 0.75rem;
  border: 1px solid rgb(255 255 255 / 28%);
  background: #17181a;
}

.cbt-event-editor-list:not(.is-expanded)
  .cbt-event-editor-record:nth-of-type(n + 9) {
  display: none;
}

.cbt-event-list-toggle {
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  border: 2px solid var(--cbt-orange);
  padding: 0.7rem 1rem;
  background: transparent;
  color: var(--cbt-white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cbt-event-list-toggle:hover,
.cbt-event-list-toggle:focus-visible {
  background: var(--cbt-orange);
  color: var(--cbt-ink);
}

.cbt-event-editor-record > summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0.85rem 1rem;
  color: var(--cbt-white);
  cursor: pointer;
}

.cbt-event-editor-record > summary span:first-child {
  display: grid;
  gap: 0.15rem;
}

.cbt-event-editor-record > summary small {
  color: #cbc8c2;
}

.cbt-event-editor-record > .cbt-event-editor {
  margin: 0;
  box-shadow: none;
}

.cbt-event-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.cbt-event-fields label {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  color: var(--cbt-ink);
  font-weight: 800;
}

.cbt-event-fields input,
.cbt-event-fields select {
  width: 100%;
  min-height: 48px;
  border: 2px solid #aaa59b;
  border-radius: 0;
  padding: 0.65rem 0.75rem;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  font: inherit;
}

.cbt-event-fields input:focus,
.cbt-event-fields select:focus {
  border-color: var(--cbt-orange);
  outline: 3px solid rgb(254 93 12 / 24%);
  outline-offset: 0;
}

.cbt-event-title,
.cbt-event-location {
  grid-column: 1 / -1;
}

.cbt-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.cbt-event-actions [data-cbt-result] {
  margin: 0;
  font-weight: 800;
}

.cbt-event-remove {
  min-height: 44px;
  border: 2px solid #a32e21;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: #8b2116;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cbt-event-remove:hover {
  background: #a32e21;
  color: var(--cbt-white);
}

@keyframes cbt-marquee {
  to {
    transform: translateX(-35%);
  }
}

@media (width >= 700px) {
  .cbt-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbt-form-field--wide {
    grid-column: 1 / -1;
  }

  .cbt-portal-shell [data-cbt-dashboard] {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .cbt-dashboard-card--next {
    grid-column: span 7;
  }

  .cbt-dashboard-card--actions {
    grid-column: span 5;
  }

  .cbt-dashboard-card--announcements {
    grid-column: 1 / -1;
  }

  .cbt-announcement-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 900px) {
  .cbt-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbt-lineup-workspace {
    grid-template-columns: 1fr;
  }

  .cbt-batting-panel {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (width >= 901px) {
  .cbt-lineup-builder,
  .cbt-schedule-manager {
    position: relative;
    left: 50%;
    box-sizing: border-box;
    width: min(calc(100vw - 4rem), 1120px);
    transform: translateX(-50%);
  }

  .cbt-portal-nav a {
    min-width: 0;
    padding-inline: 0.55rem;
  }
}

@media (width >= 1100px) {
  .cbt-lineup-workspace {
    grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1.1fr);
  }
}

@media (width <= 850px) {
  .cbt-coach-focus {
    grid-template-columns: 1fr;
  }

  .cbt-coach-secondary {
    grid-template-columns: 1fr;
  }

  .cbt-coach-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 600px) {
  .cbt-hero {
    min-height: 720px;
  }

  .cbt-flyer-pair {
    gap: 0.45rem;
  }

  .cbt-flyer-pair img {
    box-shadow: 4px 4px 0 var(--cbt-orange);
  }

  .cbt-practice-facts--page {
    grid-template-columns: 1fr;
  }

  .cbt-practice-facts > div {
    grid-template-columns: 1fr;
  }

  .cbt-practice-facts span {
    grid-row: auto;
  }

  .cbt-rsvp-form-shell {
    box-shadow: 6px 6px 0 rgb(0 0 0 / 32%);
  }

  .cbt-hero--field {
    background-image:
      linear-gradient(rgb(5 5 5 / 86%), rgb(5 5 5 / 78%)),
      url("../images/thunder-field-golden-hour.webp");
    background-position: 62% center;
  }

  .cbt-hero::after {
    right: -28vw;
    width: 90vw;
  }

  .cbt-action-grid {
    grid-template-columns: 1fr;
  }

  .cbt-action-grid a {
    min-height: 160px;
  }

  .cbt-journey {
    grid-template-columns: repeat(6, 150px);
  }

  .cbt-home-field {
    grid-template-columns: 1fr;
  }

  .cbt-home-field-mark {
    width: min(60vw, 210px);
    margin-inline: auto;
  }

  .cbt-portal-heading {
    align-items: start;
    flex-direction: column;
  }

  .cbt-coach-command-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .cbt-coach-command-hero > .wp-element-button {
    width: 100%;
  }

  .cbt-coach-tool-grid {
    grid-template-columns: 1fr;
  }

  .cbt-coach-tool-grid a {
    min-height: 0;
  }

  .cbt-onboarding-heading {
    align-items: start;
    flex-direction: column;
  }

  .cbt-onboarding-steps {
    grid-template-columns: 1fr;
  }

  .cbt-onboarding-section {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .cbt-consent-decisions {
    grid-template-columns: 1fr;
  }

  .cbt-onboarding-form .wp-element-button {
    width: 100%;
  }

  .cbt-portal-badge {
    align-self: start;
  }

  .cbt-portal-nav {
    margin-inline: -0.5rem;
  }

  .cbt-attendance-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .cbt-attendance-toolbar .wp-element-button {
    width: 100%;
  }

  .cbt-attendance-card-top {
    align-items: start;
    flex-direction: column-reverse;
  }

  .cbt-attendance-fields {
    grid-template-columns: 1fr;
  }

  .cbt-attendance-card-actions .wp-element-button {
    width: 100%;
  }

  .cbt-schedule-manager-heading {
    flex-direction: column;
  }

  .cbt-event-fields {
    grid-template-columns: 1fr;
  }

  .cbt-event-title,
  .cbt-event-location {
    grid-column: auto;
  }

  .cbt-event-actions .wp-element-button,
  .cbt-event-remove {
    width: 100%;
  }

  .cbt-lineup-builder {
    margin-inline: -0.5rem;
  }

  .cbt-lineup-heading,
  .cbt-batting-panel-heading {
    flex-direction: column;
  }

  .cbt-baseball-field {
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--cbt-orange);
  }

  .cbt-field-slot {
    width: 70px;
    min-height: 42px;
    padding: 0.65rem 0.2rem 0.2rem;
    font-size: 0.6rem;
  }

  .cbt-field-slot > span {
    width: 1.5rem;
    font-size: 0.58rem;
  }

  .cbt-lineup-player {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .cbt-lineup-order-controls {
    grid-column: 1;
    grid-row: 2;
  }

  .cbt-lineup-order-controls button {
    min-width: 0;
    min-height: 40px;
  }

  .cbt-lineup-player > strong {
    grid-column: 2;
    grid-row: 1;
  }

  .cbt-lineup-player > label {
    grid-column: 2;
    grid-row: 2;
  }

  .cbt-lineup-actions .wp-element-button {
    width: 100%;
  }
}

@media (width <= 782px) {
  .admin-bar .cbt-site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.cbt-portal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.cbt-portal-form > label:not(.cbt-consent-choice) {
  display: grid;
  gap: 7px;
}

.cbt-portal-form label > span,
.cbt-consent-choice strong {
  font-weight: 800;
}

.cbt-portal-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--wp--preset--color--ink, #101113);
  border-radius: 0;
  padding: 10px 12px;
  font: inherit;
}

.cbt-consent-choice {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: flex-start;
  border-left: 5px solid var(--wp--preset--color--thunder, #fe5d0c);
  padding: 14px;
  background: #f5f1e8;
}

.cbt-consent-choice input {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.cbt-form-copy {
  font-size: 0.95rem;
}

.cbt-family-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.cbt-family-quick-actions a {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: end;
  border: 2px solid var(--cbt-ink);
  padding: 1rem;
  overflow: hidden;
  background: var(--cbt-white);
  color: var(--cbt-ink);
  text-decoration: none;
  box-shadow: 5px 5px 0 rgb(13 13 14 / 16%);
}

.cbt-family-quick-actions a::after {
  content: "→";
  position: absolute;
  top: 0.45rem;
  right: 0.7rem;
  color: var(--cbt-orange);
  font-size: 2rem;
  font-weight: 900;
}

.cbt-family-quick-actions a:hover {
  border-color: var(--cbt-orange);
  background: var(--cbt-ink);
  color: var(--cbt-white);
}

.cbt-family-quick-actions span {
  position: absolute;
  top: 0.7rem;
  left: 0.9rem;
  color: var(--cbt-orange-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 900;
}

.cbt-family-quick-actions strong,
.cbt-family-quick-actions small {
  display: block;
}

.cbt-family-quick-actions strong {
  font-size: 1.05rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.cbt-family-quick-actions small {
  margin-top: 0.45rem;
  color: #5f5b55;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cbt-family-quick-actions a:hover small {
  color: #ddd7ce;
}

.cbt-family-workspace,
.cbt-family-settings {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.cbt-family-page-header {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-left: 10px solid var(--cbt-orange);
  padding: clamp(1.2rem, 4vw, 2.3rem);
  overflow: hidden;
  background: linear-gradient(120deg, #171719, var(--cbt-ink));
  color: var(--cbt-white);
  box-shadow: 8px 8px 0 rgb(13 13 14 / 15%);
}

.cbt-family-page-header .cbt-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--cbt-orange);
}

.cbt-family-page-header h2 {
  margin: 0;
  color: var(--cbt-white);
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.cbt-family-page-header p:last-child {
  max-width: 60ch;
  margin: 0.75rem 0 0;
  color: #d5d1ca;
}

.cbt-family-page-number {
  color: var(--cbt-orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 950;
  line-height: 0.8;
  opacity: 0.4;
}

.cbt-family-nav {
  position: sticky;
  top: 0.5rem;
  z-index: 5;
}

.admin-bar .cbt-family-nav {
  top: 2.5rem;
}

.cbt-family-tip {
  display: flex;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--cbt-ink);
  border-left: 8px solid var(--cbt-orange);
  padding: 0.9rem 1rem;
  background: var(--cbt-white);
}

.cbt-family-tip strong {
  flex: 0 0 auto;
  text-transform: uppercase;
}

.cbt-family-tip span {
  color: #5f5b55;
}

.cbt-family-event-grid,
.cbt-family-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.cbt-family-event-list:not(.is-expanded) .cbt-family-event-grid > :nth-child(n + 7) {
  display: none;
}

.cbt-family-event-toggle {
  display: flex !important;
  width: fit-content;
  margin: 1.5rem auto 0;
}

.cbt-family-event-card,
.cbt-family-form-card,
.cbt-family-settings-panel {
  min-width: 0;
  border: 1px solid #d6d0c5;
  border-top: 7px solid var(--cbt-orange);
  padding: clamp(1rem, 3vw, 1.6rem);
  background: var(--cbt-white);
  box-shadow: 6px 6px 0 rgb(13 13 14 / 14%);
}

.cbt-family-event-card,
.cbt-family-form-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.cbt-family-event-card h3,
.cbt-family-form-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cbt-family-event-top {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-family-player-chip {
  padding: 0.35rem 0.6rem;
  background: var(--cbt-ink);
  color: var(--cbt-white);
  font-size: 0.75rem;
  font-weight: 900;
}

.cbt-family-event-meta {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  border-left: 4px solid var(--cbt-orange);
  padding-left: 0.8rem;
}

.cbt-family-event-meta span,
.cbt-family-event-meta a {
  color: #5f5b55;
}

.cbt-family-event-card > label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
}

.cbt-family-event-card select,
.cbt-family-event-card textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--cbt-ink);
  border-radius: 0;
  padding: 0.7rem;
  background: var(--cbt-white);
  font: inherit;
}

.cbt-family-event-card select:focus,
.cbt-family-event-card textarea:focus,
.cbt-family-settings-panel input:focus {
  border-color: var(--cbt-orange);
  outline: 3px solid rgb(254 93 12 / 23%);
}

.cbt-family-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cbt-family-card-footer [data-cbt-result],
.cbt-checkin-card [data-cbt-result] {
  margin: 0;
  color: #176b36;
  font-weight: 800;
}

.cbt-checkin-card.is-arrived {
  border-top-color: #19713b;
  background: linear-gradient(135deg, #eff9f1, var(--cbt-white) 45%);
}

.cbt-checkin-card.is-arrived .cbt-checkin-state {
  border-color: #19713b;
  background: #dff4e4;
  color: #176b36;
}

.cbt-family-form-card.needs-action .cbt-status {
  background: #fff0d8;
  color: #955300;
}

.cbt-family-form-card.is-complete {
  border-top-color: #19713b;
}

.cbt-family-complete-message {
  margin: 0;
  border-left: 5px solid #19713b;
  padding: 0.8rem;
  background: #e4f6e9;
  color: #155b31;
  font-weight: 800;
}

.cbt-family-form-card form {
  display: grid;
  gap: 1rem;
}

details.cbt-family-form-card {
  display: block;
  padding: 0;
}

.cbt-family-form-card > summary {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
  cursor: pointer;
  list-style: none;
}

.cbt-family-form-card > summary::-webkit-details-marker {
  display: none;
}

.cbt-family-form-card > summary h3 {
  padding-right: 2.5rem;
}

.cbt-family-form-toggle {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid var(--cbt-ink);
  color: var(--cbt-white);
  background: var(--cbt-ink);
}

.cbt-family-form-toggle::before {
  content: "+";
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.cbt-family-form-card[open] .cbt-family-form-toggle::before {
  content: "−";
}

.cbt-family-form-card[open] > summary {
  border-bottom: 1px solid #d6d0c5;
  background: #fff8f2;
}

.cbt-family-form-body {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.cbt-family-settings .cbt-portal-form {
  grid-template-columns: 1fr;
}

.cbt-family-settings-panel {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.cbt-family-settings-panel legend {
  padding-inline: 0.4rem;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 950;
  text-transform: uppercase;
}

.cbt-family-settings-panel > p {
  margin: 0;
  color: #5f5b55;
}

.cbt-family-settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cbt-family-settings-fields label {
  display: grid;
  gap: 0.4rem;
}

.cbt-family-save-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--cbt-ink);
  padding: 1rem;
  background: var(--cbt-ink);
  color: var(--cbt-white);
}

.cbt-family-save-bar p,
.cbt-family-save-bar strong,
.cbt-family-save-bar span {
  display: block;
  margin: 0;
}

.cbt-family-save-bar span {
  margin-top: 0.2rem;
  color: #cbc6bd;
  font-size: 0.85rem;
}

.cbt-game-day-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.cbt-game-day-stats article {
  display: grid;
  gap: 4px;
  border-bottom: 6px solid var(--wp--preset--color--thunder, #fe5d0c);
  padding: clamp(16px, 4vw, 26px);
  background: #fff;
  box-shadow: 5px 5px 0 rgb(16 17 19 / 14%);
}

.cbt-game-day-stats strong {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
}

.cbt-game-day-stats span {
  font-weight: 800;
  text-transform: uppercase;
}

.cbt-game-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cbt-view-switch {
  display: inline-flex;
  border: 2px solid #101113;
  background: #fff;
}

.cbt-view-switch button {
  min-height: 44px;
  border: 0;
  padding: 8px 16px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cbt-view-switch button.is-active {
  background: #101113;
  color: #fff;
}

.cbt-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cbt-calendar-day {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  border: 2px solid #101113;
  border-top: 7px solid #fe5d0c;
  padding: 16px;
  background: #fff;
  box-shadow: 5px 5px 0 rgb(16 17 19 / 14%);
}

.cbt-calendar-day time {
  display: grid;
  align-content: start;
  text-align: center;
  text-transform: uppercase;
}

.cbt-calendar-day time span,
.cbt-calendar-day time small {
  font-size: 0.75rem;
  font-weight: 900;
}

.cbt-calendar-day time strong {
  font-size: 2.6rem;
  line-height: 1;
}

.cbt-calendar-day h3 {
  margin: 8px 0 4px;
}

.cbt-team-hub {
  --hub-ink: #101113;
  --hub-orange: #fe5d0c;
  --hub-cream: #f7f2e9;
}

body:has(.cbt-team-hub) #main-content > .wp-block-post-title {
  display: none;
}

.cbt-team-hub-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid var(--hub-ink);
  border-bottom: 10px solid var(--hub-orange);
  padding: clamp(24px, 5vw, 46px);
  color: #fff;
  background:
    linear-gradient(110deg, rgb(16 17 19 / 98%), rgb(16 17 19 / 78%)),
    repeating-linear-gradient(
      -24deg,
      transparent 0,
      transparent 24px,
      rgb(254 93 12 / 18%) 25px,
      rgb(254 93 12 / 18%) 27px
    );
  box-shadow: 8px 8px 0 rgb(16 17 19 / 15%);
}

.cbt-team-hub-hero h1 {
  margin: 0.1em 0;
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.9;
}

.cbt-team-hub-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #e9e4db;
}

.cbt-hub-jump-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 24px 0;
  padding: 6px;
  border: 2px solid var(--hub-ink);
  background: var(--hub-ink);
}

.cbt-hub-jump-nav button {
  min-height: 44px;
  border: 0;
  padding: 10px 8px;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
}

.cbt-hub-jump-nav button:hover,
.cbt-hub-jump-nav button:focus-visible,
.cbt-hub-jump-nav button[aria-selected="true"] {
  color: var(--hub-ink);
  background: var(--hub-orange);
}

.cbt-team-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cbt-team-hub.is-tabbed .cbt-team-hub-grid {
  grid-template-columns: minmax(0, 1fr);
}

.cbt-team-hub [data-cbt-hub-panel][hidden] {
  display: none;
}

.cbt-team-hub.is-tabbed .cbt-hub-card {
  grid-column: auto;
  min-height: min(58vh, 680px);
}

.cbt-hub-card {
  scroll-margin-top: 84px;
  border: 2px solid var(--hub-ink);
  border-top: 8px solid var(--hub-orange);
  padding: clamp(20px, 4vw, 32px);
  background: #fff;
  box-shadow: 7px 7px 0 rgb(16 17 19 / 14%);
}

.cbt-hub-card--game,
.cbt-hub-card--fan {
  grid-column: 1 / -1;
}

.cbt-hub-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.cbt-hub-card-heading h3 {
  margin: 0.12em 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.cbt-hub-card-heading > span,
.cbt-live-status {
  flex: 0 0 auto;
  border: 2px solid var(--hub-ink);
  padding: 5px 9px;
  background: var(--hub-cream);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-hub-event-meta {
  margin-top: 4px;
  color: #514c45;
}

.cbt-live-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 4vw, 36px);
  max-width: 760px;
  margin: 28px auto 10px;
  text-align: center;
}

.cbt-live-score div {
  display: grid;
  gap: 4px;
}

.cbt-live-score span {
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-live-score strong {
  color: var(--hub-ink);
  font-size: clamp(4rem, 13vw, 8rem);
  line-height: 0.8;
}

.cbt-live-score b {
  color: var(--hub-orange);
  font-size: 3rem;
}

.cbt-game-situation {
  margin: 18px 0 26px;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-game-day-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin: 0 0 18px;
  border: 2px solid var(--hub-ink);
  background: var(--hub-ink);
}

.cbt-game-day-strip > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px;
  text-align: center;
  background: #fff;
}

.cbt-game-day-strip span {
  color: #6b6359;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbt-game-day-strip strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 3vw, 1.45rem);
}

.cbt-scoreboard-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  border: 2px solid var(--hub-ink);
  padding: 16px;
  background: var(--hub-cream);
}

.cbt-scoreboard-controls label,
.cbt-photo-form label,
.cbt-live-update-form label {
  display: grid;
  gap: 6px;
}

.cbt-scoreboard-controls label > span,
.cbt-photo-form label > span,
.cbt-live-update-form label > span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-scoreboard-controls input,
.cbt-scoreboard-controls select,
.cbt-scoreboard-controls textarea,
.cbt-photo-form input,
.cbt-live-update-form textarea,
.cbt-chat-compose textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--hub-ink);
  padding: 9px;
  font: inherit;
  background: #fff;
}

.cbt-scoreboard-controls .wp-element-button {
  grid-column: 1 / -1;
}

.cbt-scoreboard-notes,
.cbt-game-clock-actions,
.cbt-pitcher-guidance {
  grid-column: 1 / -1;
}

.cbt-game-clock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cbt-game-clock-actions .wp-element-button {
  grid-column: auto;
  flex: 1 1 160px;
}

.cbt-pitcher-guidance {
  min-height: 1.4em;
  margin: 0;
  color: #74320d;
  font-size: 0.83rem;
  font-weight: 800;
}

.cbt-live-update-form,
.cbt-chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.cbt-play-feed {
  margin-top: 24px;
  border-top: 2px solid #d9d2c6;
  padding-top: 18px;
}

.cbt-play-feed article {
  padding: 12px 0;
  border-bottom: 1px solid #ddd5ca;
}

.cbt-play-feed article p {
  margin: 0 0 3px;
}

.cbt-play-feed small {
  color: #625d55;
}

.cbt-chat-room-tabs {
  display: flex;
  gap: 4px;
  margin: 18px 0 10px;
}

.cbt-chat-room-tabs button {
  min-height: 44px;
  border: 2px solid var(--hub-ink);
  padding: 8px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  background: #fff;
}

.cbt-chat-room-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--hub-ink);
}

.cbt-chat-messages {
  max-height: 420px;
  overflow-y: auto;
  border: 2px solid var(--hub-ink);
  padding: 14px;
  background: var(--hub-cream);
}

.cbt-chat-message {
  width: min(88%, 520px);
  margin: 0 0 12px;
  border: 1px solid #bdb5a9;
  padding: 11px 13px;
  background: #fff;
}

.cbt-chat-message.is-mine {
  margin-left: auto;
  border-color: var(--hub-orange);
  background: #fff2ea;
}

.cbt-chat-message > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
}

.cbt-chat-message p {
  margin: 7px 0 0;
  white-space: pre-wrap;
}

.cbt-chat-message button {
  border: 0;
  padding: 5px 0 0;
  color: #605b54;
  font: inherit;
  font-size: 0.7rem;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
}

.cbt-published-lineup {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cbt-published-lineup li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #d9d2c6;
  padding: 9px 0;
}

.cbt-published-lineup li span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--hub-ink);
  font-weight: 900;
}

.cbt-published-lineup li em {
  color: #5d574f;
  font-style: normal;
  font-weight: 900;
}

.cbt-volunteer-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d9d2c6;
  padding: 14px 0;
}

.cbt-volunteer-list p {
  margin: 4px 0 0;
}

.cbt-volunteer-family-note {
  flex: 0 0 auto;
  border: 2px solid var(--hub-ink);
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-photo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.cbt-photo-form .cbt-consent-choice,
.cbt-photo-form .wp-element-button {
  grid-column: 1 / -1;
}

.cbt-photo-statuses {
  margin-top: 24px;
  border-top: 2px solid #d9d2c6;
  padding-top: 12px;
}

.cbt-photo-status-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.cbt-photo-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d9d2c6;
  padding: 8px 0;
}

.cbt-submission-status {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.cbt-submission-status--approved {
  color: #176b36;
}

.cbt-submission-status--rejected {
  color: #9b261d;
}

.cbt-inline-result {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-weight: 800;
}

@media (width <= 640px) {
  .cbt-family-quick-actions,
  .cbt-family-event-grid,
  .cbt-family-form-grid,
  .cbt-family-settings-fields {
    grid-template-columns: 1fr;
  }

  .cbt-family-quick-actions a {
    min-height: 112px;
  }

  .cbt-family-page-number {
    display: none;
  }

  .cbt-family-tip,
  .cbt-family-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .cbt-family-card-footer .wp-element-button,
  .cbt-checkin-actions .wp-element-button,
  .cbt-family-save-bar .wp-element-button {
    width: 100%;
    justify-content: center;
  }

  .cbt-portal-form {
    grid-template-columns: 1fr;
  }

  .cbt-game-day-stats {
    grid-template-columns: 1fr;
  }

  .cbt-calendar-grid {
    grid-template-columns: 1fr;
  }

  .cbt-team-hub-hero {
    align-items: start;
    flex-direction: column;
  }

  .cbt-hub-jump-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: 18px;
  }

  .cbt-hub-jump-nav button {
    min-width: 0;
    padding-inline: 6px;
  }

  .cbt-hub-jump-nav button:last-child {
    grid-column: 1 / -1;
  }

  .cbt-team-hub-grid,
  .cbt-photo-form {
    grid-template-columns: 1fr;
  }

  .cbt-hub-card--game,
  .cbt-hub-card--fan {
    grid-column: auto;
  }

  .cbt-team-hub.is-tabbed .cbt-hub-card {
    min-height: 0;
  }

  .cbt-scoreboard-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbt-live-update-form,
  .cbt-chat-compose {
    grid-template-columns: 1fr;
  }

  .cbt-live-update-form .wp-element-button,
  .cbt-chat-compose .wp-element-button,
  .cbt-photo-form .wp-element-button {
    width: 100%;
  }

  .cbt-volunteer-list article {
    align-items: stretch;
    flex-direction: column;
  }
}

.cbt-readiness-list,
.cbt-consent-stack {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.cbt-family-access-panel {
  margin-top: clamp(24px, 5vw, 42px);
  overflow: hidden;
  border: 2px solid #171717;
  border-top: 8px solid var(--cbt-orange);
  background: #fff;
  box-shadow: 8px 8px 0 rgb(15 15 15 / 12%);
}

.cbt-family-access-panel > header {
  padding: clamp(20px, 4vw, 32px);
  background: linear-gradient(115deg, rgb(255 90 15 / 13%), transparent 58%), #fff;
}

.cbt-family-access-panel > header h3,
.cbt-family-access-panel > header p {
  margin-block: 0 0.45rem;
}

.cbt-family-access-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  border-block: 1px solid #dcd7cf;
  background: #dcd7cf;
}

.cbt-family-access-list article {
  padding: clamp(18px, 3vw, 26px);
  background: #fff;
}

.cbt-family-access-list h4 {
  margin: 0 0 0.75rem;
}

.cbt-family-access-list ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbt-family-access-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid #ded8cf;
  background: #faf8f4;
}

.cbt-family-access-list li > span:first-child {
  display: grid;
  min-width: 0;
}

.cbt-family-access-list li small {
  color: #5d5a55;
  overflow-wrap: anywhere;
}

.cbt-family-access-list li.is-pending {
  border-style: dashed;
  background: #fff6ef;
}

.cbt-guardian-invite .cbt-portal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.25rem;
}

.cbt-guardian-invite .wp-element-button,
.cbt-guardian-invite .cbt-form-submit-help {
  grid-column: 1 / -1;
}

.cbt-readiness-card {
  overflow: hidden;
  border: 2px solid #171717;
  border-top: 8px solid var(--cbt-orange);
  background: #fff;
  box-shadow: 8px 8px 0 rgb(15 15 15 / 12%);
}

.cbt-readiness-card.is-ready {
  border-top-color: #168345;
}

.cbt-readiness-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 4vw, 32px);
  background:
    linear-gradient(115deg, rgb(255 90 15 / 15%), transparent 55%),
    #fff;
}

.cbt-readiness-card-header h3,
.cbt-consent-card h4 {
  margin: 0;
}

.cbt-clearance-badge {
  flex: 0 0 auto;
  border: 2px solid currentcolor;
  border-radius: 999px;
  padding: 7px 11px;
  color: #9d3908;
  background: #fff0e6;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.is-ready .cbt-clearance-badge {
  color: #116c38;
  background: #e6f6ec;
}

.cbt-readiness-status-grid,
.cbt-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid #dcd7cf;
  background: #dcd7cf;
}

.cbt-readiness-status-grid > span,
.cbt-payment-summary > div {
  display: grid;
  gap: 3px;
  padding: 15px clamp(14px, 3vw, 22px);
  color: #6d300d;
  background: #fff5ed;
}

.cbt-readiness-status-grid > span.is-complete {
  color: #116c38;
  background: #eef9f2;
}

.cbt-readiness-status-grid b,
.cbt-payment-summary span {
  color: #111;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cbt-payment-summary strong {
  color: #111;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

.cbt-family-task {
  border-bottom: 1px solid #dcd7cf;
}

.cbt-family-task:last-child {
  border-bottom: 0;
}

.cbt-family-task > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 4vw, 30px);
  cursor: pointer;
  list-style: none;
}

.cbt-family-task > summary::-webkit-details-marker {
  display: none;
}

.cbt-family-task > summary::after {
  content: "+";
  order: 3;
  font-size: 1.5rem;
  font-weight: 900;
}

.cbt-family-task[open] > summary::after {
  content: "−";
}

.cbt-family-task > summary span {
  margin-left: auto;
  color: #666;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cbt-family-task > :not(summary) {
  margin-inline: clamp(18px, 4vw, 30px);
}

.cbt-family-task > :last-child {
  margin-bottom: clamp(20px, 4vw, 32px);
}

.cbt-player-readiness-form {
  align-items: end;
  padding-top: 6px;
}

.cbt-player-readiness-intro {
  grid-column: 1 / -1;
  margin: 0;
  border-left: 5px solid var(--cbt-orange);
  padding: 0.8rem 1rem;
  background: var(--cbt-paper);
  color: #4f4b45;
  line-height: 1.5;
}

.cbt-player-readiness-form small,
[data-cbt-onboarding-jersey-result] {
  display: block;
  min-height: 1.4em;
  margin-top: 5px;
  color: #555;
  font-size: 0.82rem;
}

[data-cbt-family-jersey-result][data-status="available"],
[data-cbt-onboarding-jersey-result][data-status="available"] {
  color: #116c38 !important;
  font-weight: 800;
}

[data-cbt-family-jersey-result][data-status="taken"],
[data-cbt-family-jersey-result][data-status="invalid"],
[data-cbt-onboarding-jersey-result][data-status="taken"],
[data-cbt-onboarding-jersey-result][data-status="invalid"] {
  color: #b52c1d !important;
  font-weight: 800;
}

.cbt-consent-card {
  position: relative;
  border: 1px solid #d5d0c7;
  border-left: 5px solid var(--cbt-orange);
  padding: clamp(18px, 4vw, 26px);
  background: #faf8f3;
}

.cbt-consent-card.is-signed {
  border-left-color: #168345;
  background: #f1faf4;
}

.cbt-consent-card .cbt-status {
  float: right;
  border-radius: 999px;
  padding: 5px 9px;
  color: #116c38;
  background: #dcefe3;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cbt-consent-card fieldset {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  border: 0;
  padding: 0;
}

.cbt-consent-card form,
.cbt-consent-card form > label:not(.cbt-consent-choice) {
  display: grid;
  gap: 10px;
}

.cbt-consent-card form > label:not(.cbt-consent-choice) input {
  width: 100%;
}

.cbt-consent-card .cbt-consent-choice,
.cbt-consent-decisions label {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #d5d0c7;
  padding: 11px 13px;
  background: #fff;
  cursor: pointer;
}

.cbt-onboarding-consent,
.cbt-consent-decisions,
.cbt-consent-decisions label span {
  min-width: 0;
  max-width: 100%;
}

.cbt-onboarding-section > *,
.cbt-form-field {
  min-width: 0;
  max-width: 100%;
}

.cbt-consent-decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cbt-onboarding-consent .cbt-consent-decisions input[type="radio"] {
  box-sizing: border-box;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  max-width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
  margin: 0;
  border: 1px solid var(--cbt-ink);
  padding: 0;
  accent-color: var(--cbt-orange);
}

.cbt-consent-decisions label span {
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.cbt-payment-help {
  max-width: 70ch;
  color: #555;
}

.cbt-payment-history ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cbt-payment-history li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #ddd8cf;
  padding: 11px 0;
}

@media (width >= 901px) {
  /*
   * Registration is a working dashboard, so it needs more room than a
   * standard article. Break it out of the block theme's reading column while
   * keeping a comfortable edge gutter on smaller desktop screens.
   */
  .cbt-family-account {
    position: relative;
    left: 50%;
    box-sizing: border-box;
    width: min(calc(100vw - 4rem), 1180px);
    max-width: 1180px !important;
    min-height: auto;
    transform: translateX(-50%);
  }

  body:has(.cbt-family-account) .wp-block-post-title {
    position: relative;
    left: auto;
    width: min(calc(100vw - 4rem), 1180px);
    max-width: 1180px !important;
    margin: 0 0 1.25rem 50% !important;
    transform: translateX(-50%);
  }

  .cbt-family-account .cbt-family-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    min-height: 260px;
    padding: 2.4rem 2.75rem;
  }

  .cbt-family-account .cbt-family-page-header h2 {
    max-width: 18ch;
    font-size: clamp(2.75rem, 4.1vw, 4rem);
    line-height: 0.96;
  }

  .cbt-family-account .cbt-family-page-header p:last-child {
    max-width: 68ch;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .cbt-family-account .cbt-family-page-number {
    justify-self: end;
    font-size: clamp(4.5rem, 7vw, 6.25rem);
  }

  .cbt-family-account .cbt-family-nav {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.6rem;
    overflow: visible;
  }

  .cbt-family-account .cbt-family-nav a {
    min-height: 54px;
    padding: 0.65rem 0.45rem;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .cbt-family-account .cbt-readiness-card-header {
    padding: 1.75rem 2rem;
  }

  .cbt-family-account .cbt-readiness-status-grid > span {
    min-height: 82px;
    align-content: center;
    padding-inline: 2rem;
  }

  .cbt-family-account .cbt-family-task > summary {
    min-height: 72px;
    padding-inline: 2rem;
  }

  .cbt-family-account .cbt-family-task > :not(summary) {
    margin-inline: 2rem;
  }

  .cbt-family-account .cbt-player-readiness-form {
    gap: 1.25rem;
  }
}

@media (width <= 640px) {
  /*
   * The public schedule is easier to scan as event cards than as a compressed
   * three-column table on a phone.
   */
  .cbt-table-wrap {
    overflow: visible;
  }

  .cbt-table,
  .cbt-table tbody,
  .cbt-table tr,
  .cbt-table td {
    display: block;
    width: 100%;
  }

  .cbt-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .cbt-table tr {
    margin-bottom: 1rem;
    border: 2px solid var(--cbt-ink);
    border-top: 7px solid var(--cbt-orange);
    background: var(--cbt-white);
    box-shadow: 5px 5px 0 rgb(13 13 14 / 14%);
  }

  .cbt-table td {
    display: grid;
    grid-template-columns: minmax(5.25rem, 0.35fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.8rem 0.9rem;
  }

  .cbt-table td::before {
    color: #625d55;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .cbt-table td:nth-child(1)::before {
    content: "Date";
  }

  .cbt-table td:nth-child(2)::before {
    content: "Event";
  }

  .cbt-table td:nth-child(3)::before {
    content: "Location";
  }

  .cbt-table td a {
    overflow-wrap: anywhere;
  }
}

@media (width <= 782px) {
  .admin-bar .cbt-site-header {
    top: 46px;
  }
}

@media (width <= 700px) {
  .cbt-portal-nav,
  .cbt-family-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin-inline: 0;
    padding: 0.45rem;
    position: static;
    overflow: visible;
  }

  .cbt-portal-nav a,
  .cbt-family-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 0.5rem 0.25rem;
    overflow-wrap: anywhere;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .cbt-portal-heading,
  .cbt-family-page-header {
    padding: 1.25rem;
    box-shadow: 5px 5px 0 var(--cbt-orange);
  }

  .cbt-portal-heading h2,
  .cbt-family-page-header h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 9vw, 2.45rem);
    line-height: 0.98;
  }

  .cbt-portal-intro,
  .cbt-family-page-header p:last-child {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .cbt-dashboard-card,
  .cbt-portal-shell .cbt-dashboard-card,
  .cbt-family-event-card,
  .cbt-family-form-card,
  .cbt-family-settings-panel {
    padding: 1rem;
    box-shadow: 4px 4px 0 rgb(13 13 14 / 14%);
  }

  .cbt-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cbt-card-actions a,
  .cbt-dashboard-card .wp-element-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cbt-readiness-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cbt-guardian-invite .cbt-portal-form {
    grid-template-columns: 1fr;
  }

  .cbt-family-access-list li {
    align-items: flex-start;
  }

  .cbt-readiness-status-grid,
  .cbt-payment-summary {
    grid-template-columns: 1fr;
  }

  .cbt-family-task > summary {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .cbt-family-task > summary strong {
    max-width: calc(100% - 40px);
  }

  .cbt-family-task > summary span {
    order: 4;
    width: 100%;
    margin-left: 0;
  }

  .cbt-consent-card .cbt-status {
    float: none;
    width: fit-content;
    margin-bottom: 0.75rem;
  }

  .cbt-payment-history li {
    flex-direction: column;
    gap: 3px;
  }
}

@media (width <= 420px) {
  .cbt-portal-nav a,
  .cbt-family-nav a {
    font-size: 0.65rem;
    padding-inline: 0.3rem;
  }
}

@media print {
  .cbt-site-header,
  .cbt-site-footer,
  .cbt-portal-nav,
  .wp-block-button,
  .cbt-schedule-actions,
  .cbt-schedule-manager {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .cbt-dashboard-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
