/* n73 gB «Шоу вечера» (evening-show.js): the start card, the card between acts, the podium — on hall-game.css's .hg-card —
   and the slim strip over an act. */
.es-card { background: #101218; } /* opaque: the lobby must not show through (game-cards.test.js) */
.es-card .es-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 2px 0 8px; }
.es-plan { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; counter-reset: es; }
.es-act { counter-increment: es; display: grid; grid-template-columns: 22px 30px 1fr auto; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.es-act::before { content: counter(es); font-weight: 700; font-size: 13px; color: var(--muted); text-align: center; }
.es-act .es-ico { font-size: 20px; line-height: 1; text-align: center; }
.es-act .es-txt { display: flex; flex-direction: column; min-width: 0; }
.es-act .es-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-act .es-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-act.es-done { opacity: .55; }
.es-act.es-done::before { content: '✓'; color: var(--accent); }
.es-act.es-now { border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.es-x2 { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #111; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.es-rules { margin: 0 0 10px; padding: 0 0 0 18px; display: grid; gap: 3px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.es-clock { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin: 4px 0 8px; }
.es-clock .hg-bar { margin: 0; }
.es-secs { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.es-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-next { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--accent); background: rgba(255, 255, 255, .05); }
.es-next small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.es-next b { font-size: 17px; }
.es-next .es-x2 { align-self: flex-start; }
.es-interlude .es-plan .es-act { min-height: 36px; padding: 4px 8px; }
.es-interlude .es-plan .es-txt small { display: none; }
.es-table { display: grid; gap: 4px; margin: 0 0 8px; }
.es-row { display: grid; grid-template-columns: 24px 1fr auto 44px; align-items: center; gap: 8px; min-height: 34px; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.es-row.me { outline: 1px solid var(--accent); }
.es-row .es-place { font-weight: 700; color: var(--muted); text-align: center; }
.es-row .es-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-row .es-delta { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.es-row .es-pts { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .es-row .es-delta:not(:empty) { animation: es-pop .5s ease-out both; } }
@keyframes es-pop { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* The strip over an act: what the show is at, who leads; the host's ■ ends the show. */
.es-strip { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 1950; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 20px); min-height: 34px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px solid var(--accent); background: rgba(16, 18, 24, .94); color: var(--text); font-size: 13px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); pointer-events: auto; }
.es-strip.hidden { display: none; }
.es-strip b { white-space: nowrap; }
.es-strip .es-s-lead { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.es-strip .es-s-stop { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 12px; cursor: pointer; flex: none; }
.es-strip:not(:has(.es-s-stop)) { padding-right: 12px; }

@media (max-width: 760px) {
  .es-split { grid-template-columns: 1fr; gap: 8px; }
  .es-interlude .es-plan { display: none; }
  .es-act { min-height: 40px; }
  .es-rules { font-size: 12.5px; }
  .es-strip { top: calc(70px + env(safe-area-inset-top, 0px)); font-size: 12px; gap: 6px; } /* below the top bar: its people and ⋯ stay free */
  .es-strip .es-s-lead { max-width: 34vw; }
}
