:root{--bg:#08090a;--card-bg:#101214;--border:#303338;--text-muted:#96999d;--primary:#982b34;--success:#83bb90}
body{padding:0 16px 102px;background:radial-gradient(ellipse at top,#191d21,#08090a 65%);min-height:100dvh}body>*{width:100%;max-width:440px}.container{gap:0;max-width:440px}.app-header{display:flex;align-items:center;justify-content:space-between;border:0;padding:22px 0 12px}.brand{display:flex;flex-direction:column;text-align:center}.brand b{font-size:19px;letter-spacing:1.1px}.brand small{font-size:8px;color:#787d84;letter-spacing:1px;margin-top:5px}.icon-button{border:0;background:transparent;color:#ccd0d5;font-size:25px;min-width:44px;min-height:44px;cursor:pointer}.accent{color:#e14953}.connection-strip{display:flex;justify-content:space-between;font-size:10px;color:#939ba3;gap:8px;padding:8px 3px 13px;border-bottom:1px solid #24282e;margin-bottom:16px}.connection-strip #wsStatus{color:#89bd94}.card{background:linear-gradient(120deg,#121619,#090b0d);border-radius:14px;padding:20px;box-shadow:0 12px 30px #0005}.card h2{margin:0 0 8px}.muted{color:var(--text-muted);font-size:11px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.room-header{padding:0 0 16px;margin:0 0 12px;gap:8px}.room-title{font-size:17px;letter-spacing:.4px}.room-header>div{min-width:0;overflow-wrap:anywhere}.room-header .btn{font-size:10px!important;padding:6px 9px!important;min-height:34px;flex-shrink:0}.room-header .badge{margin:6px 0 0!important}.ptt-container{padding:22px 0 12px}.ptt-container>p{font-size:10px!important;text-align:center}.ptt-btn{width:226px;height:226px;gap:8px;border:2px solid #737980;background:radial-gradient(ellipse at 45% 18%,#3b4045,#15181b 58%,#07090b);box-shadow:0 0 0 8px #07090b,0 0 0 9px #393e43,0 0 0 16px #15191c,0 0 0 17px #252a2d,0 20px 35px #0008;position:relative}.ptt-btn::before{position:absolute;top:28px;font-size:8px;letter-spacing:2px}.ptt-btn b{font-size:25px;letter-spacing:1px;margin-top:8px}.ptt-btn small{font-size:10px;color:#b0b1b5;font-weight:400}.ptt-btn.talking{background:radial-gradient(ellipse at 45% 18%,#af2934,#510e17 55%,#18080c);border-color:#ff7b81;box-shadow:0 0 0 8px #28080d,0 0 0 9px #cf293b,0 0 0 16px #210b11,0 0 0 17px #671a27,0 0 40px #cf1f4455;color:#ff727a}.ptt-btn.locked{border-color:#6798b8;background:radial-gradient(ellipse at 45% 18%,#354049,#151b20 58%,#07090b);box-shadow:0 0 0 8px #071017,0 0 0 9px #38576b,0 0 0 16px #121b22,0 0 0 17px #253746;color:#c6e8ff}.ptt-btn.preparing{border-color:#b3a075}.mic-symbol{display:block;height:40px;width:20px;border-radius:15px;background:currentColor;position:relative;margin-top:22px}.mic-symbol:before{content:'';position:absolute;left:-7px;top:16px;width:30px;height:28px;border:3px solid currentColor;border-top:0;border-radius:0 0 20px 20px}.mic-symbol:after{content:'';position:absolute;left:9px;top:44px;width:3px;height:10px;background:currentColor}.speaker-symbol{font-size:40px;font-weight:400}.status-banner{background:transparent;border:0;padding:5px;color:#b0b4ba;font-size:12px;min-height:27px}#waveform{width:100%;height:62px;display:block}.subpage{max-width:440px;margin-top:10px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0}.page-title h2{margin:0;font-size:19px}.page-title>span{font-size:10px;color:#8e949c}.panel{background:linear-gradient(135deg,#13171a,#0a0d0f);border:1px solid #33383e;border-radius:14px;padding:16px;margin-bottom:14px}.panel-label{font-size:10px;letter-spacing:1.2px;color:#9ba2ab;padding-bottom:12px;border-bottom:1px solid #262c31}.team-row,.channel-card,.gps-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #262b31}.team-row:last-child,.gps-row:last-child{border:0}.unit-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:1px solid #4b535c;color:#bac3cc;flex-shrink:0}.team-row>div,.gps-row>div{min-width:0;flex:1}.team-row b,.gps-row b{font-size:13px;overflow-wrap:anywhere}.team-row small,.gps-row small{display:block;color:#8e969f;font-size:10px;margin-top:5px}.state-text{font-size:11px;color:#929aa5;flex-shrink:0}.state-text.tx{color:#ec5660}.state-text.rx{color:#86bfdf}.row-button{border:0;background:transparent;color:#c0c6cd;padding:16px 0 4px;width:100%;text-align:left;font-size:12px;cursor:pointer}.channel-card{width:100%;color:#e4e8ed;background:transparent;border-left:0;border-right:0;border-top:0;text-align:left;cursor:pointer}.channel-card.active{color:#ed6d76}.channel-card>div{min-width:0;overflow-wrap:anywhere}.channel-card small{display:block;font-size:10px;color:#8e969f;margin-top:6px}.channel-card span{font-size:10px}.quiet{border:1px solid #373e46;background:#181e23;color:#c6cbd2;border-radius:8px;padding:8px;cursor:pointer}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:460px;background:#080a0df5;display:flex;padding:10px 12px max(12px,env(safe-area-inset-bottom));gap:5px;border-top:1px solid #282e34;z-index:800}.bottom-nav button{flex:1;border:1px solid #41474e;border-radius:8px;background:linear-gradient(#1c2125,#0c0f12);color:#b9c1c9;min-height:54px;cursor:pointer;font-size:20px}.bottom-nav small{display:block;font-size:9px;margin-top:4px}.bottom-nav button.active{border-color:#a33c46;color:#ea7881}.setting-label{display:flex;justify-content:space-between;align-items:center;margin:18px 0 4px;font-size:12px;color:#c7ced6}.setting-label output{font-size:10px;color:#9ba3ad}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #272e34;font-size:12px;color:#c7ced6}.switch-row input{appearance:none;width:36px!important;height:21px!important;min-height:0;border-radius:20px;background:#424951;border:0;padding:0;position:relative;cursor:pointer}.switch-row input:before{content:'';width:17px;height:17px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;transition:transform .15s}.switch-row input:checked{background:#d53543}.switch-row input:checked:before{transform:translateX(15px)}input[type=range]{padding:0;min-height:30px;accent-color:#d64752;border:0;background:transparent}.menu-overlay{position:fixed;inset:0;max-width:none;background:#0009;z-index:1500;display:flex;justify-content:center}.drawer{width:min(86vw,365px);margin-right:auto;height:100%;background:#0d1115;border-right:1px solid #39414a;padding:20px;overflow-y:auto;box-shadow:20px 0 80px #0009}.drawer #menuClose{float:right}.drawer-brand{clear:both;font-size:22px;letter-spacing:1px;padding:30px 0 28px;border-bottom:1px solid #343c43;margin-bottom:15px}.drawer-brand small{display:block;font-size:8px;color:#8c969f;margin-top:6px}.drawer button[data-page]{display:block;width:100%;text-align:left;background:transparent;color:#d0d6dd;border:0;border-radius:8px;padding:17px 12px;cursor:pointer;font-size:13px}.drawer button[data-page].active{background:#49151d;color:#ed6d78}.drawer #drawerProfile{padding:25px 12px;border-top:1px solid #343b44;margin-top:25px}#teamMap{height:360px;max-height:50dvh;background:#161c21;border:1px solid #37404a;border-radius:12px;z-index:1}.leaflet-tile-pane{filter:grayscale(.8) brightness(.55) contrast(1.1)}.leaflet-control-attribution{font-size:8px!important}.map-marker{background:#16212bee;color:#edf5ff;border:1px solid #6ba9d1;border-radius:8px;padding:5px 8px;width:max-content!important;max-width:170px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.map-marker.tx{background:#55131dcc;border-color:#e85b6a}.gps-row{cursor:pointer}.empty-note{padding:22px 4px;font-size:12px;color:#969ea9}.panel p{font-size:12px;line-height:1.8;color:#aab3be;margin:12px 0}.hidden{display:none!important}@media(min-width:600px){.drawer{margin-right:0}.menu-overlay{justify-content:flex-start}}@media(max-width:350px){.ptt-btn{width:195px;height:195px}.brand b{font-size:16px}.connection-strip{font-size:9px}.card{padding:16px}.ptt-container{padding:20px 0 10px}}

body,button,input,select{font-family:'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}

.map-tools{display:flex;gap:8px;margin:8px 0 12px}.light-map .leaflet-tile-pane{filter:none}
