.spp-glass:not(.spp-display) main > .league-brand {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
}

.league-brand-motion,
.league-brand-footer a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.league-brand-motion img,
.league-brand-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.spp-glass:not(.spp-display) main > .league-brand img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.spp-glass:not(.spp-display) main > .league-brand-footer {
  margin-top: 16px;
  margin-bottom: calc(72px + env(safe-area-inset-bottom));
}

dialog > .league-brand-motion { margin-bottom: 12px; }
dialog > .league-brand-footer { margin-top: 16px; }

.spp-timing-display main {
  grid-template-rows: auto auto minmax(0,1fr) auto;
}

.spp-timing-display main header::before {
  content: none;
}

.spp-timing-display main header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071728ed 0%, #071728d9 36%, #07172835 73%, #07172890 100%);
}

.spp-timing-display header .league-brand-motion {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 0;
  pointer-events: none;
}

.spp-timing-display header .league-brand-motion img {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: none;
  box-shadow: none;
}

.spp-timing-display #fullscreen {
  background: #0b1d2fe8;
  color: #f1f7ff;
}

.spp-timing-display #rows,
.spp-timing-display #empty { grid-row: 3; grid-column: 1; }

.spp-timing-display .league-display-footer {
  grid-row: 4;
  grid-column: 1;
  box-sizing: border-box;
  min-width: 0;
  height: min(16vh,178px);
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: clamp(8px,1.7vw,28px);
  padding: clamp(5px,1vh,12px) clamp(8px,1.4vw,24px);
  border: 1px solid #36506b;
  border-radius: 14px;
  background: linear-gradient(105deg,#172e47,#122337 65%,#182d43);
}

.league-footer-poster img {
  width: auto;
  height: min(13.6vh,154px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.league-footer-poster { overflow: hidden; border-radius: 12px; }

.league-footer-signup {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(8px,1.6vw,24px);
}

.league-footer-copy {
  display: grid;
  gap: .35em;
  justify-items: center;
  line-height: 1.25;
}

.league-footer-copy span {
  color: #e0ebf4;
  font-size: clamp(.62rem,1.45vmin,.88rem);
}

.league-footer-qr img {
  width: min(13.6vh,154px);
  height: auto;
  border-radius: 6px;
}

@media (max-width: 540px) {
  .league-footer-poster img { width: min(31vw,185px); height: auto; }
  .league-footer-qr img { width: min(19vw,13.6vh); }
}
