:root {
  --bg: #0b1220; --pnl: #131c2e; --pnl2: #1b2740; --ln: #26324d;
  --tx: #e7edf7; --mu: #93a1bd;
  --red: #ef4444; --amb: #f59e0b; --grn: #22c55e; --blu: #3b82f6;
  --mst: #2563eb; /* couleur maître : dérivée du corps de l'agence au boot */
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--tx); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; color: inherit; }
.hidden { display: none !important; }
.ti { line-height: 1; }

/* ---- Login ---- */
#login { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.login-card { width: 100%; max-width: 380px; background: var(--pnl); border: 1px solid var(--ln); border-radius: 16px; padding: 28px; }
.login-card .logo { font-size: 34px; color: var(--mst); text-align: center; }
.login-card h1 { font-size: 20px; margin: 6px 0 2px; text-align: center; }
.login-card .sub { color: var(--mu); font-size: 13px; margin-bottom: 20px; text-align: center; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--mu); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; color: var(--tx); font-size: 16px; }
.field input:focus { outline: none; border-color: var(--mst); }
.btn-primary { width: 100%; padding: 13px; background: var(--mst); color: #fff; border: 0; border-radius: 10px; font-weight: 600; font-size: 16px; }
.err { color: #fca5a5; font-size: 13px; margin-top: 10px; min-height: 18px; text-align: center; }

/* ---- App shell ---- */
#app { display: grid; grid-template-rows: auto 1fr auto; height: 100vh; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--pnl); border-bottom: 1px solid var(--ln); box-shadow: inset 4px 0 0 var(--mst); }
.topbar .logo { font-size: 24px; color: var(--mst); }
.corps-mark { display: inline-flex; align-items: center; }
.corps-logo { width: 32px; height: 32px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; display: block; }
.topbar .brand { font-weight: 700; }
.topbar .agency { color: var(--mu); font-size: 13px; }
.topbar .spacer { flex: 1; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mu); display: inline-block; }
.dot.live { background: var(--grn); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; font-size: 20px; color: var(--tx); }
.icon-btn:hover { background: var(--ln); }

/* ---- Main : rail | map | detail ---- */
.main { display: grid; grid-template-columns: 108px 1fr 340px; min-height: 0; position: relative; }
.rail { overflow-y: auto; border-right: 1px solid var(--ln); padding: 10px 8px; display: flex; flex-direction: column; gap: 10px; }
.rail .empty { color: var(--mu); font-size: 12px; text-align: center; margin-top: 20px; }
.map-wrap { position: relative; min-width: 0; }
#map { position: absolute; inset: 0; background: #0f1626; }

/* Chips d'alerte (icône + couleur, texte minimal) */
.chip { border-radius: 12px; padding: 10px 4px; text-align: center; position: relative; border: 2px solid transparent; }
.chip:hover { filter: brightness(1.12); }
.chip.sel { border-color: #fff; }
.chip i { font-size: 27px; display: block; }
.chip .lb { font-size: 12px; font-weight: 600; margin-top: 3px; }
.chip .tm { font-size: 11px; opacity: .85; }
.chip .newdot { position: absolute; top: 6px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.1s infinite; }
.chip.sos { background: rgba(239,68,68,.17); color: #fca5a5; }
.chip.track_sos { background: rgba(245,158,11,.17); color: #fcd34d; }
.chip.civic { background: rgba(139,92,246,.17); color: #c4b5fd; }
.chip.manual { background: rgba(59,130,246,.17); color: #93c5fd; }

/* ---- Detail panel (actions en gros boutons icônes) ---- */
.detail { border-left: 1px solid var(--ln); overflow-y: auto; }
.detail .empty { display: grid; place-items: center; height: 100%; color: var(--mu); font-size: 14px; padding: 30px; text-align: center; }
.dbody { padding: 16px; }
.dhead { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dhead .di { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; }
.dhead .dt { font-size: 17px; font-weight: 700; }
.dhead .dsub { font-size: 12px; color: var(--mu); }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ln); font-size: 13px; }
.kv .k { color: var(--mu); display: flex; align-items: center; gap: 7px; }
audio { width: 100%; margin: 10px 0; }
.big-dispatch { width: 100%; padding: 14px; background: var(--mst); color: #fff; border: 0; border-radius: 12px; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 6px; }
.big-dispatch i { font-size: 20px; }
select { width: 100%; padding: 11px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; color: var(--tx); font-size: 15px; margin-bottom: 8px; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 12px; font-size: 12px; }
.st-btn i { font-size: 24px; }
.st-btn.on { border-color: var(--mst); color: #fff; }
.section { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mu); margin: 16px 0 8px; }

/* ---- Bottom nav (icônes) ---- */
.nav { display: flex; justify-content: space-around; align-items: center; padding: 8px 4px; background: var(--pnl); border-top: 1px solid var(--ln); }
.nb { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--mu); background: none; border: 0; position: relative; }
.nb i { font-size: 24px; }
.nb .lb { font-size: 11px; }
.nb.on { color: var(--mst); }
.nb .bd { position: absolute; top: -4px; right: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* ---- Responsive : mobile terrain ---- */
@media (max-width: 860px) {
  .main { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .rail { flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--ln); }
  .rail .chip { min-width: 84px; flex-shrink: 0; }
  .detail { position: fixed; inset: 0; z-index: 1000; background: var(--bg); }
  .detail.closed { display: none; }
  .detail .empty { display: none; }
}
.detail-close { display: none; }
@media (max-width: 860px) { .detail-close { display: grid; } }

/* ---- Vue agent de terrain ---- */
#field { display: flex; flex-direction: column; height: 100vh; max-width: 480px; margin: 0 auto; }
.fheader { display: flex; align-items: center; gap: 8px; padding: 12px 14px; box-shadow: inset 4px 0 0 var(--mst); border-bottom: 1px solid var(--ln); }
.fheader .logo { font-size: 22px; color: var(--mst); }
.fid { flex: 1; }
.fname { font-weight: 700; font-size: 15px; }
.fsub { color: var(--mu); font-size: 11px; }
.svc-toggle { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--ln); background: rgba(34,197,94,.18); color: #86efac; }
.svc-toggle.off { background: var(--pnl2); color: var(--mu); }
.fbody { flex: 1; overflow-y: auto; padding: 14px; }
.lab { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mu); margin: 2px 0 8px; }
.fstatus { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.fstatus .stile { background: var(--pnl2); border: 2px solid transparent; border-radius: 12px; padding: 16px 4px; text-align: center; color: var(--mu); }
.fstatus .stile i { font-size: 26px; display: block; }
.fstatus .stile .t { font-size: 13px; font-weight: 600; margin-top: 5px; }
.stile.dispo.on { background: rgba(34,197,94,.2); border-color: var(--grn); color: #86efac; }
.stile.route.on { background: rgba(245,158,11,.2); border-color: var(--amb); color: #fcd34d; }
.stile.scene.on { background: rgba(59,130,246,.2); border-color: var(--blu); color: #93c5fd; }
.fmission { background: var(--pnl); border: 1px solid var(--ln); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 14px; }
.fmission.none { border-left-color: var(--ln); text-align: center; color: var(--mu); padding: 24px; }
.fmission .mrow { display: flex; align-items: center; gap: 10px; }
.fmission .mic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 25px; }
.fmission .mt { font-weight: 600; font-size: 15px; }
.fmission .md { font-size: 12px; color: var(--mu); margin-top: 2px; }
.mbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mbtn { padding: 13px; border-radius: 12px; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; color: #fff; }
.mbtn i { font-size: 19px; }
.mbtn.nav { background: var(--mst); }
.mbtn.talk { background: var(--pnl2); border: 1px solid var(--ln); color: var(--tx); }
.danger { margin: 14px; width: calc(100% - 28px); background: var(--red); color: #fff; border: 0; border-radius: 14px; padding: 17px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.danger:active { transform: scale(.98); }
.danger i { font-size: 24px; }
.danger.armed { animation: pulse .8s infinite; }
.foot { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; color: var(--mu); font-size: 12px; border-top: 1px solid var(--ln); }
.foot .dot.live { background: var(--grn); }

/* ---- Opérations chiffrées (overlay) ---- */
.ops-ov { position: fixed; inset: 0; z-index: 1100; background: var(--bg); display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.ops-ov.closed { display: none; }
.ops-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ln); box-shadow: inset 4px 0 0 var(--mst); }
.ops-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ops-title .ti-lock { color: var(--mst); }
#ops-body { flex: 1; overflow-y: auto; padding: 12px; }
.ops-new { margin: 12px; width: calc(100% - 24px); padding: 13px; background: var(--mst); color: #fff; border: 0; border-radius: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.op-card { padding: 14px; background: var(--pnl); border: 1px solid var(--ln); border-radius: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.op-card .oi { width: 42px; height: 42px; border-radius: 12px; background: rgba(37,99,235,.16); color: var(--mst); display: grid; place-items: center; font-size: 22px; }
.op-card .on { font-weight: 600; font-size: 15px; }
.op-card .osub { font-size: 12px; color: var(--mu); margin-top: 2px; }
.enc-note { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #86efac; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.op-obj { font-size: 13px; color: var(--mu); margin: 4px 0 14px; }
.op-msgs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.op-msg { padding: 10px 12px; background: var(--pnl); border: 1px solid var(--ln); border-radius: 12px; }
.op-msg.me { border-color: var(--mst); }
.op-msg .mh { font-size: 12px; color: var(--mu); margin-bottom: 3px; display: flex; justify-content: space-between; }
.op-msg .mb { font-size: 14px; }
.op-compose { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.op-compose input { flex: 1; padding: 11px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; color: var(--tx); }
.op-compose #op-send { padding: 0 16px; height: 44px; background: var(--pnl2); border: 1px solid var(--ln); color: var(--tx); border-radius: 10px; font-size: 18px; }
/* Voix-first : le micro est le bouton principal (les forces de l'ordre parlent). */
.op-mic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--mst); color: #fff; border: 3px solid rgba(255,255,255,.14); font-size: 24px; touch-action: none; user-select: none; -webkit-user-select: none; display: grid; place-items: center; }
.op-mic.rec { background: var(--red); border-color: rgba(239,68,68,.3); transform: scale(1.08); animation: pulse .9s infinite; }
.op-mic-hint { font-size: 11px; color: var(--mu); text-align: center; margin-top: 6px; }
.op-compose input::placeholder { color: var(--mu); }
.mb.voice { display: flex; align-items: center; gap: 10px; }
.vplay { width: 38px; height: 38px; border-radius: 50%; background: var(--mst); color: #fff; border: 0; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.vplay.playing { animation: pulse 1s infinite; }
.vwave { color: var(--mu); font-size: 20px; flex: 1; }
.vdur { font-size: 12px; color: var(--mu); }
.op-members { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.op-mem { font-size: 12px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 999px; padding: 5px 10px; color: var(--mu); }
.op-add { display: flex; gap: 8px; margin-bottom: 8px; }
.op-add select { flex: 1; margin: 0; }
.op-add button { padding: 0 14px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; color: var(--tx); }
.ops-lock { text-align: center; color: var(--mu); padding: 30px 20px; }
.ops-lock input { width: 100%; max-width: 260px; padding: 11px; margin: 12px auto; display: block; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 10px; color: var(--tx); text-align: center; }

/* ---- FAB nouvel incident ---- */
.fab { position: absolute; right: 16px; bottom: 16px; z-index: 500; width: 58px; height: 58px; border-radius: 50%; background: var(--mst); color: #fff; border: 0; font-size: 28px; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); }

/* ---- Feuille "nouvel incident" (voix-first) ---- */
.sheet { position: fixed; inset: 0; z-index: 1150; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; }
.sheet.closed { display: none; }
.sheet-card { width: 100%; max-width: 480px; background: var(--bg); border: 1px solid var(--ln); border-radius: 18px 18px 0 0; padding: 16px; max-height: 92vh; overflow-y: auto; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 12px; }
.sheet-head span { display: flex; align-items: center; gap: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cat-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; background: var(--pnl2); border: 2px solid transparent; border-radius: 12px; color: var(--mu); font-size: 12px; }
.cat-btn i { font-size: 24px; }
.cat-btn.on { border-color: var(--mst); color: #fff; }
.prio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prio-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; background: var(--pnl2); border: 2px solid transparent; border-radius: 12px; color: var(--mu); }
.prio-btn b { font-size: 16px; color: var(--pc); }
.prio-btn span { font-size: 12px; }
.prio-btn.on { border-color: var(--pc); color: var(--tx); }
.rec-big { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--mst); color: #fff; border: 0; border-radius: 14px; font-weight: 600; font-size: 15px; touch-action: none; user-select: none; -webkit-user-select: none; }
.rec-big i { font-size: 26px; }
.rec-big.rec { background: var(--red); animation: pulse .9s infinite; }

/* ---- Carte tactique ---- */
.tacmap { position: fixed; inset: 0; z-index: 1300; background: var(--bg); display: flex; flex-direction: column; }
.tacmap.closed { display: none; }
.tac-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ln); box-shadow: inset 4px 0 0 var(--mst); }
.tac-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tac-title .ti-lock { color: var(--mst); }
#tac-map { flex: 1; min-height: 0; background: #0f1626; }
.tac-tools { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--ln); flex-wrap: wrap; }
.tac-tool { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--pnl2); border: 2px solid transparent; border-radius: 12px; color: var(--tx); font-weight: 600; font-size: 14px; }
.tac-tool i { font-size: 20px; }
.tac-tool[data-tool="danger"] i { color: var(--red); }
.tac-tool[data-tool="objective"] i { color: var(--mst); }
.tac-tool.on { border-color: var(--mst); }
.tac-hint { font-size: 12px; color: var(--mu); flex: 1; min-width: 140px; }

/* ---- Pointage (field) ---- */
.shift-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 14px; margin-bottom: 14px; }
.shift-card.on { border-color: var(--grn); background: rgba(34,197,94,.12); }
.shift-t { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.shift-sub { font-size: 12px; color: var(--mu); }
.shift-btn { padding: 10px 14px; border-radius: 10px; border: 0; background: var(--mst); color: #fff; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.shift-btn.out { background: var(--pnl); border: 1px solid var(--ln); color: var(--tx); }
.field-traffic { width: 100%; margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--ln); background: var(--pnl2); color: var(--tx); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.field-traffic i { font-size: 22px; color: var(--amb); }

/* ---- Circulation overlay ---- */
.traffic-ov { position: fixed; inset: 0; z-index: 1100; background: var(--bg); display: flex; flex-direction: column; }
.traffic-ov.closed { display: none; }
.trf-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--ln); box-shadow: inset 4px 0 0 var(--amb); }
.trf-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.trf-title i { color: var(--amb); }
#trf-map { flex: 1; min-height: 0; background: #0f1626; }
.trf-panel { max-height: 42vh; overflow-y: auto; border-top: 1px solid var(--ln); padding: 12px; }
.trf-report { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.trf-lab { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mu); }
.trf-rep { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--pnl2); border: 1px solid var(--ln); border-radius: 999px; color: var(--tx); font-size: 13px; font-weight: 500; }
.trf-rep i { font-size: 17px; }
.trf-rep[data-l="dense"] i { color: var(--amb); }
.trf-rep[data-l="bloque"] i, .trf-rep[data-l="accident"] i { color: var(--red); }
.trf-plan-box { background: var(--pnl); border: 1px solid var(--ln); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.trf-plan-box .trf-lab { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--tx); }
.trf-step { font-size: 13px; padding: 5px 0; display: flex; align-items: flex-start; gap: 7px; }
.trf-step i { color: var(--mst); margin-top: 2px; flex-shrink: 0; }
.trf-hot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--pnl); border: 1px solid var(--ln); border-left: 4px solid var(--amb); border-radius: 0 10px 10px 0; margin-bottom: 8px; }
.trf-hot.bloque { border-left-color: var(--red); }
.trf-hn { width: 26px; height: 26px; border-radius: 50%; background: var(--pnl2); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.trf-hot.bloque .trf-hn { background: rgba(239,68,68,.2); color: #fca5a5; }
.trf-hsub { font-size: 12px; color: var(--mu); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.trf-empty { text-align: center; color: #86efac; padding: 20px; font-size: 14px; }
.trf-empty i { font-size: 24px; display: block; margin-bottom: 6px; }

/* ---- Talkie (overlay plein écran, partagé console + agent) ---- */
.talkie { position: fixed; inset: 0; z-index: 1200; background: var(--bg); display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
.talkie.closed { display: none; }
.talkie-head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--ln); }
.chan-pills { display: flex; gap: 8px; overflow-x: auto; flex: 1; }
.chan-pill { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--pnl2); border: 1px solid var(--ln); color: var(--mu); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.chan-pill.on { background: var(--mst); border-color: var(--mst); color: #fff; }
.talkie-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.talkie-log .empty { color: var(--mu); text-align: center; margin-top: 30px; font-size: 13px; }
.tx { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--pnl); border: 1px solid var(--ln); border-radius: 12px; }
.tx.me { border-color: var(--mst); }
.tx .av { width: 36px; height: 36px; border-radius: 50%; background: var(--pnl2); display: grid; place-items: center; font-size: 18px; color: var(--mst); flex-shrink: 0; }
.tx .who { font-weight: 500; font-size: 14px; }
.tx .sub { font-size: 12px; color: var(--mu); }
.tx .play { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--mst); color: #fff; border: 0; display: grid; place-items: center; font-size: 20px; }
.tx.playing .play { animation: pulse 1s infinite; }
.talkie-ptt { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-top: 1px solid var(--ln); }
.ptt-btn { width: 120px; height: 120px; border-radius: 50%; background: var(--mst); border: 6px solid rgba(255,255,255,.12); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.ptt-btn i { font-size: 42px; }
.ptt-btn .ptt-t { font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-top: 2px; }
.ptt-btn.rec { background: var(--red); border-color: rgba(239,68,68,.3); transform: scale(1.06); animation: pulse 1s infinite; }
.ptt-hint { font-size: 12px; color: var(--mu); }
