/* The profile is a panel on top of the current scene. */
body.game-theme #game-profile82{
 position:fixed;inset:0;margin:auto;padding:0;
 box-sizing:border-box;width:min(1060px,calc(100vw - 36px));max-width:none;
 max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;
 color:#fff2df;background:#201927;border:1px solid #b99a7a;border-radius:15px;
 box-shadow:0 22px 85px #0e0a16bc;pointer-events:auto;
}
body.game-theme #game-profile82:not([open]){display:none}
#game-profile82::backdrop{background:#2118268f;backdrop-filter:blur(3px)}
#game-profile82 .profile-bar82{
 position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:10px 18px;background:#241d2d;border-bottom:1px solid #5c4a60;
}
#game-profile82 .profile-bar82 h2{margin:0;font-size:clamp(19px,3vw,25px);text-transform:uppercase}
body.game-theme #game-profile82 .profile-bar82 button{margin:0;min-height:42px;font-size:12px!important}
body.game-theme.version76 #app #game-profile82 .player-profile{
 position:static!important;width:100%!important;max-width:none!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;transform:none!important;box-shadow:none!important;
}
#game-profile82 .work-body{display:grid;gap:12px;padding:16px 20px 4px}
#game-profile82 .profile-results{margin:0;padding:15px 17px;border:1px solid #705e76;border-radius:8px;background:#282132}
#game-profile82 .profile-results h3{margin:0 0 7px;font-size:19px}
#game-profile82 .profile-results ul{list-style:none;margin:0;padding:0}
#game-profile82 .profile-results li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0}
#game-profile82 .profile-results li b{font-size:13px;color:#d0bed4;text-align:right}
#game-profile82 .profile-results li .result-complete{color:#bce5ce}
body.game-theme #game-profile82 .stage-back{position:static!important;display:flex;flex-wrap:wrap;gap:9px;margin:0!important;padding:15px 20px 19px}
#game-profile82 .profile-board76 button{margin-top:9px}
#game-profile82 .profile-party70 h3{margin:9px 0 4px;font-size:16px}
@media(max-width:640px){
 body.game-theme #game-profile82{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:11px}
 #game-profile82 .profile-bar82{padding:8px 10px}
 #game-profile82 .work-body{padding:12px 10px 3px}
 body.game-theme #game-profile82 .stage-back{padding:12px 10px 16px}
}

body.game-theme .faculty-entrance82>.scene-background65{object-position:52% 50%!important}
.faculty-entry-panel82{
 position:fixed;z-index:12;left:max(20px,var(--play-left,20px));bottom:max(24px,env(safe-area-inset-bottom));
 width:min(570px,calc(100vw - var(--play-left,20px) - 38px));box-sizing:border-box;
 padding:19px 22px;border:1px solid #b299b2;border-top:3px solid #f0c87f;background:#251d2eed;color:#fff3e3;
 box-shadow:0 6px 22px #170d1d7a;
}
.faculty-entry-panel82 h1{font-size:clamp(22px,3vw,31px);line-height:1.1;margin:6px 0 9px}
.faculty-entry-panel82 p{margin:0 0 13px;font:400 15px/1.45 system-ui,sans-serif}
.faculty-entry-panel82 .actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
body.game-theme .faculty-entry-panel82 button{min-height:43px;font-size:12px!important}
@media(max-width:760px){
 body.game-theme .faculty-entrance82>.scene-background65{object-position:64% 50%!important}
 .faculty-entry-panel82{left:11px;right:11px;width:auto;padding:13px 14px;bottom:max(15px,env(safe-area-inset-bottom))}
 .faculty-entry-panel82 p{font-size:14px}
}
