.play-page {
  height: 100svh;
  overflow: hidden;
  background: #050505;
  touch-action: none;
  user-select: none;
}
.play-page .nav {
  mix-blend-mode: normal;
}
.play-page .brand,
.play-page .nav-links > a {
  mix-blend-mode: normal;
}
.play-nav {
  background: rgba(5, 5, 5, .55);
  backdrop-filter: blur(10px);
}

.stage {
  position: relative;
  height: 100svh;
  display: grid;
  place-items: center;
  background: #050505;
}
#view {
  width: min(100vw, calc(100svh * 16 / 9));
  height: min(100svh, calc(100vw * 9 / 16));
  display: block;
  background: #0a0a0a;
}
.play-page.scene-title #view { cursor: default; }

.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.bars {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 76px clamp(16px, 3vw, 48px) 0;
  max-width: 1600px;
  margin: 0 auto;
}
.who {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar-col-r { text-align: right; }
.bar-col-r .who { justify-content: flex-end; }
.score {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
}
.stat {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 800;
  color: #ee2b23;
}
.meters {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
  max-width: 240px;
}
.bar-col-r .meters { margin-left: auto; }
.charge,
.stamina {
  height: 6px;
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #3a1515;
  position: relative;
  overflow: hidden;
}
.charge b,
.stamina b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #ee2b23, #ff5a4a);
}
.field-bar {
  margin-top: 10px;
  height: 8px;
  background: #161616;
  border: 1px solid #2b2b2b;
  position: relative;
  overflow: hidden;
}
.field-bar i,
.field-bar b,
.field-bar em {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f2efe8;
}
.field-bar b {
  width: 8px;
  background: #ee2b23;
  margin-left: -4px;
}
.field-bar em {
  background: #f2efe8;
  opacity: .55;
}
.clock-col {
  text-align: center;
  min-width: 88px;
}
.clock {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  padding-top: 8px;
}
.round-tag {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  color: #ee2b23;
}
.combo {
  position: absolute;
  right: 6vw;
  top: 38%;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -.06em;
  color: #fff;
  text-shadow: 4px 0 0 #ee2b23, -3px 0 0 #fff;
  line-height: .85;
}
.combo small {
  display: block;
  font-size: .28em;
  letter-spacing: .2em;
  color: #ee2b23;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(22px, 5vw, 80px) clamp(40px, 8vh, 90px);
  background:
    linear-gradient(90deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.2) 55%, transparent),
    linear-gradient(0deg, rgba(5,5,5,.88), transparent 48%);
  pointer-events: none;
}
.overlay .button { pointer-events: auto; width: max-content; }
.overlay .button-primary:hover { background: #fff; color: #111; }
.overlay .eyebrow {
  color: #ee2b23;
  margin: 0 0 10px;
}
.overlay h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 900;
  margin: 0 0 16px;
  max-width: 12ch;
}
.overlay .lede {
  font-size: clamp(15px, 1.6vw, 22px);
  color: #cfcbc2;
  margin: 0 0 22px;
}
.overlay .keys {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: .1em;
  color: #9b9a95;
  max-width: 760px;
}
.overlay .keys-sub { margin-top: 8px; opacity: .7; }
.overlay.is-dim {
  background: rgba(5,5,5,.72);
  justify-content: center;
  align-items: flex-start;
}
.overlay.is-dim .keys { display: none; }
.overlay.is-dim h1 { max-width: 16ch; }
.overlay[hidden] { display: none; }

.rotate-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0a0a0a;
  color: #f2efe8;
  display: none;
  place-items: center;
  text-align: center;
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 900;
  letter-spacing: -.04em;
  pointer-events: none;
}
.rotate-gate:not([hidden]) {
  display: grid;
  pointer-events: auto;
}
.rotate-gate span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .22em;
  color: #ee2b23;
}

.touch {
  position: absolute;
  inset: auto 0 12px;
  z-index: 5;
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 18px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.touch[hidden] { display: none !important; }
.touch:not([hidden]) { display: flex; }
.stick {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  position: relative;
  pointer-events: auto;
  background: rgba(0,0,0,.28);
}
.stick i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f2efe8;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btns {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.btns button {
  height: 64px;
  min-width: 72px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,10,10,.55);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}
.btns button.super { border-color: #ee2b23; color: #ee2b23; }
.btns button:active { background: #ee2b23; color: #fff; }

@media (pointer: fine) and (min-width: 1100px) {
  .touch { display: none !important; }
}
@media (max-height: 500px) {
  .bars { padding-top: 58px; gap: 10px; }
  .btns button { height: 52px; }
  .stick { width: 110px; height: 110px; }
}

html[lang="zh-Hant"] .overlay h1 {
  letter-spacing: -.028em;
  line-height: 1.02;
}
