/* V4.78 - Sesli Komut + Neredeyim */
.global-voice-command{
  position:fixed;z-index:910;right:14px;bottom:calc(86px + env(safe-area-inset-bottom));
  min-width:58px;height:58px;border:0;border-radius:19px;background:#0b876d;color:#fff;
  display:grid;place-items:center;align-content:center;gap:1px;padding:5px 8px;
  box-shadow:0 12px 30px rgba(8,76,64,.25)
}
.global-voice-command span{font-size:21px;line-height:1}
.global-voice-command small{font-size:7px;line-height:1;font-weight:900;white-space:nowrap}
.global-voice-command:focus-visible,.voice-command-map-btn:focus-visible,.voice-command-mic:focus-visible{
  outline:3px solid #ffd34f;outline-offset:3px
}

.voice-command-map-btn{
  font-size:16px!important;
}
body.voice-map-open .global-voice-command{display:none!important}
body.transport-open .global-voice-command{display:none!important}

.voice-command-sheet{
  position:fixed;inset:0;z-index:1800;background:rgba(3,25,34,.56);
  display:flex;align-items:flex-end;justify-content:center;padding:16px;
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)
}
.voice-command-sheet[hidden]{display:none!important}
.voice-command-card{
  width:min(620px,100%);max-height:min(720px,88vh);overflow:auto;
  border-radius:25px;background:#fff;color:#14394b;padding:16px;
  box-shadow:0 25px 80px rgba(0,0,0,.28)
}
.voice-command-head{
  display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:center
}
.voice-command-head small{font-size:8px;letter-spacing:.11em;color:#0b876d;font-weight:900}
.voice-command-head h2{margin:2px 0 0;font-size:22px}
.voice-command-head button{
  width:42px;height:42px;border:1px solid #dce6e3;border-radius:14px;background:#fff;
  color:#173f50;font-size:23px;font-weight:900
}
.voice-command-listen{
  margin-top:15px;padding:18px 14px;border-radius:21px;background:linear-gradient(145deg,#073c59,#0a5673);
  color:#fff;display:grid;justify-items:center;text-align:center
}
.voice-command-mic{
  width:76px;height:76px;border:0;border-radius:50%;background:#13a27e;color:#fff;
  font-size:31px;box-shadow:0 0 0 9px rgba(255,255,255,.09),0 11px 28px rgba(0,0,0,.2)
}
.voice-command-sheet.is-listening .voice-command-mic{
  animation:voicePulse 1.15s ease-in-out infinite;background:#f0aa19
}
@keyframes voicePulse{
  0%,100%{box-shadow:0 0 0 8px rgba(255,255,255,.09),0 11px 28px rgba(0,0,0,.2)}
  50%{box-shadow:0 0 0 18px rgba(255,211,79,.18),0 11px 28px rgba(0,0,0,.2)}
}
.voice-command-listen strong{margin-top:15px;font-size:16px}
.voice-command-listen p{margin:6px 0 0;color:#dbeaf0;font-size:11px;line-height:1.45}

.voice-command-quick{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px
}
.voice-command-quick button{
  min-height:45px;border:1px solid #d9e5e2;border-radius:14px;background:#f8faf9;
  color:#214a59;padding:7px;font-size:10px;font-weight:900
}
.voice-command-help{
  margin-top:12px;padding:12px 13px;border-radius:15px;background:#eef6f3
}
.voice-command-help strong{font-size:10px;color:#0b6f5a}
.voice-command-help p{margin:5px 0 0;color:#5d727a;font-size:9px;line-height:1.55}
.voice-command-note{
  margin-top:9px;padding:9px 11px;border-radius:12px;background:#f5f6f6;
  color:#687980;font-size:9px;line-height:1.45
}
.voice-command-note.is-error{background:#fff0ef;color:#9a3f38}
.voice-command-note.is-ok{background:#e8f6ef;color:#08715a}

@media(min-width:761px){
  .global-voice-command{bottom:28px;right:28px}
  .voice-command-sheet{align-items:center}
}
@media(max-width:390px){
  .global-voice-command{right:10px;bottom:calc(82px + env(safe-area-inset-bottom));width:54px;min-width:54px;height:54px}
  .voice-command-card{padding:13px;border-radius:22px}
  .voice-command-quick{gap:5px}
}
