.csg-character{position:absolute;z-index:3;line-height:0;pointer-events:none}
.csg-portrait{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;border:0!important;margin:0!important;padding:0!important;border-radius:0!important;min-height:0!important;min-width:0!important;box-shadow:none!important;background:transparent!important;cursor:pointer;pointer-events:auto;line-height:0}
.csg-portrait img{position:absolute!important;top:0!important;left:0!important;width:300%!important;height:100%!important;max-width:none!important;object-fit:fill!important;pointer-events:none}
.csg-character[data-pose="1"] img{left:-100%!important}.csg-character[data-pose="2"] img{left:-200%!important}
.csg-portrait:focus-visible{outline:2px solid #e4c98d!important;outline-offset:3px}
.csg-audio-control{position:absolute;z-index:11;top:-14%;bottom:auto;left:50%;transform:translateX(-50%);max-width:240px;white-space:nowrap;padding:5px 10px!important;border:1px solid #ba965b!important;border-radius:3px!important;background:#342317!important;color:#f1e4c7!important;box-shadow:0 2px 5px #0007!important;font:normal clamp(11px,1vw,15px)/1.35 Georgia,serif!important;pointer-events:auto;cursor:pointer}
.csg-audio-control[hidden],.csg-character[hidden]{display:none!important}
.csg-directory{padding:18px 24px;background:#231a13;color:#eddfc0;font-family:Georgia,serif;line-height:1.45}
.csg-directory h2{font:normal 22px/1.4 Georgia,serif;color:#ead2a1;margin:0 0 12px}.csg-directory nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 20px}
.csg-directory a{display:block;padding:9px 0;border-bottom:1px solid #b3925b40;color:#eed6a4!important;text-decoration:none}.csg-directory a:hover{text-decoration:underline}.csg-directory span,.csg-directory small{display:block}.csg-directory small{font:normal 14px/1.5 Georgia,serif;color:#d5c7ad}
body.cave-staff-visit{background:#17110d!important;overflow:auto!important;height:auto!important;min-height:100vh}
.csg-visit{display:block;max-width:none!important;width:100%!important;margin:0!important;background:#17110d;color:#eee0c2;font-family:Georgia,serif}
.csg-visit-heading{padding:12px 24px;display:flex;gap:8px 22px;align-items:baseline;flex-wrap:wrap}.csg-visit-heading h1{font:normal 25px/1.3 Georgia,serif;margin:0;color:#eed6a4}.csg-visit-heading p{margin:0}.csg-visit-heading a{margin-left:auto;color:#eed6a4}
.csg-visit-scene{position:relative;overflow:hidden;width:100%;line-height:0}.csg-room{display:block;width:100%!important;height:100%!important;margin:0!important;object-fit:fill}.csg-room-front{position:absolute;inset:0;width:100%!important;height:100%!important;z-index:4;pointer-events:none}
.csg-nameplate{position:absolute;z-index:5;pointer-events:none}.csg-nameplate svg{width:100%;height:100%}.csg-welcome-text{padding:12px 24px;font:normal 17px/1.5 Georgia,serif}.csg-welcome-text summary{cursor:pointer}.csg-welcome-text p{max-width:750px}
.csg-visit-scene .csg-audio-control{z-index:10}

.csg-theron[data-pose="1"] .csg-portrait,.csg-theron[data-pose="2"] .csg-portrait{clip-path:polygon(0 0,100% 0,100% 100%,20% 100%,20% 90%,0 90%)}

.csg-curiosity{position:absolute;left:51.8%;top:40.5%;width:2.5%;height:auto;z-index:5;pointer-events:none;filter:drop-shadow(1px 2px 2px #0008)}

/* v0.2.172 — A tighter readable name within Lumina’s existing removable desk plaque. */
.csg-nameplate--lumina .cave-desk-nameplate-label{transform:translate(-100px,-12px) scale(1.2) scaleX(1.3888889);transform-box:view-box;transform-origin:0 0}

/* Preserve the approved lettering while making the plaque frame fit the name. */
.csg-nameplate--lumina .cave-desk-nameplate{width:100%;height:100%;}

/* Equalize the shorter nameplate frame margins; text keeps the v170 physical size. */

/* v0.2.174: Marketing is the reference for operations desktop nameplates. */
.csg-nameplate--operations .cave-desk-nameplate{width:100%;height:100%}
