:root{color-scheme:dark;font-family:Pretendard,Inter,Noto Sans KR,Apple SD Gothic Neo,system-ui,sans-serif;font-synthesis:none;background:#0a1014;color:#e9efed;--surface: #101a20;--line: #29383e;--muted: #9cabb0;--green: #d2f884}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.53}:focus-visible{outline:2px solid var(--green);outline-offset:4px}.app{min-height:100dvh;display:flex;flex-direction:column}.header{display:flex;justify-content:space-between;align-items:center;min-height:72px;padding:0 clamp(18px,4vw,52px);border-bottom:1px solid #26383d;background:#0d1519}.brand,.header-right{display:flex;align-items:center;gap:13px}.brand strong{font-size:1.45rem;font-weight:760;letter-spacing:-.07em}.brand-mark{display:flex;align-items:end;gap:3px;width:32px;height:30px;padding:6px;border:1px solid #56704d;border-radius:8px;background:#172420}.brand-mark i{width:5px;background:var(--green);height:8px}.brand-mark i:nth-child(2){height:12px}.brand-mark i:nth-child(3){height:16px}.status{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;color:#b2c3c3;max-width:190px;line-height:1.3}.status:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#b89b67}.status.is-ready:before{background:#9fdb9b;box-shadow:0 0 9px #9edb9760}.layout{flex:1;display:grid;min-height:0;max-width:1880px;width:100%;margin:0 auto;padding:clamp(12px,2.8vw,38px);gap:18px}.layout.joined{grid-template-columns:minmax(0,1fr) minmax(288px,340px)}.viewport{min-height:min(76vh,780px);position:relative;overflow:hidden;isolation:isolate;border:1px solid #2d454a;border-radius:21px;background:#081015}.render{position:absolute;inset:0;z-index:-1}.render canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none}.render canvas:active{cursor:grabbing}.viewport:before{content:"";position:absolute;pointer-events:none;z-index:0;inset:0;background:linear-gradient(145deg,#080e13c4 0%,transparent 32%),linear-gradient(0deg,#080f14c9,transparent 29%)}.view-header{position:absolute;left:clamp(19px,3.3vw,44px);top:clamp(21px,3.5vw,43px);pointer-events:none}.eyebrow{color:#b8d2cb;font-size:.86rem;letter-spacing:.14em}.view-header h2{font-size:clamp(1.55rem,2.65vw,2.45rem);margin:7px 0 0;letter-spacing:-.075em;line-height:1.1}.camera-controls{position:absolute;top:clamp(21px,3.5vw,43px);right:clamp(14px,3.3vw,44px);display:grid;justify-items:end;gap:5px;pointer-events:none}.camera-controls span{color:#bdcccc;font-size:.8rem}.camera-controls .button{padding:8px 11px;font-size:.8rem;pointer-events:auto}.entry{position:absolute;bottom:clamp(23px,5vw,67px);left:clamp(16px,4.5vw,63px);width:min(450px,calc(100% - 32px));padding:clamp(20px,3.3vw,34px);border-radius:19px;border:1px solid #395252;background:#101b22f2;box-shadow:0 25px 68px #02060891}.entry h1{margin:0;font-weight:740;font-size:clamp(1.75rem,3.3vw,2.78rem);letter-spacing:-.09em;line-height:1.17}.entry>p{margin:13px 0 25px;color:#b7c5c5;line-height:1.55}.entry label{display:block;color:#dce6df;font-size:.92rem;margin-bottom:8px}.invite-field{margin-bottom:12px}.entry-fields{display:flex;align-items:stretch;gap:8px}input{color:inherit;min-width:0;width:100%;padding:12px 13px;background:#0b1318;border:1px solid #35474c;border-radius:10px;outline:none}input::placeholder{color:#82949b}input:focus{border-color:#a4bf6f}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;min-height:42px;border-radius:10px;border:1px solid transparent;font-size:.92rem;font-weight:650;white-space:nowrap}.button.primary{background:var(--green);color:#182018;border-color:#d2f884}.button.primary:hover:not(:disabled){background:#e1ffa4}.button.quiet{background:#111b22e6;color:#ccdadd;border-color:#35474d}.button.quiet:hover{background:#233338}.form-error{color:#ffae9c;margin:12px 0 0;line-height:1.42}.view-controls{display:flex;flex-wrap:wrap;gap:11px;align-items:center;position:absolute;bottom:20px;right:20px}.keyboard-hint{display:flex;align-items:center;gap:5px;color:#bdcccc;font-size:.92rem}kbd{font:600 .81rem system-ui,sans-serif;min-width:22px;height:22px;padding:1px 4px;text-align:center;background:#243238;border:1px solid #546565;border-radius:4px;color:#e0e8e3}.keyboard-hint kbd:last-of-type{margin-right:5px}.touch-controls{display:none}.connection,.canvas-error,.toast{position:absolute;left:50%;transform:translate(-50%);z-index:2;width:max-content;max-width:calc(100% - 34px);border-radius:12px;padding:12px 15px;background:#0c191eed;border:1px solid #43585a;color:#ecf1eb;line-height:1.4}.connection{top:47%;display:grid;gap:10px;text-align:center}.canvas-error{top:20%;text-align:center}.toast{bottom:70px;margin:0}.side{display:flex;flex-direction:column;gap:15px;min-width:0;min-height:0}.presence,.chat{background:#111b22;border:1px solid #293c43;border-radius:16px;min-width:0}.rail-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px}.rail-heading h2{font-size:1.035rem;font-weight:700;letter-spacing:-.035em;margin:0}.rail-heading>span{color:#bbd397;font-size:.88rem;font-variant-numeric:tabular-nums}.people{list-style:none;padding:0 18px 15px;margin:0;display:grid;gap:9px;max-height:149px;overflow:auto}.people li{display:flex;align-items:center;gap:9px;min-width:0;font-size:.94rem}.people li>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-mark{width:9px;height:9px;border-radius:3px;background:#70a9ab;flex:0 0 9px}.person-mark.is-self{background:var(--green)}.people small{color:#b9ce9d;font-size:.79rem}.chat{display:flex;flex-direction:column;flex:1;min-height:315px}.chat .rail-heading{border-bottom:1px solid #26373e}.messages{overflow:auto;min-height:135px;max-height:min(45vh,510px);flex:1;padding:8px 18px 14px}.empty{margin:10px 0;color:var(--muted);font-size:.93rem}.message{padding:11px 0 0;overflow-wrap:anywhere}.message b{color:#a6d5d0;font-size:.85rem}.message.is-self b{color:#c7e691}.message p{line-height:1.45;margin:4px 0 0}.composer{display:flex;gap:7px;padding:11px;border-top:1px solid #26373e}.composer input{padding:10px}@media(max-width:820px){.layout.joined{grid-template-columns:minmax(0,1fr)}.layout.joined .viewport{min-height:min(62dvh,680px)}.side{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,2fr);align-items:start}.messages{max-height:230px}}@media(pointer:coarse),(max-width:620px){.keyboard-hint,.seat-button kbd{display:none}.view-controls{right:11px;bottom:12px}.touch-controls{display:grid;grid-template-columns:repeat(3,39px);grid-template-rows:repeat(2,39px);gap:3px;position:absolute;left:10px;bottom:11px;touch-action:none}.touch-controls button{border:1px solid #5e7472;border-radius:8px;background:#14272ae8;color:#e7f0e9}.touch-controls button:active{background:#586b43}.touch-controls button:first-child{grid-column:2}.touch-controls button:nth-child(2){grid-column:1}.toast{bottom:105px}}@media(max-width:520px){.header{min-height:59px;padding:0 13px}.header-right{gap:10px}.layout{padding:9px;gap:10px}.viewport{border-radius:14px;min-height:calc(100dvh - 78px)}.layout.joined .viewport{min-height:max(320px,57dvh)}.side{display:flex;gap:10px}.rail-heading{padding:13px 14px}.presence .people{display:flex;gap:15px;overflow-x:auto;padding:0 14px 13px}.presence .people li{flex:0 0 auto}.chat{min-height:255px}.messages{max-height:190px}.entry{bottom:18px}.entry-fields{flex-direction:column}.entry-fields .button{min-height:46px}}
