:root {
  --fg: #0b0b0b;
  --muted: #5c6066;
  --glass: rgba(255, 255, 255, 0.82);
  --line: rgba(0, 0, 0, 0.08);
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #cfd9e2; font-family: var(--font); color: var(--fg); word-break: keep-all; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#view:active { cursor: grabbing; }
button, select, input { font: inherit; color: inherit; }
sup { font-size: .55em; }
.mx-top {
  position: fixed; top: 14px; left: 14px; right: 14px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none;
}
.mx-top > * { pointer-events: auto; }
.mx-brand {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px;
  background: var(--glass); backdrop-filter: blur(12px); border-radius: 999px;
  color: var(--fg); text-decoration: none; font-weight: 500; font-size: .92rem;
}
.mx-brand b { font-weight: 800; }
.mx-brand span { width: 1px; height: 16px; background: var(--line); }
.mx-modes { display: flex; gap: 4px; padding: 4px; background: var(--glass); backdrop-filter: blur(12px); border-radius: 999px; }
.mx-modes button {
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font-size: .88rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.mx-modes button:hover { color: var(--fg); }
.mx-modes button.is-active { background: #000; color: #fff; }
.mx-top__right { display: flex; gap: 8px; }
.mx-chip {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(12px); font-size: .88rem; font-weight: 500;
  color: var(--fg); text-decoration: none; cursor: pointer;
}
.mx-panel, .mx-note {
  position: fixed; left: 14px; bottom: 14px; z-index: 10; width: 300px;
  background: var(--glass); backdrop-filter: blur(14px); border-radius: 16px; padding: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.mx-note h1 { font-size: 1.15rem; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.02em; }
.mx-note p { margin: 0 0 8px; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.mx-field { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 500; margin-bottom: 14px; }
.mx-field select { height: 36px; border: 1px solid #d6d9dd; border-radius: 8px; padding: 0 10px; background: #fff; }
.mx-field--row { flex-direction: row; align-items: center; gap: 10px; margin: 12px 0 10px; }
.mx-field--row input { flex: 1; accent-color: #000; }
.mx-field--row output { width: 62px; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.mx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 8px; }
.mx-stats div { display: flex; flex-direction: column; gap: 2px; }
.mx-stats span { font-size: .72rem; color: var(--muted); }
.mx-stats b { font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.mx-section { display: block; width: 132px; height: 132px; margin: 4px auto 6px; }
.sec-shell { fill: #e9ecef; stroke: #9aa1a8; stroke-width: 1; }
.sec-room { fill: #fff; stroke: #c4c9ce; stroke-width: .8; }
.sec-label { font-size: 14px; fill: #9aa1a8; text-anchor: middle; dominant-baseline: middle; font-family: var(--font); }
.sec-dot { fill: #000; }
.sec-g { stroke: #9aa1a8; stroke-width: 1.5; marker-end: none; }
.sec-cap { font-size: 9px; fill: #9aa1a8; text-anchor: middle; font-family: var(--font); }
.mx-row { display: flex; gap: 8px; }
.mx-btn { flex: 1; height: 36px; border: 0; border-radius: 999px; font-size: .88rem; font-weight: 500; cursor: pointer; background: #eceef0; }
.mx-btn--dark { background: #000; color: #fff; }
.mx-btn--dark.is-on { background: #2b2f33; }
.mx-help { font-size: .74rem; color: var(--muted); line-height: 1.6; margin: 6px 0 0; }
.mx-pad {
  position: fixed; right: 18px; bottom: 18px; z-index: 10;
  display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 6px;
}
.mx-pad button { border: 0; border-radius: 14px; background: var(--glass); backdrop-filter: blur(12px); font-size: 1.1rem; touch-action: none; user-select: none; -webkit-user-select: none; }
.mx-pad button:active { background: #000; color: #fff; }
.mx-pad [data-key="fwd"] { grid-column: 2; grid-row: 1; }
.mx-pad [data-key="left"] { grid-column: 1; grid-row: 2; }
.mx-pad [data-key="back"] { grid-column: 2; grid-row: 2; }
.mx-pad [data-key="right"] { grid-column: 3; grid-row: 2; }
.mx-loading { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: #eef1f4; transition: opacity .5s; }
.mx-loading.is-done { opacity: 0; pointer-events: none; }
.mx-loading__box { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mx-loading__box b { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.mx-bar { width: 220px; height: 3px; background: #d6dbe0; border-radius: 2px; overflow: hidden; }
.mx-bar span { display: block; height: 100%; width: 0; background: #000; transition: width .2s; }
.mx-loading small { color: var(--muted); font-size: .8rem; }
.mx-noscript { position: fixed; inset: auto 0 50% 0; text-align: center; }
@media (max-width: 760px) {
  .mx-top { flex-wrap: wrap; }
  .mx-brand { order: 1; }
  .mx-top__right { order: 2; }
  .mx-modes { order: 3; width: 100%; overflow-x: auto; }
  .mx-panel, .mx-note { width: auto; right: 14px; bottom: 136px; padding: 14px; max-height: 42vh; overflow: auto; }
  .mx-note { bottom: 14px; }
  .mx-section { display: none; }
  .mx-pad { left: 50%; right: auto; transform: translateX(-50%); }
}
.mx-portal {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px;
  background: rgba(10, 12, 16, 0.72); color: #fff; backdrop-filter: blur(12px); border-radius: 999px;
  animation: mxPop .25s ease;
}
.mx-portal b { display: block; font-size: .92rem; font-weight: 500; }
.mx-portal small { display: block; font-size: .74rem; color: rgba(255,255,255,.65); }
.mx-portal__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
@keyframes mxPop { from { opacity: 0; transform: translate(-50%, -6px); } }
@media (max-width: 760px) { .mx-portal { top: 116px; max-width: calc(100% - 28px); } }
.mx-ctrl { position: fixed; top: 64px; right: 14px; z-index: 12; width: 300px; background: var(--glass); backdrop-filter: blur(14px); border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.mx-ctrl > b { display: block; font-weight: 500; margin-bottom: 4px; }
.mx-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; margin: 6px 0; cursor: pointer; }
.mx-check input { accent-color: #000; width: 16px; height: 16px; }
.mx-hint { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 9; padding: 9px 16px; border-radius: 999px; background: rgba(10,12,16,.7); color: #fff; font-size: .85rem; pointer-events: none; }
.mx-cross { position: fixed; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1.5px rgba(0,0,0,.35); z-index: 9; pointer-events: none; }
.mx-top .mx-chip.mx-chip--vr { background: #111; color: #fff; }
:root { --ui-bg: rgba(17, 17, 17, .72); --ui-line: #fff; --ui-sub: #dddddd; }
.mx-brand, .mx-modes, .mx-chip, .mx-panel, .mx-note, .mx-ctrl, .mx-hint, .mx-pad button {
  background: var(--ui-bg); color: #fff; border: 2px solid var(--ui-line); box-shadow: none;
}
.mx-brand { color: #fff; }
.mx-brand b { color: #fff; }
.mx-brand span { background: rgba(255,255,255,.5); }
.mx-modes button { color: rgba(255,255,255,.72); font-weight: 600; }
.mx-modes button:hover { color: #fff; }
.mx-modes button.is-active { background: #fff; color: #000; }
.mx-chip { font-weight: 600; }
.mx-top .mx-chip.mx-chip--vr { background: #fff; color: #000; }
.mx-panel, .mx-note, .mx-ctrl { border-radius: 14px; }
.mx-note h1 { font-weight: 700; color: #fff; }
.mx-note p, .mx-help, .mx-stats span, .mx-field--row output { color: var(--ui-sub); }
.mx-stats b { font-weight: 700; color: #fff; }
.mx-field { color: #fff; font-weight: 600; }
.mx-field select { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid #fff; }
.mx-field select option { color: #000; }
.mx-field--row input, .mx-check input { accent-color: #fff; }
.mx-btn { background: transparent; color: #fff; border: 2px solid #fff; font-weight: 700; }
.mx-btn--dark { background: #fff; color: #000; }
.mx-btn--dark.is-on { background: rgba(255,255,255,.75); }
.sec-shell { fill: rgba(255,255,255,.1); stroke: #fff; }
.sec-room { fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.6); }
.sec-label, .sec-cap { fill: #ddd; }
.sec-dot { fill: #fff; }
.sec-g { stroke: #ddd; }
.mx-pad button:active { background: #fff; color: #000; }
.mx-theme {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 24px 0 12px; white-space: nowrap;
  background: var(--ui-bg); color: #fff; border: 2px solid #fff; border-radius: 999px; pointer-events: none;
}
.mx-theme__ic { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.mx-theme__ic svg { width: 18px; height: 18px; fill: #000; }
.mx-theme__cap { font-size: .82rem; color: var(--ui-sub); }
.mx-theme b { font-size: 1.12rem; font-weight: 700; }
.mx-theme__sep { width: 1.5px; height: 24px; background: #fff; }
.mx-theme #themeUsers { font-size: .92rem; font-weight: 500; }
.mx-walk {
  position: fixed; right: 18px; bottom: 18px; z-index: 10;
  display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 22px 0 16px;
  background: var(--ui-bg); color: #fff; border: 2px solid #fff; border-radius: 999px; pointer-events: none;
}
.mx-walk__feet { width: 26px; height: 30px; fill: #fff; flex: none; }
.mx-walk__main small { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--ui-sub); }
.mx-walk__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.mx-walk__main div { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mx-walk__main b { font-size: 1.08rem; font-weight: 700; }
.mx-walk__main span { font-size: .9rem; }
.mx-walk__dir { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 44px; font-size: .78rem; font-weight: 600; }
.mx-walk__dir svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; transition: transform .2s; }
@media (max-width: 1180px) { .mx-theme { left: auto; right: 18px; transform: none; bottom: 90px; } }
@media (max-width: 760px) { .mx-theme, .mx-walk { display: none; } }
.mx-hint { bottom: 86px; }
.mx-panel.mx-map {
  width: 330px; padding: 14px 16px 12px; border-radius: 18px; border-width: 2.5px;
  background: rgba(17, 17, 17, .38); backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.mx-map__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.mx-map__head b { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.mx-map__head select { height: 30px; max-width: 170px; border: 1.5px solid #fff; border-radius: 999px; padding: 0 10px; background: rgba(0,0,0,.25); color: #fff; font-size: .8rem; font-weight: 600; }
.mx-map__head select option { color: #000; }
.mx-map__body { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: center; }
.mx-map .mx-section { width: 104px; height: 104px; margin: 0; }
.mx-map .mx-stats { grid-template-columns: 1fr 1fr; gap: 8px 10px; margin: 0; }
.mx-map .mx-stats b { font-size: .9rem; }
.mx-map .sec-shell { fill: rgba(255,255,255,.08); }
.mx-map .sec-room { fill: rgba(255,255,255,.14); }
.mx-map__go { width: 100%; height: 40px; margin-top: 10px; background: #fff; color: #000; border: 2px solid #fff; font-size: .92rem; font-weight: 800; text-shadow: none; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.mx-map__go.is-on { background: #000; color: #fff; }
.mx-map .mx-field--row { margin: 8px 0 0; }
@media (max-width: 760px) { .mx-panel.mx-map { width: auto; } .mx-map__body { grid-template-columns: 1fr; } .mx-map .mx-section { display: none; } }
.mx-panel.mx-map {
  left: 50%; right: auto; bottom: 86px; transform: translateX(-50%);
  background: rgba(17, 17, 17, .2); backdrop-filter: blur(1.5px);
  text-shadow: 0 1px 4px rgba(0,0,0,.75), 0 0 2px rgba(0,0,0,.6);
}
.mx-map__head select { background: rgba(0,0,0,.3); }
.mx-panel.mx-map::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -34px; height: 14px; border-radius: 50%;
  background: rgba(0,0,0,.18); filter: blur(4px); pointer-events: none;
}
.mx-hint { top: 70px; bottom: auto; }
@media (max-width: 1180px) { .mx-panel.mx-map { bottom: 160px; } }
@media (max-width: 760px) {
  .mx-panel.mx-map { left: 14px; right: 14px; transform: none; bottom: 136px; }
  .mx-panel.mx-map::after { display: none; }
  .mx-hint { top: 116px; }
}
.mx-brand { padding: 0 16px; }
.mx-brand img { display: block; height: 15.4px; width: auto; } 
.mx-note__ci { margin: 2px 0 14px; line-height: 0; }
.mx-note__ci img { display: block; width: 200px; max-width: 100%; height: auto; }
.mx-loading__ci { width: 220px; height: auto; filter: invert(1); }
.mx-modes button { letter-spacing: .01em; }
.mx-modes button[data-view="orbit"] { font-weight: 800; letter-spacing: .08em; }
.mx-panel.mx-face { width: 300px; }
.mx-face .mx-row { gap: 8px; }
.mx-face .mx-btn { height: 38px; text-shadow: none; }
.mx-face .mx-btn--dark { background: #fff; color: #000; }
.mx-face .mx-btn:not(.mx-btn--dark) { background: rgba(0,0,0,.25); }
.mx-ctrl { width: 380px; padding: 14px 16px 16px 18px; }
.mx-ctrl__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mx-ctrl__head b { font-size: 1rem; font-weight: 700; }
.mx-ctrl__close {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: #fff; border: 2px solid #fff; border-radius: 50%;
}
.mx-ctrl__close svg { width: 20px; height: 20px; fill: none; stroke: #000; stroke-width: 3; stroke-linecap: round; }
.mx-ctrl__close:hover { background: #000; }
.mx-ctrl__close:hover svg { stroke: #fff; }
.mx-ctrl__close:focus-visible { outline: 3px solid #ea5414; outline-offset: 2px; }
.mx-keys { margin: 12px 0 0; display: flex; flex-direction: column; gap: 0; }
.mx-keys div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.28); }
.mx-keys dt { font-size: 1.48rem; font-weight: 700; color: #fff; white-space: nowrap; }
.mx-keys dd { margin: 0; font-size: 1.48rem; font-weight: 500; color: var(--ui-sub); white-space: nowrap; }
@media (max-width: 760px) { .mx-ctrl { width: auto; left: 14px; right: 14px; top: 116px; } .mx-keys dt, .mx-keys dd { font-size: 1.2rem; } }
.mx-ctrl { --ctrl-fs: 1.18rem; width: 400px; }
.mx-ctrl__head b, .mx-ctrl .mx-check, .mx-keys dt, .mx-keys dd { font-size: var(--ctrl-fs); line-height: 1.35; }
.mx-ctrl .mx-check { margin: 8px 0 0; font-weight: 600; }
.mx-ctrl .mx-check input { width: 20px; height: 20px; }
.mx-keys div { padding: 8px 0; }
.mx-ctrl[data-mode="walk"] .mx-keys div:not([data-m~="walk"]),
.mx-ctrl[data-mode="stands"] .mx-keys div:not([data-m~="stands"]),
.mx-ctrl[data-mode="orbit"] .mx-keys div:not([data-m~="orbit"]),
.mx-ctrl[data-lock="on"] .mx-keys div[data-l="off"],
.mx-ctrl[data-lock="off"] .mx-keys div[data-l="on"],
.mx-ctrl[data-mode="orbit"] .mx-check { display: none; }
@media (max-width: 760px) { .mx-ctrl { --ctrl-fs: 1rem; } .mx-keys dt, .mx-keys dd { font-size: var(--ctrl-fs); } }
.mx-ctrl__hint { margin: 2px 0 4px; font-size: var(--ctrl-fs); line-height: 1.35; font-weight: 500; color: var(--ui-sub); }
.mx-note { width: 450px; padding: 24px 26px 22px; }
.mx-note__ci { margin: 2px 0 18px; }
.mx-note__ci img { width: 300px; }
.mx-note p { font-size: 1.29rem; line-height: 1.5; margin: 0 0 14px; }
.mx-venues { margin: 4px 0 0; }
.mx-venues div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.28); }
.mx-venues dt { font-size: 1.29rem; font-weight: 700; color: #fff; white-space: nowrap; }
.mx-venues dt small { font-size: 1em; font-weight: 500; color: var(--ui-sub); margin-left: 2px; }
.mx-venues dd { margin: 0; font-size: 1.29rem; font-weight: 500; color: var(--ui-sub); white-space: nowrap; }
@media (max-width: 760px) { .mx-note { width: auto; } .mx-note p, .mx-venues dt, .mx-venues dd { font-size: 1rem; } .mx-note__ci img { width: 220px; } }
.mx-note { position: fixed; }
.mx-note__close { position: absolute; top: 18px; right: 18px; }
@media (min-width: 761px) {
  .mx-note { width: max-content; max-width: calc(100vw - 28px); }
  .mx-note p { white-space: nowrap; }
}
@media (max-width: 760px) {
  .mx-ctrl { width: auto; left: 14px; right: 14px; max-width: none; top: 156px; max-height: calc(100vh - 170px); overflow: auto; }
  .mx-modes { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; border-radius: 22px; }
  .mx-modes button { padding-left: 4px; padding-right: 4px; white-space: nowrap; text-align: center; }
  .mx-note { left: 14px; right: 14px; max-width: none; }
}
.mx-brand { background: #ea5414; }
.mx-brand:hover { background: #d24a10; }
.mx-loading__ci { width: min(720px, 88vw); height: auto; filter: none; } 
@media (min-width: 1000px) {
  .mx-top .mx-modes { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
@media (max-width: 760px) {
  .mx-top__right { flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 1; }
  .mx-top .mx-chip { height: 40px; padding: 0 11px; font-size: .8rem; white-space: nowrap; }
}
.mx-note__ok, .mx-joy { display: none; }
@media (max-width: 760px) {
  .mx-top { flex-wrap: wrap; }
  .mx-top__right { flex-wrap: nowrap; flex: 1; justify-content: flex-end; }
  .mx-modes { order: 3; width: 100%; }
  .mx-note { max-height: none; overflow: visible; left: 12px; right: 12px; bottom: 12px; width: auto; }
  .mx-note__ok { display: flex; justify-content: center; align-items: center; width: 100%; height: 52px; margin-top: 14px; border: 0; border-radius: 999px;
    background: #fff; color: #000; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
  .mx-panel.mx-map { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px 14px; max-height: none; transform: none; }
  .mx-panel.mx-map::after { display: none; }
  .mx-map .mx-map__head, .mx-map .mx-map__body { display: none; }
  .mx-map .mx-map__go { margin: 0 0 8px; height: 48px; }
  .mx-walk { display: none !important; }                       
  .mx-theme { top: 152px; bottom: auto; height: 40px; padding: 0 16px 0 8px; gap: 10px; font-size: .85rem; }
  .mx-theme__ic { width: 24px; height: 24px; }
  .mx-theme b { font-size: .92rem; }
  .mx-pad { display: none !important; }
  .mx-joy:not([hidden]) { display: flex; flex-direction: column; align-items: center; gap: 6px; position: fixed; z-index: 11; bottom: 28px; touch-action: none; user-select: none; }
  .mx-joy--move { left: 18px; } .mx-joy--look { right: 18px; }
  .mx-joy:not([hidden]) { bottom: var(--joyB, 28px); }                
  .mx-joy__base { width: 112px; height: 112px; border-radius: 50%; background: rgba(17,17,17,.55); border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; backdrop-filter: blur(6px); }
  .mx-joy__knob { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); transition: transform .08s; pointer-events: none; }
  .mx-joy span { font-size: .8rem; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
}
@media (max-width: 760px) { .mx-joy { opacity: .7; } }
@media (max-width: 760px) {
  .mx-joy { opacity: 1; }
  .mx-joy__base { opacity: .3; }
  .mx-joy span { font-size: 1.04rem; opacity: 1; }
}
@media (max-width: 760px) { #ctrlBtn, #ctrlPanel { display: none !important; } }
