/* «Я никогда не» (online): a step of a round on the big screen, one look on the shared screen (/tv/) and on a PC
   player's stage (owner 2026-10-29: «версии некоторых экранов в ПК и ТВ почти не отличаются» → one code for both).
   The step is the «Кто из нас» one (`.wms-root.nhs-root`, wml-stage.css: the statement card, the hint, the
   punishments); this file adds the answers of a PC player and the reveal. The markup and the moving part are
   shared/client/nhie-stage.ts. The page supplies the palette (--wm-crimson, --wm-rose, --wm-rose-text, --tv-surface,
   --tv-line, --text-secondary, --rp-correct, and for the ring --gold, --bg-primary, --bg-secondary) and the cuts
   (--cut-1…4, --cut-shadow).

   The ring is the hall's «Я никогда не» (client/tv/hall.ts, «Режим зала»): the share of the room that has done it,
   kept here so the hall, the screen's game and a PC player's stage draw the same one. */
.hall-tv-ring {
    --p: 0; flex: none; width: 380px; height: 380px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--bg-secondary) 0);
    animation: nhs-ring-pop .7s cubic-bezier(.2, .8, .2, 1) both;
}
.hall-tv-ring-in {
    width: 284px; height: 284px; border-radius: 50%; background: var(--bg-primary);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
.hall-tv-ring-in b { font-family: var(--font-display); font-weight: 800; font-size: 86px; line-height: 1; }
.hall-tv-ring-in span { color: var(--text-secondary); font-size: 22px; font-weight: 600; max-width: 200px; }
@keyframes nhs-ring-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

@keyframes nhs-row-in { from { opacity: 0; transform: translateY(16px); } }

/* The statement: complete in every language («Я никогда не…» is part of it), a short one set larger. */
.nhs-root .tv-wml-question.nhs-short { font-size: 56px; }

/* ── A PC player's answer (buttons; the screen has none): «Не было» and «Было» as two big cut cards, a number stamp
   each; hover lifts the edge, the pick turns crimson with the rose edge and its shadow, the other fades. ── */
.nhs-root .nhs-answers, .nhs-root .nhs-result { display: none; }
.nhs-root[data-step="vote"] .nhs-answers { display: flex; justify-content: center; gap: 28px; width: 100%; max-width: 860px; padding: 6px 14px 14px 6px; }
.nhs-root .nhs-answer {
    position: relative; flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 104px;
    padding: 14px 24px; color: #fff; font: inherit; cursor: pointer; background: var(--tv-surface); border: 2px solid var(--tv-line);
    border-radius: var(--cut-1); box-shadow: var(--cut-shadow); rotate: -1deg;
    transition: border-color .15s ease, translate .15s ease, opacity .2s ease;
}
.nhs-root .nhs-answer.is-happened { border-radius: var(--cut-2); rotate: 1deg; }
.nhs-root .nhs-answers.rp-dealt .nhs-answer { animation: wms-cut-in .5s cubic-bezier(.3, 1.45, .5, 1) backwards; animation-delay: calc(380ms + var(--i, 0) * 120ms); }
.nhs-root .nhs-answers.is-votable .nhs-answer:hover { border-color: var(--wm-rose); translate: 0 -3px; }
.nhs-root .nhs-answer:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.nhs-root .nhs-answer:disabled { cursor: default; }
.nhs-root .nhs-answers.is-locked .nhs-answer:not(.is-selected) { opacity: .45; }
.nhs-root .nhs-answer.is-selected { background: var(--wm-crimson); border-color: var(--wm-rose); box-shadow: 6px 7px 0 color-mix(in srgb, var(--wm-crimson) 55%, #000); }
.nhs-root .nhs-answer-key {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; font-family: var(--font-display); font-size: 18px; font-weight: 800;
    color: #fff; background: var(--wm-crimson); border-radius: 46% 54% 50% 50% / 54% 46% 54% 46%; rotate: -6deg; box-shadow: 2px 3px 0 rgb(0 0 0 / 30%);
}
.nhs-root .nhs-answer.is-selected .nhs-answer-key { color: var(--wm-crimson); background: #fff; }
.nhs-root .nhs-answer-label { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }

/* ── The reveal: the statement small and the ring under it on the left, «Не было» and «Было» as two columns of
   players on the right (hearts, the life just lost breaking, «−1» with a heart). ── */
.nhs-root[data-step="reveal"] .tv-wml-main {
    display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    column-gap: 40px; row-gap: 22px; align-items: center; align-content: center; height: 100%;
}
.nhs-root[data-step="reveal"] .tv-wml-card { grid-column: 1; grid-row: 1; flex: none; padding: 26px 28px; }
.nhs-root[data-step="reveal"] .tv-wml-question { font-size: 26px; }
.nhs-root[data-step="reveal"] .tv-wml-question.nhs-short { font-size: 30px; }
.nhs-root[data-step="reveal"] .nhs-result { display: contents; }
.nhs-root .nhs-ring { grid-column: 1; grid-row: 2; justify-self: center; align-self: start; width: 240px; height: 240px; --gold: var(--wm-rose); }
.nhs-root .nhs-ring .hall-tv-ring-in { width: 178px; height: 178px; }
.nhs-root .nhs-ring .hall-tv-ring-in b { font-size: 54px; color: #fff; }
.nhs-root .nhs-ring .hall-tv-ring-in span { font-size: 17px; max-width: 140px; }
.nhs-root .nhs-cols { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-self: stretch; min-height: 0; }
.nhs-root .nhs-col { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.nhs-root .nhs-col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: #fff; }
.nhs-root .nhs-col.is-happened .nhs-col-head { color: var(--wm-rose-text); }
.nhs-root .nhs-col-count { font-size: 24px; color: var(--text-secondary); }
.nhs-root .nhs-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: var(--cut-room, 14px); padding-top: 4px; list-style: none; overflow: hidden; }
.nhs-root .nhs-row {
    display: flex; align-items: center; gap: 14px; flex: 0 1 68px; min-height: 0; padding: 8px 18px;
    background: var(--tv-surface); border: 2px solid var(--tv-line); border-radius: var(--cut-1); box-shadow: var(--cut-shadow);
    overflow: hidden; rotate: -.5deg; animation: nhs-row-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(200ms + var(--i, 0) * 120ms);
}
.nhs-root .nhs-row:nth-child(even) { border-radius: var(--cut-2); rotate: .5deg; }
.nhs-root .nhs-row.is-lost { border-color: var(--wm-rose); background: color-mix(in srgb, var(--wm-crimson) 30%, var(--tv-surface)); }
.nhs-root .nhs-row.is-offline { opacity: .5; }
.nhs-root .nhs-row .rp-player { flex: 0 0 auto; max-width: 55%; min-width: 0; overflow: hidden; font-size: 22px; color: #fff; }
.nhs-root .nhs-row .tv-wml-hearts { flex: none; }
.nhs-root .nhs-list.is-dense { gap: 6px; }
.nhs-root .nhs-list.is-dense .nhs-row { padding: 4px 14px; gap: 4px 10px; }
.nhs-root .nhs-list.is-dense .rp-player { font-size: 17px; }
.nhs-root .nhs-list.is-dense :is(.tv-wml-heart, .tv-wml-badge) { font-size: 13px; }
.nhs-root .nhs-loss { display: inline-flex; flex: none; align-items: center; gap: 4px; margin-left: auto; }
.nhs-root .nhs-loss .rp-icon { font-size: .9em; }
.nhs-root .nhs-empty { padding: 18px 8px; font-size: 20px; color: var(--text-secondary); }
