html,body.three-d{width:100%;height:100%;overflow:hidden;background:#b7d0c6}.three-d{color:#f5f8ef}#world-stage{position:fixed;inset:0;isolation:isolate}#world{display:block;width:100%;height:100%;outline:none;touch-action:none}#world:focus-visible{outline:2px solid #e2f2cc;outline-offset:-3px}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0c242e80,transparent 25%,transparent 70%,#0c242ea0),radial-gradient(ellipse,transparent 60%,#10272d35);z-index:1}.hud-header{position:absolute;top:0;left:0;right:0;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none;z-index:3}.hud-header>*{pointer-events:auto}.hud-header .brand{font-size:12px;text-shadow:0 1px 10px #143025}.hud-header .brand-sub{font-size:12px}.hud-header .brand-mark{border-color:#e7eee58c;color:#e1f0d1}.hud-header .brand-mark span{color:#ffd7a8}.hud-header nav button,.hud-actions button{background:#142e38bf;backdrop-filter:blur(14px);border-color:#d4e5dc30;color:#f5f8ef}.hud-header nav button:hover,.hud-actions button:hover{background:#244c53}.campus-heading{display:flex;flex-direction:column;text-align:center;gap:3px;font-size:14px}.campus-heading .eyebrow{color:#f3dbb0}.quest-hud{position:absolute;z-index:2;top:118px;left:30px;width:min(300px,32vw);padding:19px 21px;background:#122e36c7;border:1px solid #d9e8d62b;border-radius:12px;backdrop-filter:blur(15px);pointer-events:none;box-shadow:0 10px 30px #10313722}.quest-hud .eyebrow{font-size:11px;letter-spacing:1.4px;color:#f4d5a2}.quest-hud h1{font-size:25px;margin:10px 0 9px;color:#f7f7ed}.quest-hud p{font-size:14px;line-height:1.5;color:#d4e4dc;margin-bottom:15px}.hud-progress{display:flex;gap:12px;align-items:center}.hud-progress>span{font-size:12px;color:#c1ddcd;white-space:nowrap}.hud-progress .progress-track{margin:0;flex:1;background:#ffffff25;height:3px}.compass-hud{position:absolute;z-index:2;top:111px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;background:#142e38a8;border:1px solid #e6efdd30;padding:8px 14px;border-radius:30px;font-size:13px;pointer-events:none;backdrop-filter:blur(10px)}#compass-heading{border-right:1px solid #ffffff55;padding-right:11px;color:#ffe2b3;font-weight:600;min-width:30px}#destination-distance{color:#c4dfd0}#crosshair{position:absolute;z-index:2;left:50%;top:50%;width:5px;height:5px;margin:-2.5px;background:#ffffeccc;border-radius:50%;box-shadow:0 0 0 3px #173c401a;pointer-events:none}#interaction-zone{position:absolute;z-index:4;left:50%;top:56%;transform:translateX(-50%);text-align:center;display:flex;align-items:center;flex-direction:column;gap:9px;pointer-events:none}#nearby-name{font-size:16px;text-shadow:0 2px 8px #142c26;background:#18373c9c;border-radius:6px;padding:4px 11px}#nearby-name:empty{display:none}#interact{pointer-events:auto;background:#f2ebd8;color:#173936;border:1px solid #fff3c7;padding:11px 22px;font-weight:600;box-shadow:0 4px 25px #123c3a55}#interact[hidden]{display:none}#interact kbd{background:#1b4142;color:#f6efdb;border-radius:4px;padding:2px 6px;font-family:inherit;font-size:13px;margin-right:7px}.walk-hint{position:absolute;z-index:3;bottom:110px;left:50%;transform:translateX(-50%);text-align:center;background:#14313cda;border:1px solid #d9e8d654;backdrop-filter:blur(15px);padding:21px 29px;border-radius:14px;min-width:330px;box-shadow:0 15px 50px #12313a33}.walk-hint h2{font-size:29px;margin:0 0 7px}.walk-hint p{font-size:14px;color:#d6e8df;margin-bottom:13px}.walk-hint button{background:#e1eccf;border-color:#e1eccf;color:#183b36;font-weight:600}.walk-hint .drag-fallback{font-size:12px;margin:12px 0 0;color:#bdd2cc}.walk-hint[hidden]{display:none}.hud-footer{position:absolute;bottom:0;left:0;right:0;padding:20px 30px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;z-index:3;pointer-events:none}.hud-footer>*{pointer-events:auto}.chapter-chip{font-size:11px;letter-spacing:1.6px;color:#ead4ab}.hud-footer p{margin:5px 0 0;font-size:14px;max-width:650px;text-shadow:0 2px 9px #14302b}.hud-actions{display:flex;gap:7px}.hud-actions button{font-size:13px;padding:8px 12px}.touch-walk{position:absolute;left:25px;bottom:110px;z-index:4;display:flex;flex-direction:column;align-items:center;gap:6px;opacity:.8}.touch-walk div{display:flex;gap:6px}.touch-walk button,.look-pad button{width:47px;height:44px;padding:0;background:#16353e99;border:1px solid #e7efdd60;border-radius:10px;color:#eff3dd;touch-action:none;user-select:none;font-size:18px;backdrop-filter:blur(5px)}.touch-walk button:active,.look-pad button:active{background:#aecbb7;color:#133a3a}.look-pad{position:absolute;right:28px;bottom:115px;z-index:4;display:flex;gap:7px;opacity:.8}.look-pad button{width:46px;font-size:24px}.three-d:has(dialog[open]) .touch-walk,.three-d:has(dialog[open]) .look-pad{pointer-events:none}.three-d:has(dialog[open]) .walk-hint{visibility:hidden}#world-loading{position:absolute;inset:0;z-index:8;background:#152c37;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}#world-loading[hidden]{display:none}#world-loading h2{font-size:40px;margin:24px 0 8px}#world-loading p{color:#bfd1c9}.load-orbit{width:42px;height:42px;border:1px solid #abcdbb55;border-top:2px solid #e5c995;border-radius:50%;animation:spin 2s linear infinite}.world-error{max-width:550px;line-height:1.7}dialog{background:#152b36;border-color:#7f9d94}dialog::backdrop{background:#0e242dad;backdrop-filter:blur(8px)}.dialog-body h2{font-size:34px}dialog .fact-card{background:#203d46;border-color:#42616a}dialog .feedback{background:#264c4e}dialog button:hover{background:#34575e}dialog button.primary:hover{background:#d5efda}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-card{border:1px solid #52726e;border-radius:9px;padding:12px}.guide-card h3{font-size:16px;margin:0 0 5px}.guide-card p{font-size:14px;margin:0}.guide-card.done{border-color:#a2cead}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0}.setting-row select{width:auto;min-width:150px}
#interaction-zone[hidden]{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
@media(pointer:fine){.touch-walk,.look-pad{opacity:.45}.touch-walk:hover,.look-pad:hover{opacity:1}}
@media(max-width:850px){.hud-header{padding:16px;gap:10px}.campus-heading{display:none}.hud-header .brand{font-size:10px}.hud-header .brand-sub{font-size:10px;letter-spacing:3px}.hud-header nav button{font-size:12px;padding:8px 10px}.quest-hud{top:95px;left:16px;width:230px;padding:13px 16px}.quest-hud h1{font-size:21px}.quest-hud p{font-size:13px;margin-bottom:9px}.compass-hud{top:95px;left:auto;right:16px;transform:none;max-width:210px;font-size:12px;gap:7px}.hud-footer{padding:16px}.hud-footer p{font-size:12px;max-width:450px}.hud-actions button{font-size:12px}.chapter-chip{font-size:10px}.touch-walk{left:18px}.look-pad{right:18px}.walk-hint{min-width:290px;max-width:75vw;padding:17px;bottom:100px}.walk-hint p{font-size:13px}.walk-hint h2{font-size:26px}}
@media(max-width:580px){.hud-header .brand>span:last-child{display:none}.hud-header .brand-mark{width:40px;height:40px;font-size:27px}.hud-header .brand-mark span{font-size:21px}.hud-header nav{gap:5px}.hud-header nav button{padding:9px;font-size:12px}.quest-hud{top:83px;left:12px;width:205px;padding:12px}.quest-hud .eyebrow{font-size:10px;letter-spacing:1px}.quest-hud h1{font-size:19px;margin:7px 0}.quest-hud p{font-size:12px;line-height:1.4}.compass-hud{top:auto;bottom:80px;right:12px;max-width:200px;flex-wrap:wrap;padding:6px 10px;font-size:11px;gap:6px}.hud-footer{padding:12px;align-items:center}.hud-footer p{display:none}.hud-footer .chapter-chip{font-size:9px;letter-spacing:1px;max-width:140px;display:block}.hud-actions{gap:5px}.hud-actions button{padding:7px;font-size:11px}.hud-actions #sound{display:none}.touch-walk{left:16px;bottom:92px}.touch-walk button{width:43px;height:43px}.look-pad{bottom:131px;right:15px}.look-pad button{width:43px;height:43px}.walk-hint{bottom:205px;width:260px;min-width:0;max-width:80vw}.walk-hint .drag-fallback{font-size:11px}.walk-hint p{font-size:12px}#interaction-zone{top:53%;width:85%}#interact{font-size:15px;padding:10px 17px}#nearby-name{font-size:14px}.guide-grid{grid-template-columns:1fr}.dialog-body h2{font-size:28px}.dialog-body{padding:17px 20px 25px}}
@media(max-height:540px){.quest-hud{top:85px;width:210px;padding:10px 13px}.quest-hud p{display:none}.quest-hud h1{font-size:19px}.hud-header{padding:10px 20px}.compass-hud{top:88px}.touch-walk,.look-pad{bottom:67px}.walk-hint{bottom:64px;padding:13px 22px}.walk-hint h2{font-size:23px}.walk-hint p{font-size:12px}.walk-hint .drag-fallback{display:none}.hud-footer{padding:10px 20px}.hud-footer p{display:none}.dialog-body{padding-top:12px}}
