/* TODAY.FM 4.1.82 – ein mobiler Drive-Mode-Einstieg auf allen öffentlichen Seiten. */
/* Auf Desktop und großen Tablets bleibt die Schaltfläche vollständig verborgen. */
.mobile-drive-launch { display: none; }

/* Schmale Smartphones, auch bei verkleinertem Browserfenster, und Touchgeräte im Querformat. */
@media screen and (max-width: 767px),
       screen and (min-width: 768px) and (max-width: 950px) and (max-height: 500px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .mobile-drive-launch {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 990;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    min-width: 168px;
    max-width: calc(100vw - 24px);
    padding: 7px 11px 7px 7px;
    border: 1px solid #b9f94a;
    border-radius: 0;
    background: #0a100b;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.5);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .mobile-drive-launch__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #080c09;
    background: #b9f94a;
  }
  .mobile-drive-launch__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-drive-launch > span:nth-child(2) {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .mobile-drive-launch small {
    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #b9f94a;
  }
  .mobile-drive-launch strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
  }
  .mobile-drive-launch > b {
    font-size: 20px;
    line-height: 1;
    color: #b9f94a;
    text-align: center;
  }
  .mobile-drive-launch:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
  .mobile-drive-launch:active {
    background: #1a2818;
  }
}

/* Das bisherige Drive-Mode-Overlay steht auf der eigentlichen Fahransicht nie im Weg. */
body:has(.today-auto) .mobile-drive-launch { display: none !important; }
