/* A soft backdrop, with a sharp desk edge in front of the snow globe. */
/* Share the scene stack so its controls remain above the page's edge shading. */
#people-view .people-viewport:has(.village-showcase){isolation:auto;background:#171d21}
#people-view .village-showcase{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:linear-gradient(115deg,#272b28,#131b20 65%,#111519)}
#people-view .showcase-window{
  position:absolute;left:2.5%;right:8%;top:5%;height:64%;border:14px solid #30403a;border-bottom-width:20px;border-radius:3px;
  box-shadow:0 0 0 2px #847154,0 0 0 9px #192822,inset 0 0 0 2px #a28c65,inset 0 0 60px #0005,0 20px 50px #0004;
  background:#1f333e;filter:blur(2.2px);
}
#people-view .showcase-window-glass{position:absolute;inset:3px;background:linear-gradient(125deg,#657c7b16 0%,#839ba627 16%,transparent 17%,transparent 45%,#d6e8ee0b 46%,transparent 62%),linear-gradient(180deg,#253e4b,#314650 65%,#4e5c5e);box-shadow:inset 0 0 70px #0c1b2c80}
#people-view .showcase-mullion{position:absolute;top:0;bottom:0;width:11px;background:linear-gradient(90deg,#172a24,#435449 50%,#263e31);box-shadow:1px 0 #ad946862,7px 0 12px #0003}
#people-view .showcase-transom{position:absolute;left:0;right:0;top:25%;height:10px;background:linear-gradient(#46584d,#1c2e27);box-shadow:0 1px #ad946862,0 8px 15px #0003}
#people-view .showcase-festoon{position:absolute;top:20%;left:-1%;right:-1%;height:120px}
#people-view .showcase-festoon svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#78826a;stroke-width:2}
#people-view .showcase-festoon i{position:absolute;width:7px;height:11px;border-radius:3px 3px 50% 50%;background:rgb(var(--light));box-shadow:0 0 14px 4px rgba(var(--light),.35),0 0 38px 12px rgba(var(--light),.15)}
#people-view .showcase-wreath{position:absolute;left:4%;top:30%;width:clamp(100px,11vw,205px);height:auto;filter:drop-shadow(0 7px 9px #0005)}
#people-view .showcase-desk{
  position:absolute;left:-8%;right:-8%;top:52%;bottom:0;overflow:hidden;
  background:linear-gradient(180deg,#4d4032,#483a2d 35%,#3b3026 93%,#31261f);
  border-top:2px solid #897252;box-shadow:0 -5px 20px #0003;
}
#people-view .showcase-desk::before{
  content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(180deg,transparent 0,transparent calc(25% - 1px),#201a1760 25%,transparent calc(25% + 1px));
  mask-image:linear-gradient(180deg,#0002,#0009 35%,#000 65%);
}
#people-view .showcase-desk::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:23px;
  border-top:3px solid #9a7b54;background:linear-gradient(#4c3829,#2b211c);box-shadow:0 -1px #c5aa7755;
}
#people-view .showcase-woodgrain{position:absolute;inset:0;opacity:.12;mix-blend-mode:soft-light;mask-image:linear-gradient(180deg,#0002,#0009 35%,#000 65%)}
#people-view .showcase-room-shade{position:absolute;inset:0;background:linear-gradient(90deg,transparent 48%,#10141818 68%,#0c1017bd 100%)}
#people-view .people-viewport>.spatial-canvas{z-index:1}
#people-view .people-viewport>#people-pins{z-index:2}
/* Keep the scene readable down to the edge of the wooden shelf. */
#people-view:has(.village-showcase)::before{background:linear-gradient(to bottom,var(--bg),color-mix(in srgb,var(--bg) 85%,transparent) 100px,transparent 220px,transparent calc(100% - 35px),color-mix(in srgb,var(--bg) 70%,transparent))}
[data-theme=light] #people-view .village-showcase{background:linear-gradient(115deg,#9a9f96,#bac2c4)}
[data-theme=light] #people-view .showcase-desk{background:linear-gradient(180deg,#77604b,#6b523e 93%,#4c382a)}
[data-theme=light] #people-view .showcase-room-shade{background:linear-gradient(90deg,transparent 65%,#d4d7d888)}
@media(max-width:800px){
  #people-view .showcase-window{left:-25%;right:-25%;top:7%;height:57%;border-width:9px;filter:blur(1.4px)}
  #people-view .showcase-wreath{left:18%;width:100px;top:28%}
  #people-view .showcase-festoon{top:15%;height:80px}
  #people-view .showcase-desk{top:54%;bottom:0}
}
