/* The cinema layer is isolated from the existing reservation application. */
body.cinema-entry { overflow: hidden; background: #151712; }
body.cinema-entry > :not(#cinemaBg):not(#cinemaIntro):not(script):not(noscript) { display: none !important; }
#cinemaBg { background: #191b15; }
#cinemaBg::after { background: linear-gradient(90deg, rgba(16,20,15,.76), rgba(16,20,15,.18) 62%, rgba(16,20,15,.04)), linear-gradient(0deg, rgba(13,18,13,.88), transparent 40%, rgba(13,18,13,.16)); }
#cinemaBg picture, #cinemaBg .cinema-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#cinemaBg video { opacity: 0; transition: opacity 700ms ease; }
#cinemaBg video.on { opacity: 1; }
#cinemaBg .steam, #beatCap, #exitCinema { display: none !important; }
#cinemaIntro { position: fixed; inset: 0; z-index: 40; min-height: 520px; color: #fbf6ea; padding: 34px 5.4vw 25px; display: flex; flex-direction: column; }
#cinemaIntro[hidden] { display: none; }
#cinemaIntro button, #cinemaIntro a { -webkit-tap-highlight-color: transparent; }
.cinema-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cinema-brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.cinema-mark { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; }
.cinema-brand-name { display: block; font: 600 23px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.8px; }
.cinema-brand-place { display: block; font: 10px/1.7 system-ui,sans-serif; letter-spacing: 2.8px; text-transform: uppercase; margin-top: 3px; color: #eee1c9; }
.cinema-skip, .cinema-control { border: 1px solid rgba(255,255,255,.35); background: rgba(15,22,16,.30); color: #fff8e9; cursor: pointer; border-radius: 30px; min-height: 44px; padding: 10px 18px; font: 500 12px/1.4 system-ui,sans-serif; backdrop-filter: blur(12px); }
.cinema-skip:hover, .cinema-control:hover { background: rgba(255,255,255,.16); }
.cinema-copy { margin-top: auto; margin-bottom: auto; padding: 42px 0 24px; width: min(610px, 55vw); }
.cinema-eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 23px; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: #e8d3ad; }
.cinema-eyebrow::before { content: ''; height: 1px; width: 26px; background: #d5b17b; }
#cinemaIntro h1 { font: 400 clamp(48px,6.1vw,92px)/.99 Georgia,'Times New Roman',serif; letter-spacing: -3.6px; margin: 0; text-wrap: balance; }
#cinemaIntro h1 em { font-weight: 400; color: #edc99c; }
.cinema-description { max-width: 360px; margin: 25px 0 27px; font: 400 15px/1.7 system-ui,sans-serif; color: #efe9db; text-wrap: pretty; }
.cinema-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cinema-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 54px; padding: 16px 24px; border-radius: 6px; border: 1px solid #efe0c5; background: #f3e7ce; color: #233121; cursor: pointer; font: 650 14px/1.3 system-ui,sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.cinema-primary:hover { background: #fff4df; }
.cinema-secondary { font: 500 13px/1.5 system-ui,sans-serif; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); padding: 8px 0; background: transparent; color: #f6efdf; cursor: pointer; }
.cinema-pricing { margin: 17px 0 0; color: #ded5c4; font-size: 11px; line-height: 1.6; }
.cinema-pricing strong { color: #fff3db; font-weight: 600; }
.cinema-bottom { display: flex; gap: 28px; align-items: flex-end; justify-content: space-between; }
.cinema-principles { display: flex; gap: 25px; padding: 16px 0 0; border-top: 1px solid rgba(244,238,225,.25); }
.cinema-principles span { display: flex; align-items: center; gap: 7px; color: #efe6d6; font-size: 11px; white-space: nowrap; }
.cinema-principles svg { color: #dcb883; flex: none; }
.cinema-film { text-align: right; min-width: 190px; }
.cinema-film-top { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.cinema-scene { text-align: right; font-size: 10px; letter-spacing: .4px; color: #efe6d6; }
.cinema-control { min-height: 40px; padding: 9px 13px; font-size: 11px; }
.cinema-progress { margin: 10px 0 6px auto; height: 2px; width: 160px; background: rgba(255,255,255,.23); overflow: hidden; }
.cinema-progress span { display: block; width: 0; height: 100%; background: #e8c49a; }
.cinema-film-note { margin: 0; font-size: 9px; letter-spacing: .3px; color: #d0c6b4; }
.cinema-explainer { position: absolute; left: 5.4vw; bottom: 120px; z-index: 2; width: min(420px, 88vw); padding: 24px; background: #f3ecdd; color: #263426; border-radius: 12px; box-shadow: 0 20px 80px #0005; }
.cinema-explainer[hidden] { display: none; }
.cinema-explainer h2 { font: 400 27px/1.2 Georgia,serif; margin: 0 35px 14px 0; }
.cinema-explainer ol { padding-left: 20px; margin: 0 0 12px; font-size: 13px; line-height: 1.8; }
.cinema-explainer p { font-size: 12px; color: #55604c; }
.cinema-explainer .cinema-primary { width: 100%; border-color: #263426; background: #263426; color: #fff5df; }
.cinema-close { position: absolute; right: 13px; top: 13px; min-width: 40px; min-height: 40px; border: 0; background: transparent; color: #263426; font-size: 23px; cursor: pointer; }
#cinemaIntro :focus-visible { outline: 2px solid #ffdda6; outline-offset: 5px; }
.cinema-explainer :focus-visible { outline-color: #263426 !important; }
body:not(.cinema-entry) #cinemaBg { opacity: .20; }
body:not(.cinema-entry) #cinemaBg::after { background: #14101099; }
body:not(.cinema-entry) .wrap { background: rgba(20,16,16,.92); min-height: 100svh; }
/* Keep the existing light booking cards legible when leaving the film. */
body:not(.cinema-entry) .card[style*="#faf7f2"] { background: var(--card) !important; color: var(--ink); }
/* The match picker is a readable continuation below the film, not stacked sheets. */
body:not(.cinema-entry) #tasteSheet { position: relative; left: auto; transform: none; bottom: auto; width: auto; max-height: none; overflow: visible; margin: 0 12px 16px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
body:not(.cinema-entry) #planSheet { display: none !important; }
body:not(.cinema-entry) #tasteSheet .grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
body:not(.cinema-entry) #tasteSheet .hcard, body:not(.cinema-entry) #tasteSheet .card { min-width: 0; margin: 0; }
body:not(.cinema-entry) #tasteSheet select { min-width: 0; }
.cinema-replay { display: block; border: 0; background: transparent; color: #e4bd91; margin-top: 6px; padding: 4px 0; cursor: pointer; font-size: 11px; }
#v-meet { scroll-margin-top: 100px; }
#tasteSheet .grip { display: none; }
body:not(.cinema-entry) #tVibes .btn { width: auto; padding: 10px 14px; font-size: 13px; }
body:not(.cinema-entry) #tasteSheet #hostList,
body:not(.cinema-entry) #tasteSheet #venueList { grid-template-columns: minmax(0,1fr); }
@media (min-width: 1500px) { .cinema-copy { margin-left: 2vw; } }
@media (max-width: 680px) {
  #cinemaIntro { padding: max(24px,env(safe-area-inset-top)) 25px max(18px,env(safe-area-inset-bottom)); min-height: 0; }
  #cinemaBg::after { background: linear-gradient(0deg,rgba(14,21,15,.97) 0%,rgba(14,21,15,.84) 26%,rgba(14,21,15,.12) 68%,rgba(14,21,15,.30) 100%); }
  .cinema-brand-name { font-size: 21px; }
  .cinema-brand-place { font-size: 9px; }
  .cinema-mark { width: 36px; height: 36px; }
  .cinema-skip { font-size: 11px; padding: 10px 13px; }
  .cinema-copy { width: 100%; margin-top: auto; margin-bottom: 0; padding: 0 0 22px; }
  .cinema-eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 16px; }
  #cinemaIntro h1 { font-size: clamp(43px,12.2vw,68px); line-height: 1.03; letter-spacing: -1.8px; }
  .cinema-description { font-size: 13px; line-height: 1.6; max-width: 290px; margin: 15px 0 20px; }
  .cinema-actions { gap: 17px; }
  .cinema-primary { flex: 1; padding: 15px 17px; gap: 12px; font-size: 13px; min-height: 52px; }
  .cinema-secondary { font-size: 11px; }
  .cinema-pricing { margin-top: 12px; font-size: 10px; }
  .cinema-bottom { display: block; }
  .cinema-principles { padding-top: 13px; gap: 0; justify-content: space-between; }
  .cinema-principles span { font-size: 9px; gap: 5px; }
  .cinema-principles svg { width: 12px; height: 12px; }
  .cinema-film { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
  .cinema-film-top { flex-direction: row-reverse; gap: 8px; }
  .cinema-scene { font-size: 9px; text-align: left; }
  .cinema-control { min-height: 36px; padding: 8px 10px; font-size: 10px; }
  .cinema-progress { display: none; }
  .cinema-film-note { max-width: 92px; text-align: right; font-size: 8px; }
  .cinema-explainer { left: 20px; bottom: 112px; width: calc(100vw - 40px); padding: 23px; }
}
@media (max-height: 650px) and (max-width: 680px) {
  #cinemaIntro { padding: 16px 22px; }
  #cinemaIntro h1 { font-size: 39px; }
  .cinema-eyebrow { margin-bottom: 10px; }
  .cinema-description { margin: 10px 0 12px; }
  .cinema-copy { padding-bottom: 13px; }
  .cinema-film { margin-top: 9px; }
}
@media (max-height: 520px) { body.cinema-entry { overflow-y: auto; } #cinemaIntro { position: relative; min-height: 550px; } }
@media (prefers-reduced-motion: reduce) { #cinemaBg video { transition: none; } }
