.pong-egg {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 6, 10, 0.94);
}
.pong-egg__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(750px, 100%, calc((100dvh - 162px) * 750 / 585 + 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 12px;
  border-radius: 16px;
  background: #0b0e13;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #f4f6f8;
  font-family: inherit;
}
.pong-egg__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}
.pong-egg__back,
.pong-egg__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6f8;
  cursor: pointer;
}
.pong-egg__back:hover,
.pong-egg__pause:hover {
  background: rgba(255, 255, 255, 0.16);
}
.pong-egg__pause {
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
}
.pong-egg__back:focus-visible,
.pong-egg__pause:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}
.pong-egg__score {
  flex: 1;
  text-align: center;
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(18px, 4vw, 26px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: #f4f6f8;
}
.pong-egg__canvas {
  contain: paint;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
  touch-action: none;
  user-select: none;
}
.pong-egg__hint {
  margin: 0;
  font-size: 11px;
  text-align: center;
  color: #8a99a8;
  line-height: 1.6;
}
.pong-egg__hint span {
  display: block;
}
html.pong-egg-open,
html.pong-egg-open body {
  overflow: hidden;
}
