.booth {
  --booth-height: min(760px, 94vh);
  --booth-height: min(760px, 94svh);
  --booth-travel: 210svh;
  position: relative;
  background: #070a08;
  border-block: 1px solid #273326;
}

.booth[data-mode="live"] { min-height: calc(var(--booth-height) + var(--booth-travel) + 2px); }

.booth-frame {
  position: relative;
  min-height: var(--booth-height);
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 68% 28%, #26432c 0%, transparent 58%),
    radial-gradient(ellipse at 12% 72%, #222031 0%, transparent 65%),
    #0b100d;
}

.booth[data-mode="live"] .booth-frame {
  position: absolute;
  inset: 0 0 auto;
  transform: translateY(var(--booth-y, 0px));
}
.booth[data-mode="live"] {
  overflow: clip;
  background: radial-gradient(ellipse at 68% 32%, #213a27, transparent 68%), #0b100d;
}
.booth[data-mode="live"] .booth-frame { background: transparent; }
.booth[data-mode="live"] .booth-frame::after { display: none; }
.booth-notes { list-style: none; padding: 0; margin: 0; max-width: 46ch; }
.booth-notes h3 { font-size: 1rem; color: var(--green); margin: 0 0 .3em; }
.booth-notes p { font-size: .94rem; line-height: 1.45; margin: 0; }
.booth-notes li + li { margin-top: 1rem; }
.booth[data-mode="static"] .booth-visual { position: relative; inset: auto; height: min(45vh, 400px); }
.booth[data-mode="live"] .booth-notes { display: grid; }
.booth[data-mode="live"] .booth-notes li { grid-area: 1/1; margin: 0; }


.booth-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, #070a08 95%);
  pointer-events: none;
}

.booth-head { padding-top: clamp(28px, 5vw, 65px); }
.booth-head h2 { font-size: clamp(2.9rem, 6vw, 5.7rem); }

.booth-visual {
  position: absolute;
  inset: 5% 0 5%;
  z-index: -2;
  pointer-events: none;
}

.booth-visual :is(img, canvas) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.booth-visual canvas { opacity: 0; }
.booth[data-mode="live"] canvas { opacity: 1; }
.booth[data-mode="live"] .booth-visual picture { visibility: hidden; }

.booth-foot {
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding-bottom: clamp(24px, 4vw, 52px);
}

.booth-gear {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 19px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e4e9e2;
  font-size: .79rem;
  font-weight: 600;
}

.booth-gear li::before {
  content: "";
  display: inline-block;
  vertical-align: .15em;
  width: .43em;
  height: .43em;
  margin-right: .55em;
  background: var(--green);
}

.booth-progress {
  display: none;
  width: clamp(58px, 9vw, 124px);
  height: 2px;
  margin-bottom: .48rem;
  background: #d3ffad38;
}

.booth[data-mode="live"] .booth-progress { display: block; flex-shrink: 0; }
.booth-progress::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(var(--booth-progress, 0));
  transform-origin: left center;
}

@media (max-width: 760px) {
  .booth {
    --booth-height: max(460px, min(660px, 77vh));
    --booth-height: max(460px, min(660px, 77svh));
    --booth-travel: 185svh;
  }

  .booth-head { padding-top: 26px; }
  .booth-visual { inset: 13% 0 14%; }
  .booth-foot { align-items: end; gap: 9px; }
  .booth-gear { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 13px; font-size: .71rem; }
  .booth-progress { width: 32px; }
}

@media (max-width: 360px) {
  .booth-gear { column-gap: 9px; font-size: .65rem; }
  .booth-progress { width: 22px; }
}

@media (orientation: landscape) and (max-height: 480px) {
  .booth { --booth-height: 430px; --booth-travel: 0px; }
  .booth[data-mode="live"] .booth-frame { position: relative; }
  .booth-visual { inset: 2% 0; }
}
