/* Title theatre: the venue stays visible beside a compact flight case menu. */
.opening { position: fixed; inset: 0; z-index: 10000; overflow: hidden; background: #d9e1e6; color: #17202b; isolation: isolate; }
.opening-board { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(224,232,236,.96),rgba(224,232,236,.65) 35%,transparent 70%); }
.opening-toolbar { position: absolute; top: max(18px,env(safe-area-inset-top)); right: max(18px,env(safe-area-inset-right)); display: flex; gap: 8px; }
.opening button { min-height: 44px; padding: 10px 16px; border: 1px solid #52616c; border-radius: 4px; background: #f5f7f9; color: #17202b; font: 700 13px ui-monospace,monospace; cursor: pointer; }
.opening button:hover { background: #d5e4ea; }
.opening button:focus-visible { outline: 3px solid #167b8f; outline-offset: 4px; }
.opening-title { position: absolute; top: 21%; left: 6%; opacity: 0; max-width: 48%; pointer-events: none; }
.opening-kicker { font: 700 11px ui-monospace,monospace; letter-spacing: .18em; }
.opening h1 { font: 900 clamp(52px,7.2vw,120px)/.88 Impact,'Arial Black',sans-serif; letter-spacing: -.025em; margin: 20px 0 26px; }
.opening h1 span { display: block; }
.opening-tape { display: inline-block; padding: 9px 14px; background: #eadca5; color: #292719; font: 700 clamp(12px,1.2vw,17px) ui-monospace,monospace; transform: rotate(-2deg); }
.opening-actions { position: absolute; left: 6%; bottom: 12%; display: flex; flex-wrap: wrap; gap: 10px; max-width: 48%; }
.opening-actions[hidden] { display: none; }
.opening .opening-primary { background: #15576a; border-color: #15576a; color: white; }
.opening .opening-primary:hover { background: #103f4d; }
.opening-caption { position: absolute; bottom: 3%; left: 6%; font: 700 13px ui-monospace,monospace; }
[data-theme="dark"] .opening { background: #17212b; color: #f2f3e9; }
[data-theme="dark"] .opening-shade { background: linear-gradient(90deg,rgba(18,25,34,.98),rgba(18,25,34,.75) 35%,transparent 75%); }
[data-theme="dark"] .opening button { background: #263441; color: #f2f3e9; border-color: #8999a3; }
[data-theme="dark"] .opening .opening-primary { background: #b9dce4; color: #132a34; }
@media (max-width: 600px) {
  .opening-shade { background: linear-gradient(#dfe7ec 0%,rgba(223,231,236,.92) 28%,transparent 59%,#dfe7ec 90%); }
  [data-theme="dark"] .opening-shade { background: linear-gradient(#121922 0%,rgba(18,25,34,.9) 28%,transparent 59%,#121922 90%); }
  .opening-toolbar { left: 12px; right: 12px; top: max(12px,env(safe-area-inset-top)); gap: 6px; }
  .opening-toolbar button { flex: 1; padding: 8px; font-size: 11px; }
  .opening-title { top: 15%; left: 7%; max-width: 90%; }
  .opening h1 { font-size: clamp(46px,14vw,76px); margin: 12px 0; }
  .opening-kicker { font-size: 9px; }
  .opening-actions { left: 7%; right: 7%; bottom: max(8%,env(safe-area-inset-bottom)); max-width: none; }
  .opening-caption { bottom: 2%; font-size: 11px; }
}
@media (max-height: 500px) and (min-width: 601px) { .opening-title { top: 18%; } .opening h1 { font-size: 54px; margin: 10px 0; } .opening-actions { bottom: 7%; } }
@media (min-aspect-ratio: 3/1) { .opening-title,.opening-actions { left: 12%; } .opening h1 { font-size: clamp(64px,11vh,110px); } }
@media (max-height: 340px) {
  .opening-toolbar { top: 6px; left: 8px; right: 8px; }
  .opening-toolbar button { padding: 6px; font-size: 10px; }
  .opening-title { top: 70px; left: 6%; max-width: 88%; }
  .opening-kicker { display: none; }
  .opening h1 { font-size: 34px; margin: 0 0 8px; }
  .opening-tape { margin: 0; padding: 6px 9px; font-size: 11px; }
  .opening-actions { bottom: 8px; left: 6%; max-width: 88%; gap: 6px; }
  .opening-actions button { padding: 8px; font-size: 11px; }
  .opening-caption { top: 52px; bottom: auto; font-size: 10px; }
}
