/* cu-arcade (17p): pool table overlay (pool-ui.js). The arcade room itself reuses club/club.css (.club-ov …). */
.arc-ov .club-top b { letter-spacing: .04em; }
html.pl-on, html.pl-on body { overflow: hidden; overscroll-behavior: none; }
.pl-ov { position: fixed; inset: 0; z-index: 10060; display: flex; flex-direction: column; background: #05070f; color: #fff; font-family: Inter, system-ui, sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); touch-action: none; user-select: none; -webkit-user-select: none; }
.pl-ov[hidden] { display: none; }
.pl-top { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: linear-gradient(180deg, #151a33, #0b0f20); border-bottom: 1px solid rgba(255,255,255,.08); }
.pl-x, .pl-i { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: 15px; font-weight: 800; padding: 0; cursor: pointer; }
.pl-p { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 12px; border: 1.5px solid transparent; transition: border-color .2s, box-shadow .2s; }
.pl-pb { flex-direction: row-reverse; text-align: right; }
.pl-p.on { border-color: #3dff8b; box-shadow: 0 0 14px rgba(61,255,139,.35); background: rgba(61,255,139,.07); }
.pl-p.ghost { opacity: .55; }
.pl-avw { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #3a4aa0, #141a3a); border: 2px solid rgba(255,255,255,.5); }
.pl-p.me .pl-avw { border-color: #ffd34d; }
.pl-av { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-av[hidden] { display: none; }
.pl-pi { min-width: 0; display: flex; flex-direction: column; gap: 2px; align-items: inherit; }
.pl-pb .pl-pi { align-items: flex-end; }
.pl-n { font-size: 12px; font-weight: 800; white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.15; max-width: 100%; }   /* namefit: was ellipsis */
.pl-sl { width: 100%; max-width: 140px; height: auto; aspect-ratio: 140 / 22; display: block; }
.pl-vs { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; font-size: 12px; color: #ffd34d; }
.pl-vs small { font-size: 8px; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.pl-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.pl-cv { position: absolute; inset: 0; display: block; touch-action: none; }
.pl-msg { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); max-width: 70%; padding: 7px 14px; border-radius: 12px; background: rgba(5,8,20,.78); border: 1px solid rgba(255,255,255,.18);
  font-size: 13px; font-weight: 800; text-align: center; pointer-events: none; box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.pl-msg[hidden] { display: none; }
.pl-help { position: absolute; left: 12px; right: 12px; top: 12px; max-width: 420px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; background: rgba(10,14,32,.97); border: 1px solid rgba(255,255,255,.2); font-size: 13px; line-height: 1.4; z-index: 2; }
.pl-help[hidden] { display: none; }
.pl-help p { margin: 6px 0; }
.pl-help button { margin-top: 6px; padding: 8px 14px; border-radius: 10px; border: 0; background: #3dff8b; color: #05210f; font-weight: 800; cursor: pointer; }
.pl-bar { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px 8px; min-height: 44px; background: #0b0f20; border-top: 1px solid rgba(255,255,255,.08); }
.pl-st { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-bt { display: flex; gap: 6px; flex: 0 0 auto; }
.pl-bt button { padding: 8px 11px; border-radius: 11px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pl-bt button[data-pl=sitA], .pl-bt button[data-pl=sitB], .pl-bt button[data-pl=again] { background: #3dff8b; color: #05210f; border-color: #3dff8b; }
/* 17r: air hockey overlay (hockey-ui.js) reuses the .pl-* layout; score instead of ball slots */
.hk-ov { background: #03020b; }
.hk-ov .pl-top { background: linear-gradient(180deg, #1a0f33, #0a0618); }
.hk-p { --hk: #29d3ff; }
.hk-p .pl-avw { border-color: var(--hk); box-shadow: 0 0 10px color-mix(in srgb, var(--hk) 55%, transparent); }
.hk-p.me .pl-avw { border-color: var(--hk); box-shadow: 0 0 16px var(--hk); }
.hk-tag { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: .05em; text-transform: uppercase; min-height: 11px; }
.hk-sc { flex: 0 0 auto; font-size: 26px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 0 12px var(--hk); min-width: 22px; text-align: center; }
.hk-vs small { font-size: 8px; }
.hk-ov .pl-bt button[data-hk=sitA], .hk-ov .pl-bt button[data-hk=sitB], .hk-ov .pl-bt button[data-hk=again], .hk-ov .pl-bt button[data-hk=cpu] { background: #ff3fb4; color: #22041a; border-color: #ff3fb4; }
.hk-ov .pl-help button { background: #ff3fb4; color: #22041a; }
.hk-p { gap: 5px; padding: 3px 5px; }
.hk-p .pl-pi { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.hk-p .pl-avw { width: 34px; height: 34px; }
.hk-vs { min-width: 0; }
@media (max-width: 360px) { .hk-sc { font-size: 21px; min-width: 16px; } .hk-p .pl-avw { width: 28px; height: 28px; } .hk-vs small:last-child { display: none; } .hk-p .pl-n { font-size: 11px; } }
