.bb8 {
  --bb8-dark: #101011;
  --bb8-lime: #c1ff00;
  --bb8-gap: clamp(12px, 2vw, 36px);
  background: var(--bb8-lime);
  color: #fff;
  font-family: "BB Source Han", "PingFang SC", sans-serif;
}
.bb8-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bb8-stage { position: relative; isolation: isolate; overflow: clip; }
.bb8-dark, .bb8-matte { display: none; }
.bb8-exhibit { padding: var(--bb8-gap); }
.bb8-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: start;
  gap: var(--bb8-gap);
}
.bb8-column { min-width: 0; }
.bb8-track { position: relative; display: flex; flex-direction: column; gap: var(--bb8-gap); }
.bb8-artwork {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  width: 100%;
  aspect-ratio: var(--bb8-art-ratio);
  overflow: hidden;
  background: #19171d;
}
.bb8-artwork img { display: block; width: 100%; height: 100%; }
.bb8-artwork .bb8-nav-logo {
  position: absolute;
  left: 2.08%;
  width: 3.39%;
  height: auto;
}

.bb8-immersive .bb8-stage { height: 100vh; height: 100svh; }
.bb8-immersive .bb8-exhibit { position: absolute; inset: 0; padding: 0; overflow: clip; }
.bb8-immersive .bb8-camera,
.bb8-immersive .bb8-drift { position: absolute; inset: 0; }
.bb8-immersive .bb8-matrix {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% + 30svh);
  height: 100%;
  transform: translateX(-50%) rotate(-12deg);
  transform-origin: center;
}
.bb8-immersive .bb8-dark,
.bb8-immersive .bb8-matte {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.bb8-dark { background: var(--bb8-dark); }
.bb8-matte {
  background: radial-gradient(ellipse 53% 67% at 50% 53%, #101011 29%, #101011ed 50%, #10101147 79%, transparent 100%);
}
.bb8[data-bb8-active] :is(.bb8-camera, .bb8-drift, .bb8-column, .bb8-track) { will-change: transform; }

.bb8-data {
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(42px, 9vw, 114px) clamp(15px, 4vw, 64px);
  background: var(--bb8-dark);
  text-align: center;
}
.bb8-immersive .bb8-data {
  position: absolute;
  inset: 0;
  padding-block: var(--nav, 64px) 18px;
  background: none;
  pointer-events: none;
}
.bb8-data-inner { width: min(100%, 870px); }
.bb8-data-title {
  margin: 0 0 clamp(12px, 2.15svh, 27px);
  color: var(--bb8-lime);
  font-size: clamp(14px, 1.35vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .24em;
}
.bb8-primary {
  margin: 0;
  font: 900 clamp(76px, min(24vw, 35svh), 350px)/.85 var(--case-display);
  letter-spacing: -.012em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bb8-data-en {
  margin: clamp(8px, 1.6svh, 22px) 0 0;
  color: var(--bb8-lime);
  font-size: clamp(16px, 1.95vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .25em;
}
.bb8-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(22px, 4.6svh, 50px) 0 0;
  padding-top: clamp(13px, 2.7svh, 30px);
  border-top: 1px solid #ffffff37;
}
.bb8-totals > div { display: flex; flex-direction: column-reverse; gap: clamp(4px, 1.05svh, 12px); }
.bb8-totals dt { color: #d4d4d5; font-size: clamp(12px, 1.12vw, 19px); }
.bb8-totals dd { margin: 0; font: 700 clamp(25px, min(4.2vw, 6.4svh), 71px)/1 var(--case-display); }
@media (max-height: 730px) and (min-width: 800px) {
  .bb8-immersive .bb8-primary { font-size: clamp(105px, min(22vw, 31svh), 260px); }
  .bb8-immersive .bb8-data-title { margin-bottom: 1.3svh; }
  .bb8-immersive .bb8-totals { margin-top: 3.4svh; }
}
@media (max-width: 600px) {
  .bb8-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .bb8-column, .bb8-track { display: contents; }
  .bb8-artwork { align-self: center; }
  .bb8-column:last-child .bb8-artwork:last-child { grid-column: 1 / -1; width: 66%; justify-self: center; }
  .bb8-data-title { letter-spacing: .16em; }
  .bb8-data-en { letter-spacing: .17em; }
}
