/* n69 «Киноквиз» at the credits (credits-quiz.js): one card for the host while a film's end credits run — never over the
   film itself, never when the hall is alone. Bottom-left over the credits on a wide screen; a bottom sheet on a phone. */
.cq-card { position: fixed; left: 16px; bottom: 96px; z-index: 41; display: flex; align-items: center; gap: 12px;
  width: min(420px, calc(100vw - 32px)); padding: 12px 12px 12px 14px; border-radius: 14px;
  background: rgba(20, 23, 30, .94); border: 1px solid var(--line); color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: cq-in .25s ease-out both; }
.cq-card.hidden { display: none; }
.cq-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--panel-2); font-size: 22px; }
.cq-text { min-width: 0; flex: 1; display: grid; gap: 2px; }
.cq-text b { font-size: 15px; line-height: 1.25; }
.cq-text small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.cq-go { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--accent); color: #111;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.cq-go .ico { color: inherit; }
.cq-mg { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; } /* n73 «Монтажёр» beside the quiz */
.cq-mg:hover, .cq-mg:focus-visible { border-color: var(--accent); }
.cq-go[hidden], .cq-mg[hidden] { display: none; }
.cq-card.cq-both { width: min(440px, calc(100vw - 32px)); flex-wrap: wrap; row-gap: 10px; } /* n73: the text keeps its row, the two buttons share the next */
.cq-card.cq-both .cq-text { flex: 1 1 calc(100% - 112px); }
.cq-card.cq-both .cq-go, .cq-card.cq-both .cq-mg { order: 4; flex: 1 1 calc(50% - 6px); }
.cq-x { flex: none; width: 44px; height: 44px; margin: -6px -6px -6px -4px; display: grid; place-items: center; border: 0; background: none;
  color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 10px; }
.cq-x:hover, .cq-x:focus-visible { color: var(--text); background: rgba(255, 255, 255, .06); }
/* n73 «Объясни сцену»: the second choice of the credits — quieter than the quiz's «Начать» */
.cq-scene { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 11px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cq-scene:hover, .cq-scene:focus-visible { background: rgba(255, 255, 255, .08); }
.cq-scene[hidden] { display: none; }
@keyframes cq-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cq-card { animation: none; } }
@media (max-width: 760px) {
  .cq-card { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; z-index: 62; flex-wrap: wrap; row-gap: 10px; }
  .cq-text { flex: 1 1 calc(100% - 100px); }
  .cq-go { flex: 1 1 100%; order: 3; }
  .cq-mg { flex: 1 1 100%; order: 4; }
  .cq-card.cq-both .cq-go, .cq-card.cq-both .cq-mg { flex: 1 1 calc(50% - 6px); }
  .cq-card.cq-both { width: auto; }
  .cq-scene { flex: 1 1 100%; order: 4; }
}
