/* Burger Bistro Blitz v15 – Mobile Display Hinweis
   Nach style.css und nach bisherigen Patch-CSS-Dateien einbinden.
*/

.mobileDisplayNotice {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(31, 22, 14, .38);
  backdrop-filter: blur(2px);
}

.mobileDisplayNotice.isVisible {
  display: grid;
}

.mobileDisplayNotice__card {
  width: min(92vw, 520px);
  background: #fffaf2;
  color: #2b2118;
  border: 1px solid rgba(233, 107, 44, .28);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  padding: clamp(18px, 4vw, 30px);
  text-align: center;
}

.mobileDisplayNotice__card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.1;
}

.mobileDisplayNotice__card p {
  margin: 0 0 18px;
  color: #756252;
  font-size: clamp(14px, 3.2vw, 18px);
  line-height: 1.45;
}

.mobileDisplayNotice__button {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font: 900 16px system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #e96b2c, #ff9f1c);
  cursor: pointer;
  touch-action: manipulation;
}

/* Spiel im Hintergrund unscharf, solange Hinweis sichtbar ist */
body.mobileNoticeOpen #game {
  filter: blur(5px) brightness(.72);
  pointer-events: none;
  user-select: none;
}

/* Auf großen Displays wird der Hinweis nie angezeigt */
@media (min-width: 901px) and (min-height: 650px) {
  .mobileDisplayNotice.isVisible {
    display: none;
  }

  body.mobileNoticeOpen #game {
    filter: none;
    pointer-events: auto;
    user-select: auto;
  }
}
