:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #eff7f5; background: #101b20; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #101b20; }
.app-shell { min-height: 100vh; max-width: 1440px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 276px; grid-template-rows: auto minmax(0, 1fr); gap: 18px; padding: 22px; }
header { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid #385057; padding-bottom: 16px; }
h1 { margin: 2px 0 0; font-size: 26px; font-weight: 750; letter-spacing: 0; }
.eyebrow { color: #93b8b4; font-size: 11px; font-weight: 700; letter-spacing: 0; margin: 0 0 6px; text-transform: uppercase; }
.connection { color: #99b0b5; font-size: 13px; }
.connection.live { color: #6ee0bb; }
.world-wrap { min-height: 580px; position: relative; border: 1px solid #385057; border-radius: 6px; overflow: hidden; background: #16242b; }
canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.world-hint { position: absolute; bottom: 12px; left: 12px; color: #a7bcbd; background: rgba(12, 25, 29, .78); padding: 7px 9px; border-radius: 4px; font-size: 12px; pointer-events: none; }
.control-panel { border-left: 1px solid #385057; padding-left: 18px; display: flex; flex-direction: column; gap: 24px; }
.control-panel section { padding-bottom: 18px; border-bottom: 1px solid #2b4248; }
.control-panel strong { display: block; font-size: 16px; }
.control-panel p:not(.eyebrow) { margin: 7px 0 0; color: #b5c9c8; font-size: 13px; }
.palette { display: flex; gap: 8px; }
.swatch { width: 27px; height: 27px; border: 2px solid transparent; border-radius: 50%; padding: 0; cursor: pointer; }
.swatch.selected { border-color: #fff; outline: 1px solid #617d7d; }
.people { display: grid; gap: 8px; }
.person { display: grid; grid-template-columns: 10px minmax(0, 1fr) 31px; gap: 8px; align-items: center; font-size: 13px; }
.person-dot { width: 10px; height: 10px; border-radius: 50%; }
.person-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teleport { border: 0; background: transparent; color: #76d6c6; padding: 3px; cursor: pointer; font-size: 18px; line-height: 1; }
.teleport:hover { color: #fff; }
.empty { color: #8fa7a8; }
@media (max-width: 760px) { .app-shell { display: block; padding: 14px; } header { align-items: start; margin-bottom: 14px; } .world-wrap { height: 60vh; min-height: 420px; } .control-panel { border-left: 0; padding: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .control-panel section:last-child { grid-column: 1 / -1; } }
