/* Illustrations move as layers; portraits are not rigged models. */
.world .scene{position:absolute;inset:0;transform:none;animation:none;background:none;transition:none}.world .vignette{background:linear-gradient(90deg,#08233380,transparent 61%),linear-gradient(0deg,#082333b8,transparent 43%)}
#legacy-motion{display:none}.scene-tools{position:absolute;right:38px;top:94px;display:flex;gap:8px;z-index:3}.scene-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;background:#143744e8;border:1px solid #d0dcd35c;color:#fff0cc;border-radius:24px;font-size:12px;line-height:1.2;box-shadow:0 3px 14px #08233229}.scene-control:hover{background:#346070;border-color:#f2d79e}.scene-control:focus-visible{outline:3px solid #ffdfa0;outline-offset:3px}.scene-control .vm-icon{width:17px;height:17px}.scene-control:disabled{opacity:.5;cursor:default}#motion{display:inline-flex;width:auto;height:auto;font-size:12px}.motion-explanation{position:absolute;right:38px;top:141px;font-size:11px;max-width:450px;color:#fff3d3;text-shadow:0 1px 4px #000;z-index:3}.journal{top:183px}.nav :is(button,a) span{border-radius:14px}.nav .vm-icon{width:25px;height:25px;transition:transform .2s}.nav :is(button,a):hover .vm-icon{transform:translateY(-2px)}.nav .active span{box-shadow:0 0 0 3px #f3dfad23,0 4px 15px #142b3340}.brandmark{transform:none;border-radius:13px}.brandmark .vm-icon{width:28px;height:28px}.pin{transform:none;border-radius:12px}.hotspot .pin .vm-icon{width:24px;height:24px}.lightbutton .vm-icon,.primary .vm-icon,.textbutton .vm-icon{width:17px;height:17px}.region-card:before{display:none}.region-emblem{float:right;color:#efd9aa}.region-emblem .vm-icon{width:30px;height:30px}.building>span>.vm-icon{width:34px;height:34px}.location .vm-icon{width:19px;height:19px}
.scholar-portrait>img{transform-origin:50% 90%;animation:scholar-idle 4.2s ease-in-out infinite}.scholar-glow{animation:scholar-aura 3.5s ease-in-out infinite}.scholar-interact{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;gap:6px;background:transparent;border-radius:110px 110px 8px 8px;padding-top:13px;pointer-events:auto;color:#153e48;font-size:11px}.scholar-interact>span{background:#fff3d6e8;padding:5px;border-radius:4px}.scholar-interact .vm-icon{width:14px;height:14px}.scholar-speech{position:absolute;right:0;bottom:calc(100% + 15px);width:240px;padding:15px 18px;border:1px solid #ead79d;border-radius:15px 15px 2px 15px;background:#f5e9ca;color:#193c47;line-height:1.6;font-size:13px;box-shadow:0 6px 30px #08233250}.scholar-greeting .scholar-portrait>img{animation:scholar-greet 1s ease-in-out 2}.night-world .scholar-portrait>img{filter:brightness(.8) saturate(.8);box-shadow:0 0 40px #ffc36742}.night-world .world-intro{text-shadow:0 3px 15px #051321}.night-world .vignette{background:linear-gradient(90deg,#03102170,transparent 65%),linear-gradient(0deg,#041320a3,transparent 50%)}
.arrival{position:fixed;inset:0;z-index:15;pointer-events:none;display:grid;place-items:center;background:linear-gradient(90deg,#09283bd9,transparent 35%,transparent 65%,#09283bb8);animation:arrival-fade 3.6s ease both}.arrival-title{text-align:center;color:#fff3cf;text-shadow:0 4px 30px #092f45;padding:25px}.arrival-title small{letter-spacing:5px;font-size:12px}.arrival-title h2{font-size:clamp(55px,8vw,120px);font-weight:400;margin:14px 0}.arrival-title p{font-size:15px}.arrival #skip-arrival{position:absolute;right:28px;bottom:30px;pointer-events:auto}.is-arriving .scene{animation:kingdom-arrival 3.6s cubic-bezier(.18,.6,.25,1) both}.is-arriving .world-intro,.is-arriving .active-scholar,.is-arriving .journal,.is-arriving .hotspots{opacity:0;pointer-events:none}.is-arriving .nav,.is-arriving .bottom-bar{opacity:.25}
@keyframes kingdom-arrival{from{transform:scale(1.3) translateY(4%);filter:brightness(.5)}to{transform:scale(1);filter:brightness(1)}}@keyframes arrival-fade{0%{opacity:1}65%{opacity:1}100%{opacity:0}}@keyframes scholar-idle{0%,100%{transform:translateY(0) rotate(-.55deg)}50%{transform:translateY(-4px) scaleY(1.012) rotate(.35deg)}}@keyframes scholar-greet{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-12px) rotate(-2deg)}65%{transform:translateY(-6px) rotate(1.3deg)}}@keyframes scholar-aura{50%{opacity:.5;transform:scale(1.1)}}
.motion-off .scholar-portrait>img,.motion-off .scholar-glow,.page-hidden .scholar-portrait>img,.page-hidden .scholar-glow{animation:none!important}.motion-off .arrival{display:none}.motion-off .drawer{animation:none!important}
@media(max-width:1100px) and (min-width:761px){.scene-tools{right:24px}.journal{top:183px}.motion-explanation{right:24px}}
@media(max-width:760px){.topbar{height:76px}.scene-tools{left:18px;right:18px;top:78px;justify-content:space-between;gap:5px}.scene-control{font-size:10px;padding:9px 10px;gap:5px;min-height:39px}#motion{font-size:10px}.scene-control .vm-icon{width:16px;height:16px}.motion-explanation{left:22px;right:20px;top:123px;font-size:10px;line-height:1.5}.world-intro{top:160px}.world-intro h1{font-size:36px}.world-intro p{font-size:12px}.location{font-size:10px}.weather{font-size:10px}.scholar-interact{padding-top:9px;font-size:9px}.scholar-speech{width:205px;font-size:12px;bottom:calc(100% + 9px)}.arrival-title h2{font-size:63px}.arrival-title p{font-size:12px}.arrival #skip-arrival{right:20px;bottom:100px}.nav .vm-icon{width:23px;height:23px}.active-scholar{bottom:182px}.scholar-info small{font-size:10px}}
@media(max-width:380px){.scene-tools{left:12px;right:12px}.scene-control{padding:9px 7px;font-size:9px}#motion{font-size:9px}.world-intro h1{font-size:33px}.world-intro{top:152px}.scholar-info{left:-153px;width:150px}.scholar-info h2{font-size:24px}}
@media(max-height:740px) and (max-width:760px){.world-intro{top:151px}.world-intro h1{font-size:30px}.world-intro p{display:none}.active-scholar{height:158px;width:105px;bottom:173px}.scholar-info{left:-180px}.location{margin-top:4px}.scholar-speech{bottom:calc(100% + 6px)}}
@media(prefers-reduced-motion:reduce){.scholar-portrait>img,.scholar-glow,.arrival,.scene{animation:none!important}.arrival{display:none!important}}
.scholar-portrait{position:absolute;inset:0;overflow:hidden;border-radius:110px 110px 8px 8px;border:1px solid #e6d8b599;background:#e5e4df;box-shadow:0 14px 50px #0b27344d}.scholar-portrait>img{width:100%;height:100%;object-fit:contain;object-position:bottom}.night-world .scholar-portrait{background:#b7b7b3;box-shadow:0 0 40px #ffc36742}.night-world .scholar-portrait>img{box-shadow:none}
