:root {
  --red: #f00812;
  --red-hot: #ff363f;
  --red-deep: #9b0009;
  --ink: #06070a;
  --charcoal: #15171d;
  --steel: #68707c;
  --line: #d9dde4;
  --paper: #f4f5f7;
  --white: #ffffff;
  --wood: #b46a35;
  --gold: #f1bb3b;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(6, 7, 10, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 3, 6, 0.68), rgba(2, 3, 6, 0.94) 46%, rgba(2, 3, 6, 0.98)),
    radial-gradient(circle at 74% 18%, rgba(240, 8, 18, 0.26), transparent 28rem),
    radial-gradient(circle at 18% 86%, rgba(241, 187, 59, 0.13), transparent 32rem),
    url("assets/ksbo-hero-bowling-alley-v2.webp") center / cover fixed no-repeat,
    var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 76px;
  padding: 0.45rem clamp(1rem, 4vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.92), rgba(6, 7, 10, 0.82)),
    rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(240, 8, 18, 0.34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.mobile-home-brand,
.site-menu-toggle {
  display: none;
}

.brand {
  display: inline-flex;
}

.brand img {
  width: clamp(150px, 18vw, 230px);
  max-height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: var(--red);
}

.bowler-signin-button {
  align-items: center;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(240, 8, 18, 0.26);
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-left: 0.75rem;
  min-height: 42px;
  padding: 0 0.95rem;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bowler-signin-button:hover {
  background: var(--red-hot);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: calc(86svh - 76px);
  padding: clamp(1.4rem, 4.5vw, 3.2rem) clamp(1rem, 6vw, 5.5rem) clamp(2rem, 6vw, 5rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 7, 10, 0.88), rgba(6, 7, 10, 0.46) 48%, rgba(6, 7, 10, 0.18)),
    url("assets/ksbo-hero-bowling-alley-v2.webp") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.32), transparent 44%, rgba(6, 7, 10, 0.88)),
    radial-gradient(circle at 74% 66%, rgba(240, 8, 18, 0.24), transparent 22rem);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-puzzle-logo {
  display: block;
  width: min(40rem, 74vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(240, 8, 18, 0.2);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Impact, "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(7rem, 19vw, 15rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.hero-lede {
  display: grid;
  gap: 0.28rem;
  max-width: 47rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-lede span {
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.hero-lede strong {
  color: var(--red-hot);
  font-size: clamp(1.45rem, 3.4vw, 2.8rem);
  font-style: italic;
  line-height: 0.96;
  text-shadow: 0 0 22px rgba(240, 8, 18, 0.38);
}

.hero-lede em {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  font-style: normal;
  line-height: 1.55;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 34px rgba(240, 8, 18, 0.3);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 620px);
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-status div {
  display: grid;
  gap: 0.2rem;
  min-height: 76px;
  padding: 1rem;
  background: rgba(6, 7, 10, 0.58);
}

.hero-status span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.option-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  overflow: visible;
  padding: 0 clamp(1rem, 5vw, 4.5rem);
  background: var(--ink);
}

.option-bar a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.58rem;
  min-width: 0;
  min-height: 64px;
  padding: 0.72rem 0.82rem;
  color: var(--white);
  background: #111218;
  font-size: clamp(0.68rem, 0.74vw, 0.86rem);
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.option-bar span {
  color: var(--red-hot);
}

.event-section,
.scoreboard,
.home-sponsors,
.join-section {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 5vw, 4.5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 0.72fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 0.8fr);
}

.event-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  align-items: start;
}

.section-heading p:last-child,
.join-section p {
  color: rgba(255, 255, 255, 0.72);
}

.event-stage {
  display: grid;
  grid-template-columns: minmax(18rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.next-event,
.event-card,
.leaderboard,
.winner-screen,
.pulse-screen,
.join-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 38px rgba(6, 7, 10, 0.08);
}

.next-event {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 7, 10, 0.96), rgba(6, 7, 10, 0.7)),
    url("assets/ksbo-hero-bowling-alley-v2.webp") center / cover no-repeat;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  color: var(--white);
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.next-event dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.3rem 0 0;
}

.next-event dl div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.next-event dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.next-event dd {
  margin: 0;
  font-weight: 900;
}

.event-list {
  display: grid;
  gap: 0.75rem;
}

.event-card {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem;
  background:
    linear-gradient(180deg, rgba(28, 29, 35, 0.88), rgba(7, 8, 12, 0.94)),
    radial-gradient(circle at 88% 0%, rgba(240, 8, 18, 0.1), transparent 18rem);
  border-color: rgba(240, 8, 18, 0.38);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 4.4rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-date strong {
  color: var(--red-hot);
  font-size: 1.45rem;
}

.event-card h4 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  text-transform: uppercase;
}

.event-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.event-card.live-empty {
  grid-template-columns: 4.8rem minmax(0, 1fr) auto;
}

.event-card.live-empty .status-pill {
  text-decoration: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.65rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--red);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.soon {
  color: var(--ink);
  background: var(--gold);
}

.scoreboard {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.96), rgba(6, 7, 10, 0.92)),
    url("assets/ksbo-hero-bowling-alley-v2.webp") center / cover fixed no-repeat;
}

.scoreboard-heading {
  max-width: 62rem;
  margin-bottom: 1.5rem;
}

.score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr) minmax(16rem, 0.72fr);
  gap: 1rem;
}

.leaderboard,
.winner-screen,
.pulse-screen {
  overflow: hidden;
  background: rgba(17, 18, 24, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--white);
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standing-head,
.standing-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 4rem 5rem;
  gap: 0.65rem;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
}

.leaderboard-division + .leaderboard-division {
  border-top: 2px solid rgba(255, 255, 255, 0.16);
}

.leaderboard-division-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding: 0 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leaderboard-division-title span {
  color: var(--red-hot);
  font-size: 0.68rem;
}

.standing-head {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.standing-row {
  min-height: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.standing-row.live-empty {
  grid-template-columns: 1fr;
  color: rgba(255, 255, 255, 0.72);
}

.standing-row strong {
  text-transform: uppercase;
}

.standing-head span:nth-child(3),
.standing-head span:nth-child(4),
.standing-row span:nth-child(3),
.standing-row span:nth-child(4) {
  text-align: right;
}

.winner-body {
  display: grid;
  gap: 1.15rem;
  padding: 1.25rem;
}

.champion-divisions,
.champion-photos:not([hidden]) {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

.score-grid:has([data-champion-photos]:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.score-grid:has([data-champion-photos]:not([hidden])) .leaderboard {
  grid-row: span 2;
}

.score-grid:has([data-champion-photos]:not([hidden])) .pulse-screen {
  grid-column: 2;
}

.winner-body:has([data-champion-photos]:not([hidden])) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
}

.home-champion-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--ink);
}

.home-champion-photo img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
}

.home-champion-photo figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-champion-photo figcaption span {
  display: block;
  margin-top: 0.2rem;
  color: var(--gold);
}

.home-champion-photo a:focus-visible {
  display: block;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.winner-body:has([data-champion-photos]:not([hidden])) .champion-division {
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.7rem;
}

.winner-body:has([data-champion-photos]:not([hidden])) .winner-medal {
  width: 3rem;
  font-size: 1.1rem;
}

.winner-body:has([data-champion-photos]:not([hidden])) h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  overflow-wrap: anywhere;
}

.champion-division {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr);
  gap: 1.05rem;
  align-items: center;
  min-height: 8.2rem;
}

.champion-division + .champion-division {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.champion-division-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--red-hot);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.winner-medal {
  display: grid;
  place-items: center;
  width: 5.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--gold);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.34), transparent 1.8rem),
    linear-gradient(145deg, var(--red), var(--ink));
  font-size: 1.85rem;
  font-weight: 950;
}

.winner-body h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
  line-height: 0.95;
}

.winner-body p {
  font-size: 0.96rem;
  line-height: 1.35;
}

.winner-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-grid div {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-grid div:nth-child(even) {
  border-right: 0;
}

.pulse-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pulse-grid strong {
  color: var(--red-hot);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.home-sponsors {
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.86), rgba(6, 7, 10, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(240, 8, 18, 0.24), transparent 34rem);
  border-block: 1px solid rgba(240, 8, 18, 0.28);
}

.sponsor-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  align-items: start;
}

.sponsor-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.05rem);
}

.sponsor-logo-slot {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  min-height: clamp(4.7rem, 7vw, 6.15rem);
  padding: 0.35rem 0.5rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--white);
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.sponsor-logo-slot.feature-slot {
  grid-column: span 2;
}

.sponsor-logo-slot.has-logo,
.sponsor-logo-slot.has-logo.feature-slot {
  grid-column: auto;
  min-height: clamp(4rem, 6vw, 5.25rem);
  padding: 0.2rem 0.35rem;
}

.sponsor-logo-slot span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sponsor-logo-slot strong {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.sponsor-logo-slot img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 14.5rem);
  max-height: clamp(2.8rem, 4.4vw, 4.15rem);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
}

.sponsor-logo-slot.feature-slot img {
  max-width: min(100%, 16.5rem);
  max-height: clamp(3rem, 4.9vw, 4.55rem);
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 27rem);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  margin: clamp(2rem, 4vw, 4rem) clamp(1rem, 5vw, 4.5rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(90deg, rgba(6, 7, 10, 0.94), rgba(6, 7, 10, 0.72)),
    url("assets/ksbo-hero-bowling-alley-v2.webp") center / cover no-repeat;
  border-color: rgba(240, 8, 18, 0.38);
  backdrop-filter: blur(10px);
}

.signup-form {
  display: grid;
  gap: 0.8rem;
}

.signup-form .button {
  width: max-content;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 4.5rem);
  color: var(--white);
  background: var(--ink);
}

.site-footer img {
  width: min(180px, 42vw);
  padding: 0.35rem;
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer span {
  font-weight: 900;
}

.site-footer a {
  color: var(--red-hot);
  font-weight: 950;
  text-transform: uppercase;
}

.admin-shortcut-row {
  display: flex;
  justify-content: flex-end;
  margin: 1rem clamp(1rem, 5vw, 4.5rem) 1.35rem auto;
}

.admin-shortcut {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 44px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 49, 58, 0.96), rgba(176, 0, 11, 0.96)),
    var(--red);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.admin-shortcut:hover,
.admin-shortcut:focus-visible {
  transform: translateY(-1px);
  outline: 0;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.18);
}

.admin-shortcut svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 1180px) {
  .event-stage,
  .score-grid,
  .score-grid:has([data-champion-photos]:not([hidden])),
  .join-section {
    grid-template-columns: 1fr;
  }
  .score-grid:has([data-champion-photos]:not([hidden])) .leaderboard {
    grid-row: auto;
  }
  .score-grid:has([data-champion-photos]:not([hidden])) .pulse-screen {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .winner-body:has([data-champion-photos]:not([hidden])) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    justify-content: flex-start;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .site-nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .bowler-signin-button {
    margin-left: 0;
  }

  .hero {
    align-items: start;
    min-height: 0;
    padding-top: 0.85rem;
    background-position: 64% center;
  }

  .hero-puzzle-logo {
    width: min(100%, 30rem);
  }

  h1 {
    font-size: clamp(5.2rem, 28vw, 8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-status {
    grid-template-columns: 1fr;
  }

  .option-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1px;
    overflow-x: visible !important;
    padding-inline: 0.55rem;
    width: 100%;
  }

  .option-bar a {
    display: flex;
    justify-content: flex-start;
    gap: 0.55rem;
    width: 100%;
    min-width: 0 !important;
    min-height: 3.35rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    line-height: 1.1;
    text-align: left;
    white-space: normal;
  }

  .option-bar span {
    font-size: 0.62rem;
  }

  .event-section,
  .scoreboard,
  .home-sponsors,
  .join-section {
    padding-inline: 0.75rem;
  }

  .section-heading,
  .section-heading.compact {
    grid-template-columns: 1fr;
  }

  .event-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .status-pill {
    width: max-content;
  }

  .standing-head,
  .standing-row {
    grid-template-columns: 2.2rem minmax(7.4rem, 1fr) 3.2rem 4.2rem;
    gap: 0.35rem;
    padding-inline: 0.5rem;
    font-size: 0.82rem;
  }

  .champion-division {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    min-height: 7rem;
  }

  .sponsor-logo-wall {
    grid-template-columns: repeat(auto-fit, minmax(min(8.2rem, 100%), 1fr));
    gap: 0.5rem;
  }

  .sponsor-logo-slot,
  .sponsor-logo-slot.has-logo {
    min-height: 3.35rem;
    padding: 0.18rem 0.25rem;
  }

  .sponsor-logo-slot.feature-slot {
    grid-column: span 2;
  }

  .sponsor-logo-slot.has-logo.feature-slot {
    grid-column: auto;
  }

  .sponsor-logo-slot img,
  .sponsor-logo-slot.feature-slot img {
    max-height: 2.35rem;
    max-width: min(100%, 8.2rem);
  }

  .winner-medal {
    width: 4.6rem;
    font-size: 1.45rem;
  }

  .winner-body h3 {
    font-size: clamp(1.45rem, 9vw, 2.2rem);
  }

  .join-section {
    margin-inline: 0.75rem;
  }

  .site-footer {
    align-items: flex-start;
  }

  .admin-shortcut-row {
    margin: 0.85rem 0.75rem 1rem auto;
  }

  .admin-shortcut {
    min-height: 42px;
    padding: 0.65rem 0.78rem;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    background-attachment: scroll;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-height: 60px;
    padding: 0.5rem 0.75rem;
  }

  .mobile-home-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    color: white;
    font-size: 0.98rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-home-brand span {
    margin-left: 0.3rem;
    color: var(--red-hot);
  }

  .site-menu-toggle {
    display: inline-flex;
    gap: 0.48rem;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    padding: 0.55rem 0.75rem;
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .site-menu-toggle-icon,
  .site-menu-toggle-icon::before,
  .site-menu-toggle-icon::after {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-menu-toggle-icon {
    position: relative;
  }

  .site-menu-toggle-icon::before,
  .site-menu-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-menu-toggle-icon::before {
    top: -0.32rem;
  }

  .site-menu-toggle-icon::after {
    top: 0.32rem;
  }

  .site-menu-open .site-menu-toggle-icon {
    background: transparent;
  }

  .site-menu-open .site-menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-menu-open .site-menu-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav,
  .bowler-signin-button {
    display: none;
  }

  .site-menu-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    max-width: none;
    overflow: visible;
  }

  .site-menu-open .site-nav a {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    padding: 0.55rem 0.45rem;
    text-align: center;
  }

  .site-menu-open .bowler-signin-button {
    display: inline-flex;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    justify-content: center;
    margin: 0;
  }

  .hero {
    min-height: calc(100svh - 60px);
    padding-inline: 0.75rem;
  }

  .hero-content {
    width: 100%;
  }

  .hero-lede {
    font-size: 0.92rem;
  }

  .hero-status {
    width: calc(100% - 1.5rem);
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .standing-head,
  .standing-row {
    grid-template-columns: 1.9rem minmax(6rem, 1fr) 2.7rem 3.45rem;
    gap: 0.2rem;
    padding-inline: 0.35rem;
  }

  .event-section,
  .scoreboard,
  .home-sponsors,
  .join-section {
    padding-inline: 0.6rem;
  }

  .event-card,
  .leader-card,
  .champion-card,
  .average-card,
  .sponsor-logo-slot,
  .join-section {
    min-width: 0;
  }

  .site-footer {
    width: 100%;
    padding-inline: 0.75rem;
    overflow: hidden;
  }

  .site-footer a {
    justify-self: start;
  }

  .button,
  .bowler-signin-button,
  .site-nav a {
    touch-action: manipulation;
  }
}

/* Compact mobile rhythm: content begins sooner and related items stay together. */
@media (max-width: 640px) {
  .site-header {
    min-height: 56px;
    padding: 0.35rem 0.65rem;
  }

  .hero {
    min-height: 0;
    padding: 0.85rem 0.65rem 0.9rem;
    background-position: 64% center;
  }

  .hero-puzzle-logo {
    width: min(100%, 27rem);
    margin-bottom: 0.65rem;
  }

  .hero-lede {
    gap: 0.18rem;
    margin-bottom: 0;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 0.65rem;
  }

  .hero-status div {
    min-width: 0;
    min-height: 0;
    padding: 0.65rem;
  }

  .hero-status span {
    font-size: 0.62rem;
  }

  .hero-status strong {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .option-bar {
    grid-template-columns: 1fr !important;
    padding-inline: 0.45rem;
  }

  .option-bar a {
    min-height: 2.7rem;
    padding: 0.45rem 0.58rem;
    font-size: 0.68rem;
    line-height: 1.08;
  }

  .event-section,
  .scoreboard,
  .home-sponsors {
    padding: 0.95rem 0.6rem;
  }

  .join-section {
    gap: 0.75rem;
    margin: 0.75rem 0.6rem;
    padding: 0.85rem;
  }

  .section-heading {
    gap: 0.55rem;
    margin-bottom: 0.7rem;
  }

  .section-heading .eyebrow {
    margin-bottom: 0.3rem;
  }

  h2 {
    margin-bottom: 0.55rem;
  }

  .event-stage,
  .score-grid {
    gap: 0.65rem;
  }

  .site-footer {
    gap: 0.65rem;
    padding: 0.8rem 0.75rem;
  }

  .admin-shortcut-row {
    margin: 0.55rem 0.6rem 0.75rem auto;
  }
}

/* Final homepage mobile/tablet compression: keep all first-screen content together. */
@media (max-width: 900px) {
  .hero {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0.85rem 0.75rem 0.7rem !important;
    background-position: 58% 42% !important;
    background-size: cover !important;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(6, 7, 10, 0.86), rgba(6, 7, 10, 0.54) 52%, rgba(6, 7, 10, 0.84)) !important;
  }

  .hero-content {
    display: grid !important;
    gap: 0.42rem !important;
    max-width: 100% !important;
  }

  .hero-puzzle-logo {
    width: min(100%, 30rem) !important;
    max-height: 10.6rem !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  .hero-lede {
    gap: 0.15rem !important;
    margin: 0 !important;
  }

  .hero-lede span {
    font-size: clamp(0.76rem, 2.8vw, 1rem) !important;
  }

  .hero-lede strong {
    font-size: clamp(1.16rem, 5.3vw, 1.82rem) !important;
    max-width: 42rem !important;
  }

  .hero-lede em {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .hero-status {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 0.55rem 0 0 !important;
  }

  .hero-status div {
    min-height: 0 !important;
    padding: 0.55rem 0.65rem !important;
  }

  .option-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0.35rem 0.45rem !important;
    gap: 0 !important;
  }

  .option-bar a {
    min-width: 0 !important;
    min-height: 2.7rem !important;
    padding: 0.44rem 0.55rem !important;
    font-size: clamp(0.58rem, 1.8vw, 0.76rem) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0.62rem 0.65rem 0.58rem !important;
  }

  .hero-puzzle-logo {
    width: 100% !important;
    max-height: 8.5rem !important;
  }

  .hero-lede span {
    font-size: 0.68rem !important;
  }

  .hero-lede strong {
    font-size: clamp(1rem, 5.6vw, 1.34rem) !important;
    line-height: 0.98 !important;
  }

  .hero-lede em {
    font-size: 0.66rem !important;
  }

  .hero-status {
    gap: 0 !important;
    margin-top: 0.45rem !important;
  }

  .hero-status div {
    padding: 0.44rem 0.5rem !important;
  }

  .hero-status span {
    font-size: 0.5rem !important;
  }

  .hero-status strong {
    font-size: 0.7rem !important;
  }

  .option-bar {
    grid-template-columns: 1fr !important;
    padding-block: 0.32rem !important;
  }

  .option-bar a {
    min-height: 2.25rem !important;
    padding: 0.34rem 0.45rem !important;
    font-size: 0.62rem !important;
  }

  .event-section {
    padding-top: 0.65rem !important;
  }
}

/* Homepage-only mobile lock: prevents older full-screen hero rules from stretching the first view. */
@media (max-width: 900px) {
  body[data-page="home"] main {
    overflow: visible !important;
  }

  body[data-page="home"] .hero {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    gap: 0.5rem !important;
    align-content: start !important;
    padding: 0.7rem 0.7rem 0.65rem !important;
  }

  body[data-page="home"] .hero-content {
    gap: 0.34rem !important;
  }

  body[data-page="home"] .hero-puzzle-logo {
    width: min(100%, 27rem) !important;
    max-height: 9.25rem !important;
  }

  body[data-page="home"] .hero-lede {
    max-width: 100% !important;
  }

  body[data-page="home"] .hero-lede strong {
    max-width: 24rem !important;
  }

  body[data-page="home"] .hero-status {
    align-self: start !important;
    margin-top: 0.28rem !important;
  }

  body[data-page="home"] .option-bar {
    margin: 0 !important;
  }

  body[data-page="home"] .event-section {
    padding-top: 0.7rem !important;
  }

  body[data-page="home"] .event-section h2 {
    max-width: 100% !important;
    font-size: clamp(1.95rem, 8.2vw, 3.2rem) !important;
    line-height: 0.94 !important;
  }

  body[data-page="home"] .event-section h2 span {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero {
    padding: 0.54rem 0.58rem 0.5rem !important;
  }

  body[data-page="home"] .hero-puzzle-logo {
    max-height: 7.8rem !important;
  }

  body[data-page="home"] .hero-lede strong {
    max-width: 20rem !important;
  }

  body[data-page="home"] .option-bar {
    grid-template-columns: 1fr !important;
    padding: 0.24rem 0.42rem !important;
  }

  body[data-page="home"] .option-bar a {
    min-height: 2.05rem !important;
    padding: 0.28rem 0.45rem !important;
  }

  body[data-page="home"] .event-section h2 {
    font-size: clamp(1.78rem, 8.6vw, 2.35rem) !important;
  }

  body[data-page="home"] .event-section h2 span {
    display: block;
  }
}

/* Definitive mobile homepage layout. Keep the hero compact and remove sideways tile scrolling. */
@media (max-width: 900px) {
  body[data-page="home"] {
    overflow-x: hidden !important;
  }

  body[data-page="home"] .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 54px !important;
    padding: 0.38rem 0.62rem !important;
  }

  body[data-page="home"] .mobile-home-brand {
    display: inline-flex !important;
  }

  body[data-page="home"] .site-menu-toggle {
    display: inline-flex !important;
  }

  body[data-page="home"] .site-nav,
  body[data-page="home"] .bowler-signin-button {
    display: none !important;
  }

  body[data-page="home"] .site-header.site-menu-open .site-nav {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.34rem !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body[data-page="home"] .site-header.site-menu-open .site-nav a,
  body[data-page="home"] .site-header.site-menu-open .bowler-signin-button {
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0.52rem 0.45rem !important;
    text-align: center !important;
  }

  body[data-page="home"] .site-header.site-menu-open .bowler-signin-button {
    display: inline-flex !important;
    grid-column: 1 / -1 !important;
  }

  body[data-page="home"] .hero {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0.65rem 0.62rem 0.58rem !important;
    background-position: 67% 48% !important;
  }

  body[data-page="home"] .hero-content {
    display: grid !important;
    gap: 0.34rem !important;
    width: 100% !important;
    max-width: none !important;
  }

  body[data-page="home"] .hero-puzzle-logo {
    width: min(100%, 25rem) !important;
    max-height: 8.2rem !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  body[data-page="home"] .hero-lede {
    gap: 0.12rem !important;
    margin: 0 !important;
  }

  body[data-page="home"] .hero-lede span {
    font-size: 0.7rem !important;
    line-height: 1.05 !important;
  }

  body[data-page="home"] .hero-lede strong {
    max-width: 22rem !important;
    font-size: clamp(1.08rem, 5.4vw, 1.55rem) !important;
    line-height: 0.98 !important;
  }

  body[data-page="home"] .hero-lede em {
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
  }

  body[data-page="home"] .hero-status {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 0.46rem 0 0 !important;
  }

  body[data-page="home"] .hero-status div {
    min-height: 0 !important;
    padding: 0.48rem 0.55rem !important;
  }

  body[data-page="home"] .hero-status span {
    font-size: 0.52rem !important;
  }

  body[data-page="home"] .hero-status strong {
    font-size: 0.74rem !important;
    line-height: 1.15 !important;
  }

  body[data-page="home"] .option-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0.35rem 0.5rem !important;
    margin: 0 !important;
  }

  body[data-page="home"] .option-bar a {
    justify-content: flex-start !important;
    min-width: 0 !important;
    min-height: 2.18rem !important;
    padding: 0.34rem 0.55rem !important;
    font-size: 0.72rem !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  body[data-page="home"] .option-bar span {
    width: 1.35rem !important;
    font-size: 0.62rem !important;
  }

  body[data-page="home"] .event-section,
  body[data-page="home"] .scoreboard,
  body[data-page="home"] .home-sponsors {
    padding: 0.85rem 0.62rem !important;
  }

  body[data-page="home"] .section-heading {
    gap: 0.4rem !important;
    margin-bottom: 0.55rem !important;
  }

  body[data-page="home"] .event-section h2 {
    margin-bottom: 0.5rem !important;
    font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
    line-height: 0.94 !important;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero {
    background-size: auto 100% !important;
    background-position: 68% center !important;
  }

  body[data-page="home"] .hero-puzzle-logo {
    max-height: 7.25rem !important;
  }

  body[data-page="home"] .hero-lede strong {
    max-width: 20rem !important;
    font-size: clamp(1rem, 5.1vw, 1.28rem) !important;
  }

  body[data-page="home"] .hero-status {
    margin-top: 0.32rem !important;
  }

  body[data-page="home"] .option-bar {
    padding: 0.28rem 0.45rem !important;
  }

  body[data-page="home"] .option-bar a {
    min-height: 1.95rem !important;
    padding: 0.28rem 0.5rem !important;
  }
}

/* Mobile homepage spacing reset: keep the hero and numbered tiles together. */
@media (max-width: 980px) {
  body[data-page="home"],
  body[data-page="home"] main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .site-header {
    min-height: 52px !important;
    padding: 0.35rem 0.6rem !important;
  }

  body[data-page="home"] .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.4rem !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0.55rem 0.62rem 0.46rem !important;
    background-size: cover !important;
    background-position: 66% 38% !important;
  }

  body[data-page="home"] .hero-content {
    display: grid !important;
    gap: 0.28rem !important;
    width: 100% !important;
    max-width: none !important;
  }

  body[data-page="home"] .hero-puzzle-logo {
    width: min(100%, 24rem) !important;
    max-height: 7.2rem !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  body[data-page="home"] .hero-lede {
    gap: 0.08rem !important;
    margin: 0 !important;
  }

  body[data-page="home"] .hero-lede span {
    font-size: 0.72rem !important;
    line-height: 1.05 !important;
  }

  body[data-page="home"] .hero-lede strong {
    max-width: min(100%, 21.5rem) !important;
    font-size: clamp(1.02rem, 5.2vw, 1.42rem) !important;
    line-height: 0.96 !important;
  }

  body[data-page="home"] .hero-lede em {
    font-size: 0.64rem !important;
    line-height: 1.05 !important;
  }

  body[data-page="home"] .hero-status {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0.2rem 0 0 !important;
  }

  body[data-page="home"] .hero-status div {
    min-height: 0 !important;
    padding: 0.42rem 0.5rem !important;
  }

  body[data-page="home"] .hero-status span {
    font-size: 0.5rem !important;
    line-height: 1 !important;
  }

  body[data-page="home"] .hero-status strong {
    font-size: 0.72rem !important;
    line-height: 1.05 !important;
  }

  body[data-page="home"] .option-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0.28rem 0.48rem !important;
    margin: 0 !important;
  }

  body[data-page="home"] .option-bar a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 1.9rem !important;
    padding: 0.26rem 0.48rem !important;
    font-size: 0.66rem !important;
    line-height: 1.06 !important;
    white-space: normal !important;
  }

  body[data-page="home"] .option-bar span {
    flex: 0 0 1.28rem !important;
    width: 1.28rem !important;
    font-size: 0.58rem !important;
  }

  body[data-page="home"] .event-section {
    padding-top: 0.62rem !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .hero-puzzle-logo {
    max-height: 6.75rem !important;
  }

  body[data-page="home"] .hero-lede strong {
    font-size: clamp(0.96rem, 5vw, 1.22rem) !important;
  }

  body[data-page="home"] .option-bar a {
    min-height: 1.78rem !important;
    font-size: 0.62rem !important;
  }
}
/* Preserve the puzzle logo's native proportions on mobile. */
@media (max-width: 980px) {
  body[data-page="home"] .hero-puzzle-logo {
    aspect-ratio: auto !important;
    height: auto !important;
    max-height: none !important;
    width: min(100%, 24rem) !important;
    object-fit: contain !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .hero-puzzle-logo {
    width: min(100%, 21.5rem) !important;
  }
}
