.rich-world-layout-root{width:100vw;max-width:100vw;height:100vh;max-height:100vh;font-family:var(--font-sans,system-ui, -apple-system, sans-serif);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:radial-gradient(at 50% 30%,#b2d6f4 0%,#7db9e8 40%,#5e7043 85%,#3f4c2c 100%);position:relative;overflow:hidden}.rich-world-viewport{-webkit-user-select:none;user-select:none;background:radial-gradient(at 50% 30%,#b2d6f4 0%,#7db9e8 40%,#5e7043 85%,#3f4c2c 100%);width:100%;height:100%;position:relative;overflow:hidden}.rich-world-canvas{touch-action:none;outline:none;width:100%;height:100%;display:block}.rich-world-cinematic-overlay{pointer-events:none;z-index:2;background:linear-gradient(#fed7aa0d 0%,#fed7aa00 12%),radial-gradient(#fef3c708 0% 58%,#0f172a14 88%,#0f172a33 100%);position:absolute;inset:0}.rich-world-hud{pointer-events:none;z-index:10;box-sizing:border-box;flex-direction:column;justify-content:space-between;padding:.5rem 1.25rem .45rem;display:flex;position:absolute;inset:0}.rich-world-hud-top{justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.rich-world-back-btn{pointer-events:auto;color:#f8fafc;text-shadow:0 1px 2px #0009;letter-spacing:-.01em;white-space:nowrap;background:#0f172ae0;border:1px solid #ffffff2e;border-radius:9999px;flex-shrink:0;align-items:center;gap:.55rem;padding:.45rem 1.1rem;font-size:.84rem;font-weight:700;text-decoration:none;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 18px -2px #00000059,inset 0 1px 1px #ffffff26}.rich-world-back-btn:hover{color:#38bdf8;background:#1e293be6;border-color:#38bdf899;transform:translateY(-2px);box-shadow:0 8px 24px -4px #0006,0 0 12px #38bdf84d}.rich-world-back-btn svg{color:#38bdf8;transition:transform .2s}.rich-world-back-btn:hover svg{transform:translate(-3px)}.rich-world-title-badge{pointer-events:auto;white-space:nowrap;background:#0f172ae0;border:1px solid #ffffff2e;border-radius:9999px;flex-shrink:0;align-items:center;gap:.65rem;padding:.42rem .95rem;display:inline-flex;box-shadow:0 4px 18px -2px #00000059,inset 0 1px 1px #ffffff26}.rich-world-status-beacon{background-color:#10b981;border-radius:50%;width:8px;height:8px;animation:2s ease-in-out infinite pulseBeacon;box-shadow:0 0 8px #10b981}.rich-world-title-text{color:#f8fafc;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 2px #0009;font-size:.82rem;font-weight:800}.rich-world-title-sub{color:#94a3b8;font-size:.72rem;font-family:var(--font-mono,monospace);border-left:1px solid #ffffff2e;padding-left:.4rem}.rich-world-districts-bar{pointer-events:auto;background:#0f172ae0;border:1px solid #ffffff2e;border-radius:9999px;flex:auto;align-items:center;min-width:0;max-width:min(880px,100vw - 390px);padding:.28rem .45rem;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 18px -2px #00000059,inset 0 1px 1px #ffffff1f;-webkit-mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000)}.rich-world-districts-track{will-change:transform;backface-visibility:hidden;align-items:center;gap:.5rem;width:max-content;animation:35s linear infinite richWorldMarquee;display:flex;transform:translate(0,0)}.rich-world-districts-bar:hover .rich-world-districts-track,.rich-world-districts-track:hover,.rich-world-districts-track:focus-within{animation-play-state:paused}.rich-district-pill-btn{color:#e2e8f0;text-shadow:0 1px 2px #0009;cursor:pointer;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff1f;border-radius:9999px;flex-shrink:0;align-items:center;gap:.38rem;padding:.24rem .68rem;font-size:.75rem;font-weight:600;transition:all .16s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 1px 3px #0003}.rich-district-pill-btn:hover{color:#fff;background:#fff3;border-color:#38bdf899;transform:translateY(-1px)scale(1.03);box-shadow:0 4px 14px #0000004d,0 0 10px #38bdf840}.rich-district-pill-dot{border-radius:50%;width:6px;height:6px}.rich-world-hud-bottom{justify-content:space-between;align-items:flex-end;gap:1rem;width:100%;display:flex}.rich-world-controls-card{pointer-events:auto;background:#fffffff0;border:1px solid #e2e8f0e6;border-radius:12px;flex-direction:column;gap:.25rem;max-width:320px;padding:.5rem .85rem;display:flex;box-shadow:0 4px 18px -2px #0000000d}.rich-world-controls-header{text-transform:uppercase;color:#64748b;letter-spacing:.05em;font-size:.7rem;font-weight:700;font-family:var(--font-mono,monospace);align-items:center;gap:.4rem;display:flex}.rich-world-controls-keys{color:#334155;flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.75rem;font-weight:550;display:flex}.rich-key-badge{font-family:var(--font-mono,monospace);color:#0f172a;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:5px;padding:.15rem .4rem;font-size:.7rem;font-weight:700;display:inline-block;box-shadow:0 1px 2px #0000000d}.rich-world-proximity-card{pointer-events:auto;white-space:nowrap;z-index:20;background:#fffffff5;border:1.5px solid #38bdf8;border-radius:16px;align-items:center;gap:1.1rem;padding:.65rem 1.15rem;animation:.25s cubic-bezier(.16,1,.3,1) slideUpFadeCenter;display:flex;position:absolute;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 8px 30px -4px #0284c740}.rich-proximity-info{flex-direction:column;gap:.15rem;display:flex}.rich-proximity-cat{letter-spacing:.05em;text-transform:uppercase;font-size:.68rem;font-weight:700;font-family:var(--font-mono,monospace)}.rich-proximity-title{color:#0f172a;font-size:1rem;font-weight:800}.rich-proximity-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0284c7 0%,#2563eb 100%);border:none;border-radius:9999px;align-items:center;gap:.4rem;padding:.45rem 1rem;font-size:.8rem;font-weight:700;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 2px 8px #2563eb4d}.rich-proximity-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px #2563eb66}.rich-world-modal-backdrop{-webkit-backdrop-filter:blur(8px);z-index:50;background:#0f172a59;justify-content:center;align-items:center;padding:1.5rem;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.rich-world-modal-box{background:#fff;border:1px solid #e2e8f0;border-radius:20px;flex-direction:column;gap:1.25rem;width:100%;max-width:520px;padding:1.85rem;animation:.25s cubic-bezier(.16,1,.3,1) scaleUp;display:flex;position:relative;box-shadow:0 20px 45px -8px #0000002e}.rich-world-modal-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.rich-world-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:background-color .15s;display:flex}.rich-world-modal-close:hover{color:#0f172a;background:#e2e8f0}.rich-modal-feature-list{grid-template-columns:repeat(2,1fr);gap:.6rem;display:grid}.rich-modal-feature-item{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:.4rem;padding:.55rem .8rem;font-size:.8rem;font-weight:550;display:flex}.rich-world-touch-dpad{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffb3;border:1.5px solid #cbd5e1cc;border-radius:50%;width:120px;height:120px;display:none;position:absolute;bottom:1.25rem;left:1.25rem;box-shadow:0 4px 16px #00000014}.rich-dpad-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex;position:absolute;box-shadow:0 2px 5px #0000000f}.rich-dpad-up{top:4px;left:41px}.rich-dpad-down{bottom:4px;left:41px}.rich-dpad-left{top:41px;left:4px}.rich-dpad-right{top:41px;right:4px}@media (max-width:640px){.rich-world-districts-bar{display:none}}@media (max-width:768px){.rich-world-hud{padding:.85rem 1rem}.rich-world-controls-card{display:none}.rich-world-touch-dpad{display:block}.rich-modal-feature-list{grid-template-columns:1fr}}@keyframes richWorldMarquee{0%{transform:translate(0,0)}to{transform:translate(-50%)}}.rich-world-loading-overlay{z-index:50;-webkit-backdrop-filter:blur(8px);background:radial-gradient(circle,#0f172ae0 0%,#090d16f5 100%);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.rich-world-loading-card{text-align:center;background:#0f172ae6;border:1px solid #38bdf859;border-radius:16px;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 2rem;display:flex;box-shadow:0 20px 50px #0000008c}.rich-world-loading-spinner{border:3px solid #38bdf833;border-top-color:#38bdf8;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite richWorldSpin}.rich-world-loading-title{letter-spacing:.14em;color:#f8fafc;font-size:.95rem;font-weight:800}.rich-world-loading-sub{color:#cbd5e1;font-size:.82rem}@keyframes richWorldSpin{to{transform:rotate(360deg)}}@keyframes pulseBeacon{0%,to{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.3)}}@keyframes slideUpFadeCenter{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@keyframes slideUpFade{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.rich-world-status-beacon,.rich-world-proximity-card,.rich-world-modal-backdrop,.rich-world-modal-box{animation:none}.rich-world-districts-track{animation:none;overflow-x:auto}}
