/* v0.9.9 — actual image elements outside the shortcode, regardless of session. */
body.sdl-photo-theme {background:#100a0c;isolation:isolate;}
.sdl-theme-scene {position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#12090c;}
.sdl-theme-scene img {display:block;position:absolute;max-width:none;object-fit:cover;height:100%;top:0;}
.sdl-theme-scene .sdl-scene-room {inset:0;width:100%;object-position:center;filter:saturate(.38) brightness(.42);opacity:.65;}
.sdl-theme-scene .sdl-scene-person {width:calc((100% - clamp(420px,39vw,620px))/2 + 25px);filter:saturate(.35) brightness(.82);opacity:.32;}
.sdl-theme-scene .sdl-scene-man {left:0;object-position:48% 24%;mask-image:linear-gradient(to right,#000 76%,transparent 100%);}
.sdl-theme-scene .sdl-scene-woman {right:0;object-position:52% 24%;mask-image:linear-gradient(to left,#000 76%,transparent 100%);}
body.sdl-photo-theme .site-head,body.sdl-photo-theme .site-foot {position:relative;background:#1b0c12;}
body.sdl-photo-theme #main.site-main {position:relative;}
/* Keep full functionality and widths of profile, admin and live lounge. */
body.sdl-photo-theme #main.site-main > .sdl {box-shadow:0 12px 45px #0008;}
/* Only compact authentication/choice screens use the central card. :has also catches a shortcode on a renamed page. */
body.sdl-photo-theme.sdl-auth-scene #main.site-main,
body.sdl-photo-theme.sdl-choice-scene #main.site-main,
body.sdl-photo-theme #main.site-main:has(.sdl-auth) {
  display:grid;align-content:center;justify-items:center;max-width:none;width:100%;min-height:calc(100vh - 76px);min-height:calc(100svh - 76px);padding:clamp(32px,6vh,84px) 20px;}
body.sdl-photo-theme.sdl-auth-scene #main.site-main .sdl,
body.sdl-photo-theme.sdl-choice-scene #main.site-main .sdl,
body.sdl-photo-theme #main.site-main:has(.sdl-auth) .sdl:has(.sdl-auth) {
  position:relative;width:clamp(420px,39vw,620px);max-width:100%;margin:0 auto;padding:0;background:transparent;border:0;outline:0;box-shadow:none;border-radius:0;}
body.sdl-photo-theme #main.site-main .sdl:has(.sdl-auth)>h1,
body.sdl-photo-theme.sdl-choice-scene #main.site-main .sdl>h1 {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;}
body.sdl-photo-theme #main.site-main .sdl:has(.sdl-auth)>.sdl-notice:not(:empty) {margin:0 0 14px;border-radius:6px;overflow-wrap:anywhere;}
body.sdl-photo-theme #main.site-main .sdl .sdl-auth,
body.sdl-photo-theme.sdl-choice-scene #main.site-main .sdl .sdl-narrow {width:100%;max-width:none;margin:0;padding:clamp(20px,2.4vw,36px);box-shadow:0 15px 65px #000b;border-color:#c8a66b;}
body.sdl-photo-theme #main.site-main .sdl .sdl-auth h2 {font-size:clamp(28px,3vw,42px);}
body.sdl-photo-theme #main.site-main .sdl .sdl-auth input {min-width:0;}
body.sdl-photo-theme #main.site-main .sdl .sdl-auth button {overflow-wrap:anywhere;}
.sdl-theme-version {display:block;color:#a98d7a;font-size:11px;}
@media (max-width:760px){
  .sdl-theme-scene {position:absolute;height:clamp(320px,74vw,470px);bottom:auto;}
  .sdl-theme-scene .sdl-scene-person {width:50%;object-position:center 25%;mask-image:linear-gradient(to bottom,#000 55%,transparent 100%);}
  .sdl-theme-scene .sdl-scene-room {mask-image:linear-gradient(to bottom,#000 60%,transparent 100%);}
  body.sdl-photo-theme.sdl-auth-scene #main.site-main,
  body.sdl-photo-theme.sdl-choice-scene #main.site-main,
  body.sdl-photo-theme #main.site-main:has(.sdl-auth) {align-content:start;min-height:70vh;padding:clamp(150px,40vw,235px) 14px 36px;}
  body.sdl-photo-theme.sdl-auth-scene #main.site-main .sdl,
  body.sdl-photo-theme.sdl-choice-scene #main.site-main .sdl,
  body.sdl-photo-theme #main.site-main:has(.sdl-auth) .sdl:has(.sdl-auth) {width:100%;max-width:540px;}
  body.sdl-photo-theme #main.site-main .sdl .sdl-auth {padding:20px 16px;}
  body.sdl-photo-theme #main.site-main .sdl .sdl-auth h2 {font-size:30px;}
  body.sdl-photo-theme #main.site-main .sdl-auth-tabs button {padding:10px 6px;}
}


/* Recognisable lounge portraits, with muted colour rather than heavy blur.
   Scale to the available side space so faces are not hidden by the content. */
body.sdl-photo-theme .sdl-theme-scene {
  background:radial-gradient(ellipse at 50% 24%,#32131e 0%,#1b0d13 54%,#100a0c 100%);
  --sdl-scene-center:1000px;
  --sdl-scene-side:max(165px,calc((100% - var(--sdl-scene-center))/2));
}
.sdl-theme-scene .sdl-scene-room {display:none;}
body.sdl-photo-theme .sdl-theme-scene .sdl-scene-person {
  width:var(--sdl-scene-side);height:auto;max-height:none;top:clamp(62px,8vh,88px);
  object-fit:contain;object-position:center top;
  filter:blur(1.6px) saturate(.38) brightness(.91) contrast(.91) sepia(.12);
  opacity:.64;transform:none;
}
body.sdl-photo-theme .sdl-theme-scene .sdl-scene-man {
  left:0;mask-image:linear-gradient(to right,#000 91%,transparent 100%);}
body.sdl-photo-theme .sdl-theme-scene .sdl-scene-woman {
  right:0;mask-image:linear-gradient(to left,#000 91%,transparent 100%);}
@supports (mask-composite:intersect) {
  body.sdl-photo-theme .sdl-theme-scene .sdl-scene-man {
    mask-image:linear-gradient(to right,#000 91%,transparent 100%),linear-gradient(to bottom,#000 72%,transparent 100%);mask-composite:intersect;}
  body.sdl-photo-theme .sdl-theme-scene .sdl-scene-woman {
    mask-image:linear-gradient(to left,#000 91%,transparent 100%),linear-gradient(to bottom,#000 72%,transparent 100%);mask-composite:intersect;}
}
body.sdl-auth-scene .sdl-theme-scene,body.sdl-choice-scene .sdl-theme-scene,
body.sdl-photo-theme:has(#main .sdl-auth) .sdl-theme-scene {
  --sdl-scene-center:clamp(420px,39vw,620px);
}
@media(max-width:760px){
  body.sdl-photo-theme .sdl-theme-scene .sdl-scene-person {width:50%;height:100%;top:0;object-fit:cover;object-position:center 25%;filter:blur(1.4px) saturate(.38) brightness(.91) contrast(.91) sepia(.12);opacity:.60;}
  body.sdl-photo-theme .sdl-theme-scene .sdl-scene-person.sdl-scene-man,
  body.sdl-photo-theme .sdl-theme-scene .sdl-scene-person.sdl-scene-woman {mask-image:linear-gradient(to bottom,#000 55%,transparent 100%);mask-composite:add;}
}
body.sdl-photo-theme .site-head.sdl-salon-head{background:radial-gradient(ellipse at 50% 0%,#3a1421 0%,#1b0c12 73%)}

/* The selected event uses agenda width, while the login form itself stays compact. */
body.sdl-photo-theme.sdl-event-scene #main.site-main{display:block;max-width:1240px;width:100%;min-height:70vh;padding:28px clamp(12px,3vw,30px) 50px}
body.sdl-photo-theme.sdl-event-scene #main.site-main .sdl:has(.sdl-auth){width:100%;max-width:1000px;margin:0 auto;padding:clamp(12px,2vw,24px);background:#100a0cdb;border:1px solid #725336;border-radius:8px;box-shadow:0 12px 45px #0008}
body.sdl-photo-theme.sdl-event-scene #main.site-main .sdl:has(.sdl-auth)>h1{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;text-align:center;margin:0 0 16px;font-size:clamp(25px,3vw,40px)}
body.sdl-photo-theme.sdl-event-scene #main.site-main .sdl .sdl-auth{width:100%;max-width:470px;margin:20px auto 0;padding:clamp(18px,2.4vw,30px)}
body.sdl-photo-theme.sdl-event-scene .sdl-theme-scene{--sdl-scene-center:1000px}
@media(max-width:760px){body.sdl-photo-theme.sdl-event-scene #main.site-main{padding:18px 12px 36px}}
