/* Photo slots display the theatre background until the client media is added. */
.client-photo-slot {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  margin:auto;
  color:#ead7a9;
  font:700 clamp(22px,6vw,36px)/1.45 Tajawal,sans-serif;
  text-shadow:0 2px 10px #000;
  text-align:center;
}
.night-photo-scene .client-photo-slot{background:#151215a0}
.lights-cast .client-photo-slot{background:radial-gradient(ellipse,#322413a0,transparent 72%)}
.lights-party-stage .client-photo-slot{background:radial-gradient(ellipse,#392617a0,transparent 68%);z-index:2}
#password{width:100%}

/* The full-length party portrait contains both people. */
.lights-party-stage .lights-party-couple{
  inset-inline:0;
  width:100%;
  height:100%;
  padding-block:4px 6px;
  object-fit:contain;
  object-position:center bottom;
}

/* The mute control sits above the action rows, leaving them full width. */
#lightsPartyPanel > .lights-ticket,
#lightsPartyPanel > .lights-cta-wrap{
  width:100%;
  max-width:none;
  margin:0;
}
#lightsPartyPanel > .lights-cta-wrap{padding-inline:0}
#lightsPartyPanel > .sound-toggle{
  position:absolute;
  left:max(18px,env(safe-area-inset-left));
  top:5px;
  bottom:auto;
  z-index:6;
  width:44px;
  height:44px;
  background:#151b24e8;
  color:#f2e4c8;
  border-color:#c7aa7870;
  transition:background .2s;
}
@media(max-width:600px){
  #lightsPartyPanel{
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }
}
@media(max-width:375px){
  #lightsPartyPanel .lights-party-heading{padding-left:58px}
}
@media(max-height:500px) and (min-width:600px){
  #lightsPartyPanel{padding-inline:18px;grid-template-rows:minmax(0,1fr) auto auto}
  #lightsPartyPanel .lights-party-stage{grid-row:1}
  #lightsPartyPanel .lights-party-heading{align-self:center}
  #lightsPartyPanel > .lights-ticket,
  #lightsPartyPanel > .lights-cta-wrap{grid-column:1/-1}
}

/* A full-width dialogue and button leave more space for the portrait. */
#lightsLitPanel .lights-cast img{
  max-width:460px;
  max-height:none;
}
#lightsLitPanel .lights-dialogue,
#lightsLitPanel .lights-cta-wrap{
  max-width:none;
  margin:0;
  padding-inline:0;
}
#lightsLitPanel .lights-dialogue{gap:8px}
#lightsLitPanel .lights-speech{max-width:96%}
#lightsLitPanel .sound-toggle{
  left:0;
  top:5px;
  bottom:auto;
  position:absolute;
  width:44px;
  height:44px;
  z-index:6;
  background:#171d22f5;
  color:#e4e9bd;
  border-color:#6973629e;
}
@media(max-width:600px){
  #lightsLitPanel{
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
    padding-bottom:max(16px,env(safe-area-inset-bottom));
    gap:9px;
  }
  #lightsLitPanel .lights-speech{font-size:clamp(14px,4.2vw,17px);padding:9px 13px}
  #lightsLitPanel .lights-speech>span{margin-left:7px}
  #lightsNext{min-height:56px}
}
@media(max-height:500px) and (min-width:600px){
  #lightsLitPanel{padding-left:max(20px,env(safe-area-inset-left))}
}

@media(max-width:480px){
  .night-brand-copy strong{font-size:clamp(19px,calc(9vw - 12px),23px)}
  .night-brand-copy strong i{font-size:.72em;margin-inline:2px}
}
