.stage { max-width: 960px; }
.gl-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 190px); border-radius: 16px; overflow: hidden; background: #050a16; }
.gl-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-height: none; border-radius: 0; }
#hud { pointer-events: none; }
.gl-touch { position: absolute; inset: 0; touch-action: none; cursor: crosshair; }
.gl-bar { margin-top: 12px; justify-content: flex-start; }
.gl-hint { color: var(--muted); font-size: .82rem; margin-inline-start: auto; }
/* شاشات البطولة شفافة شوية عشان الاستاد يبان وراها */
.stage .overlay { background: rgba(6, 9, 16, .62); overflow-y: auto; padding: 18px; }
.stage .overlay > div { max-width: 460px; }
.pk-teams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px auto 14px; }
.pk-team { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: .8rem; cursor: pointer; transition: border-color .2s, background .2s; }
.pk-team i { width: 13px; height: 13px; border-radius: 50%; flex: none; background: var(--c, #fff); box-shadow: inset 0 0 0 3px var(--c2, #fff), 0 0 0 1px rgba(255, 255, 255, .25); }
.pk-team:hover { border-color: var(--line2); }
.pk-team.on { border-color: var(--gold); background: rgba(201, 168, 106, .2); color: var(--gold-l); }
.pk-path { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin: 2px 0 14px; font-size: .74rem; color: var(--muted); }
.pk-path span { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.pk-path span.now { border-color: var(--gold); color: var(--gold-l); }
.pk-path span.done { color: var(--green); border-color: rgba(127, 209, 168, .35); }
@media (max-width: 640px) {
  .gl-wrap { aspect-ratio: 4 / 3; }
  .gl-hint { flex-basis: 100%; }
  .stage .overlay { padding: 10px; }
  .stage .overlay h2 { font-size: 1.5rem; margin: 2px 0; }
  .stage .overlay p { margin: 4px 0 10px; font-size: .82rem; }
  .pk-teams { gap: 4px; margin-bottom: 10px; }
  .pk-team { padding: 6px 3px; font-size: .7rem; gap: 4px; }
  .pk-path { margin-bottom: 8px; }
}
