/* =========================================================
   Componentes reutilizables
   ========================================================= */

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font-weight: 800; font-size: var(--fs-sm);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform 120ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn-play { background: #fff; color: #0B0D10; }                 /* acción principal sobre billboard */
.btn-glass { background: rgba(109,117,127,.55); color: #fff; }   /* secundaria sobre imagen */
.btn-primary { background: var(--sc-red); color: #fff; }
.btn-yellow { background: var(--sc-yellow); color: var(--on-yellow); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-soft { background: var(--surface-2); color: var(--text); }
@media (hover: hover) {
  .btn-play:hover { background: rgba(255,255,255,.82); }
  .btn-glass:hover { background: rgba(109,117,127,.4); }
  .btn-primary:hover { background: var(--red-hover); }
  .btn-yellow:hover { background: #F7F15E; }
  .btn-ghost:hover, .btn-soft:hover { background: var(--surface-3); }
}
.btn-lg { min-height: 52px; padding: 0 28px; font-size: var(--fs-md); }
.btn-lg svg { width: 22px; height: 22px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-xs); }
.btn-round { width: 44px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(11,13,16,.4); color: #fff; }
.btn-round.btn-lg { width: 52px; }
@media (hover: hover) { .btn-round:hover { border-color: #fff; background: rgba(255,255,255,.12); } }
.btn[aria-pressed="true"]:not(.btn-primary):not(.btn-play) { background: var(--sc-yellow); color: var(--on-yellow); border-color: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.is-confirming { background: var(--sc-red); color: #fff; border-color: transparent; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; } }

/* ---------- Chips / tags / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-weight: 700; font-size: var(--fs-sm); color: var(--text-2);
  cursor: pointer; transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
}
.chip svg { width: 16px; height: 16px; }
@media (hover: hover) { .chip:hover { border-color: rgba(255,255,255,.4); color: var(--text); } }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0B0D10; }
@media (pointer: coarse) { .chip { min-height: 44px; } }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 4px; background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; }
.tag-outline { background: transparent; border: 1px solid rgba(255,255,255,.4); color: var(--text); }
.badge-demo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--yellow-soft); color: var(--sc-yellow); font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge-demo svg { width: 14px; height: 14px; }

/* Puntuaciones: externa (neutra, con fuente) vs. propia (marca) */
.score { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 4px; font-weight: 800; font-size: var(--fs-xs); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score svg { width: 12px; height: 12px; }
.score-ext { background: rgba(11,13,16,.85); color: var(--sc-yellow); }
.score-ext small { color: var(--text-3); font-weight: 700; font-size: 10px; }
.score-sc { background: var(--sc-red); color: #fff; }
.score-sc small { opacity: .85; font-size: 10px; }
.score-match { color: #9EDB4A; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--text); font-size: 16px;   /* ≥16px evita el zoom en iOS */
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23BCC3CC' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.select option { background: var(--surface); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--sc-yellow); box-shadow: 0 0 0 3px rgba(240,233,35,.22); }
.input[aria-invalid="true"] { border-color: var(--red-text); }
.help { font-size: var(--fs-xs); color: var(--text-3); }
.help.error { color: var(--red-text); }
.help.ok { color: #9EDB4A; }

/* Buscador */
.searchbar { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 6px 6px 6px 18px; transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.searchbar svg.lead { width: 22px; height: 22px; color: var(--text-3); flex-shrink: 0; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 18px; font-weight: 600; padding: 12px 4px; }
.searchbar input::placeholder { color: var(--text-3); font-weight: 500; }
.searchbar input:focus { outline: none; }
.searchbar input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.searchbar:focus-within { border-color: var(--sc-yellow); box-shadow: 0 0 0 3px rgba(240,233,35,.22); }
.searchbar .btn { min-height: 48px; }
@media (max-width: 560px) { .searchbar .btn span { display: none; } .searchbar .btn { padding: 0 14px; } .searchbar input { font-size: 16px; } }

/* ---------- Filas a sangre (estilo plataforma) ---------- */
.row { padding-top: var(--s-7); position: relative; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-inline: var(--gutter); margin-bottom: var(--s-3); }
.row-head h2 { font-size: var(--fs-2xl); letter-spacing: -.01em; }
.row-head p { color: var(--text-3); font-size: var(--fs-sm); margin-top: 2px; }
.row-head .more { color: var(--text-2); font-weight: 700; font-size: var(--fs-sm); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; min-height: 44px; transition: color var(--t-fast) ease; }
.row-head .more svg { width: 16px; height: 16px; }
@media (hover: hover) { .row-head .more:hover { color: var(--sc-yellow); } }

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; gap: 8px;
  grid-auto-columns: var(--col, clamp(140px, 13vw, 200px));
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 12px var(--gutter) 24px; margin: -12px 0 -24px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.rail.is-land { --col: clamp(240px, 22vw, 340px); }
.rail.is-top { --col: clamp(200px, 19vw, 290px); gap: 4px; }
.rail-btn {
  position: absolute; top: 0; bottom: 0; z-index: var(--z-raised); width: var(--gutter); min-width: 44px;
  display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; color: #fff;
  background: rgba(11,13,16,.55); opacity: 0; transition: opacity var(--t-fast) ease, background-color var(--t-fast) ease;
}
.rail-btn svg { width: 28px; height: 28px; transition: transform var(--t-fast) var(--ease-out); }
.rail-btn.prev { left: 0; } .rail-btn.next { right: 0; }
.rail-wrap:hover .rail-btn, .rail-btn:focus-visible { opacity: 1; }
@media (hover: hover) { .rail-btn:hover { background: rgba(11,13,16,.8); } .rail-btn:hover svg { transform: scale(1.2); } }
.rail-btn[hidden] { display: none; }
@media (hover: none) { .rail-btn { display: none; } }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--s-5) var(--s-3); }
.grid-cards.list-view { grid-template-columns: 1fr; gap: var(--s-2); }

/* ---------- Arte generado (sin imágenes con derechos) ---------- */
.art {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-sm);
  background: linear-gradient(155deg, var(--p1, #344F91) 0%, var(--p2, #15191D) 85%);
}
.art::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 45% at 72% 22%, rgba(255,255,255,.26), transparent 62%),
    radial-gradient(80% 60% at 0% 100%, rgba(0,0,0,.6), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px);
}
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art__title {
  position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 12px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(.85rem, .62rem + .55vw, 1.12rem); line-height: .95; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.65); overflow-wrap: anywhere;
}
.art__brand { position: absolute; z-index: 1; top: 7px; left: 7px; width: 24px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.art__brand img { position: static; width: 24px; height: auto; }
.poster { aspect-ratio: 2 / 3; }
.backdrop { aspect-ratio: 16 / 9; }
.backdrop .art__title { font-size: clamp(1.05rem, .8rem + .8vw, 1.55rem); left: 14px; right: 16px; bottom: 14px; }

/* ---------- Tarjeta póster ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 8px; container-type: inline-size; }
.card__media { position: relative; display: block; border-radius: var(--r-sm); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
@media (hover: hover) { .card__media:hover { transform: scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,.6), 0 0 0 2px #fff; } }
.card__media:focus-visible { outline-offset: 2px; }
.card__media .score { position: absolute; z-index: var(--z-raised); left: 8px; bottom: 8px; }
.card__media .art__title { bottom: 36px; }
.card__save { position: absolute; z-index: var(--z-raised); right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: #fff; opacity: 0; transition: opacity var(--t-fast) ease; }
.card__save::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(11,13,16,.75); border: 1px solid var(--line-strong); transition: background-color var(--t-fast) ease; }
.card__save svg { position: relative; width: 16px; height: 16px; }
.card:hover .card__save, .card__save:focus-visible, .card__save[aria-pressed="true"] { opacity: 1; }
.card__save[aria-pressed="true"]::before { background: var(--sc-yellow); border-color: transparent; }
.card__save[aria-pressed="true"] { color: var(--on-yellow); }
@media (hover: none) { .card__save { opacity: 1; } }
.card__title { font-weight: 700; font-size: var(--fs-sm); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .card__title a:hover { color: var(--sc-yellow); } }
.card__meta { font-size: var(--fs-xs); color: var(--text-3); display: flex; gap: 8px; white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.card__meta > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.card__actions { display: none; }

.list-view .card { flex-direction: row; gap: var(--s-4); align-items: center; padding: 8px; background: var(--surface); border-radius: var(--r-md); }
.list-view .card__media { width: 72px; flex-shrink: 0; }
.list-view .card__media .score, .list-view .card__media .art__title, .list-view .card__media .art__brand { display: none; }
.list-view .card__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.list-view .card__save { opacity: 1; position: relative; order: 3; }
.list-view .card__title { font-size: var(--fs-md); }
.list-view .card__actions { display: flex; gap: 6px; order: 2; }
@container (max-width: 520px) { .list-view .card__actions { display: none; } }

/* ---------- Tarjeta horizontal (backdrop) con panel al pasar el mouse ---------- */
.land { position: relative; }
.land__link { display: block; border-radius: var(--r-sm); }
.land__panel { display: grid; gap: 6px; padding: 10px 2px 0; }
.land__panel h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.land__meta { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.land__actions { display: flex; gap: 6px; }
.land__actions .btn-round { width: 36px; min-height: 36px; border-width: 1.5px; }
.land__actions .btn-round svg { width: 16px; height: 16px; }
.land__actions .btn-round.is-play { background: #fff; color: #0B0D10; border-color: #fff; }
.land__actions .btn-round[aria-pressed="true"] { background: var(--sc-yellow); border-color: var(--sc-yellow); color: var(--on-yellow); }
@media (pointer: coarse) { .land__actions .btn-round { width: 44px; min-height: 44px; } }
@media (hover: hover) and (min-width: 900px) {
  .land { transition: transform var(--t-med) var(--ease-out); transform-origin: center 30%; }
  .land__card { border-radius: var(--r-sm); transition: box-shadow var(--t-med) var(--ease-out), background-color var(--t-med) ease; }
  .land:hover, .land:focus-within { transform: scale(1.08); z-index: var(--z-raised); }
  .land:hover .land__card, .land:focus-within .land__card { background: var(--surface); box-shadow: 0 18px 40px rgba(0,0,0,.7); }
  .land__panel { padding: 10px 12px 12px; }
  .rail > :first-child .land { transform-origin: left 30%; }
  .rail > :last-child .land { transform-origin: right 30%; }
}

/* ---------- Top 10: numerales gigantes ---------- */
.top { position: relative; display: grid; grid-template-columns: 48% 52%; align-items: end; height: 100%; }
.top__num {
  font-family: var(--font-display); font-weight: 800; line-height: .78; letter-spacing: -.08em;
  font-size: clamp(7rem, 11vw, 12rem); text-align: right; margin-right: -14px;
  color: var(--bg); -webkit-text-stroke: 3px rgba(255,255,255,.55); paint-order: stroke fill;
  user-select: none; font-variant-numeric: tabular-nums;
}
.top:nth-child(n) .top__num { position: relative; z-index: 0; }
.top .card__media { z-index: 1; }
.rail > :first-child .top__num { -webkit-text-stroke-color: var(--sc-yellow); }
@media (max-width: 600px) { .top__num { font-size: 6.5rem; -webkit-text-stroke-width: 2px; } }

/* ---------- Mosaicos de marca (accesos) ---------- */
.brand-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); padding-inline: var(--gutter); }
.btile {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9;
  display: grid; place-items: center; text-align: center; padding: 12px;
  border-radius: var(--r-md); background: linear-gradient(160deg, var(--t1), var(--t2));
  box-shadow: 0 10px 26px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.08);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.btile svg { width: 34px; height: 34px; margin-bottom: 6px; }
.btile strong { display: block; font-family: var(--font-display); font-size: clamp(1rem, .8rem + .6vw, 1.3rem); letter-spacing: -.01em; }
.btile span { display: block; font-size: var(--fs-xs); opacity: .9; margin-top: 2px; }
.btile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 0%, rgba(255,255,255,.22), transparent 70%); }
@media (hover: hover) { .btile:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,.6), inset 0 0 0 3px rgba(255,255,255,.85); } }
.btile:focus-visible { box-shadow: inset 0 0 0 3px var(--sc-yellow); outline: none; }
.btile--red { --t1: #E04646; --t2: #7A1414; color: #fff; }
.btile--blue { --t1: #4C6CC0; --t2: #1A2850; color: #fff; }
.btile--yellow { --t1: #F6EF4A; --t2: #B5AD0A; color: var(--on-yellow); }
.btile--green { --t1: #93C83A; --t2: #3E5C0E; color: #0B0D10; }
.btile--coal { --t1: #39424C; --t2: #15191D; color: #fff; }
@media (max-width: 900px) { .brand-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .brand-tiles { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); } .brand-tiles > :first-child { grid-column: 1 / -1; aspect-ratio: 32 / 9; } .btile svg { width: 26px; height: 26px; } }

/* ---------- Review card ---------- */
.review-card { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-4); padding: var(--s-3); border-radius: var(--r-md); background: var(--surface); transition: background-color var(--t-fast) ease; }
@media (hover: hover) { .review-card:hover { background: var(--surface-2); } }
.review-card h3 { font-size: var(--fs-lg); margin: 6px 0; }
.review-card p { color: var(--text-2); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .verdict { margin-top: 8px; font-size: var(--fs-xs); font-weight: 800; color: var(--sc-yellow); }
.review-card .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-3); }
.review-card .art__title, .rank-card .art__title, .reco .art__title, .rank-item .art__title { font-size: .7rem; left: 6px; right: 6px; bottom: 8px; }
.review-card .art__brand, .rank-card .art__brand, .rank-item .art__brand { display: none; }

/* ---------- Ranking card ---------- */
.rank-card { position: relative; display: block; padding: var(--s-5); border-radius: var(--r-md); overflow: hidden; isolation: isolate; background: var(--surface); min-height: 210px; transition: background-color var(--t-fast) ease; }
@media (hover: hover) { .rank-card:hover { background: var(--surface-2); } }
.rank-card h3 { font-size: var(--fs-xl); max-width: 16ch; }
.rank-card p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 8px; max-width: 34ch; }
.rank-card .stack { display: flex; margin-top: var(--s-4); }
.rank-card .stack .poster { width: 54px; margin-right: -12px; box-shadow: 0 6px 16px rgba(0,0,0,.5); outline: 2px solid var(--surface); }
.rank-card .glow { position: absolute; z-index: -1; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; filter: blur(60px); opacity: .45; }

/* ---------- Estados ---------- */
.empty { text-align: center; padding: var(--s-8) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--text-2); display: grid; justify-items: center; gap: var(--s-3); }
.empty img { width: 104px; height: auto; }
.empty h3 { font-size: var(--fs-xl); color: var(--text); }
.empty p { max-width: 46ch; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: rgba(52,79,145,.16); border: 1px solid rgba(111,140,214,.35); font-size: var(--fs-sm); color: var(--text-2); }
.notice strong { color: var(--text); }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-soft); margin-top: 1px; }
.notice--warn { background: var(--yellow-soft); border-color: rgba(240,233,35,.3); }
.notice--warn svg { color: var(--sc-yellow); }
.notice--ok { background: var(--green-soft); border-color: rgba(130,181,42,.35); }
.notice--ok svg { color: #9EDB4A; }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- Toast ---------- */
.toast-zone { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: #fff; color: #0B0D10; padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--shadow-2); animation: toast-in var(--t-med) var(--ease-out); }
.toast svg { width: 18px; height: 18px; color: #4E7A12; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Modal (tráiler) ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--s-4); background: rgba(5,6,8,.86); overscroll-behavior: contain; animation: fade var(--t-med) ease-out; }
.modal[hidden] { display: none; }
.modal__box { width: min(1000px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); animation: pop var(--t-med) var(--ease-out); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 10px 10px 10px 20px; }
.modal__head h2 { font-size: var(--fs-lg); }
.ratio-16x9 { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ratio-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .modal, .modal__box, .toast { animation: none; } }
body.is-locked { overflow: hidden; }

/* Clase antigua: sin animación de entrada por tarjeta (velocidad > adorno) */
.reveal { opacity: 1; }

code { background: var(--surface-2); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
