/* Plan B — estilos base. El resto del diseño vive en cada página (viene del canvas). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
a { text-decoration: none; }
a:hover { opacity: .8; }
img { max-width: 100%; }
button { font-family: inherit; }
[data-cloak] { visibility: hidden; }
[role="alert"]:empty { display: none; }
:focus-visible { outline: 2px solid #FF6A1F; outline-offset: 3px; border-radius: 4px; }

/* Menú: en compu se ve completo; en celular, detrás del botón "Menú" */
.pb-menu { display: none; }
.pb-coords-short { display: none; }
@media (max-width: 860px) {
  .pb-coords { display: none; }
  .pb-coords-short { display: inline; }
  .pb-topbar { padding: 10px 16px !important; font-size: 11px !important; letter-spacing: .04em !important; flex-wrap: nowrap !important; white-space: nowrap; justify-content: center !important; gap: 14px !important; }
  .pb-header { padding: 16px 20px !important; }
  .pb-menu {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
    font-family: 'Space Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
    background: transparent; color: #121212; border: 1.5px solid #121212; border-radius: 999px; cursor: pointer;
  }
  .pb-menu[aria-expanded="true"] { background: #121212; color: #F1F1E6; }
  .pb-nav { display: none !important; width: 100%; flex-direction: column; align-items: flex-start !important; gap: 4px !important; padding: 8px 0 12px; }
  .pb-header.open .pb-nav { display: flex !important; }
  .pb-nav a { font-size: 15px; padding: 10px 0 !important; }
  .pb-nav a:last-child { margin-top: 10px; padding: 13px 20px !important; }
}

/* Márgenes laterales parejos en celular */
@media (max-width: 640px) {
  [style*="max-width:1280px"] { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
