/* OntarioBarPrep design preview — approved luminous video theatre.
   Presentation only: preserves the actual film, existing player events and page layout. */
.hero:has(.hero-video-showcase) .hero-video-showcase{
  box-sizing:border-box;
  padding:8px;
  border:2px solid #e2bb79;
  border-radius:25px;
  color:#1c3343;
  background:linear-gradient(135deg,#fce7b6 0%,#cda264 26%,#f9ecd0 54%,#d9a85f 100%);
  box-shadow:0 22px 65px #010a1299,0 0 0 1px #fff6df80,0 0 55px #e9b86b5b;
  overflow:visible;
}
.hero:has(.hero-video-showcase) .hero-video-showcase:before{
  inset:-7px;
  border:1px solid #efc78566;
  border-radius:31px;
  pointer-events:none;
}
.hero:has(.hero-video-showcase) .hero-film-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:62px;
  padding:13px 17px;
  color:#122838;
  background:linear-gradient(180deg,#fffefd,#f1eee8);
  border:1px solid #f5f1e8;
  border-bottom:1px solid #d7cfc0;
  border-radius:16px 16px 0 0;
  font:800 11px/1.35 var(--display);
  letter-spacing:.075em;
  white-space:normal;
}
.hero-film-meta-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.hero:has(.hero-video-showcase) .video-brand-mark{
  display:inline-grid;
  place-items:center;
  width:33px;height:33px;flex:none;
  border:2px solid #1c3c4e;
  border-radius:8px;
  color:#153449;
  background:#f9f6ef;
  font:700 15px/1 var(--sans);
  letter-spacing:0;
}
.hero:has(.hero-video-showcase) .hero-film-meta-sub{
  display:inline!important;
  padding-left:12px;
  border-left:1px solid #ba995f;
  color:#3b5262;
  font:600 9px/1.5 var(--sans);
  letter-spacing:.04em;
}
.hero:has(.hero-video-showcase) .video-runtime{
  background:linear-gradient(125deg,#17384c,#0d2231);
  border:1px solid #68808f;
  border-radius:35px;
  box-shadow:inset 0 1px 0 #ffffff24;
  padding:7px 13px;
  color:#fff!important;
  font:800 10px/1.3 var(--sans)!important;
  letter-spacing:.035em!important;
  white-space:nowrap;
}
.hero:has(.hero-video-showcase) .hero-video-screen{
  width:100%;
  aspect-ratio:16/9;
  position:relative;
  background:#f6f8fa;
  border:9px solid #fffefa;
  border-bottom-width:0;
  overflow:hidden;
}
.hero:has(.hero-video-showcase) .hero-video-screen video{
  display:block;
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:contain;
  background:#eef3f6;
  filter:brightness(1.065) contrast(1.025) saturate(1.03);
}
.hero:has(.hero-video-showcase) .video-corner{display:none;}
/* The original film's sound/on-off and seeking logic remains unchanged. */
.hero:has(.hero-video-showcase) .hero-sound-bubble{
  position:absolute;
  z-index:11;
  top:50%;left:50%;
  bottom:auto;right:auto;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:86px;height:86px;
  border:4px solid #f8fbfc;
  border-radius:50%;
  padding:0;
  color:#fff;
  background:linear-gradient(145deg,#264e66,#0b2536);
  box-shadow:0 10px 35px #061c3178,0 0 0 9px #f6f9f94d;
  font-size:0;
  line-height:0;
  letter-spacing:0;
  white-space:nowrap;
  cursor:pointer;
  transition:background .2s,box-shadow .2s,scale .2s;
}
.hero:has(.hero-video-showcase) .hero-sound-bubble:before{
  content:"\25B6";
  display:block;
  margin-left:5px;
  color:#fff;
  font:700 37px/1 Arial,sans-serif;
}
.hero:has(.hero-video-showcase) .hero-sound-bubble span{display:none;}
.hero:has(.hero-video-showcase) .hero-sound-bubble:hover{
  transform:translate(-50%,-50%);
  background:linear-gradient(145deg,#335f77,#16394e);
  box-shadow:0 12px 36px #071c2baf,0 0 0 12px #f6f9f964;
  scale:1.055;
}
.hero:has(.hero-video-showcase) .hero-film-controls{
  display:flex;
  align-items:center;
  gap:13px;
  height:57px;
  padding:0 15px;
  border-top:1px solid #315567;
  background:linear-gradient(180deg,#142f41,#071c2b);
}
.hero:has(.hero-video-showcase) .film-control-button{
  color:white;
  background:transparent;
  border:0;
  border-radius:5px;
  cursor:pointer;
}
.hero:has(.hero-video-showcase) #heroTogglePlay{font-size:0;min-width:30px;}
.hero:has(.hero-video-showcase) #heroTogglePlay:before{
  content:"\25B6";
  display:inline-block;
  font:700 22px/1 Arial,sans-serif;
}
.hero:has(.hero-video-showcase) #heroTogglePlay[aria-label="Pause the video"]:before{content:"\2016";}
.hero:has(.hero-video-showcase) .hero-video-timeline span{color:#ecf1f3;font-size:10px;}
.hero:has(.hero-video-showcase) .hero-video-timeline input[type=range]{
  height:5px;
  background:linear-gradient(90deg,#e4bd79 0%,#e4bd79 var(--value,0%),#66808b var(--value,0%),#66808b 100%);
}
.hero:has(.hero-video-showcase) .film-sound-btn{color:#e8cc9b;}
.hero:has(.hero-video-showcase) .hero-fullscreen{font-size:0!important;min-width:88px;}
.hero:has(.hero-video-showcase) .hero-fullscreen:after{
  content:"\26F6";
  color:#fff;
  display:inline-block;
  font:normal 21px/1 Arial,sans-serif;
}
.hero:has(.hero-video-showcase) .hero-fullscreen .expand-label{font:700 9px var(--display);}
.hero:has(.hero-video-showcase) .hero-video-caption{
  color:#627787;
  background:#fffefa;
  border-radius:0 0 16px 16px;
  padding:12px 16px;
  font:700 9px/1.4 var(--sans);
  letter-spacing:.06em;
}
.hero:has(.hero-video-showcase) .hero-video-caption>span:first-child{color:#896b3b;}
@media(max-width:1190px){
 .hero:has(.hero-video-showcase) .hero-film-meta-sub{display:none!important;}
 .hero:has(.hero-video-showcase) .hero-film-meta{padding:10px 12px;min-height:53px;}
 .hero:has(.hero-video-showcase) .video-runtime{font-size:9px!important;padding:6px 9px;}
 .hero:has(.hero-video-showcase) .hero-sound-bubble{width:70px;height:70px;}
 .hero:has(.hero-video-showcase) .hero-sound-bubble:before{font-size:28px;}
}
@media(max-width:790px){
 .hero:has(.hero-video-showcase) .hero-video-showcase{border-radius:20px;padding:6px;}
 .hero:has(.hero-video-showcase) .hero-film-meta{font-size:9px;letter-spacing:.04em;}
 .hero:has(.hero-video-showcase) .hero-video-screen{border-width:6px;border-bottom-width:0;}
 .hero:has(.hero-video-showcase) .hero-film-controls{gap:8px;padding:0 9px;height:51px;}
 .hero:has(.hero-video-showcase) .hero-video-caption{padding:9px 11px;font-size:7px;}
 .hero:has(.hero-video-showcase) .hero-fullscreen{min-width:33px;}
}
@media(max-width:560px){
 .hero:has(.hero-video-showcase) .hero-film-meta{gap:6px;padding:8px 9px;min-height:43px;font-size:8px;}
 .hero:has(.hero-video-showcase) .video-brand-mark{width:24px;height:24px;border-width:1px;font-size:11px;}
 .hero:has(.hero-video-showcase) .video-runtime{font-size:7px!important;padding:5px 6px;}
 .hero:has(.hero-video-showcase) .hero-film-meta-title{gap:5px;}
 .hero:has(.hero-video-showcase) .hero-sound-bubble{width:55px;height:55px;border-width:3px;}
 .hero:has(.hero-video-showcase) .hero-sound-bubble:before{font-size:22px;}
 .hero:has(.hero-video-showcase) .hero-film-controls{height:48px;gap:5px;padding:0 7px;}
 .hero:has(.hero-video-showcase) .hero-video-timeline span{font-size:8px;}
 .hero:has(.hero-video-showcase) .hero-video-caption{font-size:7px;padding:8px 9px;}
 .hero:has(.hero-video-showcase) .hero-fullscreen .expand-label{display:none;}
}
@media(prefers-reduced-motion:reduce){
 .hero:has(.hero-video-showcase) .hero-sound-bubble{transition:none;}
}
