.nouvelle {
  width: 100%; max-width: none; max-height: none;
  margin: auto 0 0; padding: 0; border: 0;
  background: none; color: var(--bouteille);
  overflow: visible;
}

.nouvelle:focus, .nouvelle:focus-visible { outline: none; box-shadow: none; }
.nouvelle::backdrop {
  background: rgba(23, 64, 60, .42);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.nouvelle__carte {
  position: relative;
  max-height: calc(100vh - var(--e4));
  max-height: calc(100dvh - var(--e4));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 28px var(--e3) calc(var(--e3) + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--blanc);
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.nouvelle.est-visible .nouvelle__carte { transform: none; }

.nouvelle__fermer {
  position: absolute; top: 12px; right: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--bouteille);
  cursor: pointer;
}
.nouvelle__fermer svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.nouvelle__pastille {
  display: inline-flex; align-items: center; min-height: 28px; margin: 0; padding: 0 12px; border-radius: 999px;
  background: var(--anis); color: var(--bouteille);
  font: 700 13px/1 var(--sans); font-stretch: 118%; text-transform: uppercase; letter-spacing: .12em;
}

.nouvelle__titre {
  margin: 18px 0 0;
  font: 800 clamp(40px, 16vw, 64px)/.92 var(--serif); letter-spacing: -.02em;
}
.nouvelle__ligne { margin: 22px 0 0; font: 700 var(--t-20)/1.25 var(--sans); }
.nouvelle__adresse { margin: 4px 0 0; font: 400 var(--t-16)/1.4 var(--sans); }
.nouvelle__horaires { margin-top: 12px; display: grid; gap: 8px; }
.nouvelle__horaires p { margin: 0; display: grid; gap: 2px; }
.nouvelle__horaires span { font: 600 var(--t-14)/1.3 var(--sans); }
.nouvelle__horaires b { font: 700 var(--t-16)/1.3 var(--sans); }

.nouvelle__voir {
  display: flex; width: 100%; min-height: 56px; margin-top: 28px;
  background: var(--bouteille); color: var(--blanc); font-size: 17px;
}

[data-sans-anneau]:focus { outline: none; box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .nouvelle[open]::backdrop { animation: nouvelle-voile .35s ease; }
}
@keyframes nouvelle-voile { from { opacity: 0; } }

@media (min-width: 640px) and (max-width: 899px) {
  .nouvelle { width: min(560px, 100%); margin: auto auto 0; }
}

@media (min-width: 900px) {
  .nouvelle { width: 520px; margin: auto; }
  .nouvelle__carte {
    padding: 48px 48px 44px; border-radius: 32px;
    opacity: 0; transform: translateY(24px);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  }
  .nouvelle.est-visible .nouvelle__carte { opacity: 1; transform: none; }
  .nouvelle__fermer { top: 18px; right: 18px; }
  .nouvelle__titre { font-size: 76px; }
  .nouvelle__voir { display: inline-flex; width: auto; padding: 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .nouvelle__carte { transition: none; transform: none; opacity: 1; }
}
