/* The picture and its pointer outline share a frame at the source aspect ratio. */
body.game-theme #app .simulator-layout .campus-world:is(.is-world,.is-talk) > .standing-actor103 {
 --actor-x103: 64%;
 --actor-size103: min(61dvh, 640px);
 --actor-max103: min(37vw, 450px);
 position: fixed !important;
 left: var(--actor-x103) !important;
 right: auto !important;
 top: auto !important;
 bottom: var(--actor-floor103, max(26px, 4.5dvh)) !important;
 width: min(calc(min(var(--actor-size103), var(--actor-size-limit106, 100dvh)) * var(--actor-aspect103, .5)), var(--actor-max103)) !important;
 height: auto !important;
 min-width: 0 !important;
 max-width: none !important;
 min-height: 0 !important;
 max-height: none !important;
 aspect-ratio: var(--actor-aspect103, .5);
 margin: 0 !important;
 transform: translateX(calc(-1 * var(--actor-middle103, 50%))) !important;
 translate: none !important;
 overflow: visible !important;
 visibility: visible !important;
 pointer-events: none !important;
 z-index: 5 !important;
}
body.game-theme #app .simulator-layout .campus-world:is(.is-world,.is-talk) > .standing-actor103 > img,
body.game-theme #app .entry-actor103 > img,
body.game-theme #summer-ui .ambient-actor103 > img {
 position: absolute !important;
 inset: 0 !important;
 width: 100% !important;
 height: 100% !important;
 max-height: none !important;
 max-width: none !important;
 object-fit: fill !important;
 transform: none !important;
 translate: none !important;
 visibility: visible !important;
 display: block !important;
 pointer-events: none;
}
body.game-theme #app .simulator-layout .campus-world.campus-pair-world100 > .standing-actor103 { display: none !important; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="5"]>.standing-actor103 { --actor-x103:65%; --actor-floor103:3dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="6"]>.standing-actor103 { --actor-x103:63%; --actor-floor103:4dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="7"]>.standing-actor103 { --actor-x103:49%; --actor-size103:min(61dvh,640px); --actor-floor103:3dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="8"]>.standing-actor103 { --actor-x103:65%; --actor-floor103:4dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="9"]>.standing-actor103 { --actor-x103:65%; --actor-floor103:4dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-bowling>.standing-actor103 { --actor-x103:63%; --actor-size103:min(54dvh,530px); --actor-floor103:5dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world.place-culture-inside>.standing-actor103 { --actor-size103:min(57dvh,580px); --actor-max103: min(49vw,630px); }
body.game-theme #app .simulator-layout .campus-world.is-world.place-dorm-room>.standing-actor103 { --actor-x103:38%; --actor-size103:min(50dvh,500px); }
body.game-theme #app .simulator-layout .campus-world.is-world.place-pool>.standing-actor103 { --actor-size103:min(57dvh,560px); --actor-floor103:4.5dvh; }
body.game-theme #app .simulator-layout .campus-world.is-world > .standing-actor103::after {
 inset: var(--actor-ground103, 94%) var(--actor-right103, 30%) auto var(--actor-left103, 30%) !important;
 height: 7px !important;
 filter: blur(2px);
}
body.game-theme #app .entry-actor103 {
 position: fixed; z-index: 7; left: 74%; bottom: 24%;
 width: min(calc(clamp(126px,31dvh,320px) * var(--actor-aspect103,.5)), 29vw);
 aspect-ratio: var(--actor-aspect103, .5);
 transform: translateX(calc(-1 * var(--actor-middle103, 50%)));
 filter: drop-shadow(3px 5px 3px #2f213180);
 pointer-events: none;
}
body.game-theme :is(#app,#summer-ui) button.actor-hit103 {
 position: absolute !important; inset: 0 !important;
 width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important;
 max-width: none !important; max-height: none !important;
 display: block !important; padding: 0 !important; margin: 0 !important;
 background: transparent !important; border: 0 !important; box-shadow: none !important;
 outline: none !important; translate: none !important; transform: none !important;
 pointer-events: none !important; touch-action: manipulation;
 visibility: visible !important; overflow: visible !important;
}
body.game-theme :is(#app,#summer-ui) button.actor-hit103::before,
body.game-theme :is(#app,#summer-ui) button.actor-hit103::after { content:none !important; display:none !important; }
body.game-theme :is(#app,#summer-ui) button.actor-fallback103 {
 inset: auto 0 8px !important; width: auto !important; height: auto !important;
 background: #26212e !important; pointer-events: auto !important;
}
body.game-theme :is(#app,#summer-ui) button.actor-fallback103.actor-silent104 {
 inset: 0 !important; width: 100% !important; height: 100% !important;
 background: transparent !important; cursor: pointer;
}
.actor-outline103 { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.actor-outline103 path { fill: transparent; stroke: #ffe5ad70; stroke-width: 1.05; stroke-linejoin: round; pointer-events: fill; cursor: pointer; }
.actor-hit103:is(:hover,:focus-visible) .actor-outline103 path { fill: #ffe5ad14; stroke: #fff0b5; stroke-width: 1.8; filter: drop-shadow(0 0 3px #ffe9aa91); }
.actor-caption103 {
 opacity: 0; position: absolute; z-index: 1; left: var(--actor-middle103,50%); bottom: 4%;
 translate: -50% 0; padding: 7px 9px; border: 1px solid #efd09a; border-radius: 6px;
 color: #fff0d2; background: #211a29f4; white-space: nowrap; text-transform: none;
 font: 700 12px/1.15 system-ui,sans-serif; pointer-events: none;
}
.actor-hit103:is(:hover,:focus-visible) .actor-caption103 { opacity: 1; }
.painted-actor103 { --actor-middle103: 47%; }
.painted-actor103 .actor-caption103 { bottom: 25%; }

/* The door outline and pointer area stay on the art's projected plane. */
body.game-theme #app .campus-world button.sports-entrance113 {
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
 max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;
 transform:none!important;translate:none!important;pointer-events:none!important;touch-action:manipulation;
}
.sports-entrance113>svg{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.sports-entrance113 path{fill:transparent;stroke:#ffe3aac9;stroke-width:1.55;stroke-linejoin:round;
 filter:drop-shadow(0 0 2px #25190a);pointer-events:fill;cursor:pointer}
.sports-entrance113:is(:hover,:focus-visible) path{fill:#ffe6ac12;stroke:#fff1bc;stroke-width:2.6}

body.game-theme #summer-ui .ambient-actor103 {
 position:fixed; left:77%; z-index:8;
 bottom:calc(var(--play-bottom,18px) + 48px);
 width:min(calc(clamp(125px,39dvh,418px) * var(--actor-aspect103,.5)), 32vw);
 aspect-ratio:var(--actor-aspect103,.5);
 transform:translateX(calc(-1 * var(--actor-middle103,50%)));
 pointer-events:none; filter:drop-shadow(0 3px 3px #24172b80);
}
body.game-theme:has(.culture-reception86) {
 --culture-lane106:clamp(106px, 14vw, 236px);
 --culture-map-lane106:0px;
}
@media(min-width:1060px) {
 body.game-theme:has(.culture-reception86) { --culture-map-lane106:clamp(95px, 11vw, 158px); }
 body.game-theme:has(.ambient-culture103) #app .culture-reception86 {
  grid-template-columns:minmax(140px,24vw) minmax(0,560px);
 }
 body.game-theme:has(.ambient-culture103) #app .culture-reception86>img { width:min(24vw,365px); }
}
body.game-theme #app .culture-reception86 { bottom:max(12px,var(--play-bottom,22px)); }
body.game-theme:has(.ambient-culture103) #app .culture-reception86 {
 right:calc(var(--play-right,22px) + var(--culture-map-lane106) + var(--culture-lane106) + 12px);
}
body.game-theme #summer-ui .ambient-culture103 {
 left:calc(100% - var(--play-right,22px) - var(--culture-map-lane106,0px) - var(--culture-lane106,190px) / 2);
 bottom:max(16px, 3.6dvh);
 width:min(calc(clamp(120px,43dvh,410px) * var(--actor-aspect103,.5)), calc(var(--culture-lane106,190px) - 10px));
 transform:translate(calc(-1 * var(--actor-middle103,50%)),calc(100% - var(--actor-ground103,97%)));
}
.ambient-culture103::after {
 content:''; position:absolute; z-index:-1; top:var(--actor-ground103,97%);
 left:var(--actor-left103,28%); right:var(--actor-right103,28%);
 height:5px; border-radius:50%; background:#3226387a; filter:blur(2px);
}
body.game-theme #summer-ui .ambient-library103 { left:85%; bottom:16dvh; }

/* The shaded corner opens on the destination itself, not a separate card. */
body.game-theme #app button.scene-exit-reveal104 {
 --exit-anchor104: left;
 --exit-matte104: radial-gradient(ellipse 99% 98% at var(--exit-anchor104) bottom,#000 54%,#000d 64%,#0008 77%,#0002 93%,transparent 100%);
 position:fixed!important; z-index:10;
 inset:auto auto env(safe-area-inset-bottom, 0px) var(--exit-edge-offset104, 0px)!important;
 width:clamp(170px, 18vw, 330px)!important;
 height:clamp(110px, 18dvh, 176px)!important;
 min-width:0!important; min-height:0!important; max-width:none!important; max-height:none!important;
 padding:0!important; margin:0!important; border:0!important; border-radius:0!important;
 background:transparent!important; box-shadow:none!important; outline:none!important;
 transform:none!important; translate:none!important;
 appearance:none; cursor:pointer; display:block!important; overflow:visible!important;
 isolation:isolate; touch-action:manipulation;
 clip-path:ellipse(99% 98% at var(--exit-anchor104) bottom);
}
body.game-theme #app button.scene-exit-reveal104.exit-right104 {
 --exit-anchor104:right;
 inset:auto env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) auto!important;
}
body.game-theme #app .simulator-view:has(.culture-reception86) button.scene-exit-reveal104 { z-index:6; }
body.game-theme #app button.scene-exit-reveal104::before,
body.game-theme #app button.scene-exit-reveal104::after { content:none!important; display:none!important; }
.scene-exit-world104 {
 position:absolute; inset:0; overflow:hidden; pointer-events:none;
 -webkit-mask-image:var(--exit-matte104); mask-image:var(--exit-matte104);
}
body.game-theme #app .scene-exit-world104 img {
 width:100%!important; height:100%!important; display:block;
 object-fit:cover; object-position:var(--exit-framing104,50% 56%);
 filter:brightness(.93) saturate(.94);
 transform:scale(1.01); transform-origin:var(--exit-anchor104) bottom;
 transition:transform 240ms ease-out,filter 200ms;
}
.scene-exit-world104::after {
 content:''; position:absolute; inset:0;
 background:linear-gradient(0deg,#19141c9c, #1c151d21 44%,transparent 68%);
}
.scene-exit-trail104 {
 position:absolute; width:48px; height:48px; left:clamp(17px, 2vw, 31px); bottom:12px;
 display:grid; place-items:center; border-radius:50%; pointer-events:none;
 color:#fff0c3; background:radial-gradient(ellipse at center,#241a20b0, transparent 69%);
 filter:drop-shadow(0 1px 2px #160d12) drop-shadow(0 0 3px #ffd17e9e);
 transition:color 170ms ease-out, filter 170ms ease-out;
}
.scene-exit-trail104 svg { width:100%; height:100%; display:block; }
.exit-right104 .scene-exit-trail104 {
 left:auto; right:clamp(17px, 2vw, 31px);
}
.exit-right104 .scene-exit-trail104 svg { transform:scaleX(-1); }
.scene-exit-label104 {
 position:absolute; left:17px; bottom:61px; max-width:calc(100% - 35px); box-sizing:border-box;
 color:#fff4dc; background:#201a24f2; padding:6px 8px; border-radius:4px;
 font:700 12px/1.25 system-ui,sans-serif; text-align:left; text-transform:none;
 opacity:0; visibility:hidden; text-wrap:balance; pointer-events:none;
 transition:opacity 160ms ease-out;
}
.exit-right104 .scene-exit-label104 { left:auto; right:17px; text-align:right; }
body.game-theme #app .scene-exit-reveal104:is(:hover,:focus-visible) .scene-exit-world104 img { transform:scale(1.055); filter:brightness(1.05) saturate(1.02); }
body.game-theme #app .scene-exit-reveal104:is(:hover,:focus-visible) .scene-exit-trail104 {
 color:white; filter:drop-shadow(0 1px 2px #160d12) drop-shadow(0 0 5px #ffe3a4);
}
body.game-theme #app .scene-exit-reveal104:focus-visible .scene-exit-trail104 {outline:2px solid #ffe8b3; outline-offset:2px;}
.scene-exit-reveal104:focus-visible .scene-exit-label104 { opacity:1; visibility:visible; }
@media(hover:hover) {
 .scene-exit-reveal104:hover .scene-exit-label104 { opacity:1; visibility:visible; }
}
@media(max-height:540px) {
 body.game-theme #app button.scene-exit-reveal104 { height:104px!important; }
}
@media(prefers-reduced-motion:reduce) {
 .scene-exit-reveal104 :is(img,.scene-exit-label104,.scene-exit-trail104) { transition:none!important; }
}

@media(max-width:760px) and (orientation:portrait) {
 body.game-theme #app .simulator-layout .campus-world.is-world > .standing-actor103 {
  --actor-x103: 57%; --actor-max103:66vw; --actor-size103: min(49dvh,440px);
  --actor-floor-mobile106:max(14dvh,calc(var(--play-bottom,96px) + 50px));
  --actor-size-limit106:max(72px,calc(100dvh - var(--actor-floor-mobile106) - var(--actor-clearance106,0px)));
  bottom:var(--actor-floor-mobile106)!important;
 }
 body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge > .standing-actor103 { --actor-x103: 57%; }
 body.game-theme #app .simulator-layout .campus-world.is-world.place-lounge[data-floor="7"]>.standing-actor103 { --actor-x103:57%; --actor-size103:min(49dvh,440px); }
 body.game-theme #app .simulator-layout .campus-world.is-world.place-culture-inside > .standing-actor103 { --actor-max103: 81vw; }
 body.game-theme #app .entry-actor103 { left: 66%; bottom: 40%; width:min(calc(28dvh * var(--actor-aspect103,.5)), 39vw); }
 body.game-theme #summer-ui .ambient-actor103 {
  left:72%; bottom:calc(var(--play-bottom,96px) + 120px);
  width:min(calc(27dvh * var(--actor-aspect103,.5)), 41vw);
 }
 body.game-theme #app .culture-reception86 {
  inset:max(calc(var(--play-top,225px) + 35px), calc(var(--culture-heading-end106,236px) + 12px)) 12px var(--play-bottom,108px);
  grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr);
  justify-content:stretch; gap:8px;
 }
 body.game-theme:has(.ambient-culture103) #app .culture-reception86 { right:12px; }
 body.game-theme #app .culture-reception86>.culture-desk86 {
  grid-row:1; align-self:start; max-height:min(33dvh,215px);
 }
 body.game-theme #app .culture-reception86>img {
  grid-row:2; align-self:end; justify-self:center; height:100%; max-height:250px; max-width:48vw;
 }
 body.game-theme:has(.ambient-culture103) #app .culture-reception86>img {
  justify-self:end; margin-right:43%; max-width:39vw;
 }
 body.game-theme #summer-ui .ambient-culture103 {
  left:77%; bottom:var(--play-bottom,108px);
  width:min(29vw,calc(min(25dvh,205px, max(62px, 100dvh - var(--play-bottom,108px) - var(--culture-desk-end106,470px) - 14px)) * var(--actor-aspect103,.5)));
 }
 body.game-theme #app button.scene-exit-reveal104 {
  inset:auto auto max(var(--play-bottom,80px),var(--exit-mobile-bottom104,0px)) 0!important;
  width:min(55vw,234px)!important; height:clamp(104px,17dvh,148px)!important;
 }
 body.game-theme #app .simulator-view:has(.place-lobby) button.scene-exit-reveal104 {
  /* Leave the fixed Admissions shortcut below the pictured exit. */
  bottom:calc(var(--play-bottom,80px) + 64px)!important;
 }
 body.game-theme #app button.scene-exit-reveal104.exit-right104 {
  inset:auto 0 var(--play-bottom,80px) auto!important;
 }
 .scene-exit-trail104 {left:11px;bottom:7px}
 .exit-right104 .scene-exit-trail104 {right:11px}
 .scene-exit-label104 {bottom:55px}
 body.game-theme #app button.journey-exit149 {
  width:min(36vw,140px)!important;
  height:clamp(65px,11dvh,94px)!important;
 }

}

/* Keep the alpha bounds of each participant inside its own space at ПДНЖ. */
body.game-theme .event-group74 .event-plane74 {
 display:flex; align-items:flex-end; justify-content:center; gap:var(--cast-gap103,12px);
 padding: 6px var(--cast-margin103,16px) 12px; box-sizing: border-box;
}
body.game-theme .event-group74 .event-figure74 {
 position:relative; inset:auto; translate:none; flex:0 0 auto;
 width:var(--cast-frame-w103,100px); height:var(--cast-frame-h103,200px);
}
body.game-theme.version74 .event-group74 .event-figure74 :is(img.cast-person74,.player-avatar) {
 inset:var(--cast-y103,0px) auto auto var(--cast-x103,0px) !important;
 width:var(--cast-img-w103,100%) !important; height:var(--cast-img-h103,100%) !important;
 object-fit:fill !important; translate:none !important;
}
