/* Eigene Stimme: ein ruhiges Feld, nicht im Gespraech, sondern beim Einstieg und in den
   Einstellungen. Grosse Tastflaechen, damit es auf dem Handy bedienbar bleibt. */
.player-voice-dialog{
  border:0;padding:0;background:transparent;color:#eef6f5;max-width:min(560px,94vw);width:min(560px,94vw);
}
.player-voice-dialog::backdrop{background:rgba(6,18,22,.72);}
.player-voice{
  display:flex;flex-direction:column;gap:.7rem;
  padding:1.1rem 1.15rem 1.25rem;border-radius:18px;
  background:linear-gradient(180deg,#123037 0%,#0d2229 100%);
  border:1px solid rgba(160,214,208,.28);
  box-shadow:0 22px 48px rgba(0,0,0,.45);
  font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;
  max-height:86vh;overflow-y:auto;
}
.player-voice-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;}
.player-voice-title{margin:0;font-size:1.2rem;letter-spacing:.01em;}
.player-voice-close{
  background:transparent;border:0;color:#a9cfc9;font-size:1.5rem;line-height:1;
  min-width:44px;min-height:44px;border-radius:12px;cursor:pointer;
}
.player-voice-close:hover,.player-voice-close:focus-visible{background:rgba(160,214,208,.14);color:#eef6f5;}
.player-voice-intro{margin:0;color:#c9e2de;}
.player-voice-transcript-label{margin:.25rem 0 0;font-weight:600;color:#9fd3cb;font-size:.9rem;}
.player-voice-transcript{
  margin:0;padding:.8rem .9rem;border-radius:12px;
  background:rgba(8,24,29,.62);border-left:3px solid #4fb3a4;
  font-size:1.02rem;line-height:1.55;
}
.player-voice-consent{
  display:flex;gap:.6rem;align-items:flex-start;
  padding:.65rem .75rem;border-radius:12px;background:rgba(255,255,255,.04);
  font-size:.88rem;color:#c9e2de;cursor:pointer;
}
.player-voice-consent input{width:20px;height:20px;margin-top:.15rem;flex:0 0 auto;accent-color:#4fb3a4;}
.player-voice-meter{height:10px;border-radius:99px;background:rgba(8,24,29,.7);overflow:hidden;}
.player-voice-meter-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#4fb3a4,#8fe0c8);transition:width .09s linear;}
.player-voice-countdown{margin:0;font-variant-numeric:tabular-nums;color:#9fd3cb;font-size:.9rem;}
.player-voice-hint{margin:0;color:#9fb8b5;font-size:.88rem;}
.player-voice-actions{display:flex;flex-wrap:wrap;gap:.5rem;}
.player-voice-button{
  min-height:44px;padding:.55rem 1rem;border-radius:12px;cursor:pointer;
  border:1px solid rgba(160,214,208,.34);background:rgba(255,255,255,.05);color:#eef6f5;
  font:inherit;font-weight:600;
}
.player-voice-button:hover:not(:disabled),.player-voice-button:focus-visible:not(:disabled){background:rgba(160,214,208,.18);}
.player-voice-button:disabled{opacity:.42;cursor:default;}
.player-voice-primary{background:#2f7f72;border-color:#3f9f8e;}
.player-voice-primary:hover:not(:disabled){background:#3a9384;}
.player-voice-quiet{background:transparent;color:#a9cfc9;}
.player-voice-danger{background:#8a3b39;border-color:#a8524f;}
.player-voice-error{margin:0;color:#ffbcae;font-size:.9rem;}
.player-voice-manage{
  display:flex;flex-direction:column;gap:.55rem;
  margin-top:.35rem;padding-top:.85rem;border-top:1px solid rgba(160,214,208,.2);
}
.player-voice-manage-title{margin:0;font-size:1rem;color:#9fd3cb;}
.player-voice-status{margin:0;color:#c9e2de;font-size:.92rem;}
.player-voice-confirm{margin:0;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.9rem;color:#ffd9c8;}
@media (max-width:480px){
  .player-voice{padding:.9rem .85rem 1.05rem;border-radius:14px;}
  .player-voice-actions{gap:.45rem;}
  .player-voice-button{flex:1 1 44%;}
}
