/* MANGLZ ESCAPE - "Locked In" (11/18/2026). The 3D stage is one full-screen canvas; everything else sits on top of it. */
:root { --mz-bg: #07080d; --mz-panel: rgba(13, 15, 24, .94); --mz-line: rgba(255, 255, 255, .14); --mz-text: #f2f3f7; --mz-dim: #9aa0b4; --mz-hot: #ff3b3b; --mz-go: #35d07f; --mz-acc: #8b5cf6; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--mz-bg); color: var(--mz-text); overflow: hidden; font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; touch-action: none; overscroll-behavior: none; }
#mz-stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#mz-ui { position: fixed; inset: 0; pointer-events: none; user-select: none; -webkit-user-select: none; }
#mz-ui > * { pointer-events: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }

#mz-boot { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--mz-bg); z-index: 50; transition: opacity .5s; }
#mz-boot.gone { opacity: 0; pointer-events: none; }
.mz-boot-box { text-align: center; }
.mz-logo { font-weight: 900; font-size: 34px; letter-spacing: 6px; color: #fff; text-shadow: 0 0 18px rgba(255, 59, 59, .65); }
#mz-boot-msg { margin-top: 10px; color: var(--mz-dim); }

/* heads-up display */
.mz-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 10px 0; pointer-events: none; }
.mz-hud > * { pointer-events: auto; }
.mz-chip { background: var(--mz-panel); border: 1px solid var(--mz-line); border-radius: 12px; padding: 7px 11px; font-size: 13px; }
.mz-chip b { font-weight: 800; }
.mz-clock { font-variant-numeric: tabular-nums; font-weight: 900; font-size: 24px; letter-spacing: 1px; padding: 5px 16px; border-radius: 12px; background: var(--mz-panel); border: 1px solid var(--mz-line); }
.mz-clock.low { color: var(--mz-hot); border-color: var(--mz-hot); animation: mzpulse 1s infinite; }
.mz-clock small { display: block; font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--mz-dim); text-align: center; }
@keyframes mzpulse { 50% { box-shadow: 0 0 18px rgba(255, 59, 59, .7); } }
.mz-right { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 46vw; }
.mz-btn { background: var(--mz-panel); border: 1px solid var(--mz-line); border-radius: 999px; padding: 8px 13px; font-weight: 700; font-size: 13px; }
.mz-btn.pri { background: var(--mz-acc); border-color: var(--mz-acc); color: #fff; }
.mz-btn.hot { background: var(--mz-hot); border-color: var(--mz-hot); color: #fff; }
.mz-btn.go { background: var(--mz-go); border-color: var(--mz-go); color: #06210f; }
.mz-btn:disabled { opacity: .45; cursor: default; }

.mz-prompt { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); }
.mz-prompt button { background: #fff; color: #111; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 15px; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); }
.mz-hint { position: absolute; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(0, 0, 0, .6); border-radius: 14px; padding: 6px 14px; font-size: 12px; color: #d9dcea; text-align: center; width: max-content; max-width: 92%; pointer-events: none !important; }
.mz-toast { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); background: var(--mz-panel); border: 1px solid var(--mz-line); border-radius: 12px; padding: 10px 16px; font-weight: 700; max-width: 88vw; text-align: center; z-index: 30; }
.mz-toast.bad { border-color: var(--mz-hot); color: #ffd7d7; }
.mz-toast.good { border-color: var(--mz-go); color: #d5ffe6; }
.mz-flash { position: absolute; inset: 0; background: rgba(255, 30, 30, .0); pointer-events: none !important; transition: background .25s; }
.mz-flash.on { background: rgba(255, 30, 30, .28); }
.mz-gas { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 20%, rgba(235, 240, 245, .0), rgba(235, 240, 245, .0)); pointer-events: none !important; transition: background 1.2s; }

/* joystick (touch) */
.mz-stick { position: absolute; left: 18px; bottom: calc(22px + env(safe-area-inset-bottom)); width: 112px; height: 112px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); touch-action: none; }
.mz-stick i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
@media (hover: hover) and (pointer: fine) { .mz-stick { display: none; } }

/* panels */
.mz-shade { position: absolute; inset: 0; background: rgba(4, 5, 9, .72); display: flex; align-items: center; justify-content: center; padding: 14px; z-index: 20; }
.mz-panel { width: min(560px, 100%); max-height: calc(var(--mz-h, 100vh) * 0.92); overflow: auto; background: var(--mz-panel); border: 1px solid var(--mz-line); border-radius: 18px; padding: 18px; touch-action: pan-y; user-select: text; -webkit-user-select: text; }
.mz-panel h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: .5px; }
.mz-panel h3 { margin: 16px 0 6px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--mz-dim); }
.mz-panel p { margin: 6px 0; color: #d6d9e6; }
.mz-panel .mz-dim { color: var(--mz-dim); font-size: 13px; }
.mz-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.mz-x { float: right; background: transparent; border: 0; font-size: 22px; line-height: 1; color: var(--mz-dim); padding: 0 4px; }
.mz-in { width: 100%; background: #0b0d15; border: 1px solid var(--mz-line); border-radius: 12px; color: #fff; padding: 12px 14px; font-size: 20px; letter-spacing: 6px; text-transform: uppercase; text-align: center; font-weight: 800; }
.mz-in.plain { letter-spacing: 0; text-transform: none; font-size: 16px; text-align: left; font-weight: 600; }
.mz-note { background: #f4efe2; color: #1c1a15; border-radius: 6px; padding: 14px 16px; font: 600 15px/1.5 "Courier New", ui-monospace, monospace; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.mz-note div + div { margin-top: 6px; }
.mz-panel.wide { width: min(940px, 100%); }
/* close looks: the whiteboard and the plaque wall as real text (owner 11/18: "when you search it the wording is hard to read") */
.mz-wb { background: #f3f4f1; color: #11193a; border-radius: 8px; padding: 16px 22px 12px; box-shadow: inset 0 0 0 5px #9a9da4, 0 10px 30px rgba(0, 0, 0, .5); font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Marker Felt", cursive; font-style: italic; font-weight: 700; }
.mz-wb-top { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 4px solid #b3202a; padding-bottom: 6px; margin-bottom: 6px; }
.mz-wb-top b { color: #b3202a; font-size: 34px; font-weight: 900; }
.mz-wb-top span { color: #1b2a55; font-size: 19px; white-space: pre-wrap; }
.mz-wb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px dashed rgba(17, 25, 58, .18); }
.mz-wb-row:last-child { border-bottom: 0; }
.mz-wb-row .t { font-size: 30px; letter-spacing: 1.5px; white-space: pre-wrap; }
.mz-wb-row .b { font-size: 24px; color: #1d6b3a; white-space: nowrap; }
.mz-plaques { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }   /* by the room there is, not by the screen: the game's own zoom makes screen-width rules lie */
.mz-plq { background: #0c0d11; border: 4px solid #6b5a2a; border-radius: 6px; padding: 12px 6px 12px; text-align: center; }
.mz-plq i { display: block; width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 50%; background: radial-gradient(circle, #17181d 0 15%, #fff3c4 17%, #d7a739 55%, #7c5a12 100%); }
.mz-plq.plat i { background: radial-gradient(circle, #17181d 0 15%, #fff 17%, #c9ced6 55%, #737985 100%); }
.mz-plq b { display: block; font: 800 21px Georgia, serif; color: #fff; }
.mz-plq em { display: block; font: 700 12px Arial, sans-serif; letter-spacing: 1.5px; color: #ecc35a; margin-top: 3px; }
.mz-plq.plat em { color: #dfe3ea; }
.mz-plq span { display: block; font: 700 23px Consolas, "Courier New", ui-monospace, monospace; color: #f1f2f6; margin-top: 7px; letter-spacing: .5px; }
.mz-plq small { display: block; font: italic 600 15px Georgia, serif; color: #b4b8c6; margin-top: 7px; }
/* crew chat: a window in the bottom right corner that stays usable over the lobby and the room */
#mz-ui > .mz-chat { position: absolute; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); width: min(340px, 86%); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; z-index: 26; pointer-events: none; }
.mz-chat > * { pointer-events: auto; }
.mz-chat-box { width: 100%; background: var(--mz-panel); border: 1px solid var(--mz-line); border-radius: 14px; display: flex; flex-direction: column; max-height: calc(var(--mz-h, 100vh) * 0.46); overflow: hidden; }
.mz-chat-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 6px 12px; border-bottom: 1px solid var(--mz-line); font-size: 13px; }
.mz-chat-list { flex: 1; min-height: 90px; overflow-y: auto; padding: 8px 12px; font-size: 14px; line-height: 1.35; touch-action: pan-y; user-select: text; -webkit-user-select: text; overflow-wrap: anywhere; }
.mz-chat-list .mz-dim { font-size: 12px; color: var(--mz-dim); margin-bottom: 6px; }
.mz-chat-line { margin: 4px 0; }
.mz-chat-line b { color: #b9a6ff; margin-right: 6px; font-weight: 800; }
.mz-chat-line.mine b { color: var(--mz-go); }
.mz-chat-send { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--mz-line); }
.mz-chat-send .mz-in.plain { padding: 8px 10px; font-size: 14px; border-radius: 10px; }
.mz-chat-pill { box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.mz-vol { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.mz-vol span { width: 62px; color: var(--mz-dim); font-size: 13px; }
.mz-vol input { flex: 1; touch-action: none; accent-color: var(--mz-acc); height: 28px; }
/* a solo player's notes: beside the lock when there is room, under it when there is not */
.mz-panel.wide { width: min(1080px, 100%); }
.mz-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 18px; align-items: start; }
.mz-side > .mz-notes { margin-top: 0; border-top: 0; }
.mz-side > .mz-notes h3 { margin-top: 2px; }
.mz-side .mz-plaques { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mz-side .mz-plq b { font-size: 17px; } .mz-side .mz-plq span { font-size: 19px; }
.mz-notes { margin-top: 16px; border-top: 1px solid var(--mz-line); }
.mz-notes details { margin-top: 8px; border: 1px solid var(--mz-line); border-radius: 12px; background: #0b0d15; }
.mz-notes summary { cursor: pointer; padding: 10px 12px; font-weight: 800; font-size: 14px; }
.mz-notes details > :not(summary) { margin: 0 10px 10px; }
.mz-notes .mz-wb-row .t { font-size: 24px; } .mz-notes .mz-wb-row .b { font-size: 20px; } .mz-notes .mz-wb-top b { font-size: 26px; }
/* steady view: the blink of a quarter turn, and the two arrows that ask for one */
.mz-shade:has(.mz-panel.side) { background: none; justify-content: flex-start; }      /* choosing an avatar: the figure stays in view beside the choices */
.mz-panel.side { width: min(400px, 100%); }
.mz-panel { scrollbar-width: thin; scrollbar-color: #3a3f52 transparent; }
@media (max-width: 760px) { .mz-shade:has(.mz-panel.side) { align-items: flex-end; justify-content: center; } .mz-panel.side { max-height: calc(var(--mz-h, 100vh) * 0.5); } }
.mz-sw { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.mz-license { margin: 10px 0 6px; padding: 10px 12px; border: 2px solid #ffd166; border-radius: 10px; background: rgba(255, 209, 102, .08); font-weight: 800; font-size: 14px; }
.mz-license a { color: #ffd166; text-decoration: underline; }
.mz-state { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; font-weight: 700; }
.mz-try { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid #2fd17a; border-radius: 12px; font-size: 13px; }
.mz-try .mz-row { margin-top: 8px; }
.mz-sw button { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); cursor: pointer; }
.mz-sw button.on { border-color: #fff; box-shadow: 0 0 0 3px var(--mz-hot); }
.mz-sw button.none { background: repeating-linear-gradient(45deg, #3a3f52 0 6px, #272b38 6px 12px); }
.mz-contrib .mz-list li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mz-contrib .mz-list small { font-size: 12px; font-weight: 500; }
.mz-bar { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.mz-bar > i { display: block; height: 100%; background: var(--mz-hot); border-radius: 3px; }
.mz-credit { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--mz-line); }
#mz-ui > .mz-ask { position: absolute; left: 50%; top: 132px; transform: translateX(-50%); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; max-width: 92vw; background: var(--mz-panel); border: 1px solid var(--mz-hot); border-radius: 12px; padding: 10px 14px; font-weight: 700; z-index: 31; }
.mz-voice { padding: 6px 10px; border-bottom: 1px solid var(--mz-line); font-size: 13px; }
.mz-voice:empty { display: none; }
.mz-voice .mz-row { margin-top: 6px; }
.mz-voice .mz-btn { padding: 6px 12px; font-size: 13px; }
.mz-voice .mz-voice-hint { display: block; margin-top: 4px; font-size: 12px; }      /* 11/21: its own line under the button, not 'it on.' wrapped alone */
.mz-rec { color: #ff5a5a; font-weight: 900; letter-spacing: 1px; }
.mz-rec.off { color: #9aa3b2; letter-spacing: 0; }
.mz-voice-who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.mz-voice-who button { background: none; border: 1px solid var(--mz-line); color: inherit; border-radius: 999px; padding: 3px 9px; font-size: 12px; cursor: pointer; }
.mz-voice-who button.off { opacity: .55; text-decoration: line-through; }
#mz-ui > .mz-ptt { position: absolute; right: 12px; bottom: calc(118px + env(safe-area-inset-bottom)); min-width: 118px; padding: 13px 16px; border-radius: 999px; border: 2px solid #ff5a5a; background: rgba(12, 13, 18, .88); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; z-index: 12; }
#mz-ui > .mz-ptt.on { background: #ff3b3b; }
#mz-ui > .mz-say { position: absolute; right: 12px; bottom: calc(172px + env(safe-area-inset-bottom)); max-width: 60vw; text-align: right; font-size: 13px; font-weight: 700; color: #ffd9d9; text-shadow: 0 1px 3px #000; pointer-events: none !important; z-index: 12; }
.mz-count { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(4, 5, 9, .5); pointer-events: none !important; z-index: 14; }
.mz-count small { letter-spacing: 5px; font-weight: 800; font-size: 15px; color: #ffd9d9; }
.mz-count b { font-size: 132px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 0 34px rgba(255, 59, 59, .85); }
.mz-blink { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .13s; pointer-events: none !important; z-index: 15; }
.mz-blink.on { opacity: 1; }
#mz-ui > .mz-turn { position: absolute; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); display: flex; gap: 8px; pointer-events: none; }
.mz-turn button { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; background: var(--mz-panel); border: 1px solid var(--mz-line); font-size: 24px; line-height: 1; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.mz-warn { border: 1px solid var(--mz-hot); border-radius: 10px; padding: 8px 10px; color: #ffd7d7 !important; }
.mz-chat-act { margin-left: 8px; opacity: .55; white-space: nowrap; }
.mz-chat-act button, .mz-chat-un { background: none; border: 0; padding: 0 0 0 6px; font-size: 11px; color: var(--mz-dim); text-decoration: underline; }
.mz-chat-line:hover .mz-chat-act { opacity: 1; }
/* the door: what a signed-out visitor sees over the live room */
a.mz-btn { color: var(--mz-text); text-decoration: none; display: inline-block; }
a.mz-btn.pri { color: #fff; }
.mz-shade:has(.mz-panel.door) { background: rgba(4, 5, 9, .3); align-items: flex-end; padding-bottom: 6vh; }   /* let the room show: it is the picture */
.mz-panel.door { width: min(520px, 100%); text-align: center; background: rgba(13, 15, 24, .86); }
.mz-panel.door .mz-big .mz-tag { vertical-align: middle; letter-spacing: 1.5px; text-shadow: none; }
.mz-panel.door .mz-lead { font-size: 18px; color: #fff; font-weight: 700; }
.mz-panel.door .mz-row { justify-content: center; }
.mz-btn.big { padding: 12px 20px; font-size: 15px; text-decoration: none; display: inline-block; }
.mz-also { margin-top: 18px !important; padding-top: 12px; border-top: 1px solid var(--mz-line); font-size: 13px; color: var(--mz-dim) !important; }
.mz-also a { color: #b9a6ff; }
.mz-ok { border: 1px solid var(--mz-go); border-radius: 10px; padding: 8px 10px; color: #d5ffe6 !important; }
/* chat: who it goes to, and the room / private tags */
.mz-chat-to { margin: 0 8px; padding: 7px 8px; border-radius: 10px; background: #0b0d15; color: var(--mz-text); border: 1px solid var(--mz-line); font: inherit; font-size: 13px; }
.mz-chat-tag { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 1px 6px; border-radius: 999px; margin-right: 6px; border: 1px solid var(--mz-line); color: var(--mz-dim); }
.mz-chat-line.room .mz-chat-tag { color: #ffd166; border-color: #ffd166; }
.mz-chat-line.dm .mz-chat-tag { color: #7fe3ff; border-color: #7fe3ff; }
.mz-stand li.mine, .mz-list li.mine { color: #fff; font-weight: 800; }
/* the Hints screen */
.mz-obj { border: 1px solid var(--mz-line); border-radius: 12px; padding: 10px 12px; margin-top: 10px; background: #0b0d15; }
.mz-obj.done { opacity: .6; }
.mz-obj-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mz-obj p { margin: 4px 0 0; }
.mz-hintline { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--mz-acc); background: rgba(139, 92, 246, .12); border-radius: 0 8px 8px 0; color: #ecebff; }
.mz-hintline b { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #b9a6ff; }
.mz-tag.go { color: #06210f; background: var(--mz-go); border-color: var(--mz-go); }
@media (max-width: 620px) { .mz-wb-row .t { font-size: 23px; } .mz-wb-row .b { font-size: 19px; } .mz-wb-top b { font-size: 27px; } .mz-plq span { font-size: 20px; } }
.mz-faders { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 10px; }
.mz-fader { text-align: center; background: #0b0d15; border: 1px solid var(--mz-line); border-radius: 10px; padding: 8px 2px; }
.mz-fader b { display: block; font-size: 10px; letter-spacing: .5px; color: var(--mz-dim); }
.mz-fader span { display: block; font-size: 20px; font-weight: 900; margin: 4px 0; }
.mz-fader button { display: block; width: 100%; background: #1a1d2b; border: 0; border-radius: 6px; padding: 7px 0; font-weight: 900; }
.mz-fader button + button { margin-top: 4px; }
.mz-list { margin: 6px 0 0; padding: 0; list-style: none; }
.mz-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--mz-line); font-size: 14px; }
.mz-big { font-weight: 900; font-size: 30px; letter-spacing: 4px; text-shadow: 0 0 18px rgba(255, 59, 59, .6); }
.mz-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--mz-line); color: var(--mz-dim); }
.mz-tag.hot { color: #fff; background: var(--mz-hot); border-color: var(--mz-hot); }
.mz-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mz-mode { text-align: left; background: #0b0d15; border: 1px solid var(--mz-line); border-radius: 14px; padding: 14px; }
.mz-mode b { display: block; font-size: 16px; }
.mz-mode span { display: block; color: var(--mz-dim); font-size: 13px; margin-top: 4px; }
.mz-mode.timed { border-color: var(--mz-hot); }
.mz-mode:disabled { opacity: .5; }
@media (max-width: 520px) { .mz-modes { grid-template-columns: 1fr; } .mz-clock { font-size: 20px; } .mz-right { max-width: 40vw; } }

/* the building (11/20/2026): the trap bar, the cut between rooms, the black screen, the Pressing Plant's close looks */
.mz-trapbar{position:absolute;left:50%;top:76px;transform:translateX(-50%);z-index:30;background:rgba(120,0,0,.9);border:2px solid #ff4a3a;color:#fff;padding:8px 18px;border-radius:10px;font:800 14px/1.25 system-ui,sans-serif;letter-spacing:.06em;text-align:center;box-shadow:0 0 24px rgba(255,40,20,.45);pointer-events:none;max-width:calc(100vw - 32px)}
.mz-trapbar b{display:block;font-size:32px;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.mz-trapbar small{display:block;font-weight:600;letter-spacing:0;opacity:.85;font-size:12px}
.mz-trapbar:not(.calm){animation:mzTrapPulse 1.2s ease-in-out infinite}
@keyframes mzTrapPulse{50%{background:rgba(165,0,0,.94)}}
.mz-cut{position:absolute;inset:0;z-index:60;background:#000;color:#eee;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 16px;transition:opacity 1.1s;opacity:1}
.mz-cut.out{opacity:0;pointer-events:none}
.mz-cut b{letter-spacing:.3em;color:#ff5a4a;font-size:13px}
.mz-cut h2{font-size:34px;margin:10px 0 16px;letter-spacing:.04em}
.mz-cut p{max-width:560px;opacity:.85;margin:6px 0;line-height:1.45}
.mz-cut .mz-cut-warn{color:#ffb347;opacity:1;font-weight:700;margin-top:14px}
.mz-dead{position:absolute;inset:0;z-index:19;background:#000;animation:mzDead .2s ease-out}
@keyframes mzDead{from{opacity:0}to{opacity:1}}
.mz-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.mz-cards>p{grid-column:1/-1;margin:0}
.mz-card{background:#efe6c8;color:#2a2416;border-radius:6px;padding:10px 12px;font-family:Consolas,"Courier New",monospace;box-shadow:inset 0 0 0 2px #c9b98a}
.mz-card b{display:block;font-size:15px}
.mz-card span{display:block;font-size:12px;margin:2px 0 6px;color:#5a4c2a}
.mz-card div{display:flex;justify-content:space-between;align-items:baseline;font-size:20px;font-weight:700}
.mz-card i{font-style:normal;color:#8a2a1a;font-size:13px}
.mz-card code{font:inherit;background:none;color:inherit}
.mz-rack{overflow-x:auto}
.mz-rack table{border-collapse:collapse;width:100%;font-family:Consolas,"Courier New",monospace;font-size:14px}
.mz-rack th,.mz-rack td{border-bottom:1px solid rgba(255,255,255,.12);padding:6px 8px;text-align:left;white-space:nowrap}
.mz-rack th{color:#9aa3b5;font-size:11px;letter-spacing:.08em}
.mz-sign{background:#d9a400;color:#111;font-weight:800;padding:6px 10px;border-radius:4px;margin-bottom:10px;font-size:13px;letter-spacing:.04em}
.mz-dials{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}
.mz-dial{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#9aa3b5}
.mz-dial .mz-in{width:110px}
.mz-placard{background:#8a1010;color:#fff;border-radius:6px;padding:10px 12px;font-weight:700;margin-bottom:10px;line-height:1.4}
.mz-placard div:first-child{font-size:18px;letter-spacing:.12em}
.mz-gauges{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin:8px 0 12px}
.mz-gauge{background:#f4f1e8;color:#111;border:4px solid #2a2d33;border-radius:50%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center}
.mz-gauge small{color:#555;font-size:11px;font-weight:700;letter-spacing:.1em}
.mz-gauge b{font:800 26px Consolas,monospace}
.mz-gauge i{font-style:normal;color:#8a1010;font-weight:800;text-transform:uppercase}
/* rooms 3-5 (11/20/2026): Marlow's pages, the pump grid, the backwards writing, the ride clocks, the weights, the staff */
.mz-page{background:#efe4c6;color:#2a2013;border-radius:6px;padding:14px 16px;font-family:Georgia,serif;box-shadow:inset 0 0 40px rgba(120,90,40,.25)}
.mz-page b{display:block;font:800 13px Arial,sans-serif;letter-spacing:.12em;color:#7a5a20;margin-bottom:8px}
.mz-page p{margin:6px 0;line-height:1.45}
.mz-grid{display:grid;grid-template-columns:repeat(3,64px) 70px;gap:8px;justify-content:center;margin:6px 0 12px}
.mz-grid span{display:flex;align-items:center;justify-content:center;height:64px;border:3px solid #9fd0c4;border-radius:8px;font:900 30px Consolas,monospace;color:#fff;background:#20302c}
.mz-grid span.q{color:#5a6a66}
.mz-grid em{display:flex;align-items:center;justify-content:center;font:800 22px Consolas,monospace;color:#ffd36b;font-style:normal}
.mz-mirror p{transform:scaleX(-1);text-align:right;font:italic 700 20px "Segoe Print","Comic Sans MS",cursive;color:#d2ebe6;background:#18221f;padding:8px 12px;border-radius:6px;margin:6px 0}
.mz-clocks{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.mz-clocks canvas{width:100%;height:auto;border-radius:8px}
.mz-weights{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
.mz-weights span{background:#2a2a2a;border-radius:50%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font:700 14px Arial}
.mz-weights b{color:#ffd36b;font-size:22px}
.mz-staff{width:100%;height:auto;border-radius:8px;background:#fdfbf6}
/* phones first (11/20/2026): the trap bar sits under open panels (the relief panel shows its own timer), a compact top bar */
.mz-trapbar{z-index:15}
.mz-reliefclock{background:#8a1010;color:#fff;font:900 18px/1.2 system-ui,sans-serif;text-align:center;border-radius:6px;padding:6px;margin:-4px 0 8px;font-variant-numeric:tabular-nums}
.mz-reliefclock:empty{display:none}
@media (max-width:600px){
  .mz-chip{font-size:11px;line-height:1.25;max-width:42vw}
  .mz-chip b{display:block}
  .mz-trapbar{top:auto;bottom:calc(150px + env(safe-area-inset-bottom));padding:6px 12px;font-size:12px;max-width:calc(100vw - 24px)}
  .mz-trapbar b{font-size:24px}
  .mz-trapbar small{display:none}
}
/* 11/20: Easy / Medium / Hard / Kids */
.mz-tiers { margin: 4px 0 6px; }
.mz-tiers .mz-row { flex-wrap: wrap; gap: 6px; }
.mz-tiers .mz-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px rgba(255,255,255,.35) inset; }
/* 11/20: the kids' building (level 4) */
.mz-parcels { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 8px 0; }
.mz-pc { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 12px; background: #fffdf6; color: #1b1b2f; text-align: center; }
.mz-pc i { font-style: normal; font-size: 28px; line-height: 1.1; }
.mz-pc b { font-size: 13px; }
.mz-pc small { font-size: 12px; opacity: .8; }
.mz-dot { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); }
.mz-kidcv { width: 100%; height: auto; border-radius: 10px; display: block; margin: 6px 0; }
.mz-kidcv.sq { max-width: 520px; margin: 6px auto; }
.mz-splat { position: fixed; inset: 0; z-index: 18; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; pointer-events: none; background: radial-gradient(circle at 50% 45%, var(--splat) 0%, var(--splat) 38%, transparent 75%); transition: opacity .7s; }
.mz-splat b { font: 900 64px/1 "Comic Sans MS", Arial, sans-serif; color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.35); }
.mz-splat span { font: 700 20px Arial, sans-serif; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.6); padding: 0 16px; text-align: center; }
.mz-splat.out { opacity: 0; }
@media (max-width: 600px) { .mz-splat b { font-size: 46px; } .mz-parcels { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }

/* THE WAY IN (11/20): the game master's words, and the front door's countdown */
.mz-gm{position:absolute;left:50%;bottom:calc(110px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:16;width:min(620px,calc(100vw - 24px));background:rgba(8,9,14,.84);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:10px 14px;color:#fff;text-align:center;font:500 15px/1.35 system-ui,sans-serif}
.mz-gm b{display:block;font-size:12px;letter-spacing:.14em;color:#ff8aa0;text-transform:uppercase}
.mz-gm .mz-gm-line{margin:6px 0 8px;font-size:16px;min-height:2.7em}
.mz-gm small{display:block;opacity:.85;font-size:12px;margin-top:4px}
.mz-gm .mz-btn{pointer-events:auto}
.mz-gm.door{background:rgba(8,40,20,.88);border-color:#3ddc84}
.mz-gm.door b{color:#9dffc4;font-size:20px;letter-spacing:.08em}
.mz-gm .mz-gm-count{margin:4px 0;font-size:26px;font-weight:900;font-variant-numeric:tabular-nums}
@media (max-width:600px){.mz-gm{top:auto;bottom:calc(146px + env(safe-area-inset-bottom));padding:8px 10px;font-size:14px}.mz-gm .mz-gm-line{font-size:14px;min-height:0}.mz-gm .mz-gm-count{font-size:22px}}

/* 11/21: chat tabs, and the NEXT button under the room name */
.mz-chat-tabs{display:flex;gap:6px;padding:6px 10px 0}
.mz-chat-tab{flex:1;border:1px solid var(--mz-line);background:#0b0d15;color:var(--mz-dim);border-radius:999px;padding:6px 8px;font:700 13px system-ui,sans-serif;position:relative}
.mz-chat-tab.on{background:#fff;color:#111;border-color:#fff}
.mz-chat-tab.new::after{content:'';position:absolute;top:4px;right:8px;width:7px;height:7px;border-radius:50%;background:#ff4d6d}
.mz-chat-list[data-tab="lobby"] .mz-chat-line.crew,.mz-chat-list[data-tab="lobby"] .mz-chat-line.room{display:none}
.mz-chat-list[data-tab="crew"] .mz-chat-line.lobby,.mz-chat-list[data-tab="crew"] .mz-chat-line.room{display:none}
.mz-chat-list[data-tab="room"] .mz-chat-line.lobby,.mz-chat-list[data-tab="room"] .mz-chat-line.crew{display:none}
.mz-next{position:absolute;left:50%;top:calc(74px + env(safe-area-inset-top));transform:translateX(-50%);max-width:min(340px,46vw);box-shadow:0 6px 18px rgba(0,0,0,.45);pointer-events:auto;background:#ffd166;color:#111;border:0;border-radius:999px;padding:6px 12px;font:800 12px/1.2 system-ui,sans-serif;letter-spacing:.02em;max-width:100%;text-align:left;white-space:normal}

/* 11/21: the dark test's fuse box */
.mz-fuse{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:6px 0 10px}
.mz-fuse span{display:flex;flex-direction:column;align-items:center;gap:2px;background:#15171d;border:1px solid #3a3f4a;border-radius:10px;padding:10px 4px}
.mz-fuse b{font-size:34px;line-height:1;color:#e7d2ff;font-family:"Segoe UI Symbol","Apple Symbols",Arial}
.mz-fuse small{font-size:10px;letter-spacing:.08em;color:#9aa0ad}

/* 11/21 bugfix SHELL-9: the splash's words go at once and only its dark cover fades, so "MANGLZ ESCAPE / Loading the room..." never shows through the lobby */
#mz-boot.gone .mz-boot-box { visibility: hidden; }
/* 11/21 bugfix ESC-3: the chat window is solid (the lobby text showed through it), and taller on phones so more than three messages fit */
#mz-ui > .mz-chat .mz-chat-box { background: #0d0f18; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
@media (max-width: 600px) { #mz-ui > .mz-chat .mz-chat-box { max-height: calc(var(--mz-h, 100vh) * 0.62); } }
/* 11/21 bugfix SHELL-5 ESC-2: the back-to-Manglz link at the top of the lobby and the door */
.mz-panel > .mz-home { margin-bottom: 10px; }

/* THE $5,000 CHALLENGE (11/21/2026): the prize card (the approved short version, as easy to see as its title), the eligibility check */
.mz-prize { margin: 10px 0; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(212, 160, 23, .6); background: linear-gradient(165deg, rgba(212, 160, 23, .16), rgba(212, 160, 23, .04)); }
.mz-prize-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.mz-prize-head b { font-size: 16px; color: #ffd166; letter-spacing: .3px; }
.mz-prize .mz-lead { margin: 4px 0; }
.mz-prize-short { font-size: 14px; line-height: 1.45; margin: 4px 0 6px; }
.mz-prize-short a { color: #7fe3ff; font-weight: 700; }
.mz-check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: 14px; line-height: 1.4; cursor: pointer; }
.mz-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
/* 11/22 HANDS-ON LOCKS: the strip under a lock you are working with your hands, and the notes drawer beside it */
#mz-ui.dev > .mz-stick, #mz-ui.dev > .mz-prompt, #mz-ui.dev > .mz-turn, #mz-ui.dev > .mz-hint, #mz-ui.dev .mz-next { display: none !important; }
#mz-ui.dev .mz-hud > :not(.mz-clock) { opacity: .45; transition: opacity .2s; }
#mz-ui.dev .mz-hud > :not(.mz-clock):hover { opacity: 1; }
#mz-ui.dev > .mz-chat { bottom: calc(var(--mz-devh, 150px) + 10px); }
#mz-ui.dev > .mz-ptt { bottom: calc(var(--mz-devh, 150px) + 64px); }
#mz-ui.dev > .mz-say { bottom: calc(var(--mz-devh, 150px) + 118px); }
.mz-dev { position: absolute; left: 0; right: 0; bottom: 0; z-index: 14; background: linear-gradient(to top, rgba(6, 7, 12, .97), rgba(6, 7, 12, .86)); border-top: 1px solid var(--mz-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.mz-dev-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mz-dev-top b { font-size: 16px; letter-spacing: .02em; }
.mz-dev-chip { font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--mz-line); }
.mz-dev-chip.hot { border-color: var(--mz-hot); color: #ffb3b3; }
.mz-dev-chip.go { border-color: var(--mz-go); color: #b7ffd6; }
.mz-dev-say { margin: 4px 0 0; font-size: 14px; line-height: 1.35; max-width: 820px; }
.mz-dev-warn { margin: 3px 0 0; font-size: 12px; color: #ffcf8a; }
.mz-dev-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.mz-dev-row .mz-btn { min-height: 40px; }
.mz-dev-pg { font-size: 12px; font-weight: 800; color: var(--mz-dim); }
.mz-dev-kb { font-size: 12px; color: var(--mz-dim); }
.mz-devnotes { position: absolute; right: 0; top: 0; bottom: var(--mz-devh, 150px); width: 340px; max-width: 92vw; z-index: 15; overflow: auto; background: var(--mz-panel); border-left: 1px solid var(--mz-line); padding: calc(46px + env(safe-area-inset-top)) 14px 14px; }
.mz-devnotes .mz-x { position: absolute; right: 10px; top: calc(8px + env(safe-area-inset-top)); }
@media (max-width: 760px) { .mz-devnotes { top: auto; left: 0; width: auto; max-width: none; height: 45%; border-left: 0; border-top: 1px solid var(--mz-line); padding-top: 40px; } .mz-dev-say { font-size: 13px; } .mz-dev { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); } }
.mz-plq .mz-dmy { display: block; font-size: 11px; letter-spacing: .12em; opacity: .7; }

/* 11/22: THE TAPE SYNC (the owner's dot, then the face) */
.mz-dot-wrap { position: fixed; inset: 0; z-index: 60; pointer-events: auto; background: radial-gradient(ellipse at center, rgba(18, 30, 22, .93), rgba(0, 0, 0, .97)); touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.mz-dot-wrap::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 3px); }
.mz-dot-title { position: absolute; top: 26px; left: 12px; right: 12px; text-align: center; font: 800 15px/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .16em; color: #8dffb0; text-shadow: 0 0 8px rgba(80, 255, 140, .6); }
.mz-dot-count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font: 700 14px ui-monospace, Menlo, Consolas, monospace; color: #8dffb0; opacity: .8; }
.mz-dot { position: absolute; left: 0; top: 0; border-radius: 50%; background: #b4ffcf; box-shadow: 0 0 18px #6dff9c, 0 0 42px rgba(80, 255, 140, .5); cursor: pointer; }
.mz-scream { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; animation: mz-scream-in .09s ease-out both, mz-shake .06s linear .09s infinite; }
.mz-scream svg { width: min(135vw, 135vh); height: min(135vw, 135vh); }
.mz-scream.low { animation: mz-scream-in .3s ease-out both; }
.mz-scream.low svg { width: min(55vw, 55vh); height: min(55vw, 55vh); opacity: .85; }
.mz-dot-wrap.flash { animation: mz-redflash .16s steps(2) 5; }
.mz-dot-wrap.out { opacity: 0; transition: opacity .5s; }
@keyframes mz-scream-in { 0% { transform: scale(.15); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes mz-shake { 0% { translate: 0 0; } 25% { translate: -9px 6px; } 50% { translate: 8px -7px; } 75% { translate: -6px -5px; } 100% { translate: 0 0; } }
@keyframes mz-redflash { 0% { background: #6a0000; } 100% { background: #000; } }
/* 11/22 (w2): on a phone, a lock in front of you keeps only the clock up top (the strip has Back and Hints) */
@media (max-width: 760px) { #mz-ui.dev .mz-hud .mz-chip, #mz-ui.dev .mz-hud .mz-right { display: none !important; } }

/* 11/22: Vey's notes (a riddle for the lock you are on) */
.mz-vey { position: absolute; left: 12px; top: calc(118px + env(safe-area-inset-top)); max-width: min(300px, 72vw); pointer-events: auto; cursor: pointer; background: #efe6cf; color: #2a2118; border-radius: 4px; padding: 9px 12px 10px; box-shadow: 0 8px 22px rgba(0, 0, 0, .55); transform: rotate(-1.5deg); font: 600 14px/1.35 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; z-index: 5; }
.mz-vey b { display: block; font: 800 10px/1.2 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #7a5a3a; margin-bottom: 4px; }
.mz-vey.folded span { display: none; }
.mz-vey.folded { padding: 6px 10px; }
.mz-vey.fresh { animation: mz-vey-in .6s ease-out; }
@keyframes mz-vey-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

/* 11/22: Vey's words beside the clue (inside the close look) */
.mz-vnote { margin-top: 12px; background: #efe6cf; color: #2a2118; border-radius: 4px; padding: 9px 12px 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); transform: rotate(-1deg); font: 600 15px/1.35 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; }
.mz-vnote b { display: block; font: 800 10px/1.2 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #7a5a3a; margin-bottom: 4px; }

/* 11/22: the chat messages take the arrow keys after a click */
.mz-chat-list:focus { outline: none; }
/* 11/22 stage 2: the trap's clock in the strip under the relief valves; with a lock in front of you, the trap bar is one line up top */
.mz-dev .mz-reliefclock { display: inline-block; margin: 6px 0 0; padding: 3px 12px; font-size: 15px; }
#mz-ui.dev .mz-trapbar { top: 70px; bottom: auto; padding: 4px 14px; font-size: 12px; white-space: nowrap; }
#mz-ui.dev .mz-trapbar b { display: inline; font-size: 18px; margin-left: 8px; }
#mz-ui.dev .mz-trapbar small { display: none; }
@media (max-width: 760px) { #mz-ui.dev .mz-trapbar { top: 62px; } }
/* 11/22 stage 3: THE WAY OUT: the title over the street, and Skip */
.mz-fin { position: absolute; left: 0; right: 0; top: 11%; z-index: 30; text-align: center; pointer-events: none; opacity: 0; transition: opacity .9s; padding: 0 16px; }
.mz-fin.on { opacity: 1; }
.mz-fin h2 { margin: 0; font: 900 clamp(24px, 7vw, 76px) Georgia, serif; letter-spacing: .03em; color: #ffd36b; text-shadow: 0 3px 0 #5a0a14, 0 0 28px rgba(0, 0, 0, .65); }
.mz-fin p { margin: 8px 0 0; font: 800 clamp(15px, 3.6vw, 24px) Arial, sans-serif; letter-spacing: .18em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .85); }
.mz-fin-skip { position: absolute; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 31; }
.mz-dev .mz-devstaff { display: block; width: auto; max-width: 100%; height: 64px; margin: 6px 0 0; border-radius: 6px; }

/* 11/22 APP FIT. A phone: the top bar is one short row (a small lock-count tile, the clock, Hints, the app's Sideways button,
   ☰ with the rest), the NEXT pill right under it. A phone on its side: the same row, and a lock's close-up keeps its strip in
   a column on the right so the lock gets the whole height. The app with its bars hidden: room for the camera hole. */
.mz-chip-s, .mz-more { display: none; }
.mz-shade:has(.mz-morep) { z-index: 27; }      /* the menu sheet sits over the Chat pill while it is open */
.mz-tilt { font-size: 12px; font-weight: 800; padding: 7px 9px; white-space: nowrap; }
@media (max-width: 600px), (max-height: 500px) {
  .mz-hud { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mz-chip { max-width: none; padding: 3px 8px; flex: 0 1 auto; min-width: 0; overflow: hidden; }
  .mz-chip-l { display: none; }
  .mz-chip-s { display: block; text-align: center; white-space: nowrap; }
  .mz-chip-n { display: block; font-size: 15px; line-height: 1.2; font-weight: 900; font-variant-numeric: tabular-nums; }
  .mz-chip-s small { display: block; font-size: 8px; letter-spacing: .5px; font-weight: 700; color: var(--mz-dim); }
  .mz-right { max-width: none; flex: 0 0 auto; flex-wrap: nowrap; gap: 5px; }
  .mz-right > .mz-btn:not(.pri):not(.mz-more):not(.mz-tilt) { display: none; }
  .mz-more { display: inline-block; padding: 6px 10px; font-size: 16px; line-height: 1; }
  .mz-right > .mz-btn.pri { padding: 7px 10px; }
  .mz-clock { font-size: 15px; letter-spacing: .5px; padding: 3px 8px; flex: 0 1 auto; min-width: 0; overflow: hidden; }
  .mz-clock small { font-size: 8px; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mz-next { top: calc(50px + env(safe-area-inset-top)); }
}
@media (max-width: 360px) { .mz-chip { display: none; } }
@media (orientation: landscape) and (max-height: 500px) {
  .mz-stick { width: 96px; height: 96px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  #mz-ui.dev .mz-hud .mz-chip, #mz-ui.dev .mz-hud .mz-right { display: none !important; }
  .mz-dev { left: auto; top: 0; width: min(300px, 38vw); overflow-y: auto; border-top: 0; border-left: 1px solid var(--mz-line); background: rgba(6, 7, 12, .95); padding: calc(10px + env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom)); }
  .mz-dev-row .mz-btn { min-height: 36px; }
  #mz-ui.dev > .mz-chat { bottom: calc(10px + env(safe-area-inset-bottom)); }      /* chat, talk and captions sit at the foot of the column */
  #mz-ui.dev > .mz-ptt { bottom: calc(60px + env(safe-area-inset-bottom)); }
  #mz-ui.dev > .mz-say { bottom: calc(110px + env(safe-area-inset-bottom)); }
  .mz-devnotes { top: 0; bottom: 0; right: var(--mz-devw, 300px); left: auto; width: min(320px, 40vw); height: auto; border-top: 0; border-left: 1px solid var(--mz-line); }
}
/* the app with its bars hidden draws under the phone's camera hole (top when upright, a side when turned): a guess, to be
   checked on the owner's phone */
@media (orientation: portrait) { html.mz-imm .mz-hud { padding-top: calc(30px + env(safe-area-inset-top)); } html.mz-imm .mz-next { top: calc(72px + env(safe-area-inset-top)); } html.mz-imm #mz-ui.dev .mz-hud { padding-top: 30px; } }
@media (orientation: landscape) { html.mz-imm .mz-hud { padding-left: 40px; padding-right: 40px; } html.mz-imm .mz-stick { left: 44px; } html.mz-imm #mz-ui > .mz-chat { right: 40px; } html.mz-imm .mz-dev { padding-right: 40px; } }

/* 11/22 owner: "the directional pad is on the wrong side of the screen its on the bottom left needs to be on the bottom right
   switch that with chat" - pad on the right, chat (with talk and captions) on the left; touch screens only */
.mz-stick { left: auto; right: 18px; }
@media (pointer: coarse) {
  #mz-ui > .mz-chat { right: auto; left: 12px; align-items: flex-start; }
  #mz-ui > .mz-ptt { right: auto; left: 12px; }
  #mz-ui > .mz-say { right: auto; left: 12px; text-align: left; }
  #mz-ui > .mz-turn { bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (orientation: landscape) { html.mz-imm .mz-stick { left: auto; right: 44px; } html.mz-imm #mz-ui > .mz-chat { right: auto; left: 40px; } }
