/* [h2] Speaking (hold to speak), private face-to-face talk, and friend phone calls: the looks that are not inside their own scripts.
   Loaded after mob-d.css. Phone rules sit under the touch media queries at the bottom. */

/* ---- private talk: "talking…" over two people talking privately (no words), and the conversation bar ---- */
.tag .bub.hx-hush{font-style:italic;opacity:.78;letter-spacing:.02em}
.hx-cbar{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 150px);transform:translateX(-50%);z-index:69;display:flex;align-items:center;gap:8px;max-width:min(620px,calc(100vw - 32px));padding:6px 6px 6px 12px;border-radius:16px;background:rgba(24,30,40,.94);color:#f3efe6;border:1px solid #6fc3ea;box-shadow:0 8px 24px rgba(0,0,0,.35);font:600 13px/1.3 var(--body,system-ui)}
.hx-cbar.loud{border-color:#f4b93e;background:rgba(48,36,14,.95)}
.hx-cbar.asking{border-color:#f4b93e;box-shadow:0 0 0 3px rgba(244,185,62,.35),0 8px 24px rgba(0,0,0,.35)}
.hx-cbar .hx-ci{display:grid;place-items:center;flex:none;color:#9fd8f2}.hx-cbar.loud .hx-ci,.hx-cbar.asking .hx-ci{color:#f4b93e}
.hx-cbar .hx-ct{flex:1;min-width:0}.hx-cbar .hx-ct b{font-weight:800}
.hx-cbar button{flex:none;display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 12px;border-radius:12px;font:700 12.5px var(--body,system-ui);cursor:pointer}
.hx-cbar .hx-cgo{background:#f4b93e;color:#1b1406;border-color:#f4b93e}
.hx-cbar .hx-cw{flex:none;font-size:12px;opacity:.8;font-style:italic}
body.phone-on .hx-cbar,body.cs-showing .hx-cbar{display:none}

/* ---- speaking: the mic in the Type box ---- */
.hx-typer .hx-tmic{flex:none;display:inline-flex;align-items:center;gap:5px;padding:0 10px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.hx-typer .hx-tmic span{font-size:12px}

/* ---- phones and tablets ---- */
@media (pointer: coarse){
  /* the chat box's mic: a real button with words, under the box */
  html #micBtn.v-under{min-height:44px;font-size:13px!important;font-weight:700;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;flex:0 0 auto}
  #chatRow #micBtn{margin-top:0}
  html .v-btn{min-height:44px;font-size:13px}
  html .v-pill{bottom:auto;top:calc(env(safe-area-inset-top,0px) + 64px);font-size:14px;padding:10px 18px 10px 14px}
  html .hx-typer .hx-tmic{min-height:44px}
  html .hx-tb{min-height:44px}
  .hx-cbar{font-size:12.5px;bottom:calc(env(safe-area-inset-bottom,0px) + 128px)}
  .hx-cbar button{min-height:44px;font-size:13px}
}
/* a phone held sideways (844 x 390): the bar sits above the stick and the action bar, words wrap on two lines */
@media (pointer: coarse) and (orientation: landscape) and (max-height: 500px){
  .hx-cbar{bottom:calc(env(safe-area-inset-bottom,0px) + 86px);max-width:min(520px,calc(100vw - 180px));padding:4px 4px 4px 10px;gap:6px}
  .hx-cbar .hx-ct{font-size:12px}
  html .v-pill{top:calc(env(safe-area-inset-top,0px) + 54px)}
  .fcall-bar{top:calc(env(safe-area-inset-top,0px) + 4px);padding:3px 4px 3px 10px;gap:6px}
  .fcall-bar .fcall-who b{max-width:120px}
  .fcall-ring{top:8px;padding:10px 12px;gap:8px 12px;width:min(440px,calc(100vw - 180px))}
  .fcall-ring .fcall-rt span{display:none}
  .fcall-rb button{min-height:46px}
}
/* [h2-call] on the city map the call bar sits at the bottom, clear of the map's filter chips */
body:has(#city:not([hidden])) .fcall-bar{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 16px)}
.fcall-bar button{white-space:nowrap}
