:root {
  --bg: #f2f6f8;
  --surface: #ffffff;
  --surface-2: #eaf2f6;
  --line: #d8e3ea;
  --line-soft: #e8eff4;
  --text: #102b3c;
  --muted: #5d7b8d;

  --blue: #0f6fb5;
  --blue-deep: #0a4d80;
  --blue-soft: #e3f0fa;
  --green: #12a07a;
  --green-deep: #0b7a5c;
  --green-soft: #dcf3ec;

  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* ---------------------------------------------------------------- hero */
.hero {
  padding: clamp(2.6rem, 7vw, 4.5rem) 0 2.2rem;
  background:
    radial-gradient(60rem 26rem at 8% -20%, rgba(18, 160, 122, .16), transparent 62%),
    radial-gradient(56rem 26rem at 95% -10%, rgba(15, 111, 181, .16), transparent 62%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .1em .3em;
  margin: 0 0 .9rem;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero h1 .logo {
  height: .62em;
  width: auto;
  flex: none;
  color: var(--blue);
}

.hero h1 span {
  background: linear-gradient(100deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 48ch;
  color: var(--text);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* Presentación: una columna por párrafo, para que no empuje el ranking hacia abajo. */
.intro {
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}
.intro p { margin: 0; }

@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr 1fr; }
  .intro p:last-child { grid-column: 1 / -1; }
}

.stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 1.9rem; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--blue-deep); }
.stats span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------------------------------------------------------------- tabs */
.tabs {
  display: flex;
  gap: .35rem;
  margin: 2.2rem 0 0;
  padding: .35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(16, 43, 60, .06);
}

.tab {
  position: relative;
  padding: .62rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .97rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s, background .18s, box-shadow .18s;
}
.tab:hover { color: var(--blue-deep); background: var(--surface-2); }

/* La activa lleva el degradado de la marca y un brillo que la recorre. */
.tab[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(100deg, var(--blue-deep), var(--blue) 45%, var(--green));
  box-shadow: 0 4px 14px rgba(15, 111, 181, .35);
  overflow: hidden;
}
.tab[aria-pressed="true"]:hover { color: #fff; }
.tab[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55), transparent 80%);
  transform: translateX(-120%);
  animation: brillo 3.2s ease-in-out 0.4s infinite;
}
@keyframes brillo {
  0%   { transform: translateX(-120%); }
  35%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .tab[aria-pressed="true"]::after { animation: none; }
}

/* ------------------------------------------------------------- toolbar */
.toolbar[hidden] { display: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 2.2rem 0 1.3rem; }

#search {
  flex: 1 1 240px;
  min-width: 200px;
  padding: .7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: .95rem;
}
#search:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips[hidden] { display: none; }

/* Sólo aparece en móvil: pliega los chips de parque. */
.filter-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-toggle::after {
  content: '';
  width: .45rem; height: .45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-.1em, -.1em);
  transition: transform .15s;
}
.filter-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-.05em, -.05em); }

.chip {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
  transition: .15s;
}
.chip:hover { color: var(--blue-deep); border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); font-weight: 600; }
.chip:disabled { opacity: .38; cursor: not-allowed; }
.chip:disabled:hover { color: var(--muted); border-color: var(--line); }

/* ------------------------------------------------------------- ranking */
.ranking { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; }
.loading, .empty { color: var(--muted); padding: 2rem 0; }

.row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto 6.4rem;
  gap: 1rem;
  align-items: center;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: .15s;
}
.row:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(16, 43, 60, .08); }
.row.unrated { background: var(--surface); }
.row.unrated .rank { opacity: .45; }

.rank {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.3rem;
  color: var(--muted);
  text-align: center;
}
.row.rank-1 .rank { color: #c8a015; }
.row.rank-2 .rank { color: #8a9aa6; }
.row.rank-3 .rank { color: #b3763c; }

.title-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.title-line h3 { margin: 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.meta { margin: .25rem 0 0; font-size: .82rem; color: var(--muted); }

/* Ficha técnica resumida bajo el nombre: altura, velocidad, inversiones, altura mínima. */
.specs {
  margin: .2rem 0 0;
  font-size: .78rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.badge {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge.i1 { background: var(--green-soft); color: var(--green-deep); }
.badge.i2 { background: #d5f0ef; color: #0a7d78; }
.badge.i3 { background: var(--blue-soft); color: var(--blue); }
.badge.i4 { background: #dbe3f8; color: #26398f; }
.badge.mine {
  background: var(--green-deep);
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-size: .7rem;
}
.badge.queue {
  background: var(--surface-2);
  color: var(--muted);
  border-color: var(--line-soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: .72rem;
  font-weight: 400;
}

.score { text-align: right; min-width: 4.4rem; }
.score b {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: var(--green-deep);
}
.score span { font-size: .74rem; color: var(--muted); }
.score.none b { color: #a8bcc8; font-size: 1rem; font-family: inherit; }

.thumb {
  width: 6.4rem;
  height: 4.4rem;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.thumb.placeholder {
  display: grid;
  place-items: center;
  padding: .5rem;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue-soft), var(--green-soft));
}
.ph-art { width: 100%; height: 100%; }

/* ----------------------------------------------------------- explainer */
.explainer { margin: 3.2rem 0 2rem; }
.explainer h2 { font-size: 1.3rem; margin: 0 0 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.cards article { padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.cards h3 { margin: 0 0 .35rem; font-size: .95rem; color: var(--blue-deep); }
.cards p { margin: 0; font-size: .84rem; color: var(--muted); }

.notes { margin: 1.6rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.notes li { margin-bottom: .5rem; }
.notes strong { color: var(--text); }

.foot { padding: 2.2rem 0 3.2rem; color: var(--muted); font-size: .82rem; }
.foot p { max-width: 78ch; line-height: 1.65; }
.foot-legal { margin-top: .9rem; font-weight: 600; }
.foot strong { color: var(--text); }

/* --------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 43, 60, .45); backdrop-filter: blur(3px); }

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 43, 60, .22);
}
.modal-card.wide { width: min(720px, 100%); padding: 0; }

.modal-close {
  position: absolute; top: .7rem; right: .9rem;
  z-index: 2;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: var(--text); }

/* --------------------------------------------------------- ficha detalle */
.detail-hero { position: relative; height: 220px; background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero .no-photo {
  display: grid; place-items: center; align-content: center; height: 100%;
  padding: 1.4rem; gap: .5rem;
  color: var(--blue);
}
.detail-hero .no-photo .ph-art { width: min(220px, 60%); height: auto; }
.detail-hero .no-photo p { margin: 0; color: var(--muted); font-size: .86rem; text-align: center; }

.detail-body { padding: 1.5rem 1.7rem 1.8rem; }
.detail-rank { font-size: .8rem; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.detail-body h2 { margin: .3rem 0 .4rem; font-size: 1.7rem; letter-spacing: -.02em; }
.detail-meta { margin: 0 0 1.2rem; color: var(--muted); font-size: .9rem; }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .7rem; margin-bottom: 1.5rem; }
.stat-box { padding: .8rem .9rem; background: var(--surface-2); border-radius: 12px; }
.stat-box b { display: block; line-height: 1.25; }
.stat-box b.num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.35rem; }
.stat-box b.txt { font-size: 1.02rem; font-weight: 600; padding: .16rem 0; }
.stat-box span { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.detail-body h3 { font-size: .95rem; margin: 1.6rem 0 .8rem; }

.bar-row { display: grid; grid-template-columns: 11.5rem 1fr 2.2rem; gap: .7rem; align-items: center; margin-bottom: .55rem; font-size: .87rem; }
.bar-track { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.bar-row b { font-family: 'JetBrains Mono', ui-monospace, monospace; text-align: right; font-size: .88rem; }

.chart { width: 100%; height: 190px; display: block; }
.chart-empty { padding: 1.4rem; background: var(--surface-2); border-radius: 12px; color: var(--muted); font-size: .86rem; }

.credit { margin: 1.2rem 0 0; font-size: .74rem; color: var(--muted); }
.credit strong { color: var(--text); }


.ficha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: .55rem;
  margin: 0;
}
.ficha div {
  padding: .55rem .7rem;
  background: var(--surface-2);
  border-radius: 10px;
}
.ficha dt {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ficha dd {
  margin: .1rem 0 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.blurb {
  margin: 0 0 1.3rem;
  padding: .85rem 1rem;
  background: var(--blue-soft);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--text);
}

/* Lista de coasters dentro de la ficha de un parque */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: .6rem;
  align-items: center;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .88rem;
}
.mini-list li:last-child { border-bottom: 0; }
.mini-rank { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--muted); font-size: .82rem; }
.mini-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list b { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--green-deep); font-size: .88rem; }

.detail-actions { margin-top: 1.5rem; }

/* --------------------------------------------------------- voto (form) */
.modal-park { margin: 0; font-size: .8rem; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.modal-card h2 { margin: .3rem 0 1.3rem; font-size: 1.5rem; letter-spacing: -.01em; padding-right: 2rem; }

.sliders { display: flex; flex-direction: column; gap: 1.05rem; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.slider-head label { font-weight: 600; font-size: .95rem; }
.slider-head output {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1rem;
  color: var(--blue);
  min-width: 1.6rem;
  text-align: right;
}
.weight {
  display: inline-block;
  margin-left: .25rem;
  padding: .06rem .38rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 600;
  vertical-align: .06em;
}

.slider-help { margin: .1rem 0 .35rem; font-size: .78rem; color: var(--muted); }

input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-deep);
  box-shadow: 0 1px 4px rgba(16, 43, 60, .3);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue-deep);
}

.avg-row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 1.3rem 0;
  padding: .8rem 1rem;
  background: var(--green-soft);
  border-radius: 12px;
  font-size: .9rem;
}
.avg-row strong { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.5rem; color: var(--green-deep); }

.intensity-block[hidden] { display: none; }
.intensity-block .label { margin: 0 0 .6rem; font-weight: 600; font-size: .95rem; }
.muted { color: var(--muted); font-weight: 400; font-size: .82rem; }
.hint { margin: .6rem 0 0; font-size: .78rem; color: var(--muted); min-height: 1.1rem; }

.turnstile { margin: 1.2rem 0 .4rem; }

.form-error {
  margin: .4rem 0 0;
  padding: .7rem .9rem;
  background: #fdeaea;
  border: 1px solid #f3c2c2;
  border-radius: 10px;
  color: #a32626;
  font-size: .86rem;
}

.btn-primary, .btn-vote {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, var(--blue-deep), var(--green));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.btn-primary { width: 100%; margin-top: 1rem; padding: .85rem; font-size: 1rem; }
.btn-vote { padding: .6rem 1.2rem; font-size: .92rem; }
.btn-primary:hover, .btn-vote:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; filter: none; }

/* --------------------------------------------------------------- toast */
.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 90;
  padding: .8rem 1.3rem;
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 43, 60, .28);
}
.toast[hidden] { display: none; }

@media (max-width: 700px) {
  /* La foto pasa a banda superior: en una miniatura lateral no se veía nada. */
  .row {
    grid-template-columns: 2.6rem minmax(0, 1fr) .95rem;
    grid-template-areas:
      "thumb thumb thumb"
      "rank  info  ."
      "rank  score .";
    align-items: start;
    column-gap: .4rem;
    row-gap: .35rem;
    padding: 0 0 .9rem;
    overflow: hidden;
  }
  .thumb {
    grid-area: thumb;
    width: 100%;
    height: 118px;
    border-radius: 0;
    margin-bottom: .7rem;
  }
  .thumb.placeholder { padding: .8rem 1.5rem; }
  .rank { grid-area: rank; align-self: center; font-size: 1.15rem; }
  .info { grid-area: info; }
  .score {
    grid-area: score;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: .5rem;
    min-width: 0;
  }
  .score b { font-size: 1.3rem; }

  .filter-toggle { display: inline-flex; }
  .intro { grid-template-columns: 1fr; gap: .9rem; font-size: .9rem; }
  .intro p:last-child { grid-column: auto; }
  .lead { max-width: none; }
  .toolbar { gap: .7rem; }

  .stats { gap: 1.4rem; }
  .bar-row { grid-template-columns: 8.5rem 1fr 2.2rem; font-size: .78rem; }
  .detail-body, .modal-card { padding-left: 1.1rem; padding-right: 1.1rem; }
  .detail-hero { height: 180px; }
}

/* --------------------------------------------------------- aviso de cookies */
.cookies {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 120;
  width: min(760px, calc(100% - 1.6rem));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(16, 43, 60, .22);
}
.cookies-texto { flex: 1 1 320px; min-width: 0; }
.cookies-texto > strong { display: block; margin-bottom: .25rem; font-size: .95rem; }
.cookies-texto p strong { color: var(--text); }
.cookies-texto p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.cookies-botones { display: flex; gap: .6rem; flex: 0 0 auto; }
.cookies-botones .btn-primary { width: auto; margin: 0; padding: .6rem 1.4rem; font-size: .92rem; }

.btn-ghost {
  padding: .6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ------------------------------------------------------------ páginas legales */
.legal-head {
  padding: 2.2rem 0 1.6rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.legal-head h1 { margin: .7rem 0 0; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; }
.volver { font-size: .88rem; font-weight: 600; text-decoration: none; }
.volver:hover { text-decoration: underline; }

.legal { padding: 2rem 0 1rem; max-width: 80ch; font-size: .95rem; line-height: 1.7; }
.legal h2 { margin: 2.2rem 0 .7rem; font-size: 1.2rem; letter-spacing: -.01em; }
.legal h3 { margin: 1.6rem 0 .5rem; font-size: 1rem; color: var(--blue-deep); }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .85em;
  background: var(--surface-2);
  padding: .1rem .35rem;
  border-radius: 5px;
}

.legal-tabla {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: .86rem;
  display: block;
  overflow-x: auto;
}
.legal-tabla th, .legal-tabla td {
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-tabla th {
  background: var(--surface-2);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  white-space: nowrap;
}
.legal-tabla .nota { color: var(--muted); font-size: .82em; }

.aviso-suave {
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .9rem;
}
.aviso-suave { background: var(--blue-soft); border: 1px solid #c5e0f5; color: var(--text); }

.actualizado { margin-top: 2.5rem; font-size: .82rem; color: var(--muted); }

@media (max-width: 700px) {
  .cookies { gap: .8rem; padding: 1rem; }
  .cookies-botones { width: 100%; }
  .cookies-botones button { flex: 1; }
}
