/* Drive-in typography, film controls and voting tickets. */
.scene-blind {
  --screen-ink: #302e32;
  --screen-cream: #fff0d2;
  --vote-ink: #283854;
  --ticket-cream: #fff4db;
  font-family: var(--t700-label);
  color: var(--screen-cream);
}
.scene-blind .scene-backdrop {
  /* Both layers share the original 1760 × 894 drawing coordinates and crop. */
  background-color: #56658b;
  background-image: var(--t700-image-blind-car-ink), var(--t700-image-blind-desert);
  background-position: center;
  background-size: 106% 100%;
  background-repeat: no-repeat;
}
.scene-blind .scene-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8cqh 0 6cqh;
}
.screening-heading {
  margin: 0 0 clamp(1px, .6cqh, 8px);
  text-align: center;
}
.screening-heading h1 {
  font-family: var(--t700-display);
  font-size: clamp(40px, min(5.5cqw, 8.9cqh), 100px);
  letter-spacing: .035em;
  line-height: 1.04;
  font-weight: 400;
  text-shadow: 1px 2px 0 #27293c66;
}
.screening-heading p {
  font-family: var(--t700-hand);
  font-weight: 700;
  font-size: clamp(20px, min(2.4cqw, 4.5cqh), 42px);
  line-height: 1.2;
}
.screening-stage {
  position: relative;
  width: min(94.8cqw, 197cqh);
  aspect-ratio: 1700/575;
  isolation: isolate;
}
.screening-player {
  position: absolute;
  left: 3.48%;
  top: 7.65%;
  width: 45.81%;
  height: 76.2%;
  background: #302c2b;
  color: var(--screen-cream);
}
.screening-player[data-side="B"] {left: 50.60%}
.screening-window, .screening-window video {width: 100%;height: 100%}
.screening-window {position: relative; overflow: hidden;}
.screening-window video {object-fit: cover;cursor: pointer;}
.screening-player[data-side="A"], [data-vote="A"], [data-listen="A"] {
  --choice-color: #a0302d;
  --choice-hover: #872624;
}
.screening-player[data-side="B"], [data-vote="B"], [data-listen="B"] {
  --choice-color: #00626b;
  --choice-hover: #004f57;
}
.screening-tag {
  position: absolute;
  top: 3.1%;
  left: 2.7%;
  min-width: 1.5em;
  padding: .03em .24em 0;
  font-family: var(--t700-display);
  color: var(--ticket-cream);
  background: var(--choice-color);
  border: 2px solid var(--ticket-cream);
  border-radius: 10% 6% 14% 4%;
  box-shadow: 1px 1.5px 0 #51473e80;
  font-size: clamp(16px, 2.5cqw, 38px);
  line-height: 1.25;
  text-align: center;
  transform: rotate(-5deg);
  pointer-events: none;
}
.screening-controls {
  position: absolute;
  left: 1.8%;
  right: 1.8%;
  bottom: 2.2%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(4px,.65cqw,11px);
  min-height: 27px;
  height: 13.5%;
  padding: 0 1.7%;
  background: #302f31eb;
  color: #fff6e5;
  border-radius: 1% 1.2% 1.7% .7% / 5% 6% 8% 7%;
}
.screening-controls button {
  display: grid;
  place-items: center;
  color: inherit;
  padding: 0;
  min-width: 24px;
  height: 100%;
  font: inherit;
}
.screening-controls button svg {width: clamp(14px, 1.5cqw, 24px);height: auto;}
.screening-time {font-size: clamp(11px, 1.05cqw, 19px);white-space: nowrap;}
.screening-seek {min-width: 0;flex: 1;width: 20%;height: 4px;accent-color: #fff0d2;cursor: pointer;}
.screening-switch {display: none}
.screening-votes {
  position: absolute;
  z-index: 4;
  top: 87.5%;
  left: 3.5%;
  right: 3.5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.65%;
  justify-items: center;
}
.screening-vote, .screening-next, .screening-replay {
  color: var(--screen-cream);
  background-color: var(--vote-ink);
  border: 2px solid #2c2c32;
  box-shadow: 1px 2px 0 #503c36a6;
  font: inherit;
  line-height: 1.08;
  border-radius: 7px 4px 9px 5px / 5px 9px 5px 7px;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.screening-vote {
  padding: .16em .58em .19em;
  display: inline-flex; align-items: center; justify-content: center; gap: .2em;
  font-family: var(--t700-display);
  letter-spacing: .015em;
  color: var(--ticket-cream);
  background-color: var(--choice-color);
  width: 49%;
  min-height: 40px;
  font-size: clamp(21px, min(2.7cqw, 5.45cqh), 49px);
  background-image: repeating-linear-gradient(126deg,transparent 0 3px,#e9e0d008 3px 4px);
}
.screening-vote:hover:not([aria-disabled="true"]) {background-color: var(--choice-hover);}
.screening-vote.is-selected, .screening-vote.is-selected:disabled {
  background-color: var(--choice-hover);
  color: var(--ticket-cream);
  box-shadow: inset 0 0 0 2px var(--ticket-cream);
  opacity: 1;
}
.screening-vote:focus-visible {box-shadow: inset 0 0 0 3px var(--ticket-cream);}
.screening-vote svg {width: .62em; height: .62em;}
.screening-votes .screening-vote:disabled:not(.is-selected) {opacity: .78;}
.screening-vote[aria-disabled="true"] {opacity: 1;cursor: pointer}
.screening-feedback, .screening-next {
  position: absolute;
  z-index: 5;
  top: 104%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(13px, 1.22cqw, 20px);
  line-height: 1.3;
}
.screening-feedback {color: var(--screen-ink);background: #fff0d2; padding: .15em .65em;border-radius: 5px;}
.screening-feedback:empty {display:none}
.screening-next, .screening-replay {padding: .45em 1.1em .31em}
.scene-blind [hidden] {display: none !important}
.scene-blind :focus-visible {outline: 3px solid #f4c762;outline-offset: 2px}
.screening-player:fullscreen {position:fixed;inset:0;width:100%;height:100%;background:#171719}
.screening-player:fullscreen video {object-fit:contain}
.screening-player:fullscreen .screening-controls {height:48px}
.screening-complete {text-align:center;}
@media(max-width: 700px) and (orientation: portrait) {
  body[data-room="blind"] #main {height: max(620px,100svh);min-height: 100svh;}
  .scene-blind .scene-backdrop {background-size: auto 100%;background-position: center bottom;}
  .scene-blind .scene-content {padding: 50px 0 12px;}
  .screening-heading {margin-bottom: 12px}
  .screening-heading h1 {font-size: clamp(33px, 10cqw, 52px);}
  .screening-heading p {font-size: clamp(20px, 6.2cqw, 29px);}
  .screening-stage {width: 99%; aspect-ratio: 1.22;}
  .screening-player, .screening-player[data-side="B"] {left: 5%;top: 6.35%;width:91.6%;height:auto;aspect-ratio:16/9}
  .screening-stage[data-active="A"] .screening-player[data-side="B"],
  .screening-stage[data-active="B"] .screening-player[data-side="A"] {display:none}
  .screening-tag {font-size:24px;}
  .screening-controls {min-height:32px;}
  .screening-controls button {min-width:29px;}
  .screening-controls button svg {width:17px;}
  .screening-time {font-size:12px;}
  .screening-switch {position:absolute;z-index:4;display:flex;left:50%;top:73%;transform:translateX(-50%);gap:6px;white-space:nowrap;}
  .screening-switch button {
    min-height: 35px;padding: 3px 13px 0;color: var(--choice-color);border:2px solid var(--choice-color);background:var(--ticket-cream);
    border-radius: 6px 3px 4px 6px; font-size: 15px;
  }
  .screening-switch [aria-pressed="true"] {background:var(--choice-color);color:var(--ticket-cream);text-decoration: underline;text-underline-offset:3px}
  .screening-votes {top:89%;left:8%;right:8%;gap:12px}
  .screening-vote {width:100%;min-height:44px;font-size:24px;}
  .screening-next,.screening-feedback {top:108%;font-size:15px;white-space:nowrap;}
}
@media(max-height:560px) and (orientation:landscape) {
  body[data-room="blind"] #main {height: max(355px,100svh);min-height: 0;}
  .scene-blind .scene-content {padding-top:10cqh;padding-bottom:6cqh;}
  .screening-vote {min-height:30px;}
}
@media (min-width:701px) {
  .screening-vote {
    position:relative;
    width:58%;
    border-radius:0;
    clip-path:polygon(0 12%,2% 9%,3.3% 0,96.6% 1%,97.6% 8%,100% 12%,99.8% 86%,98% 92%,97% 100%,3% 99%,2% 92%,0 88%);
  }
}
