:root {
  --ink: #151515;
  --muted: #666666;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --accent: #7a1fd1;
  --pick: #570f8c;
  --occurred: #c4911c;
  --correct: #c4911c;
  --accent-ink: #ffffff;
  --success: #1f7a4d;
  --waiting: #0f6b3d;
  --incorrect: #7a7a7a;
  --danger: #9f2f2f;
  --bingo-site-header-offset: 66px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.bingo-storefront {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fbfaf7;
  padding-top: var(--bingo-site-header-offset);
}

.bingo-site-header,
.bingo-site-footer {
  background: #8300E3;
  color: #ffffff;
}

.bingo-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  box-shadow: 0 8px 22px rgba(60, 0, 110, 0.16);
}

.bingo-site-header-inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(1600px, calc(100vw - 64px));
  min-height: 66px;
  margin: 0 auto;
}

.bingo-site-logo {
  flex: 0 0 auto;
  justify-self: start;
  width: clamp(138px, 16vw, 220px);
  height: auto;
  aspect-ratio: 279 / 50;
  object-fit: contain;
  display: block;
}

.bingo-site-logo-link {
  display: block;
  justify-self: start;
  line-height: 0;
}

.bingo-site-title {
  justify-self: center;
  min-width: 0;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.bingo-site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}

.bingo-site-tabs {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.bingo-site-tab {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 0 14px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.bingo-site-tab:hover,
.bingo-site-tab:focus-visible {
  outline: none;
  color: #ffffff;
  transform: translateY(-1px);
}

.bingo-site-tab.is-active {
  background: #ffffff;
  color: #8300E3;
}

.bingo-site-language {
  display: flex;
  justify-content: flex-end;
}

.bingo-site-language .cell-language-toggle {
  width: 126px;
}

.bingo-site-footer {
  margin-top: auto;
}

.bingo-site-footer-inner {
  width: min(1240px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  grid-template-rows: auto auto auto;
  align-items: end;
  gap: 16px 40px;
  margin: 0 auto;
  padding: 34px 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.bingo-site-footer-left {
  display: contents;
}

.bingo-site-footer-right {
  display: contents;
}

.bingo-site-footer-logo {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: block;
  width: clamp(192px, 17vw, 252px);
  aspect-ratio: 279 / 50;
  height: auto;
  object-fit: contain;
}

.bingo-site-footer-meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bingo-site-footer-socials {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 6px;
}

.bingo-site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.bingo-site-footer a:hover,
.bingo-site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bingo-site-footer-contact {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
}

.bingo-site-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 18px;
  padding: 0;
  line-height: 1;
  transition: opacity 160ms ease, transform 160ms ease;
}

.bingo-site-footer-social-link:hover,
.bingo-site-footer-social-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
}

.footer-social-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.footer-social-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social-icon-cutout {
  fill: #8300e3;
}

.bingo-shell {
  position: relative;
  width: min(1120px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.bingo-shell[data-page-panel="bingo"] {
  padding-top: 0;
}

[data-page-panel][hidden] {
  display: none;
}

.support-shell {
  display: grid;
  gap: 22px;
}

.support-hero {
  padding-top: 10px;
}

.support-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
}

.support-block {
  display: grid;
  gap: 18px;
  background: transparent;
  color: var(--ink);
  padding: 20px 0;
}

.bingo-panel,
.admin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.bingo-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100vw - 16px);
  max-width: calc(100vw - 16px);
  min-width: 0;
  box-sizing: border-box;
  min-height: 0;
  margin: 0 calc(50% - 50vw + 8px) 44px;
  overflow-x: clip;
  padding: 0;
  text-align: center;
}

.bingo-hero[hidden] {
  display: none;
}

.bingo-hero.bingo-hero--empty {
  height: 30px;
  margin-bottom: 0;
}

.lottery-status-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  margin: 0 0 28px;
  border: 1px solid #b9d9c8;
  border-left: 4px solid #168f55;
  border-radius: 6px;
  background: #f3faf6;
  padding: 16px 18px;
}

.lottery-status-notice.is-login-required {
  border-color: #ead7a0;
  border-left-color: #a87408;
  background: #fffaf0;
}

.lottery-status-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lottery-status-copy strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.lottery-status-copy span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.lottery-login-button {
  flex: 0 0 auto;
}

.bingo-event-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
}

.bingo-message h1,
.admin-main h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.bingo-title-lockup {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
}

.bingo-title-row {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.ewc-bingo-title {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(44px, 7.2vw, 84px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.08em;
  -webkit-text-stroke: 0;
  text-shadow:
    -3px -3px 0 #111111,
    0 -3px 0 #111111,
    3px -3px 0 #111111,
    -3px 0 0 #111111,
    3px 0 0 #111111,
    -3px 3px 0 #111111,
    0 3px 0 #111111,
    3px 3px 0 #111111;
}

.ewc-bingo-title span {
  display: inline-block;
}

.ewc-bingo-title .is-red {
  color: #f44747;
}

.ewc-bingo-title .is-blue {
  color: #2f7fff;
}

.ewc-bingo-title .is-green {
  color: #25b85a;
}

.ewc-bingo-title .is-gold {
  color: #f1b92e;
}

.ewc-bingo-title .is-purple {
  color: #9b44ff;
}

.ewc-bingo-title .is-pink {
  color: #ff5aa5;
}

.ewc-bingo-title .is-cyan {
  color: #26c6da;
}

.ewc-bingo-title .is-orange {
  color: #ff8b2c;
}

.ewc-bingo-title .is-lime {
  color: #98d83e;
}

.ewc-bingo-title .is-rose {
  color: #ff4f6d;
}

.bingo-event-name {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
}

.status-pill.is-open {
  background: var(--success);
}

.status-pill.is-closed {
  background: var(--danger);
}

.status-pill.is-login-required {
  background: var(--accent);
}

.event-time-panel {
  display: grid;
  gap: 12px;
}

.event-banner-panel {
  min-width: 0;
  overflow: hidden;
}

.event-banner-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.event-banner-preview {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 150px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
}

.event-banner-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
}

.event-banner-preview.is-error img {
  display: none;
}

.event-banner-preview-message {
  max-width: 520px;
  margin: 0;
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.event-banner-controls,
.event-banner-form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.event-banner-controls form {
  margin: 0;
}

.event-banner-controls .button {
  width: fit-content;
  max-width: 100%;
}

.event-stream-preview {
  display: grid;
  place-items: center;
  min-height: 150px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
}

.event-stream-preview.is-configured {
  grid-template-columns: auto minmax(0, 1fr);
  place-items: center start;
  gap: 14px;
  padding: 22px;
  border-color: #d6b9ef;
  background: #fbf7ff;
}

.event-stream-preview-mark {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #9146ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.event-stream-preview div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.event-stream-preview strong,
.event-stream-preview a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-stream-preview a {
  color: #5f1dab;
  font-size: 13px;
  font-weight: 800;
}

.event-time-node-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.event-time-node {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.event-time-node span,
.event-time-node small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.event-time-node strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.timeline-list {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.timeline-track {
  position: absolute;
  top: 0;
  right: 7px;
  bottom: 0;
  left: auto;
  width: 3px;
  height: auto;
  border-radius: 999px;
  background: #dedbd4;
}

.timeline-node {
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background-color: var(--timeline-node-color, #b9b5ad);
  box-shadow: var(--timeline-node-shadow, 0 0 0 1px rgba(21, 21, 21, 0.12));
  justify-self: center;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.event-time-rail {
  position: absolute;
  top: 0;
  left: max(-222px, calc(50% - 50vw + 16px));
  z-index: 2;
  width: 170px;
  height: 50%;
  min-height: 210px;
  margin: 0;
  pointer-events: auto;
}

.bingo-play-area {
  position: relative;
  margin-bottom: 42px;
}

.bingo-board-stage {
  position: relative;
}

.timeline-item {
  position: absolute;
  top: var(--timeline-position, 0%);
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  transform: none;
}

.timeline-item[data-timeline-item="start"] {
  --timeline-position: 0%;
}

.timeline-item[data-timeline-item="pick"] {
  --timeline-position: 33.33%;
}

.timeline-item[data-timeline-item="submit"] {
  --timeline-position: 66.67%;
}

.timeline-item[data-timeline-item="end"] {
  --timeline-position: 100%;
}

.timeline-copy {
  display: grid;
  gap: 1px;
  width: calc(100% - 24px);
  min-width: 0;
  justify-items: end;
  text-align: right;
  transform: translateY(-9px);
}

.timeline-heading {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 18px;
  width: 100%;
  text-align: right;
}

.timeline-copy strong {
  display: block;
  width: 100%;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.timeline-item .timeline-node {
  position: absolute;
  top: 0;
  right: 2.5px;
  margin-top: 0;
  transform: translateY(-50%);
}

.timeline-time {
  display: block;
  width: calc(100% - 24px);
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
}

.timeline-copy time,
.timeline-time {
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.timeline-copy span:not(.timeline-time) {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-status-stack {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.selection-pill {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  padding: 9px 15px;
  white-space: nowrap;
}

.bingo-action-rail .selection-pill {
  position: static;
  transform: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bingo-action-rail {
  position: absolute;
  top: 0;
  right: max(-174px, calc(50% - 50vw + 16px));
  z-index: 3;
  display: grid;
  gap: 8px;
  width: 130px;
  min-width: 0;
  justify-items: stretch;
}

.bingo-action-rail .button {
  min-width: 0;
  max-width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.board-action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.cell-language-toggle {
  position: relative;
  display: block;
  width: 100%;
}

.language-selector-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: #151515;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.16) inset, 0 6px 14px rgba(21, 21, 21, 0.08);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.language-selector-button:hover,
.language-selector-button:focus-visible,
.cell-language-toggle.is-open .language-selector-button {
  outline: none;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.32) inset, 0 8px 18px rgba(21, 21, 21, 0.12);
  transform: translateY(-1px);
}

.language-icon {
  font-size: 15px;
  line-height: 1;
}

.language-chevron {
  font-size: 11px;
  transform-origin: center;
  transition: transform 160ms ease;
}

.cell-language-toggle.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 4px;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 12px 24px rgba(21, 21, 21, 0.16), 0 0 0 1px rgba(21, 21, 21, 0.1);
}

.language-menu[hidden] {
  display: none;
}

.cell-language-button {
  min-width: 0;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: #151515;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.14) inset;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cell-language-button:hover,
.cell-language-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.32) inset, 0 6px 12px rgba(21, 21, 21, 0.08);
}

.check-bingo-button {
  white-space: nowrap;
}

.check-bingo-control {
  position: relative;
  min-width: 0;
}

.check-bingo-control .check-bingo-button {
  width: 100%;
}

.check-bingo-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 12;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: 8px;
  background: #151515;
  color: #ffffff;
  padding: 10px 12px;
  box-shadow: 0 14px 30px rgba(21, 21, 21, 0.22);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 6px);
}

.check-bingo-tip[hidden] {
  display: none;
}

.check-bingo-tip.is-visible {
  animation: check-bingo-tip-enter 180ms ease forwards;
}

.check-bingo-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #151515;
  transform: translate(-50%, -5px) rotate(45deg);
}

.check-bingo-tip strong {
  font-size: 13px;
  line-height: 1.2;
}

.check-bingo-tip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@keyframes check-bingo-tip-enter {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.rules-button {
  border-color: #151515;
  background: #151515;
  color: #ffffff;
  white-space: nowrap;
}

.submit-board-button {
  width: 100%;
}

.view-prizes-button {
  width: 100%;
  border-color: #151515;
  background: #ffffff;
  color: #151515;
  box-shadow: 0 6px 14px rgba(21, 21, 21, 0.08);
}

.view-prizes-button:hover,
.view-prizes-button:focus-visible {
  border-color: var(--pick);
  color: var(--pick);
  box-shadow: 0 8px 18px rgba(122, 31, 209, 0.14);
}

.submit-state {
  margin: 0;
  max-width: 190px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
}

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.bingo-line-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.line-triangle {
  --marker-size: 20px;
  --marker-hit-size: 34px;
  --line-position: 50%;
  position: absolute;
  width: var(--marker-hit-size);
  height: var(--marker-hit-size);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}

.line-triangle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 14px rgba(21, 21, 21, 0.12);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.line-triangle-shape {
  position: absolute;
  z-index: 1;
  width: var(--marker-size);
  height: calc(var(--marker-size) * 1.2);
  filter: drop-shadow(0 4px 6px rgba(21, 21, 21, 0.18));
  transition: transform 150ms ease, filter 150ms ease;
}

.line-triangle-shape::before,
.line-triangle-shape::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.line-triangle-shape::before {
  inset: 0;
  background: #151515;
}

.line-triangle-shape::after {
  inset: 2px 3px 2px 2px;
  background: #ffffff;
}

.line-triangle.is-row {
  top: var(--line-position);
  left: -22px;
  transform: translate(-50%, -50%);
}

.line-triangle.is-row .line-triangle-shape {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line-triangle.is-col {
  top: -22px;
  left: var(--line-position);
  transform: translate(-50%, -50%);
}

.line-triangle.is-col .line-triangle-shape {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.line-triangle.is-diag-main {
  top: -22px;
  left: -22px;
  transform: translate(-50%, -50%);
}

.line-triangle.is-diag-main .line-triangle-shape {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.line-triangle.is-diag-anti {
  bottom: -22px;
  left: -22px;
  transform: translate(-50%, 50%);
}

.line-triangle.is-diag-anti .line-triangle-shape {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.line-triangle:hover,
.line-triangle:focus-visible,
.line-triangle.is-selected {
  outline: none;
}

.line-triangle:hover::after,
.line-triangle:focus-visible::after,
.line-triangle.is-selected::after {
  opacity: 1;
  transform: scale(1);
}

.line-triangle:hover .line-triangle-shape,
.line-triangle:focus-visible .line-triangle-shape {
  filter: drop-shadow(0 0 7px rgba(32, 167, 167, 0.46));
}

.line-triangle.is-selected .line-triangle-shape {
  filter: drop-shadow(0 0 8px rgba(87, 15, 140, 0.5));
}

.line-triangle.is-selected .line-triangle-shape::before,
.line-triangle.is-selected .line-triangle-shape::after {
  background: var(--pick);
}

.line-triangle.is-selection-disabled:not(.is-selected) {
  cursor: not-allowed;
  opacity: 0.42;
}

.is-board-submitted .bingo-line-markers {
  display: none;
}

.bingo-cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f7f5ef);
  padding: 20px 10px 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 180ms ease;
}

.bingo-cell::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.bingo-cell::before {
  inset: -42%;
  z-index: 0;
  background: transparent;
  transform: translate(-110%, -110%);
  transition: transform 360ms cubic-bezier(0.2, 0.78, 0.18, 1), background 180ms ease;
}

.bingo-cell > * {
  position: relative;
  z-index: 2;
}

.bingo-cell:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(122, 31, 209, 0.15);
  transform: translateY(-1px);
}

.bingo-cell.is-line-hovered {
  border-color: #20a7a7;
  box-shadow: 0 0 0 2px rgba(32, 167, 167, 0.18), 0 10px 20px rgba(32, 167, 167, 0.16);
  transform: translateY(-1px) scale(1.03);
}

.bingo-cell.is-submitted {
  border-color: var(--waiting);
  color: #ffffff;
}

.bingo-cell.is-selected {
  border-color: var(--pick);
  color: #ffffff;
}

.bingo-cell.is-hit {
  border-color: var(--occurred);
  color: #ffffff;
}

.bingo-cell.is-correct {
  border-color: var(--correct);
  color: #ffffff;
}

.bingo-cell.is-incorrect {
  border-color: var(--incorrect);
  color: #ffffff;
}

.bingo-cell.is-submitted::before {
  background: linear-gradient(135deg, #0f6b3d, #168f55);
  transform: translate(0, 0);
}

.bingo-cell.is-selected::before {
  background: linear-gradient(135deg, #4f0d82, var(--pick));
  transform: translate(0, 0);
}

.bingo-cell.is-hit::before,
.bingo-cell.is-correct::before {
  background: linear-gradient(135deg, #a87408, var(--occurred));
  transform: translate(0, 0);
}

.bingo-cell.is-incorrect::before {
  background: linear-gradient(135deg, #646464, var(--incorrect));
  transform: translate(0, 0);
}

.bingo-cell.is-color-animating::before {
  animation: cell-color-sweep 380ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.bingo-cell.is-color-reversing::before {
  background: linear-gradient(135deg, #4f0d82, var(--pick));
  transform: translate(110%, 110%);
  animation: cell-color-reverse 380ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

@keyframes cell-color-sweep {
  0% {
    transform: translate(-110%, -110%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes cell-color-reverse {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(110%, 110%);
  }
}

.bingo-cell.is-winning-cell {
  --winning-ring-rgb: 244 200 74;
  --winning-ring-delay: 0ms;
  animation: winning-ring-fade 3300ms ease-in-out var(--winning-ring-delay) infinite;
  box-shadow:
    0 0 0 4px rgb(var(--winning-ring-rgb) / 0.02),
    0 0 3px 1px rgb(var(--winning-ring-rgb) / 0),
    0 12px 24px rgb(var(--winning-ring-rgb) / 0);
}

@keyframes winning-ring-fade {
  0%,
  37.88%,
  100% {
    box-shadow:
      0 0 0 4px rgb(var(--winning-ring-rgb) / 0.02),
      0 0 3px 1px rgb(var(--winning-ring-rgb) / 0),
      0 12px 24px rgb(var(--winning-ring-rgb) / 0);
  }

  15.15%,
  22.73% {
    box-shadow:
      0 0 0 4px rgb(var(--winning-ring-rgb) / 1),
      0 0 18px 5px rgb(var(--winning-ring-rgb) / 0.42),
      0 12px 24px rgb(var(--winning-ring-rgb) / 0.3);
  }
}

.bingo-cell.is-selection-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.is-point-selection .bingo-cell.is-selection-disabled {
  cursor: pointer;
  opacity: 1;
}

.is-board-submitted .bingo-cell.is-selection-disabled {
  cursor: default;
  opacity: 1;
}

.is-board-submitted .bingo-cell {
  cursor: default;
}

.is-board-submitted .bingo-cell:hover {
  border-color: #cfcfcf;
  box-shadow: none;
  transform: none;
}

.is-board-submitted .bingo-cell.is-selected:hover {
  border-color: var(--pick);
}

.is-board-submitted .bingo-cell.is-hit:hover {
  border-color: var(--occurred);
}

.is-board-submitted .bingo-cell.is-winning-cell:hover {
  box-shadow:
    0 0 0 4px rgb(var(--winning-ring-rgb) / 1),
    0 0 18px 5px rgb(var(--winning-ring-rgb) / 0.42),
    0 12px 24px rgb(var(--winning-ring-rgb) / 0.3);
}

.bingo-cell.is-submitted .cell-number,
.bingo-cell.is-selected .cell-number,
.bingo-cell.is-hit .cell-number,
.bingo-cell.is-correct .cell-number,
.bingo-cell.is-incorrect .cell-number,
.admin-board-preview-cell.is-selected .cell-number,
.admin-board-preview-cell.is-hit .cell-number {
  color: rgba(255, 255, 255, 0.78);
}

.cell-face {
  width: clamp(38px, 38%, 78px);
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.96;
  pointer-events: none;
  filter: brightness(0);
}

.bingo-cell.is-hit .cell-face,
.bingo-cell.is-selected .cell-face,
.admin-board-preview-cell.is-hit .cell-face {
  filter: brightness(0) invert(1);
}

.bingo-cell.is-hit .cell-face,
.admin-board-preview-cell.is-hit .cell-face {
  filter: none;
}

.cell-pending-badge,
.cell-hit-badge,
.cell-selected-badge {
  position: absolute;
  max-width: calc(100% - 10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-size: clamp(9px, 1.1vw, 11px);
  line-height: 1;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 3;
}

.cell-pending-badge,
.cell-hit-badge {
  top: clamp(5px, 7%, 9px);
  right: clamp(5px, 7%, 9px);
}

.cell-selected-badge {
  right: auto;
  bottom: clamp(5px, 7%, 9px);
  left: clamp(5px, 7%, 9px);
  background: rgba(122, 31, 209, 0.86);
}

.cell-number {
  position: absolute;
  top: clamp(7px, 8%, 11px);
  left: clamp(8px, 8%, 12px);
  font-size: 13px;
  color: var(--muted);
  z-index: 3;
}

.cell-label {
  font-weight: 800;
  font-size: clamp(11px, 1.18vw, 15px);
  line-height: 1.18;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 0;
  text-align: center;
}

.cell-label.is-language-switching {
  animation: cell-language-switch 220ms ease;
}

@keyframes cell-language-switch {
  0% {
    opacity: 0.2;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.bingo-win-banner {
  border: 1px solid #e2c35e;
  border-radius: 8px;
  background: #fff8d8;
  color: #4f3800;
  padding: 16px 18px;
  margin: 0 0 18px;
}

.bingo-win-banner h2,
.bingo-win-banner p {
  margin: 0;
}

.bingo-win-banner h2 {
  font-size: 24px;
  line-height: 1.1;
}

.bingo-celebration-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
}

.bingo-celebration-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(3px);
}

.bingo-celebration-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}

.bingo-celebration-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bingo-celebration-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(94vw, 980px);
  font-size: 150px;
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.48));
  animation: bingo-celebration-pop 680ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.bingo-letter {
  display: inline-block;
  transform: translateY(0);
  animation: bingo-letter-bounce 3300ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.bingo-letter.is-b {
  color: #ff4d6d;
}

.bingo-letter.is-i {
  color: #ffd166;
  animation-delay: 70ms;
}

.bingo-letter.is-n {
  color: #06d6a0;
  animation-delay: 140ms;
}

.bingo-letter.is-g {
  color: #4dabf7;
  animation-delay: 210ms;
}

.bingo-letter.is-o {
  color: #b197fc;
  animation-delay: 280ms;
}

.bingo-letter.is-bang {
  color: #f783ac;
  animation-delay: 350ms;
}

@keyframes bingo-celebration-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bingo-letter-bounce {
  0%,
  29%,
  100% {
    transform: translateY(0) scale(1);
  }
  13% {
    transform: translateY(-16px) scale(1.06);
  }
  20% {
    transform: translateY(4px) scale(0.98);
  }
  26% {
    transform: translateY(-5px) scale(1.02);
  }
}

@media (max-width: 760px) {
  .bingo-celebration-word {
    gap: 8px;
    font-size: 76px;
  }
}

@media (max-width: 420px) {
  .bingo-celebration-word {
    gap: 5px;
    font-size: 50px;
  }
}

.rules-dialog {
  position: fixed;
  inset: 0;
  width: min(900px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
}

.rules-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(2px);
  animation: rules-backdrop-fade 180ms ease-out both;
}

.rules-panel {
  display: grid;
  gap: 18px;
  max-height: min(760px, calc(100vh - 28px));
  border-radius: 8px;
  background: #050505;
  padding: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.rules-dialog[open] .rules-panel {
  animation: rules-panel-enter 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rules-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.rules-header h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.rules-eyebrow {
  margin: 0 0 6px;
  color: #8300e3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rules-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rules-header-actions form {
  margin: 0;
}

.rules-language-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.rules-language-button,
.rules-close-button,
.rules-tab {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.rules-language-button {
  min-width: 42px;
  min-height: 32px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.rules-language-button.is-active {
  background: #ffffff;
  color: #050505;
}

.rules-close-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.rules-body {
  min-height: 0;
  overflow: visible;
}

.rules-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-right: 0;
}

.rules-tab {
  min-height: 46px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.rules-tab.is-active {
  border-color: #8300e3;
  background: #8300e3;
  color: #ffffff;
}

.rules-content {
  display: grid;
  gap: 32px;
  min-width: 0;
  overflow: visible;
  padding-right: 0;
}

.rules-content.is-switching,
.prize-content.is-switching {
  pointer-events: none;
}

.rules-section[hidden] {
  display: none;
}

.rules-section {
  max-width: 960px;
}

.rules-section.is-entering,
.prize-copy.is-entering {
  animation: content-panel-enter 220ms ease-out both;
}

.rules-section h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
}

.rules-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 750;
  line-height: 1.45;
}

.rules-list li::marker {
  color: #8300e3;
  font-weight: 900;
}

@keyframes rules-backdrop-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rules-panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes content-panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bingo-prizes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  margin: 40px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 24px 20px 28px;
}

.bingo-prizes > * {
  min-width: 0;
  max-width: 100%;
}

.prize-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.prize-eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prize-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.prize-language-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #f0edf5;
}

.prize-language-button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.prize-language-button.is-active {
  background: var(--accent);
  color: #ffffff;
}

.prize-carousel-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.prize-carousel-button {
  min-width: 112px;
  min-height: 38px;
  border: 1px solid #151515;
  border-radius: 999px;
  background: #ffffff;
  color: #151515;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.prize-carousel-button:hover,
.prize-carousel-button:focus-visible {
  border-color: var(--pick);
  color: var(--pick);
  transform: translateY(-1px);
}

.prize-carousel-button.is-active {
  border-color: var(--pick);
  background: var(--pick);
  color: #ffffff;
}

.prize-content {
  min-height: 500px;
}

.prize-fulfillment {
  display: grid;
  gap: 18px;
  background: transparent;
  padding: 20px 0;
}

.prize-fulfillment-header {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.prize-fulfillment-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.prize-fulfillment-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.prize-fulfillment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prize-fulfillment-step {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 8px;
  background: transparent;
  padding: 16px;
}

.prize-fulfillment-step h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.prize-fulfillment-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.prize-fulfillment-contact {
  margin: 12px 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, text-shadow 160ms ease;
}

.prize-fulfillment-contact:hover {
  transform: translateY(-2px);
  text-shadow: 0 8px 18px rgba(21, 21, 21, 0.14);
}

.prize-claim-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.prize-card[hidden] {
  display: none;
}

.prize-copy[hidden] {
  display: none;
}

.prize-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.prize-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 12px;
  justify-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: center;
  animation: content-panel-enter 220ms ease-out both;
}

.prize-card > * {
  min-width: 0;
  max-width: 100%;
}

.prize-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 267px;
  overflow: visible;
}

.prize-media.has-pair {
  gap: 10px;
}

.prize-image-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 285px);
  max-height: 285px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.prize-image-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.prize-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: inherit;
  object-fit: contain;
  transform-origin: center;
  transition: transform 240ms ease, filter 240ms ease;
}

.prize-image-link:hover .prize-image {
  z-index: 5;
  transform: scale(1.5);
  filter: drop-shadow(0 18px 24px rgba(21, 21, 21, 0.18));
}

.prize-card.is-first .prize-image-link {
  width: min(45%, 282px);
  max-height: 315px;
}

.prize-card.is-second .prize-image-link {
  width: min(44%, 213px);
  max-height: 225px;
}

.prize-card.is-third .prize-image-link {
  width: min(86%, 315px);
  max-height: 270px;
}

.prize-relation {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.prize-copy {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 900;
  line-height: 1.35;
}

.prize-copy-count,
.prize-copy-reward {
  display: block;
}

.prize-copy-count {
  color: var(--accent);
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.02;
}

.prize-copy-reward {
  margin-top: 6px;
  white-space: nowrap;
}

.prize-copy-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  max-width: 100%;
}

.prize-store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 42px 0 14px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: color 160ms ease, text-shadow 160ms ease, transform 160ms ease;
}

.prize-store-link:hover,
.prize-store-link:focus-visible {
  color: var(--pick);
  text-decoration: none;
  transform: translateY(-2px);
  text-shadow: 0 8px 18px rgba(122, 31, 209, 0.16);
}

.prize-availability-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 680px;
  margin: 26px auto 6px;
  text-align: center;
}

.prize-availability-note h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.prize-availability-note p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.prize-availability-list {
  display: grid;
  gap: 6px;
  width: min(100%, 560px);
  min-width: 0;
  max-width: 100%;
  margin: 6px auto 0;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
  list-style: none;
  text-align: left;
}

.prize-availability-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: baseline;
}

.prize-availability-name {
  min-width: 0;
}

.prize-availability-count {
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

.twitch-live-section {
  min-width: 0;
  margin: 12px 20px 0;
  background: transparent;
  color: var(--ink);
}

.twitch-live-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 20px 0 16px;
  background: transparent;
}

.twitch-live-header > div {
  min-width: 0;
}

.twitch-live-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.twitch-live-eyebrow > span:first-child {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff4f79;
  box-shadow: 0 0 0 5px rgba(255, 79, 121, 0.12);
}

.twitch-live-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.twitch-live-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #9146ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.twitch-live-link:hover,
.twitch-live-link:focus-visible {
  background: #a970ff;
  transform: translateY(-1px);
}

.twitch-player-shell {
  width: 100%;
  min-width: 400px;
  min-height: 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #000000;
  box-shadow: 0 18px 45px rgba(37, 16, 50, 0.18);
}

.twitch-player {
  display: block;
  width: 100%;
  min-width: 400px;
  min-height: 300px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
}

.twitch-mobile-fallback {
  display: none;
}

.bingo-panel {
  padding: 22px;
}

.bingo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
}

.bingo-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: inline-block;
}

.legend-swatch.is-empty {
  background: #ffffff;
}

.legend-swatch.is-submitted,
.legend-swatch.is-selected {
  background: var(--pick);
  border-color: var(--pick);
}

.legend-swatch.is-hit {
  background: var(--occurred);
  border-color: var(--occurred);
}

.legend-swatch.is-correct {
  background: var(--correct);
  border-color: var(--correct);
}

.legend-swatch.is-incorrect {
  background: var(--incorrect);
  border-color: var(--incorrect);
}

.bingo-panel.compact {
  padding: 16px 18px;
}

.bingo-message {
  max-width: 620px;
  margin: 80px auto;
}

.button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover:not(:disabled):not([disabled]),
.icon-button:hover:not(:disabled):not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.button:active:not(:disabled):not([disabled]),
.icon-button:active:not(:disabled):not([disabled]) {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-warning {
  border-color: #a46b00;
  background: #fff0bf;
  color: #5f3c00;
}

.button-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.button-danger:hover {
  background: var(--danger);
  color: #ffffff;
}

.button:disabled,
.button[disabled] {
  border-color: var(--line);
  background: #f0f0ed;
  color: #858585;
  cursor: not-allowed;
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 24px;
}

.bingo-dialog {
  width: min(640px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.bingo-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.dialog-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 22px;
}

.dialog-header,
.dialog-actions,
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-detail-header {
  align-items: flex-start;
  margin-bottom: 6px;
}

.admin-title-block {
  min-width: 0;
}

.admin-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.admin-title-row h1 {
  min-width: 0;
}

.field-label,
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.choice-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  cursor: pointer;
}

.choice-option input {
  width: auto;
  margin: 4px 0 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-nav {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: #161616;
  color: #ffffff;
  padding: 24px 18px;
  overflow: auto;
}

.admin-nav a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-card {
  padding: 20px;
  margin: 16px 0;
}

.admin-login-card {
  display: grid;
  gap: 14px;
}

.admin-card h2 {
  margin-top: 0;
}

/* Shared storefront activity navigation */
.activity-menu-toggle {
  position: fixed;
  top: 7px;
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: none;
}

.activity-menu-toggle-lines {
  width: 24px;
  display: grid;
  gap: 4px;
}

.activity-menu-toggle-lines > span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.activity-menu-toggle:focus-visible,
.activity-menu-card:focus-visible {
  outline: 3px solid #ffcf4a;
  outline-offset: 3px;
}

.activity-menu-toggle.is-active .activity-menu-toggle-lines > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.activity-menu-toggle.is-active .activity-menu-toggle-lines > span:nth-child(2) {
  opacity: 0;
}

.activity-menu-toggle.is-active .activity-menu-toggle-lines > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.activity-menu-dialog {
  position: fixed;
  inset: var(--activity-menu-header-offset, var(--bingo-site-header-offset)) 0 0;
  z-index: 120;
  width: 100%;
  max-width: none;
  height: calc(100dvh - var(--activity-menu-header-offset, var(--bingo-site-header-offset)));
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 48px);
  border: 0;
  color: #fff;
  background: rgba(5, 2, 10, 0.82);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.activity-menu-dialog[open] {
  display: grid;
  align-items: start;
  justify-items: center;
  animation: activity-menu-enter 200ms ease both;
}

.activity-menu-surface {
  width: min(100%, 1024px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.activity-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: 3px;
}

.activity-menu-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: radial-gradient(circle at 76% 24%, #5b257b, transparent 42%), #21102c;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
  animation: activity-menu-card-enter 200ms ease both;
  animation-delay: calc(var(--activity-menu-index) * 28ms);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.activity-menu-card-image,
.activity-menu-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.activity-menu-card-image {
  z-index: -2;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.activity-menu-card-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 3, 12, 0.3), rgba(7, 3, 12, 0.72));
}

.activity-menu-card-title {
  width: min(90%, 34rem);
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font: 800 clamp(1.15rem, 2.1vw, 1.75rem)/1.12 "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.activity-menu-card.is-image-error .activity-menu-card-shade {
  background: linear-gradient(135deg, rgba(89, 37, 121, 0.45), rgba(10, 5, 16, 0.82));
}

body.activity-menu-open .bingo-site-header {
  z-index: 130;
}

.prediction-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 62px;
}

.bingo-site-utilities {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 62px;
}

.prediction-menu-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .activity-menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
  }

  .activity-menu-card:hover .activity-menu-card-image {
    transform: scale(1.045);
  }
}

@media (max-width: 767px) {
  .activity-menu-dialog {
    padding: 14px 12px max(12px, env(safe-area-inset-bottom));
  }

  .activity-menu-surface {
    padding: 0;
  }

  .activity-menu-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .bingo-site-utilities {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
  }

  .bingo-site-utilities .bingo-site-language {
    grid-column: auto;
    grid-row: auto;
  }

  .prediction-header .bingo-site-header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .prediction-header .bingo-site-logo-link {
    grid-column: 2;
    justify-self: center;
  }

  .prediction-header .prediction-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .prediction-header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    padding-right: 0;
  }

  .prediction-header-actions > .bingo-site-actions {
    position: fixed;
  }

  .prediction-header .bingo-site-title {
    display: none;
  }
}

@keyframes activity-menu-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes activity-menu-card-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .activity-menu-dialog[open],
  .activity-menu-card {
    animation: none;
  }

  .activity-menu-toggle,
  .activity-menu-toggle-lines > span,
  .activity-menu-card,
  .activity-menu-card-image {
    transition: none;
  }
}

.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.admin-content-card {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.admin-content-card h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.admin-content-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.admin-content-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.admin-content-card-footer .button {
  flex: 0 0 auto;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-title-row h2 {
  margin: 0;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-login {
  width: min(460px, calc(100vw - 28px));
}

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

.event-create-form {
  grid-template-columns: 1fr;
}

.event-create-title {
  max-width: 720px;
}

.event-time-field-list {
  display: grid;
  gap: 12px;
}

.event-time-field-row {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.event-time-field-help {
  display: grid;
  align-content: center;
  gap: 4px;
  margin: 0;
  border: 1px solid rgba(20, 27, 45, 0.12);
  border-radius: 8px;
  background: #f7f8fb;
  color: var(--muted);
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.event-time-field-help strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.event-create-note {
  max-width: 720px;
}

@media (max-width: 1100px) {
  .event-time-field-row {
    grid-template-columns: 1fr;
  }
}

.admin-form-actions {
  display: flex;
  align-items: end;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 12px 0;
  padding: 10px 12px;
  font-weight: 800;
}

.notice-error {
  border-color: #d9a5a5;
  background: #fff3f3;
  color: #7f1d1d;
}

.notice-warning {
  border-color: #d9c26d;
  background: #fff8d8;
  color: #634b00;
}

.notice-success {
  border-color: #9dceb7;
  background: #effaf4;
  color: #145c39;
}

.admin-error-card {
  max-width: 720px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-badge.is-draft {
  background: #f4f4f1;
  color: #3b3b3b;
}

.admin-badge.is-success {
  border-color: #1f7a4d;
  background: #1f7a4d;
  color: #ffffff;
}

.admin-badge.is-warning {
  border-color: #a46b00;
  background: #fff0bf;
  color: #5f3c00;
}

.admin-badge.is-neutral {
  border-color: #b8b8b8;
  background: #ffffff;
  color: #3d3d3d;
}

.recalculation-status-card .section-title-row {
  align-items: center;
}

.recalculation-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.recalculation-status.is-compact {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.recalculation-status-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.recalculation-status-list {
  display: grid;
  gap: 10px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric-item {
  display: grid;
  gap: 5px;
  background: #ffffff;
  padding: 14px;
}

.metric-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-item strong {
  font-size: 24px;
}

.admin-overview-card {
  margin-top: 12px;
}

.admin-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.admin-overview-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.admin-overview-metric {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  background: #ffffff;
  padding: 16px;
}

.admin-overview-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-overview-metric strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.admin-overview-main .notice {
  margin: 0;
}

.admin-overview-recalculation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-overview-recalculation-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-overview-recalculation-copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.admin-overview-recalculation-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-overview-recalculation-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  padding: 14px;
}

.admin-overview-recalculation-action h3 {
  margin: 0;
  font-size: 16px;
}

.admin-overview-recalculation-action form {
  margin: 0;
}

.admin-overview-bulk-tools {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-overview-bulk-tools .section-title-row {
  align-items: flex-start;
  gap: 12px;
}

.admin-overview-bulk-tools h2 {
  font-size: 18px;
}

.admin-overview-bulk-tools .bulk-tool-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
}

.admin-overview-bulk-tools .bulk-tool-panel {
  background: #ffffff;
}

.admin-management-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  padding: 16px;
}

.admin-management-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.admin-management-header h3,
.admin-management-group h4 {
  margin: 0;
}

.admin-management-group {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-operation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.admin-operation-row form {
  margin: 0;
}

.admin-operation-row .button {
  width: 100%;
}

.admin-operation-row .event-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-danger-summary .notice {
  margin: 0;
}

.admin-danger-summary .event-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-danger-summary .event-action-row .button {
  width: 100%;
}

.admin-workflow-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: start;
}

.admin-workflow-grid > .admin-card {
  margin: 0;
}

.admin-workflow-card {
  min-height: 100%;
}

.admin-status-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-status-form > [data-selection-mode-config] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.status-explainer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.status-explainer > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
}

.status-explainer strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.status-explainer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-status-form .button {
  grid-column: 1 / -1;
  width: 100%;
}

.progress-meter {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ecece8;
  margin-bottom: 6px;
}

.progress-meter span {
  display: block;
  height: 100%;
  min-width: 0;
  background: var(--accent);
}

.admin-table-link {
  color: var(--accent);
  font-weight: 900;
}

.admin-url-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-url-line code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f6f6f2;
  color: var(--ink);
  padding: 3px 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.event-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.event-action-row.is-compact {
  min-width: 150px;
}

.event-action-row form {
  margin: 0;
}

.bulk-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.bulk-tool-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfbf8;
}

.bulk-tool-panel h3 {
  margin: 0;
}

.result-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}

.result-filter-form .admin-form-actions {
  justify-content: flex-start;
}

.result-table-wrap {
  max-height: 720px;
}

.result-table-wrap table {
  min-width: 1620px;
}

.result-table {
  table-layout: fixed;
  width: 100%;
}

.result-table th:nth-child(1) {
  width: 160px;
}

.result-table th:nth-child(2) {
  width: 210px;
}

.result-table th:nth-child(3) {
  width: 210px;
}

.result-table th:nth-child(4),
.result-table th:nth-child(7) {
  width: 88px;
}

.result-table th:nth-child(5) {
  width: 112px;
}

.result-table th:nth-child(6) {
  width: 140px;
}

.result-table th:nth-child(8) {
  width: 170px;
}

.result-table th:nth-child(9) {
  width: 170px;
}

.result-table th:nth-child(10) {
  width: 260px;
}

.result-table th:nth-child(11) {
  width: 112px;
}

.result-table td {
  overflow-wrap: anywhere;
}

.result-note-cell {
  max-width: 260px;
}

.result-note-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.result-note-form textarea {
  min-height: 64px;
}

.result-note-form [hidden] {
  display: none;
}

.result-note-preview {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-note-preview.is-empty {
  color: var(--muted);
  font-weight: 700;
}

.result-note-form.is-editing {
  align-items: start;
}

.result-note-form.is-editing textarea {
  display: block;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  border: 1px solid #9dceb7;
  border-radius: 8px;
  background: #effaf4;
  color: #145c39;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  padding: 12px 14px;
  font-weight: 900;
}

.admin-toast.is-error {
  border-color: #d9a5a5;
  background: #fff3f3;
  color: #7f1d1d;
}

.participant-contact {
  display: grid;
  gap: 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.participant-contact small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.participant-table-wrap table {
  min-width: 980px;
}

.admin-board-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.admin-board-preview-cell {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 20px 8px 10px;
  text-align: center;
}

.admin-board-preview-cell.is-hit {
  border-color: var(--occurred);
  background: var(--occurred);
  color: #ffffff;
}

.admin-board-preview-cell.is-selected {
  border-color: var(--pick);
  background: var(--pick);
  color: #ffffff;
}

.admin-board-preview-cell.is-selected.is-hit {
  border-color: var(--occurred);
  background: var(--occurred);
}

.admin-board-preview-cell .cell-face {
  width: clamp(32px, 36%, 58px);
}

.action-note {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-weight: 800;
}

.question-title-cell {
  min-width: 240px;
}

.question-preview-cell {
  width: 120px;
}

.question-action-cell {
  width: 210px;
}

.question-action-stack {
  display: grid;
  gap: 8px;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.option-details {
  min-width: 190px;
}

.option-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.option-display-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.option-display-list li {
  display: grid;
  grid-template-columns: minmax(42px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fbfbf9;
}

.option-id {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #ecece8;
  color: var(--ink);
  font-weight: 900;
  padding: 2px 7px;
}

.option-label {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.option-editor {
  display: grid;
  gap: 8px;
}

.option-editor[hidden] {
  display: none;
}

.option-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.option-editor-list {
  display: grid;
  gap: 8px;
}

.option-editor-row {
  display: grid;
  grid-template-columns: minmax(72px, 0.7fr) minmax(120px, 1fr) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #fbfbf9;
}

.option-editor-row label {
  min-width: 0;
  font-size: 12px;
}

.option-editor-row input {
  min-width: 0;
}

.option-add-button,
.option-remove-button {
  min-height: 36px;
  padding: 0 10px;
}

.option-editor-source {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.admin-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.question-dialog-card {
  display: grid;
  gap: 14px;
}

.question-dialog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.question-preview-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  padding: 14px;
}

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

.sticky-table-wrap {
  max-height: 680px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sticky-table-wrap table {
  min-width: 1120px;
}

.question-list-card {
  display: flex;
  flex-direction: column;
  max-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  scroll-margin-top: 18px;
}

.question-table-wrap {
  flex: 1 1 auto;
  min-height: 320px;
  max-height: none;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.table-pre {
  white-space: pre-wrap;
  margin: 0;
  color: var(--ink);
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
}

.delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.button.is-disabled {
  color: var(--muted);
  background: #f2f2f2;
  cursor: not-allowed;
}

@media (max-width: 1320px) {
  :root {
    --bingo-site-header-offset: 108px;
  }

  .bingo-site-header-inner {
    grid-template-columns: minmax(180px, 1fr) auto;
    width: min(1240px, calc(100vw - 48px));
    padding: 8px 0;
  }

  .bingo-site-logo {
    grid-column: 1 / 2;
    grid-row: 1;
    width: clamp(128px, 14vw, 180px);
  }

  .bingo-site-title {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  .bingo-site-actions {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
  }

  .bingo-shell {
    width: min(1040px, calc(100vw - 214px));
  }

  .lottery-status-notice {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 22px;
    padding: 14px;
  }

  .lottery-login-button {
    align-self: flex-start;
  }

  .event-time-rail {
    left: max(-112px, calc(50% - 50vw + 16px));
    width: 132px;
  }

  .timeline-item {
    display: block;
  }

  .timeline-copy span {
    font-size: 13px;
  }

  .timeline-time {
    font-size: 14px;
  }

  .bingo-action-rail {
    right: -80px;
    width: 100px;
  }

  .bingo-action-rail .button,
  .bingo-action-rail .status-pill {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  :root {
    --bingo-site-header-offset: 136px;
  }

  .bingo-site-header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: min(calc(100% - 28px), 540px);
    padding: 10px 0;
  }

  .bingo-site-logo {
    grid-column: 1 / 2;
    width: 112px;
  }

  .bingo-site-title {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .bingo-site-actions {
    display: contents;
  }

  .bingo-site-tabs {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
  }

  .bingo-site-language {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-content: flex-end;
  }

  .bingo-site-tab {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .bingo-site-language .cell-language-toggle {
    width: 112px;
  }

  .bingo-site-footer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-items: start;
    gap: 12px;
    padding: 28px 0;
    width: min(calc(100% - 28px), 540px);
  }

  .bingo-site-footer-logo,
  .bingo-site-footer-meta,
  .bingo-site-footer-socials,
  .bingo-site-footer-contact {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .bingo-site-footer-socials {
    justify-items: start;
  }

  .bingo-shell {
    width: min(calc(100% - 16px), 540px);
    padding-top: 16px;
  }

  .bingo-title-row {
    display: grid;
    justify-items: center;
    gap: 8px;
  }

  .selection-pill {
    position: static;
    transform: none;
  }

  .bingo-hero {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-right: 0;
    margin-bottom: 56px;
    margin-left: 0;
    padding: 0;
  }

  .ewc-bingo-title {
    font-size: clamp(40px, 14vw, 62px);
  }

  .bingo-play-area {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }

  .event-time-rail {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: 116px;
    height: 50%;
    min-height: 240px;
  }

  .is-lottery-selection .bingo-play-area {
    row-gap: 88px;
  }

  .is-lottery-selection .event-time-rail {
    min-height: 246px;
  }

  .timeline-item {
    display: block;
  }

  .timeline-copy strong {
    font-size: 13px;
  }

  .timeline-time {
    font-size: 12px;
  }

  .timeline-copy span {
    font-size: 12px;
  }

  .bingo-board-stage {
    grid-column: 2;
    grid-row: 1;
  }

  .bingo-action-rail {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    grid-template-columns: 1fr;
    align-items: center;
  }

  .board-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submit-board-button {
    grid-column: 1 / -1;
  }

  .view-prizes-button {
    grid-column: 1 / -1;
  }

  .rules-panel {
    padding: 16px;
  }

  .rules-header {
    align-items: flex-start;
  }

  .rules-header-actions {
    gap: 8px;
  }

  .rules-body {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible;
  }

  .rules-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 0;
  }

  .rules-tab {
    text-align: center;
  }

  .bingo-prizes {
    margin-top: 22px;
    padding: 16px;
  }

  .twitch-live-section {
    margin-right: 16px;
    margin-left: 16px;
  }

  .twitch-live-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  .prize-header {
    display: grid;
    gap: 10px;
  }

  .prize-content {
    min-height: 0;
  }

  .prize-fulfillment {
    padding: 16px;
  }

  .prize-fulfillment-grid {
    grid-template-columns: 1fr;
  }

  .prize-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prize-media {
    min-height: 210px;
  }

  .prize-card.is-first .prize-image-link,
  .prize-card.is-second .prize-image-link {
    width: min(43%, 210px);
  }

  .prize-card.is-third .prize-image-link {
    width: min(78%, 270px);
  }

  .submit-state {
    max-width: none;
    text-align: left;
  }

  .bingo-grid {
    gap: 5px;
  }

  .line-triangle {
    --marker-size: 15px;
    --marker-hit-size: 28px;
  }

  .line-triangle.is-row {
    left: -13px;
  }

  .line-triangle.is-col {
    top: -13px;
  }

  .line-triangle.is-diag-main {
    top: -13px;
    left: -13px;
  }

  .line-triangle.is-diag-anti {
    bottom: -13px;
    left: -13px;
  }

  .bingo-cell {
    gap: 5px;
    padding: 18px 6px 8px;
    border-radius: 6px;
  }

  .cell-face {
    width: clamp(28px, 34%, 48px);
  }

  .cell-label {
    font-size: 11px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
    height: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .admin-main {
    padding: 16px;
  }

  .admin-content-card {
    min-height: 0;
  }

  .admin-content-card-footer {
    display: grid;
    justify-items: start;
  }

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

  .event-create-title {
    max-width: none;
  }

  .admin-form-actions {
    align-items: stretch;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .admin-detail-header,
  .admin-title-row {
    display: grid;
  }

  .admin-overview-grid,
  .admin-overview-layout,
  .admin-workflow-grid,
  .admin-status-form,
  .admin-status-form > [data-selection-mode-config],
  .status-explainer,
  .admin-operation-row .event-action-row,
  .result-filter-form,
  .result-note-form {
    grid-template-columns: 1fr;
  }

  .admin-overview-recalculation {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-overview-recalculation-action {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-overview-recalculation-action .button {
    width: 100%;
  }

  .status-explainer > div {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .admin-board-preview-grid {
    gap: 5px;
  }

  .admin-board-preview-cell {
    padding: 18px 5px 8px;
  }

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

  .admin-overview-bulk-tools .bulk-tool-grid {
    grid-template-columns: 1fr;
  }

  .event-time-node-grid {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    display: grid;
  }

  .option-editor-row {
    grid-template-columns: 1fr;
  }

  .question-action-cell,
  .question-preview-cell {
    width: auto;
  }
}

@media (max-width: 479px) {
  .twitch-live-header {
    padding: 17px 0 15px;
  }

  .twitch-live-link,
  .twitch-player-shell {
    display: none;
  }

  .twitch-mobile-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid #34293d;
    border-radius: 14px;
    background: #0f0c11;
    color: #ffffff;
    text-decoration: none;
  }

  .twitch-mobile-fallback-mark {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: #9146ff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
  }

  .twitch-mobile-fallback > span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .twitch-mobile-fallback strong {
    font-size: 14px;
  }

  .twitch-mobile-fallback small {
    color: #bdb3c3;
    font-size: 12px;
    font-weight: 700;
  }
}

/* Prediction mode */
.prediction-storefront {
  --prediction-bg: #000000;
  --prediction-surface: #0b0710;
  --prediction-surface-raised: #160b20;
  --prediction-accent: #8300e3;
  --prediction-accent-deep: #570f8c;
  --prediction-text: #ffffff;
  --prediction-muted: #c8bfd1;
  --prediction-line: #3b2948;
  --prediction-safe-bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 100vh;
  color: var(--prediction-text);
  background: var(--prediction-bg);
  color-scheme: dark;
}

.prediction-storefront [hidden] {
  display: none !important;
}

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

.prediction-storefront .prediction-header {
  background: #000000;
  border-bottom: 1px solid #321742;
  box-shadow: none;
}

.prediction-storefront .bingo-site-tabs {
  background: #180b22;
}

.prediction-storefront .bingo-site-tab {
  color: #d8cee1;
}

.prediction-storefront .bingo-site-tab.is-active {
  color: #ffffff;
  background: var(--prediction-accent-deep);
}

.prediction-menu-toggle,
.prediction-menu-scrim {
  display: none;
}

.prediction-language {
  position: relative;
  flex: 0 0 auto;
}

.prediction-language-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #5a3a6e;
  border-radius: 8px;
  color: #ffffff;
  background: #12091a;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.prediction-language-toggle:hover,
.prediction-language-toggle[aria-expanded="true"] {
  border-color: #a74aff;
  background: #2a1735;
}

.prediction-language-toggle:hover {
  transform: translateY(-1px);
}

.prediction-language-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.prediction-language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 90;
  display: grid;
  min-width: 124px;
  gap: 2px;
  padding: 4px;
  border: 1px solid #5a3a6e;
  border-radius: 8px;
  background: #12091a;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition: opacity 180ms ease-out, transform 180ms cubic-bezier(.22, 1, .36, 1), visibility 180ms step-end;
}

.prediction-language.is-open .prediction-language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 180ms ease-out, transform 180ms cubic-bezier(.22, 1, .36, 1), visibility 0ms step-start;
}

.prediction-language-menu button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #d8cee1;
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.prediction-language-menu button:hover,
.prediction-language-menu button:focus-visible,
.prediction-language-menu button.is-active {
  color: #ffffff;
  background: #570f8c;
}

.prediction-main,
.prediction-rules {
  min-height: calc(100vh - var(--bingo-site-header-offset));
  background: #000000;
}

.prediction-banner {
  position: static;
  width: 100%;
  aspect-ratio: 8 / 1;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.52);
}

.prediction-banner picture,
.prediction-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prediction-banner[hidden],
[data-legacy-banner-field][hidden],
[data-prediction-banner-create][hidden],
[data-banner-language-panel][hidden] { display: none; }

.admin-banner-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.admin-banner-tabs [role="tab"] { min-height: 44px; }
.admin-banner-tabs [aria-selected="true"] { background: #570f8c; color: #ffffff; }
.admin-banner-tabs [role="tab"]:focus-visible { outline: 2px solid #8300e3; outline-offset: 3px; }
.admin-banner-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-banner-fields > div { min-width: 0; }
@media (max-width: 767px) {
  .admin-banner-fields { grid-template-columns: minmax(0, 1fr); }
}

.prediction-content,
.prediction-rules-inner {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 48px 0 calc(288px + var(--prediction-safe-bottom));
}

.prediction-intro {
  display: grid;
  max-width: 880px;
  gap: 14px;
  margin-bottom: 40px;
}

.prediction-stats-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.prediction-intro h1,
.prediction-result h1,
.prediction-stats h1,
.prediction-rules h1 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.prediction-stats-heading > p {
  max-width: 34rem;
  margin: 0;
  color: var(--prediction-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: right;
}

.prediction-campaign-lead {
  margin: 2px 0 0;
  color: #cf92ff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.prediction-campaign-copy {
  display: grid;
  max-width: 70ch;
  gap: 6px;
  color: #e5ddea;
  font-size: 1rem;
  line-height: 1.65;
}

.prediction-campaign-copy p,
.prediction-selection-limit {
  margin: 0;
}

.prediction-campaign-question {
  color: #ffffff;
  font-weight: 800;
  text-wrap: balance;
}

.prediction-selection-limit {
  padding-top: 4px;
  color: var(--prediction-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.prediction-kicker {
  margin: 0;
  color: #cf92ff;
  font-size: 0.875rem;
  font-weight: 750;
}

.prediction-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
}

.prediction-team {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 200px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: opacity 200ms cubic-bezier(.22, 1, .36, 1), filter 200ms cubic-bezier(.22, 1, .36, 1), background 200ms cubic-bezier(.22, 1, .36, 1), box-shadow 200ms cubic-bezier(.22, 1, .36, 1);
}

.prediction-team:disabled {
  cursor: default;
}

.prediction-team.is-dimmed {
  opacity: 0.4;
  filter: saturate(0.35);
}

.prediction-team.is-dimmed:focus-visible {
  opacity: 0.78;
  filter: saturate(0.8);
}

.prediction-team.is-limit-disabled {
  opacity: 0.24;
  pointer-events: none;
}

.prediction-team.is-selected {
  background: #150a1f;
}

@media (hover: hover) {
  .prediction-team:not(:disabled):hover,
  .prediction-team:not(:disabled):focus-visible,
  .prediction-team.is-selected:hover,
  .prediction-team.is-selected:focus-visible {
    outline: 2px solid var(--prediction-accent);
    outline-offset: -2px;
    opacity: 1;
    filter: none;
    box-shadow: 0 0 18px rgba(131, 0, 227, 0.62);
  }
}

.prediction-team:focus-visible,
.prediction-tray-team:focus-visible,
.prediction-storefront .button:focus-visible,
.prediction-language-toggle:focus-visible,
.prediction-language-menu button:focus-visible {
  outline: 3px solid #d9a8ff;
  outline-offset: 3px;
}

.prediction-team-logo-wrap {
  position: relative;
  display: grid;
  width: clamp(82px, 10vw, 124px);
  height: clamp(82px, 10vw, 124px);
  place-items: center;
}

.prediction-team-logo,
.prediction-team-fallback {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prediction-team-fallback {
  display: none;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--prediction-accent-deep);
  font-size: 1.5rem;
  font-weight: 850;
}

.prediction-team-logo-wrap.is-image-error .prediction-team-logo {
  display: none;
}

.prediction-team-logo-wrap.is-image-error .prediction-team-fallback {
  display: grid;
}

.prediction-team-check {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--prediction-accent);
  font-weight: 900;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 180ms ease-out, transform 180ms cubic-bezier(.22, 1, .36, 1);
}

.prediction-team.is-selected .prediction-team-check {
  opacity: 1;
  transform: scale(1);
}

.prediction-team-name {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #f9f7fb;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.prediction-action-rail {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  box-sizing: border-box;
  height: calc(92px + var(--prediction-safe-bottom));
  overflow: hidden;
  padding: 12px 20px var(--prediction-safe-bottom);
  background: #0b0710;
  border-top: 1px solid #47295b;
  transition: height 220ms cubic-bezier(.22, 1, .36, 1);
}

.prediction-action-rail.is-has-selection {
  height: calc(264px + var(--prediction-safe-bottom));
}

.prediction-action-inner {
  display: flex;
  width: min(1160px, 100%);
  min-height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
}

.prediction-selection-summary {
  display: flex;
  min-width: 0;
  width: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.prediction-selection-summary > strong {
  font-size: 1rem;
}

.prediction-selection-tray {
  display: flex;
  width: 100%;
  max-width: min(560px, 56vw);
  justify-content: safe center;
  gap: 12px;
  height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  scrollbar-width: thin;
  transition: height 220ms cubic-bezier(.22, 1, .36, 1), padding 220ms cubic-bezier(.22, 1, .36, 1), opacity 160ms ease-out;
}

.prediction-action-rail.is-has-selection .prediction-selection-tray {
  height: 140px;
  overflow-x: auto;
  padding: 2px 0 4px;
  opacity: 1;
  pointer-events: auto;
}

.prediction-tray-team {
  display: inline-flex;
  position: relative;
  flex: 0 0 100px;
  min-height: 130px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 7px 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.prediction-tray-team:hover {
  border-color: rgba(131, 0, 227, 0.6);
  background: rgba(131, 0, 227, 0.14);
  transform: translateY(-1px);
}

.prediction-tray-logo-wrap {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
}

.prediction-tray-logo-wrap img,
.prediction-tray-logo-wrap > span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
}

.prediction-tray-logo-wrap img {
  object-fit: contain;
}

.prediction-tray-logo-wrap > span {
  display: none;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  background: var(--prediction-accent-deep);
}

.prediction-tray-logo-wrap.is-image-error img {
  display: none;
}

.prediction-tray-logo-wrap.is-image-error > span {
  display: grid;
}

.prediction-tray-name {
  display: -webkit-box;
  max-width: 94px;
  min-height: 2.4em;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.prediction-tray-team b {
  position: absolute;
  top: 1px;
  right: 4px;
  color: #d8cee1;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.78;
}

.prediction-action-buttons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.prediction-action-rail:not(.is-has-selection) .prediction-selection-actions:not(.prediction-login-action) {
  display: none;
}

.prediction-storefront .prediction-primary-button,
.prediction-storefront .prediction-secondary-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.prediction-storefront .prediction-primary-button {
  color: #ffffff;
  background: var(--prediction-accent);
}

.prediction-storefront .prediction-primary-button:hover:not(:disabled) {
  background: #941cff;
}

.prediction-storefront .prediction-secondary-button {
  color: #ffffff;
  background: #2a1735;
}

.prediction-storefront .button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.prediction-result {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.prediction-result > .prediction-kicker {
  color: #ffffff;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.15;
}

.prediction-ticket-code {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  white-space: nowrap;
}

.prediction-ticket-code > span,
.prediction-ticket-code > strong {
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  line-height: 1;
}

.prediction-result-time {
  margin: 10px 0 36px;
  color: var(--prediction-muted);
}

.prediction-result-teams {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.prediction-result-team {
  display: grid;
  width: clamp(176px, 22vw, 264px);
  justify-items: center;
  gap: 10px;
}

.prediction-result .prediction-team-logo-wrap,
.prediction-result .prediction-team-logo,
.prediction-result .prediction-team-fallback {
  width: clamp(164px, 20vw, 248px);
  height: clamp(164px, 20vw, 248px);
}

.prediction-result-team strong {
  font-size: 2.125rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-url-link {
  color: inherit;
  text-decoration: none;
}

.admin-url-link:hover code,
.admin-url-link:focus-visible code {
  border-color: var(--accent);
  color: var(--accent);
}

.prediction-result-status {
  max-width: 680px;
  margin: 38px auto 0;
  padding: 20px 24px;
  border-radius: 12px;
  color: #f6effb;
  background: #160b20;
}

.prediction-result-status[data-result-status="eligible"] {
  background: #261034;
}

.prediction-result-status[data-result-status="redeemed"] {
  background: #102219;
}

.prediction-result-status strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.125rem;
}

.prediction-result-status p {
  max-width: 65ch;
  margin: 0 auto;
  color: #ded5e5;
  line-height: 1.65;
}

.prediction-result-actions,
.prediction-stats-actions {
  margin-top: 28px;
}

.prediction-stats-actions {
  justify-content: flex-start;
}

body.is-prediction-submitted .prediction-content {
  padding-bottom: 64px;
}

.prediction-stats-list {
  display: grid;
  gap: 14px;
}

.prediction-stat-row {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(120px, 1fr) 74px;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 10px 0;
}

.prediction-stat-team {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.prediction-stat-team strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.prediction-stat-team em {
  grid-column: 2;
  color: #dba9ff;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 750;
}

.prediction-stat-logo-wrap {
  position: relative;
  display: grid;
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  place-items: center;
}

.prediction-stat-logo-wrap img,
.prediction-stat-logo-wrap span {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prediction-stat-logo-wrap span {
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--prediction-accent-deep);
}

.prediction-stat-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #24172b;
}

.prediction-stat-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--prediction-accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.prediction-stats-list.is-animated .prediction-stat-track span {
  transform: scaleX(var(--rate));
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.prediction-stat-value {
  color: #ffffff;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.prediction-stats-loading,
.prediction-stats-error,
.prediction-empty {
  padding: 32px 0;
  color: var(--prediction-muted);
  text-align: center;
}

.prediction-stats-error {
  color: #ffb6c0;
}

.prediction-rules-inner {
  max-width: 820px;
}

.prediction-rule-language {
  display: grid;
  gap: 40px;
  margin-top: 36px;
}

.prediction-rule-section h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.prediction-rule-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding-left: 24px;
  color: #e5ddea;
  font-size: 1rem;
  line-height: 1.7;
}

.prediction-rule-list li::marker {
  color: #c477ff;
  font-weight: 850;
}

.prediction-rule-details {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: #ffffff;
}

.prediction-rule-details li::marker {
  color: #c477ff;
}

.prediction-confirm-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 28px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: #12091a;
}

.prediction-confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.prediction-confirm-dialog h2 {
  margin: 6px 0 12px;
  font-size: 1.5rem;
}

.prediction-confirm-dialog p:not(.prediction-kicker) {
  color: var(--prediction-muted);
  line-height: 1.6;
}

.prediction-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.prediction-toast {
  position: fixed;
  right: 20px;
  bottom: calc(112px + var(--prediction-safe-bottom));
  z-index: 110;
  max-width: min(420px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: #173623;
}

.prediction-toast.is-error {
  background: #561c2a;
}

@media (min-width: 768px) {
  .prediction-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 14px;
  }
}

@media (max-width: 767px) {
  .prediction-storefront {
    --bingo-site-header-offset: 66px;
  }

  .prediction-storefront .bingo-site-header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    width: calc(100vw - 24px);
    min-height: 66px;
    padding: 8px 0;
  }

  .prediction-storefront .bingo-site-logo-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .prediction-storefront .bingo-site-logo {
    width: clamp(100px, 21vw, 132px);
  }

  .prediction-menu-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
  }

  .prediction-menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: currentColor;
    transition: transform 200ms ease-in-out, opacity 200ms ease-in-out;
  }

  .prediction-menu-toggle.is-active .prediction-menu-bar:nth-child(2) {
    opacity: 0;
  }

  .prediction-menu-toggle.is-active .prediction-menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .prediction-menu-toggle.is-active .prediction-menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .prediction-storefront .bingo-site-title {
    display: none;
  }

  .prediction-storefront .bingo-site-actions {
    position: fixed;
    z-index: 1;
    top: var(--bingo-site-header-offset);
    right: 0;
    bottom: 0;
    display: flex;
    width: min(84vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 16px;
    border-left: 1px solid #3b2948;
    background: #0b0610;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 200ms cubic-bezier(.22, 1, .36, 1), visibility 0ms step-end;
  }

  .prediction-storefront .bingo-site-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    gap: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .prediction-storefront .bingo-site-tab {
    min-height: 40px;
    width: 100%;
    padding: 0 12px;
    font-size: 0.9375rem;
    text-align: left;
  }

  .prediction-storefront .prediction-language {
    align-self: stretch;
  }

  .prediction-storefront .prediction-language-menu {
    position: static;
    display: none;
    width: 124px;
    margin-top: 8px;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .prediction-storefront .prediction-language.is-open .prediction-language-menu {
    display: grid;
    transform: none;
  }

  .prediction-language-toggle {
    width: 40px;
    height: 40px;
  }

  .prediction-storefront .bingo-site-actions.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 200ms cubic-bezier(.22, 1, .36, 1), visibility 0ms step-start;
  }

  .prediction-menu-scrim {
    position: fixed;
    z-index: 70;
    top: var(--bingo-site-header-offset);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease-out, visibility 0ms step-end;
  }

  body.prediction-menu-open {
    overflow: hidden;
  }

  body.prediction-menu-open .prediction-menu-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 200ms ease-out, visibility 0ms step-start;
  }

  .prediction-banner {
    position: sticky;
    top: var(--bingo-site-header-offset);
    z-index: 50;
    aspect-ratio: 4 / 1;
  }

  .prediction-content,
  .prediction-rules-inner {
    width: calc(100vw - 24px);
    padding-top: 30px;
    padding-bottom: calc(282px + var(--prediction-safe-bottom));
  }

  .prediction-intro,
  .prediction-stats-heading {
    display: grid;
    gap: 12px;
  }

  .prediction-intro h1,
  .prediction-result h1,
  .prediction-stats h1,
  .prediction-rules h1 {
    font-size: 1.625rem;
  }

  .prediction-stats-heading > p {
    text-align: left;
  }

  .prediction-intro {
    margin-bottom: 32px;
  }

  .prediction-campaign-lead {
    font-size: 1.0625rem;
  }

  .prediction-campaign-copy,
  .prediction-selection-limit {
    font-size: 0.9375rem;
  }

  .prediction-rule-language {
    gap: 32px;
    margin-top: 28px;
  }

  .prediction-rule-section h2 {
    font-size: 1.125rem;
  }

  .prediction-team-grid {
    gap: 12px 4px;
  }

  .prediction-team {
    min-height: 164px;
    padding: 8px 3px;
  }

  .prediction-team-logo-wrap {
    width: clamp(64px, 18vw, 88px);
    height: clamp(64px, 18vw, 88px);
  }

  .prediction-team-name {
    font-size: 0.9375rem;
  }

  .prediction-action-rail {
    padding-right: 12px;
    padding-left: 12px;
  }

  .prediction-action-inner {
    gap: 10px;
  }

  .prediction-selection-tray {
    max-width: calc(100vw - 24px);
  }

  .prediction-action-rail.is-has-selection {
    height: calc(254px + var(--prediction-safe-bottom));
  }

  .prediction-tray-team {
    flex-basis: 90px;
    min-height: 122px;
  }

  .prediction-tray-logo-wrap,
  .prediction-tray-logo-wrap img,
  .prediction-tray-logo-wrap > span {
    width: 60px;
    height: 60px;
  }

  .prediction-action-rail.is-has-selection .prediction-selection-tray {
    height: 130px;
  }

  .prediction-tray-name {
    max-width: 86px;
  }

  .prediction-action-buttons {
    width: 100%;
  }

  .prediction-action-buttons .button {
    flex: 1 1 0;
  }

  .prediction-result .prediction-team-logo-wrap,
  .prediction-result .prediction-team-logo,
  .prediction-result .prediction-team-fallback {
    width: clamp(128px, 36vw, 176px);
    height: clamp(128px, 36vw, 176px);
  }

  .prediction-result-team {
    width: clamp(136px, 38vw, 184px);
  }

  .prediction-result-team strong {
    font-size: 1.875rem;
  }

  body.is-prediction-submitted .prediction-content {
    padding-bottom: 48px;
  }

  .prediction-stat-row {
    grid-template-columns: minmax(100px, 132px) minmax(70px, 1fr) 58px;
    gap: 8px;
  }

  .prediction-stat-team {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
  }

  .prediction-stat-logo-wrap {
    width: 38px;
    height: 38px;
  }

  .prediction-stat-team strong,
  .prediction-stat-value {
    font-size: 0.8125rem;
  }

  .prediction-dialog-actions {
    flex-direction: column-reverse;
  }
}

@media (max-width: 360px) {
  .prediction-content,
  .prediction-rules-inner {
    width: calc(100vw - 16px);
  }

  .prediction-team-grid {
    gap: 8px 2px;
  }

  .prediction-team-name {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prediction-team,
  .prediction-team-check,
  .prediction-tray-team,
  .prediction-action-rail,
  .prediction-selection-tray,
  .prediction-language-toggle,
  .prediction-language-menu,
  .prediction-language-menu button,
  .prediction-menu-toggle,
  .prediction-menu-bar,
  .prediction-menu-scrim,
  .prediction-storefront .bingo-site-actions,
  .prediction-stat-track span {
    transition-duration: 1ms !important;
  }
}

.prediction-admin-team-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.prediction-admin-team-controls label,
.prediction-vote-search label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.prediction-team-table-wrap input {
  min-width: 220px;
}

.prediction-admin-team-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.prediction-admin-team-preview {
  display: inline-grid;
  min-width: 80px;
  min-height: 48px;
  align-items: center;
}

.prediction-admin-team-preview > * {
  grid-area: 1 / 1;
}

.prediction-outcome-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.prediction-outcome-options label {
  display: grid;
  grid-template-columns: auto 42px minmax(0, 1fr);
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft);
  cursor: pointer;
}

.prediction-outcome-options img,
.prediction-admin-team img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.prediction-admin-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tgs-storefront {
  --bingo-site-header-offset: 66px;
  --tgs-frame-max: 1250px;
  --tgs-page-frame: min(var(--tgs-frame-max), calc(100% - 48px));
  --tgs-purple: #570f8c;
  --tgs-bright-purple: #8300e3;
  --tgs-ink: #17121b;
  --tgs-paper: #ffffff;
  --tgs-line: #c8a6da;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--tgs-ink);
  background: var(--tgs-paper);
  font-family: "Noto Sans SC Variable", "Microsoft YaHei", "Segoe UI", sans-serif;
}

.tgs-side-balls {
  display: none;
}

@keyframes tgs-side-ball-rise {
  from {
    opacity: 0;
    transform: translateY(calc(110svh - var(--tgs-ball-top) + var(--tgs-ball-size))) rotate(calc(var(--tgs-ball-rotate) - var(--tgs-ball-rise-rotate)));
  }

  to {
    opacity: var(--tgs-ball-opacity, .92);
    transform: translateY(0) rotate(var(--tgs-ball-rotate));
  }
}

@media (min-width: 1440px) {
  .tgs-hero,
  .tgs-main,
  .tgs-storefront .bingo-site-footer {
    position: relative;
    z-index: 2;
  }

  .tgs-side-balls {
    --tgs-side-lane: calc((100vw - var(--tgs-frame-max)) / 4);
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    pointer-events: none;
  }

  .tgs-side-ball {
    position: absolute;
    top: var(--tgs-ball-top);
    display: block;
    width: var(--tgs-ball-size);
    height: var(--tgs-ball-size);
    transform: translate(calc(-50% + var(--tgs-ball-x)), calc(-50% + var(--tgs-ball-parallax, 0px))) scale(var(--tgs-ball-scale, 1));
    transform-origin: center;
    will-change: transform, opacity;
  }

  .tgs-side-ball--left {
    left: var(--tgs-side-lane);
  }

  .tgs-side-ball--right {
    left: var(--tgs-side-lane);
  }

  .tgs-ball-lane {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(2 * var(--tgs-side-lane));
    overflow: hidden;
    contain: paint;
  }

  .tgs-ball-lane--left { left: 0; }
  .tgs-ball-lane--right { right: 0; }

  .tgs-side-ball-push {
    display: block;
    width: 100%;
    height: 100%;
  }

  .tgs-side-ball img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(var(--tgs-ball-spin, 0deg));
  }

  .tgs-side-ball-float {
    display: block;
    width: 100%;
    height: 100%;
    transform: translate3d(var(--tgs-float-x, 0px), var(--tgs-float-y, 0px), 0);
  }

  .tgs-side-ball-motion {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: rotate(var(--tgs-ball-rotate));
  }

  .tgs-side-balls.is-ready .tgs-side-ball-motion {
    animation: tgs-side-ball-rise 1000ms cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--tgs-ball-delay);
  }

  .tgs-side-balls.is-settled .tgs-side-ball-motion {
    opacity: var(--tgs-ball-opacity, .92);
    animation: none;
  }
}

html[lang="ja"] .tgs-storefront {
  font-family: "Noto Sans JP Variable", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

.tgs-storefront .tgs-header {
  color: #ffffff;
  background: var(--tgs-purple);
  border-bottom: 1px solid #ffffff;
  box-shadow: none;
}

.tgs-storefront .tgs-header .bingo-site-header-inner {
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  width: var(--tgs-page-frame);
  padding: 0;
}

.tgs-storefront .tgs-header .bingo-site-logo-link {
  grid-column: 1;
  grid-row: 1;
}

.tgs-storefront .tgs-header .bingo-site-logo {
  width: 168px;
}

.tgs-storefront .tgs-header .bingo-site-title {
  grid-column: 2;
  grid-row: 1;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.tgs-header-title-image {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: min(420px, 32vw);
  max-height: 52px;
  object-fit: contain;
}

.tgs-header-balance {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 168px;
}

.tgs-sticky-stack {
  position: sticky;
  top: var(--bingo-site-header-offset);
  z-index: 70;
  width: 100%;
  background: var(--tgs-paper);
}

.tgs-hero {
  width: var(--tgs-page-frame);
  margin: 0 auto;
  padding: 0 0 clamp(18px, 2.4vw, 34px);
}

.tgs-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.31fr) minmax(0, 0.69fr);
  align-items: stretch;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
}

.tgs-hero-title-panel {
  contain: size;
  display: grid;
  align-items: center;
  min-width: 0;
  padding: clamp(36px, 4vw, 68px);
  overflow: hidden;
  background: var(--tgs-purple);
}

.tgs-hero-title,
.tgs-hero-title-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tgs-hero-title-lockup {
  display: grid;
  align-content: center;
  min-width: 0;
}

.tgs-hero-title-stack {
  display: grid;
  gap: clamp(10px, 1.3vw, 18px);
  width: min(100%, 430px);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.tgs-hero-title-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  opacity: 1;
  transform: translateY(0);
}

.tgs-hero.is-title-loading .tgs-hero-title-image {
  opacity: 0;
  transform: translateY(36px);
}

.tgs-hero.is-title-ready .tgs-hero-title-image {
  opacity: 1;
  transform: translateY(0);
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1), opacity 420ms ease-out;
  transition-delay: calc(var(--tgs-title-index) * 100ms);
}

.tgs-hero-brand-logo {
  display: block;
  width: min(279px, 58%);
  height: auto;
  margin-top: clamp(24px, 3vw, 42px);
  opacity: 0;
  transform: translateY(18px);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 360ms ease-out;
}

.tgs-hero-date {
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  color: #ffffff;
  font-family: "Barlow Condensed", "Noto Sans JP", "Noto Sans SC", Arial, sans-serif;
  font-size: clamp(24px, 2.15vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 360ms ease-out;
  transition-delay: 80ms;
}

.tgs-hero.is-brand-ready .tgs-hero-title-stack {
  transform: translateY(-34px);
}

.tgs-hero.is-brand-ready .tgs-hero-brand-logo,
.tgs-hero.is-brand-ready .tgs-hero-date {
  opacity: 1;
  transform: translateY(0);
}

.tgs-hero-visual {
  aspect-ratio: 13 / 10;
  position: relative;
  display: grid;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0612;
}

.tgs-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
}

.tgs-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 460ms ease-out;
}

.tgs-hero-slide.is-active {
  opacity: 1;
}

.tgs-hero-venue-badge {
  position: absolute;
  left: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2vw, 30px);
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(390px, calc(100% - 168px));
  padding: 16px 18px;
  color: #ffffff;
  background: rgba(87, 15, 140, 0.92);
  box-shadow: 10px 10px 0 rgba(131, 0, 227, 0.58);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 220ms ease-out, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.tgs-hero-venue-badge.is-active {
  opacity: 1;
  transform: translateY(0);
}

.tgs-hero-title-panel .tgs-hero-venue-badge {
  position: static;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  background: none;
  box-shadow: none;
  gap: 8px;
  transition: none;
}

.tgs-hero.is-title-loading .tgs-hero-title-panel .tgs-hero-venue-badge {
  opacity: 0;
}

.tgs-hero.is-title-ready:not(.is-brand-ready) .tgs-hero-title-panel .tgs-hero-venue-badge {
  opacity: 0;
}

.tgs-hero-title-panel .tgs-hero-venue-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}

.tgs-hero-title-panel .tgs-hero-venue-row strong {
  font-size: 18px;
  line-height: 1.25;
}

@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) {
  .tgs-hero .tgs-hero-title-panel {
    padding: 8px;
  }

  .tgs-hero-title-panel .tgs-hero-title-stack {
    width: min(100%, 72px);
    gap: 2px;
  }

  .tgs-hero-title-panel .tgs-hero-brand-logo {
    width: min(100%, 72px);
    margin-top: 3px;
  }

  .tgs-hero-title-panel .tgs-hero-date {
    margin-top: 4px;
  }

  .tgs-hero-title-panel .tgs-hero-venue-badge {
    margin-top: 6px;
    gap: 4px;
  }

  .tgs-hero-title-panel .tgs-hero-venue-row {
    gap: 1px;
  }

  .tgs-hero-title-panel .tgs-hero-venue-label {
    font-size: 8px;
  }

  .tgs-hero-title-panel .tgs-hero-venue-row strong {
    font-size: 10px;
    line-height: 1.2;
  }

  .tgs-hero.is-brand-ready .tgs-hero-title-panel .tgs-hero-title-stack {
    transform: none;
  }
}

.tgs-hero-venue-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.tgs-hero-venue-label {
  font-family: "Barlow Condensed", "Noto Sans JP", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tgs-hero-venue-row strong {
  min-width: 0;
  font-family: "Barlow Condensed", "Noto Sans JP", Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tgs-hero-control {
  --tgs-hero-control-scale: 1;

  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: calc(138px * var(--tgs-hero-control-scale));
  height: calc(232px * var(--tgs-hero-control-scale));
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.tgs-hero-control:hover,
.tgs-hero-control:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

.tgs-hero-control:active {
  transform: translateY(-50%) scale(0.96);
}

.tgs-hero-control svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transform: scaleX(calc(3 * var(--tgs-hero-control-scale))) scaleY(calc(4 * var(--tgs-hero-control-scale)));
  transform-origin: center;
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1), filter 200ms cubic-bezier(.22, 1, .36, 1);
}

.tgs-hero-control--prev:hover svg,
.tgs-hero-control--prev:focus-visible svg {
  filter: drop-shadow(calc(-12px * var(--tgs-hero-control-scale)) 0 0 rgb(131, 0, 227));
  transform: translateX(calc(-6px * var(--tgs-hero-control-scale))) scaleX(calc(3 * var(--tgs-hero-control-scale))) scaleY(calc(4 * var(--tgs-hero-control-scale)));
}

.tgs-hero-control--next:hover svg,
.tgs-hero-control--next:focus-visible svg {
  filter: drop-shadow(calc(12px * var(--tgs-hero-control-scale)) 0 0 rgb(131, 0, 227));
  transform: translateX(calc(6px * var(--tgs-hero-control-scale))) scaleX(calc(3 * var(--tgs-hero-control-scale))) scaleY(calc(4 * var(--tgs-hero-control-scale)));
}

.tgs-hero-control--prev {
  left: 0;
}

.tgs-hero-control--next {
  right: 0;
}

.tgs-hero-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.tgs-hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.tgs-hero-dot:hover,
.tgs-hero-dot:focus-visible,
.tgs-hero-dot.is-active {
  background: #ffffff;
  outline: none;
  transform: translateY(-2px);
}

.tgs-hero-visual-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  color: #ffffff;
  background: var(--tgs-purple);
}

.tgs-banner {
  width: 100%;
  height: auto;
  min-height: 0;
  margin-left: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--tgs-purple);
  background: #ffffff;
}

.tgs-banner picture,
.tgs-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.tgs-banner img {
  object-fit: contain;
}

.tgs-banner-placeholder {
  display: grid;
  width: 100%;
  height: min(5.208vw, 8svh, 100px);
  min-height: 36px;
}

.tgs-banner-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0 clamp(18px, 4vw, 74px);
  background-image: url("/apps/event/static/tgs-assets/circuit-print-frame.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tgs-banner-system,
.tgs-banner-release {
  color: var(--tgs-ink);
}

.tgs-banner-release {
  justify-self: end;
}

.tgs-banner-placeholder strong {
  padding: 7px 15px;
  color: #ffffff;
  background: var(--tgs-purple);
  font-size: 18px;
  font-weight: 800;
}

.tgs-quick-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-height: 54px;
  border-bottom: 1px solid var(--tgs-purple);
  background: #ffffff;
}

.tgs-quick-nav-button {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--tgs-line);
  border-radius: 0;
  color: var(--tgs-purple);
  background: #ffffff;
  cursor: pointer;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease-out, background-color 160ms ease-out;
}

.tgs-nav-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 24px;
}

.tgs-nav-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.tgs-quick-nav-button:last-child {
  border-right: 0;
}

.tgs-quick-nav-button:hover,
.tgs-quick-nav-button:focus-visible {
  color: var(--tgs-bright-purple);
  outline: 2px solid var(--tgs-bright-purple);
  outline-offset: -2px;
}

.tgs-quick-nav-button.is-active {
  color: #ffffff;
  background: var(--tgs-bright-purple);
}

.tgs-main {
  width: 100%;
  min-width: 0;
  background: #ffffff;
}

.tgs-section {
  width: 100%;
  scroll-margin-top: calc(var(--bingo-site-header-offset) + 190px);
  border-bottom: 1px solid var(--tgs-purple);
}

.tgs-section-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 104px);
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 142px) 0;
}

.tgs-section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 0 14px;
  min-width: 0;
}

.tgs-section-index {
  grid-row: 1 / span 2;
  min-width: 34px;
  color: #ffffff;
  background: var(--tgs-ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
}

.tgs-section-heading > div {
  min-width: 0;
}

.tgs-section-heading p {
  margin: 0 0 8px;
  color: var(--tgs-purple);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tgs-section-heading h1 {
  margin: 0;
  color: var(--tgs-purple);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(84px, 12vw, 178px);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

@media (min-width: 1021px) {
  .tgs-section-heading h1 {
    transform: scaleX(0.6);
    transform-origin: left center;
    white-space: nowrap;
  }
}

.tgs-section-rule {
  grid-column: 1 / -1;
  width: 100%;
  height: 13px;
  margin-top: 28px;
  border-top: 2px solid var(--tgs-purple);
  border-bottom: 1px dotted var(--tgs-bright-purple);
}

.tgs-activities {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.tgs-events-social {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  row-gap: 40px;
  min-width: 0;
  margin-top: 28px;
  width: 100%;
  align-items: start;
}

.tgs-social-divider {
  grid-column: 1 / -1;
}

.tgs-social-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.tgs-events-social-title {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--tgs-purple);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.tgs-events-social-display {
  font-family: "Teko", "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 144px;
  font-weight: 700;
  line-height: .85;
  letter-spacing: 0;
}

.tgs-events-social-description {
  max-width: 440px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.tgs-social-cards .tgs-events-social-link {
  padding: 30px 14px;
}

.tgs-social-cards .tgs-events-social-account {
  font-size: 28px;
  line-height: 1.1;
}

.tgs-social-cards .tgs-events-social-heading {
  font-size: 18px;
}

.tgs-events-social-link {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 20px;
  min-width: 0;
  min-height: 340px;
  padding: 38px clamp(22px, 3vw, 34px) 34px;
  overflow: hidden;
  border: 1px solid rgba(131, 0, 227, 0.78);
  border-radius: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 118%, rgba(131, 0, 227, 0.5) 0, rgba(131, 0, 227, 0) 48%),
    linear-gradient(180deg, #02030a 0%, #090522 48%, #570f8c 100%);
  box-shadow: 0 0 0 1px rgba(70, 0, 120, 0.9) inset, 0 18px 40px rgba(18, 0, 32, 0.34);
  text-decoration: none;
  text-align: center;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms cubic-bezier(.22, 1, .36, 1);
}

.tgs-events-social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  pointer-events: none;
}

.tgs-events-social-link:hover,
.tgs-events-social-link:focus-visible {
  color: #ffffff;
  border-color: var(--tgs-bright-purple);
  box-shadow: 0 0 0 1px var(--tgs-bright-purple) inset, 0 22px 46px rgba(87, 15, 140, 0.36);
  outline: 2px solid var(--tgs-bright-purple);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.tgs-events-social-heading,
.tgs-events-social-account,
.tgs-events-social-icon-frame,
.tgs-events-social-cta {
  position: relative;
  z-index: 1;
}

.tgs-events-social-heading {
  color: #ffffff;
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.tgs-events-social-account {
  display: block;
  min-width: 0;
  margin-top: -6px;
  color: var(--tgs-bright-purple);
  font-family: "Teko", "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(31px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tgs-events-social-icon-frame {
  display: grid;
  width: clamp(104px, 12vw, 132px);
  height: clamp(104px, 12vw, 132px);
  margin-top: 10px;
  place-items: center;
  background: #ffffff;
}

.tgs-events-social-icon {
  display: block;
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: invert(1);
}

.tgs-events-social-cta {
  align-self: end;
  margin-top: auto;
  padding: 12px 28px;
  color: #ffffff;
  background: var(--tgs-bright-purple);
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.tgs-activity {
  min-width: 0;
  background: #ffffff;
}

.tgs-activity-trigger {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 58px;
  width: 100%;
  height: 120px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tgs-ink);
  border-radius: 0;
  color: var(--tgs-purple);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.tgs-activity-trigger > img {
  display: block;
  grid-column: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tgs-activity-banner {
  position: relative;
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tgs-activity-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.7);
}

.tgs-activity-banner--placeholder {
  background-color: var(--tgs-ink);
}

.tgs-activity-banner--placeholder::before {
  background: var(--tgs-ink);
}

.tgs-activity-banner-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 12px 22px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-family: "Noto Sans JP", "Noto Sans SC", sans-serif;
  font-size: clamp(17px, 1.7vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.tgs-activity-index {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  color: #ffffff;
  background: var(--tgs-ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.tgs-activity-banner-placeholder {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  place-items: center start;
  padding: 0 18px;
  color: #ffffff;
  background: var(--tgs-ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.tgs-activity:nth-child(even) .tgs-activity-banner-placeholder {
  color: #ffffff;
}

.tgs-activity-command {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  place-items: center;
  color: #ffffff;
  background: var(--tgs-purple);
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 180ms ease-out, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.tgs-activity-command-symbol {
  grid-area: 1 / 1;
  line-height: 1;
}

.tgs-activity-trigger[aria-expanded="true"] {
  border-color: var(--tgs-bright-purple);
}

.tgs-activity-trigger[aria-expanded="true"] .tgs-activity-command {
  display: grid;
  place-items: center;
  background: var(--tgs-bright-purple);
  font-size: 0;
  transform: none;
}

.tgs-activity-trigger[aria-expanded="true"] .tgs-activity-command-symbol {
  display: none;
}

.tgs-activity-trigger[aria-expanded="true"] .tgs-activity-command::before {
  grid-area: 1 / 1;
  display: block;
  content: "x";
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.tgs-activity-trigger:hover .tgs-activity-command {
  background: var(--tgs-bright-purple);
}

.tgs-activity-trigger:focus-visible {
  outline: 3px solid var(--tgs-bright-purple);
  outline-offset: 3px;
}

.tgs-activity-panel {
  overflow: hidden;
  border: 1px solid var(--tgs-bright-purple);
  border-top: 0;
  background: var(--tgs-bright-purple);
}

.tgs-activity-panel[hidden] {
  display: none;
}

.tgs-activity-detail {
  display: grid;
  grid-template-columns: minmax(360px, 3fr) minmax(0, 7fr);
  min-height: 240px;
}

.tgs-activity-copy {
  display: contents;
}

.tgs-activity-copy[hidden] {
  display: none !important;
}

.tgs-activity-lead {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 34px clamp(24px, 3vw, 48px);
  color: #ffffff;
  background: var(--tgs-bright-purple);
}

.tgs-activity-status {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--tgs-bright-purple);
  background: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tgs-activity-lead h2,
.tgs-activity-lead p {
  margin: 0;
}

.tgs-activity-status {
  display: inline-block;
}

.tgs-activity-lead h2 {
  color: #ffffff;
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.tgs-activity-subtitle,
.tgs-activity-lead-description {
  max-width: 30ch;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-wrap: pretty;
}

.tgs-activity-content {
  display: grid;
  align-content: start;
  gap: 26px;
  min-width: 0;
  padding: 34px clamp(24px, 4vw, 58px);
  color: var(--tgs-purple);
  background: #ffffff;
}

.tgs-activity-content--pending {
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}

.tgs-activity-note {
  margin: 0;
  color: var(--tgs-purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.tgs-activity-group {
  min-width: 0;
}

.tgs-activity-group + .tgs-activity-group {
  padding-top: 26px;
}

.tgs-activity-group-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.tgs-activity-group-heading {
  min-width: 0;
}

.tgs-activity-group h3 {
  margin: 0;
  color: var(--tgs-purple);
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-wrap: balance;
}

.tgs-activity-group-heading p {
  max-width: 62ch;
  margin: 5px 0 0;
  color: var(--tgs-purple);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

.tgs-activity-group-icon {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #ffffff;
  background: var(--tgs-bright-purple);
}

.tgs-activity-icon-svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.tgs-activity-group-icon .tgs-activity-icon-svg {
  width: 20px;
  height: 20px;
}

.tgs-activity-items {
  display: grid;
  gap: 0;
  max-width: 72ch;
  margin: 0;
  padding: 0;
  color: var(--tgs-purple);
  list-style: none;
}

.tgs-activity-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  padding: 12px 0;
}

.tgs-activity-item:last-child {
  padding-bottom: 0;
}

.tgs-activity-item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--tgs-purple);
  font-size: 14px;
  line-height: 1.5;
}

.tgs-activity-item-copy strong {
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.tgs-activity-item-copy span {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.tgs-activity-coupon {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 2px;
  margin-top: 0;
  padding: 0;
  color: #ffffff;
  background: none;
}

.tgs-activity-pager {
  position: relative;
  min-width: 0;
}

.tgs-activity-pager [hidden] { display: none !important; }

.tgs-activity-pager.is-enhanced .tgs-activity-group-header {
  padding: 0 44px;
  min-height: 44px;
  gap: 8px;
  align-items: start;
}

.tgs-activity-pager.is-enhanced .tgs-activity-group {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.tgs-activity-pager.is-enhanced .tgs-activity-group-header h3 {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.tgs-activity-pager.is-enhanced .tgs-activity-group-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
}

.tgs-activity-content:has([data-activity-pager]) {
  padding-left: 16px;
  padding-right: 16px;
}

.tgs-activity-page-arrow {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: var(--tgs-purple);
  background: transparent;
  cursor: pointer;
  --tgs-arrow-travel: -12px;
}

.tgs-activity-page-arrow[data-activity-page-step="1"] {
  left: auto;
  right: 0;
  --tgs-arrow-travel: 12px;
}

.tgs-activity-page-arrow::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--tgs-bright-purple);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m15 18-6-6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  animation: tgs-page-pulse 1s ease-out infinite;
}

.tgs-activity-page-arrow[data-activity-page-step="1"]::before {
  scale: -1 1;
  --tgs-arrow-travel: -12px;
}

.tgs-activity-page-arrow:focus-visible {
  outline: 2px solid var(--tgs-bright-purple);
  outline-offset: 4px;
}

@keyframes tgs-page-pulse {
  from { transform: translateX(0); opacity: .65; }
  to { transform: translateX(var(--tgs-arrow-travel)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tgs-activity-page-arrow::before { animation: none; opacity: 0; }
}

.tgs-activity-coupon-label {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.tgs-activity-coupon strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 49px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .tgs-activity-coupon strong { font-size: 29px; }
}

.tgs-media-placeholder {
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.tgs-guests-section {
  background: #ffffff;
}

.tgs-guests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2vw, 30px);
  min-width: 0;
  padding: 10px 16px 18px 10px;
}

.tgs-guest {
  min-width: 0;
}

.tgs-guest-link {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  color: inherit;
  text-decoration: none;
}

.tgs-guest-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(131, 0, 227);
  opacity: 0;
  transform: translate(0, 0);
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1), opacity 180ms ease-out;
}

.tgs-guest-link.is-disabled {
  cursor: default;
}

.tgs-guest-link:focus-visible {
  outline: 3px solid var(--tgs-bright-purple);
  outline-offset: 4px;
}

.tgs-guest-card {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--tgs-ink);
  border-radius: 0;
  background: #ffffff;
  transform: translate(0, 0);
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

@media (hover: hover) {
  .tgs-guest-link:not(.is-disabled):hover::before {
    opacity: 1;
    transform: translate(14px, 14px);
  }

  .tgs-guest-link:not(.is-disabled):hover .tgs-guest-card {
    transform: translate(-10px, -10px);
  }
}

.tgs-guest-link:focus-visible::before,
.tgs-guest-link:focus-within::before {
  opacity: 1;
  transform: translate(14px, 14px);
}

.tgs-guest-link:focus-visible .tgs-guest-card,
.tgs-guest-link:focus-within .tgs-guest-card {
  transform: translate(-10px, -10px);
}

@media (prefers-reduced-motion: reduce) {
  .tgs-guest-link::before,
  .tgs-guest-card {
    transition-duration: 1ms !important;
  }
}

.tgs-guest-background,
.tgs-guest-portrait,
.tgs-guest-portrait-placeholder {
  position: absolute;
  display: block;
}

.tgs-guest-background {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tgs-guest-background-placeholder {
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.68;
}

.tgs-guest-portrait {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.tgs-guest-portrait-placeholder {
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 14px;
  color: #ffffff;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tgs-guest-portrait-placeholder > span {
  padding: 6px 7px;
  background: var(--tgs-purple);
  writing-mode: vertical-rl;
}

.tgs-guest-caption {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}

.tgs-guest-code {
  display: grid;
  min-height: 28px;
  place-items: center;
  color: #ffffff;
  background: var(--tgs-ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.tgs-guest-name {
  min-width: 0;
  margin: 0;
  color: var(--tgs-purple);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

html[lang="ja"] .tgs-guest-name,
html[lang="zh-CN"] .tgs-guest-name {
  font-family: inherit;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 900;
  text-transform: none;
}

.tgs-venue-section {
  background: #ffffff;
}

.tgs-venue-media {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--tgs-purple);
  background: #ffffff;
}

.tgs-venue-media img,
.tgs-venue-media .tgs-media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.tgs-venue-media img {
  object-fit: cover;
}

.tgs-venue-placeholder {
  color: var(--tgs-purple);
  background-color: #ffffff;
  background-image: url("/apps/event/static/tgs-assets/circuit-print-frame.png");
  background-position: center;
  background-size: cover;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  text-transform: uppercase;
}

.tgs-storefront .bingo-site-footer {
  color: #ffffff;
  background: var(--tgs-purple);
}

.tgs-storefront .bingo-site-footer a,
.tgs-storefront .bingo-site-footer-contact,
.tgs-storefront .bingo-site-footer-social-link {
  color: #ffffff;
}

.tgs-language {
  position: fixed;
  right: env(safe-area-inset-right, 0px);
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 100;
}

.tgs-language-toggle {
  display: grid;
  width: 78px;
  height: 78px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--tgs-ink);
  border-radius: 0;
  color: #ffffff;
  background: var(--tgs-bright-purple);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}

.tgs-language-toggle svg {
  width: 36px;
  height: 36px;
}

.tgs-language-toggle:hover,
.tgs-language-toggle:focus-visible,
.tgs-language.is-open .tgs-language-toggle {
  background: var(--tgs-purple);
  outline: 2px solid var(--tgs-purple);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.tgs-language-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  width: 126px;
  padding: 4px;
  border: 1px solid var(--tgs-ink);
  background: #ffffff;
  box-shadow: none;
}

.tgs-language-menu[hidden] {
  display: none;
}

.tgs-language-menu button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  color: var(--tgs-purple);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.tgs-language-menu button:hover,
.tgs-language-menu button:focus-visible,
.tgs-language-menu button.is-active {
  color: #ffffff;
  background: var(--tgs-purple);
  outline: none;
}

@media (max-width: 1020px) {
  .tgs-storefront {
    --tgs-page-frame: calc(100% - 40px);
  }

  .tgs-hero-inner {
    grid-template-columns: minmax(210px, 0.33fr) minmax(0, 0.67fr);
    height: auto;
    min-height: 0;
  }

  .tgs-hero-title-panel {
    min-height: 0;
    padding: clamp(28px, 7vw, 58px);
  }

  .tgs-hero-title-stack {
    width: min(100%, 360px);
  }

  .tgs-hero-visual {
    aspect-ratio: 13 / 10;
  }

  .tgs-hero-control {
    --tgs-hero-control-scale: 0.826;
  }

  .tgs-hero-dots {
    right: 12px;
    bottom: 12px;
  }

  .tgs-hero-dot {
    width: 27px;
    height: 4px;
  }

  .tgs-section-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    width: min(920px, calc(100% - 48px));
  }

  .tgs-section-heading {
    max-width: 560px;
  }

  .tgs-section-heading h1 {
    font-size: clamp(74px, 16vw, 136px);
  }

  .tgs-guests {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .tgs-storefront {
    --bingo-site-header-offset: 68px;
    --tgs-page-frame: calc(100% - 28px);
  }

  .tgs-storefront .tgs-header .bingo-site-header-inner {
    grid-template-columns: minmax(82px, 1fr) minmax(0, auto) minmax(82px, 1fr);
    width: var(--tgs-page-frame);
    min-height: 68px;
    gap: 8px;
  }

  .tgs-storefront .tgs-header .bingo-site-logo,
  .tgs-header-balance {
    width: clamp(78px, 24vw, 104px);
  }

  .tgs-storefront .tgs-header .bingo-site-title {
    font-size: 24px;
  }

  .tgs-header-title-image {
    width: clamp(74px, 30vw, 210px);
    max-height: 36px;
  }

  .tgs-hero {
    padding: 0 0 18px;
  }

  .tgs-hero-inner {
    grid-template-columns: minmax(108px, 0.36fr) minmax(0, 0.64fr);
    height: auto;
    min-height: 0;
  }

  .tgs-hero-title-panel {
    min-height: 0;
    padding: clamp(12px, 4vw, 22px);
  }

  .tgs-hero-title-stack {
    width: min(100%, 170px);
    gap: clamp(4px, 1.7vw, 8px);
  }

  .tgs-hero-brand-logo {
    width: min(160px, 100%);
    margin-top: 18px;
  }

  .tgs-hero-date {
    margin-top: 8px;
    font-size: clamp(9px, 2.1vw, 13px);
  }

  .tgs-hero-visual,
  .tgs-hero-slides {
    aspect-ratio: 13 / 10;
  }

  .tgs-hero-slide {
    object-fit: contain;
  }

  .tgs-hero-control {
    --tgs-hero-control-scale: 0.652;
  }

  .tgs-hero-dots {
    right: 8px;
    bottom: 8px;
    gap: 5px;
  }

  .tgs-hero-dot {
    width: 18px;
    height: 3px;
  }

  .tgs-hero-venue-badge {
    right: 8px;
    bottom: 8px;
    left: 8px;
    gap: 4px;
    width: auto;
    padding: 8px 9px;
    box-shadow: 5px 5px 0 rgba(131, 0, 227, 0.52);
  }

  .tgs-hero-venue-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 6px;
  }

  .tgs-hero-venue-label {
    font-size: 9px;
  }

  .tgs-hero-venue-row strong {
    font-size: clamp(10px, 2.3vw, 13px);
    line-height: 1.05;
  }

  .tgs-hero.is-brand-ready .tgs-hero-title-stack {
    transform: translateY(-18px);
  }

  .tgs-banner-placeholder {
    height: min(9.778vw, 6svh, 44px);
    min-height: 24px;
  }

  .tgs-banner-placeholder {
    padding: 0 12px;
    background-size: auto 100%;
    font-size: 10px;
  }

  .tgs-banner-placeholder strong {
    padding: 5px 8px;
    font-size: 13px;
  }

  .tgs-banner-release {
    display: none;
  }

  .tgs-quick-nav,
  .tgs-quick-nav-button {
    min-height: 48px;
  }

  .tgs-quick-nav-button {
    padding: 0 8px;
    font-size: 17px;
  }

  .tgs-nav-icon,
  .tgs-nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .tgs-nav-icon {
    flex-basis: 20px;
  }

  .tgs-section-inner {
    width: 100%;
    padding: 58px 0 66px;
  }

  .tgs-section-heading {
    gap: 0 10px;
  }

  .tgs-section-index {
    min-width: 28px;
    font-size: 16px;
    line-height: 28px;
  }

  .tgs-section-heading p {
    font-size: 12px;
  }

  .tgs-section-heading h1 {
    font-size: clamp(70px, 23vw, 116px);
  }

  .tgs-section-rule {
    margin-top: 18px;
  }

  .tgs-activities {
    gap: 8px;
  }

  .tgs-events-social {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
  }

  .tgs-events-social-display {
    font-size: 96px;
  }

  .tgs-social-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgs-events-social-description {
    font-size: 14px;
  }

  .tgs-events-social-link {
    gap: 16px;
    min-height: 284px;
    padding: 28px 18px 26px;
  }

  .tgs-events-social-heading {
    font-size: 18px;
  }

  .tgs-events-social-account {
    font-size: 36px;
  }

  .tgs-events-social-icon-frame {
    width: 96px;
    height: 96px;
    margin-top: 4px;
  }

  .tgs-events-social-cta {
    padding: 11px 24px;
    font-size: 14px;
  }

  .tgs-activity-trigger {
    grid-template-columns: 58px minmax(0, 1fr) 46px;
    height: 96px;
  }

  .tgs-activity-index {
    font-size: 25px;
  }

  .tgs-activity-banner-placeholder {
    padding: 0 12px;
    font-size: 29px;
  }

  .tgs-activity-banner-title {
    padding: 10px 14px;
  }

  .tgs-activity-command {
    font-size: 26px;
  }

  .tgs-activity-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgs-activity-lead,
  .tgs-activity-content {
    min-height: 0;
    padding: 30px 24px;
  }

  .tgs-activity-lead {
    gap: 10px;
  }

  .tgs-guests {
    gap: 22px 12px;
  }

  .tgs-guest-caption {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
    margin-top: 8px;
  }

  .tgs-guest-code {
    min-height: 25px;
    font-size: 11px;
  }

  .tgs-guest-name {
    font-size: 23px;
  }

  .tgs-language {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .tgs-language-toggle {
    width: 48px;
    height: 48px;
  }

  .tgs-language-toggle svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .tgs-guests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 38px;
  }

  .tgs-venue-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 360px) {
  .tgs-storefront {
    --tgs-page-frame: calc(100% - 20px);
  }

  .tgs-storefront .tgs-header .bingo-site-header-inner {
    grid-template-columns: minmax(68px, 1fr) minmax(0, auto) minmax(68px, 1fr);
  }

  .tgs-storefront .tgs-header .bingo-site-logo,
  .tgs-header-balance {
    width: clamp(66px, 23vw, 88px);
  }

  .tgs-hero-inner {
    grid-template-columns: minmax(102px, 0.38fr) minmax(0, 0.62fr);
  }

  .tgs-hero-title-panel {
    padding: 10px;
  }

  .tgs-hero-title-stack {
    width: min(100%, 142px);
  }

  .tgs-hero-brand-logo {
    width: min(132px, 100%);
    margin-top: 15px;
  }

  .tgs-hero-date {
    font-size: 9px;
  }

  .tgs-hero-venue-badge {
    right: 6px;
    bottom: 6px;
    left: 6px;
    padding: 6px 7px;
  }

  .tgs-hero-venue-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px;
  }

  .tgs-hero-venue-label {
    font-size: 8px;
  }

  .tgs-hero-venue-row strong {
    font-size: 9px;
  }

  .tgs-events-social-link {
    min-height: 260px;
    padding: 24px 14px;
  }

  .tgs-events-social-heading {
    font-size: 16px;
  }

  .tgs-events-social-account {
    font-size: 31px;
  }

  .tgs-events-social-icon-frame {
    width: 84px;
    height: 84px;
  }

  .tgs-storefront .bingo-site-footer-logo {
    width: min(150px, 100%);
  }

  .tgs-storefront .bingo-site-footer-meta,
  .tgs-storefront .bingo-site-footer-contact {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .tgs-section-inner {
    width: 100%;
  }

  .tgs-banner-system {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .tgs-hero {
    padding: 0 0 12px;
  }

  .tgs-hero-inner {
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.66fr);
    height: auto;
    min-height: 0;
  }

  .tgs-hero-title-panel {
    min-height: 0;
    padding: clamp(18px, 4vw, 30px);
  }

  .tgs-hero-title-stack {
    width: min(100%, 230px);
    gap: 6px;
  }

  .tgs-hero-brand-logo {
    width: min(170px, 64%);
    margin-top: 18px;
  }

  .tgs-hero-date {
    margin-top: 7px;
    font-size: clamp(9px, 2vw, 12px);
  }

  .tgs-hero.is-brand-ready .tgs-hero-title-stack {
    transform: translateY(-14px);
  }

  .tgs-hero-visual {
    aspect-ratio: 13 / 10;
  }

  .tgs-hero-slides {
    aspect-ratio: 13 / 10;
  }

  .tgs-hero-slide {
    object-fit: contain;
  }

  .tgs-hero-control {
    --tgs-hero-control-scale: 0.609;
  }

  .tgs-hero-dots {
    right: 8px;
    bottom: 7px;
  }

  .tgs-hero-dot {
    width: 16px;
    height: 3px;
  }

  .tgs-hero-venue-badge {
    right: 8px;
    bottom: 7px;
    left: 8px;
    width: auto;
    padding: 7px 8px;
    box-shadow: 5px 5px 0 rgba(131, 0, 227, 0.52);
  }

  .tgs-hero-venue-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 6px;
  }

  .tgs-hero-venue-label {
    font-size: 9px;
  }

  .tgs-hero-venue-row strong {
    font-size: clamp(10px, 1.8vw, 12px);
  }

  .tgs-banner-placeholder {
    height: 21.333px;
    min-height: 21.333px;
  }

  .tgs-banner-placeholder {
    background-size: cover;
    font-size: 9px;
  }

  .tgs-banner-placeholder strong {
    padding: 3px 6px;
    font-size: 11px;
  }

  .tgs-quick-nav,
  .tgs-quick-nav-button {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tgs-hero.is-title-loading .tgs-hero-title-image,
  .tgs-hero.is-title-ready .tgs-hero-title-image {
    opacity: 1;
    transform: none;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .tgs-hero-title-stack,
  .tgs-hero-brand-logo,
  .tgs-hero-date {
    transform: none !important;
    transition-duration: 1ms !important;
  }

  .tgs-side-balls.is-ready .tgs-side-ball-motion,
  .tgs-side-balls.is-settled .tgs-side-ball-motion {
    opacity: var(--tgs-ball-opacity, .9);
    animation: none !important;
  }

  .tgs-quick-nav-button,
  .tgs-activity-command,
  .tgs-language-toggle,
  .tgs-hero-slide,
  .tgs-hero-control,
  .tgs-hero-control svg,
  .tgs-hero-dot,
  .tgs-hero-venue-badge,
  .tgs-events-social-link,
  .tgs-side-ball {
    transition-duration: 1ms !important;
  }
}

/* TGS print frame: bitmap details mirror the supplied poster reference. */
.tgs-sticky-stack {
  background: #ffffff;
}

.tgs-sticky-frame {
  width: var(--tgs-page-frame);
  margin-right: auto;
  margin-left: auto;
}

.tgs-main {
  width: var(--tgs-page-frame);
  margin-right: auto;
  margin-left: auto;
}

.tgs-main {
  overflow: hidden;
}

.tgs-print-divider {
  width: 100%;
  height: 34px;
  overflow: hidden;
  background: #ffffff;
}

.tgs-print-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tgs-section {
  border-bottom: 0;
}

.tgs-section-inner {
  grid-template-columns: minmax(430px, 0.38fr) minmax(0, 1fr);
  gap: clamp(42px, 4vw, 76px);
  width: 100%;
  padding: clamp(46px, 4vw, 70px) 0;
}

.tgs-events-section .tgs-section-inner {
  grid-template-columns: minmax(560px, 0.42fr) minmax(0, 1fr);
  padding-top: 26px;
  padding-bottom: 30px;
}

.tgs-poster-heading {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: visible;
}

.tgs-poster-heading .tgs-poster-copy {
  position: relative;
  z-index: 1;
}

html .tgs-poster-heading h1.tgs-poster-display {
  margin: 0;
  color: var(--tgs-purple);
  font-family: "Teko", "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(238px, 18.8vw, 362px);
  font-weight: 700;
  line-height: 0.69;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.tgs-poster-subtitle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: var(--tgs-purple);
}

.tgs-poster-subtitle strong {
  font-family: "Noto Sans JP Variable", "Noto Sans SC Variable", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.tgs-poster-subtitle span {
  display: block;
  width: 46px;
  height: 14px;
  border-top: 2px solid var(--tgs-purple);
  border-left: 2px solid var(--tgs-purple);
}

.tgs-poster-subtitle em,
.tgs-guests-signal,
.tgs-events-protocol,
.tgs-events-version,
.tgs-events-location {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tgs-poster-subtitle em {
  font-size: 13px;
  line-height: 1;
}

.tgs-events-left-pixel-falloff {
  position: absolute;
  top: 76px;
  left: -74px;
  z-index: 0;
  display: block;
  width: 102px;
  height: 406px;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}

.tgs-events-meta {
  position: relative;
  width: min(100%, 560px);
  min-height: 132px;
  margin-top: 48px;
  overflow: hidden;
}

.tgs-events-meta > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.tgs-events-location,
.tgs-events-protocol,
.tgs-events-version {
  position: absolute;
  z-index: 1;
  color: var(--tgs-ink);
  line-height: 0.9;
}

.tgs-events-location {
  top: 47px;
  left: 5%;
  font-size: 20px;
}

.tgs-events-protocol {
  top: 51px;
  left: 27%;
  font-size: 13px;
}

.tgs-events-version {
  top: 79px;
  left: 27%;
  font-size: 14px;
}

.tgs-events-section .tgs-activities {
  padding-top: 0;
}

.tgs-guests-heading {
  min-height: 300px;
}

html .tgs-guests-heading h1.tgs-poster-display {
  font-size: clamp(202px, 16.8vw, 322px);
}

.tgs-guests-signal {
  width: 100%;
  margin: 34px 0 0;
  padding: 10px 0 0;
  border-top: 2px solid var(--tgs-purple);
  color: var(--tgs-purple);
  font-size: 14px;
  line-height: 1;
}

.tgs-guests-section .tgs-section-inner,
.tgs-venue-section .tgs-section-inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.tgs-guests-section .tgs-section-inner {
  padding-top: 46px;
  padding-bottom: 54px;
}

.tgs-guests-heading,
.tgs-venue-heading {
  min-height: 0;
}

.tgs-guests-heading .tgs-poster-copy {
  width: min(100%, 620px);
}

.tgs-guests-section .tgs-guests {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tgs-guest-portrait {
  color: transparent;
  font-size: 0;
}

.tgs-guest-card.is-portrait-error .tgs-guest-portrait {
  display: none;
}

.tgs-venue-section .tgs-section-inner {
  padding-top: 46px;
  padding-bottom: 76px;
}

.tgs-venue-heading .tgs-poster-copy {
  width: min(100%, 620px);
}

html .tgs-venue-heading h1.tgs-poster-display {
  font-size: clamp(190px, 15.8vw, 304px);
}

.tgs-venue-media {
  display: grid;
  width: 100%;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  background: #ffffff;
}

.tgs-venue-gallery {
  display: grid;
  width: calc(100% - 32px);
  gap: clamp(22px, 3vw, 44px);
  margin: 0 auto;
}

.tgs-venue-media > * {
  grid-area: 1 / 1;
}

.tgs-venue-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tgs-venue-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  color: var(--tgs-purple);
  font-size: clamp(32px, 4vw, 58px);
}

@media (max-width: 1500px) {
  .tgs-side-ball {
    --tgs-ball-scale: .72;
  }

  .tgs-activity-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1020px) {
  .tgs-main {
    width: var(--tgs-page-frame);
  }

  .tgs-section-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    width: 100%;
  }

  .tgs-events-section .tgs-section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgs-activity-trigger {
    height: 104px;
  }

  .tgs-activity-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgs-poster-heading {
    min-height: 0;
  }

  .tgs-events-left-pixel-falloff {
    display: none;
  }

  .tgs-events-section .tgs-activities {
    padding-top: 0;
  }

  .tgs-events-social {
    grid-column: 1;
  }

  .tgs-events-meta {
    max-width: 560px;
  }

  .tgs-guests-section .tgs-guests {
    width: min(100%, 760px);
  }
}

@media (max-width: 767px) {
  .tgs-main {
    width: var(--tgs-page-frame);
  }

  .tgs-print-divider {
    height: 20px;
  }

  .tgs-section-inner,
  .tgs-events-section .tgs-section-inner {
    padding: 36px 0 48px;
  }

  .tgs-activity-trigger {
    height: 96px;
  }

  .tgs-activity-group-header {
    gap: 10px;
  }

  .tgs-activity-group h3 {
    font-size: 17px;
  }

  .tgs-activity-group-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .tgs-activity-item-copy {
    font-size: 13px;
  }

  .tgs-activity-item-copy strong {
    font-size: 14px;
  }

  html .tgs-poster-heading h1.tgs-poster-display {
    font-size: clamp(100px, 30.5vw, 170px);
  }

  html .tgs-guests-heading h1.tgs-poster-display {
    font-size: clamp(112px, 32vw, 186px);
  }

  html .tgs-venue-heading h1.tgs-poster-display {
    font-size: clamp(108px, 29vw, 172px);
  }

  .tgs-poster-subtitle {
    gap: 10px;
    margin-top: 22px;
  }

  .tgs-poster-subtitle strong {
    font-size: 11px;
  }

  .tgs-poster-subtitle span {
    width: 32px;
    height: 10px;
  }

  .tgs-poster-subtitle em,
  .tgs-guests-signal {
    font-size: 11px;
  }

  .tgs-events-meta {
    min-height: 94px;
    margin-top: 30px;
  }

  .tgs-events-location {
    top: 33px;
    font-size: 14px;
  }

  .tgs-events-protocol {
    top: 35px;
    font-size: 10px;
  }

  .tgs-events-version {
    top: 56px;
    font-size: 11px;
  }

  .tgs-guests-signal {
    margin-top: 22px;
  }

  .tgs-guests-section .tgs-section-inner,
  .tgs-venue-section .tgs-section-inner {
    gap: 26px;
  }

  .tgs-guests-section .tgs-guests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: start;
    width: 100%;
    gap: 12px;
  }

  .tgs-guests-section .tgs-guest-name {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }

  .tgs-venue-section .tgs-section-inner {
    padding-bottom: 52px;
  }

  .tgs-venue-media {
    aspect-ratio: auto;
  }

  .tgs-venue-gallery {
    width: calc(100% - 20px);
  }
}

@media (max-width: 360px) {
  .tgs-main {
    width: var(--tgs-page-frame);
  }

  html .tgs-poster-heading h1.tgs-poster-display {
    font-size: 96px;
  }

  html .tgs-guests-heading h1.tgs-poster-display {
    font-size: 90px;
  }

  html .tgs-venue-heading h1.tgs-poster-display {
    font-size: 90px;
  }
}

.prediction-vote-search {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
}

.prediction-vote-search label {
  width: min(420px, 100%);
}

@media (max-width: 760px) {
  .prediction-admin-team-controls {
    grid-template-columns: 1fr;
  }

  .prediction-vote-search {
    align-items: stretch;
    flex-direction: column;
  }
}

.invitational-storefront {
  --invitational-black: #050506;
  --invitational-panel: #0c0d0e;
  --invitational-green: #BFD732;
  --invitational-north-green: #C2FE0E;
  --invitational-footer-green: #8EA326;
  --invitational-purple: #9010F6;
  --invitational-white: #ffffff;
  --invitational-muted: #bbb8c1;
  --invitational-line: rgba(191, 215, 50, 0.32);
  background: var(--invitational-black);
  color: var(--invitational-white);
  overflow-x: clip;
}

.invitational-header {
  background: var(--invitational-black);
  color: var(--invitational-white);
  border-bottom: 1px solid rgba(191, 215, 50, 0.28);
}

.invitational-header .bingo-site-header-inner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
}

.invitational-header .bingo-site-title {
  justify-self: center;
  color: var(--invitational-white);
  text-transform: uppercase;
  letter-spacing: 0;
}

.invitational-header-balance {
  width: 120px;
}

.invitational-main {
  min-height: calc(100svh - var(--bingo-site-header-offset));
  padding: clamp(22px, 4vw, 52px) 0 0;
}

.invitational-winner,
.invitational-copy-block,
.invitational-teams,
.invitational-quick-links {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.invitational-poster {
  width: 100%;
  margin: 0;
}

.invitational-poster-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  min-height: clamp(340px, 44vw, 560px);
  width: 100%;
  padding: clamp(28px, 5vw, 68px) max(24px, calc((100vw - 1240px) / 2 + 24px));
  overflow: hidden;
  color: var(--invitational-white);
  border-top: 1px solid var(--invitational-line);
  border-bottom: 1px solid rgba(144, 16, 246, 0.48);
  background: var(--invitational-black);
  isolation: isolate;
}

.invitational-poster-stage::before,
.invitational-poster-stage::after {
  content: "";
  position: relative;
  grid-area: 1 / 1 / 2 / 3;
  align-self: stretch;
  justify-self: stretch;
  pointer-events: none;
  z-index: 0;
}

.invitational-poster-stage::before {
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
  opacity: 0.42;
}

.invitational-poster-stage::after {
  background: linear-gradient(90deg, rgba(191, 215, 50, 0.14), transparent 28%, transparent 72%, rgba(144, 16, 246, 0.16));
}

.invitational-poster-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 270px);
  aspect-ratio: 1;
  place-items: center;
  color: var(--invitational-black);
  background: var(--invitational-green);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.invitational-poster-mark span {
  color: var(--invitational-black);
  font-size: clamp(70px, 10vw, 132px);
  font-weight: 950;
  line-height: 1;
}

.invitational-poster-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.invitational-poster-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--invitational-white);
  font-size: clamp(46px, 8vw, 112px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.invitational-poster-copy p {
  display: inline-block;
  margin: clamp(18px, 3vw, 34px) 0 0;
  padding: 10px 18px;
  color: var(--invitational-black);
  background: var(--invitational-green);
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.invitational-winner {
  padding: clamp(42px, 7vw, 84px) 0 0;
}

.invitational-winner h2,
.invitational-copy-block h2,
.invitational-team-section h2 {
  margin: 0 0 18px;
  color: var(--invitational-white);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.invitational-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.invitational-score-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--invitational-green);
}

.invitational-score-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.invitational-score-table th {
  padding: 11px 8px;
  color: var(--invitational-white);
  background: var(--invitational-purple);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 900;
  line-height: 1;
  text-align: left;
}

.invitational-score-table td {
  height: 48px;
  padding: 7px 8px;
  color: var(--invitational-black);
  border-top: 2px solid rgba(5, 5, 6, 0.18);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.invitational-score-table th:nth-child(1),
.invitational-score-table td:nth-child(1) {
  width: 54px;
}

.invitational-score-table th:nth-child(3),
.invitational-score-table td:nth-child(3),
.invitational-score-table th:nth-child(4),
.invitational-score-table td:nth-child(4) {
  width: 58px;
  text-align: center;
}

.invitational-score-logo {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--invitational-white);
  background: var(--invitational-black);
  font-size: 12px;
}

.invitational-copy-block {
  margin-top: clamp(34px, 6vw, 70px);
  padding: clamp(22px, 4vw, 38px);
  color: var(--invitational-white);
  background: var(--invitational-black);
}

.invitational-copy-block p {
  margin: 0;
  color: var(--invitational-black);
  background: var(--invitational-green);
  width: fit-content;
  max-width: 100%;
  padding: 12px 18px;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.1;
}

.invitational-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 54px);
  padding: clamp(38px, 7vw, 86px) 0 0;
}

.invitational-team-section {
  --invitational-team-accent: var(--invitational-green);
  --invitational-team-text: var(--invitational-black);
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 3px solid var(--invitational-green);
  border-radius: 32px;
  background: rgba(5, 5, 6, 0.94);
}

.invitational-team-section.is-purple {
  --invitational-team-accent: var(--invitational-purple);
  --invitational-team-text: var(--invitational-white);
  border-color: var(--invitational-purple);
}

.invitational-team-section.is-green {
  --invitational-team-accent: var(--invitational-north-green);
  --invitational-team-text: var(--invitational-black);
  border-color: var(--invitational-north-green);
}

.invitational-team-section h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  color: var(--invitational-team-accent);
  background: transparent;
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.invitational-team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: clamp(18px, 2.6vw, 30px) clamp(12px, 2vw, 26px);
}

.invitational-team-card {
  position: relative;
  display: grid;
  gap: 0;
  justify-items: center;
  min-width: 0;
  padding: 0;
  text-align: center;
}

.invitational-team-card::before {
  content: "";
  position: absolute;
  top: clamp(36px, 4.6vw, 66px);
  z-index: 0;
  width: min(100%, 132px);
  height: clamp(42px, 5vw, 66px);
  background: linear-gradient(180deg, transparent 0%, var(--invitational-team-accent) 100%);
  pointer-events: none;
}

.invitational-team-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(62px, 7vw, 104px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--invitational-black);
  background: var(--invitational-white);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 950;
  line-height: 1;
}

.invitational-team-card strong {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 132px);
  min-height: 34px;
  padding: 8px 7px;
  color: var(--invitational-team-text);
  background: var(--invitational-team-accent);
  font-size: clamp(13px, 1.7vw, 17px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.invitational-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: clamp(14px, 3vw, 28px);
  justify-content: center;
  padding: clamp(36px, 6vw, 70px) 0;
}

.invitational-arrow-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: stretch;
  min-height: 58px;
  min-width: 0;
  color: var(--invitational-white);
  background: var(--invitational-purple);
  text-decoration: none;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.invitational-arrow-link.is-disabled {
  cursor: default;
}

.invitational-link-label {
  display: grid;
  place-items: center;
  padding: 0 18px;
}

.invitational-link-arrow {
  background: var(--invitational-purple);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.invitational-storefront .bingo-site-footer {
  color: var(--invitational-white);
  background: var(--invitational-footer-green);
  border-top: 1px solid var(--invitational-white);
}

.invitational-storefront .bingo-site-footer a {
  color: var(--invitational-white);
}

.invitational-storefront .bingo-site-footer a:hover,
.invitational-storefront .bingo-site-footer a:focus-visible {
  color: var(--invitational-white);
}

.invitational-storefront .bingo-site-footer-social-link {
  color: var(--invitational-white);
  background: transparent;
  border: 0;
}

.invitational-storefront .bingo-site-footer-contact {
  color: var(--invitational-white);
  background: transparent;
}

@media (max-width: 767px) {
  .invitational-header .bingo-site-header-inner {
    grid-template-columns: 88px minmax(0, 1fr) 88px;
  }

  .invitational-header .bingo-site-title {
    font-size: 12px;
  }

  .invitational-header-balance {
    width: 88px;
  }

  .invitational-winner,
  .invitational-copy-block,
  .invitational-teams,
  .invitational-quick-links {
    width: min(100% - 32px, 520px);
  }

  .invitational-poster {
    width: 100%;
  }

  .invitational-poster-stage,
  .invitational-scoreboard,
  .invitational-teams {
    grid-template-columns: minmax(0, 1fr);
  }

  .invitational-poster-stage {
    min-height: 440px;
    padding: 26px 20px;
  }

  .invitational-poster-stage::before,
  .invitational-poster-stage::after {
    grid-area: 1 / 1 / 3 / 2;
  }

  .invitational-poster-mark {
    width: min(210px, 78%);
    justify-self: center;
  }

  .invitational-score-table td {
    height: 44px;
  }

  .invitational-team-section {
    padding: 18px 14px 20px;
  }

  .invitational-team-section h2 {
    margin-bottom: 18px;
  }

  .invitational-team-section h2 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .invitational-team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 7px;
  }

  .invitational-team-logo {
    width: min(100%, 46px);
  }

  .invitational-team-card::before {
    top: 24px;
    width: 100%;
    height: 42px;
  }

  .invitational-team-card strong {
    min-height: 28px;
    padding: 6px 2px;
    font-size: 10px;
  }

  .invitational-quick-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .invitational-score-table th,
  .invitational-score-table td {
    padding-right: 5px;
    padding-left: 5px;
  }

  .invitational-score-table th:nth-child(1),
  .invitational-score-table td:nth-child(1) {
    width: 44px;
  }

  .invitational-score-table th:nth-child(3),
  .invitational-score-table td:nth-child(3),
  .invitational-score-table th:nth-child(4),
  .invitational-score-table td:nth-child(4) {
    width: 46px;
  }

  .invitational-score-logo {
    width: 28px;
  }
}

/* Activity menu administration */
.activity-menu-admin-create,
.activity-menu-admin-list-section {
  margin-top: 24px;
}

.activity-menu-admin-create h2,
.activity-menu-admin-list-heading h2,
.activity-menu-admin-empty h3 {
  margin-top: 0;
}

.admin-form-grid.activity-menu-admin-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.activity-menu-admin-fields label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--ink-strong, #20182a);
  font-weight: 700;
}

.activity-menu-admin-fields input {
  width: 100%;
  min-width: 0;
}

.activity-menu-admin-fields .admin-field-wide {
  grid-column: span 3;
}

.activity-menu-admin-options,
.activity-menu-admin-row-actions,
.activity-menu-admin-item-bar,
.activity-menu-admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.activity-menu-admin-options {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}

.activity-menu-admin-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.activity-menu-admin-list {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.activity-menu-admin-item {
  display: grid;
  gap: 18px;
}

.activity-menu-admin-item.is-dragging {
  opacity: 0.5;
}

.activity-menu-admin-item.is-drop-target {
  box-shadow: 0 0 0 3px rgba(117, 63, 153, 0.32);
}

.activity-menu-drag-handle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(75, 45, 94, 0.25);
  border-radius: 8px;
  color: #3e284b;
  background: #fff;
  cursor: grab;
  touch-action: none;
}

.activity-menu-drag-handle:active {
  cursor: grabbing;
}

.activity-menu-drag-handle:focus-visible {
  outline: 3px solid rgba(117, 63, 153, 0.45);
  outline-offset: 2px;
}

.activity-menu-admin-preview {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: radial-gradient(circle at 76% 24%, #5b257b, transparent 42%), #21102c;
}

.activity-menu-admin-preview img,
.activity-menu-admin-preview > span {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-menu-admin-preview > span {
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 3, 12, 0.3), rgba(7, 3, 12, 0.72));
}

.activity-menu-admin-preview strong {
  max-width: 90%;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.activity-menu-admin-preview em {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  font-size: 0.82rem;
  text-align: center;
}

.activity-menu-admin-row-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(75, 45, 94, 0.14);
}

.activity-menu-admin-empty {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .admin-form-grid.activity-menu-admin-fields {
    grid-template-columns: 1fr;
  }

  .activity-menu-admin-fields .admin-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .activity-menu-admin-list-heading,
  .activity-menu-admin-item-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-menu-admin-row-actions {
    justify-content: stretch;
  }

  .activity-menu-admin-row-actions form,
  .activity-menu-admin-row-actions .button {
    width: 100%;
  }
}
