/* Gewählter Vorschlag 06: Stimme und Profil direkt über den vier Menüpunkten. */
/* Text und Knopfspalte teilen sich dieselbe Höhe. Ohne Countdown sind nur
   Wiederholen und Play sichtbar; der Text beginnt auf Höhe von Wiederholen. */
.screen { --aktionsgroesse: 56px; --aktionsabstand: 12px; --block: calc(2 * var(--aktionsgroesse) + var(--aktionsabstand)); --block-luft: 24px; --block-luft-min: 16px; }
.screen:has(.timer-button:not([hidden])) { --block: calc(3 * var(--aktionsgroesse) + 2 * var(--aktionsabstand)); }
.composer-actions { width: var(--aktionsgroesse); gap: var(--aktionsabstand); }
.tool-button, .send-button { width: var(--aktionsgroesse); height: var(--aktionsgroesse); }
.composer textarea { right: calc(var(--aktionsgroesse) + var(--luft)); }
.utility-row { flex: 0 0 auto; min-height: 48px; margin: 0 var(--rand) 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-button { min-height: 48px; min-width: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #d6dfec; cursor: pointer; text-align: left; }
.utility-button > svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.utility-button:disabled { opacity: .5; cursor: default; }
.utility-button[aria-expanded="true"] { color: #94eee1; }
.utility-label { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.utility-prefix { font-size: 10px; line-height: 12px; opacity: .75; }
.stimme-wert { font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stimme-button { min-width: 0; max-width: 65%; }
.utility-chevron { font-size: 13px; opacity: .65; }
.profil-button { flex: 0 0 auto; font-size: 11px; line-height: 15px; }
.utility-sheet-title { margin: 8px var(--rand) 12px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.sheet-layer { z-index: 5; }
.profil-form { margin: 8px var(--rand) 0; }
.profil-form label { display: block; margin-bottom: 8px; color: #a0adc2; font-size: 12px; }
.profil-eingabe { display: flex; align-items: stretch; gap: 8px; }
#profil-name { min-width: 0; width: 100%; flex: 1 1 0; min-height: 48px; border: 1px solid #a0adc259; border-radius: 10px; background: #12233d; color: #edf3ff; font: inherit; font-size: 16px; padding: 0 12px; }
#profil-name:focus-visible { outline: 2px solid #89e9e2; outline-offset: 2px; }
.profil-speichern { flex: 0 0 auto; min-height: 48px; border: 0; border-radius: 10px; padding: 0 14px; background: #b9e6ea; color: #132c40; font-size: 12px; font-weight: 600; cursor: pointer; }
.profil-status, .satz-status { margin: 12px var(--rand); color: #ffbdad; font-size: 12px; line-height: 1.5; }
.profil-status:empty, .satz-status:empty { display: none; }
.profil-status[data-fehler="true"] { color: #ffbdad; }
.profil-mode-entry, .profil-satz-entry { height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; }
.profil-mode-entry > span:first-of-type, .profil-satz-entry > span:first-of-type { white-space: normal; overflow-wrap: anywhere; }
.screen[data-hintergrund="hell"] .utility-button { color: var(--hg-tinte); }
.screen[data-hintergrund="hell"] .utility-button[aria-expanded="true"] { color: var(--hg-akzent-ui); }
.screen:has(.visual-stage[data-countdown="true"]) .utility-button { color: #dec4bf; }
.screen:has(.visual-stage[data-countdown="true"]) .utility-button[aria-expanded="true"] { color: #ffc4b6; }
@media (max-height: 650px) {
  .screen { --aktionsgroesse: 48px; --aktionsabstand: 8px; --block-luft: 16px; --block-luft-min: 8px; }
  .statusbar { flex-basis: 44px; min-height: 44px; }
  .app-header { flex-basis: 44px; min-height: 44px; }
  .visual-stage { min-height: 80px; }
  .utility-row { min-height: 44px; margin-bottom: 8px; }
  .utility-button { min-height: 44px; }
  .scenario-nav { padding-top: 8px; }
  .nav-item { height: 56px; }
}
@media (max-width: 350px) {
  .utility-row { gap: 10px; }
  .utility-button { gap: 7px; }
}
