/* FB Universe: the location stays visible around the action. */
body.game-theme.campus-mode {background:#15121a;overflow-x:hidden}
body.campus-mode #scene,body.campus-mode>.shade,body.campus-mode>footer {display:none!important}
body.game-theme.campus-mode header {position:absolute;inset:0 0 auto;height:94px;padding:18px 3vw;background:linear-gradient(#08070cec,#08070c00);z-index:10}
body.game-theme.campus-mode #app {display:block;padding:0;min-height:100svh}
body.game-theme .brand>span:last-child {font-size:22px}
body.game-theme .brand small {max-width:230px;letter-spacing:0;line-height:1.3}
body.game-theme button.campus-open {padding:10px 13px;font-size:14px!important;min-height:46px}
body.game-theme button.campus-open[hidden] {display:none}
.campus-world {position:relative;min-height:max(700px,100svh);isolation:isolate;overflow:hidden}
.campus-backdrop,.campus-light {position:absolute;inset:0;z-index:-2}
.campus-backdrop img {width:100%;height:100%;object-fit:cover;object-position:center}
.campus-light {z-index:-1;background:linear-gradient(180deg,#0c0b1066,transparent 32%,transparent 55%,#0c0b1099),linear-gradient(90deg,#08070c66,transparent 40%)}
.campus-location {position:absolute;left:3vw;top:110px}
.campus-location>span {font-family:var(--gta-title);font-size:13px;letter-spacing:.18em;color:#f2c36f;text-shadow:2px 2px #000}
body.game-theme .campus-location h1 {font-size:clamp(36px,4.5vw,64px);margin:8px 0 0;line-height:1}
.campus-objective {position:absolute;top:224px;left:3vw;max-width:300px;padding:13px 18px;border-left:4px solid #f2c36f;background:#0c0b10e6;box-shadow:4px 4px #0007}
.campus-objective b,.campus-objective span {display:block}
.campus-objective b {font-family:var(--gta-title);font-size:20px;color:#f2c36f;margin-bottom:6px}
.campus-objective span {font-size:14px;line-height:1.4;color:#fff}
.campus-person {position:absolute;left:50%;bottom:105px;transform:translateX(-50%);height:clamp(330px,58svh,570px);width:330px;pointer-events:none;filter:drop-shadow(8px 8px 6px #0006)}
.campus-person img {width:100%;height:100%;object-fit:contain;object-position:center bottom}
.campus-world.is-quest .campus-person,.campus-world.is-talk .campus-person,.campus-world.is-result .campus-person {left:24%;height:clamp(330px,62svh,600px)}
.campus-world.is-quest .campus-objective,.campus-world.is-result .campus-objective {display:none}
.campus-glyph {width:26px;height:26px;flex-shrink:0}
body.game-theme button.world-hotspot {position:absolute;display:flex;gap:12px;align-items:center;min-width:174px;min-height:64px;padding:11px 17px;background:#0c0b10f2!important;border-width:3px!important;box-shadow:5px 5px #000!important;text-align:left;animation:pin-pulse 2.5s ease-in-out infinite}
.world-hotspot span {display:block;font-size:21px;line-height:1.15}
.world-hotspot small {font-family:Arial,sans-serif;font-size:12px;letter-spacing:0;text-transform:none;color:#f2c36f;margin-top:4px}
.npc-hotspot {left:50%;bottom:116px;transform:translateX(-50%)}
body.game-theme button.npc-hotspot:hover {transform:translateX(-50%) translateY(-2px)}
.door-hotspot {right:15%;top:52%}
.campus-nav {position:absolute;bottom:0;left:0;right:0;z-index:5;display:flex;gap:12px;justify-content:center;align-items:center;padding:14px 18px;background:#0c0b10ed;border-top:2px solid #74647b}
body.game-theme .campus-nav button {display:flex;gap:10px;align-items:center;justify-content:center;min-width:146px;min-height:52px;font-size:15px!important}
.campus-rep {position:absolute;bottom:104px;left:3vw;background:#0c0b10df;padding:12px 16px;border:1px solid #74647b;display:grid;gap:5px;max-width:200px}
.campus-rep b {font-family:var(--gta-title);font-size:24px;color:#f2c36f}
.campus-rep>span:last-child {font-size:13px;color:#f7f4f8}
.rep-stars {display:flex;gap:4px;line-height:1}
.rep-stars i {font-style:normal;color:#74647b;font-size:23px;text-shadow:1px 2px #000}
.rep-stars .lit {color:#f2c36f}
.campus-talk,.campus-quest,.campus-result {position:absolute;right:4vw;top:50%;transform:translateY(-46%);width:min(520px,48vw);padding:27px 29px;background:#15121af5;border:2px solid #a89bac;box-shadow:7px 7px #08070c;border-top:4px solid #f2c36f;z-index:3}
.campus-talk {top:auto;bottom:130px;transform:none}
.campus-speaker,.quest-head>span {font-family:var(--gta-title);font-size:17px;color:#f2c36f;letter-spacing:.08em;display:block;margin-bottom:12px;text-transform:uppercase}
body.game-theme .campus-talk p {font-size:21px;line-height:1.5;margin-bottom:18px;color:#fff}
.campus-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
body.game-theme .campus-actions button {flex:1;min-width:110px;font-size:15px!important;min-height:47px;padding:10px 14px}
.campus-quest {max-height:calc(100svh - 220px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#f2c36f #211b29}
body.game-theme .quest-head h2,body.game-theme .campus-result h2 {font-size:32px;margin-bottom:10px}
body.game-theme .quest-head p {font-size:15px;line-height:1.45;margin-bottom:19px;color:#eee5f6}
.quest-head>span {font-size:14px;margin-bottom:8px}
body.game-theme .campus-feedback {font-size:14px;line-height:1.5;padding:12px;margin:14px 0 0;border:1px solid #f2c36f;background:#382844;color:#fff}
.campus-feedback[hidden] {display:none}
.quest-metrics {display:flex;gap:25px;justify-content:center;font-size:14px;color:#c9c0cf;margin-top:14px}
.quest-metrics b {color:#f2c36f}
.memory-board {display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
body.game-theme button.memory-card {padding:8px;aspect-ratio:1.15;min-height:78px;background:repeating-linear-gradient(45deg,#292231,#292231 8px,#211b29 8px,#211b29 16px)!important;border-color:#74647b!important;color:#f2c36f!important;opacity:1}
.memory-card b {font-family:var(--gta-title);font-size:34px}
.memory-card .campus-glyph {width:44px;height:44px}
body.game-theme button.memory-card.is-open {background:#322b20!important;border-color:#f2c36f!important;color:#f2c36f!important}
body.game-theme button.memory-card.is-matched {background:#1d3026!important;border-color:#bce5ce!important;color:#bce5ce!important}
.team-puzzle {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.team-people,.team-jobs {display:grid;gap:11px}
body.game-theme button.role-person,body.game-theme button.role-job {padding:12px;display:flex;flex-direction:column;gap:5px;text-align:center;justify-content:center;min-height:99px;border-color:#74647b!important;box-shadow:none!important;font-family:Arial,sans-serif!important;text-transform:none;font-size:15px!important}
.role-person b,.role-job b {font-family:var(--gta-title);font-size:18px;color:#f2c36f}
.role-person span {font-size:12px;line-height:1.35;color:#c9c0cf}
.role-job span {font-size:14px;line-height:1.3}
body.game-theme button.role-person.selected {border-color:#f2c36f!important;background:#382844!important}
body.game-theme button.role-job.assigned {border-color:#bce5ce!important;background:#1d3026!important}
.maze-board {display:grid;grid-template-columns:repeat(6,1fr);gap:4px;max-width:306px;margin:auto;padding:7px;background:#74647b;border:3px solid #08070c}
body.game-theme button.maze-cell {aspect-ratio:1;min-height:0;border:0!important;box-shadow:none!important;padding:0;background:#d9c8a6!important;position:relative;display:grid;place-items:center;color:#17131e!important;opacity:1;font-size:33px!important}
.maze-wall {aspect-ratio:1;min-height:0;display:block;background:#211b29;border-top:5px solid #382844}
body.game-theme button.maze-cell.is-exit {background:#8fc0a2!important}
.maze-player {width:20px;height:20px;background:#72243d;border:3px solid #08070c;border-radius:50%;box-shadow:0 0 0 3px #f2c36f}
.maze-controls {display:flex;gap:8px;justify-content:center;margin-top:14px}
body.game-theme .maze-controls button {padding:4px 10px;min-height:45px;min-width:47px;font-size:23px!important}
.poster-builder {display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:15px;align-items:center}
.student-poster {display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;text-align:center;aspect-ratio:.78;padding:22px 16px;background:var(--poster-color);color:#fff;border:5px solid #08070c;box-shadow:5px 5px #000;transform:rotate(-2deg)}
.student-poster small {font-family:var(--gta-title);font-size:13px;letter-spacing:.1em;color:#fff;margin:0}
.student-poster .poster-symbol {font-size:85px;line-height:1;color:#f2c36f;text-shadow:4px 4px #000}
.student-poster b {font-family:var(--gta-title);font-size:29px;line-height:1.05;text-shadow:3px 3px #000}
.student-poster>span:last-child {font-size:9px;font-weight:bold;letter-spacing:.04em}
.poster-tools {display:grid;gap:12px}
body.game-theme .poster-tools button {padding:11px 8px;display:grid;justify-items:center;gap:8px;font-size:13px!important;border-color:#a89bac!important}
.ttt-board {display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:270px;max-width:100%;margin:auto}
body.game-theme button.ttt-cell {aspect-ratio:1;min-height:0;padding:0;font-size:65px!important;line-height:1;border-color:#74647b!important;box-shadow:none!important;opacity:1}
body.game-theme button.ttt-cell.is-x {color:#f2c36f!important}
body.game-theme button.ttt-cell.is-o {color:#bce5ce!important}
.food-budget {display:flex;justify-content:space-between;gap:14px;background:#211b29;border:1px solid #74647b;padding:12px 15px;margin-bottom:14px;font-size:12px;color:#c9c0cf}
.food-budget b {display:block;font-family:var(--gta-title);font-size:27px;color:#f2c36f;margin-top:5px}
.food-budget.over-budget {border-color:#f2c36f}
.food-budget.over-budget b {color:#f2c36f}
.food-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.game-theme button.food-item {display:grid;gap:7px;justify-items:center;padding:12px 9px;font-family:Arial,sans-serif!important;font-size:13px!important;min-height:98px;text-transform:none;border-color:#74647b!important;box-shadow:none!important}
.food-item b {font-size:14px;line-height:1.2}
.food-item span {font-size:12px;color:#f2c36f}
body.game-theme button.food-item.selected {border-color:#bce5ce!important;background:#1d3026!important}
.food-tray {display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:10px;background:#38353b;border:3px solid #a89bac;margin-top:15px}
.food-tray>div {display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;padding:9px 5px;background:#211b29;color:#a89bac;font-size:10px;line-height:1.35;min-height:70px}
.food-tray>div.filled {background:#1d3026;color:#bce5ce}
.game-menu-note {font-size:11px;letter-spacing:0;color:#a89bac;margin-top:9px}
.campus-result {text-align:center;border-color:#f2c36f;max-width:520px}
.mission-passed {display:block;font-family:var(--gta-title);font-size:clamp(20px,2vw,26px);letter-spacing:.05em;color:#f2c36f;margin-bottom:18px}
body.game-theme .campus-result p {font-size:16px;line-height:1.5;margin-bottom:18px}
.xp-prize {display:flex;align-items:center;justify-content:center;gap:12px;font-family:var(--gta-title);font-size:43px;color:#bce5ce;padding:17px 0}
.xp-prize .campus-glyph {width:36px;height:36px}
.stairs-travel {position:absolute;right:12%;top:40%;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#0c0b10ed;border:2px solid #a89bac;padding:22px;min-width:280px}
.stairs-floor {grid-column:1/-1;font-family:var(--gta-title);font-size:95px;color:#f2c36f;text-align:center;line-height:1}
.stairs-floor small {font-size:17px;letter-spacing:.15em;color:#fff;margin:8px 0 15px}
body.game-theme button.travel-button {padding:12px;font-size:17px!important}
body.game-theme .campus-world-message {position:absolute;bottom:106px;right:4vw;max-width:440px;padding:17px;background:#17131ef2;border:2px solid #f2c36f;font-size:16px;color:#fff;margin:0;z-index:6}
.campus-progress-bar {height:9px;background:#0c0b10;border:1px solid #74647b;margin:13px 0}
.campus-progress-bar i {display:block;height:100%;background:#f2c36f}
body.game-theme.work .profile-campus {padding:22px;border:1px solid #74647b;background:#211b29;margin-bottom:24px}
.profile-campus-head {display:flex;flex-wrap:wrap;align-items:center;gap:18px;justify-content:space-between}
.profile-campus-head>div>span {font-size:11px!important;letter-spacing:.12em;color:#c9c0cf}
body.game-theme.work .profile-campus-head h3 {margin:8px 0 0;color:#fff;font-size:24px!important}
.profile-campus-head>b {font-family:var(--gta-title)!important;font-size:34px!important;color:#f2c36f!important}
.profile-campus-counts {display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px!important;color:#c9c0cf;margin-bottom:16px}
.campus-stamps {display:flex;flex-wrap:wrap;gap:10px}
.campus-stamps>span {display:grid;place-items:center;min-width:48px;height:48px;padding:9px;border:2px solid #74647b;background:#17131e;font-family:var(--gta-title);font-size:24px!important;color:#74647b!important;transform:rotate(-3deg)}
.campus-stamps>span.collected {border-color:#f2c36f;background:#322b20;color:#f2c36f!important}
body.game-theme.work .award-card.award-medal {width:210px}
body.game-theme.work .award-card.award-analyst {width:220px}
body.game-theme.work .award-creative.is-earned .medal-seal>img {filter:hue-rotate(295deg)}
body.game-theme.work .award-explorer.is-earned .medal-seal>img {filter:hue-rotate(75deg)}
body.game-theme.work .award-friend.is-earned .medal-seal>img {filter:hue-rotate(180deg)}
body.game-theme.work .level-profession-note {padding:14px 18px;background:#211b29;border:1px solid #74647b;margin-top:16px}
body.game-theme.work details>summary {color:#f2c36f!important;font-family:var(--gta-title);font-size:18px!important;cursor:pointer;line-height:1.4}
body.game-theme.work details[open]>summary {margin-bottom:15px}
body.game-theme.work details p {font-size:15px!important;line-height:1.5!important;margin-top:12px!important}
body.game-theme.work .level-task-complete .work-head {align-items:flex-start}
body.game-theme.work .level-task-complete .work-head p {font-size:17px!important}
@keyframes pin-pulse {0%,100%{border-color:#f2c36f}50%{border-color:#fff}}
@media(max-width:1000px) {
 .campus-quest {right:3vw;width:49vw;padding:23px;max-height:calc(100svh - 198px)}
 .campus-talk,.campus-result {width:49vw;right:3vw;padding:24px}
 .campus-objective {max-width:240px}
 .campus-location {top:106px}
 .campus-objective {top:200px}
 .campus-person {width:270px}
 .campus-world.is-quest .campus-person,.campus-world.is-talk .campus-person,.campus-world.is-result .campus-person {left:23%;width:250px}
 .poster-builder {grid-template-columns:minmax(0,1fr) 105px}
 .student-poster {gap:12px}
 .student-poster b {font-size:25px}
 .student-poster .poster-symbol {font-size:65px}
}
@media(max-width:700px) {
 body.game-theme.campus-mode header {height:88px;padding:14px}
 body.game-theme .brand>span:last-child {font-size:16px}
 body.game-theme .brand-icon {font-size:26px;padding:9px}
 body.game-theme .brand {gap:9px}
 body.game-theme .brand small {font-size:9px;max-width:180px}
 body.game-theme button.campus-open {padding:8px;font-size:12px!important;min-height:44px}
 body.game-theme .header-actions {gap:8px}
 .campus-world {min-height:max(640px,100svh)}
 .campus-location {top:100px;left:16px}
 body.game-theme .campus-location h1 {font-size:36px}
 .campus-objective {top:181px;left:16px;padding:11px 13px;max-width:250px}
 .campus-objective b {font-size:18px}
 .campus-objective span {font-size:12px}
 .campus-person {left:62%;height:47svh;width:240px;bottom:96px}
 .npc-hotspot {left:62%;bottom:98px}
 body.game-theme button.world-hotspot {min-width:145px;padding:9px 12px;min-height:59px}
 .world-hotspot span {font-size:19px}
 .campus-nav {padding:12px 10px;gap:8px}
 body.game-theme .campus-nav button {font-size:12px!important;min-width:0;flex:1;padding:9px 6px;min-height:48px;gap:6px}
 .campus-nav .campus-glyph {width:19px;height:19px}
 .campus-rep {left:14px;bottom:96px;padding:10px;gap:4px;max-width:132px}
 .campus-rep b {font-size:21px}
 .campus-rep>span:last-child {font-size:11px}
 .rep-stars i {font-size:18px}
 .campus-world.is-talk .campus-person {left:65%;height:45svh;width:230px;bottom:205px}
 .campus-talk {position:relative;top:auto;bottom:auto;right:auto;transform:none;margin:370px 14px 96px;width:auto;padding:20px}
 body.game-theme .campus-talk p {font-size:18px;line-height:1.45}
 .campus-world.is-talk .campus-rep,.campus-world.is-quest .campus-rep,.campus-world.is-result .campus-rep {display:none}
 .campus-world.is-quest .campus-person,.campus-world.is-result .campus-person {display:none}
 .campus-quest,.campus-result {position:relative;right:auto;top:auto;transform:none;margin:166px 12px 96px;width:auto;max-width:none;max-height:none;overflow:visible;padding:22px 18px}
 body.game-theme .quest-head h2 {font-size:30px}
 body.game-theme .quest-head p {font-size:14px;line-height:1.5}
 .campus-actions {gap:10px}
 body.game-theme .campus-actions button {font-size:14px!important;min-width:0;padding:10px}
 .memory-board {gap:10px}
 .memory-card .campus-glyph {width:34px;height:34px}
 .team-puzzle {gap:10px}
 body.game-theme button.role-person,body.game-theme button.role-job {padding:9px;min-height:98px}
 .role-person b,.role-job b {font-size:17px}
 .role-person span {font-size:11px}
 .role-job span {font-size:13px}
 .poster-builder {grid-template-columns:minmax(0,1fr) 105px;gap:12px}
 .student-poster b {font-size:25px}
 .student-poster .poster-symbol {font-size:62px}
 .student-poster {gap:12px;padding:20px 10px}
 .stairs-travel {right:18px;left:18px;top:300px;min-width:0;max-width:330px;margin:auto}
 .stairs-floor {font-size:72px}
 .door-hotspot {right:18px;top:48%}
 .campus-world-message {right:12px!important;left:12px;bottom:100px!important;width:auto;font-size:14px!important}
 body.game-theme.work .profile-campus {padding:17px}
 body.game-theme.work .profile-campus-head h3 {font-size:22px!important}
 .profile-campus-head>b {font-size:28px!important}
 .campus-stamps {gap:8px}
 .campus-stamps>span {min-width:39px;height:40px;font-size:22px!important;padding:7px}
 body.game-theme.work .award-card.award-medal {width:200px}
 body.game-theme.work .award-medal h4 {font-size:22px!important}
}
@media(prefers-reduced-motion:reduce) {
 body.game-theme button.world-hotspot {animation:none}
}
