[data-screen="play"] { padding: 0; }
body[data-screen="play"] .topbar { display: none; }

.rink-container {
  position: absolute;
  inset: 0;
  background: #06090E;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#rink-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Floating HUD */
.hud {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
  pointer-events: none;
}

.score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 12px;
  min-width: 70px;
}
.score-box.p1 {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}
.score-box.p2 {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

.score-box .who {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.score-box.p1 .who { color: #38BDF8; }
.score-box.p2 .who { color: #EC4899; }

.score-box .score {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}

.timer-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.timer-box .timer {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #F59E0B;
}

/* Goal notification banner */
.goal-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 10vmin, 96px);
  color: #FFFFFF;
  text-shadow: 0 0 25px #F59E0B, 0 0 50px #EF4444;
  letter-spacing: .1em;
  transition: transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity .25s ease;
}

.goal-flash.active {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

/* If portrait tablet: HUD rotated indicators if needed */
@media (orientation: portrait) {
  .hud {
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
    background: rgba(15, 23, 42, 0.6);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
  }
}
