/* Aviso público de PistaPro */
dialog.pp-cookie-panel {
  box-sizing: border-box;
  width: min(28rem, calc(100% - 2rem));
  max-width: none;
  max-height: 88vh;
  max-height: 88dvh;
  overflow: auto;
  margin: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  color: #f4f7f8;
  background: linear-gradient(145deg, #172c39, #0d1c27 74%);
  border: 1px solid #435561;
  border-radius: 18px;
  box-shadow: 0 18px 64px #010a124d;
  text-align: left;
  font: 400 1rem/1.55 Inter, system-ui, sans-serif;
}
.pp-cookie-panel::backdrop { background: rgb(4 14 22 / 67%); backdrop-filter: blur(3px); }
.pp-cookie-panel strong { display: block; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.025em; }
.pp-cookie-panel p { margin: .65rem 0 .4rem; color: #d2dce1; }
.pp-cookie-panel a { color: #d2e4ac; text-decoration: underline; text-underline-offset: .22em; font-size: .9rem; }
.pp-cookie-panel div { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #344752; }
.pp-cookie-panel button, .pp-cookie-panel .pp-salir {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: auto; min-height: 44px; margin: 0; padding: .55rem 1.15rem;
  border: 1px solid #536574; border-radius: 9px; background: transparent; color: #e9eff2;
  line-height: 1.25; font-family: inherit; font-weight: 600; font-size: .9375rem;
  text-decoration: none; cursor: pointer;
}
.pp-cookie-panel button { background: #c3e253; border-color: #c3e253; color: #122016; }
.pp-cookie-panel button:hover { background: #d0eb76; }
.pp-cookie-panel .pp-salir:hover { background: #213541; }
.pp-cookie-panel :focus-visible { outline: 2px solid #d9ecac; outline-offset: 3px; }
.pp-cookie-panel button:disabled { opacity: .7; cursor: wait; }
.pp-cookie-panel small:not(:empty) { display: block; margin-top: .75rem; color: #ffd3b7; }

/* Panel inferior: deja visible la presentación mientras se lee el aviso. */
dialog.pp-cookie-panel {
  inset: auto 1.5rem 1.5rem auto;
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: #10222e;
  border-color: #344b59;
  border-radius: 14px;
}
dialog.pp-cookie-panel::backdrop { background: rgb(4 14 22 / 34%); backdrop-filter: none; }
dialog.pp-cookie-panel strong { font-size: 1.2rem; }
dialog.pp-cookie-panel p { font-size: .9375rem; margin: .35rem 0; }
dialog.pp-cookie-panel > a { color: #c0cfd6; }
dialog.pp-cookie-panel > a:focus-visible {
  outline: none; text-decoration-thickness: 3px; text-decoration-color: #c3e253;
}
dialog.pp-cookie-panel div { padding: 0; border: 0; margin-top: .85rem; }
dialog.pp-cookie-panel .pp-salir { background: transparent; border-color: transparent; }
@media (max-width: 640px) {
  dialog.pp-cookie-panel {
    inset: auto 0 0;
    width: 100%; max-width: 100%; border-width: 1px 0 0;
    border-radius: 16px 16px 0 0;
    padding: 1rem max(1.1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1.1rem, env(safe-area-inset-left));
  }
  .pp-cookie-panel button { flex: 1; }
}
