/* Otra Era - estilos del simulador (styles/simulador.css). Salen de simuladores.html en la ronda 59: se guardan en caché.
   Arrastra rondas superpuestas: los bloques del final mandan. Un cambio nuevo va al final, con su ronda. */
  /* =====================================================================
     Tablero: ocupa exactamente la caja entre el header y el final de la
     pantalla. Se hace scroll dentro de los paneles, nunca de la página.
     ===================================================================== */
  .game-wrap { background: #121110; }
  .board { position: relative; max-width: 1560px; margin-inline: auto; height: calc(100svh - var(--header-h)); display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; overflow: hidden; }
  .board > * { min-width: 0; min-height: 0; }
  .board, .sc-art { --ln-ink: #f3eee4; --ln-ac: #e07a77; }
  .on { color: var(--on-color, #1d1a17); }

  /* Barra superior: título, lugar y año, distintivo, avance automático y reinicio */
  .tb { display: flex; align-items: center; gap: var(--gap-grid); padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
  .tb .tb-gt { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.4rem * var(--display-scale)); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tb .tb-gt span { font-family: var(--font-body); font-size: .8rem; color: var(--ink-mute); margin-left: 8px; }
  .tb-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .tb .icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; flex: 0 0 auto; }
  .tb .icon-btn svg { width: 14px; height: 14px; }
  .tb .icon-btn:focus-visible, .auto:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
  .auto { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: transparent; border: 1px solid var(--line-strong); cursor: pointer; }
  .auto i { position: relative; width: 26px; height: 14px; background: var(--line-strong); }
  .auto i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; background: var(--paper); transition: transform .2s ease; }
  .auto.is-on i { background: var(--green); } .auto.is-on i::after { transform: translateX(12px); }
  #exit-game { display: none; }

  /* Estados */
  .stage { position: relative; padding: var(--gap-grid) var(--gutter); min-height: 0; }
  .play, .setup, .loading, .summary { display: none; height: 100%; min-height: 0; }
  .board.is-setup .setup, .board.is-playing .play, .board.is-done .summary { display: grid; }
  .board.is-loading .loading { display: grid; }
  .play, .setup { grid-template-columns: minmax(380px, 5fr) 7fr; gap: var(--gap-grid); }
  .side, .su-side { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gap-grid); min-height: 0; }
  .tl, .pts, .dec, .su-pick, .sm-card { background: var(--cream); border: 1px solid var(--line); }
  .tl, .pts, .dec, .su-pick { min-height: 0; }

  /* ---------- Línea de vida: números grandes, aire, color solo en lo que importa ---------- */
  .tl { display: flex; flex-direction: column; padding: 18px 22px 14px; }
  .tl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .tl-top h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.35rem * var(--display-scale)); line-height: 1; }
  .tl-top span { font-size: .74rem; color: var(--ink-mute); }
  #tl-toggle { display: none; }
  .tl-head, .tr { display: grid; grid-template-columns: 46px 60px minmax(0, 1fr) repeat(4, 30px); align-items: center; column-gap: 10px; }
  .tl-head { padding: 0 0 8px; border-bottom: 1px solid var(--line-strong); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
  .tl-head .n, .tr .n { text-align: center; }
  .tl-body { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1 1 auto; min-height: 0; }
  .tl-body[style*="--rh"] > .tr { height: var(--rh); min-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
  .tl-body[style*="--rh"] > .tr .gh { display: none; }
  .tl-body.tight > .tr .ta { font-size: 1rem; }
  .tl-body.tight > .tr .tt b, .tl-body.tight > .tr.hist .tt b { font-size: .8rem; }
  .tl-body.tight > .tr .tt small, .tl-body.tight > .tr .ty, .tl-body.tight > .tr.hist .ty { font-size: .7rem; }
  .tl-body.tight > .tr.now .ta { padding: 1px 6px; }
  .tr.fold { opacity: .6; } .tr.fold .ta { letter-spacing: .2em; font-size: 1rem; }
  .tr.strip { display: block; } .tr.strip::before { display: none; }
  .tr.strip .sqs { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; height: 100%; padding-left: 10px; }
  .sq { display: grid; place-items: center; min-width: 24px; height: 16px; padding: 0 3px; font-style: normal; font-family: var(--font-display); font-size: .7rem; background: var(--line); color: var(--ink-soft); }
  .sq.k-great { background: var(--green); color: var(--on-color, #1d1a17); } .sq.k-bad { background: var(--red); color: var(--on-color, #1d1a17); } .sq.k-good { background: #8fb0d9; color: #1d1a17; } .sq.hist { outline: 1.5px solid #e0b35a; outline-offset: -1.5px; }
  .tr { min-height: 34px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: .82rem; position: relative; }
  .tr .ta { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--ink-soft); text-align: left; padding-left: 12px; }
  .tr .ty { font-size: .78rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tr .tt { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
  .tr .tt b { font-weight: 700; flex: 0 1 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .tr .tt small { font-size: .74rem; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; flex: 1 1 0; min-width: 0; }
  .tr .tt small:only-child { flex: 1 1 auto; }
  .tr .n { font-family: var(--font-display); font-size: .92rem; color: var(--ink-mute); }
  .tr .n.up { color: var(--green); } .tr .n.down { color: var(--red); }
  /* resultado jugado: la edad se tiñe y lleva una raya de color, sin caja */
  .tr.past .ta { color: var(--ink); }
  .tr.past::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--line-strong); }
  .tr.k-great::before { background: var(--green); } .tr.k-good::before { background: #a9c6ec; } .tr.k-mixed::before { background: #e8cf8f; } .tr.k-bad::before { background: var(--red); } .tr.k-death::before { background: #f3eee4; }
  .tr.k-great .ta { color: var(--green); } .tr.k-bad .ta { color: var(--red); }
  .tr.fut, .tr.empty { opacity: .45; }
  .tr.fut .ta, .tr.empty .ta { color: var(--ink-mute); }
  /* momento histórico: banda dorada, nombre en la display, año grande */
  .tr.hist { background: linear-gradient(90deg, rgba(224,179,90,.16), rgba(224,179,90,.03)); border-bottom-color: rgba(224,179,90,.4); opacity: 1; }
  .tr.hist .ty { font-family: var(--font-display); font-size: 1.05rem; color: #e0b35a; }
  .tr.hist .tt b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.05rem; color: #f3d9a4; }
  .tr.hist .tt b::before { content: "◆ "; color: #e0b35a; font-size: .8em; }
  .tr.fut.hist { opacity: .6; background: none; border-bottom-color: var(--line); }
  .tr.fut.hist .ty { font-family: var(--font-body); font-size: .78rem; }
  .tr.fut.hist .tt b { font-family: var(--font-body); font-weight: 600; font-size: .78rem; }
  .tr.hist .tt b { max-width: 100%; }
  .tr .mk { color: #e0b35a !important; }
  /* edad actual: la única caja */
  .tr.now { background: rgba(224,122,119,.14); opacity: 1; }
  .tr.now .ta { background: var(--red); color: var(--on-color, #1d1a17); padding: 4px 8px; justify-self: start; }
  .blink { color: var(--red-3) !important; animation: blink 1.2s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .35; } }
  .lk { font-style: normal; } .lk.up { color: var(--green); } .lk.down { color: var(--red); }
  /* vida de famoso: una sola columna; la real, como línea fantasma */
  .tr .gh { grid-column: 3 / -1; font-size: .7rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 2px; }
  .tr .gh::before { content: "┆ "; color: #e0b35a; }
  .tr.ghost { min-height: 24px; opacity: .6; border-bottom-style: dashed; }
  .tr.ghost .ta { font-size: 1rem; color: var(--ink-mute); }
  .tr.ghost .tt small { color: #d9c28f; font-style: italic; }
  .tr.divmark { background: #0f2618; border: 0; margin: 4px 0; }
  .tr.divmark .ta { color: var(--green); }
  .tr.divmark .tt b { color: var(--green); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; max-width: none; }
  .tr.end { margin-top: 8px; padding-top: 8px; border-top: 1.5px solid var(--line-strong); border-bottom: 0; }
  .tr.end .ta { color: var(--ink-mute); }
  .tr.end.dead .ta { background: #000; color: #fff; padding: 4px 6px; justify-self: start; outline: 1px solid var(--line-strong); }
  .tr.end .tt { flex-wrap: wrap; white-space: normal; }
  .tr.end .gd { font-style: normal; font-size: .72rem; color: #d9c28f; flex-basis: 100%; }
  .tl-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: .68rem; color: var(--ink-mute); }
  .tl-leg i { display: inline-block; width: 3px; height: 12px; margin-right: 6px; vertical-align: -2px; }

  /* ---------- Puntos de vida ---------- */
  .pts { padding: 20px 22px; display: grid; gap: 16px; align-content: start; }
  .pt-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--gap-grid); align-items: center; }
  .verdict { display: grid; align-content: center; gap: 6px; min-width: 132px; padding: 12px 14px; background: #2a2623; color: #f3eee4; }
  .verdict b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.45rem; line-height: 1; }
  .verdict span { font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
  .verdict span em { font-style: normal; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; }
  .verdict.lv-libros { background: #e0b35a; color: var(--on-color, #1d1a17); }
  .verdict.lv-medras { background: var(--green); color: var(--on-color, #1d1a17); }
  .verdict.lv-low { background: var(--red); color: var(--on-color, #1d1a17); }
  .verdict.lv-long { background: #a9c6ec; color: #1d1a17; }
  .prog { display: grid; gap: 8px; min-width: 150px; padding: 10px 12px; background: #2a2623; }
  .pg { display: grid; gap: 4px; }
  .pg span { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfc8ba; }
  .pg > i { display: block; height: 6px; background: rgba(243,238,228,.15); }
  .pg > i > i { display: block; height: 100%; background: var(--green); transition: width .5s ease; }
  .pg.lib > i > i { background: #e0b35a; }
  .pg.is-ok span { color: var(--green); } .pg.lib.is-ok span { color: #e0b35a; }
  .ct b small { font-family: var(--font-body); font-size: .62rem; font-weight: 600; color: var(--ink-mute); margin-left: 2px; }
  .verdict.big { padding: 16px 18px; } .verdict.big b { font-size: 2.2rem; }
  .pt-who { min-width: 0; display: grid; gap: 8px; }
  .pt-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.5rem, 2.2vw, 2.1rem) * var(--display-scale)); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .chip { display: inline-block; max-width: 100%; padding: 4px 8px; font-size: .7rem; font-weight: 600; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chip.cls { background: var(--cc); color: var(--on-color, #1d1a17); border-color: var(--cc); }
  .pt-age { display: grid; justify-items: end; text-align: right; }
  .pt-age span { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
  .pt-age b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(3rem, 5vw, 4.6rem) * var(--display-scale)); line-height: .85; color: var(--red); }
  .pt-age em { font-style: normal; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
  .pt-age.bump b { animation: pop .5s cubic-bezier(.2,.8,.2,1); }
  @keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
  .pt-stats, .sm-cts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .ct { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 8px; padding: 10px 12px 12px; background: var(--cream); }
  .ct .l { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); grid-column: 1 / -1; }
  .ct b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2rem; line-height: .9; }
  .ct .d { font-style: normal; font-weight: 800; font-size: .82rem; animation: rise .8s ease both; }
  .ct.up .d { color: var(--green); } .ct.down .d { color: var(--red); }
  .ct .ref { font-style: normal; font-size: .74rem; color: var(--ink-mute); } .ct .ref.up { color: var(--green); } .ct .ref.down { color: var(--red); }
  .ct .bar { grid-column: 1 / -1; display: block; height: 4px; background: var(--line); }
  .ct .bar i { display: block; height: 100%; background: var(--ink); transition: width .5s cubic-bezier(.2,.8,.2,1); }
  .ct.low b { color: var(--red); } .ct.low .bar i { background: var(--red); }
  .ct.up .bar i { background: var(--green); } .ct.down .bar i { background: var(--red); }
  @keyframes rise { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; } }
  .pt-logros { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px dashed var(--line-strong); }
  .lbl { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); flex: 0 0 auto; }
  .pt-logros .empty { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); opacity: .6; }
  .lg { display: flex; gap: 6px; min-width: 0; overflow: hidden; }
  .lgi, .bdg { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; font-size: .72rem; font-weight: 600; background: #e0b35a; color: #1d1a17; white-space: nowrap; }
  .lgi i, .bdg i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; background: #1d1a17; color: #e0b35a; font-size: .66rem; }
  .lgi.more { padding: 4px 8px; background: transparent; color: var(--ink-mute); border: 1px solid var(--line-strong); }
  /* Insignia «¿Y si…?»: píldora redondeada (excepción pedida a la regla sin radios), icono de interrogación, dos estados */
  .sim { display: inline-flex !important; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px !important; border: 1.5px solid #e0b35a; border-radius: 999px; color: #e0b35a; white-space: nowrap; vertical-align: middle; line-height: 1; }
  .sim .sim-ic { width: 22px; height: 22px; flex: none; }
  .sim .sim-ic .ring { fill: #e0b35a; }
  .sim .sim-ic .q { fill: none; stroke: #1d1a17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .sim .sim-ic .dot { fill: #1d1a17; }
  .sim b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.12rem !important; letter-spacing: 0 !important; text-transform: none; }
  .sim span { font-size: .8rem !important; font-weight: 600; letter-spacing: .04em; color: inherit; opacity: .85; padding-left: 8px; border-left: 1px solid currentColor; }
  .sim.is-alt { background: #e0b35a; color: #1d1a17; }
  .sim.is-alt .sim-ic .ring { fill: #1d1a17; }
  .sim.is-alt .sim-ic .q { stroke: #e0b35a; }
  .sim.is-alt .sim-ic .dot { fill: #e0b35a; }
  .sim.is-alt span { opacity: 1; }

  /* ---------- Decisión: pasa X (grande), hago X (grande), explicación en pequeño ---------- */
  .dec { padding: 20px 22px; overflow: hidden; display: grid; gap: 16px; align-content: start; }
  .dec.is-hist { border-color: rgba(224,179,90,.5); background: linear-gradient(180deg, rgba(224,179,90,.08), var(--cream) 40%); }
  .dc-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--gap-grid); align-items: start; }
  .dc-art { aspect-ratio: 1; background: #1d1a17; overflow: hidden; }
  .ill { display: block; width: 100%; height: 100%; color: var(--ink); }
  .dc-txt h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.9rem, 2.8vw, 2.7rem) * var(--display-scale)); line-height: 1; margin: 10px 0 8px; }
  .dc-txt p { margin: 0; font-size: .86rem; color: var(--ink-mute); max-width: 62ch; }
  .pill-gold { border-color: #e0b35a; color: #e0b35a; }
  .mw { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 10px; padding: 6px 10px; border-left: 2px dashed #e0b35a; font-size: .78rem; color: var(--ink-soft); }
  .mw b { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #e0b35a; }
  .opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-grid); }
  .opt { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 14px; align-content: start; padding: 16px 16px 14px 0; text-align: left; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
  .opt .k { grid-row: 1 / 3; display: grid; place-items: center; align-self: stretch; font-family: var(--font-display); font-size: 1.4rem; border-right: 1.5px solid currentColor; opacity: .7; }
  .opt .t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.55rem * var(--display-scale)); line-height: 1.05; }
  .cqs { display: flex; flex-wrap: wrap; gap: 6px; }
  .cq { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line-strong); color: var(--ink-soft); }
  .cq.up { background: rgba(111,191,134,.14); border-color: var(--green); color: var(--green); }
  .cq.down { background: rgba(224,122,119,.14); border-color: var(--red); color: var(--red); }
  .cq.risk { background: var(--red); border-color: var(--red); color: var(--on-color, #1d1a17); }
  .opt::before, .opt::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -2px; width: 140%; aspect-ratio: 1; border-radius: 50% 50% 0 0; transform: translate(-50%, 104%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .opt::before { background: #f3eee4; } .opt::after { width: 60%; background: var(--red); transition-delay: .06s; }
  .opt:hover:not(:disabled), .opt:focus-visible { color: #1d1a17; border-color: #f3eee4; }
  .opt:hover:not(:disabled)::before, .opt:focus-visible::before { transform: translate(-50%, 0); }
  .opt:hover:not(:disabled)::after, .opt:focus-visible::after { transform: translate(-50%, 55%); }
  .opt:hover:not(:disabled) .cq, .opt:focus-visible .cq { color: #1d1a17; border-color: #1d1a17; background: transparent; }
  .opt:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  .opt:disabled { cursor: default; }
  /* Al elegir: las dos tarjetas se quedan donde estaban; el resultado entra en la elegida, en un hueco reservado */
  .opt { grid-template-rows: auto auto 1fr; }
  .opt .res { grid-column: 2; display: grid; gap: 6px; align-content: start; min-height: 92px; padding-top: 8px; border-top: 1px dashed transparent; }
  .opt .res .oc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
  .opt .res .stamp { font-size: calc(1.7rem * var(--display-scale)); }
  .opt .res .res-t { font-size: .84rem; line-height: 1.3; color: var(--ink); }
  .opt .res .luck { padding: 4px 8px; font-size: .72rem; }
  .opt .res small { font-size: .74rem; color: var(--ink-mute); }
  .opt.is-other { opacity: .4; }
  .opt.is-picked { outline: 4px solid var(--oc, #f3eee4); outline-offset: -4px; border-color: var(--oc, #f3eee4); }
  .opt.is-picked .res { border-top-color: var(--line-strong); }
  .opt.o-great, .opt.o-good { --oc: var(--green); } .opt.o-mixed { --oc: #e8cf8f; } .opt.o-bad { --oc: var(--red); } .opt.o-death { --oc: #f3eee4; }
  .opt:disabled:hover::before, .opt:disabled:hover::after { transform: translate(-50%, 104%); }
  .opt:disabled, .opt:disabled:hover { color: var(--ink); }
  .oc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 40%); gap: var(--gap-grid); align-items: center; min-height: 44px; }
  .oc-side { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
  .oc-side .rl { flex: 1 1 200px; }
  .oc-side .rl { padding: 4px 8px; }

  /* Resultado compacto, con avance automático */
  .outcome { display: grid; gap: 10px; align-content: start; animation: rise .4s ease both; }
  .opts.done { grid-template-columns: 1fr; }
  .oc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
  .stamp { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: calc(clamp(2rem, 3vw, 2.8rem) * var(--display-scale)); line-height: 1; text-transform: uppercase; color: var(--st, #f3eee4); animation: stamp .55s cubic-bezier(.2,.8,.2,1) both; }
  .stamp i { font-style: normal; display: grid; place-items: center; width: .9em; height: .9em; font-size: .55em; color: #121110; background: var(--st, #f3eee4); }
  .outcome.great { --st: var(--green); } .outcome.good { --st: #a9c6ec; } .outcome.mixed { --st: #e8cf8f; } .outcome.bad { --st: var(--red); } .outcome.death { --st: #f3eee4; }
  @keyframes stamp { 0% { transform: scale(1.5) rotate(-4deg); opacity: 0; } 60% { transform: scale(.96); opacity: 1; } 100% { transform: none; } }
  .deltas { display: flex; flex-wrap: wrap; gap: 6px 12px; }
  .dl { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
  .dl.up { color: var(--green); } .dl.down { color: var(--red); }
  .outcome p { margin: 0; font-size: .9rem; }
  .rl { display: grid; gap: 2px; padding: 8px 10px; font-size: .8rem; border-left: 3px solid var(--ink); background: var(--paper); }
  .rl b { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
  .rl.yes { border-color: var(--green); } .rl.no { border-color: #e0b35a; } .rl.no b { color: #e0b35a; }
  .luck { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line-strong); font-size: .8rem; animation: rise .6s ease .4s both; }
  .luck b { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
  .luck .lt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .luck.good b, .luck.good .dl { color: var(--green); } .luck.bad b, .luck.bad .dl { color: var(--red); }
  .luck .dl { font-size: .95rem; }
  .die { width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid var(--ink); animation: roll .7s cubic-bezier(.2,.8,.2,1) both; }
  .die i { width: 5px; height: 5px; background: var(--ink); }
  @keyframes roll { 0% { transform: rotate(-200deg) translateX(-30px); opacity: 0; } 70% { transform: rotate(20deg); opacity: 1; } 100% { transform: none; } }
  .fact { font-size: .8rem; color: var(--ink-soft); }
  .fact span:first-child, .fact summary { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-right: 8px; border: 1px solid var(--line-strong); padding: 2px 6px; cursor: pointer; }
  details.fact summary { list-style: none; } details.fact summary::-webkit-details-marker { display: none; }
  details.fact summary::after { content: " +"; } details.fact[open] summary::after { content: " –"; }
  details.fact > span { display: block; margin-top: 6px; }
  .next-btn { position: relative; overflow: hidden; justify-content: space-between; }
  .next-btn::before, .next-btn::after { display: none; }
  .next-btn:hover { background: #fff; }
  .next-btn .next-fill { position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; width: calc(var(--prog, 0) * 100%); background: var(--green); opacity: .45; pointer-events: none; }
  .next-btn .next-l, .next-btn .cd { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
  .next-btn .cd { font-size: .74rem; font-weight: 600; opacity: .85; }
  @media (prefers-reduced-motion: reduce) { .next-btn .next-fill { display: none; } }

  /* ---------- Setup: "¿Quién eres?" arriba, como grupo de radio ---------- */
  .su-side { grid-template-rows: minmax(0, 1fr) auto; }
  .su-pick { padding: 18px 22px 20px; overflow: hidden; }
  .su-pick-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .su-pick-h h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.7rem * var(--display-scale)); }
  .su-pick-h span { font-size: .74rem; color: var(--ink-mute); }
  .su-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .rg-h { grid-column: 1 / -1; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
  .pc { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 28px 10px 10px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; outline: none; transition: border-color .2s ease, background .2s ease; }
  .pc-face { position: relative; display: grid; place-items: end center; height: 58px; background: var(--pc, #46699a); overflow: hidden; }
  .pc-face svg { width: 40px; height: 48px; fill: rgba(0,0,0,.3); }
  .pc-face i { position: absolute; left: 5px; top: 3px; font-style: normal; font-family: var(--font-display); font-size: 1.1rem; color: #1d1a17; }
  .pc-rand .pc-face { place-items: center; background: transparent; border: 1.5px dashed var(--line-strong); font-family: var(--font-display); font-size: 1.8rem; color: var(--ink-mute); }
  .pc-t { display: grid; gap: 2px; min-width: 0; }
  .pc-t b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.08rem; line-height: 1.05; }
  .pc-t span { font-size: .7rem; color: var(--ink-mute); line-height: 1.3; }
  .pc-ok { position: absolute; right: 6px; top: 6px; display: none; place-items: center; width: 20px; height: 20px; font-style: normal; font-size: .8rem; font-weight: 800; background: var(--ink); color: var(--paper); }
  .pc:hover { border-color: var(--line-strong); background: color-mix(in srgb, var(--pc, #8f887c) 14%, var(--paper)); }
  .pc:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  .pc.is-on { border-color: var(--pc, #f3eee4); background: color-mix(in srgb, var(--pc, #8f887c) 26%, var(--paper)); }
  .pc.is-on .pc-ok { display: grid; background: var(--pc, #f3eee4); color: var(--on-color, #1d1a17); }
  .pc.is-on .pc-t span { color: var(--ink-soft); }
  .su-pts .su-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-grid); align-items: end; }
  .su-pts .pt-stats .ct { padding: 6px 10px 8px; } .su-pts .pt-stats .ct b { font-size: 1.4rem; }
  .su-field { display: grid; gap: 6px; }
  .su-field input { font: inherit; font-family: var(--font-display); font-size: calc(1.5rem * var(--display-scale)); color: var(--ink); padding: 6px 10px; border: 1.5px solid var(--line-strong); background: var(--paper); width: 100%; min-width: 0; }
  .su-field input::placeholder { color: var(--ink-mute); opacity: .7; }
  .su-field input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-color: var(--ink); }
  .su-seg { display: inline-flex; border: 1px solid var(--line-strong); }
  .su-seg button { font: inherit; font-size: .78rem; font-weight: 600; padding: 9px 14px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
  .su-seg button.is-on { background: var(--ink); color: var(--paper); }
  .su-seg button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

  /* ---------- Carga (sin cortina de marca) ---------- */
  .loading { place-items: center; text-align: center; background: #121110; color: #f3eee4; }
  .loading .load-year { font-family: var(--font-display); font-size: calc(clamp(4rem, 10vw, 9rem) * var(--display-scale)); line-height: 1; }
  .loading .fluid { display: none; }

  /* ---------- Resumen ---------- */
  .summary { display: none; }
  .board.is-done { height: auto; min-height: calc(100svh - var(--header-h)); overflow: visible; }
  .board.is-done .summary { display: block; height: auto; }
  .summary > div:first-child { padding-bottom: 4px; }
  .sm-card { display: grid; gap: 12px; align-content: start; padding: 20px 22px; min-width: 0; }
  .sm-card h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.8rem * var(--display-scale)); line-height: 1; }
  .sm-card h3 small { font-family: var(--font-body); font-size: .8rem; opacity: .75; }
  .sm-card h4 { margin: 4px 0 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
  .sm-big { display: flex; align-items: flex-end; gap: 12px; }
  .sm-big b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(4rem, 7vw, 6.4rem); line-height: .8; color: var(--red); }
  .sm-big span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding-bottom: 6px; }
  .cause { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
  .sm-note { margin: 0; font-size: .74rem; color: var(--ink-mute); }
  .sm-badges { display: flex; flex-wrap: wrap; gap: 6px; }
  .bdg.none { background: transparent; color: var(--ink-mute); border: 1px dashed var(--line-strong); padding: 4px 8px; }
  .sm-foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--gap-grid); flex-wrap: wrap; margin-top: var(--gap-grid); padding: 12px 0; background: var(--paper); border-top: 1px solid var(--line); }
  .sm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
  .sm-lg { display: grid; gap: 8px; }
  /* anónima */
  .sm-anon { display: grid; grid-template-columns: minmax(300px, 4fr) 7fr; gap: var(--gap-grid); align-content: start; align-items: start; }
  .sm-chs { grid-column: 1 / -1; }
  .sm-life { background: #35120f; border-color: rgba(224,122,119,.35); }
  .sm-hist { align-self: stretch; background: linear-gradient(180deg, rgba(224,179,90,.12), var(--cream) 60%); border-color: rgba(224,179,90,.45); }
  .sm-hist .eyebrow { color: #e0b35a; }
  .vh { list-style: none; margin: 0; padding: 0; }
  .vh li { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(224,179,90,.25); }
  .vh-y { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: #e0b35a; }
  .vh b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.02rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vh li b { color: var(--ink); }
  .vh li.k-mixed .vh-k { background: #e8cf8f; color: #1d1a17; }
  .vh-c { font-size: .78rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vh-c::before { content: "→ "; }
  .vh-k { padding: 2px 8px; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: var(--line); }
  .vh li.k-great .vh-k { background: var(--green); color: var(--on-color, #1d1a17); } .vh li.k-good .vh-k { background: #8fb0d9; color: #1d1a17; } .vh li.k-bad .vh-k { background: var(--red); color: var(--on-color, #1d1a17); } .vh li.k-death .vh-k { background: #000; color: #fff; }
  .sm-chs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap-grid); }
  .sm-ch { --cb: #0f2618; --ca: var(--green); background: var(--cb); border: 1px solid color-mix(in srgb, var(--ca) 40%, transparent); border-top: 4px solid var(--ca); }
  .sm-ch.ch-1 { --cb: #2c2210; --ca: #e0b35a; } .sm-ch.ch-2 { --cb: #2a1626; --ca: #c99bbd; }
  .sm-ch .eyebrow { color: var(--ca); }
  .sm-ch .ch-cts { background: color-mix(in srgb, var(--ca) 30%, transparent); }
  .sm-ch .ch-cts div { background: var(--cb); }
  .sm-ch .ch-cts b { color: var(--ca); }
  .ch-ev { margin: 0; font-size: .8rem; line-height: 1.5; color: #f3eee4; }
  .ch-cts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
  .ch-cts div { display: grid; gap: 4px; padding: 8px 10px; background: var(--cream); }
  .ch-cts b { font-family: var(--font-display); font-size: 1.8rem; line-height: .9; }
  .ch-cts span { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
  .sm-rest { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  /* famoso */
  .sm-fam2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); align-content: start; }
  .sf-hero { grid-column: 1 / -1; display: grid; gap: 10px; padding: 16px 22px; background: #0f2618; border: 1px solid rgba(111,191,134,.35); }
  .sf-hero.worse { background: #35120f; border-color: rgba(224,122,119,.35); }
  .sf-hero.even { background: #1c1a17; border-color: var(--line-strong); }
  .sf-hero h2 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.6rem, 2.4vw, 2.3rem) * var(--display-scale)); line-height: 1.04; }
  .sf-end { margin: 0; font-size: .95rem; color: #cfc8ba; max-width: 80ch; }
  .sf-rep { margin: 4px 0 0; font-size: .82rem; color: var(--ink-soft); } .sf-rep b { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #e0b35a; margin-right: 6px; }
  .sf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .vchip { display: inline-block; padding: 6px 12px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; background: #2a2623; color: #f3eee4; }
  .vchip.lv-medras { background: var(--green); color: var(--on-color, #1d1a17); } .vchip.lv-low { background: var(--red); color: var(--on-color, #1d1a17); } .vchip.lv-libros { background: #e0b35a; color: #1d1a17; }
  .sf-axis { grid-column: 1 / -1; }
  /* eje de edad compartido */
  .ax { position: relative; display: grid; gap: 8px; padding: 4px 0 0; }
  .ax-hist { position: relative; height: 48px; margin-left: 56px; }
  .ax-h { position: absolute; top: 0; bottom: 0; padding-left: 5px; border-left: 1px solid rgba(224,179,90,.7); font-size: .62rem; color: #d9c28f; white-space: nowrap; line-height: 1.1; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .ax-h.t1 { padding-top: 16px; } .ax-h.t2 { padding-top: 32px; }
  .ax-h.rt { transform: translateX(-100%); padding-left: 0; padding-right: 5px; border-left: 0; border-right: 1px solid rgba(224,179,90,.7); text-align: right; }
  .ax-h b { font-weight: 700; color: #f3d9a4; }
  .ax-tk { position: absolute; bottom: 0; width: 1px; height: 10px; background: rgba(224,179,90,.7); }
  .ax-tk::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; background: #e0b35a; }
  .ax-tr { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: center; }
  .ax-l { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
  .ax-line { position: relative; height: 22px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10%); }
  .ax-bar { position: absolute; top: 8px; height: 6px; background: var(--ink-mute); }
  .ax-tr.mine .ax-bar { background: var(--ink); }
  .ax-ev { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; background: var(--ink-soft); outline: 2px solid var(--cream); }
  .ax-ev.k-great { background: var(--green); } .ax-ev.k-good { background: #8fb0d9; } .ax-ev.k-bad { background: var(--red); } .ax-ev.k-death { background: #f3eee4; }
  .ax-ev.k-skip { background: transparent; outline: 1.5px dashed var(--ink-mute); }
  .ax-end { position: absolute; top: 0; transform: translateX(6px); font-family: var(--font-display); font-size: .95rem; white-space: nowrap; }
  .ax-split { position: absolute; top: 52px; bottom: 18px; width: 2px; background: var(--red); }
  .ax-split em { position: absolute; bottom: 2px; left: 4px; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--red); }
  .ax-ticks { position: relative; height: 14px; margin-left: 56px; font-size: .62rem; color: var(--ink-mute); }
  .ax-ticks i { position: absolute; font-style: normal; transform: translateX(-50%); }
  .ax-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .68rem; color: var(--ink-mute); }
  .ax-leg i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; background: var(--ink-soft); }
  .ax-leg i.k-great { background: var(--green); } .ax-leg i.k-good { background: #8fb0d9; } .ax-leg i.k-bad { background: var(--red); } .ax-leg i.k-skip { background: transparent; outline: 1.5px dashed var(--ink-mute); outline-offset: -1px; } .ax-leg i.ax-split-l { width: 2px; background: var(--red); }
  .sm-diffs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .sm-diffs li { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .sm-diffs li.is-first { background: #0f2618; padding: 10px; border: 1px solid rgba(111,191,134,.35); }
  .df-a { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--red); }
  .df-r, .df-m { display: grid; gap: 2px; min-width: 0; }
  .df-r b, .df-m b { font-size: .86rem; line-height: 1.2; } .df-r { opacity: .75; }
  .df-r small, .df-m small { font-size: .72rem; }
  .k-great { color: var(--green); } .k-good { color: #8fb0d9; } .k-bad, .k-death { color: var(--red); }
  .pb { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .78rem; }
  .pb-l { color: var(--ink-mute); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .pb-bars { display: grid; gap: 3px; }
  .pb-bars i { display: block; height: 6px; min-width: 2px; }
  .pb-r { background: var(--ink-mute); } .pb-m { background: var(--ink); }
  .pb-v { font-family: var(--font-display); white-space: nowrap; } .pb-v em { font-style: normal; font-size: .8rem; } .pb-v em.up { color: var(--green); } .pb-v em.down { color: var(--red); }
  .sc-d { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .8rem; }
  .sc-d div { display: grid; gap: 2px; }
  .fid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
  .fid > i { display: block; height: 8px; background: var(--line); } .fid > i > i { display: block; height: 100%; background: #e0b35a; }
  .fid b { font-family: var(--font-display); }
  .sm-epi { margin: 0; font-size: .78rem; color: var(--ink-soft); }
  .ds-t { margin: 0; font-size: .84rem; line-height: 1.45; } .ds-t b { font-weight: 800; color: var(--ink); white-space: nowrap; }
  .ds { position: relative; height: 80px; margin-top: 18px; border-bottom: 1px solid var(--line-strong); }
  .ds > i { position: absolute; bottom: 0; background: var(--ink-mute); outline: 1px solid var(--cream); }
  .ds-real, .ds-me { position: absolute; top: -16px; bottom: 0; width: 2px; }
  .ds-real { background: #e0b35a; } .ds-me { background: var(--red); }
  .ds-real em, .ds-me em { position: absolute; top: -2px; left: 4px; font-style: normal; font-size: .66rem; font-weight: 700; white-space: nowrap; }
  .ds-real em { color: #e0b35a; } .ds-me em { color: var(--red); top: 12px; }
  .ds-me.l em, .ds-real.l em { left: auto; right: 4px; }
  .ds-ax { display: flex; justify-content: space-between; font-size: .62rem; color: var(--ink-mute); }

  /* ---------- Pantallas intermedias: ocupan el tablero ---------- */
  .pop { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--gap-grid); background: #121110; }
  .pop[hidden] { display: none; }
  .pop-bg { display: none; }
  .pop-card { position: relative; width: min(1040px, 100%); max-height: 100%; overflow: auto; background: #35120f; color: #f3eee4; border: 1px solid rgba(224,122,119,.35); animation: popin .5s cubic-bezier(.2,.8,.2,1) both; }
  .pop-card.div { background: #0f2618; border-color: rgba(111,191,134,.35); }
  .pop-card.death { background: #0b0a09; border-color: var(--line-strong); }
  .pop-card.share { background: #1c1a17; border-color: var(--line-strong); }
  @keyframes popin { 0% { transform: translateY(30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
  .pop-card.hist, .pop-card.death { display: grid; grid-template-columns: 1fr 1fr; }
  .pop-art { background: rgba(0,0,0,.35); min-height: 360px; }
  .pop-art .ill { height: 100%; }
  .pop-body { display: grid; gap: 12px; align-content: center; padding: clamp(22px, 3vw, 44px); }
  .pop-body .eyebrow { color: #e0b35a; }
  .pop-y { font-family: var(--font-display); font-size: calc(clamp(3rem, 6vw, 5.2rem) * var(--display-scale)); line-height: .85; color: var(--red); }
  .pop-y small { font-size: .35em; color: #f3eee4; }
  .pop-card.div .pop-y, .pop-card.div h2 { color: var(--green); }
  .pop-body h2 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(2.1rem, 3.6vw, 3.1rem) * var(--display-scale)); line-height: 1; color: var(--red-3); }
  .pop-body p { margin: 0; font-size: 1rem; color: #cfc8ba; }
  .pop-body .fact { color: #cfc8ba; } .pop-body .fact span:first-child { color: #f3eee4; border-color: rgba(243,238,228,.45); }

  .pop-body .pop-cta { justify-self: stretch; justify-content: center; min-height: 64px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; }
  .pop-body .pop-cta::before, .pop-body .pop-cta::after { display: none; }
  .pop-body .pop-cta:hover, .pop-body .pop-cta:focus-visible { background: #f0b4b2; color: #1d1a17; }
  .pop-3 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 4px 0 0; }
  .pop-3 dt { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e0b35a; padding-top: 3px; }
  .pop-3 dd { margin: 0; font-size: .95rem; color: #f3eee4; }
  .pop-card .fact { font-size: .74rem; }
  .pop-card.hist .pop-art, .pop-card.death .pop-art { --ln-ink: #f3eee4; --ln-ac: #f0b4b2; --ln-w: 1.3; padding: 18px; }
  .pop-x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: transparent; color: #f3eee4; border: 1px solid rgba(243,238,228,.45); cursor: pointer; }
  .pop-x svg { width: 14px; height: 14px; }
  .pop-x:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
  .pop-axis { padding: 0 clamp(22px, 3vw, 44px); --cream: transparent; }
  .pop-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--gap-grid); padding: var(--gap-grid) clamp(22px, 3vw, 44px) 0; }
  .pc-col { display: grid; gap: 8px; align-content: start; padding: 16px; background: rgba(0,0,0,.25); border: 1px solid rgba(243,238,228,.2); }
  .pc-col.real { border-style: dashed; }
  .pc-col.mine { border-color: var(--green); }
  .pc-col.mine.k-death { border-color: var(--red); }
  .pc-art { aspect-ratio: 16 / 7; background: rgba(0,0,0,.35); overflow: hidden; }
  .pc-col b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.35rem; line-height: 1.05; color: #f3eee4; }
  .pc-col small { font-size: .8rem; color: #cfc8ba; }
  .pc-col span.k-great, .pc-col span.k-good, .pc-col span.k-bad, .pc-col span.k-death { font-weight: 700; font-size: .84rem; }
  .pc-vs { align-self: center; font-family: var(--font-display); font-size: 2rem; color: var(--green); }
  .pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: var(--gap-grid) clamp(22px, 3vw, 44px) clamp(22px, 3vw, 32px); }
  .share-url { display: grid; gap: 4px; flex: 1 1 320px; }
  .share-url input { font: inherit; font-size: .8rem; padding: 8px 10px; background: rgba(0,0,0,.3); color: #f3eee4; border: 1px solid rgba(243,238,228,.3); }

  /* ---------- Pantallas medianas y bajas ---------- */
  @media (max-width: 1180px) {
    .play, .setup { grid-template-columns: minmax(320px, 4fr) 6fr; }
    .su-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm-fam2 { grid-template-columns: 1fr 1fr; }
  }
  @media (max-height: 820px) and (min-width: 901px) {
    .pts { padding: 14px 18px; gap: 12px; }
    .verdict { padding: 10px 12px; } .verdict b { font-size: 1.25rem; }
    .ct { padding: 8px 10px 10px; } .ct b { font-size: 1.7rem; }
    .dec { padding: 16px 18px; gap: 12px; }
    .dc-head { grid-template-columns: 92px minmax(0, 1fr); }
    .dc-txt h3 { font-size: calc(2rem * var(--display-scale)); margin: 8px 0 6px; }
    .opt { padding: 12px 14px 12px 0; } .opt .t { font-size: calc(1.35rem * var(--display-scale)); }
    .pt-age b { font-size: calc(3.6rem * var(--display-scale)); }
    .tr { min-height: 30px; padding: 2px 0; } .tr .ta { font-size: 1.15rem; }
    .tl { padding: 14px 16px 10px; } .tl-leg { display: none; }
    .su-pick { padding: 12px 18px 14px; } .su-pick-h { margin-bottom: 6px; } .su-pick-h h3 { font-size: 1.35rem; } .pc-face { height: 40px; } .pc { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 6px 24px 6px 6px; } .pc-t b { font-size: .95rem; } .pc-t span { font-size: .64rem; line-height: 1.25; } .su-cards { gap: 6px; }
    .su-pts .pt-stats { display: none; } .su-pts { gap: 10px; padding: 12px 18px; }
    .pop-art { min-height: 0; max-height: 52vh; }
    .play .pt-logros { display: none; } .tb .sim { height: 28px; }
    .opt .res .luck { grid-template-columns: auto minmax(0, 1fr) auto; } .opt .res .luck .die { display: none; }
    .dec.has-mw .dc-txt p { display: none; } .dec.has-mw .mw { margin-top: 4px; }
    .opt .res { min-height: 78px; padding-top: 6px; gap: 4px; } .opt .res .stamp { font-size: 1.4rem; } .opt .res .res-t { font-size: .8rem; }
    .opt .t { font-size: calc(1.25rem * var(--display-scale)); } .oc-row { min-height: 40px; }
    .pop-body { padding: 22px 28px; gap: 8px; } .pop-y { font-size: 3rem; } .pop-body h2 { font-size: 2rem; }
    .pc-art { display: none; } .pop-cols { padding-top: 12px; } .pop-foot { padding: 12px 28px 18px; } .pop-card { overflow: hidden; }
  }
  @media (min-width: 1700px) { .su-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dc-head { grid-template-columns: 150px minmax(0, 1fr); } }

  /* ---------- Móvil: pantalla completa y fija durante la partida ---------- */
  @media (max-width: 900px) {
    .board { height: auto; min-height: calc(100svh - var(--header-h)); overflow: visible; }
    .setup, .play { grid-template-columns: minmax(0, 1fr); height: auto; }
    .su-side { order: -1; grid-template-rows: auto auto; }
    .su-tl .tl-body { max-height: 320px; }
    .sm-anon, .sm-fam2 { grid-template-columns: minmax(0, 1fr); } .sm-hist { grid-row: auto; } .sm-rest { grid-template-columns: 1fr; }
    .sm-chs { grid-template-columns: 1fr; }
    .summary { height: auto; }
    .summary > div:first-child { overflow: visible; }
    .pop { position: fixed; z-index: 70; }
  }
  @media (max-width: 700px) {
    body.is-game .board { position: fixed; inset: 0; z-index: 60; height: 100dvh; min-height: 0; overflow: hidden; }
    body.is-game #exit-game { display: grid; }
    body.is-game #restart { display: none; }
    .tb .auto span { display: none; }
    #tb-badge { display: none; }
    body.is-game .stage { padding: 10px 12px; overflow: hidden; }
    body.is-game .board.is-done .stage { overflow-y: auto; }
    body.is-game .board.is-playing .play { display: flex; flex-direction: column; gap: 10px; height: 100%; }
    .play > *, .play .side > * { min-width: 0; max-width: 100%; }
    .setup, .su-side, .su-pts, .su-pick { min-width: 0; }
    .play .side { display: contents; }
    .play .pts { order: 1; padding: 12px; gap: 10px; }
    .play .tl { order: 2; padding: 8px 10px; flex: 0 0 auto; }
    .play .dec { order: 3; flex: 1 1 auto; padding: 14px; }
    .pts .pt-top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .verdict { min-width: 0; padding: 6px 8px; } .verdict b { font-size: 1rem; } .verdict span { font-size: .56rem; }
    .pt-name { font-size: 1.2rem; }
    .pt-who .chips .chip:nth-child(n+2) { display: none; }
    .pt-age b { font-size: 2.6rem; }
    .pts .ct { padding: 6px 8px 8px; } .pts .ct b { font-size: 1.3rem; } .pts .ct .l { font-size: .52rem; letter-spacing: .06em; }
    .play .pt-logros { display: none; }
    .play .tl-top { margin: 0 0 6px; } .play .tl-top h3 { font-size: 1rem; }
    #tl-toggle { display: inline-flex; font: inherit; font-size: .72rem; font-weight: 700; padding: 4px 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
    .play .tl-head, .play .tl-leg, .play .tr.end { display: none; }
    .play .tl-body { display: flex; gap: 3px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; }
    .play .tl-body .tr { display: block; min-height: 0; padding: 0; border: 0; flex: 0 0 auto; background: none; opacity: 1; }
    .play .tl-body .tr::before { display: none; }
    .play .tl-body .tr > :not(.ta) { display: none; }
    .play .tl-body .tr .ta { display: grid; place-items: center; width: 32px; height: 28px; padding: 0; font-size: 1rem; background: var(--line); color: var(--ink-soft); }
    .play .tl-body .tr.k-great .ta { background: var(--green); color: var(--on-color, #1d1a17); } .play .tl-body .tr.k-bad .ta { background: var(--red); color: var(--on-color, #1d1a17); } .play .tl-body .tr.k-good .ta { background: #8fb0d9; color: #1d1a17; }
    .play .tl-body .tr.hist .ta { outline: 2px solid #e0b35a; outline-offset: -2px; }
    .play .tl-body .tr.fut .ta, .play .tl-body .tr.ghost .ta { background: transparent; outline: 1px solid var(--line-strong); outline-offset: -1px; }
    .board.show-tl .play .tl { position: absolute; inset: 10px 12px; z-index: 5; display: flex; flex-direction: column; }
    .board.show-tl .play .tl-head, .board.show-tl .play .tr.end { display: grid; }
    .board.show-tl .play .tl-body { display: block; overflow-y: auto; }
    .board.show-tl .play .tl-body .tr { display: grid; padding: 3px 0; border-bottom: 1px solid var(--line); }
    .board.show-tl .play .tl-body .tr > :not(.ta) { display: flex; }
    .board.show-tl .play .tl-body .tr > .ty, .board.show-tl .play .tl-body .tr > .n { display: block; }
    .tl-head, .tr { grid-template-columns: 38px 50px minmax(0, 1fr) repeat(4, 22px); column-gap: 6px; }
    .dc-head { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
    .dc-txt h3 { font-size: 1.6rem; margin: 6px 0; }
    .opt { padding: 10px 12px 10px 0; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; }
    .opt .t { font-size: 1.2rem; }
    .stamp { font-size: 1.8rem; }
    .pop-card.hist, .pop-card.death { grid-template-columns: 1fr; } .pop-art { min-height: 0; aspect-ratio: 16 / 9; }
    .pop-cols { grid-template-columns: 1fr; } .pc-vs { display: none; } .pc-art { display: none; }
    .su-cards { grid-template-columns: 1fr 1fr; }
    .pc { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 8px 22px 8px 8px; } .pc-face { height: 44px; } .pc-t b { font-size: .95rem; }
    .su-pts .su-row { grid-template-columns: 1fr; }
    .ax-hist { display: none; }
  }
  @media (max-width: 420px) { .opts { grid-template-columns: 1fr; } }
  @media (prefers-reduced-motion: reduce) { .blink, .stamp, .pop-card, .pt-age.bump b, .die, .luck, .outcome, .ct .d { animation: none !important; } }

  /* =====================================================================
     Foco: franja superior con los tres indicadores, línea de vida estrecha
     y la decisión a dos tercios. Ningún texto por debajo de 14 px.
     ===================================================================== */
  .board .play { grid-template-columns: minmax(190px, 1fr) minmax(0, 2.6fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "pts pts" "tl dec"; }
  .board .play .side { display: contents; }
  .board .play .pts { grid-area: pts; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "who gg age"; align-items: center; gap: var(--gap-grid); padding: 12px 20px; }
  .board .play .tl { grid-area: tl; padding: 14px 14px 10px; }
  .board .play .dec { grid-area: dec; }
  .pts .pt-top { display: contents; }
  .pts .pt-who { grid-area: who; } .pts .ggs { grid-area: gg; } .pts .pt-age { grid-area: age; }
  .pt-name { font-size: calc(1.7rem * var(--display-scale)); }
  .chip { font-size: .875rem; padding: 3px 8px; }
  .pt-age span { font-size: .875rem; letter-spacing: .06em; }
  .pt-age b { font-size: calc(3.6rem * var(--display-scale)); }
  .pt-age em { font-size: .875rem; }
  /* indicadores */
  .ggs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); }
  .gg { display: grid; gap: 4px; min-width: 0; }
  .gg-h { display: flex; align-items: baseline; gap: 8px; }
  .gg-h .l { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
  .gg-h b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.6rem; line-height: 1; }
  .gg-h .d { font-style: normal; font-weight: 800; font-size: .875rem; }
  .gg.up .d { color: var(--green); } .gg.down .d { color: var(--red); }
  .gg .bar { position: relative; display: block; height: 8px; background: var(--line); }
  .gg .bar > i { display: block; height: 100%; background: var(--ink); transition: width .5s ease; }
  .gg-salud .bar > i { background: #a9c6ec; } .gg-fortuna .bar > i { background: var(--green); } .gg-fama .bar > i { background: #e0b35a; }
  .gg .bar .mk { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #f3eee4; text-decoration: none; }
  .gg .bar .mk.ok { background: var(--green); }
  .gg-s { font-size: .875rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gg-s b.ok { color: var(--green); } .gg-fama .gg-s b.ok { color: #e0b35a; }
  .rk-lo { color: var(--green); } .rk-mid { color: #e8cf8f; } .rk-hi { color: var(--red); }
  /* línea de vida estrecha */
  .board .play .tl-head, .board .play .tl-leg, .board .play #tl-n, .su-tl .tl-head { display: none; }
  .tr.slim { grid-template-columns: 44px 12px minmax(0, 1fr) auto; column-gap: 8px; min-height: 30px; padding: 2px 0; font-size: .9rem; }
  .tr.slim::before { display: none; }
  .tr.slim .ta { padding-left: 2px; font-size: 1.4rem; color: var(--ink); }
  .tr.slim .dot { width: 10px; height: 10px; background: var(--line-strong); }
  .tr.slim.k-great .dot, .tr.slim.k-good .dot { background: var(--green); } .tr.slim.k-mixed .dot { background: #e8cf8f; } .tr.slim.k-bad .dot { background: var(--red); } .tr.slim.k-death .dot { background: #f3eee4; }
  .tr.slim.fut .dot, .tr.slim.ghost .dot { background: transparent; outline: 1px solid var(--line-strong); outline-offset: -1px; }
  .tr.slim.now .dot { background: var(--red); }
  .tr.slim .tw { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tr.slim.hist .tw { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; color: #f3d9a4; }
  .tr.slim .ty { font-family: var(--font-display); font-size: .95rem; color: #e0b35a; }
  .tr.slim.ghost .tw { font-weight: 400; font-style: italic; color: #d9c28f; }
  .tr.slim.divmark { background: #0f2618; } .tr.slim.divmark .ta { color: var(--green); } .tr.slim.divmark .tw { color: var(--green); }
  .tr.slim:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
  .tl-body.tight > .tr.slim .ta { font-size: 1.05rem; } .tl-body.tight > .tr.slim .tw { font-size: .875rem; }
  .tr.end .tt b, .tr.end .gd, .tr.end .tt small { font-size: .875rem; }
  .tr.end .tt.end2 { display: grid; gap: 2px; white-space: nowrap; } .tr.end .tt.end2 b, .tr.end .tt.end2 em { overflow: hidden; text-overflow: ellipsis; }
  .fork .fk-mine.open { stroke-dasharray: 2 8; }
  .pop-axis .fork { max-height: 200px; }
  /* decisión grande */
  .board .dec { padding: 22px 26px; gap: 18px; }
  .board .dc-head { grid-template-columns: 120px minmax(0, 1fr); }
  .board .dc-txt h3 { font-size: 46px; line-height: 1; margin: 10px 0 8px; }
  .board .dc-txt p { font-size: 17px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .pill { font-size: .875rem; letter-spacing: .06em; }
  .board .mw { font-size: .875rem; } .board .mw b { font-size: .875rem; letter-spacing: .04em; }
  .board .opt { padding: 18px 18px 16px 0; gap: 10px 16px; }
  .board .opt .k { font-size: 1.5rem; }
  .board .opt .t { font-size: 27px; line-height: 1.08; }
  .board .cq { font-size: .875rem; padding: 3px 8px; letter-spacing: 0; }
  .board .opt .res { min-height: 88px; }
  .board .opt .res .stamp { font-size: 1.9rem; }
  .board .opt .res .res-t { font-size: 1rem; }
  .board .dl { font-size: 1.2rem; }
  .lchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: .875rem; font-weight: 700; border: 1px solid var(--line-strong); }
  .lchip.good { color: var(--green); border-color: var(--green); } .lchip.bad { color: var(--red); border-color: var(--red); }
  .board .fact, .board .fact summary, .board .fact span:first-child { font-size: .875rem; }
  .board .rl, .board .rl b { font-size: .875rem; }
  .board .next-btn .cd { font-size: .875rem; }
  .tb .tb-gt span, .auto, .sim b, .sim span, .board .lbl, .board .eyebrow { font-size: .875rem; }
  .sim b { letter-spacing: .06em; }
  /* setup y resumen: mínimo 14 px */
  .pc-t span, .su-pick-h span, .rg-h, .su-field .lbl, .tl-top span { font-size: .875rem; }
  .board .ch-cts span, .board .pb-l, .board .sm-note, .board .ax-l, .board .ax-h, .board .ax-ticks, .board .ds-ax, .board .vh-k, .board .vh-c, .board .df-r small, .board .df-m small, .board .bdg, .board .sc-d, .board .ds-real em, .board .ds-me em, .board .ax-split em { font-size: .875rem; }
  .board .sm-big span, .board .ct .l { font-size: .875rem; letter-spacing: .06em; }
  .board .sm-ch .ch-ev { font-size: .875rem; }
  @media (max-height: 820px) and (min-width: 901px) {
    .board .play .pts { padding: 8px 18px; } .pt-age b { font-size: calc(3rem * var(--display-scale)); } .gg-h b { font-size: 1.35rem; }
    .board .dec { padding: 16px 20px; gap: 12px; }
    .board .dc-head { grid-template-columns: 92px minmax(0, 1fr); }
    .board .dc-txt h3 { font-size: 44px; margin: 6px 0 6px; }
    .board .opt { padding: 14px 16px 12px 0; } .board .opt .t { font-size: 26px; }
    .board .opt .res { min-height: 80px; } .board .opt .res .stamp { font-size: 1.6rem; }
  }
  @media (max-width: 900px) {
    .board .play { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pts" "tl" "dec"; }
    .board .play .pts { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who age" "gg gg"; }
  }

  /* Resumen de famoso: camino que se bifurca y balance en pesas */
  .sf-axis { padding: 10px 16px; }
  .fork { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-body); }
  .fork.v { display: none; max-width: 360px; margin: 0 auto; }
  .fork text { fill: #f3eee4; font-size: 15px; }
  .fork .fk-end { font-family: var(--font-display); font-size: 18px; }
  .fork .fk-ml { fill: #cfc8ba; font-size: 14px; }
  .fork .fk-sl { fill: var(--red); font-weight: 700; font-size: 16px; }
  .fork .fk-ic { fill: #121110; font-size: 14px; font-weight: 800; }
  .fork .fk-sh { stroke: #f3eee4; stroke-width: 4; fill: none; }
  .fork .fk-real { stroke: #8f887c; stroke-width: 3; stroke-dasharray: 8 6; fill: none; }
  .fork .fk-mine { stroke-width: 5; fill: none; }
  .fork .fk-split rect { fill: var(--red); }
  .fork .fk-dr rect { fill: #8f887c; } .fork .fk-dm rect { fill: #f3eee4; }
  .fork .fk-m { fill: #e0b35a; } .fork .fk-b { fill: #f3eee4; }
  .df1 { margin: 0; font-size: 1rem; line-height: 1.35; } .df2 { margin: 0; font-size: .9rem; color: var(--ink-soft); } .df2 b { font-size: .875rem; color: #e0b35a; margin-right: 6px; }
  .df-more summary { cursor: pointer; font-size: .875rem; color: var(--ink-mute); } .df-more p { margin: 6px 0 0; font-size: .875rem; }
  .db { display: grid; gap: 10px; }
  .db-r { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
  .db-l { font-size: .875rem; color: var(--ink-soft); }
  .db-t { position: relative; height: 16px; background: linear-gradient(var(--line), var(--line)) center / 100% 2px no-repeat; }
  .db-j { position: absolute; top: 7px; height: 2px; background: var(--ink-soft); }
  .db-a, .db-b { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; }
  .db-a { outline: 2px solid #8f887c; outline-offset: -2px; background: var(--cream); }
  .db-v { font-family: var(--font-display); font-size: .95rem; white-space: nowrap; } .db-v em { font-style: normal; } .db-v em.up { color: var(--green); } .db-v em.down { color: var(--red); }
  .sf-bal .vchip { justify-self: start; font-size: .875rem; }
  @media (max-width: 700px) { .fork.h { display: none; } .fork.v { display: block; } }
  .ds3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ds3 div { display: grid; gap: 4px; align-content: start; }
  .ds3 b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.2rem; line-height: 1; color: #f3eee4; }
  .ds3 span { font-size: .875rem; color: var(--ink-soft); line-height: 1.3; }
  .dsb { position: relative; height: 14px; margin: 34px 0 6px; background: var(--line); }
  .dsb-band { position: absolute; top: 0; bottom: 0; background: #8f887c; }
  .dsb-m { position: absolute; top: -8px; bottom: -8px; width: 3px; margin-left: -1px; }
  .dsb-m.real { background: #e0b35a; } .dsb-m.me { background: var(--red); }
  .dsb-m em { position: absolute; bottom: 100%; margin-bottom: 4px; transform: translateX(-50%); font-style: normal; font-size: .875rem; font-weight: 700; white-space: nowrap; }
  .dsb-m.real em { color: #e0b35a; } .dsb-m.me em { color: var(--red); top: 100%; bottom: auto; margin: 4px 0 0; }
  .dsb-ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; font-size: .875rem; color: var(--ink-mute); }
  .ds3 b.w { font-size: 1.5rem; }
  .dsb-m.l em { transform: none; left: -2px; } .dsb-m.r em { transform: translateX(-100%); left: 3px; }
  .ds-end { margin: 6px 0 0; font-family: var(--font-display); font-size: 1.15rem; }
  /* Dónde te separaste: bloque grande a todo lo ancho, bajo la horquilla */
  .sm-fam2 .sf-diffs { grid-column: 1 / -1; }
  .sm-fam2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv { display: grid; grid-template-columns: auto minmax(0, 1fr) 48px minmax(0, 1fr); gap: var(--gap-grid); align-items: stretch; }
  .dv-age { display: grid; align-content: center; gap: 4px; padding-right: 8px; }
  .dv-age b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 64px; line-height: .9; color: var(--red); white-space: nowrap; }
  .dv-age span { font-family: var(--font-display); font-size: 1.3rem; color: #e0b35a; }
  .dv-col { display: grid; gap: 6px; align-content: start; padding: 14px 16px; }
  .dv-col b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; line-height: 1.1; }
  .dv-col p { margin: 0; font-size: 17px; line-height: 1.35; color: var(--ink-soft); }
  .dv-col.real { border: 2px dashed #8f887c; color: #cfc8ba; } .dv-col.real b { color: #cfc8ba; }
  .dv-col.mine { border: 2px solid var(--oc, #f3eee4); } .dv-col.mine b { color: #f3eee4; }
  .dv-col.mine.k-great, .dv-col.mine.k-good { --oc: var(--green); } .dv-col.mine.k-mixed { --oc: #e8cf8f; } .dv-col.mine.k-bad, .dv-col.mine.k-death { --oc: var(--red); }
  .dv-ic { display: grid; place-items: center; color: var(--red); } .dv-ic svg { width: 40px; height: 40px; }
  .dv-rep { margin: 12px 0 0; padding: 8px 12px; border-left: 4px solid #e0b35a; background: rgba(224,179,90,.1); font-size: 17px; } .dv-rep b { color: #e0b35a; margin-right: 8px; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
  @media (max-width: 900px) { .dv { grid-template-columns: 1fr; } .dv-ic { transform: rotate(90deg); } .sm-fam2 { grid-template-columns: 1fr; } }
  /* Tintes suaves de las tarjetas de decisión */
  .board .opt { background: color-mix(in srgb, var(--tint) 7%, var(--paper)); }
  .board .opt[data-c="a"] { --tint: #e07a77; } .board .opt[data-c="b"] { --tint: #8fb0d9; }
  .board .opt:hover:not(:disabled), .board .opt:focus-visible { background-color: color-mix(in srgb, var(--tint) 12%, var(--paper)); }
  .board .opt.is-picked { background: color-mix(in srgb, var(--oc, #f3eee4) 12%, var(--paper)); }
  /* Planos grandes: símbolos a todo color con la paleta de su época (sin forzar tinta crema) */
  .board svg.p1, .sc-card svg.p1 { --ln-ink: initial; color: inherit; }
  .dc-art svg.p1, .pop-art svg.p1, .pc-art svg.p1, .sc-art svg.p1 { width: 100%; height: 100%; display: block; }
  .pop-card.hist .pop-art:has(svg.p1), .pop-card.death .pop-art:has(svg.p1) { padding: 0; }
  .pc-face svg.face { width: 100%; height: 100%; fill: initial; }
  .pc-fam .pc-face:has(svg.face.p1), .pc-cls .pc-face:has(svg.face.p1) { background: transparent; place-items: stretch; }
  .pt-who:has(.pt-fw) { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .pt-fw { grid-row: span 2; width: 56px; height: 56px; overflow: hidden; } .pt-fw svg { width: 100%; height: 100%; display: block; }
  .sm-life, .sf-hero { position: relative; } .sm-life:has(.sm-fw), .sf-hero:has(.sm-fw) { padding-right: 140px; }
  .sm-fw { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 96px; height: 96px; overflow: hidden; } .sm-fw svg { width: 100%; height: 100%; display: block; }
  .sm-ch { position: relative; } .sm-ch .ch-body { position: absolute; right: 14px; bottom: 0; width: 72px; height: 96px; opacity: .95; }
  /* Epitafio, veredictos de indicadores y fases de la vida */
  .epi { margin: 6px 0 0; padding: 10px 0 2px 16px; border-left: 3px solid #e0b35a; display: grid; gap: 2px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; line-height: 1.3; color: #f3eee4; font-style: italic; }
  .sf-hero .epi { max-width: 70ch; }
  .ct-v { grid-column: 1 / -1; font-size: .875rem; color: #e0b35a; }
  .sv3 { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--ink-soft); } .sv3 b { color: var(--ink-mute); font-weight: 700; margin-right: 4px; }
  .agg { justify-self: start; padding: 4px 10px; font-size: .875rem; font-weight: 800; }
  .agg.ok { background: var(--green); color: var(--on-color, #1d1a17); } .agg.mid { background: #e8cf8f; color: #1d1a17; } .agg.ko { background: var(--red); color: var(--on-color, #1d1a17); }
  .ch-dots { display: flex; flex-wrap: wrap; gap: 4px; } .ch-dots .cd { width: 12px; height: 12px; background: var(--line-strong); }
  .ch-dots .cd.k-great, .ch-dots .cd.k-good { background: var(--green); } .ch-dots .cd.k-mixed { background: #e8cf8f; } .ch-dots .cd.k-bad { background: var(--red); }
  .ch-n { margin: 0; font-size: .875rem; color: var(--ink-soft); }
  .meds { display: flex; flex-wrap: wrap; gap: 10px; }
  .med { display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--ca); background: color-mix(in srgb, var(--ca) 14%, transparent); text-align: center; padding: 6px; }
  .med b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--ca); } .med span { font-size: .8rem; line-height: 1.15; color: #f3eee4; }
  .sm-ch .ch-body { width: 84px; height: 112px; }
  /* Aviso al pie de la página, fuera del tablero */
  .disclaimer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; max-width: 68ch; margin-top: 8px; padding: 20px 22px; border-left: 4px solid #e0b35a; background: color-mix(in srgb, #e0b35a 10%, var(--paper)); }
  .disclaimer .dq { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e0b35a; color: #1d1a17; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
  .disclaimer h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; }
  .disclaimer p { margin: 0 0 8px; font-size: 17px; line-height: 1.5; }
  .disclaimer a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: #e0b35a; text-underline-offset: 3px; }
  /* ---------- Debajo del juego ---------- */
  .sim-intro { padding-top: clamp(40px, 6vw, 80px); }
  .sim-intro h2 { font-size: calc(clamp(2.4rem, 5vw, 4.4rem) * var(--display-scale)); line-height: .92; margin: 8px 0 12px; }
  .sim-intro .lead { max-width: 56ch; margin: 0; }
  .scen-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-grid); }
  .sc-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 0 0 16px; text-align: left; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
  .sc-card .sc-art { display: block; aspect-ratio: 16 / 9; background: #1d1a17; overflow: hidden; }
  .sc-card .sc-art svg { display: block; width: 100%; height: 100%; }
  .sc-card .sc-n { position: absolute; left: 12px; top: 10px; font-family: var(--font-display); font-size: 1.6rem; color: #f3eee4; }
  .sc-card h3 { margin: 0 16px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.4rem * var(--display-scale)); line-height: 1; }
  .sc-card p { margin: 0 16px; font-size: .84rem; color: var(--ink-mute); }
  .sc-card .sc-m { margin: 0 16px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
  .sc-card:hover { border-color: var(--ink); background: var(--cream); }
  .sc-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  .sc-card.is-on { border-color: var(--red); }
  .sc-card.is-on .sc-m::after { content: " - Jugando"; color: var(--red-2); }
  @media (max-width: 1000px) { .scen-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .scen-cards { grid-template-columns: 1fr; } }
  .va-cls { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap-grid); }
  .va-c h3 { margin: 0 0 10px; padding-left: 10px; border-left: 4px solid var(--cc); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.3rem; }
  .va-c .va-grid { grid-template-columns: 1fr 1fr; }
  .va-c .va-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  @media (max-width: 800px) { .va-cls { grid-template-columns: 1fr; } }
  .how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .how > div { padding: 22px 18px 22px 0; }
  .how > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
  .how b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(2.6rem * var(--display-scale)); line-height: 1; color: var(--red); margin-bottom: 8px; }
  .how h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.3rem * var(--display-scale)); margin: 0 0 6px; }
  .how p { margin: 0; font-size: .9rem; color: var(--ink-mute); }
  @media (max-width: 700px) { .how { grid-template-columns: 1fr 1fr; } .how > div { padding: 16px 12px 16px 0; } .how > div:nth-child(3) { border-left: 0; padding-left: 0; } .how > div:nth-child(2) { padding-left: 12px; } }
  .vidas-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
  .va-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .va-stat { padding: 20px 16px 20px 0; }
  .va-stat + .va-stat { padding-left: 16px; border-left: 1px solid var(--line); }
  .va-stat b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(2.4rem, 4vw, 3.6rem) * var(--display-scale)); line-height: 1; }
  .va-stat span { font-size: .84rem; color: var(--ink-mute); }
  .va-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
  .va-lives { list-style: none; margin: 12px 0 0; padding: 0; }
  .va-lives li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .88rem; }
  .va-lives li b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; }
  @media (max-width: 700px) { .va-grid { grid-template-columns: 1fr 1fr; } .va-stat:nth-child(3) { border-left: 0; padding-left: 0; } .va-cols { grid-template-columns: 1fr; } .va-lives li { grid-template-columns: 1fr; gap: 2px; } }
  .ev-list { border-top: 1px solid var(--line-strong); }
  .ev-row { display: grid; grid-template-columns: 56px 1fr 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ev-row .n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(2rem * var(--display-scale)); line-height: 1; color: var(--red); }
  .ev-row h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(1.4rem * var(--display-scale)); margin: 0; line-height: 1; }
  .ev-row .meta { font-size: .78rem; color: var(--ink-mute); margin-top: 4px; }
  .ev-row p { margin: 0; font-size: .9rem; }
  @media (max-width: 700px) { .ev-row { grid-template-columns: 40px 1fr; } .ev-row p { grid-column: 2; } }
  /* ================= Ronda: inicio en dos mitades, puertas, muerte, resumen centrado ================= */
  /* Inicio: ¿Quién eres? grande, dos mitades y el botón abajo a todo lo ancho */
  .board.is-setup .setup { display: block; }
  .su2 { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; max-width: 1320px; margin: 0 auto; }
  .su-q { margin: 0; text-align: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 48px; line-height: 1; outline: none; }
  .su-halves { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-grid); min-height: 0; }
  .su-half { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 12px; min-height: 0; padding: 18px 20px; background: var(--cream); border: 1.5px solid var(--line); transition: border-color .3s; }
  .su-half.is-on { border-color: var(--line-strong); }
  .su-half.hl { animation: su-hl 1.6s ease; }
  @keyframes su-hl { 0%, 60% { border-color: #e0b35a; background: color-mix(in srgb, #e0b35a 12%, var(--cream)); } 100% { border-color: var(--line-strong); } }
  .su-hh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .su-hh h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.7rem; line-height: 1; }
  .su-hh span { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
  .su-half.real .su-hh span { color: #e0b35a; }
  .su-half .su-cards { grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
  .su-namerow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; align-self: start; }
  .su-namerow.is-off { opacity: .45; }
  .su-namerow .su-field input { width: 100%; box-sizing: border-box; font-size: 1.3rem; padding: 8px 12px; background: transparent; }
  .su-namerow .su-seg button { padding: 12px 16px; font-size: .95rem; }
  .board .su-go { width: 100%; justify-content: center; }
  @media (max-height: 820px) and (min-width: 901px) {
    .su2 { gap: 12px; } .su-q { font-size: 44px; } .su-half { padding: 14px 16px; gap: 10px; }
    .su-half .pc { padding: 8px 26px 8px 8px; } .su-half .pc-face { height: 50px; }
  }
  @media (max-width: 900px) { .su-halves { grid-template-columns: 1fr; } .su-q { font-size: 40px; } .su2 { height: auto; } }
  /* Esperas cortas: la puerta del logo dentro del botón y el cursor pensando */
  body.is-thinking, body.is-thinking * { cursor: progress !important; }
  .think { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; position: relative; z-index: 2; }
  .think svg { width: 28px; height: 28px; color: currentColor; }

  /* Botones del juego: rótulo grande y tres arcos del Túnel G que suben desde abajo */

  /* principales: una por pantalla */
  .board :is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again) { min-height: 64px; padding: 0 28px; font-size: 26px; gap: 14px; }
  .board :is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again) .arrow { width: 26px; height: 26px; stroke-width: 2.6; }
   .board .next-btn .next-l .arrow { width: 26px !important; height: 26px !important; }
  .board :is(#again3, #share) { min-height: 54px; padding: 0 20px; font-size: 19px; border-width: 1.5px; }
  .board :is(#again3, #share) .arrow { width: 20px; height: 20px; }

  /* Seguir: bloque crema, el avance automático lo llena con el color del resultado */
  .board .oc-row { min-height: 72px; }
  .board .next-btn { min-height: 68px; justify-content: space-between; background: #f3eee4; color: #1d1a17; border-color: #f3eee4; }
  .board .next-btn:hover { background: #f3eee4; }
  .board .next-btn .next-fill { z-index: -2; opacity: 1; background: var(--nc, #8fb0d9); }
  .board .next-btn.k-great, .board .next-btn.k-good { --nc: var(--green); } .board .next-btn.k-mixed { --nc: #e8cf8f; } .board .next-btn.k-bad { --nc: var(--red); }
  .board .next-btn .next-l { font-size: 25px; }
  .board .next-btn .cd { font-family: var(--font-body); font-size: .95rem; font-weight: 700; }

  /* Opciones A y B: icono de la decisión, se levantan al pasar y sube su tinte */
  .board .opt { grid-template-columns: 76px minmax(0, 1fr); transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .3s, border-color .3s; }
  .board .opt .k { display: grid; align-content: start; justify-items: center; gap: 6px; padding-top: 2px; opacity: 1; color: var(--tint); border-right: 1.5px solid color-mix(in srgb, var(--tint) 45%, transparent); }
  .board .opt .k .oi { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .board .opt .k em { font-style: normal; font-family: var(--font-display); font-size: 1.05rem; line-height: 1; opacity: .85; }
  .board .opt::before { background: color-mix(in srgb, var(--tint) 16%, var(--paper)); }
  .board .opt::after { background: color-mix(in srgb, var(--tint) 26%, var(--paper)); }
  .board .opt:hover:not(:disabled), .board .opt:focus-visible, .board.force-hover .opt:not(:disabled) { color: var(--ink); border-color: var(--tint); transform: translateY(-3px); }
  .board.force-hover .opt:not(:disabled)::before { transform: translate(-50%, 0); } .board.force-hover .opt:not(:disabled)::after { transform: translate(-50%, 55%); }
  .board .opt:hover:not(:disabled) .cq, .board .opt:focus-visible .cq { color: inherit; border-color: currentColor; }
  .board .opt:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; }
  .board .opt:disabled { transform: none; }
  @media (prefers-reduced-motion: reduce) { .board .opt { transition: none; } .board .opt:hover { transform: none; } }

  /* Sello ¿Y si…? */
  .seal { position: relative; display: inline-grid; justify-items: center; gap: 4px; color: #e0b35a; flex: none; }
  .seal svg { width: var(--sz); height: var(--sz); display: block; }
  .seal .sl-o { fill: none; stroke: #e0b35a; stroke-width: 3.5; } .seal .sl-i { fill: none; stroke: #e0b35a; stroke-width: 2; }
  .seal .sl-r { fill: #e0b35a; font-family: var(--font-body); font-size: 10.5px; font-weight: 800; letter-spacing: .5px; }
  .seal .sl-q { fill: #e0b35a; font-family: var(--font-display); font-size: 40px; }
  .seal.is-alt .sl-o { fill: #e0b35a; } .seal.is-alt .sl-i { stroke: #1d1a17; } .seal.is-alt .sl-r, .seal.is-alt .sl-q { fill: #1d1a17; }
  .seal em { font-style: normal; font-size: .875rem; font-weight: 700; color: #e0b35a; white-space: nowrap; }

  /* Pantalla de muerte: causa como titular, dibujo grande y centrado */
  .pop-card.death { display: block; width: min(720px, 100%); text-align: center; }
  .pd { display: grid; justify-items: center; gap: 10px; padding: 28px clamp(22px, 4vw, 48px) 30px; }
  .pd-art, .dd-art { width: min(400px, 100%); aspect-ratio: 4 / 3; overflow: hidden; --ln-ink: #f3eee4; --ln-ac: #f0b4b2; --ln-w: 1.3; margin-bottom: 6px; }
  .pd-art svg, .dd-art svg { width: 100%; height: 100%; display: block; }
  .pd-lbl { font-size: .875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
  .pd-meta, .dd-meta { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
  .pd-h, .dd-h { margin: 0; max-width: 22ch; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1.08; color: #f3eee4; text-wrap: balance; }
  .pd-ctx, .dd-ctx { margin: 0; max-width: 52ch; font-size: 1.05rem; color: var(--ink-soft); }

  .dc-death { display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; text-align: center; }
  .dd-art { width: min(340px, 60%); }
  @media (max-height: 820px) { .pd-art { width: min(320px, 100%); } .dd-art { width: min(260px, 50%); } .pd { padding: 20px 28px 22px; gap: 8px; } }

  /* Etiqueta de resultado: misma forma, solo cambia el color */
  .stp { display: inline-grid; place-items: center; flex: none; width: 152px; height: 30px; padding: 0 8px; box-sizing: border-box; font-family: var(--font-body); font-size: .8rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; background: var(--line-strong); color: #1d1a17; }
  .stp.k-great { background: var(--green); } .stp.k-good { background: #8fb0d9; } .stp.k-mixed { background: #e8cf8f; } .stp.k-bad { background: var(--red); } .stp.k-death { background: #f3eee4; }

  /* Veredicto: sello grande con icono */
  .vseal { --vc: #f3eee4; display: inline-grid; justify-items: center; gap: 8px; min-width: 168px; padding: 16px 18px 14px; border: 2px solid var(--vc); color: var(--vc); background: color-mix(in srgb, var(--vc) 10%, transparent); }
  .vseal svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .vseal b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.9rem; line-height: 1; white-space: nowrap; }
  .vseal.lv-low { --vc: var(--red); } .vseal.lv-long { --vc: #a9c6ec; } .vseal.lv-medras { --vc: var(--green); } .vseal.lv-libros { --vc: #e0b35a; }

  /* Resumen anónimo: bloque centrado */
  .board .sm-anon { grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin: 0 auto; width: 100%; }
  .sm-head { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: var(--gap-grid); align-items: center; padding: 22px 24px; background: #35120f; border: 1px solid rgba(224,122,119,.35); text-align: center; }
  .sh-face { width: 120px; height: 120px; overflow: hidden; justify-self: start; } .sh-face svg { width: 100%; height: 100%; display: block; }
  .sh-v { justify-self: end; }
  .sh-c { display: grid; justify-items: center; gap: 8px; }
  .sm-head .sm-big { display: flex; align-items: baseline; gap: 12px; } .sm-head .sm-big b { font-size: clamp(3.4rem, 6vw, 4.6rem); }
  .sm-head .sm-big span br { display: none; }
  .sm-head .cause { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: #f3eee4; }
  .sm-head .epi { border: 0; padding: 4px 0 0; justify-items: center; max-width: 60ch; font-size: 1.3rem; }
  .sm-gg .sm-cts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); }
  .ct.big-v { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 10px; padding: 12px 14px 14px; }
  .ct.big-v .l { grid-column: 1 / -1; }
  .ct.big-v .ct-v { grid-column: 1; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 28px; line-height: 1.05; color: var(--gc, #f3eee4); }
  .ct.big-v .ct-n { grid-column: 2; font-family: var(--font-display); font-size: 19px; color: var(--ink-soft); }
  .ct.big-v .bar { height: 3px; } .ct.big-v .bar i { background: var(--gc, #f3eee4); }
  .ct-salud { --gc: #a9c6ec; } .ct-fortuna { --gc: var(--green); } .ct-fama { --gc: #e0b35a; }
  .board .vh li { grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; }
  .board .vh-y { font-size: 30px; }
  .vh-m { display: grid; gap: 4px; min-width: 0; }
  .board .vh-m b { font-size: 30px; line-height: 1.05; white-space: normal; }
  .board .vh-m .vh-c { font-size: 1rem; white-space: normal; }
  .ch-n { display: flex; flex-wrap: wrap; gap: 8px; }
  .ch-c { display: inline-flex; align-items: center; gap: 6px; } .ch-c b { font-family: var(--font-display); font-size: 1.3rem; }
  .ch-c .stp { width: 132px; height: 26px; font-size: .74rem !important; }
  /* Logros: medallas */
  .mdl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 22px; margin-top: 6px; }
  .mdl-i { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
  .mdl-c { grid-row: 1 / 3; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 2px solid #e0b35a; background: color-mix(in srgb, #e0b35a 12%, transparent); color: #e0b35a; }
  .mdl-c .mi { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .mdl-i b { align-self: end; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; line-height: 1.1; }
  .mdl-i small { align-self: start; font-size: .875rem; color: var(--ink-mute); }
  .mdl-i:not(:has(small)) b { grid-row: 1 / 3; align-self: center; }
  /* Vida corta: una sola fase, ancha, con el cuerpo grande */
  .sm-anon.is-short .sm-ch { min-height: 280px; padding-right: 260px; }
  .sm-anon.is-short .sm-ch .ch-body { width: 210px; height: 280px; right: 24px; }
  .sm-anon.is-short .sm-ch h3 { font-size: 2.6rem; }
  .sm-anon.is-short .med { width: 120px; height: 120px; } .sm-anon.is-short .med b { font-size: 1.7rem; } .sm-anon.is-short .med span { font-size: .95rem; }
  .sm-anon.is-short .sm-head .epi { font-size: 1.55rem; }
  /* Resumen de personaje: centrado también */
  .board .sm-fam2 { max-width: 1240px; margin: 0 auto; width: 100%; }
  .board .sf-hero { text-align: center; display: grid; justify-items: center; gap: 8px; }
  .board .sf-hero:has(.sm-fw) { padding-left: 140px; padding-right: 140px; }
  .board .sf-hero .epi { border: 0; padding: 4px 0 0; justify-items: center; }
  .board .sf-chips { display: flex; justify-content: center; }
  .sv3 { gap: 10px 26px; }
  .sv3 span { display: grid; gap: 2px; }
  .sv3 em { font-style: normal; font-family: var(--font-display); font-size: 26px; line-height: 1.05; color: var(--gc, #f3eee4); }
  .sv3 b { font-size: .95rem; }
  .sv-salud { --gc: #a9c6ec; } .sv-fortuna { --gc: var(--green); } .sv-fama { --gc: #e0b35a; }
  /* Si 500 personas: marcas Tú y Real más fuertes, con la diferencia */
  .board .dsb-m { top: -16px; bottom: -16px; width: 5px; margin-left: -2px; }
  .board .dsb-m.real { background: #cfc8ba; } .board .dsb-m.me { background: var(--mc, #f3eee4); }
  .board .dsb-m em { padding: 3px 8px; font-size: .95rem; font-weight: 800; color: #1d1a17 !important; }
  .board .dsb-m.real em { background: #cfc8ba; } .board .dsb-m.me em { background: var(--mc, #f3eee4); }
  .dsb-gap { position: absolute; top: 50%; height: 0; border-top: 2px dashed #f3eee4; }
  .dsb-gap em { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-style: normal; font-family: var(--font-display); font-size: 1.15rem; color: #f3eee4; white-space: nowrap; }
  .sm-gg .sm-cts { background: transparent; border: 0; }
  .sm-gg .ct { border: 1px solid var(--line); }
  .board .sm-anon .sm-ch { padding-right: 110px; }
  .board .sm-anon.is-short { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sm-anon.is-short .sm-head, .sm-anon.is-short .sm-gg, .sm-anon.is-short .sm-medals { grid-column: 1 / -1; }
  .sm-anon.is-short .sm-chs { grid-column: 2; grid-template-columns: 1fr; }
  .sm-anon.is-short .sm-hist { grid-column: 1; }
  .board .sm-anon.is-short .sm-ch { min-height: 300px; padding-right: 200px; }
  .sm-anon.is-short .sm-ch .ch-body { width: 170px; height: 240px; right: 18px; bottom: 0; }
  .board .sm-foot { justify-content: center; }

  .board .btn-red:focus-visible:not(:hover) { color: var(--on-color, #1d1a17); border-color: var(--red); }

  .board .next-btn::before, .board .next-btn::after { display: block; }
  .board .next-btn:hover { color: #f3eee4; }
  @media (max-width: 700px) {
    .sm-head { grid-template-columns: 1fr; padding: 18px 16px; }
    .sh-face { justify-self: center; width: 88px; height: 88px; } .sh-v { justify-self: center; }
    .sm-head .sm-big { flex-wrap: wrap; justify-content: center; } .sm-head .cause { font-size: 1.25rem; } .sm-head .epi { font-size: 1.1rem; }
    .sm-gg .sm-cts { grid-template-columns: 1fr; gap: 10px; }
    .board .vh li { grid-template-columns: 64px minmax(0, 1fr); } .board .vh li .stp { grid-column: 2; } .board .vh-y, .board .vh-m b { font-size: 22px; }
    .board .sm-anon.is-short { grid-template-columns: 1fr; } .sm-anon.is-short .sm-chs, .sm-anon.is-short .sm-hist { grid-column: 1; }
    .board .sm-anon .sm-ch, .board .sm-anon.is-short .sm-ch { padding-right: 18px; padding-bottom: 120px; }
    .sm-anon.is-short .sm-ch .ch-body { width: 90px; height: 120px; }
    .mdl { grid-template-columns: 1fr; }
    .su-half .su-cards { grid-template-columns: 1fr; } .su-hh { flex-wrap: wrap; } .su-namerow { grid-template-columns: 1fr; }
    .board .sf-hero:has(.sm-fw) { padding-left: 16px; padding-right: 16px; padding-top: 120px; } .board .sf-hero .sm-fw { top: 16px; right: 50%; transform: translateX(50%); }
    .board :is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again) { font-size: 22px; min-height: 58px; }
    .pd-h { font-size: 30px; } .dd-h { font-size: 28px; }
  }
  /* ================= Móvil (≤700px): partida en una pantalla, hojas a pantalla completa, inicio con pestañas ================= */
  .su-tabs { display: none; }
  @media (max-width: 700px) {
    .board { --gap-grid: 10px; }
    /* barra superior */
    .board .tb { padding: 6px 12px; gap: 8px; min-height: 52px; box-sizing: border-box; }
    .board .tb .tb-gt { font-size: 1.15rem; } .board .tb .tb-gt span { display: none; }
    .board .tb .icon-btn, .board .tb .auto { min-width: 44px; min-height: 44px; }
    /* ---------- Inicio ---------- */
    .board.is-setup .stage { padding: 12px 14px 0; }
    .board .su2 { display: block; height: auto; }
    .board .su-q { font-size: 40px; margin: 4px 0 12px; }
    .su-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1.5px solid var(--line-strong); }
    .su-tabs button { min-height: 48px; font: inherit; font-family: var(--font-display); font-size: 1.2rem; background: transparent; color: var(--ink-soft); border: 0; cursor: pointer; }
    .su-tabs button[aria-selected="true"] { background: #f3eee4; color: #1d1a17; }
    .su-tabs button:focus-visible { outline: 3px solid #e0b35a; outline-offset: 2px; }
    .board .su-halves { display: block; }
    .su2.tab-anon .su-half.real, .su2.tab-real .su-half.anon { display: none; }
    .board .su-half { padding: 0; border: 0; background: transparent; gap: 12px; }
    .board .su-half .su-hh { display: none; }
    .board .su-half .su-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
    .board .su-half .pc { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px; padding: 10px; min-height: 48px; align-items: start; }
    .board .su-half .pc-face { width: 52px; height: 52px; }
    .board .su-half .pc-t b { font-size: 1.1rem; }
    .board .su-half .pc-t span { font-size: .875rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .board .su-namerow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .board .su-namerow .su-field .lbl { font-size: .875rem; }
    .board .su-namerow .su-field input { min-height: 48px; font-size: 1.15rem; }
    .board .su-namerow .su-seg button { min-height: 48px; padding: 0 12px; font-size: .95rem; }
    .board .su-go { position: sticky; bottom: 0; z-index: 3; margin: 14px -14px 0; width: calc(100% + 28px); min-height: 60px !important; font-size: 23px !important; }
    /* ---------- Partida: todo en una pantalla ---------- */
    body.is-game .board.is-playing .stage { padding: 8px 12px 10px; }
    body.is-game .board.is-playing .play { gap: 8px; }
    .board .play .pts { padding: 10px 12px; gap: 8px; }
    .board .play .pt-top { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
    .board .play .pt-who { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; align-items: center; }
    .board .play .pt-fw { grid-row: 1 / 3; width: 40px; height: 40px; }
    .board .play .pt-name { font-size: 1.15rem; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .board .play .pt-who .chips .chip { font-size: .875rem; padding: 1px 6px; }
    .board .play .pt-age { display: grid; justify-items: end; line-height: 1; } .board .play .pt-age span { display: none; }
    .board .play .pt-age b { font-size: 2.4rem; } .board .play .pt-age em { font-size: .875rem; }
    .board .play .ggs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .board .play .gg-h .l { font-size: .875rem; letter-spacing: .04em; } .board .play .gg-h b { font-size: 1.15rem; } .board .play .gg-h .d { font-size: .875rem; }
    .board .play .gg .bar { height: 4px; }
    .board .play .gg-h { white-space: nowrap; overflow: hidden; gap: 4px; } .board .play .ggs { gap: 14px; }
    .board .play .gg-s { display: none; }
    /* tira de edades, se abre al tocar */
    .board .play .tl { padding: 4px 8px; min-height: 48px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; cursor: pointer; }
    .board .play .tl-top { margin: 0; order: 2; flex: none; } .board .play .tl-top h3 { display: none; }
    .board .play #tl-toggle { min-width: 48px; min-height: 40px; font-size: .875rem; }
    .board .play .tl-body { flex: 1 1 auto; min-width: 0; }
    .board .play .tl-body .tr .ta { width: 34px; height: 34px; font-size: .95rem; }
    .board.show-tl .play .tl { cursor: default; align-items: stretch; flex-direction: column; }
    .board.show-tl .play .tl-top { order: 0; display: flex; justify-content: space-between; align-items: center; } .board.show-tl .play .tl-top h3 { display: block; font-size: 1.2rem; }
    /* decisión */
    .board .play .dec { padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
    .board .play .dc-head { display: block; }
    .board .play .dc-art { display: none; }
    .board .play .dc-kind { font-size: .875rem; margin-bottom: 4px; }
    .board .play .dc-kind > * { font-size: .875rem !important; padding: 3px 8px; }
    .board .play .dc-txt h3 { margin: 2px 0 6px; font-size: 28px; line-height: 1.05; }
    .board .play .dc-txt p { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .play .dc-txt .mw { font-size: .875rem; }
    .board .play .opts { grid-template-columns: 1fr; gap: 8px; }
    .board .play .opt { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; padding: 12px 12px 12px 0; min-height: 72px; align-content: center; }
    .board .play .opt .k { gap: 2px; } .board .play .opt .k .oi { width: 34px; height: 34px; } .board .play .opt .k em { font-size: .9rem; }
    .board .play .opt .t { font-size: 22px; line-height: 1.1; }
    .board .play .opt .cqs .cq { font-size: .875rem; padding: 2px 7px; }
    .board .play .opt .res { min-height: 0; padding-top: 0; border: 0; }
    .board .play .opt .res:empty { display: none; }
    .board.has-outcome .play .opt.is-other { display: none; }
    .board .play .opt.is-picked .res { padding-top: 8px; border-top: 1px dashed var(--line-strong); }
    .board .play .opt .res .stamp { font-size: 1.5rem; } .board .play .opt .res .res-t { font-size: 15px; }
    .board .play .opt .res .luck, .board .play .opt .res .deltas { font-size: .875rem; }
    .board:not(.has-outcome) .play .oc-row { display: none; }
    .board .play .oc-row { grid-template-columns: 1fr; min-height: 0; gap: 8px; margin-top: auto; }
    .board .play .oc-side:empty { display: none; }
    .board .play .oc-side { font-size: .875rem; }
    .board .play .next-btn { min-height: 60px; } .board .play .next-btn .next-l { font-size: 22px; }
    .board .play #summary-btn { width: 100%; min-height: 60px; font-size: 22px; }
    .board .play .dc-death { height: auto; flex: 1; }
    /* ---------- Hojas a pantalla completa: momento histórico, separación, muerte ---------- */
    .board .pop { position: fixed; inset: 0; z-index: 80; padding: 0; place-items: stretch; }
    .board .pop-card, .board .pop-card.hist, .board .pop-card.death, .board .pop-card.div { width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; display: flex; flex-direction: column; overflow-y: auto; }
    .board .pop-card .pop-art { flex: 0 0 38dvh; min-height: 0; aspect-ratio: auto; padding: 0; }
    .board .pop-card .pop-art svg { width: 100%; height: 100%; }
    .board .pop-body { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 0; align-content: start; }
    .board .pop-body h2 { font-size: 30px; }
    .board .pop-body p, .board .pop-body dd, .board .pop-body .fact { font-size: 15px; }
    .board .pop-body dt { font-size: .875rem; }
     .board .pop-body .pop-cta { position: sticky; bottom: 0; width: calc(100% + 32px); margin: auto -16px 0; min-height: 60px; font-size: 22px; justify-content: center; }

    .board .pop-card.div .pop-axis { display: none; }
    .board .pop-card.div .pop-cols { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 16px; }
    .board .pop-card.div .pc-col { padding: 12px; } .board .pop-card.div .pc-col b { font-size: 1.2rem; } .board .pop-card.div .pc-col small, .board .pop-card.div .pc-col span { font-size: .875rem; }
    .board .pop-card.div .pop-foot { position: sticky; bottom: 0; margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; background: inherit; }

    .board .pop-card.death { background: #0b0a09; }
    .board .pd { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; padding: 0; gap: 8px; }
    .board .pd-art { width: 100%; flex: 0 0 40dvh; aspect-ratio: auto; margin: 0 0 8px; }
    .board .pd-h { font-size: 30px; padding: 0 16px; } .board .pd-ctx { padding: 0 16px; font-size: 15px; }

    /* ---------- Resumen: una columna, acciones fijas abajo ---------- */
    body.is-game .board.is-done .stage { padding: 10px 12px 0; }
    .board .sm-anon, .board .sm-anon.is-short, .board .sm-fam2 { display: flex; flex-direction: column; gap: 10px; }
    .board .sm-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 14px; }
    .board .sm-head .sh-face { display: none; }
    .board .sm-head .sm-big { flex-wrap: wrap; justify-content: center; } .board .sm-head .sm-big b { font-size: 3.4rem; }
    .board .sm-head .cause { font-size: 1.3rem; } .board .sm-head .epi { font-size: 1.1rem; }
    .board .vseal { min-width: 0; padding: 10px 18px; grid-template-columns: auto auto; align-items: center; gap: 12px; } .board .vseal svg { width: 44px; height: 44px; } .board .vseal b { font-size: 1.6rem; }
    .board .sm-gg .sm-cts { grid-template-columns: 1fr; gap: 8px; }
    .board .ct.big-v .ct-v { font-size: 24px; }
    .board .vh li { grid-template-columns: 62px minmax(0, 1fr); gap: 6px 10px; } .board .vh li .stp { grid-column: 2; }
    .board .vh-y, .board .vh-m b { font-size: 22px; }
    .board .sm-chs { display: flex; flex-direction: column; gap: 10px; }
    .board .sm-anon .sm-ch, .board .sm-anon.is-short .sm-ch { padding-right: 18px; padding-bottom: 130px; min-height: 0; }
    .board .sm-anon .sm-ch .ch-body, .board .sm-anon.is-short .sm-ch .ch-body { width: 96px; height: 128px; }
    .board .mdl { grid-template-columns: 1fr; gap: 12px; }
    .board .mdl-i { grid-template-columns: 56px minmax(0, 1fr); } .board .mdl-c { width: 56px; height: 56px; } .board .mdl-c .mi { width: 32px; height: 32px; } .board .mdl-i b { font-size: 20px; }
    .board .sf-hero, .board .sf-hero:has(.sm-fw) { padding: 18px 14px; }
    .board .sf-hero .sm-fw { display: none; }
    .board .sf-hero h2 { font-size: 1.6rem; }
    .board .sf-axis .fork.v { max-height: 460px; }
    .board .sf-bal .db-l, .board .sf-bal .db-v, .board .dsb-m em, .board .ds3 span, .board .sm-note { font-size: .875rem; }
    .board .sm-foot { position: sticky; bottom: 0; z-index: 5; margin: 10px -12px 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #121110; border-top: 1px solid var(--line-strong); }
    .board .sm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
    .board .sm-btns #again { grid-column: 1 / -1; grid-row: 1; min-height: 58px; font-size: 23px; justify-content: center; }
    .board .sm-btns #again3, .board .sm-btns #share { min-height: 48px; font-size: 17px; justify-content: center; padding: 0 10px; }
    /* sin desbordes laterales */
    .board, .board .stage { max-width: 100vw; overflow-x: clip; }
    .board .sm-anon > *, .board .sm-fam2 > * { width: 100%; box-sizing: border-box; }
    .board .play aside.tl { display: flex !important; flex-direction: row; flex-wrap: nowrap; }
    .board.show-tl .play aside.tl { flex-direction: column; }
    .board .play .tl-body .tr[aria-current] .ta { outline: 2px solid #f3eee4; outline-offset: -2px; }
  }
  /* pantallas bajas (375×667): aún más compacto */
  @media (max-width: 700px) and (max-height: 700px) {
    .board .tb { min-height: 48px; padding: 4px 12px; }
    .board .play .pts { padding: 8px 10px; gap: 6px; } .board .play .pt-age b { font-size: 2rem; } .board .play .pt-fw { width: 34px; height: 34px; } .board .play .pt-who { grid-template-columns: 34px minmax(0, 1fr); }
    .board .play .dc-txt h3 { font-size: 25px; } .board .play .dc-txt p { -webkit-line-clamp: 1; }
    .board .play .opt { min-height: 60px; padding: 8px 10px 8px 0; } .board .play .opt .t { font-size: 20px; } .board .play .opt .k .oi { width: 28px; height: 28px; }
    .board .play .opt .cqs { display: none; }
    .board .play .next-btn { min-height: 56px; }
    .board .su-q { font-size: 34px; margin-bottom: 8px; } .board .su-half .pc-face { width: 40px; height: 40px; } .board .su-half .pc-t span { -webkit-line-clamp: 2; }
  }
  /* ================= Botones: sistema 8 "Puerta suave" (decidir y avanzar) y sistema 7 "Píldora y sello" (utilidades) ================= */
  .board { --b-co: #e07a77; --b-ink: #1d1a17; --b-cr: #f3eee4; --b-red: #c1413e; --b-gr: #6fbf86; --b-oc: #e0b35a; --b-line: rgba(243,238,228,.18); --b-line2: rgba(243,238,228,.5); --b-surf: #1c1a17; }
  /* -- 8 - puerta: arco de medio punto sobre base casi recta; suben los dos arcos del logo -- */

   .board .opt:focus-visible, .board .pill:focus-visible { outline: 2px solid var(--b-oc) !important; outline-offset: 4px; }

  /* seguir: puerta crema con el avance automático rellenándola */
  .board .next-btn { background: var(--b-cr) !important; color: var(--b-ink) !important; border-bottom-color: #a89f8e !important; padding: 0 26px 0 30px; }
  .board .next-btn .fx { display: none; }
  .board .next-btn .next-fill { z-index: -1; opacity: 1; background: color-mix(in srgb, var(--nc, var(--b-gr)) 55%, var(--b-cr)); }
  .board .next-btn .next-fill::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: var(--nc, var(--b-gr)); }
  .board .next-btn .ring { display: none; }
  .board .next-btn:hover .arrow { transform: translateX(4px); }
  /* -- opciones A y B: puerta grande, arcos con el tinte, letra en una puertecita -- */
  .board .opt::before, .board .opt::after { display: none !important; }
  .board .opt { border: 0; border-radius: 30px 30px 6px 6px; overflow: hidden; isolation: isolate; background: var(--b-surf); box-shadow: inset 0 0 0 1.5px var(--b-line); transform: none !important; transition: box-shadow .25s, opacity .2s; }
  .board .opt .fx { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
  .board .opt .fx i { position: absolute; left: 50%; bottom: 0; width: 120%; aspect-ratio: 1; border-radius: 50% 50% 0 0; translate: -50% 101%; background: color-mix(in srgb, var(--tint) 12%, transparent); transition: translate .6s cubic-bezier(.2,.8,.2,1); }
  .board .opt .fx i:last-child { width: 16%; background: color-mix(in srgb, var(--tint) 45%, transparent); transition-delay: .06s; }
  .board .opt:not(:disabled):is(:hover, :focus-visible, :active) .fx i:first-child, .board.force-hover .opt:not(:disabled) .fx i:first-child { translate: -50% 0; }
  .board .opt:not(:disabled):is(:hover, :focus-visible) .fx i:last-child, .board.force-hover .opt:not(:disabled) .fx i:last-child { translate: -50% 62%; }
  .board .opt:not(:disabled):active .fx i:last-child { translate: -50% 35%; }
  .board .opt:not(:disabled):hover, .board.force-hover .opt:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--b-line2); background: var(--b-surf); color: var(--ink); }
  .board .opt:not(:disabled):active { box-shadow: inset 0 0 0 2px var(--tint); }
  .board .opt .k { border-right: 0; }
  .board .opt .k em { display: grid; place-items: center; width: 30px; height: 34px; padding-top: 4px; box-sizing: border-box; border-radius: 15px 15px 2px 2px; background: var(--tint); color: var(--b-ink); font-family: var(--font-display); font-size: 1.1rem; opacity: 1; }
  .board .opt.is-picked { outline: 0; box-shadow: inset 0 0 0 2.5px var(--oc, var(--b-cr)); }
  .board .opt.is-picked .fx i:first-child { translate: -50% 0; background: color-mix(in srgb, var(--oc, var(--b-cr)) 12%, transparent); }
  .board .opt.is-picked .k em { background: var(--oc, var(--b-cr)); }
  .board .opt.is-other { opacity: .42; }
  .board .opt .hold { position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--tint) 26%, transparent); pointer-events: none; }
  .board .opt .hold::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: var(--tint); }
  .board .opt.holding .hold { width: 100%; transition: width .9s linear; }
  .board .opt .hold-h { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--b-line2); }
  @media (prefers-reduced-motion: reduce) {  .board .opt .fx i { transition: none; } .board .opt.holding .hold { transition: width .9s steps(1); } }

  /* -- 7 - píldora y sello -- */
  /* chips: ▲ Fortuna, Riesgo */
  .board .cq { border: 0; border-radius: 999px; padding: 2px 11px; min-height: 26px; box-sizing: border-box; background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 60%, transparent); font-size: .875rem; }
  .board .cq.up { color: var(--b-gr); } .board .cq.down, .board .cq.risk { color: #ee8f8c; background: transparent; }
  /* iconos redondos: cerrar, salir, empezar de nuevo */
  .board .tb .icon-btn, .board .pop-x { width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-cr), inset 0 0 0 4.5px var(--board-bg, #121110), inset 0 0 0 5.5px var(--b-line2); transition: background-color .2s, color .2s, box-shadow .2s, transform .5s cubic-bezier(.2,.8,.2,1); }
  .board .pop-x { --board-bg: #35120f; }
  .board .tb .icon-btn:hover, .board .pop-x:hover { background: var(--b-oc); color: var(--b-ink); box-shadow: inset 0 0 0 1.5px var(--b-oc), inset 0 0 0 4.5px var(--b-oc), inset 0 0 0 5.5px rgba(29,26,23,.5); transform: rotate(90deg); }
  .board .tb .icon-btn:focus-visible, .board .pop-x:focus-visible, .board .auto:focus-visible { outline: 2px solid var(--b-oc); outline-offset: 4px; }
  /* Auto: interruptor en píldora */
  .board .auto { border: 0; background: transparent; padding: 6px 4px; gap: 9px; min-height: 44px; color: var(--b-cr); }
  .board .auto i { width: 46px; height: 26px; border-radius: 999px; background: var(--b-line2); transition: background-color .2s; }
  .board .auto i::after { left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #121110; box-shadow: inset 0 0 0 4px #121110, inset 0 0 0 5px var(--b-line2); transition: transform .25s; }
  .board .auto.is-on i { background: var(--b-oc); } .board .auto.is-on i::after { transform: translateX(20px); background: var(--b-ink); box-shadow: inset 0 0 0 4px var(--b-ink), inset 0 0 0 5px var(--b-oc); }
  /* Dato: píldora con sello + */
  .board details.fact summary { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 5px; margin: 0; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--b-line2); font-size: .875rem; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
  .board details.fact summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--b-oc); color: var(--b-ink); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; transition: transform .25s; }
  .board details.fact[open] summary::before { transform: rotate(45deg); }
  .board details.fact summary::after { content: none !important; }
  .board details.fact summary:hover { background: color-mix(in srgb, var(--b-cr) 7%, transparent); }
  .board details.fact > span { padding: 12px 16px; border-radius: 18px; background: var(--b-surf); }
  /* pestañas, género, "Ver" */
  .board .su-tabs { border: 0; border-radius: 999px; padding: 4px; gap: 4px; box-shadow: inset 0 0 0 1.5px var(--b-line2); }
  .board .su-tabs button { border-radius: 999px; }
  .board .su-seg { border: 0; border-radius: 999px; padding: 3px; gap: 3px; box-shadow: inset 0 0 0 1.5px var(--b-line2); }
  .board .su-seg button { border-radius: 999px; }
  .board .su-seg button.is-on, .board .su-tabs button[aria-selected="true"] { background: var(--b-cr); color: var(--b-ink); }
  .board #tl-toggle { border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--b-line2); padding: 0 14px; }
  .board #tl-toggle:hover { background: color-mix(in srgb, var(--b-cr) 8%, transparent); }
  /* Compartir y Otro personaje: píldora con sello de anillo perforado */

  /* sello ¿Y si…? ya es redondo; seals de icono para móvil */
  @media (max-width: 700px) {
    .board .sm-btns { display: flex; align-items: center; gap: 10px; }
    .board .sm-btns #again { order: 1; flex: 1; grid-row: auto; min-height: 58px; }

    /* seguir en móvil: anillo de progreso */
    .board .next-btn .next-fill { display: none; }
    .board .next-btn .cd { display: none; }
    .board .next-btn { padding: 0 6px 0 24px; }
    .board .next-btn .next-l { flex: 1; justify-content: space-between; }
    .board .next-btn .next-l .arrow { position: absolute; right: 16px; z-index: 2; width: 26px !important; height: 26px !important; }
    .board .next-btn .ring { display: block; position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--nc, var(--b-gr)) calc(var(--prog, 0) * 360deg), rgba(29,26,23,.18) 0); -webkit-mask: radial-gradient(circle, transparent 17px, #000 18px); mask: radial-gradient(circle, transparent 17px, #000 18px); }
  }
  /* ================= Móvil sin scroll: todo cabe en una pantalla ================= */
  .pgr, .pill-s, .ib-s { display: none; }
  @media (max-width: 700px) {
    /* --- utilidades del sistema 7 para el pager y la hoja --- */
    .board .pill-s { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-line2); font: inherit; font-family: var(--font-display); font-size: 18px; cursor: pointer; }
    .board .pill-s .arrow { width: 18px; height: 18px; }
    .board .pill-s:hover { box-shadow: inset 0 0 0 1.5px var(--b-cr); }
    .board .ib-s { display: none; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-cr), inset 0 0 0 4.5px #1c1a17, inset 0 0 0 5.5px var(--b-line2); cursor: pointer; }
    .board .ib-s svg { width: 16px; height: 16px; }
    .board :is(.pill-s, .ib-s, .pgr-d button, .tl-dec button):focus-visible { outline: 2px solid var(--b-oc); outline-offset: 3px; }

    /* --- inicio: cada pestaña cabe entera --- */
    .board.is-setup .stage { padding: 10px 14px 0; }
    .board .su-q { font-size: clamp(30px, 9vw, 40px); margin: 0 0 10px; }
    .board .su-tabs { margin-bottom: 10px; }
    .board .su-tabs button { min-height: 44px; font-size: 1.1rem; }
    .board .su-half .su-cards { gap: 8px; }
    .board .su-half .pc { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto; gap: 4px 10px; padding: 8px 26px 8px 8px; align-items: center; min-height: 64px; }
    .board .su-half .pc-face { width: 40px; height: 48px; }
    .board .su-half .pc-t { gap: 2px; }
    .board .su-half .pc-t b { font-size: 1.02rem; line-height: 1.1; }
    .board .su-half .pc-t span { -webkit-line-clamp: 1; font-size: .875rem; }
    .board .su-half .pc-ok { width: 18px; height: 18px; right: 5px; top: 5px; font-size: .75rem; }
    .board .su-namerow { margin-top: 2px; }
    .board .su-namerow .su-field .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .board .su-namerow .su-field input { min-height: 48px; }
    .board .su-go { position: sticky; bottom: 0; margin: 12px -14px 0; width: calc(100% + 28px); border-radius: 32px 32px 0 0 !important; }

    /* --- partida: tipografía que encoge en lugar de desbordar --- */
    .board .play .dec { overflow: hidden; }
    .board .play .dc-txt h3 { font-size: clamp(21px, 6.6vw, 28px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .play .opt .t { font-size: clamp(18px, 5.4vw, 22px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .play .opt .res .res-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .board .play .opt .hold-h { height: 28px; }
    .board .play .oc-side .fact, .board .play .oc-side .rnote { font-size: .875rem; }
    .board .play .oc-side details.fact > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    /* línea de vida: hoja por décadas */
    .tl-dec { display: none; }
    .board.show-tl .play .tl-dec { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
    .board.show-tl .play .tl-dec button { min-width: 48px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-line2); font: inherit; font-family: var(--font-display); font-size: 1rem; cursor: pointer; }
    .board.show-tl .play .tl-dec button[aria-selected="true"] { background: var(--b-cr); color: var(--b-ink); }
    .board.show-tl .play .tl-body { overflow: hidden !important; }
    .board.show-tl .play .tl-body .tr:not(.dec-on) { display: none !important; }
    .board.show-tl .play .tl-body .tr { min-height: 48px; align-items: center; }
    .board.show-tl .play .tl-body .tr .tt { font-size: 15px; }

    /* --- hojas: lo decorativo encoge primero --- */
    .board .pop-card .pop-art { flex: 1 1 34dvh; min-height: 96px; max-height: 38dvh; }
    .board .pop-card { overflow: hidden !important; }
    .board .pop-body { flex: 0 1 auto; min-height: 0; gap: 8px; padding-top: 14px; }
    .board .pop-body h2 { font-size: clamp(24px, 7.4vw, 30px); }
    .board .pop-body .pop-y { font-size: clamp(30px, 10vw, 44px); line-height: 1; }
    .board .pop-body dl { margin: 0; gap: 4px 12px; }
    .board .pop-body dd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .board .pop-body .fact { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
     .board .pop-body .pop-cta { flex: none; }
    .board .pop-card.div .pop-body { padding-bottom: 0; }
    .board .pop-card.div .pc-col small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .pd-art { flex: 1 1 40dvh; min-height: 120px; }

    /* --- resumen en páginas --- */
    body.is-game .board.is-done .stage { overflow: hidden !important; padding: 8px 12px 0; }
    .board.is-done .summary { display: flex !important; flex-direction: column; height: 100%; }
    .board .summary > .sm-anon, .board .summary > .sm-fam2 { flex: 1 1 auto; min-height: 0; display: block !important; position: relative; }
    .board .pgs { height: 100%; }
    .board .spg { display: none; height: 100%; flex-direction: column; gap: 10px; overflow: hidden; }
    .board .spg.is-on { display: flex; }
    .board .spg > * { flex: 0 0 auto; margin: 0 !important; }
    .board .pgr { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0 2px; }
    .board .pgr-d { display: flex; }
    .board .pgr-d button { position: relative; width: 28px; height: 48px; border: 0; background: transparent; cursor: pointer; }
    .board .pgr-d button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--b-line2); }
    .board .pgr-d button[aria-current="true"]::before { background: var(--b-oc); box-shadow: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
    .board .sm-foot { position: static !important; flex: none; margin: 0 -12px !important; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)) !important; }
    /* página 1 */
    .board .spg .sm-head, .board .spg .sf-hero { flex: 1 1 auto; justify-content: center; min-height: 0; overflow: hidden; }
    .board .sm-head .sm-big b { font-size: clamp(2.6rem, 13vw, 3.4rem); }
    .board .sm-head .epi, .board .sf-hero .epi { font-size: clamp(15px, 4.4vw, 17px); line-height: 1.3; }
    .board .sf-hero h2 { font-size: clamp(20px, 6vw, 26px); }
    .board .sf-hero .sf-end { font-size: .875rem; }
    .board .sf-chips .seal { --sz: 60px !important; }
    /* página 2: indicadores y logros */
    .board .spg .sm-gg { padding: 10px; }
    .board .spg .sm-gg .sm-cts { gap: 8px; }
    .board .spg .ct.big-v { padding: 8px 12px 10px; }
    .board .spg .ct.big-v .ct-v { font-size: clamp(19px, 5.6vw, 23px); }
    .board .spg .sm-medals { padding: 12px; }
    .board .spg .mdl { gap: 10px; }
    .board .spg .mdl-i:nth-child(n+4) { display: none; }
    .board .spg .mdl-i { grid-template-columns: 48px minmax(0, 1fr); } .board .spg .mdl-c { width: 48px; height: 48px; } .board .spg .mdl-c .mi { width: 28px; height: 28px; } .board .spg .mdl-i b { font-size: 18px; }
    /* página 3: momentos (4) y hoja con todos */
    .board .spg .sm-hist { padding: 12px; }
    .board .vh li { padding: 8px 0; gap: 4px 10px; grid-template-columns: 58px minmax(0, 1fr); }
    .board .vh-y, .board .vh-m b { font-size: clamp(18px, 5.2vw, 22px); }
    .board .vh-m b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .vh-m .vh-c { font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .board .vh li .stp { width: auto; min-width: 0; height: 26px; padding: 0 10px; justify-self: start; }
    .board .stp { font-size: .875rem !important; }
    .board .vh li.more { display: none; }
    .board #vh-more { margin-top: 8px; }
    .board .sm-hist.all { position: absolute; inset: 0; z-index: 20; overflow: hidden; background: #1c1a17; }
    .board .sm-hist.all .vh li.more { display: grid; }
    .board .sm-hist.all .vh li { padding: 4px 0; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; }
    .board .sm-hist.all .vh-m b { font-size: 17px; -webkit-line-clamp: 1; }
    .board .sm-hist.all .vh-c { display: none; }
    .board .sm-hist.all .vh li .stp { grid-column: 3; }
    .board .sm-hist.all #vh-more { display: none; }
    .board .sm-hist.all #vh-close { display: grid; position: absolute; right: 10px; top: 8px; }
    /* página 4: etapas */
    .board .spg .sm-chs { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
    .board .spg .sm-ch { flex: 1 1 0; min-height: 0; overflow: hidden; padding: 10px 12px !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: min-content; align-content: center; gap: 4px 10px; }
    .board .spg .sm-ch .ch-body, .board .spg .sm-ch .meds, .board .spg .sm-ch .ch-dots { display: none; }
    .board .spg .sm-ch .eyebrow { grid-column: 1 / -1; }
    .board .spg .sm-ch h3 { margin: 0; font-size: 1.5rem !important; }
    .board .spg .sm-ch .agg { align-self: center; justify-self: end; font-size: .875rem !important; }
    .board .spg .sm-ch .ch-n { grid-column: 1 / -1; gap: 6px; }
    .board .spg .sm-ch .ch-c .stp { width: auto; padding: 0 10px; height: 26px; }
    /* páginas del famoso */
    .board .spg .sf-axis { flex: 1 1 auto; min-height: 0; padding: 8px; display: flex; justify-content: center; }
    .board .spg .sf-axis .fork.h { display: none; }
    .board .spg .sf-axis .fork.v { display: block; height: 100%; max-height: none; width: 100%; }
    .board .spg .sf-diffs { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 12px; }
    .board .spg .sf-diffs .dv { grid-template-columns: 1fr; gap: 8px; }
    .board .spg .sf-diffs .dv-age b { font-size: 2rem; } .board .spg .sf-diffs .dv-ic, .board .spg .sf-diffs .df-more { display: none; }
    .board .spg .sf-diffs .dv-col { padding: 10px 12px; } .board .spg .sf-diffs .dv-col b { font-size: 1.15rem; } .board .spg .sf-diffs .dv-col p { font-size: .875rem; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .board .spg .sf-diffs .dv-rep { font-size: .875rem; margin-top: 8px; }
    .board .spg .sf-bal { padding: 12px; }
    .board .spg .sf-bal .vchip { font-size: .875rem; }
    .board .spg .sf-bal .db-r { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; }
    .board .spg .sf-bal .sv3 em { font-size: 19px; }
    .board .spg .sf-bal .sv3 b, .board .spg .sf-bal .fid .lbl { font-size: .875rem; }
    .board .spg .sf-dist { padding: 12px; }
    .board .spg .ds3 b { font-size: 1.6rem; }
    /* texto mínimo 14px */
    .board .agg, .board .sm-big span, .board .eyebrow, .board .ct .l, .board .ct-n, .board small, .board .sm-note, .board .ds3 span, .board .ds-ax, .board .db-l, .board .db-v, .board .fk-ml, .board .fk-end { font-size: max(14px, 1em) !important; }
  }
  @media (max-width: 700px) and (max-height: 700px) {
    .board .su-q { font-size: 30px; margin-bottom: 8px; }
    .board .su-half .pc { min-height: 58px; padding-top: 6px; padding-bottom: 6px; }
    .board .su-tabs button { min-height: 40px; }
    .board .spg .sm-head { padding: 12px; gap: 8px; }
    .board .sm-head .epi { font-size: 15px; }
    .board .vseal { padding: 8px 14px; } .board .vseal svg { width: 36px; height: 36px; } .board .vseal b { font-size: 1.35rem; }
    .board .spg .ct.big-v .ct-v { font-size: 19px; }
    .board .spg .mdl-i:nth-child(n+3) { display: none; }
    .board .vh li { padding: 5px 0; }
    .board .vh-m .vh-c { display: none; }
  }
  @media (max-width: 700px) {
    .board .pop-card.div .pop-body { gap: 6px; }
    .board .pop-card.div .pop-body p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .pop-card.div .pop-cols { flex: 1 1 auto; min-height: 0; gap: 8px; padding: 10px 16px; align-content: start; }
    .board .pop-card.div .pc-col { gap: 4px; padding: 10px 12px; } .board .pop-card.div .pc-col b { font-size: 1.1rem; }
    .board .pop-card.div .pop-foot { padding: 8px 16px 0; }
  }
  @keyframes sheetin { from { opacity: 0; } to { opacity: 1; } }
  @media (max-width: 700px) { .board .pop-card { animation-name: sheetin !important; transform: none !important; } }
  @media (max-width: 700px) and (max-height: 700px) {
    .board .sm-head .epi span:nth-child(n+5), .board .sf-hero .epi span:nth-child(n+5) { display: none; }
    .board .sm-head .sm-big b { font-size: 2.6rem; } .board .sm-head .cause { font-size: 1.1rem; }
    .board .sf-hero .sf-end { display: none; } .board .sf-hero { gap: 6px; padding: 12px !important; }
    .board .spg .sf-bal .fid { display: none; } .board .spg .sf-bal .sv3 em { font-size: 17px; } .board .spg .sf-bal .db-r { min-height: 0; }
    .board .spg .ct.big-v { padding: 6px 10px 8px; } .board .spg .sm-gg { padding: 8px; } .board .spg .sm-medals { padding: 8px 10px; } .board .spg .sm-medals .eyebrow { margin-bottom: 0; }
    .board .play .dc-kind { display: none; }
    .board .play .dec { gap: 8px; padding: 10px; }
  }
  @media (max-width: 700px) and (max-height: 700px) { .board .sm-head .vseal svg { display: none; } .board .sm-head .vseal { padding: 6px 14px; } }
  @media (max-width: 700px) {
    .board .next-btn .next-l { position: static !important; }
    .board .next-btn .next-l .arrow { top: 50%; margin-top: -13px; }
    .board #tl-toggle { display: inline-grid; place-items: center; }
    .board .play .oc-row, .board .play .oc-side, .board .play .oc-side > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
    .board .play .oc-side .rl { margin: 0; padding: 6px 10px; }
    .board .play .oc-side .rl span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  }
  /* ===== Corrección: puerta solo para decidir (opciones y "Elegir qué hago"); el resto, píldora y sello ===== */
  /* -- sistema 7: píldora llena con sello (principales) -- */

  /* seguir: píldora crema con anillo de progreso */

  /* -- sistema 7: Compartir y Otro personaje, hover que se nota -- */

  /* -- sistema 8: "Elegir qué hago", la puerta se abre y los arcos llenan el botón -- */

  /* Resumen del famoso: fila de titulares alineada arriba de Balance y de "Si 500 personas" */
  .board .hrow { display: flex; align-items: flex-start; min-height: 64px; margin: 6px 0 12px; }
  .board .sv3.hrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .board .sv3.hrow span { min-width: 0; }
  .board .sv3.hrow em, .board .ds-end.hrow { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.1; }
  .board .sv3.hrow em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .ds-end.hrow { color: #f3eee4; }
  .board .dv-rep { text-align: center; color: #e0b35a; border-left: 0; border-top: 1px solid rgba(224,179,90,.5); border-bottom: 1px solid rgba(224,179,90,.5); }
  .board .dv-rep b { color: #e0b35a; }
  @media (max-width: 700px) { .board .hrow { min-height: 0; margin: 4px 0 8px; } .board .sv3.hrow { gap: 8px; } .board .sv3.hrow em { font-size: 16px; } .board .ds-end.hrow { font-size: 19px; } }
  .board .sv3.hrow span { container-type: inline-size; }
  .board .sv3.hrow em { font-size: clamp(15px, 9.4cqi, 24px); text-overflow: clip; }

  .board .sv3.hrow em { font-size: min(19px, 9.4cqi); } .board .ds-end.hrow { font-size: 19px; min-height: 42px; } .board .sv3.hrow { min-height: 42px; }
  @media (max-width: 700px) and (max-height: 700px) { .board .sm-head .epi span:nth-child(n+4) { display: none; } .board .sm-head { gap: 6px !important; } }
  @media (max-width: 700px) {
    .board .play .oc-row { position: relative; }
    .board .play .oc-side details.fact[open] > span { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 6; margin: 0; padding: 12px 14px; border-radius: 18px; background: #1c1a17; box-shadow: inset 0 0 0 1.5px var(--b-line2); font-size: 15px; -webkit-line-clamp: 6; }
  }
  @media (max-width: 700px) {
    .board .sv3.hrow { grid-template-columns: 1fr; gap: 4px; min-height: 0; }
    .board .sv3.hrow span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; container-type: normal; }
    .board .sv3.hrow em { font-size: 18px !important; }
    .board .su-go { margin: 12px 0 0 !important; width: 100% !important; }
  }
  .fk-leg { display: none; }
  @media (max-width: 700px) {
    .board .spg .sf-axis { flex-direction: column; }
    .board .spg .sf-axis .fork.v { flex: 1 1 auto; min-height: 0; height: auto; }
    .board .spg .sf-axis .fork.v text { font-size: 19px; }
    .board .fk-leg { display: grid; gap: 4px; padding: 8px 6px 2px; font-family: var(--font-display); font-size: 16px; }
    .board .fk-leg .r { color: #cfc8ba; } .board .fk-leg .m { color: #f3eee4; }
  }

  /* Inicio en escritorio: las tarjetas llenan las dos mitades */
  .pc-tag { display: none; }
  @media (min-width: 701px) {
    .board .su-half.anon { grid-template-rows: auto minmax(0, 1fr) auto; }
    .board .su-half.real { grid-template-rows: auto minmax(0, 1fr); }
    .board .su-half .su-cards { grid-auto-rows: minmax(0, 1fr); align-content: stretch; min-height: 0; }
    .board .su-half .pc { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px 30px 12px 12px; align-items: center; }
    .board .su-half .pc-face { height: 96px; max-height: 100%; }
    .board .su-half .pc-t b { font-size: 1.3rem; }
    .board .su-half .pc-t span { font-size: .95rem; line-height: 1.35; }
    .board .su-half .pc-tag { display: block; font-style: normal; font-size: .875rem; color: #e0b35a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .board .su-half .pc-rand .pc-face { font-size: 2.4rem; }
  }
  @media (min-width: 701px) and (max-height: 820px) { .board .su-half .pc-face { height: 76px; } .board .su-half .pc { grid-template-columns: 62px minmax(0, 1fr); } }
  /* ===== 1 - Cambios en Vida, Fortuna y Fama: la barra se mueve, destella y suelta un chip ===== */
  .board .gg .bar > i { transition: width .7s cubic-bezier(.2,.8,.2,1); }
  .board .gg.flash .bar { animation: gg-glow-up 1.2s ease-out; }
  .board .gg.flash.down .bar { animation-name: gg-glow-down; }
  @keyframes gg-glow-up { 0%, 30% { background: rgba(111,191,134,.55); outline: 2px solid rgba(111,191,134,.8); outline-offset: 2px; } 100% { outline-color: transparent; } }
  @keyframes gg-glow-down { 0%, 30% { background: rgba(224,122,119,.55); outline: 2px solid rgba(224,122,119,.85); outline-offset: 2px; } 100% { outline-color: transparent; } }
  .board .gg.flash .gg-h b { display: inline-block; animation: gg-pulse .8s cubic-bezier(.2,.8,.2,1); }
  .board .gg.flash.up .gg-h b { color: var(--green); } .board .gg.flash.down .gg-h b { color: var(--red); }
  @keyframes gg-pulse { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
  .board .gg .gg-fl { position: absolute; right: 0; bottom: 10px; z-index: 2; padding: 2px 8px; border-radius: 999px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.1; color: #1d1a17; background: var(--green); pointer-events: none; animation: gg-rise 1.6s cubic-bezier(.2,.8,.2,1) both; }
  .board .gg.down .gg-fl { background: var(--red); }
  @keyframes gg-rise { 0% { opacity: 0; transform: translateY(8px); } 15% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; transform: translateY(-14px); } 100% { opacity: 0; transform: translateY(-24px); } }
  .board .gg .bar .mk.cross { animation: mk-pulse 1s ease-out 2; }
  @keyframes mk-pulse { 0% { transform: scaleY(1); box-shadow: none; } 40% { transform: scaleY(2.2); background: #e0b35a; } 100% { transform: scaleY(1); } }
  @media (prefers-reduced-motion: reduce) {
    .board .gg .bar > i { transition: none; }
    .board .gg.flash .gg-h b, .board .gg .bar .mk.cross { animation: none; }
    .board .gg .gg-fl { animation: none; opacity: 0; }
    .board .gg.flash .bar { animation-duration: 1.2s; }
  }

  /* ===== 2 - Dato en una ventana pequeña encima, sin mover nada ===== */
  .board .dato-w { position: relative; display: inline-block; }
  .board .dato-b { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 5px; border: 0; border-radius: 999px; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-line2); font: inherit; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .board .dato-b i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--b-oc); color: var(--b-ink); font-style: normal; font-size: 1.1rem; font-weight: 800; letter-spacing: 0; transition: transform .25s; }
  .board .dato-b[aria-expanded="true"] i { transform: rotate(45deg); }
  .board .dato-b:hover { background: color-mix(in srgb, var(--b-cr) 8%, transparent); }
  .board .dato-b:focus-visible, .board .dato-x:focus-visible { outline: 2px solid var(--b-oc); outline-offset: 3px; }
  .board .dato-p { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30; width: min(380px, 80vw); padding: 14px 44px 14px 16px; border-radius: 18px; background: #1c1a17; box-shadow: inset 0 0 0 1.5px var(--b-oc); color: var(--b-cr); font-size: 15px; line-height: 1.45; animation: sheetin .2s ease; }
  .board .dato-p[hidden] { display: none; }
  .board .dato-x { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-line2); cursor: pointer; }
  .board .dato-x svg { width: 12px; height: 12px; }
  @media (max-width: 700px) {
    .board .dato-p { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; z-index: 90; padding: 20px 56px calc(24px + env(safe-area-inset-bottom)) 18px; border-radius: 22px 22px 0 0; box-shadow: inset 0 1.5px 0 var(--b-oc); font-size: 16px; }
    .board .dato-x { width: 44px; height: 44px; right: 10px; top: 10px; }
  }

  /* ===== 3 - "Así fue" dentro del resultado, en una línea ===== */
  .board .res-rl { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: .875rem; color: var(--ink-soft); }
  .board .res-rl b { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #e0b35a; }
  .board .res-rl .seal { flex: none; }
  .board .res-rl .seal em { display: none; }
  .board .res-rl.no { color: var(--ink-soft); }
  @media (max-width: 700px) { .board .res-rl { font-size: .875rem; } .board .res-rl b { font-size: .875rem; } }

  /* ===== 4 - Opciones sin letras: el icono manda ===== */
  .board .opt { grid-template-columns: 76px minmax(0, 1fr); }
  .board .opt .k { gap: 0; padding-top: 0; }
  .board .opt .k .oi { width: 60px; height: 60px; stroke-width: 2.2; }
  .board .opt .k em { display: none; }
  @media (max-width: 700px) { .board .play .opt { grid-template-columns: 52px minmax(0, 1fr); } .board .play .opt .k .oi { width: 44px; height: 44px; } }
  @media (max-width: 700px) and (max-height: 700px) { .board .play .opt .k .oi { width: 36px; height: 36px; } }

  /* ===== 5 - Puerta de izquierda a derecha: Nacer, seguir, Ver tu vida, Compartir, Otro personaje, Volver a jugar ===== */

  /* ===== Cabecera del resumen: final | epitafio | retrato ===== */
  @media (min-width: 701px) {
    .board .sm-head.hero3, .board .sf-hero.hero3 { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 200px; gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left; padding: 26px 28px !important; }
    .board .hero3 .sh-l { display: grid; justify-items: start; gap: 8px; }
    .board .hero3 .sh-l h2 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; text-align: left; }
    .board .hero3 .sm-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
    .board .hero3 .sm-big b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.4rem, 5vw, 4.6rem); line-height: .9; color: #e07a77; }
    .board .hero3 .sm-big span { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
    .board .hero3 .cause { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: #f3eee4; }
    .board .hero3 .sh-v, .board .hero3 .sf-chips { justify-self: start; margin-top: 4px; }
    .board .hero3 .sh-c { display: grid; justify-items: center; text-align: center; gap: 10px; }
    .board .hero3 .epi { border: 0; padding: 0; justify-items: center; font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 40ch; }
    .board .hero3 .sf-end { margin: 0; font-size: .95rem; color: var(--ink-soft); max-width: 46ch; }
    .board .hero3 .sh-face { width: 200px; height: 200px; justify-self: end; overflow: hidden; }
    .board .hero3 .sh-face svg { width: 100%; height: 100%; display: block; }
    .board .hero3 .sh-face:empty { display: none; }
    .board .hero3 .sm-fw { display: none; }
  }
  @media (min-width: 701px) and (max-width: 1100px) { .board .sm-head.hero3, .board .sf-hero.hero3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 150px; } .board .hero3 .sh-face { width: 150px; height: 150px; } }
  @media (max-width: 700px) {
    .board .hero3 .sh-l, .board .hero3 .sh-c { display: grid; justify-items: center; text-align: center; gap: 8px; }
    .board .hero3 .sh-face { display: none; }
    .board .sf-hero.hero3 .sm-big b { font-size: 2.4rem; }
  }
  /* Logros centrados */
  .board .sm-medals { text-align: center; }
  .board .sm-medals .mdl { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .board .sm-medals .mdl-i { width: 250px; text-align: left; }
  @media (max-width: 700px) { .board .sm-medals .mdl { flex-direction: column; align-items: center; gap: 10px; } .board .sm-medals .mdl-i { width: min(100%, 280px); } }
  /* Retrato y arte de época más grandes en el resumen de escritorio */
  @media (min-width: 701px) {
    .board .sm-head.hero3, .board .sf-hero.hero3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 260px; padding: 20px 20px 20px 28px !important; }
    .board .hero3 .sh-face { width: 260px; height: 100%; min-height: 260px; align-self: stretch; }
    .board .hero3 .sh-face svg { height: 100%; }
    .board .sm-anon .sm-ch { padding-right: 200px !important; min-height: 280px; }
    .board .sm-anon .sm-ch .ch-body { width: 172px !important; height: 232px !important; right: 14px; bottom: 0; }
    .board .sm-anon.is-short .sm-ch .ch-body { width: 210px !important; height: 280px !important; }
  }
  @media (min-width: 701px) and (max-width: 1100px) { .board .sm-head.hero3, .board .sf-hero.hero3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 180px; } .board .hero3 .sh-face { width: 180px; } }
  /* Seguir: el avance automático es un relleno verde de izquierda a derecha; sin anillos */

  .board .next-btn .next-fill{ display: block !important; position: absolute; left: 0; top: 0; bottom: 0; z-index: 0 !important; width: calc(var(--prog, 0) * 100%); opacity: 1 !important; background: #6fbf86 !important; border-radius: inherit; pointer-events: none; }
  .board .next-btn .next-fill::after { display: none !important; }
  .board .next-btn .ring, .board .next-btn .cd { display: none !important; }
  .board .next-btn .next-l { position: relative !important; z-index: 1; flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; }
   .board .next-btn .next-l .arrow { position: static !important; margin: 0 !important; width: 24px !important; height: 24px !important; }

  .board .next-btn:is(:hover, :focus-visible) .next-fill { opacity: 0 !important; }
  /* ningún anillo punteado en botones */
   .board .pill-s .sh::before, .board .ib-s::before { display: none !important; }

  /* Sello ¿Y si…?: estallido de certificado */
  .board .seal.sburst { display: inline-grid; justify-items: center; gap: 4px; animation: sb-in .6s cubic-bezier(.2,.8,.2,1) both; }
  .board .seal.sburst svg { width: var(--sz); height: var(--sz); overflow: visible; }
  .board .sburst .sb-o { fill: transparent; stroke: #e0b35a; stroke-width: 2.2; stroke-linejoin: miter; }
  .board .sburst .sb-i { fill: none; stroke: #e0b35a; stroke-width: 1.4; }
  .board .sburst .sb-t { fill: #f3eee4; font-family: var(--font-body); font-weight: 800; letter-spacing: .4px; }
  .board .sburst.is-alt .sb-o { fill: #e0b35a; stroke: #e0b35a; }
  .board .sburst.is-alt .sb-i { stroke: #1d1a17; stroke-opacity: .55; }
  .board .sburst.is-alt .sb-t { fill: #1d1a17; }
  .board .sburst em { font-style: normal; font-size: .875rem; font-weight: 700; color: #e0b35a; white-space: nowrap; }
  @keyframes sb-in { from { transform: rotate(-24deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .board .seal.sburst { animation: none; } }
  .board .tb #tb-badge .seal { margin-right: 4px; }
  .board .res-rl .sburst { --sz: 26px !important; } .board .res-rl .sburst .sb-t { display: none; }
  /* V2-START */
  /* ===== Resumen v2: veredictos grandes, quién bajo el sello, epitafio con nombre, separación compacta al final ===== */
  .board .sh-who { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
  .board .sh-v { display: grid; justify-items: center; gap: 10px; }
  .board .sh-v .sh-who { text-align: center; max-width: 32ch; }
  .board .epi-k { color: #e0b35a; margin-bottom: -2px; }
  /* Balance: la frase manda, el indicador debajo en pequeño */
  .board .sf-bal .sv3.hrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; min-height: 0; margin: 10px 0 18px; }
  .board .sf-bal .sv3.hrow span { display: grid; align-content: start; gap: 8px; padding-top: 12px; border-top: 3px solid var(--gc, #f3eee4); container-type: normal; min-width: 0; }
  .board .sf-bal .sv3.hrow em { font-family: var(--font-display); font-weight: var(--display-weight); font-style: normal; font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.04; white-space: normal; overflow: visible; text-wrap: balance; color: var(--gc, #f3eee4); }
  .board .sf-bal .sv3.hrow b { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
  /* Si 500 personas: misma jerarquía */
  .board .sf-dist .ds-end.hrow { min-height: 0; margin: 10px 0 18px; padding-top: 12px; border-top: 3px solid #f3eee4; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.04; text-wrap: balance; }
  .board .sf-dist .ds3 { gap: 18px; }
  .board .sf-dist .ds3 b { font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: .95; }
  .board .sf-dist .ds3 b.w { font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.02; }
  .board .sf-dist .dsb { margin-top: 52px; }
  .board .sf-dist .ds3 span { font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-mute); }
  /* Dónde te separaste: media columna, al final */
  .board .sm-fam2 > .sf-diffs { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--gap-grid) / 2); box-sizing: border-box; padding: 16px 18px; }
  .board .sf-diffs .dv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 8px; }
  .board .sf-diffs .dv-age { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding: 0; }
  .board .sf-diffs .dv-age b { font-size: 30px; line-height: 1; }
  .board .sf-diffs .dv-age span { font-size: 1rem; }
  .board .sf-diffs .dv-ic { display: none; }
  .board .sf-diffs .dv-col { padding: 10px 12px; gap: 4px; }
  .board .sf-diffs .dv-col .lbl { font-size: .75rem; }
  .board .sf-diffs .dv-col b { font-size: 19px; line-height: 1.12; }
  .board .sf-diffs .dv-col p { font-size: .875rem; line-height: 1.35; }
  .board .sf-diffs .dv-rep { margin-top: 10px; padding: 6px 10px; font-size: .875rem; }
  .board .sf-diffs .dv-rep b { font-size: .75rem; }
  .board .sf-diffs .df-more { margin-top: 8px; }
  @media (max-width: 900px) { .board .sm-fam2 > .sf-diffs { width: 100%; } }
  /* La historia pasó lejos de ti: ilustración grande con pie */
  .board .sm-hist.is-lejos { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; }
  .board .hl { margin: 0; display: grid; align-content: center; justify-items: center; gap: 16px; text-align: center; min-height: 0; }
  .board .hl-a { width: 100%; max-width: 620px; aspect-ratio: 320 / 200; overflow: hidden; border: 1px solid rgba(224,179,90,.35); }
  .board .hl-a svg { width: 100%; height: 100%; display: block; }
  .board .hl figcaption { display: grid; gap: 6px; justify-items: center; }
  .board .hl figcaption b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; color: #f3eee4; text-wrap: balance; }
  .board .hl figcaption span { font-size: .95rem; color: var(--ink-soft); max-width: 40ch; }
  .board .hl.no-art { padding: 28px 8px; }
  .board .hl.no-art figcaption::before { content: ""; width: 64px; height: 3px; margin-bottom: 10px; background: #e0b35a; }
  @media (max-width: 700px) {
    .board .sf-bal .sv3.hrow { grid-template-columns: 1fr; gap: 8px; margin: 6px 0 10px; }
    .board .sf-bal .sv3.hrow span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 6px; border-top-width: 2px; }
    .board .sf-bal .sv3.hrow em, .board .spg .sf-bal .sv3 em { font-size: 22px !important; }
    .board .sf-bal .sv3.hrow b { flex: none; font-size: .75rem; }
    .board .sf-dist .ds-end.hrow { font-size: 23px; margin: 6px 0 10px; padding-top: 8px; }
    .board .spg .sf-dist .ds3 b { font-size: 2rem; } .board .spg .sf-dist .ds3 b.w { font-size: 1.4rem; }
    .board .sm-fam2 > .sf-diffs, .board .spg .sf-diffs { width: 100%; }
    .board .spg .sf-diffs .dv { grid-template-columns: 1fr; }
    .board .spg .sf-diffs .dv-age b { font-size: 2rem; }
    .board .spg .sm-hist.is-lejos { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
    .board .spg .sm-hist.is-lejos .hl { flex: 1 1 auto; align-content: center; }
    .board .hl figcaption b { font-size: 26px; }
  }
  /* ===== Botones: sin puertecitas ni túnel; los "no decisión" solo rellenan de color ===== */

  /* ===== Botones de cerrar (×): sistema 7, botón redondo de icono ===== */
  .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s) { --xb: #121110; place-items: center; width: 48px; height: 48px; min-width: 0; min-height: 0; padding: 0; border: 0 !important; border-radius: 50% !important; background: transparent; color: var(--b-cr); box-shadow: inset 0 0 0 1.5px var(--b-cr), inset 0 0 0 4.5px var(--xb), inset 0 0 0 5.5px var(--b-line2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .5s cubic-bezier(.2,.8,.2,1); }
  .board :is(.tb .icon-btn, .pop-x, .dato-x) { display: grid; }
  .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s) svg { width: 14px; height: 14px; }
  .board .pop-x { --xb: #35120f; } .board .pop-card.div .pop-x { --xb: #0f2618; } .board .pop-card.death .pop-x { --xb: #0b0a09; } .board .pop-card.share .pop-x { --xb: #1c1a17; }
  .board .dato-x, .board .ib-s { --xb: #1c1a17; }
  .board .dato-x { width: 40px; height: 40px; right: 8px; top: 8px; } .board .dato-x svg { width: 12px; height: 12px; }
  .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s):hover, .board.force-hover :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s) { background: var(--b-oc); color: var(--b-ink); box-shadow: inset 0 0 0 1.5px var(--b-oc), inset 0 0 0 4.5px var(--b-oc), inset 0 0 0 5.5px rgba(29,26,23,.5); transform: rotate(90deg); }
  .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s):focus-visible { outline: 2px solid var(--b-oc); outline-offset: 4px; }
  .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s):active { transform: rotate(90deg) scale(.94); }
  @media (max-width: 700px) { .board .dato-x { width: 44px; height: 44px; right: 10px; top: 10px; } }
  @media (prefers-reduced-motion: reduce) { .board :is(.tb .icon-btn, .pop-x, .dato-x, .ib-s) { transition: none; } }
  @media (max-width: 700px) {
    .board .pop-card.hist .pop-art { flex: 0 1 75vw; min-height: 120px; max-height: 75vw; padding: 0 !important; }
    .board .pop-card.hist .pop-art svg { width: 100%; height: 100%; aspect-ratio: auto; box-shadow: none; }
    .board .pop-card.hist .pop-body { flex: 1 0 auto; gap: 0; padding: 16px 20px 0; }
    .board .pop-card.hist .pop-body .eyebrow { margin-bottom: 4px; }
    .board .pop-card.hist .pop-body .pop-y { font-size: 34px; line-height: 1; }
    .board .pop-card.hist .pop-body h2 { margin: 4px 0 12px; font-size: 25px; line-height: 1.06; text-wrap: balance; }
    .board .pop-card.hist .pop-3 { grid-template-columns: 76px minmax(0, 1fr); gap: 7px 12px; margin: 0; }
    .board .pop-card.hist .pop-3 dt { font-size: .7rem; line-height: 1.25; padding-top: 2px; white-space: normal; }
    .board .pop-card.hist .pop-3 dd { display: block; -webkit-line-clamp: none; overflow: visible; font-size: 15px; line-height: 1.36; }
    .board .pop-card.hist .pop-body .fact { display: block; -webkit-line-clamp: none; overflow: visible; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(243,238,228,.14); font-size: 14px; line-height: 1.4; }
    .board .pop-card.hist .pop-body .pop-cta { width: calc(100% + 40px); margin: auto -20px 0; }
  }

  /* ===== Pop-up de momento histórico (escritorio): tamaño de siempre, dibujo 4:3 entero con marco, módulos claros ===== */
  .board .pop-card.hist .pop-art, .board .pop-card.hist .pop-art:has(svg.p1) { display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--e-dark, #22283a) 70%, #0b0a09); }
  .board .pop-card.hist .pop-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px rgba(243,238,228,.16), 0 10px 28px rgba(0,0,0,.35); }
  @media (min-width: 701px) {
    .board .pop-card.hist { overflow: hidden; }
    .board .pop-card.hist .pop-art { min-height: 0; }
    .board .pop-card.hist .pop-body { gap: 0; align-content: center; padding: 30px 34px 30px; }
    .board .pop-card.hist .pop-body .eyebrow { margin-bottom: 6px; padding-right: 56px; }
    .board .pop-card.hist .pop-y { font-size: clamp(2.6rem, 3.8vw, 3.4rem); line-height: .9; }
    .board .pop-card.hist .pop-body h2 { margin: 8px 0 16px; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.06; text-wrap: balance; color: #f3eee4; }
    .board .pop-card.hist .pop-3 { grid-template-columns: 7.6em minmax(0, 1fr); gap: 0 16px; margin: 0; }
    .board .pop-card.hist .pop-3 dt, .board .pop-card.hist .pop-3 dd { padding: 9px 0; border-top: 1px solid rgba(243,238,228,.13); }
    .board .pop-card.hist .pop-3 dt { font-size: .72rem; line-height: 1.3; padding-top: 12px; }
    .board .pop-card.hist .pop-3 dd { font-size: .95rem; line-height: 1.4; }
    .board .pop-card.hist .pop-body .fact { margin: 0; padding: 10px 0 0; border-top: 1px solid rgba(243,238,228,.13); font-size: .875rem; line-height: 1.45; }
    .board .pop-card.hist .pop-body .pop-cta { margin-top: 18px; min-height: 58px; }
  }
  /* ===== Si 500 personas → "Tu suerte": la línea manda ===== */
  .board .sf-dist { display: flex; flex-direction: column; }
  .board .sf-dist .dsb { height: 22px; margin: 50px 0 0; }
  .board .sf-dist .dsb-m { top: -18px; bottom: -18px; }
  .board .sf-dist .dsb-m em { font-size: 1rem; padding: 4px 9px; }
  .board .sf-dist .dsb-m.me em { margin-top: 6px; }
  .board .sf-dist .dsb-ends { margin-top: 48px; }
  .board .sf-dist .ds3 { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); gap: 14px; }
  .board .sf-dist .ds3 b { font-size: 1.7rem !important; line-height: 1; }
  .board .sf-dist .ds3 b.w { font-size: 1.35rem !important; }
  .board .sf-dist .ds3 span { font-size: .8rem; letter-spacing: 0; }
  .board .ds-leg { margin: auto 0 0; padding-top: 14px; font-size: .8rem; color: var(--ink-mute); font-style: italic; }
  /* Balance: leyenda con los dos marcadores */
  .board .db-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 8px; font-size: .875rem; color: var(--ink-soft); }
  .board .db-leg span { display: inline-flex; align-items: center; gap: 8px; }
  .board .db-leg i { display: inline-block; width: 12px; height: 12px; }
  .board .db-leg .lg-a { outline: 2px solid #8f887c; outline-offset: -2px; background: var(--cream); }
  /* Cabecera final: imagen - datos - epitafio */
  @media (min-width: 701px) {
    .board .sm-head.hero3, .board .sf-hero.hero3 { grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.2fr); padding: 20px 28px 20px 20px !important; }
    .board .hero3 .sh-face { order: -1; justify-self: start; }
  }
  @media (min-width: 701px) and (max-width: 1100px) { .board .sm-head.hero3, .board .sf-hero.hero3 { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr); } }
  @media (max-width: 700px) {
    .board .sf-dist .dsb { margin-top: 44px; height: 18px; }
    .board .sf-dist .dsb-ends { margin-top: 44px; }
    .board .spg .sf-dist .ds3 b { font-size: 1.35rem !important; } .board .spg .sf-dist .ds3 b.w { font-size: 1.1rem !important; }
    .board .sf-dist .ds3 span { font-size: .75rem !important; }
  }
  /* ===== Botón puerta: al aparecer con foco (pop-up) se ve en reposo; se abre solo al pasar el ratón ===== */

  /* ===== Anónimos: fases con % de acierto, momentos clave como etiquetas ===== */
  .board .sm-ch .ch-pct { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
  .board .sm-ch .ch-pct b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.6rem; line-height: 1; color: #f3eee4; }
  .board .sm-ch .ch-pct .agg { justify-self: auto; }
  .board .ch-seg { display: flex; gap: 3px; height: 6px; max-width: 320px; }
  .board .ch-seg i { flex: 1; background: var(--line-strong); }
  .board .ch-seg i.k-great, .board .ch-seg i.k-good { background: var(--green); } .board .ch-seg i.k-mixed { background: #e8cf8f; } .board .ch-seg i.k-bad, .board .ch-seg i.k-death { background: var(--red); }
  .board .ch-sum { margin: 0; font-size: .875rem; color: var(--ink-soft); }
  .board .kps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
  .board .kp { --kc: #e0b35a; display: grid; gap: 2px; padding: 6px 10px 7px; border-left: 3px solid var(--kc); background: rgba(243,238,228,.05); }
  .board .kp.k-great, .board .kp.k-good { --kc: var(--green); } .board .kp.k-mixed { --kc: #e8cf8f; } .board .kp.k-bad, .board .kp.k-death { --kc: var(--red); }
  .board .kp b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; line-height: 1.12; color: #f3eee4; }
  .board .kp small { font-size: .8rem; color: var(--ink-mute); }
  .board .sm-anon .sm-ch { display: grid; align-content: start; gap: 8px; }
  .board .sm-anon .sm-ch h3 { margin: 0; }
  @media (min-width: 701px) {
    .board .sm-anon .sm-ch { padding-right: 150px !important; }
    .board .sm-anon .sm-ch .ch-body { width: 128px !important; height: 172px !important; right: 12px; }
    .board .sm-anon.is-short .sm-ch { padding-right: 200px !important; }
    .board .sm-anon.is-short .sm-ch .ch-body { width: 170px !important; height: 230px !important; }
    .board .sm-ch .ch-pct { flex-wrap: wrap; } .board .sm-ch .ch-pct b { white-space: nowrap; } .board .sm-ch .ch-pct .agg { white-space: nowrap; }
  }
  /* Momentos históricos: una línea por momento, varias columnas */
  .board .sm-hist .vh2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); column-gap: 32px; margin: 6px 0 0; }
  .board .sm-hist .vh2 li { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(243,238,228,.1); }
  .board .sm-hist .vh2 .vh-y { font-size: 1rem; }
  .board .sm-hist .vh2 .vh-m b { font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .board .sm-hist .vh2 .vh-c { display: none; }
  .board .sm-hist .vh2 .stp { width: auto; min-width: 0; height: 20px; padding: 0 8px; font-size: .65rem !important; letter-spacing: .08em; }
  .board .sm-anon.is-short .sm-chs { grid-column: 1; } .board .sm-anon.is-short .sm-hist { grid-column: 2; }
  /* Logros explicados */
  .board .sm-medals { text-align: left; }
  .board .sm-medals .mdl { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px 22px; justify-content: stretch; }
  .board .sm-medals .mdl-i { width: auto; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto; column-gap: 14px; align-items: start; text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
  .board .sm-medals .mdl-c { grid-row: auto; width: 52px; height: 52px; } .board .sm-medals .mdl-c .mi { width: 28px; height: 28px; }
  .board .mdl-t { display: grid; gap: 4px; min-width: 0; }
  .board .sm-medals .mdl-i b, .board .sm-medals .mdl-i:not(:has(small)) b { grid-row: auto; align-self: auto; font-size: 20px; }
  .board .sm-medals .mdl-i small { align-self: auto; }
  .board .mdl-w { margin: 2px 0 0; font-size: .9rem; line-height: 1.4; color: #e6e0d4; }
  .board .mdl-x { margin: 2px 0 0; font-size: .8rem; line-height: 1.4; color: var(--ink-mute); }
  .board .mdl-x span { margin-right: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e0b35a; }
  @media (max-width: 700px) {
    .board .sm-anon.is-short .sm-chs, .board .sm-anon.is-short .sm-hist { grid-column: 1; }
    .board .sm-hist .vh2 { grid-template-columns: 1fr; }
    .board .sm-hist .vh2 li { grid-template-columns: 44px minmax(0, 1fr) auto !important; }
    .board .sm-hist .vh2 .vh-m b { font-size: 16px !important; }
    .board .sm-hist .vh2 li .stp { grid-column: 3 !important; }
    .board .sm-ch .ch-pct b { font-size: 2rem; }
    .board .sm-medals .mdl { grid-template-columns: 1fr; gap: 8px; }
    .board .sm-medals .mdl-i { width: 100%; padding: 8px 10px; grid-template-columns: 40px minmax(0, 1fr); }
    .board .sm-medals .mdl-c { width: 40px; height: 40px; } .board .sm-medals .mdl-c .mi { width: 22px; height: 22px; }
    .board .sm-medals .mdl-i b { font-size: 17px; }
    .board .mdl-w { font-size: 14px; }
    .board .sm-medals .mdl-i:nth-child(n+4) { display: none; }
  }
  @media (max-width: 700px) {
    .board .spg .sm-ch { grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 5px 10px; }
    .board .spg .sm-ch .eyebrow, .board .spg .sm-ch .ch-seg, .board .spg .sm-ch .ch-sum, .board .spg .sm-ch .kps { grid-column: 1 / -1; }
    .board .spg .sm-ch h3 { grid-column: 1; align-self: center; font-size: 1.35rem !important; white-space: nowrap; }
    .board .spg .sm-ch .ch-pct { grid-column: 2; grid-row: 2; flex-wrap: nowrap; gap: 8px; }
    .board .spg .sm-ch .ch-pct b { font-size: 1.7rem; }
    .board .spg .sm-ch .ch-seg { max-width: none; height: 5px; }
    .board .spg .sm-ch .ch-sum { font-size: .8rem; }
    .board .spg .sm-ch .kps { margin: 2px 0 0; gap: 4px; }
    .board .spg .sm-ch .kp { padding: 4px 8px; gap: 0; }
    .board .spg .sm-ch .kp b { font-size: 16px; line-height: 1.15; }
    .board .spg .sm-ch .kp small { font-size: 12px !important; }
    .board .spg .sm-anon.is-short .sm-ch .ch-body, .board .sm-anon.is-short .spg .sm-ch .ch-body { display: block; position: absolute; right: 12px; bottom: 0; width: 150px !important; height: 210px !important; }
    .board .spg .sm-ch .kp:nth-child(n+3) { display: none; }
    .board .spg .sm-gg .sm-cts { gap: 6px; }
  }
  /* ===== Barra del juego: H1 de la página encima del nombre del acontecimiento ===== */
  .tb-tt { display: grid; gap: 3px; min-width: 0; }
  .tb .tb-h1 { margin: 0; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1; color: #e0b35a; white-space: nowrap; }
  @media (max-width: 700px) { .board .tb .tb-h1 { font-size: .62rem; letter-spacing: .12em; } }
  /* ===== Descripción del juego ===== */
  .sim-about h2 { max-width: 22ch; margin: 0 0 18px; }
  .sa-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
  .sa-cols p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); max-width: 42ch; }
  .sa-cols b { color: var(--ink); font-weight: 700; }
  @media (max-width: 800px) { .sa-cols { grid-template-columns: 1fr; gap: 12px; } }
  /* ===== Cómo se juega: cuadrados numerados como en la portada ===== */
  .steps-wrap { padding-block: clamp(40px, 6vw, 88px); }
  .steps-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 44px); }
  .steps-head h2 { margin: 0; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); align-items: start; }
  .step { position: relative; padding: clamp(28px, 3vw, 44px); min-height: 360px; display: flex; flex-direction: column; }
  .step .n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.4rem, 5vw, 5rem); line-height: .85; opacity: .35; }
  .step h3 { margin: auto 0 0; padding-top: 48px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(2.2rem, 3.4vw, 3.4rem) * var(--display-scale)); line-height: .92; }
  .step p { margin: 14px 0 0; font-size: 1rem; max-width: 24ch; }
  .step .example { margin-top: 22px; padding-top: 14px; border-top: 1px solid currentColor; font-size: .86rem; opacity: .8; }
  .step:nth-child(1) { background: var(--cream); margin-top: 56px; }
  .step:nth-child(2) { background: var(--red); color: var(--on-color); }
  .step:nth-child(3) { background: var(--deep-green); color: var(--green); margin-top: 88px; }
  .step:nth-child(3) p, .step:nth-child(3) .example { color: #e3f3e7; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 240px; margin-top: 0 !important; } }
  @media (max-width: 600px) { .step { min-height: 0; padding-block: 28px; } .step h3 { padding-top: 28px; } }
  /* ===== Qué puede pasarte: pocas cifras grandes y barras ===== */
  .va2-cls { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap-grid); }
  .va2-c { padding: 20px 22px 22px; border-top: 6px solid var(--cc); background: var(--cream); }
  .va2-c h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; }
  .va2-big { margin: 0; display: flex; align-items: baseline; gap: 10px; }
  .va2-big b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; color: var(--cc); }
  .va2-big span { font-size: .95rem; color: var(--ink-mute); max-width: 10ch; line-height: 1.2; }
  .va2-ph { margin: 14px 0 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; text-wrap: balance; }
  .va2-cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid) clamp(20px, 3vw, 40px); margin-top: clamp(24px, 3vw, 36px); }
  .va2-row h4, .va2-death h4 { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
  .va2-bar { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; }
  .va2-bar > i { display: block; height: 10px; background: var(--line); }
  .va2-bar > i > i { display: block; height: 100%; background: var(--cc, var(--ink)); }
  .va2-bar > b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.05rem; white-space: nowrap; min-width: 6.5em; text-align: right; }
  .va2-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .va2-death { margin-top: clamp(24px, 3vw, 36px); max-width: 760px; }
  .va2-death .va2-bar { grid-template-columns: minmax(0, 16em) minmax(0, 1fr) auto; }
  .va2-death .va2-bar > i > i { background: var(--red); }
  .va2-death .va2-n { white-space: normal; }
  .va2-death .small { margin-top: 10px; }
  @media (max-width: 800px) { .va2-cls, .va2-cmp { grid-template-columns: 1fr; } .va2-c { padding: 16px 18px; } .va2-big b { font-size: 3.4rem; } .va2-death .va2-bar { grid-template-columns: minmax(0, 1fr) 30% auto; } }
  /* ===== ¿Qué vida te habría tocado?: hover con sombra y ondas de puerta ===== */
  /* ===== Marca de agua del logo (Túnel G) en la pantalla final, logros y compartir ===== */
  .board .hero3 { position: relative; overflow: hidden; isolation: isolate; }
  .board .hero3 > :not(.wm):not(.sm-fw) { position: relative; z-index: 1; }
  .board .wm { position: absolute; z-index: 0; right: -70px; bottom: -110px; width: 380px; height: 380px; color: #f3eee4; opacity: .07; pointer-events: none; }
  .board .wm svg { display: block; width: 100%; height: 100%; }
  .board .sm-medals { position: relative; }
  .board .wm-s { position: absolute; top: 18px; right: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-mute); opacity: .55; pointer-events: none; }
  .board .wm-s svg { width: 22px; height: 22px; }
  .board .wm-s b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1rem; letter-spacing: 0; }
  .board .sm-medals .mdl-c { position: relative; border-radius: 999px 999px 8px 8px; }
  .board .sm-medals .mdl-c::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 7px; translate: -50% 0; border-radius: 6px 6px 0 0; background: #e07a77; }
  .board .pop-card.share { overflow: hidden; isolation: isolate; }
  .board .pop-card.share > :not(.wm):not(.pop-x) { position: relative; z-index: 1; }
  .board .pop-card.share > .pop-x { z-index: 3; }
  .board .pop-card.share > .wm { right: 70px; top: -60px; bottom: auto; width: 240px; height: 240px; opacity: .07; }
  @media (max-width: 700px) {
    .board .wm { right: -50px; bottom: -70px; width: 220px; height: 220px; opacity: .05; }
    .board .wm-s b { display: none; } .board .wm-s { top: 14px; right: 14px; }
  }
  /* ===== Epitafio alineado a la izquierda, misma sangría para antetítulo y línea de apoyo ===== */
  .board .hero3 .sh-c { justify-items: start !important; text-align: left !important; }
  .board .hero3 .epi, .board .sm-head .epi, .board .sf-hero .epi { justify-items: start !important; text-align: left; padding: 0 !important; border: 0 !important; margin-left: 0; }
  .board .hero3 .epi span { text-wrap: pretty; }
  .board .hero3 .epi-k, .board .hero3 .sf-end { margin-left: 0; text-align: left; }
  /* ===== Sello de veredicto (anónimos): medallón redondo, aro doble ===== */
  .board .sm-head .vseal { display: grid !important; grid-template-columns: 1fr !important; justify-items: center; align-content: center; gap: 6px !important; width: 136px; height: 136px; min-width: 0; padding: 14px !important; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--vc); outline: 1.5px solid var(--vc); outline-offset: 4px; background: color-mix(in srgb, var(--vc) 10%, transparent); text-align: center; margin: 6px; }
  .board .sm-head .vseal svg { display: block !important; width: 40px !important; height: 40px !important; stroke-width: 2.4; }
  .board .sm-head .vseal b { font-size: 1.3rem !important; line-height: 1.02; white-space: normal; text-wrap: balance; max-width: 96px; }
  @media (max-width: 700px) {
    .board .sm-head .vseal { width: 100px; height: 100px; padding: 10px !important; gap: 4px !important; outline-offset: 3px; }
    .board .sm-head .vseal svg { width: 28px !important; height: 28px !important; }
    .board .sm-head .vseal b { font-size: 1rem !important; max-width: 76px; }
  }
  /* ===== Selector de juegos (sin escenario en la URL) ===== */
  .board.is-pick .setup { display: block; }
  /* en el selector de época los botones de la partida no se ven, pero guardan su sitio: la barra no cambia de tamaño al elegir época (CLS) */
  .board.is-pick .tb-r > :not(#tb-badge) { visibility: hidden; }
  .tb-pick { display: none; }
  .board.is-setup .tb-pick { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--b-cr, #f3eee4); box-shadow: inset 0 0 0 1.5px var(--b-line2, rgba(243,238,228,.5)); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
  .board.is-setup .tb-pick:hover { background: var(--b-cr, #f3eee4); color: #1d1a17; box-shadow: inset 0 0 0 1.5px var(--b-cr, #f3eee4); }
  .board .tb-pick:focus-visible { outline: 2px solid #e0b35a; outline-offset: 4px; }
  .board .pk { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: center; gap: clamp(16px, 2.4vw, 32px); padding: clamp(8px, 2vw, 24px) 0; }
  .board .pk-q { margin: 0; text-align: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(2rem, 3.6vw, 3.2rem) * var(--display-scale)); line-height: 1; color: #f3eee4; }
  .board .pk-doors { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); align-items: start; align-content: center; max-width: 1400px; margin: 0 auto; width: 100%; }
  .board .pk-d { display: grid; gap: 12px; align-content: start; padding: 0; border: 0; background: none; color: #f3eee4; text-align: left; font: inherit; cursor: pointer; }
  .board .pk-d .win { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 6px 6px; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
  .board .pk-d .win svg { display: block; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; }
  .board .pk-d .win::before, .board .pk-d .win::after { content: ""; position: absolute; left: 50%; bottom: 0; z-index: 2; border-radius: 999px 999px 0 0; border: 3px solid #f3eee4; border-bottom: 0; translate: -50% 101%; pointer-events: none; transition: translate .6s cubic-bezier(.2,.9,.25,1); }
  .board .pk-d .win::before { width: 78%; height: 72%; }
  .board .pk-d .win::after { width: 30%; height: 30%; background: #e07a77; transition-delay: .14s; }
  .board .pk-tx { display: grid; gap: 4px; }
  .board .pk-tx .pk-w { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e0b35a; }
  .board .pk-tx b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.08; text-wrap: balance; }
  .board .pk-l { font-size: .85rem; line-height: 1.35; color: var(--ink-soft, #cfc8ba); }
  .board .pk-cta { position: relative; isolation: isolate; overflow: hidden; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 36px; padding: 0 6px 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(243,238,228,.5); font-family: var(--font-display); font-size: .88rem; white-space: nowrap; color: #f3eee4; transition: color .25s .1s; }
  .board .pk-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #e07a77; transform: translateX(-101%); transition: transform .5s cubic-bezier(.65,0,.35,1); }
  .board .pk-cta svg { width: 26px; height: 26px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: #1d1a17; color: #f3eee4; }
  .board .pk-d:is(:hover, :focus-visible) .win, .board.force-hover .pk-d:nth-child(2) .win { transform: translateY(-8px); box-shadow: 0 0 0 3px #f3eee4; }
  .board .pk-d:is(:hover, :focus-visible) .win svg, .board.force-hover .pk-d:nth-child(2) .win svg { filter: brightness(.6) saturate(.85); }
  .board .pk-d:is(:hover, :focus-visible) .win::before, .board .pk-d:is(:hover, :focus-visible) .win::after, .board.force-hover .pk-d:nth-child(2) .win::before, .board.force-hover .pk-d:nth-child(2) .win::after { translate: -50% 0; }
  .board .pk-d:is(:hover, :focus-visible) .pk-cta, .board.force-hover .pk-d:nth-child(2) .pk-cta { color: #1d1a17; }
  .board .pk-d:is(:hover, :focus-visible) .pk-cta::before, .board.force-hover .pk-d:nth-child(2) .pk-cta::before { transform: none; }
  .board .pk-d:focus-visible { outline: none; } .board .pk-d:focus-visible .pk-cta { outline: 2px solid #e0b35a; outline-offset: 3px; }
  @media (max-width: 1100px) and (min-width: 701px) { .board .pk-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } .board .pk-d .win { aspect-ratio: 4 / 3; } }
  @media (max-width: 700px) {
    .board.is-pick .stage { padding: 10px 14px 0; }
    .board .pk { align-content: start; gap: 10px; padding: 4px 0 12px; }
    .board .pk-q { font-size: 1.6rem; }
    .board .pk-doors { grid-template-columns: 1fr; gap: 8px; }
    .board .pk-d { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 8px 6px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(243,238,228,.16); }
    .board .pk-d .win { height: 74px; aspect-ratio: auto; }
    .board .pk-tx { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 1px; }
    .board .pk-tx .pk-w, .board .pk-tx b { grid-column: 1; }
    .board .pk-tx .pk-w { font-size: .65rem; }
    .board .pk-tx b { font-size: 1.05rem; }
    .board .pk-l { display: none; }
    .board .pk-cta { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; width: 36px; padding: 0; justify-content: center; box-shadow: none; }
    .board .pk-cta > span { display: none; }
    .board .pk-cta svg { width: 34px; height: 34px; padding: 9px; }
  }
  @media (prefers-reduced-motion: reduce) { .board .pk-d .win, .board .pk-d .win svg, .board .pk-d .win::before, .board .pk-d .win::after, .board .pk-cta::before { transition: none; } }
  /* V2-END */

  /* ===== Botón único .ob en el tablero (../../styles/base.css). Anula tamaños heredados de los sistemas 7 y 8 ===== */
  .board .ob, .board .ob:is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again, #again3, #share) { min-height: 0 !important; height: var(--ob-h) !important; padding: 0 var(--ob-px) !important; font-size: var(--ob-fs) !important; gap: var(--ob-gap) !important; border: 0 !important; font-family: var(--font-body) !important; }
  .board .ob:has(> .arrow), .board .ob:is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again, #again3, #share):has(> .arrow) { padding-right: calc((var(--ob-h) - var(--ob-ic)) / 2) !important; }
  .board .ob.ob-full:has(> .arrow) { padding-left: calc(var(--ob-px) + 4px) !important; }
  .board .ob > .arrow, .board .ob:is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again, #again3, #share) > .arrow { width: var(--ob-ic) !important; height: var(--ob-ic) !important; stroke-width: 2.2; }
  .board .ob .think { display: none !important; }
  .board .su-go.ob-full { justify-content: center; }
  .board .su-go.ob-full > .arrow { position: absolute; right: calc((var(--ob-h) - var(--ob-ic)) / 2); top: 50%; margin-top: calc(var(--ob-ic) / -2); }
  .board .ob-next .next-l { flex: 1; text-align: left; }
  .board .ob-next .cd { font-size: .8rem; font-weight: 600; opacity: .7; }
  .board .pk-go { justify-self: start; margin-top: 8px; }
  .tb-back { display: none !important; } .board.is-setup .tb-back { display: inline-flex !important; }
  .board .sm-btns { align-items: center; }
  .board :is(.pd, .dc-death) > .ob { margin-top: 14px; }
  @media (max-width: 700px) {
    .board .su-go.ob-full { border-radius: 999px !important; margin: 12px 0 0; width: 100%; }
    .board .pop-card .ob:not(.pop-x), .board .pop-body .ob { position: sticky; bottom: 12px; flex: none; width: 100%; margin: auto 0 0; }
    .board .pop-card > .pop-x { position: absolute; top: 12px; right: 12px; bottom: auto; left: auto; z-index: 4; }
    .board .pop-card .pd > .ob:not(.pop-x) { position: relative; flex: none; width: calc(100% - 32px); margin: 16px 16px 16px; }
    .board .pop-card .pd-art { flex: 1 1 34dvh; min-height: 0; }
    .board .sm-btns { display: flex; flex-wrap: wrap; gap: 8px; }
    .board .sm-btns #again { order: -1; flex: 1 1 100%; justify-content: space-between; padding-left: calc(var(--ob-px) + 4px) !important; }
    .board .tb-back { --ob-h: 36px; --ob-px: 12px; --ob-fs: .8rem; }
    .board .sm-btns #again3, .board .sm-btns #share { flex: 1; }
  }

  /* =====================================================================
     Ronda 8: acciones del análisis del juego (2026-11-05)
     Regla de forma: lo que se pulsa es redondo (píldora o puerta 24/6), los contenedores son rectos.
     ===================================================================== */
  /* Errores: el botón de avance dice el salto real y el año */
  .board .ob-next .next-l small { margin-left: 8px; font-size: .82em; font-weight: 600; opacity: .6; }
  /* Errores: el texto que cuenta lo que pasa nunca se corta */
  .board .dc-txt p { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; display: block !important; -webkit-line-clamp: unset !important; }
  @media (max-width: 700px) {
    .board .play .dc-txt h3, .board .play .opt .t, .board .play .opt .res .res-t { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
    .board .play .dec { overflow-y: auto !important; }
    .board .tb .tb-gt { white-space: normal; text-overflow: clip; font-size: 1.05rem; line-height: 1.1; }
    .board .tb .tb-gt span { display: none; }
    /* La descripción de la cuna elegida va debajo de las tarjetas, entera */
    .board .su-half.anon .pc-t > span { display: none !important; }
    .board .su-cap { display: block; margin: 10px 2px 0; font-size: .92rem; line-height: 1.35; color: var(--ink-soft, #cfc8ba); }
  }
  .su-cap { display: none; margin: 0; }
  /* La barra del mockup no tapa el tablero */
  body[data-page="simuladores"] .mockbar { display: none; }

  /* Pantalla de inicio: titular, subtítulo y Jugar ya juntos; botones de las puertas en la misma línea */
  .board .pk { grid-template-rows: auto auto; align-content: center; gap: clamp(22px, 3vw, 40px); }
  .board .pk-h { display: grid; justify-items: center; gap: 14px; text-align: center; }
  .board .pk-sub { margin: 0; max-width: 52ch; font-size: 1.05rem; line-height: 1.4; color: var(--ink-soft, #cfc8ba); }
  .board .pk-doors { align-items: stretch; }
  .board .pk-d { grid-template-rows: auto 1fr; }
  .board .pk-tx { display: flex; flex-direction: column; gap: 4px; }
  .board .pk-tx b { min-height: 2.16em; }
  .board .pk-l { margin-bottom: 14px; }
  .board .pk-go { margin-top: auto !important; align-self: flex-start; }
  .board .pk-d { min-width: 0; } .board .pk-sub { text-wrap: balance; }
  @media (min-width: 1101px) { .board .pk-go { --ob-px: 12px; --ob-fs: .84rem; --ob-gap: 8px; max-width: 100%; } }
  @media (max-width: 700px) {
    .board .pk-h { gap: 10px; } .board .pk-sub { font-size: .95rem; }
    .board .pk-d { grid-template-rows: auto; border-radius: 24px 24px 6px 6px; }
    .board .pk-tx { display: grid; }
    .board .pk-tx b { min-height: 0; }
    .board .pk-go { grid-column: 2; grid-row: 1 / 3; align-self: center !important; margin: 0 !important; width: var(--ob-h); padding: 0 !important; justify-content: center; }
    .board .pk-go > span { display: none; }
  }

  /* Simetría en ¿Quién eres?: las dos mitades comparten filas (cabecera, tarjetas, pie) */
  @media (min-width: 701px) {
    .board .su-halves { grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 14px; }
    .board .su-half { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid !important; row-gap: 14px; border-color: transparent !important; }
    .board .su-half .su-cards.n-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .board .su-half .su-cards.n-6 .pc { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; justify-items: start; gap: 10px; padding: 14px 14px 14px 14px; }
    .board .su-half .su-cards.n-6 .pc-face { width: 64px; height: 64px; }
    .board .su-half .su-cards.n-6 .pc-t b { font-size: 1.15rem; }
    .board .su-realnote { align-self: end; margin: 0; max-width: 52ch; font-size: .95rem; line-height: 1.4; color: var(--ink-soft, #cfc8ba); }
  }
  @media (max-width: 700px) { .board .su-realnote { margin: 10px 2px 0; font-size: .9rem; line-height: 1.35; color: var(--ink-soft, #cfc8ba); } }
  .board .su-half .pc { border-radius: 24px 24px 6px 6px; }
  .board .su-half .pc-ok { right: 12px !important; top: 12px !important; }

  /* Partida: las opciones miden lo que su contenido; el resultado solo ocupa sitio en la elegida */
  .board .opt { border-radius: 24px 24px 6px 6px; min-height: 0 !important; }
  .board .opt:not(.is-picked) .res { display: none; }
  .board .opts { align-items: start; }
  @media (max-width: 700px) { .board .play .oc-row { margin-top: 14px !important; } }
  /* La ilustración, más grande; en móvil vuelve a verse */
  @media (min-width: 701px) { .board .dc-head { grid-template-columns: clamp(150px, 15vw, 210px) minmax(0, 1fr) !important; align-items: center; } }
  @media (max-width: 700px) {
    .board .play .dc-head { display: grid !important; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
    .board .play .dc-art { display: block !important; width: 72px; height: 72px; }
  }
  /* Menos cajas dentro de cajas: los paneles se distinguen por su fondo, sin borde */
  .board .play .pts, .board .play .tl, .board .play .dec { border-color: transparent !important; }

  /* Un solo color para cada resultado, como dice la leyenda: Ganas verde, Acierto azul, A medias ocre, Fallo rojo */
  .board .tr.slim.k-good .dot { background: #8fb0d9; }
  .board .opt.o-good { --oc: #8fb0d9; }

  /* Legibilidad: números pequeños en Figtree de ancho fijo; las edades futuras con más contraste */
  .board .tl-body .tr .ty, .board .tl-body .tr .ta { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-weight: 600; }
  .board .tl-body .tr .ta { font-size: .95rem; }
  .board .tl-body .tr .ty { font-size: .78rem; }
  .board .tl-body .tr.fut .ta { color: #8f887c; }
  .board .tl-body .tr.fut .dot { border-color: #6f695f; }
  /* Resultado: un nivel principal (sello) y uno secundario (cambios, en texto normal) */
  .board .opt .res .deltas .dl { font-family: var(--font-body) !important; font-size: .95rem !important; font-weight: 700; letter-spacing: 0; }
  .board .opt .res .stamp i { font-size: .7em; opacity: .8; }

  /* La suerte, su propio momento: entra después del resultado */
  .board .lk-beat { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: color-mix(in srgb, var(--lk) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lk) 55%, transparent); color: #f3eee4; animation: lk-in .55s cubic-bezier(.2,.8,.2,1) .6s both; max-width: 100%; }
  .board .lk-beat.good { --lk: #6fbf86; } .board .lk-beat.bad { --lk: #e07a77; }
  .board .lk-dice { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--lk); color: #1d1a17; animation: lk-roll .7s cubic-bezier(.2,.8,.2,1) .6s both; }
  .board .lk-t { display: grid; gap: 1px; min-width: 0; font-size: .9rem; line-height: 1.25; }
  .board .lk-t b { font-weight: 700; } .board .lk-t .lk-d { font-weight: 700; color: var(--lk); }
  .board .lk-t small { font-size: .8rem; color: var(--ink-soft, #cfc8ba); }
  .board .oc-side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  @keyframes lk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes lk-roll { from { transform: rotate(-200deg) scale(.6); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .board .lk-beat, .board .lk-dice { animation: none; } }

  /* Causa de la muerte ligada a una decisión */
  .board .dd-link { margin: 6px 0 0; font-size: .95rem; line-height: 1.4; color: #e0b35a; }

  /* Atajos A y B: solo con ratón y teclado, discretos, al pasar por la opción */
  .board .opt .kb { display: none; }
  @media (hover: hover) and (pointer: fine) and (min-width: 701px) {
    .board .opt .k { position: relative; }
    .board .opt .kb { display: grid; place-items: center; position: absolute; left: 50%; top: calc(100% + 6px); translate: -50% 0; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px currentColor; font: 700 .72rem/1 var(--font-body); color: #8f887c; opacity: 0; transition: opacity .2s; }
    .board .opt:not(:disabled):is(:hover, :focus-visible) .kb { opacity: 1; }
  }

  /* Cerrar y Dato con el botón único */
  .board .ob.ob-icon { width: var(--ob-h) !important; height: var(--ob-h) !important; min-width: 0 !important; padding: 0 !important; background: var(--ob-bg) !important; box-shadow: inset 0 0 0 1.5px var(--ob-bd) !important; color: var(--ob-fg) !important; border: 0 !important; }
  .board .ob.ob-icon:is(:hover, :focus-visible) { color: var(--ob-hfg) !important; box-shadow: inset 0 0 0 1.5px var(--ob-fill) !important; background: var(--ob-bg) !important; }
  .board .ob.ob-icon svg { width: 16px !important; height: 16px !important; }
  .board .dato-b.ob { height: var(--ob-h) !important; padding: 0 5px 0 16px !important; gap: 10px !important; background: var(--ob-bg) !important; box-shadow: inset 0 0 0 1.5px var(--ob-bd) !important; color: var(--ob-fg) !important; }
  .board .dato-b.ob:is(:hover, :focus-visible) { color: var(--ob-hfg) !important; box-shadow: inset 0 0 0 1.5px var(--ob-fill) !important; }
  .board .dato-b.ob { text-transform: none !important; letter-spacing: -.005em !important; font-weight: 650 !important; font-size: var(--ob-fs) !important; }
  .board .dato-b.ob i { width: 30px; height: 30px; background: var(--ob-icbg); color: var(--ob-icfg); }
  .board .dato-b.ob:is(:hover, :focus-visible) i { background: var(--ob-hicbg); color: var(--ob-hicfg); }

  /* ===== Escritorio con poca altura (portátiles de 768 y 720): nada se corta por abajo ===== */
  @media (min-width: 701px) {
    /* La ilustración crece con el ancho pero también con el alto disponible */
    .board .dc-head { grid-template-columns: clamp(96px, min(15vw, 30svh - 90px), 210px) minmax(0, 1fr) !important; }
    /* Red de seguridad: si algo no cabe, el panel se desplaza en vez de recortar */
    .board .play .dec, .board.is-setup .setup { overflow-y: auto !important; scrollbar-width: thin; }
  }
  @media (min-width: 701px) and (max-height: 820px) {
    .board .dec { padding: 14px 20px !important; gap: 12px !important; }
    .board .dc-txt h3 { font-size: 34px; margin: 6px 0 4px; }
    .board .dc-txt p { font-size: 15px; }
    .board .opt { padding-top: 12px !important; padding-bottom: 12px !important; }
    .board .opt .t { font-size: 24px; }
    .board .oc-row { min-height: 0; }
    .board .ob-next, .board .ob-lg { --ob-h: 52px; --ob-ic: 40px; --ob-fs: 1.05rem; }
    .board .lk-beat { padding: 6px 14px 6px 6px; } .board .lk-t small { display: none; }
    /* ¿Quién eres?: titular más bajo y tarjetas de personaje en horizontal */
    .board .su-q { font-size: 34px; margin: 0 0 10px; }
    .board .su-half .pc-t b { font-size: 1.1rem; }
    .board .su-half .pc-t span { font-size: .85rem; line-height: 1.3; }
    .board .su-half .pc { padding: 10px 26px 10px 10px; gap: 10px; grid-template-columns: 52px minmax(0, 1fr); }
    .board .su-half .pc-face { height: 64px; }
    .board .su-half .su-cards.n-6 .pc { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; align-items: center; justify-items: stretch; padding: 8px 24px 8px 8px; }
    .board .su-half .su-cards.n-6 .pc-face { width: 44px; height: 54px; }
    .board .su-half .su-cards.n-6 .pc-t b { font-size: 1rem; }
    .board .su-half .pc-tag { font-size: .78rem; white-space: normal; line-height: 1.2; }
    .board .su-realnote { font-size: .85rem; }
  }

  /* Cambio de lugar entre dos turnos (vuelves de la guerra, del exilio, de la travesía): una línea antes del acontecimiento */
  .board .dc-move { margin: 0 0 8px; font-size: .9rem; font-style: italic; color: #e0b35a; }

  /* =====================================================================
     Ronda 12: marcador (edad como titular, retrato grande, termómetros, camino) y tarjetas de vida
     ===================================================================== */
  .board .play .pts { display: block !important; padding: 14px 22px 10px !important; }
  .board .sb { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "age face who eq" "road road road road"; column-gap: 22px; row-gap: 6px; align-items: end; }
  .board .sb-age { grid-area: age; display: grid; gap: 2px; }
  .board .sb-num { font-family: var(--font-display); font-size: clamp(5rem, 7vw, 6.6rem); line-height: .78; color: #e07a77; font-variant-numeric: lining-nums; }
  .board .sb-age small { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft, #cfc8ba); }
  .board .sb-age.bump .sb-num { animation: sb-bump .5s cubic-bezier(.2,.8,.2,1); }
  @keyframes sb-bump { 0% { transform: translateY(8px); opacity: .4; } 100% { transform: none; opacity: 1; } }
  .board .sb-face { grid-area: face; align-self: center; }
  .board .sb-face .sb-fc { display: block; width: 96px; height: 96px; border-radius: 10px; }
  .board .sb-who { grid-area: who; display: grid; gap: 6px; align-content: end; min-width: 0; }
  .board .sb-who .pt-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1; white-space: normal; }
  .board .sb-who .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .board .sb-risk { font-size: .82rem; color: var(--ink-soft, #cfc8ba); } .board .sb-risk .rk-lo { color: #6fbf86; } .board .sb-risk .rk-mid { color: #e0b35a; } .board .sb-risk .rk-hi { color: #e07a77; }
  .board .sb-eq { grid-area: eq; display: flex; gap: 20px; align-items: end; }
  .board .sb-t { display: grid; justify-items: center; gap: 5px; --c: #8fb0d9; }
  .board .sb-t.sb-fortuna { --c: #6fbf86; } .board .sb-t.sb-fama { --c: #e0b35a; }
  .board .sb-v { position: relative; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
  .board .sb-v em { position: absolute; left: 100%; top: -6px; margin-left: 3px; font-family: var(--font-body); font-style: normal; font-size: .72rem; font-weight: 800; }
  .board .sb-t.up .sb-v em { color: #6fbf86; } .board .sb-t.down .sb-v em { color: #e07a77; }
  .board .sb-tube { position: relative; width: 22px; height: 70px; border-radius: 11px; background: #2e2a26; }
  .board .sb-tube > i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 11px; background: var(--c); transition: height .7s cubic-bezier(.2,.8,.2,1); }
  .board .sb-tube > u { position: absolute; left: -6px; right: -6px; height: 2px; background: #f3eee4; opacity: .85; }
  .board .sb-tube > u.ok { background: var(--c); height: 3px; }
  .board .sb-t small { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
  .board .sb-road { grid-area: road; position: relative; height: 40px; margin-top: 2px; }
  .board .sb-line, .board .sb-done { position: absolute; left: 0; top: 24px; height: 5px; border-radius: 3px; }
  .board .sb-line { right: 0; background: #2e2a26; } .board .sb-done { background: #e07a77; }
  .board .sb-tk { position: absolute; top: 32px; transform: translateX(-50%); font-size: .64rem; color: var(--ink-mute, #8f887c); }
  .board .sb-h { position: absolute; top: 22px; width: 9px; height: 9px; margin-left: -4.5px; background: #e0b35a; transform: rotate(45deg); }
  .board .sb-now { position: absolute; top: -2px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: #e07a77; color: #1d1a17; font-size: .74rem; font-weight: 800; white-space: nowrap; }
  .board .sb-now::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-top-color: #e07a77; border-bottom: 0; }
  @media (min-width: 701px) and (max-height: 820px) {
    .board .sb-num { font-size: 5rem; } .board .sb-face .sb-fc { width: 78px; height: 78px; } .board .sb-tube { height: 60px; } .board .sb-v { font-size: 1.3rem; }
    .board .play .pts { padding: 10px 20px 6px !important; } .board .sb-road { height: 38px; }
  }

  /* Línea de vida: tarjetas sintéticas, tres tonos */
  .board .play .tl-body { display: flex !important; flex-direction: column; gap: 6px; overflow-y: auto !important; overflow-x: hidden; scrollbar-width: thin; }
  .board .tl-end.tc2-off, .board .play .tl .tl-end { display: none !important; }
  .board .tc2 { --tone: #8f887c; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; flex: none; min-height: 46px; padding: 4px 10px 4px 0; border-radius: 8px; background: #24211e; box-shadow: inset 4px 0 0 var(--tone); list-style: none; }
  .board .tc2.exito { --tone: #6fbf86; } .board .tc2.drama { --tone: #e07a77; }
  .board .tc2-a { justify-self: center; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: #f3eee4; }
  .board .tc2.exito .tc2-a { color: #6fbf86; } .board .tc2.drama .tc2-a { color: #e07a77; }
  .board .tc2-t { display: grid; gap: 1px; min-width: 0; }
  .board .tc2-t b { font-size: .88rem; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .tc2-t small { font-size: .72rem; color: var(--ink-mute, #8f887c); white-space: nowrap; }
  .board .tc2.hist .tc2-t small { color: #e0b35a; }
  .board .tc2.now { background: #2b2724; box-shadow: inset 0 0 0 2px #f3eee4; }
  .board .tc2.now .tc2-t small { color: #f3eee4; }
  .board .tc2.fut { background: transparent; box-shadow: none; outline: 1.5px dashed #3a3631; outline-offset: -1.5px; }
  .board .tc2.fut .tc2-a, .board .tc2.fut b { color: var(--ink-mute, #8f887c); }
  .board .tc2.div { background: #0f2618; --tone: #6fbf86; } .board .tc2.div .tc2-a, .board .tc2.div b { color: #6fbf86; }
  .board .tc2:focus-visible { outline: 2px solid #e0b35a; outline-offset: 2px; }

  @media (max-width: 700px) {
    .board .play .pts { padding: 10px 12px 6px !important; }
    .board .play .sb .sb-t small { font-size: .56rem !important; letter-spacing: .06em !important; line-height: 1 !important; }
    .board .play .sb .sb-age small { font-size: .6rem !important; letter-spacing: .08em !important; line-height: 1.1 !important; }
    .board .play .sb .sb-v { font-size: 1.15rem !important; }
    .board .play .sb .sb-num { font-size: 4.2rem !important; }
    .board .play .tl-body .tc2-t b { font-size: .8rem !important; line-height: 1.15 !important; }
    .board .play .tl-body .tc2-t small { font-size: .66rem !important; line-height: 1.1 !important; }
    .board .play .tl-body .tc2-a { font-size: 1.15rem !important; }
    .board .play .tl-body .tc2 { padding: 4px 8px 4px 0 !important; }
    .board .sb { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "face age eq" "who who who" "road road road"; column-gap: 12px; row-gap: 4px; align-items: center; }
    .board .sb-face .sb-fc { width: 72px; height: 72px; border-radius: 8px; }
    .board .sb-num { font-size: 4.4rem; } .board .sb-age small { font-size: .62rem; letter-spacing: .1em; }
    .board .sb-eq { justify-self: end; gap: 12px; } .board .sb-tube { width: 16px; height: 58px; } .board .sb-v { font-size: 1.15rem; } .board .sb-t small { font-size: .56rem; letter-spacing: .06em; }
    .board .sb-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .board .sb-who .pt-name { font-size: 1.15rem; } .board .sb-risk { font-size: .74rem; }
    .board .sb-road { height: 38px; margin-top: 0; }
    .board .play .tl-body { flex-direction: row !important; overflow-x: auto !important; overflow-y: hidden !important; gap: 6px; padding-bottom: 2px; }
    .board .tc2 { flex: 0 0 auto; min-width: 128px; max-width: 160px; min-height: 44px; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; }
    .board .tc2-a { font-size: 1.15rem; } .board .tc2-t b { font-size: .8rem; } .board .tc2-t small { font-size: .66rem; }
    .board .play .tl-leg { display: none !important; }
  }

  /* ===== Ronda 12b: barras grandes junto al retrato y animaciones de cambio (escritorio); termómetros en móvil ===== */
  .board .sb { grid-template-columns: auto auto minmax(0, 1fr) !important; grid-template-areas: "age face who" "age face eq" "road road road" !important; column-gap: 24px !important; row-gap: 10px !important; align-items: center !important; }
  .board .sb-age { align-self: end; }
  .board .sb-who { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 6px 12px !important; align-self: end; }
  .board .sb-face { align-self: stretch; display: flex; align-items: center; }
  .board .sb-face .sb-fc { width: 112px !important; height: 112px !important; }
  .board .sb-eq { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px !important; align-items: start !important; }
  .board .sb-t { display: grid !important; justify-items: stretch !important; gap: 6px !important; }
  .board .sb-hd { position: relative; display: flex; align-items: baseline; gap: 8px; }
  .board .sb-hd small { font-size: .74rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c) !important; }
  .board .sb-v { margin-left: auto; font-family: var(--font-display); font-size: 2.6rem !important; line-height: .9; color: #f3eee4; display: inline-block; transform-origin: 50% 70%; }
  .board .sb-v.tick { animation: sb-tick .35s cubic-bezier(.2,.8,.2,1); }
  .board .sb-t.up .sb-v { color: #9fe0b2; } .board .sb-t.down .sb-v { color: #ff9c99; }
  @keyframes sb-tick { 0% { transform: scale(1.45); } 100% { transform: scale(1); } }
  .board .sb-d { position: absolute; right: -6px; top: -22px; padding: 2px 8px; border-radius: 999px; font-style: normal; font-family: var(--font-body); font-size: .9rem; font-weight: 800; animation: sb-float 2.2s cubic-bezier(.2,.8,.2,1) both; }
  .board .sb-t.up .sb-d { background: #6fbf86; color: #1d1a17; } .board .sb-t.down .sb-d { background: #e07a77; color: #1d1a17; }
  @keyframes sb-float { 0% { opacity: 0; transform: translateY(14px) scale(.7); } 15% { opacity: 1; transform: translateY(0) scale(1.15); } 30% { transform: translateY(0) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
  .board .sb-tube { position: relative; display: block; width: 100% !important; height: 16px !important; border-radius: 8px !important; background: #2e2a26; overflow: visible; }
  .board .sb-tube > i { position: absolute; left: 0 !important; top: 0 !important; bottom: 0 !important; right: auto !important; height: auto !important; width: var(--fill) !important; border-radius: 8px !important; background: var(--c); transition: width 1.1s cubic-bezier(.2,.8,.2,1) .15s !important; }
  .board .sb-tube > u { position: absolute; top: -5px !important; bottom: -5px !important; left: var(--m) !important; right: auto !important; width: 3px !important; height: auto !important; margin-left: -1.5px; background: #f3eee4; border-radius: 2px; opacity: .9; }
  .board .sb-tube > u.ok { background: var(--c); box-shadow: 0 0 0 2px #1c1a17; }
  .board .sb-delta { position: absolute; z-index: 1; left: var(--a); width: var(--b); top: -3px; bottom: -3px; border-radius: 6px; pointer-events: none; }
  .board .sb-t.up .sb-delta { background: #e9fff0; animation: sb-gain 1.8s ease-out .5s both; }
  .board .sb-t.down .sb-delta { background: repeating-linear-gradient(-45deg, #e07a77 0 5px, #b4504d 5px 10px); animation: sb-loss 2s ease-in .3s both; }
  @keyframes sb-gain { 0% { opacity: 0; } 15% { opacity: .95; } 30% { opacity: .2; } 45% { opacity: .9; } 60% { opacity: .2; } 100% { opacity: 0; } }
  @keyframes sb-loss { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; transform: scaleX(.2); transform-origin: left; } }
  .board .sb-t.up .sb-tube, .board .sb-t.down .sb-tube { animation: none !important; }
  .board .sb-t.up .sb-tube { box-shadow: 0 0 0 0 rgba(111,191,134,.6); animation: sb-glow-up 1.6s ease-out .3s !important; }
  .board .sb-t.down .sb-tube { animation: sb-glow-down 1.6s ease-out .3s !important; }
  @keyframes sb-glow-up { 0% { box-shadow: 0 0 0 0 rgba(111,191,134,.7); } 100% { box-shadow: 0 0 0 12px rgba(111,191,134,0); } }
  @keyframes sb-glow-down { 0% { box-shadow: 0 0 0 0 rgba(224,122,119,.7); } 100% { box-shadow: 0 0 0 12px rgba(224,122,119,0); } }
  .board .sb-note { font-size: .78rem; color: var(--ink-mute, #8f887c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .sb-note .ok { color: var(--c); } .board .sb-note .rk-lo { color: #6fbf86; } .board .sb-note .rk-mid { color: #e0b35a; } .board .sb-note .rk-hi { color: #e07a77; }
  .board .sb-num { display: inline-block; transform-origin: 30% 80%; }
  .board .sb-num.tick { animation: sb-tick .3s cubic-bezier(.2,.8,.2,1); }
  .board .sb-age.bump .sb-num { animation: none; }
  .board .sb-hm { position: absolute; top: 22px; width: 9px; height: 9px; margin-left: -4.5px; background: #e0b35a; transform: rotate(45deg); }
  @media (min-width: 701px) and (max-height: 820px) {
    .board .sb-face .sb-fc { width: 84px !important; height: 84px !important; } .board .sb-v { font-size: 2.1rem !important; } .board .sb-note { font-size: .72rem; }
  }
  @media (prefers-reduced-motion: reduce) { .board .sb-tube > i { transition: none !important; } .board .sb-d, .board .sb-delta, .board .sb-v.tick, .board .sb-num.tick, .board .sb-tube { animation: none !important; } .board .sb-d { opacity: 1; } }

  /* Móvil: termómetros verticales con las mismas animaciones */
  @media (max-width: 700px) {
    .board .sb { grid-template-columns: auto auto minmax(0, 1fr) !important; grid-template-areas: "face age eq" "who who who" "road road road" !important; column-gap: 12px !important; row-gap: 4px !important; }
    .board .sb-face .sb-fc { width: 72px !important; height: 72px !important; }
    .board .sb-eq { display: flex !important; gap: 12px !important; justify-self: end; align-items: end !important; }
    .board .sb-t { justify-items: center !important; gap: 4px !important; }
    .board .sb-hd { flex-direction: column-reverse; align-items: center; gap: 2px; }
    .board .play .sb .sb-hd small { font-size: .54rem !important; letter-spacing: .05em !important; }
    .board .play .sb .sb-v { margin: 0; font-size: 1.3rem !important; }
    .board .sb-d { right: auto; left: 70%; top: -14px; font-size: .7rem; padding: 1px 6px; }
    .board .sb-tube { width: 16px !important; height: 56px !important; }
    .board .sb-tube > i { left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: auto !important; height: var(--fill) !important; transition: height 1.1s cubic-bezier(.2,.8,.2,1) .15s !important; }
    .board .sb-tube > u { left: -5px !important; right: -5px !important; top: auto !important; bottom: var(--m) !important; width: auto !important; height: 3px !important; margin: 0 0 -1.5px; }
    .board .sb-delta { left: -3px; right: -3px; width: auto; top: auto; bottom: var(--a); height: var(--b); }
    .board .sb-note { display: none; }
    .board .sb-who { align-self: auto; }
  }

  .board .sb-who .sb-risk { display: none; }
  @media (max-width: 700px) { .board .sb-who .sb-risk { display: inline; } }

  /* ===== Ronda 13: maquetación de escritorio del usuario y cero scroll en la partida =====
     Izquierda: nombre, retrato + edad + barras apiladas, y «Tu vida» en tarjetas pequeñas.
     Derecha: la decisión a toda la altura. Abajo, a todo el ancho: riesgo de morir y la línea de vida mínima. */
  @media (min-width: 701px) {
    .board .play { grid-template-columns: minmax(360px, 30%) minmax(0, 1fr) !important; grid-template-rows: auto minmax(0, 1fr) auto !important; grid-template-areas: "pts dec" "tl dec" "road road" !important; gap: 12px 18px !important; }
    .board .play .pts { grid-area: pts; padding: 12px 14px 10px !important; }
    .board .play .tl { grid-area: tl; min-height: 0; display: flex; flex-direction: column; padding: 12px 12px 10px !important; }
    .board .play .dec { grid-area: dec; overflow: hidden !important; }
    .board .sb-roadw { grid-area: road; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; padding: 0 4px; }
    /* bloque del personaje: nombre arriba; retrato, edad y barras en una fila */
    .board .sb { grid-template-columns: auto auto minmax(0, 1fr) !important; grid-template-areas: "who who who" "face age eq" !important; column-gap: 14px !important; row-gap: 10px !important; align-items: center !important; }
    .board .sb-who { flex-wrap: nowrap !important; overflow: hidden; }
    .board .sb-who .pt-name { font-size: clamp(1.3rem, 1.8vw, 1.8rem) !important; white-space: nowrap; }
    .board .sb-who .chips { flex-wrap: nowrap; overflow: hidden; }
    .board .sb-face .sb-fc { width: 84px !important; height: 84px !important; }
    .board .sb-num { font-size: clamp(3.8rem, 5vw, 5rem) !important; }
    .board .sb-age small { font-size: .66rem !important; letter-spacing: .12em; }
    .board .sb-eq { display: grid !important; grid-template-columns: 1fr !important; gap: 7px !important; }
    .board .sb-t { gap: 3px !important; }
    .board .sb-hd small { font-size: .62rem !important; }
    .board .sb-v { font-size: 1.25rem !important; }
    .board .sb-d { top: -2px; right: 26px; font-size: .74rem; padding: 1px 7px; }
    .board .sb-tube { height: 9px !important; border-radius: 5px !important; }
    .board .sb-tube > i { border-radius: 5px !important; }
    .board .sb-note { display: none; }
    .board .sb-t.sb-salud .sb-note { display: none; }
    /* «Tu vida»: tarjetas pequeñas, sin scroll (las antiguas se agrupan) */
    .board .play .tl-top { margin-bottom: 6px; }
    .board .play .tl-body { overflow: hidden !important; gap: 4px !important; }
    .board .tc2 { min-height: 34px !important; grid-template-columns: 36px minmax(0, 1fr) !important; gap: 8px !important; padding: 2px 8px 2px 0 !important; border-radius: 6px !important; }
    .board .tc2-a { font-size: 1.05rem !important; }
    .board .tc2-t b { font-size: .8rem !important; }
    .board .tc2-t small { font-size: .66rem !important; }
    .board .tc2.grp { background: transparent; box-shadow: none; outline: 1px solid #2e2a26; } .board .tc2.grp .tc2-a, .board .tc2.grp b { color: var(--ink-mute, #8f887c); }
    .board .play .tl-leg { margin-top: 6px; }
    /* línea de vida mínima abajo */
    .board .sb-rw-risk { font-size: .9rem; color: var(--ink-soft, #cfc8ba); white-space: nowrap; }
    .board .sb-rw-risk .rk-lo { color: #6fbf86; } .board .sb-rw-risk .rk-mid { color: #e0b35a; } .board .sb-rw-risk .rk-hi { color: #e07a77; }
    .board .sb-roadw .sb-road { grid-area: auto !important; width: 100%; height: 30px; margin: 0; }
    .board .sb-roadw .sb-line, .board .sb-roadw .sb-done { top: 19px; height: 3px; }
    .board .sb-roadw .sb-hm { top: 16px; width: 8px; height: 8px; margin-left: -4px; }
    .board .sb-roadw .sb-now { top: -1px; font-size: .68rem; padding: 1px 8px; }
    .board .sb-roadw .sb-tk { top: 22px; font-size: .6rem; }
    /* la decisión cabe siempre: niveles de ajuste que pone fitDec() */
    .board .dec.fit1 .dc-head { grid-template-columns: 120px minmax(0, 1fr) !important; }
    .board .dec.fit1 .dc-txt h3 { font-size: 34px !important; }
    .board .dec.fit2 { padding-top: 12px !important; padding-bottom: 12px !important; gap: 10px !important; }
    .board .dec.fit2 .dc-head { grid-template-columns: 92px minmax(0, 1fr) !important; }
    .board .dec.fit2 .dc-txt h3 { font-size: 28px !important; }
    .board .dec.fit2 .opt { padding-top: 10px !important; padding-bottom: 10px !important; }
    .board .dec.fit2 .opt .t { font-size: 21px !important; }
    .board .dec.fit3 .dc-head { grid-template-columns: 72px minmax(0, 1fr) !important; }
    .board .dec.fit3 .dc-txt p { font-size: 14px !important; line-height: 1.3; }
    .board .dec.fit3 .opt .res .res-t { font-size: 13px !important; }
    .board .dec.fit3 .lk-t small { display: none; }
    .board .dec.fit4 .dc-art { display: none !important; } .board .dec.fit4 .dc-head { grid-template-columns: minmax(0, 1fr) !important; }
    .board .dec.fit4 .dc-txt h3 { font-size: 24px !important; }
    .board .dec.fit4 .ob-next { --ob-h: 46px; }
  }
  @media (max-width: 700px) {
    .board .sb-roadw { display: none !important; }
    .board .play .dec { overflow: hidden !important; }
    .board .play .tl-body { overflow: hidden !important; }
    .board .dec.fit1 .dc-txt h3 { font-size: 22px !important; }
    .board .dec.fit2 .dc-art { width: 56px !important; height: 56px !important; } .board .dec.fit2 .opt .t { font-size: 17px !important; }
    .board .dec.fit3 .dc-txt p { font-size: 13px !important; } .board .dec.fit3 .opt { padding-top: 6px !important; padding-bottom: 6px !important; }
    .board .dec.fit4 .dc-art { display: none !important; } .board .dec.fit4 .play .dc-head, .board .dec.fit4 .dc-head { grid-template-columns: minmax(0, 1fr) !important; }
  }

  /* ===== Ronda 14: la meta de cada cuna (tarjeta de «¿Quién eres?» y marcador) ===== */
  .pc-meta { display: block; margin-top: 3px; font-style: normal; font-weight: 700; font-size: .78em; letter-spacing: .02em; color: #e0b35a; }
  .board .chip.meta { background: transparent !important; box-shadow: inset 0 0 0 1px #4a443d; color: var(--ink-soft, #cfc8ba) !important; white-space: nowrap; }
  .board .chip.meta.ok { box-shadow: inset 0 0 0 1px #6fbf86; color: #6fbf86 !important; }

  /* Ronda 14b: el desenlace, en grande (seis niveles por cuna) */
  .sm-fin { --fc: #8f887c; position: relative; display: grid; gap: 10px; padding: 26px 30px 24px !important; background: #1d1a17; box-shadow: inset 0 0 0 1px #2e2a26, inset 6px 0 0 var(--fc); overflow: hidden; }
  .board .sm-fam2 > .sm-fin, .board .sm-anon > .sm-fin { grid-column: 1 / -1; }
  .sm-fin.t0 { --fc: #cfc8ba; }
  .sm-fin.t1 { --fc: #e0b35a; background: radial-gradient(120% 140% at 0% 0%, #3a2e14 0%, #1d1a17 60%); }
  .sm-fin.t2 { --fc: #6fbf86; background: radial-gradient(120% 140% at 0% 0%, #17301f 0%, #1d1a17 60%); }
  .sm-fin.t3 { --fc: #8fb0d9; }
  .sm-fin.t4 { --fc: #e8cf8f; } .sm-fin.t5 { --fc: #e07a77; } .sm-fin.t6 { --fc: #e07a77; background: radial-gradient(120% 140% at 0% 0%, #321716 0%, #1d1a17 60%); }
  .fin-k { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
  .fin-lv { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fc); }
  .fin-h { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 600); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; color: #f3eee4; text-wrap: balance; animation: fin-in .9s cubic-bezier(.2,.8,.2,1) both; }
  .sm-fin.t1 .fin-h { color: #f6d98c; text-shadow: 0 0 28px rgba(224,179,90,.35); }
  .sm-fin.t2 .fin-h { color: #bfeccb; }
  .fin-w { margin: 0; max-width: 62ch; font-size: 1.02rem; color: var(--ink-soft, #cfc8ba); }
  .fin-m { margin: 0; font-size: .82rem; color: var(--ink-mute, #8f887c); } .fin-m b { color: var(--fc); }
  @keyframes fin-in { 0% { opacity: 0; transform: translateY(14px) scale(.98); letter-spacing: .02em; } 100% { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .fin-h { animation: none; } }
  @media (max-width: 700px) { .sm-fin { padding: 18px 18px 18px 22px !important; } .fin-h { font-size: 1.9rem; } }
  .sm-medals .mdl-t b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }

  /* Ronda 16: en móvil, el desenlace es el título de la portada del resumen; el titular anterior pasa a subtítulo */
  .board .sh-fin { display: none; }
  @media (max-width: 700px) {
    .board .sm-fin { display: none !important; }
    .board .sh-fin { --fc: #cfc8ba; display: grid; gap: 4px; justify-items: center; text-align: center; width: 100%; }
    .board .sh-fin.t1 { --fc: #e0b35a; } .board .sh-fin.t2 { --fc: #6fbf86; } .board .sh-fin.t3 { --fc: #8fb0d9; } .board .sh-fin.t4 { --fc: #e8cf8f; } .board .sh-fin.t5, .board .sh-fin.t6 { --fc: #e07a77; }
    .board .sh-fin .fin-lv { font-size: .7rem; }
    .board .sh-fin-h { font-family: var(--font-display); font-weight: var(--display-weight, 600); font-size: clamp(1.7rem, 8vw, 2.1rem); line-height: 1.02; color: #f3eee4; text-wrap: balance; animation: fin-in .9s cubic-bezier(.2,.8,.2,1) both; }
    .board .sh-fin.t1 .sh-fin-h { color: #f6d98c; } .board .sh-fin.t2 .sh-fin-h { color: #bfeccb; }
    /* el titular de antes, de subtítulo */
    .board .sm-head .sh-fin ~ .sm-big b { font-size: 2.6rem !important; }
    .board .sm-head .sh-fin ~ .cause { font-size: 1rem !important; }
    .board .sf-hero .sh-fin + h2 { font-size: 1rem !important; line-height: 1.25; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft, #cfc8ba); }
    .board .sf-hero .sh-fin ~ .sm-big b { font-size: 2.6rem !important; }
    .board .hero3 .sh-fin .sh-fin-h { color: #f3eee4 !important; animation: none; }
    .board .hero3 .sh-fin.t1 .sh-fin-h { color: #f6d98c !important; } .board .hero3 .sh-fin.t2 .sh-fin-h { color: #bfeccb !important; }
    .board .sh-fin-h.long { font-size: clamp(1.4rem, 6.4vw, 1.7rem); }
    .board .sf-hero:has(.sh-fin) .dd-link { display: none; }
    .board .hero3:has(.sh-fin) .epi span:nth-child(n+5) { display: none; }
  }

  /* Ronda 17: preguntas frecuentes de la landing del simulador */
  .sim-faq { text-align: center; } /* ronda 58: preguntas frecuentes centradas */
  .sim-faq .faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; text-align: left; }
  .sim-faq .faq-i { border: 1px solid var(--line-strong, #d9d2c4); border-radius: 14px; background: var(--paper, #fbf8f2); }
  .sim-faq .faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
  .sim-faq .faq-i summary::-webkit-details-marker { display: none; }
  .sim-faq .faq-i summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--red, #c4473f); transition: transform .25s; }
  .sim-faq .faq-i[open] summary::after { transform: rotate(45deg); }
  .sim-faq .faq-i h3 { margin: 0; font-size: 1.08rem; font-weight: 700; font-family: var(--font-body); }
  .sim-faq .faq-i p { margin: 0; padding: 0 20px 18px; max-width: 70ch; }
  .sim-faq .faq-i a { text-decoration: underline; text-underline-offset: 3px; }
  .sim-faq .faq-i summary:focus-visible { outline: 2px solid var(--red, #c4473f); outline-offset: 2px; border-radius: 14px; }

  /* ===== Ronda 18: móvil con más aire, avisos centrados, divergencia reordenada ===== */
  @media (max-width: 700px) {
    /* «¿Quién eres?»: el espacio que sobraba abajo se reparte entre los bloques */
    .board.is-setup .setup { display: flex; flex-direction: column; min-height: 100%; }
    .board .su2 { flex: 1 1 auto; display: flex; flex-direction: column; gap: 24px; padding-top: 14px; padding-bottom: 12px; }
    .board .su2 .su-halves, .board .su2 .su-half.is-on { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; }
    .board .su2 .su-cards { gap: 14px !important; }
    .board .su2 .su-half .su-cards .pc { min-height: 112px; grid-template-columns: 56px minmax(0, 1fr) !important; column-gap: 12px !important; }
    .board .su2 .su-half .su-cards .pc .pc-face { width: 56px !important; height: 68px !important; }
    .board .su2 .su-half .su-cards .pc .pc-t b { font-size: 1.2rem !important; }
    .board .su2 .su-cap { margin: 6px 2px 0; font-size: 1rem; }
    .board .su2 .su-namerow { margin-top: 4px; }
    .board .su2 .su-go { margin-top: auto; }

    /* Partida: algo más de aire arriba sin perder la decisión */
    .board .play .pts { padding: 14px 14px 12px !important; }
    .board .sb { row-gap: 8px !important; }
    .board .play { row-gap: 10px !important; }
    .board .play .tl { padding-top: 8px !important; padding-bottom: 8px !important; }
    /* «Tu vida» bajo el riesgo de morir: sin el resalte lateral (el turno de ahora conserva su marco) */
    .board .play .tl .tc2 { box-shadow: none !important; }
    .board .play .tl .tc2.now { box-shadow: inset 0 0 0 2px #f3eee4 !important; }
    /* el botón de avance («Cuatro años después - 1813») nunca se desborda */
    .board #next { max-width: 100%; min-width: 0; }
    .board #next .next-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(15px, 4.4vw, 18px); }

    /* Avisos centrados (sellos, suerte, mudanzas, cabeceras de hoja); los textos explicativos siguen a la izquierda */
    .board .play .opt .res .oc-top, .board .play .outcome .oc-top { justify-content: center; text-align: center; }
    .board .play .lk-beat, .board .play .luck { justify-content: center; margin-left: auto; margin-right: auto; }
    .board .play .dc-move { text-align: center; }
    .board .pop-card.hist .pop-body > .eyebrow, .board .pop-card.hist .pop-body > h2, .board .pop-card.hist .pop-body > .pop-y, .board .pop-card.hist .pop-body > .pop-when { text-align: center; justify-self: center; align-self: center; }

    /* Momento histórico: más aire entre elementos */
    .board .pop-card.hist .pop-body { gap: 16px !important; padding-top: 24px !important; }
    .board .pop-card.hist .pop-body dl { row-gap: 12px !important; }
    .board .pop-card.hist .pop-body .fact { margin-top: 6px; }

    /* Aquí te separas de la historia: sello arriba y centrado; título centrado y más abajo; diferencia clara */
    .board .pop-card.div .pop-foot { display: contents; }
    .board .pop-card.div .pop-foot .seal { order: 0; align-self: center; margin: 26px auto 0; }
    .board .pop-card.div .pop-body { order: 1; align-items: center; text-align: center; padding-top: 14px !important; }
    .board .pop-card.div .pop-body h2 { text-align: center; margin-top: 6px; }
    .board .pop-card.div .pop-cols { order: 2; gap: 0 !important; }
    .board .pop-card.div #pop-go { order: 3; width: calc(100% - 32px); margin: auto 16px 14px; }
    .board .pop-card.div .pc-col.real { opacity: .78; background: transparent; border: 1px dashed rgba(243,238,228,.35) !important; box-shadow: none; }
    .board .pop-card.div .pc-col.real .lbl { color: var(--ink-mute, #8f887c); }
    .board .pop-card.div .pc-col.mine { background: rgba(111,191,134,.12); border: 2px solid #6fbf86 !important; box-shadow: 0 0 0 4px rgba(111,191,134,.12); }
    .board .pop-card.div .pc-col.mine .lbl { display: inline-block; justify-self: start; padding: 2px 10px; border-radius: 999px; background: #6fbf86; color: #0f2618; letter-spacing: .1em; }
    .board .pop-card.div .pc-col.mine b { font-size: 1.35rem !important; }
    .board .pop-card.div .pc-vs { display: block !important; text-align: center; font-size: 0; line-height: 1; padding: 6px 0; }
    .board .pop-card.div .pc-vs::before { content: "≠"; font-size: 1.8rem; font-weight: 700; color: #6fbf86; }
  }
  /* ===== Ronda 41: el tablero no se corta por abajo en escritorio =====
     La cabecera mide --header-h más 1 px de borde: el tablero resta los dos. Al empezar, al elegir época y al llegar al
     resumen, alignBoard() lo deja justo bajo la cabecera; durante la partida la página no se desplaza (como en el móvil),
     y las ventanas se compactan por niveles si no caben (fitPop: pf1, pf2, pf3). */
  @media (min-width: 701px) {
    .board { height: calc(100svh - var(--header-h) - 1px); }
    .board.is-done { height: auto; min-height: calc(100svh - var(--header-h) - 1px); }
    html:has(body.is-game .board.is-playing) { overflow: hidden; }
    /* la pista A/B, en la esquina del icono y dentro de la opción (antes quedaba recortada) */
    .board .opt .kb { top: -7px; left: auto; right: -10px; translate: none; width: 18px; height: 18px; font-size: .62rem; background: #1d1a17; }
    /* quinto nivel de la decisión, para pantallas muy bajas */
    .board .dec.fit5 { gap: 6px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
    .board .dec.fit5 .opt { padding-top: 6px !important; padding-bottom: 6px !important; }
    .board .dec.fit5 .opt .k, .board .dec.fit5 .opt .oi { width: 40px !important; height: 40px !important; }
    .board .dec.fit5 .res-rl { font-size: .8rem; gap: 6px; padding-top: 2px; padding-bottom: 2px; }
    .board .dec.fit5 .ob-prog, .board .dec.fit5 .ob-next { --ob-h: 40px; }
    .board .dec.fit5 .dc-txt p, .board .dec.fit5 .opt .res .res-t { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical; overflow: hidden !important; }
    /* ventanas: niveles de ajuste */
    .board .pop-card.pf1 .pop-body { padding-top: 18px; padding-bottom: 14px; gap: 8px; }
    .board .pop-card.pf1 .pop-axis .fork { max-height: 130px; }
    .board .pop-card.pf1 .pop-foot { padding-top: 10px; padding-bottom: 14px; }
    .board .pop-card.pf1 .pop-foot .seal, .board .pop-card.pf1 .pop-foot .sburst { --sz: 80px !important; }
    .board .pop-card.pf1 .pop-art { min-height: 0; max-height: 42svh; }
    .board .pop-card.pf1 .pd { padding-top: 18px; padding-bottom: 18px; gap: 6px; }
    .board .pop-card.pf1 .pd-art { width: min(260px, 100%); }
    .board .pop-card.pf2 .pop-axis .fork { max-height: 90px; }
    .board .pop-card.pf2 .pop-cols { padding-top: 6px; }
    .board .pop-card.pf2 .pc-col small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .board .pop-card.pf2 .pop-foot .seal, .board .pop-card.pf2 .pop-foot .sburst { --sz: 60px !important; }
    .board .pop-card.pf2 .pop-art { max-height: 30svh; }
    .board .pop-card.pf2 .pd-art { width: min(190px, 100%); }
    .board .pop-card.pf2 .pop-body h2, .board .pop-card.pf2 .pd-h { font-size: 1.7rem; }
    .board .pop-card.pf3 .pop-axis, .board .pop-card.pf3 .pop-foot .seal, .board .pop-card.pf3 .pop-foot .sburst, .board .pop-card.pf3 .pd-art { display: none; }
    .board .pop-card.pf3 .pop-art { max-height: 22svh; }
    .board .pop-card.pf3 .pop-body { padding-top: 14px; padding-bottom: 14px; gap: 6px; }
    .board .pop-card.pf3 .pop-body .eyebrow { display: none; }
    .board .pop-card.pf3 .pop-y { font-size: 2rem; line-height: 1; }
    .board .pop-card.pf3 .pop-3 dd, .board .pop-card.pf3 .fact { font-size: .88rem; line-height: 1.35; }
    .board .pop-card.pf3 .ob-lg { --ob-h: 48px; }
  }
  @media (max-width: 700px) {
    /* quinto nivel de la decisión en móvil: el botón de seguir no se sale por abajo */
    .board .dec.fit5 .dc-txt p, .board .dec.fit5 .opt .res .res-t { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical; overflow: hidden !important; }
    .board .dec.fit5 .opt { padding-top: 6px !important; padding-bottom: 6px !important; }
    .board .dec.fit5 .oc-row { gap: 6px !important; }
    .board .dec.fit5 .ob-prog, .board .dec.fit5 .ob-next, .board .dec.fit5 #next { --ob-h: 48px; min-height: 48px !important; }
  }
  @media (max-width: 700px) {
    .board.has-outcome .dec.fit5 .dc-txt p { display: none !important; }
    .board .dec.fit5 .lk-t small { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  }
  /* Red de seguridad (escritorio y móvil): si ni el quinto nivel basta, la decisión se desplaza y el botón de seguir
     queda fijo abajo, siempre a la vista. */
  .board .dec.fit6 { overflow-y: auto !important; overscroll-behavior: contain; }
  .board .dec.fit6 .oc-next { position: sticky; bottom: 0; z-index: 3; padding-top: 6px; background: linear-gradient(to bottom, transparent, var(--dec-bg, #1d1a17) 30%); }
  /* ===== Ronda 43-44: cabecera B, contraída desde el principio =====
     En el simulador, la cabecera del sitio no se ve: el <body> nace con la clase hdr-min (en el HTML, no por script) y la
     puerta del logo y el botón "Menú" viven en la barra del juego. Sin animaciones ni cambios de tamaño al cargar, para no
     sumar CLS. La cabecera es fija y queda fuera de la pantalla; si se baja a leer lo de debajo del tablero, asoma encima
     (body.hdr-peek), sin mover nada. Sin hdr-min (por si se quita la clase), todo vuelve a ser como en el resto del sitio. */
  body[data-page="simuladores"] .site-header { position: fixed; left: 0; right: 0; top: 0; }
  body[data-page="simuladores"] main { padding-top: calc(var(--header-h) + 1px); }
  body[data-page="simuladores"] .header-actions .ob { display: none; }
  body.hdr-min[data-page="simuladores"] main { padding-top: 0; }
  body.hdr-min[data-page="simuladores"] .site-header { transform: translateY(-100%); }
  body.hdr-min.hdr-peek[data-page="simuladores"] .site-header { transform: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
  body.hdr-min .board { height: 100svh; }
  body.hdr-min .board.is-done { height: auto; min-height: 100svh; }
  @media (max-width: 700px) { body.hdr-min .board { height: auto; min-height: 100svh; } }
  /* la puerta y el menú en la barra del juego */
  .board .tb { position: relative; }
  .board .tb-logo { display: none; place-items: center; flex: none; color: var(--ink, #f3eee4); }
  .board .tb-logo svg { width: 34px; height: 34px; flex: none; }
  body.hdr-min .board .tb-logo { display: grid; width: 38px; }
  .board .tb-menu { display: none !important; gap: 8px; padding-inline: 14px !important; }
  .board .tb-menu svg { width: 20px; height: 20px; flex: none; }
  body.hdr-min .board .tb-menu, body.hdr-min .board.is-pick .tb-r > #tb-menu { display: inline-flex !important; }
  .board .tb-nav { position: absolute; right: var(--gutter, 24px); top: calc(100% + 8px); z-index: 90; min-width: 240px; padding: 8px; border-radius: 14px; background: #1d1a17; box-shadow: 0 0 0 1px #34302b, 0 18px 40px rgba(0,0,0,.5); display: grid; }
  .board .tb-nav[hidden] { display: none; }
  .board .tb-nav a { padding: 11px 14px; border-radius: 9px; color: var(--ink, #f3eee4); font-weight: 600; text-decoration: none; }
  .board .tb-nav a:hover, .board .tb-nav a:focus-visible, .board .tb-nav a[aria-current] { background: #2a2622; }
  .board .tb-nav small { margin-left: 6px; font-size: .7rem; color: var(--ink-mute, #8f887c); }
  @media (max-width: 700px) {
    .board .tb-logo svg { width: 28px; height: 28px; }
    body.hdr-min .board .tb-logo { width: 30px; }
    .board .tb-menu span { display: none; }
    body.hdr-min .board .tb-menu { width: 40px; padding-inline: 0 !important; justify-content: center; }
    .board .tb-nav { right: 12px; left: 12px; min-width: 0; }
    /* en el móvil caben la puerta, el título en una línea y los botones; antes de jugar, Auto no hace falta */
    body.hdr-min .board.is-setup .tb-r > .auto { display: none; }
    body.hdr-min .board .tb { gap: 8px; }
    body.hdr-min .board .tb-tt { flex: 1 1 auto; min-width: 0; }
    body.hdr-min .board .tb .tb-gt { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
    body.hdr-min .board .tb-tt > * { min-width: 0; max-width: 100%; }
    body.hdr-min .board .tb .tb-h1 { overflow: hidden; text-overflow: ellipsis; }
  }
  /* ===== Ronda 46: avisos de riesgo con tramos (game.js): muy peligroso, peligroso y algo de riesgo ===== */
  .board .cq.risk.hi { background: #e07a77; border-color: #e07a77; color: #1d1a17; }
  .board .cq.risk.lo { color: var(--ink-soft, #cfc8ba); border-color: rgba(243,238,228,.35); }
  .board .opt:hover:not(:disabled) .cq.risk.hi, .board .opt:focus-visible .cq.risk.hi { background: transparent; color: inherit; }

/* Ronda 54 (58: textos breves): las épocas, una a una (contenido rastreable de la landing) */
.eras-guia-intro { max-width: 62ch; color: var(--ink-soft); margin: 0 0 clamp(24px, 3vw, 36px); }
.eras-guia { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 40px); }
.eras-guia h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.12rem, 1.4vw, 1.3rem) * var(--display-scale)); line-height: 1.1; margin: 0 0 6px; }
.eras-guia p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.eras-guia a, .eras-guia-intro a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .eras-guia { grid-template-columns: 1fr; } }

/* ---------- Ronda 58: tarjetas de juegos sin borde (tinte de su época, se elevan al pasar, logo de agua) ---------- */
.sc-card { border: 0; background: color-mix(in srgb, var(--e-sun, #e0b35a) 13%, var(--paper)); box-shadow: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease; padding-bottom: 18px; }
.sc-card::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; z-index: -1; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M4%2038%20V20%20A16%2016%200%200%201%2036%2020%20V38%20M11%2038%20V22%20A9%209%200%200%201%2029%2022%20V38%22%20fill%3D%22none%22%20stroke%3D%22%231d1a17%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M16.5%2038%20V25%20A3.5%203.5%200%200%201%2023.5%2025%20V38%20Z%22%20fill%3D%22%23c1413e%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; opacity: .14; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.sc-card:hover { border: 0; background: color-mix(in srgb, var(--e-sun, #e0b35a) 22%, var(--paper)); transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(29, 26, 23, .45); }
.sc-card:hover::after { opacity: .3; transform: translateY(-2px); }
.sc-card.is-on { border: 0; background: color-mix(in srgb, var(--e-accent, #e07a77) 18%, var(--paper)); }
.sc-card.is-on::after { opacity: .4; }
.sc-card p, .sc-card .sc-m { margin-right: 64px; }
@media (prefers-reduced-motion: reduce) { .sc-card, .sc-card::after { transition: none; } .sc-card:hover { transform: none; } }

/* ---------- Ronda 58: "Un juego, por amor a aprender", centrado y con la marca ---------- */
.disclaimer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 8px auto 0; padding: clamp(36px, 5vw, 56px) clamp(22px, 5vw, 64px); border: 0; border-radius: 28px; background: color-mix(in srgb, #e0b35a 16%, var(--paper)); position: relative; overflow: hidden; isolation: isolate; }
.disclaimer::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px; z-index: -1; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M4%2038%20V20%20A16%2016%200%200%201%2036%2020%20V38%20M11%2038%20V22%20A9%209%200%200%201%2029%2022%20V38%22%20fill%3D%22none%22%20stroke%3D%22%231d1a17%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M16.5%2038%20V25%20A3.5%203.5%200%200%201%2023.5%2025%20V38%20Z%22%20fill%3D%22%23c1413e%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; opacity: .07; }
.disclaimer .dq { width: 64px; height: 64px; border-radius: 0; background: none; color: #1d1a17; display: block; }
.disclaimer .eyebrow { color: #a8801f; }
.disclaimer h2 { margin: 6px 0 12px; font-size: calc(clamp(1.9rem, 3.4vw, 2.8rem) * var(--display-scale)); line-height: 1; }
.disclaimer p { margin: 0 auto 22px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.disclaimer a.ob { color: var(--paper); text-decoration: none; }

/* Ronda 59: tarjeta final, nombre y oficio como antetítulo encima de la edad */
.board .sh-who.sh-top { margin: 0 0 2px; font-size: .8rem; letter-spacing: .12em; color: #b9b0a2; }
@media (min-width: 901px) { .board .hero3 .sh-v { justify-self: center; margin-top: 8px; } }

/* ---------- Ronda 61: el desenlace, con su escala grande (decepción a la izquierda, éxito a la derecha) ---------- */
.sm-fin { grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-items: center; padding: 30px 34px 28px !important; }
.sm-fin.t0 { grid-template-columns: minmax(0, 1fr); }
.fin-l { display: grid; gap: 10px; align-content: center; }
.fin-l .fin-lv { font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: .12em; line-height: 1.15; }
.fin-r { display: grid; gap: 10px; align-content: center; }
.fin-esc ol { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin: 4px 0 0; padding: 0; list-style: none; }
.fin-esc li { flex: 1; height: 26px; border-radius: 7px; background: color-mix(in srgb, var(--c) 24%, #1d1a17); transition: height .5s cubic-bezier(.2,.8,.2,1); }
.fin-esc li.on { height: 46px; background: var(--c); box-shadow: 0 0 0 2px #1d1a17, 0 0 20px color-mix(in srgb, var(--c) 70%, transparent); }
.fin-esc .n6 { --c: #c9524e; } .fin-esc .n5 { --c: #e07a77; } .fin-esc .n4 { --c: #e8cf8f; } .fin-esc .n3 { --c: #8fb0d9; } .fin-esc .n2 { --c: #6fbf86; } .fin-esc .n1 { --c: #e0b35a; }
.fin-esc-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f887c; }
.fin-esc-l span:first-child { color: #e07a77; } .fin-esc-l span:last-child { color: #e0b35a; }
@media (max-width: 900px) { .sm-fin { grid-template-columns: minmax(0, 1fr); row-gap: 18px; } }
@media (max-width: 700px) {
  .board .sh-fin .fin-esc { width: min(240px, 80%); justify-self: center; margin-bottom: 4px; }
  .board .sh-fin .fin-esc ol { height: 22px; gap: 4px; }
  .board .sh-fin .fin-esc li { height: 12px; border-radius: 4px; }
  .board .sh-fin .fin-esc li.on { height: 22px; }
  .board .sh-fin .fin-esc-l { margin-top: 4px; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .fin-esc li { transition: none; } }
/* Ronda 61: en móvil, la portada del resumen centrada solo si cabe; si no, empieza arriba y se desplaza (antes lo que sobraba se perdía por arriba) */
@media (max-width: 700px) { .board .sm-head.hero3 { justify-content: safe center; } }

/* ---------- Ronda 62 ---------- */
/* Epitafios: un verso por línea; si un verso no cabe ni con la letra al mínimo, se parte con sangría */
.board .hero3 > *, .board .hero3 .sh-c { min-width: 0; } /* la columna no crece con el verso: es la letra la que se ajusta */
.board .epi.epi-fit { display: grid; gap: .42em; line-height: 1.14; min-width: 0; max-width: 100%; overflow: hidden; }
.board .epi.epi-fit span { white-space: nowrap; }
.board .epi.epi-fit.epi-parte span { white-space: normal; padding-left: 1.1em; text-indent: -1.1em; }
/* Momento histórico en escritorio: más aire entre el dato y el botón */
@media (min-width: 701px) { .board .pop-card.hist .pop-body .fact { margin-bottom: 22px; } }
/* Quién es quién: el nombre marcado y su ficha flotante */
.board .pj { all: unset; cursor: pointer; color: inherit; font: inherit; text-decoration: underline dotted; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.board .pj:hover, .board .pj[aria-expanded="true"] { text-decoration-style: solid; color: #f6d98c; }
.board .pj:focus-visible { outline: 2px solid #e0b35a; outline-offset: 2px; border-radius: 2px; }
.pj-pop { position: fixed; z-index: 2147483000; display: grid; gap: 4px; max-width: min(300px, calc(100vw - 20px)); padding: 12px 14px; border-radius: 12px; background: #f3eee4; color: #1d1a17; box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); font-size: .86rem; line-height: 1.4; animation: pj-in .18s ease both; }
.pj-pop b { font-family: var(--font-display); font-weight: var(--display-weight, 600); font-size: 1.05rem; line-height: 1.15; }
@keyframes pj-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pj-pop { animation: none; } }

/* ---------- Ronda 63: móvil ---------- */
.sm-mini { display: none; }
@media (max-width: 700px) {
  /* "¿Quién eres?": cada pestaña despliega su lista en el mismo sitio (una regla anterior volvía a mostrar
     la vida anónima seleccionada debajo de "Vida real") */
  .board .su2.tab-real .su-half.anon, .board .su2.tab-anon .su-half.real { display: none !important; }
  .board .su-half.su-drop { animation: su-drop .5s cubic-bezier(.2, .75, .2, 1) both; transform-origin: top center; }
  .board .su-half.su-drop .pc { animation: su-card .55s cubic-bezier(.2, .75, .2, 1) both; }
  .board .su-half.su-drop .pc:nth-child(2) { animation-delay: .05s; } .board .su-half.su-drop .pc:nth-child(3) { animation-delay: .1s; }
  .board .su-half.su-drop .pc:nth-child(4) { animation-delay: .15s; } .board .su-half.su-drop .pc:nth-child(5) { animation-delay: .2s; }
  .board .su-half.su-drop .pc:nth-child(6) { animation-delay: .25s; }
  /* que quepa en pantallas bajas: tarjetas, márgenes y botón se ajustan a la altura disponible */
  .board .su2 { gap: clamp(10px, 2.6dvh, 24px); padding-top: clamp(4px, 1.6dvh, 14px); width: 100%; align-self: stretch; box-sizing: border-box; }
  .board .su2 .su-halves, .board .su2 .su-half.is-on { gap: clamp(8px, 1.8dvh, 16px); }
  .board .su2 .su-cards { gap: clamp(8px, 1.6dvh, 14px) !important; }
  .board .su2 .su-half .su-cards .pc { min-height: clamp(70px, 13dvh, 112px); }
  .board .su2 .su-q { font-size: clamp(30px, 5.4dvh, 44px); }
  .board .su2 .su-cap { margin-top: 0; }
  .board .su-go { min-width: 0; max-width: 100%; }
  .board .su-go .su-gl { min-width: 0; white-space: normal; line-height: 1.12; text-align: left; text-wrap: balance; }
  @media (max-width: 400px) { .board .su-go .su-gl { font-size: clamp(15px, 4.6vw, 18px); } }
  /* nombres largos de cuna ("Recolección") en pantallas estrechas: letra algo menor y, si hace falta, guion */
  .board .su2 .su-half .pc-t b { min-width: 0; hyphens: auto; }
  @media (max-width: 380px) {
    .board .su2 .su-half .su-cards .pc { grid-template-columns: 40px minmax(0, 1fr) !important; column-gap: 9px !important; padding: 8px 8px 8px 8px !important; }
    .board .su2 .su-half .su-cards .pc .pc-face { width: 40px !important; height: 52px !important; }
    .board .su2 .su-half .su-cards .pc .pc-t b { font-size: 1.02rem !important; }
  }

  /* "Vida real": lista de una columna, una fila por personaje (nombre, año y papel), que se despliega en el sitio */
  .board .su2 .su-half.real .su-cards { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(6px, 1.1dvh, 10px) !important; }
  .board .su2 .su-half.real .su-cards { grid-auto-rows: auto !important; align-content: start !important; }
  .board .su2 .su-half.real .su-cards .pc { min-height: 0; grid-template-columns: 40px minmax(0, 1fr) !important; column-gap: 12px !important; padding: clamp(3px, .6dvh, 8px) 40px clamp(3px, .6dvh, 8px) 6px !important; border-radius: 18px 18px 6px 6px; }
  .board .su2 .su-half.real .su-cards .pc .pc-face { width: 38px !important; height: 42px !important; }
  .board .su2 .su-half.real .pc-t { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8rem; line-height: 1.3; }
  .board .su2 .su-half.real .pc-t b { display: block; font-size: 1.12rem !important; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; }
  .board .su2 .su-half.real .pc-t > span { display: inline !important; font-size: .8rem !important; }
  .board .su2 .su-half.real .pc-t .pc-tag { display: inline; margin-left: 8px; font-style: normal; font-size: .8rem; color: #e0b35a; }
  .board .su2 .su-half.real .pc-ok { top: 50% !important; right: 12px !important; margin-top: -9px; }
  .board .su2 .su-half.real .su-realnote { margin: 0; font-size: .9rem; line-height: 1.35; }
  @media (max-height: 700px) { .board .su2 .su-half.real .su-realnote { display: none; } .board .su2.tab-real { gap: 10px; } .board .su2.tab-real .su-q { font-size: 32px; } }
  /* Momento histórico y demás ventanas: si no caben, se desplazan (antes el dato quedaba bajo el botón) */
  .board .pop-card:not(.share) { overflow-y: auto !important; overscroll-behavior: contain; }
  .board .pop-card.hist .pop-art { min-height: 90px; }
  .board .pop-card:not(.share) > .pop-body, .board .pop-card:not(.share) > .pop-cols, .board .pop-card:not(.share) .pop-body > * { flex-shrink: 0; }
  .board .pop-card.hist .pop-body .pop-cta { position: sticky; bottom: 0; z-index: 2; }

  /* Botón de avance con fechas largas ("hace 42.010 años"): el texto se recorta con puntos suspensivos, nunca el botón */
  .board .oc-next, .board .oc-row { min-width: 0; max-width: 100%; }
  .board #next { min-width: 0; max-width: 100%; }
  .board #next .next-l { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .board #next .next-l small { margin-left: .5em; }

  /* Resumen: hojas en fila que se deslizan de lado */
  .board .pgs { display: flex; gap: 16px; height: 100%; overflow: hidden; touch-action: pan-y; }
  .board .spg { display: flex !important; flex: 0 0 100%; width: 100%; min-width: 0; transform: translateX(calc(var(--pg, 0) * (-100% - 16px) + var(--dx, 0px))); transition: transform .62s cubic-bezier(.22, .8, .2, 1), opacity .5s ease; opacity: .35; }
  .board .spg.is-on { opacity: 1; }
  .board .pgs.is-drag .spg { transition: none; opacity: 1; }
  .board .spg.pg-scroll { overflow-y: auto; overscroll-behavior: contain; }
  .board .spg.pg-scroll > * { flex-shrink: 0 !important; }
  .board .spg.pg-scroll > .hero3 { overflow: visible; }
  /* al llegar, el contenido entra en cascada desde el lado por el que llega la hoja */
  .board .spg.is-in > :not(.hero3), .board .spg.is-in > .hero3 > .sh-l > *, .board .spg.is-in > .hero3 > .sh-c > * { animation: pg-in .7s cubic-bezier(.2, .75, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms + 140ms); }
  /* pista: la primera hoja se aparta un poco y deja ver la siguiente */
  .board .pgs.pg-hint .spg { animation: pg-hint 2.2s cubic-bezier(.45, 0, .25, 1) both; }
  .board .sm-anon:has(.pgs.pg-hint) + .pgr #pg-next .arrow, .board .sm-fam2:has(.pgs.pg-hint) + .pgr #pg-next .arrow { animation: pg-nudge 1.1s ease-in-out 2; }
  /* barra de hojas: flecha atrás, puntos con la activa alargada, "1 / 4" y el nombre de la siguiente */
  .board .pgr { gap: 6px; }
  .board .pgr-p { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--b-cr, #f3eee4); box-shadow: inset 0 0 0 1.5px var(--b-line2, rgba(243,238,228,.3)); cursor: pointer; transition: opacity .3s, transform .3s; }
  .board .pgr-p svg { width: 18px; height: 18px; }
  .board .pgr-p.is-off { opacity: 0; pointer-events: none; transform: translateX(6px); }
  .board .pgr-p:focus-visible { outline: 2px solid var(--b-oc); outline-offset: 3px; }
  .board .pgr-m { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; }
  .board .pgr-d button { width: 22px; height: 30px; }
  .board .pgr-d button::before { transition: width .45s cubic-bezier(.2, .75, .2, 1), margin .45s cubic-bezier(.2, .75, .2, 1), background .3s; }
  .board .pgr-d button[aria-current="true"] { width: 36px; }
  .board .pgr-d button[aria-current="true"]::before { width: 26px; height: 8px; margin: -4px 0 0 -13px; border-radius: 99px; }
  .board .pgr-n { margin-top: -6px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft, #a9a196); font-variant-numeric: tabular-nums; }
  .board #pg-next { max-width: 52%; }
  .board #pg-next .pl-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Primera hoja: el retrato en pequeño junto a la edad */
  .board .hero3 .sm-big { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; column-gap: 10px; }
  .board .hero3 .sm-mini { display: block; align-self: center; flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--e-sky, #3a4660); box-shadow: 0 0 0 2px rgba(243,238,228,.85), 0 6px 16px -6px rgba(0,0,0,.6); }
  .board .hero3 .sm-mini svg { display: block; width: 100%; height: 100%; }
}
@keyframes su-drop { from { opacity: 0; transform: translateY(-10px) scaleY(.96); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes su-card { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes pg-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pg-hint { 0%, 100% { translate: 0 0; } 22%, 40% { translate: -56px 0; } 60% { translate: 0 0; } 72% { translate: -18px 0; } 84% { translate: 0 0; } }
@keyframes pg-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) {
  .board .spg, .board .pgr-d button::before { transition: none !important; }
  .board .su-half.su-drop, .board .su-half.su-drop .pc, .board .spg.is-in *, .board .spg.is-in > *, .board .pgs.pg-hint .spg, .board #pg-next .arrow { animation: none !important; }
}
/* con el ajuste de cada hoja (fitPgs), el epitafio ya no pierde su cuarto verso en pantallas bajas */
@media (max-width: 700px) and (max-height: 700px) { .board .sm-head .epi span:nth-child(4) { display: inline; } }

/* Ronda 67: ocho épocas. Selector "¿En qué época quieres vivir?" en una fila de ocho puertas iguales en escritorio,
   4 x 2 en tableta y lista compacta en móvil; tarjetas bajo el tablero 4 x 2 y 2 x 4; pestañas de "Qué puede pasarte" con 44 px */
@media (min-width: 1101px) {
  .board .pk-doors { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
  .board .pk-tx b { font-size: clamp(1rem, 1.25vw, 1.25rem); }
  .board .pk-l { font-size: .8rem; }
  .board .pk-tx .pk-w { font-size: .7rem; letter-spacing: .06em; }
  .board .pk-d { grid-template-columns: minmax(0, 1fr); }
  .board .pk-go { --ob-px: 10px; --ob-fs: .76rem; --ob-gap: 6px; --ob-h: 44px; max-width: 100%; }
}
@media (min-width: 1101px) and (max-width: 1399px) {
  .board .pk-go { width: var(--ob-h); padding: 0 !important; justify-content: center; }
  .board .pk-go > span { display: none; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .board .pk-d .win { aspect-ratio: 16 / 9; }
  .board .pk-d { grid-template-columns: minmax(0, 1fr); }
  .board .pk-go { --ob-px: 12px; --ob-fs: .8rem; --ob-gap: 8px; max-width: 100%; }
  .board .pk-l { margin-bottom: 8px; font-size: .8rem; }
}
@media (max-width: 1100px) and (min-width: 701px) and (max-height: 820px) { .board .pk-l { display: none; } .board .pk-tx b { min-height: 0; } }
@media (max-width: 700px) {
  .board .pk-doors { gap: 6px; }
  .board .pk-d { grid-template-columns: 52px minmax(0, 1fr); padding: 4px 8px 4px 4px; }
  .board .pk-d .win { height: 60px; }
}
@media (max-width: 560px) {
  .scen-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sc-card { gap: 6px; padding-bottom: 12px; }
  .sc-card::after { display: none; }
  .sc-card h3 { margin: 0 12px; font-size: calc(1.05rem * var(--display-scale)); }
  .sc-card p { display: none; }
  .sc-card .sc-m { margin: 0 12px; font-size: .64rem; letter-spacing: .06em; }
}
.vidas-tabs .pill { min-height: 44px; padding: 0 14px; }
@media (max-width: 560px) {
  .vidas-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vidas-tabs .pill { justify-content: center; padding: 4px 8px; font-size: .64rem; letter-spacing: .04em; line-height: 1.2; text-align: center; }
}

/* Ronda 68: botones de la primera pantalla (selector de épocas) sin círculo ni flecha: solo el texto y la ola del hover.
   Antes, en algunos anchos, el texto se ocultaba y quedaba solo el círculo con la flecha. */
.board .pk-go > span { display: inline !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.board .pk-go { width: auto !important; padding: 0 var(--ob-px, 14px) !important; max-width: 100%; justify-content: center; }
@media (min-width: 1101px) and (max-width: 1399px) { .board .pk-go { --ob-px: 8px; --ob-fs: .7rem; } }
@media (max-width: 700px) { .board .pk-go { --ob-px: 10px; --ob-fs: .74rem; --ob-h: 38px; max-width: 132px; } }

/* Ronda 68: en el selector de épocas, el texto bajo las puertas va centrado (escritorio y tableta).
   En la lista del móvil (texto al lado de la imagen) sigue alineado a la izquierda. */
@media (min-width: 701px) {
  .board .pk-tx { text-align: center; justify-items: center; align-items: center; }
  .board .pk-tx > * { margin-left: auto; margin-right: auto; }
  .board .pk-go { justify-self: center !important; align-self: center !important; margin-left: auto !important; margin-right: auto !important; }
}

/* Ronda 68: landing del simulador. "Qué puede pasarte" deja de ser estadística y cuenta partidas;
   "Cómo se gana" explica barras, metas, riesgo, suerte y desenlaces. Sin rayas: espacio y jerarquía. */
.historias-intro, .ganar-intro { max-width: 62ch; color: var(--ink-soft); margin: 0 0 clamp(22px, 3vw, 34px); }
.historias { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.historia { background: var(--paper, #fff); border-radius: 18px; padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -16px rgba(0,0,0,.25); }
.historia h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.15rem, 1.5vw, 1.35rem) * var(--display-scale)); line-height: 1.12; margin: 0; }
.historia p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.historia a { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; }
.h-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.h-ok .h-tag { background: #e6f5e9; color: #2f6f43; }
.h-ko .h-tag { background: #f4e4e3; color: #9b3d38; }
.h-meta .h-tag { background: #f7ecd2; color: #7a5a17; }
.h-si .h-tag { background: #e6eef8; color: #3b5c8a; }
.ganar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 22px) clamp(20px, 3vw, 36px); }
.ganar li { font-size: .95rem; line-height: 1.55; color: var(--ink-soft); padding-left: 22px; position: relative; }
.ganar li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: #e0b35a; }
.ganar li b { color: var(--ink); }

@media (min-width: 1000px) { .historias { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ronda 69: personajes de cada época en "Las épocas del simulador, una a una" */
.eras-guia .eras-pj { margin-top: 8px; font-size: .86rem; }

/* Ronda 75: catorce épocas en "¿En qué época quieres vivir?", en orden cronológico.
   Escritorio (>= 1000 px): 7 x 2 puertas más bajas; la frase de cada época solo si hay altura.
   Tableta estrecha y móvil: lista en dos columnas, imagen pequeña y título; la tarjeta entera es el botón (más de 44 px). */
@media (min-width: 1000px) {
  .board .pk-doors { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(12px, 1.4vh, 20px) clamp(10px, 1vw, 16px); }
  .board .pk-d { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .board .pk-d .win { aspect-ratio: 1 / 1; max-height: 22vh; }
  .board .pk-tx b { font-size: clamp(.95rem, 1.1vw, 1.15rem); min-height: 0; }
  .board .pk-tx .pk-w { font-size: .68rem; }
  .board .pk-l { font-size: .76rem; margin-bottom: 4px; }
  .board .pk-go { --ob-h: 38px; --ob-fs: .72rem; --ob-px: 10px; }
}
@media (min-width: 1000px) and (max-height: 900px) { .board .pk-l { display: none; } .board .pk-d .win { max-height: 20vh; } }
@media (min-width: 1000px) and (max-height: 760px) { .board .pk-go { display: none !important; } .board .pk-d .win { max-height: 17vh; } .board .pk-sub { display: none; } .board .pk-q { margin-bottom: 4px; } }
@media (max-width: 999px) {
  .board .pk-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .board .pk-d { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto; gap: 10px; align-items: center; min-height: 56px; padding: 4px 8px 4px 4px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(243,238,228,.16); }
  .board .pk-d .win { width: 48px; height: 48px; aspect-ratio: auto; border-radius: 999px 999px 4px 4px; }
  .board .pk-tx { text-align: left !important; justify-items: start !important; gap: 0; }
  .board .pk-tx > * { margin-left: 0 !important; margin-right: 0 !important; }
  .board .pk-tx b { font-size: .9rem; line-height: 1.15; min-height: 0; }
  .board .pk-tx .pk-w { font-size: .62rem; letter-spacing: .04em; }
  .board .pk-l, .board .pk-go { display: none !important; }
}
@media (min-width: 701px) and (max-width: 999px) { .board .pk-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ronda 76: "Cómo se gana" visual. Cuatro pasos con la pantalla del juego en pequeño (una misma vida: un pintor en el París de 1922)
   y tres finales de ejemplo con los colores de la pantalla final. Menos texto: una línea por paso. */
.ganar-wrap .gn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: none; }
.gn-p { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; position: relative; }
.gn-p h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; color: var(--ink); }
.gn-p > p { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--ink-soft); }
.gn-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #d9534f; color: #fff; font-weight: 750; font-size: .95rem; }
.gn-p:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: 46px; right: calc(-1 * clamp(14px, 2vw, 24px) + 6px); height: 2px; background: repeating-linear-gradient(90deg, rgba(217,83,79,.45) 0 6px, transparent 6px 12px); }
.gn-m { background: #1d1a17; color: #f3eee4; border-radius: 16px; padding: 14px; min-height: 150px; display: grid; align-content: center; gap: 7px; box-shadow: 0 10px 26px rgba(20,16,12,.18), inset 0 0 0 1px #2e2a26; }
.gn-m small { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #e0b35a; font-weight: 700; }
.gn-m b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; line-height: 1.15; }
.gn-meta { justify-self: start; font-size: .72rem; font-weight: 700; color: #6fbf86; background: rgba(111,191,134,.14); border-radius: 999px; padding: 3px 9px; }
.gn-who { grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; }
.gn-who > div { display: grid; gap: 4px; }
.gn-who small { text-transform: none; letter-spacing: 0; color: #bdb5a6; font-weight: 500; font-size: .78rem; }
.gn-face { width: 74px; height: 74px; border-radius: 50%; background: var(--e-sky, #3a4a6b); }
.gn-btn { font-size: .78rem; font-weight: 650; border-radius: 999px; padding: 7px 12px; box-shadow: inset 0 0 0 1px rgba(243,238,228,.3); }
.gn-btn.on { background: #f3eee4; color: #1d1a17; box-shadow: none; }
.gn-bars { gap: 9px; }
.gn-ok { color: #6fbf86 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .8rem !important; }
.gn-b { display: grid; grid-template-columns: 58px minmax(0, 1fr) 46px; align-items: center; gap: 8px; font-size: .78rem; color: #bdb5a6; }
.gn-b i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--c) calc(var(--v) * 10%), rgba(243,238,228,.12) 0); }
.gn-b em { font-style: normal; font-weight: 700; color: #f3eee4; white-space: nowrap; }
.gn-b u { text-decoration: none; color: #6fbf86; font-size: .72rem; }
.gn-fin, .gn-f { --fc: #8fb0d9; box-shadow: 0 10px 26px rgba(20,16,12,.18), inset 0 0 0 1px #2e2a26; }
.gn-lv { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: var(--fc); }
.gn-esc { list-style: none; margin: 2px 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.gn-esc li { height: 12px; border-radius: 4px; opacity: .45; }
.gn-esc li:nth-child(1), .gn-esc li:nth-child(2) { background: #e07a77; } .gn-esc li:nth-child(3) { background: #e8cf8f; }
.gn-esc li:nth-child(4) { background: #8fb0d9; } .gn-esc li:nth-child(5) { background: #6fbf86; } .gn-esc li:nth-child(6) { background: #e0b35a; }
.gn-esc li.on { opacity: 1; transform: scaleY(1.5); box-shadow: 0 0 12px rgba(111,191,134,.6); }
.gn-fin b { font-size: 1.3rem; color: #bfeccb; }
.gn-m.t2, .gn-f.t2 { --fc: #6fbf86; } .gn-f.t3 { --fc: #8fb0d9; } .gn-f.t6 { --fc: #e07a77; }
.gn-f.t1 { --fc: #e0b35a; background: radial-gradient(120% 140% at 0% 0%, #3a2e14 0%, #1d1a17 60%); }
.gn-f.t6 { background: radial-gradient(120% 140% at 0% 0%, #321716 0%, #1d1a17 60%); }
.gn-t { margin: clamp(30px, 4vw, 46px) 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.gn-ej { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.gn-f { background: #1d1a17; color: #f3eee4; border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.gn-f b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.gn-f.t1 b { color: #f6d98c; } .gn-f.t6 b { color: #f0b3b0; }
.gn-x { margin: 18px 0 0; font-size: .92rem; color: var(--ink-soft); max-width: 70ch; }
.gn-x b { color: var(--ink); }
@media (max-width: 999px) { .ganar-wrap .gn { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gn-p:nth-child(2)::after { display: none; } }
@media (max-width: 600px) {
  .ganar-wrap .gn { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gn-p { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto; column-gap: 12px; row-gap: 8px; }
  .gn-p > .gn-n { grid-row: 1; } .gn-p > h3 { align-self: center; }
  .gn-p > .gn-m, .gn-p > p { grid-column: 2; }
  .gn-p:not(:last-child)::after { display: block; top: 40px; bottom: -18px; left: 16px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(217,83,79,.45) 0 6px, transparent 6px 12px); }
  .gn-m { min-height: 0; }
  .gn-ej { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Ronda 76: selector. Escritorio: al pasar por una época asoman sus personajes reales sobre la imagen.
   Móvil: imagen más grande en forma de puerta y la línea de lugar y año siempre en una sola línea. */
.board .pk-d .win { position: relative; }
.board .pk-fam { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; font-size: .68rem; line-height: 1.3; font-weight: 600; color: #f3eee4; text-align: center; background: linear-gradient(180deg, transparent, rgba(20,17,14,.92) 45%); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.board .pk-fam span { display: block; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #e0b35a; margin-bottom: 2px; }
@media (hover: hover) and (min-width: 1000px) { .board .pk-d:hover .pk-fam, .board .pk-d:focus-visible .pk-fam { opacity: 1; transform: none; } }
@media (max-width: 999px) {
  .board .pk-fam { display: none; }
  .board .pk-d { grid-template-columns: 46px minmax(0, 1fr); min-height: 64px; padding: 5px 6px 5px 5px; gap: 8px; }
  .board .pk-d .win { width: 46px; height: 58px; border-radius: 999px 999px 6px 6px; }
  .board .pk-tx .pk-w { font-size: .54rem; letter-spacing: 0; white-space: nowrap; }
  .board .pk-tx b { font-size: .86rem; }
}

/* Ronda 77: sin resaltes de color laterales en ningún módulo (decisión del responsable). Donde el color
   tenía significado (éxito, drama, nivel del desenlace), pasa a un fondo teñido. */
.sm-fin { box-shadow: inset 0 0 0 1px #2e2a26 !important; }
.sm-fin.t3 { background: radial-gradient(120% 140% at 0% 0%, #1b2636 0%, #1d1a17 60%); }
.sm-fin.t4 { background: radial-gradient(120% 140% at 0% 0%, #322b17 0%, #1d1a17 60%); }
.sm-fin.t5 { background: radial-gradient(120% 140% at 0% 0%, #2c1716 0%, #1d1a17 60%); }
.board .tc2 { box-shadow: none; background: color-mix(in srgb, var(--tone) 13%, #24211e); }
.board .tc2.div { background: #0f2618; }
.board .kp { border-left: 0; background: color-mix(in srgb, var(--kc) 12%, transparent); border-radius: 8px; }
.mw, .rl, .dv-rep, .epi, .disclaimer { border-left: 0; }
.rl { border-radius: 8px; } .dv-rep { border-radius: 8px; } .disclaimer { border-radius: 18px; }
.va-c h3 { border-left: 0; padding-left: 0; }

/* Ronda 77: "Vive la vida de un personaje famoso", carrusel de retratos (desliza en móvil, flechas en escritorio). */
.fam-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.fam-head h2 { margin: 0; }
.fam-nav { display: flex; gap: 8px; flex: none; }
.fam-prev .arrow { transform: scaleX(-1); }
.fam-car { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.fam-car::-webkit-scrollbar { display: none; }
.fam { scroll-snap-align: start; background: #1d1a17; color: #f3eee4; border-radius: 20px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.fam-p { width: 112px; height: 112px; border-radius: 50%; background: var(--e-sky, #3a4a6b); margin-bottom: 4px; }
.fam-y { font-size: .7rem; letter-spacing: .12em; font-weight: 700; color: #e0b35a; }
.fam h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.fam p { margin: 0; font-size: .9rem; line-height: 1.45; color: #cfc8ba; }
.fam .fam-f { color: #f3eee4; font-weight: 600; }
.fam-si { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-style: italic; color: #8fb0d9; font-size: 1.02rem; }
.fam a { color: #f3eee4; font-weight: 650; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.fam-x { margin: 14px 0 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 700px) { .fam-car { grid-auto-columns: 78%; } .fam-nav { display: none; } }

/* Ronda 77: "Qué puede pasarte", seis decisiones reales del juego: situación, lo que eliges y lo que pasa. */
.dx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.dx-c { background: #1d1a17; color: #f3eee4; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 38% minmax(0, 1fr); }
.dx-a { width: 100%; height: 100%; min-height: 150px; display: block; background: var(--e-sky, #2a3346); }
.dx-b { padding: 14px 14px 12px; display: grid; gap: 6px; align-content: start; }
.dx-b small { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #e0b35a; }
.dx-b h3 { margin: 0 0 2px; font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; line-height: 1.15; }
.dx-o { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: #8f887c; box-shadow: inset 0 0 0 1px rgba(243,238,228,.16); text-decoration: line-through; text-decoration-color: rgba(143,136,124,.6); }
.dx-o.on { color: #1d1a17; background: #f3eee4; box-shadow: none; text-decoration: none; }
.dx-r { margin: 4px 0 0; font-size: .8rem; line-height: 1.35; padding: 8px 10px; border-radius: 10px; }
.dx-r b { display: inline-block; margin-right: 4px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.dx-r em { font-style: normal; font-weight: 750; white-space: nowrap; }
.dx-r.ok { background: rgba(111,191,134,.16); color: #cdeed6; } .dx-r.ok b, .dx-r.ok em { color: #6fbf86; }
.dx-r.ko { background: rgba(224,122,119,.16); color: #f3d0ce; } .dx-r.ko b, .dx-r.ko em { color: #e07a77; }
.dx-x { margin: 14px 0 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 1099px) { .dx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dx { grid-template-columns: minmax(0, 1fr); } .dx-c { grid-template-columns: 30% minmax(0, 1fr); } .dx-a { min-height: 0; } }

/* Ronda 78: quince épocas. Escritorio en 8 + 7 para que quepan en dos filas sin desplazar el tablero. */
@media (min-width: 1000px) {
  .board .pk-doors { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .board .pk-tx b { font-size: clamp(.9rem, 1vw, 1.08rem); }
  .board .pk-go { --ob-px: 8px; --ob-fs: .68rem; }
}

/* Ronda 79: barra del juego sin "Auto", sin la X y sin "Otra época" (no se veían ni se usaban: decisión del responsable).
   Para cambiar de época, la fila de épocas de "¿Quién eres?"; en la partida, el menú. */
.board .tb #auto, .board .tb #restart, .board .tb #exit-game, .board .tb #pick-back { display: none !important; }

/* Ronda 79: "¿Quién eres?" compacta y con la fila de épocas. */
.board .su-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 24px; margin-bottom: 14px; }
.board .su-top .su-q { margin: 0 !important; font-size: clamp(1.7rem, 2.6vw, 2.4rem) !important; text-align: left; }
.board .su-eras { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); scroll-behavior: smooth; }
.board .su-eras::-webkit-scrollbar { display: none; }
.board .su-era { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 4px; border: 0; border-radius: 999px; background: rgba(243,238,228,.06); box-shadow: inset 0 0 0 1px rgba(243,238,228,.16); color: #d9d2c4; font: 600 .78rem/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.board .su-era:hover { background: rgba(243,238,228,.14); color: #f3eee4; }
.board .su-era:focus-visible { outline: 2px solid #e0b35a; outline-offset: 2px; }
.board .su-era[aria-current] { background: #f3eee4; color: #1d1a17; box-shadow: none; }
.board .su-era .w { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(243,238,228,.1); }
.board .su-era .w svg { width: 100%; height: 100%; display: block; }
.board .su-all .w svg { width: 13px; height: 13px; }
@media (min-width: 701px) {
  .board .su-cards { align-content: start; }
  .board .su-cards .pc { min-height: 0 !important; height: auto !important; padding-top: 14px !important; padding-bottom: 14px !important; }
  .board .su-half { align-content: start; }
}
@media (max-width: 700px) {
  .board .su-top { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
  .board .su-top .su-q { order: 2; text-align: center; font-size: 1.7rem !important; }
  .board .su-eras { padding: 3px 14px; }
}

/* Ronda 79: en escritorio, la marca "Otra Era" junto a la puerta y, con aire, la época que se vive. */
.board .tb-brand { display: none; }
@media (min-width: 1000px) {
  body.hdr-min .board .tb-logo { display: inline-flex; align-items: center; gap: 12px; width: auto; padding-right: 26px; margin-right: 26px; color: #f3eee4; text-decoration: none; }
  .board .tb-brand { display: inline; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.55rem; line-height: 1; white-space: nowrap; }
}

/* Ronda 79: tarjetas de "¿Quién eres?" a la medida de su contenido en escritorio (sin hueco vacío). */
@media (min-width: 701px) {
  .board .su2 .su-half .su-cards { grid-template-rows: none !important; grid-auto-rows: auto !important; align-content: start !important; height: auto !important; flex: none !important; }
  .board .su2 .su-half .su-cards .pc { min-height: 108px !important; height: auto !important; }
  .board .su-era { font-size: .74rem; height: 34px; }
}
@media (min-width: 701px) {
  .board .su2 .su-half .su-cards .pc .pc-t > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .board .su2 .su-realnote { margin-top: 14px !important; }
  .board .su2 .su-half.real { align-content: start !important; justify-content: start; }
}
@media (min-width: 701px) {
  .board .su2 .su-half .su-cards .pc .pc-t > span { -webkit-line-clamp: 2; }
  .board .su2 .su-half .su-cards .pc .pc-meta { display: block; margin-top: 4px; }
  .board .su2 .su-half.real { grid-template-rows: auto auto auto minmax(0, 1fr) !important; }
}
@media (max-width: 700px) { .board .su2 .pc .pc-meta { display: none; } }
.dx-o .rk { display: inline-block; margin-left: 6px; font-style: normal; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 750; color: #e07a77; }
.dx-r.ac { background: rgba(143,176,217,.16); color: #d6e3f3; } .dx-r.ac b, .dx-r.ac em { color: #8fb0d9; }

/* Ronda 80: "¿Quién eres?" rediseñada (análisis de diseño y UX del responsable).
   Retícula: el contenido arranca y acaba en los mismos bordes que la barra (puerta del logo y botón Menú).
   Jerarquía: título + fila de épocas; dos bloques (anónima en lista, real en cuadrícula); una barra de acción.
   Sin tarjetas "Al azar" ni nombre: un solo "Al azar" por época junto al botón principal. */
.board .su2 { max-width: none !important; margin: 0 !important; gap: 14px !important; }
.board .su-eras-w { display: flex; align-items: center; gap: 6px; min-width: 0; }
.board .su-eras-w .su-eras { flex: 1; min-width: 0; cursor: grab; user-select: none; }
.board .su-eras.is-drag { cursor: grabbing; scroll-behavior: auto; }
.board .su-eras.is-drag .su-era { pointer-events: none; }
.board .su-arr { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(243,238,228,.08); box-shadow: inset 0 0 0 1px rgba(243,238,228,.2); color: #f3eee4; cursor: pointer; transition: background .15s, opacity .15s; }
.board .su-arr svg { width: 16px; height: 16px; }
.board .su-arr:hover:not(:disabled) { background: rgba(243,238,228,.18); }
.board .su-arr:disabled { opacity: .25; cursor: default; }

/* Barra de acción: género | al azar | empezar */
.board .su-bar { display: flex; align-items: center; gap: 12px; }
.board .su-bar .su-go { flex: 1; width: auto !important; margin: 0 !important; }
.board .su-bar .su-seg { flex: none; margin: 0 !important; }
.board .su-bar.is-real .su-seg { opacity: .3; pointer-events: none; }
.board .su-rand { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 22px; color: #f3eee4; --ob-bd: rgba(243,238,228,.35); }
.board .su-rand svg { width: 20px; height: 20px; }

@media (min-width: 701px) {
  /* Vida anónima: lista de cunas, una por fila, con su descripción y su meta */
  .board .su2 .su-half.anon .su-cards { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  .board .su2 .su-half.anon .su-cards .pc { min-height: 0 !important; grid-template-columns: 64px minmax(0, 1fr) !important; column-gap: 16px !important; padding: 14px 44px 14px 14px !important; align-items: center; }
  .board .su2 .su-half.anon .su-cards .pc .pc-face { width: 64px !important; height: 64px !important; }
  .board .su2 .su-half.anon .su-cards .pc .pc-t > span { -webkit-line-clamp: 2; }
  /* Vida real: cuadrícula de retratos */
  .board .su2 .su-half.real .su-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .board .su2 .su-half.real .su-cards .pc { min-height: 0 !important; padding: 12px 40px 12px 12px !important; }
  .board .su2 .su-half.real .su-cards .pc .pc-face { width: 52px !important; height: 52px !important; }
  .board .su2 .su-cap { display: none !important; }
  .board .su2 .su-half { align-content: start !important; }
}
@media (min-width: 1200px) and (min-height: 800px) {
  .board .su2 .su-half.anon .su-cards .pc { padding-top: 18px !important; padding-bottom: 18px !important; }
  .board .su2 .su-half.real .su-cards .pc { padding-top: 16px !important; padding-bottom: 16px !important; }
}
@media (max-width: 700px) {
  .board .su-arr { display: none; }
  .board .su-eras-w { order: 1; margin: 0 -14px; }
  .board .su-eras-w .su-eras { margin: 0; padding: 3px 14px; }
  .board .su-bar { flex-wrap: wrap; gap: 8px; }
  .board .su-bar .su-seg { flex: 1; }
  .board .su-rand { height: 48px; padding: 0 18px; }
  .board .su-bar .su-go { flex: 1 1 100%; }
}

/* Ronda 80, ajustes finos */
@media (min-width: 701px) {
  .board .su2 .su-half.real .su-cards .pc { grid-template-columns: 56px minmax(0, 1fr) !important; grid-template-rows: auto !important; column-gap: 14px !important; align-items: center !important; }
  .board .su2 .su-half.real .su-cards .pc .pc-face { width: 56px !important; height: 56px !important; grid-row: auto !important; }
  .board .su2 .su-half.real .su-cards .pc .pc-tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; text-overflow: clip !important; }
  .board .su-bar .su-seg { height: 60px; }
  .board .su-bar .su-seg button { height: 100%; padding: 0 22px; }
}
.board .su-bar .su-go { justify-content: flex-start !important; }
.board .su-bar .su-go .su-gl { flex: 1; text-align: center; }
.board .su-bar .su-go .arrow { margin-left: auto; }
@media (max-width: 700px) {
  .board .su2 .su-half.anon .su-cards { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  .board .su2 .su-half.anon .su-cards .pc { grid-template-columns: 52px minmax(0, 1fr) !important; column-gap: 12px !important; padding: 10px 40px 10px 10px !important; min-height: 0 !important; align-items: center; }
  .board .su2 .su-half.anon .su-cards .pc .pc-face { width: 52px !important; height: 52px !important; }
  .board .su2 .su-half.anon .su-cards .pc .pc-t > span { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; line-height: 1.3; }
  .board .su2 .su-half.anon .su-cards .pc .pc-t b { font-size: 1.05rem !important; }
  .board .su2 .pc .pc-meta { display: block !important; font-size: .72rem; margin-top: 2px; }
  .board .su2 .su-cap { display: none !important; }
}

/* Ronda 82: "¿Quién eres?" con lo que te juegas (barras de salida, dificultad y lo que te espera),
   género en la cabecera de la vida anónima, pestañas con recuento en móvil, escena de la época de fondo
   y retratos más grandes en pantallas anchas. */
.board .su2 { position: relative; }
.board .su2 > *:not(.su-bg) { position: relative; z-index: 1; }
.board .su-bg { position: absolute; z-index: 0; top: -14px; right: -48px; width: 62%; height: 260px; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%), linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); }
.board .su-bg svg { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .board .su-bg { width: 100%; right: -14px; height: 200px; opacity: .12; } }

/* Género en la cabecera de "Vida anónima" */
.board .su-hh .su-seg { height: 38px !important; margin: 0 !important; }
.board .su-hh .su-seg button { height: 100% !important; padding: 0 16px !important; font-size: .8rem !important; }
.board .su-hh { align-items: center; }

/* Franja de información de la opción elegida */
.board .su-info { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); min-height: 52px; padding: 8px 18px; border-radius: 14px; background: rgba(243,238,228,.05); box-shadow: inset 0 0 0 1px rgba(243,238,228,.1); color: #cfc8ba; font-size: .8rem; }
.board .si-stats { display: flex; gap: 14px; flex: none; }
.board .si-b { display: grid; grid-template-columns: auto 52px auto; align-items: center; gap: 6px; white-space: nowrap; }
.board .si-b span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #a49b8b; }
.board .si-b i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--c) calc(var(--v) * 10%), rgba(243,238,228,.12) 0); }
.board .si-b b { color: #f3eee4; font-weight: 750; min-width: 1ch; }
.board .si-dif { display: flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; }
.board .si-dif > span, .board .si-esp > span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #a49b8b; }
.board .si-dif b { display: inline-flex; align-items: center; gap: 3px; color: #f3eee4; font-weight: 750; }
.board .si-dif b i { width: 7px; height: 14px; border-radius: 2px; background: rgba(243,238,228,.16); }
.board .si-dif b i:last-of-type { margin-right: 5px; }
.board .si-dif b.d1 i:nth-child(1) { background: #6fbf86; }
.board .si-dif b.d2 i:nth-child(-n+2) { background: #e8cf8f; }
.board .si-dif b.d3 i { background: #e07a77; }
.board .si-esp { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.board .si-esp ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; min-width: 0; overflow: hidden; }
.board .si-esp li { display: flex; gap: 6px; align-items: baseline; white-space: nowrap; color: #e6dfd2; }
.board .si-esp li b { color: #e0b35a; font-weight: 750; font-size: .74rem; }

/* Pestañas de móvil con recuento */
.board .su-tabs [data-tab] small { display: block; font-family: var(--font-sans, inherit); font-size: .66rem; font-weight: 600; letter-spacing: .04em; opacity: .7; margin-top: 2px; }

/* Pantallas anchas: vida real en tres columnas, retrato grande arriba */
@media (min-width: 1400px) and (min-height: 820px) {
  .board .su2 .su-half.real .su-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .board .su2 .su-half.real .su-cards .pc { grid-template-columns: minmax(0, 1fr) !important; justify-items: start; row-gap: 10px; padding: 16px 16px 14px !important; align-items: start !important; }
  .board .su2 .su-half.real .su-cards .pc .pc-face { width: 76px !important; height: 76px !important; }
}

/* Alturas bajas: la franja se aprieta y las tarjetas también */
@media (min-width: 701px) and (max-height: 780px) {
  .board .su-info { min-height: 44px; padding: 6px 14px; }
  .board .su2 .su-half.anon .su-cards .pc .pc-t > span { -webkit-line-clamp: 1; }
  .board .su2 .su-half.anon .su-cards .pc { padding-top: 10px !important; padding-bottom: 10px !important; }
  .board .su2 .su-half.anon .su-cards .pc .pc-face { width: 52px !important; height: 52px !important; }
  .board .su2 .su-realnote { display: none; }
}

@media (max-width: 700px) {
  .board .su-info { flex-wrap: wrap; gap: 8px 14px; padding: 10px 12px; }
  .board .si-stats { gap: 10px; }
  .board .si-b { grid-template-columns: auto 30px auto; gap: 4px; }
  .board .si-esp { flex: 1 1 100%; }
  .board .si-esp > span { display: none; }
  .board .si-esp ol { overflow-x: auto; scrollbar-width: none; }
  .board .su2 .su-half.anon .su-hh { display: flex !important; justify-content: flex-end; margin-bottom: 8px; }
  .board .su2 .su-half.anon .su-hh h3 { display: none; }
  .board .su-bar .su-rand { flex: none; }
  .board .su-bar .su-go { flex: 1 1 auto; }
  .board .su-bar { flex-wrap: nowrap; }
}

/* Ronda 82, ajustes */
.board .su2 { grid-template-columns: minmax(0, 1fr) !important; }
.board .su-info, .board .su-bar { min-width: 0; }
.board .su-info { overflow: hidden; }
.board .si-esp > span { white-space: nowrap; }
.board .si-esp ol { flex: 1; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.board .su-bg { left: -48px; right: -48px; width: auto; top: -20px; height: 240px; opacity: .2; -webkit-mask-image: radial-gradient(70% 90% at 70% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 90% at 70% 0%, #000 0%, transparent 75%); }
@media (min-width: 1400px) and (min-height: 820px) {
  .board .su2 .su-half.real .su-cards.n-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .board .su2 .su-half.real .su-cards.n-4 .pc { grid-template-columns: 76px minmax(0, 1fr) !important; justify-items: stretch; align-items: center !important; column-gap: 16px !important; }
}
@media (max-width: 700px) {
  .board .su-rand { width: 52px; height: 52px !important; padding: 0 !important; justify-content: center; }
  .board .su-rand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .board .su-bg { left: -14px; right: -14px; height: 190px; opacity: .14; }
}
.board .su2 .su-tabs [data-tab] small { font-family: var(--font-body) !important; font-size: .68rem !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: .02em; opacity: .7; }
@media (max-width: 700px) {
  .board .su2 .su-realnote { display: none !important; }
  .board .su2 .su-half.real .su-cards { gap: 6px !important; }
  .board .su2 .su-half.real .su-cards .pc { padding-top: 6px !important; padding-bottom: 6px !important; min-height: 0 !important; }
  .board .su-bar .su-go .su-gl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .98rem; }
}

/* Ronda 83: "¿Quién eres?" como selección de personajes de arcade.
   Fichas iguales (retrato cuadrado grande + nombre) para cunas y personajes reales, ficha grande del elegido
   a la izquierda y la barra de acción abajo. Sin franja de barras ni pestañas. Nada se sale del ancho. */
.board .su2 { overflow: hidden; grid-template-rows: auto minmax(0, 1fr) auto !important; }
.board .su-bg { left: 0 !important; right: 0 !important; }
.board .su-info, .board .su-tabs, .board .su-halves { display: none !important; }

.board .ar { display: grid; grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); gap: 18px; min-height: 0; }
/* Ficha grande del elegido */
.board .ar-prev { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(243,238,228,.07), rgba(243,238,228,.02)); box-shadow: inset 0 0 0 1px rgba(243,238,228,.12); min-height: 0; overflow: hidden; }
.board .ar-pf { display: block; width: 100%; max-width: 260px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: rgba(243,238,228,.06); box-shadow: 0 0 0 3px #e07a77, 0 18px 40px rgba(0,0,0,.35); align-self: center; }
.board .ar-pf svg { width: 100%; height: 100%; display: block; }
.board .ar-pt { display: grid; gap: 6px; align-content: start; min-height: 0; }
.board .ar-ey { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #e0b35a; }
.board .ar-pt h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.02; color: #f3eee4; }
.board .ar-pt p { margin: 0; font-size: .9rem; line-height: 1.45; color: #cfc8ba; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board .ar-pt .ar-meta { color: #e0b35a; font-weight: 700; font-size: .84rem; }
.board .ar-pt .ar-meta.is-note { color: #a49b8b; font-weight: 500; }
.board .ar-pt .su-seg { margin: 6px 0 0 !important; height: 40px !important; justify-self: start; }
.board .ar-pt .su-seg button { height: 100% !important; padding: 0 18px !important; font-size: .82rem !important; }

/* Rejilla de fichas */
.board .ar-grid { display: grid; grid-template-rows: auto auto; align-content: start; gap: 14px; min-height: 0; overflow: hidden; }
.board .ar-g { display: grid; gap: 8px; }
.board .ar-l { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #a49b8b; }
.board .ar-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.board .ar-t { position: relative; display: grid; grid-template-rows: auto auto; gap: 0; padding: 0 !important; min-height: 0 !important; border-radius: 14px; overflow: hidden; background: #24211e; box-shadow: inset 0 0 0 1px rgba(243,238,228,.12); cursor: pointer; transition: transform .14s, box-shadow .14s; }
.board .ar-t:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(243,238,228,.3), 0 10px 22px rgba(0,0,0,.35); }
.board .ar-t:focus-visible { outline: 2px solid #e0b35a; outline-offset: 2px; }
.board .ar-f { display: block; aspect-ratio: 1; width: 100%; background: rgba(243,238,228,.06); }
.board .ar-f svg { width: 100%; height: 100%; display: block; }
.board .ar-n { display: grid; gap: 1px; padding: 7px 9px 9px; text-align: left; }
.board .ar-n b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: .95rem; line-height: 1.1; color: #f3eee4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board .ar-n small { font-size: .7rem; color: #a49b8b; }
.board .ar-t.is-on { box-shadow: 0 0 0 3px #e07a77, 0 0 22px rgba(224,122,119,.45); transform: translateY(-3px); }
.board .ar-t.is-on::after { content: "Elegido"; position: absolute; top: 7px; left: 7px; padding: 3px 7px; border-radius: 999px; background: #e07a77; color: #1d1a17; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.board .ar-t .pc-ok { display: none !important; }

/* Alturas bajas de escritorio: fichas y ficha grande más compactas */
@media (min-width: 701px) and (max-height: 800px) {
  .board .ar-prev { flex-direction: row; align-items: flex-start; }
  .board .ar-pf { width: 120px; max-width: 120px; flex: none; align-self: flex-start; }
  .board .ar-tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .board .ar-n b { font-size: .86rem; }
}

/* Móvil: ficha grande compacta arriba y fichas en tres columnas */
@media (max-width: 700px) {
  .board .ar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .board .ar-prev { flex-direction: row; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; }
  .board .ar-pf { width: 84px; max-width: 84px; flex: none; border-radius: 14px; box-shadow: 0 0 0 2px #e07a77; }
  .board .ar-pt h3 { font-size: 1.3rem; }
  .board .ar-pt p { -webkit-line-clamp: 2; font-size: .8rem; }
  .board .ar-pt .ar-meta { font-size: .74rem; }
  .board .ar-pt .ar-meta.is-note { display: none; }
  .board .ar-pt .su-seg { height: 34px !important; }
  .board .ar-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .board .ar-n { padding: 5px 6px 6px; }
  .board .ar-n b { font-size: .74rem; }
  .board .ar-n small { display: none; }
  .board .ar-t.is-on::after { display: none; }
  .board .ar-grid { gap: 10px; }
}

/* Ronda 83: las fichas mandan sobre las reglas viejas de .pc */
.board .su2 .ar .pc.ar-t { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto !important; column-gap: 0 !important; row-gap: 0 !important; padding: 0 !important; align-items: stretch !important; justify-items: stretch !important; text-align: left !important; height: auto !important; min-height: 0 !important; }
.board .su2 .ar .pc.ar-t .ar-f { width: 100% !important; height: auto !important; aspect-ratio: 1 !important; grid-row: 1 !important; grid-column: 1 !important; }
.board .su2 .ar .pc.ar-t .ar-n { grid-row: 2 !important; grid-column: 1 !important; }
@media (min-width: 701px) {
  .board .ar-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px !important; }
  .board .ar-grid { gap: 18px; }
}
@media (max-width: 700px) { .board .su2 .ar .ar-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.board .ar { align-items: center; }
.board .ar-prev { align-self: center; }
.board .ar-grid { align-self: center; }
.board .ar-f, .board .ar-pf { overflow: hidden; }
.board .ar-f svg, .board .ar-pf svg { transform: scale(1.12); transform-origin: 50% 40%; }
@media (max-width: 700px) {
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 6px !important; }
  .board .su2 .ar .pc.ar-t .ar-n { display: none !important; }
  .board .ar-t { border-radius: 10px; }
  .board .ar-t.is-on { box-shadow: 0 0 0 2px #e07a77, 0 0 14px rgba(224,122,119,.5); }
}
@media (max-width: 700px) {
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; }
  .board .su2 { min-height: 100%; display: flex !important; flex-direction: column; }
  .board .su2 .su-bar { margin-top: auto !important; }
}
@media (max-width: 700px) and (max-height: 780px) {
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 6px !important; }
  .board .ar-prev { padding: 10px; }
  .board .ar-pf { width: 72px; max-width: 72px; }
}

/* Ronda 84: escritorio de izquierda a derecha: personajes | el elegido en grande | jugar (muy grande) y al azar.
   Nombres de las fichas más grandes en todos los tamaños. */
.board .ar-n b { font-size: 1.05rem !important; }
@media (min-width: 1000px) {
  .board .su2 { display: grid !important; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(220px, 250px) !important; grid-template-rows: auto minmax(0, 1fr) !important; grid-template-areas: "top top top" "grid prev act" !important; column-gap: 20px !important; row-gap: 16px !important; height: 100%; }
  .board .su2 > .su-top { grid-area: top; }
  .board .su2 .ar { display: contents !important; }
  .board .su2 .ar-grid { grid-area: grid; align-self: center; }
  .board .su2 .ar-prev { grid-area: prev; align-self: stretch; justify-content: center; padding: 26px; }
  .board .su2 > .su-bar { grid-area: act; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 12px !important; align-self: stretch; }
  /* Personajes: cuatro por fila (cinco en pantallas bajas) */
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; }
  .board .ar-n b { font-size: 1.12rem !important; line-height: 1.08; }
  .board .ar-n { padding: 8px 10px 10px; }
  /* El elegido, grande */
  .board .ar-prev { flex-direction: column !important; align-items: center !important; text-align: center; }
  .board .ar-pf { width: min(100%, 34vh) !important; max-width: 340px !important; align-self: center !important; border-radius: 22px; box-shadow: 0 0 0 4px #e07a77, 0 22px 50px rgba(0,0,0,.4) !important; }
  .board .ar-pt { justify-items: center; }
  .board .ar-pt h3 { font-size: clamp(2.1rem, 3vw, 3.1rem) !important; }
  .board .ar-pt p { font-size: .98rem; -webkit-line-clamp: 3; }
  .board .ar-pt .su-seg { justify-self: center; }
  /* Jugar: muy grande; al azar debajo */
  .board .su-bar .su-go { flex: 1 1 auto !important; width: 100% !important; min-height: 0; height: auto !important; border-radius: 26px !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 18px; padding: 24px 20px !important; }
  .board .su-bar .su-go .su-gl { flex: none !important; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.08; white-space: normal; text-align: center; }
  .board .su-bar .su-go .arrow { margin: 0 !important; width: 64px !important; height: 64px !important; }
  .board .su-bar .su-rand { flex: none !important; width: 100% !important; height: 64px !important; justify-content: center; font-size: 1.05rem; border-radius: 999px; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 10px !important; }
  .board .ar-n b { font-size: .98rem !important; }
  .board .ar-n small { display: none; }
  .board .ar-pf { width: min(100%, 28vh) !important; }
  .board .ar-pt h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem) !important; }
  .board .ar-pt p { -webkit-line-clamp: 2; }
}
/* Móvil: vuelven los nombres, más grandes y en una línea */
@media (max-width: 700px) {
  .board .su2 .ar .pc.ar-t .ar-n { display: grid !important; padding: 4px 5px 6px; }
  .board .ar-n b { font-size: .82rem !important; -webkit-line-clamp: 1; }
  .board .ar-n small { display: none; }
}
@media (min-width: 1000px) {
  .board .su-bar .su-go { order: 1; }
  .board .su-bar .su-rand { order: 2; }
  .board .ar-n b { overflow-wrap: anywhere; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .board .su2 .ar .ar-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 9px !important; }
  .board .su2 .ar .pc.ar-t .ar-f { aspect-ratio: 1.15 !important; }
  .board .ar-n { padding: 5px 8px 7px !important; }
  .board .ar-n b { font-size: 1rem !important; }
  .board .ar-g { gap: 5px; }
  .board .ar-grid { gap: 10px !important; }
}
@media (max-width: 700px) {
  .board .ar-pt p { -webkit-line-clamp: 1 !important; }
  .board .ar-prev { padding: 10px !important; gap: 10px !important; }
  .board .ar-pf { width: 76px !important; max-width: 76px !important; }
  .board .su2 .su-top { margin-bottom: 4px !important; }
  .board .ar-grid { gap: 8px !important; }
}
@media (max-width: 700px) and (max-height: 780px) {
  .board .su2 .ar .pc.ar-t .ar-n { display: none !important; }
}

/* Ronda 85: pantalla de juego. Automático de vuelta, sin forma de puerta en las opciones, "Un dato" centrado,
   botón de seguir más grande y "Tu vida" como esquema pequeño (raíl con puntos de color). */

/* Automático visible durante la partida (la X y "Otra época" siguen fuera) */
.board.is-playing .tb #auto { display: inline-flex !important; }
@media (max-width: 700px) { .board.is-playing .tb #auto span { display: none; } }

/* Opciones: el relleno al pasar o elegir es un rectángulo, no un arco de puerta */
.board .opt::before, .board .opt::after { border-radius: 0 !important; width: 100% !important; aspect-ratio: auto !important; height: 100% !important; left: 0 !important; transform: translateY(100%) !important; }
.board .opt:hover::before, .board .opt:focus-visible::before { transform: translateY(0) !important; }
.board .opt .fx i { border-radius: 0 !important; width: 100% !important; left: 0 !important; aspect-ratio: auto !important; height: 100% !important; translate: 0 101% !important; }

/* "Un dato": centrado bajo la decisión, texto centrado y el cierre sin tapar el texto */
.board .oc-side { display: flex; justify-content: center; }
.board .oc-side .dato-w { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.board .dato-b { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px; line-height: 1 !important; }
.board .dato-p { padding-right: 58px !important; }

/* Botón de seguir, más grande */
.board .ob-next, .board #summary-btn { --ob-h: 72px; min-height: 72px; font-size: 1.25rem !important; }
.board .ob-next .next-l { font-size: 1.25rem; }
.board .ob-next .arrow { width: 56px !important; height: 56px !important; }

/* "Tu vida" en escritorio: raíl vertical con puntos y filas de una línea */
@media (min-width: 701px) {
  .board .play .tl-body { position: relative; padding-left: 14px !important; }
  .board .play .tl-body::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: rgba(243,238,228,.14); border-radius: 2px; }
  .board .play .tl-body .tc2 { --tone: #8f887c; position: relative; display: flex !important; align-items: baseline; gap: 8px; min-height: 0 !important; height: auto !important; padding: 3px 0 3px 8px !important; margin: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; font-size: .8rem; }
  .board .play .tl-body .tc2::before { content: ""; position: absolute; left: -14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px #1d1a17; }
  .board .play .tl-body .tc2.exito { --tone: #6fbf86; } .board .play .tl-body .tc2.drama { --tone: #e07a77; }
  .board .play .tl-body .tc2-a { font: 700 .78rem/1 var(--font-body) !important; color: #a49b8b !important; min-width: 22px; width: auto !important; height: auto !important; }
  .board .play .tl-body .tc2-t { display: flex !important; align-items: baseline; gap: 8px; min-width: 0; }
  .board .play .tl-body .tc2-t b { font: 600 .82rem/1.2 var(--font-body) !important; color: #e6dfd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .play .tl-body .tc2-t small { font-size: .68rem !important; color: #8f887c !important; white-space: nowrap; }
  .board .play .tl-body .tc2.now { padding: 5px 8px !important; border-radius: 8px !important; background: rgba(243,238,228,.08) !important; }
  .board .play .tl-body .tc2.now::before { background: #f3eee4; }
  .board .play .tl-body .tc2.now .tc2-t b { color: #f3eee4; }
  .board .play .tl-body .tc2.fut, .board .play .tl-body .tc2.grp { opacity: .6; }
  .board .play .tl-body .tc2.fut::before, .board .play .tl-body .tc2.grp::before { background: transparent; box-shadow: inset 0 0 0 2px rgba(243,238,228,.35), 0 0 0 3px #1d1a17; }
}

/* "Tu vida" en móvil: tira pequeña y botón "Ver" discreto */
@media (max-width: 700px) {
  .board .play .tl .tc2 { min-height: 34px !important; height: 34px !important; padding: 2px 10px 2px 6px !important; border-radius: 10px !important; }
  .board .play .tl .tc2-a { font-size: .9rem !important; }
  .board .play .tl .tc2-t b { font-size: .74rem !important; }
  .board .play .tl .tc2-t small { font-size: .62rem !important; }
  .board .play #tl-toggle { height: 34px !important; min-height: 34px !important; padding: 0 12px !important; font-size: .78rem !important; }
  /* Ventana "Ver": lista vertical normal, no tarjetas altísimas */
  .board.show-tl .play .tl-body { display: flex !important; flex-direction: column !important; gap: 6px !important; overflow-y: auto !important; overflow-x: hidden !important; align-items: stretch !important; }
  .board.show-tl .play .tl-body .tc2 { flex: none !important; width: auto !important; height: auto !important; min-height: 40px !important; max-height: none !important; }
}

/* Ronda 86: "pensando" al elegir una decisión */
.board .opt.is-busy { box-shadow: inset 0 0 0 2px #e0b35a, 0 0 0 4px rgba(224,179,90,.18) !important; animation: opt-pulse 1s ease-in-out infinite; }
.board.is-deciding .opt:not(.is-busy) { opacity: .45; pointer-events: none; }
.board.is-deciding, .board.is-deciding * { cursor: progress !important; }
@keyframes opt-pulse { 50% { box-shadow: inset 0 0 0 2px #e0b35a, 0 0 0 8px rgba(224,179,90,.08); } }
.board .opt-think { position: absolute; right: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; font: 700 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #e0b35a; }
.board .opt-think i { width: 6px; height: 6px; border-radius: 50%; background: #e0b35a; animation: opt-dot 1s ease-in-out infinite; }
.board .opt-think i:nth-child(2) { animation-delay: .15s; } .board .opt-think i:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes opt-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .board .opt.is-busy, .board .opt-think i { animation: none; } }

/* Ronda 86: fin de los botones con flecha y círculo: rellenos simétricos; "Un dato" sin círculo; botones del final en una fila */
.board .ob:not(.ob-icon):is(#su-go, #pop-go, #next, #summary-btn, #pop-sum, #again, #again3), .board .ob:not(.ob-icon):has(> .arrow) { padding-left: var(--ob-px) !important; padding-right: var(--ob-px) !important; justify-content: center !important; }
.board #pop-go { width: auto !important; min-width: 200px; }
.board .dato-b i { width: auto !important; height: auto !important; background: none !important; color: inherit !important; font-size: 1.1rem !important; }
.board .sm-btns { display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 14px !important; }
.board .sm-btns .ob { --ob-h: 60px; height: 60px !important; min-height: 60px !important; font-size: 1.05rem !important; order: 0 !important; grid-row: auto !important; }
.board .sm-btns #share { flex: none !important; width: 60px !important; padding: 0 !important; justify-content: center !important; }
.board .sm-btns #share .arrow { display: block !important; width: 22px !important; height: 22px !important; padding: 0 !important; background: none !important; color: currentColor !important; }
.board .sm-btns #again3 { flex: 1 1 0 !important; }
.board .sm-btns #again { flex: 1.4 1 0 !important; justify-content: center !important; }
@media (max-width: 700px) { .board .sm-btns { gap: 10px !important; } .board .sm-btns .ob { --ob-h: 56px; height: 56px !important; min-height: 56px !important; font-size: .95rem !important; } .board .sm-btns #share { width: 56px !important; } }

/* Ronda 86: nada de puertas en arco en el juego: ventanas rectangulares con esquinas suaves */
.board .pk-d .win, .board .pk-d .win svg { border-radius: 14px !important; }
@media (max-width: 999px) { .board .pk-d .win { border-radius: 10px !important; } }

/* Ronda 86: pensando al elegir una época */
.board .pk-d.is-busy .win, .board .su-era.is-busy { box-shadow: 0 0 0 3px #e0b35a, 0 0 22px rgba(224,179,90,.35) !important; animation: opt-pulse 1s ease-in-out infinite; }
.board .pk-d { position: relative; }
.board .pick-think { right: auto; left: 50%; bottom: auto; top: 10px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: rgba(29,26,23,.85); z-index: 2; }
.board .su-era .pick-think { display: none; }

/* Ronda 86: móvil, cuna, meta y riesgo de morir en una sola línea de fichas iguales */
@media (min-width: 701px) { .board .chips .sb-risk { display: none !important; } }
@media (max-width: 700px) {
  .board .chips { display: flex !important; flex-wrap: nowrap !important; gap: 6px !important; min-width: 0; overflow: hidden; }
  .board .chips .chip { flex: none; height: 26px; display: inline-flex !important; align-items: center; padding: 0 9px !important; border-radius: 999px !important; font-size: .7rem !important; line-height: 1 !important; white-space: nowrap; margin: 0 !important; }
  .board .chips .chip.meta { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block !important; line-height: 26px !important; }
  .board .chips .sb-risk { background: rgba(243,238,228,.06); box-shadow: inset 0 0 0 1px rgba(243,238,228,.2); color: #cfc8ba; }
  .board .chips .sb-risk b { margin-left: 3px; }
}
.board .sm-btns { width: min(100%, 640px) !important; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 700px) { .board.show-tl .play .tl-dec { display: none !important; } }
@media (max-width: 700px) {
  .board .chips .chip.cls { flex: 0 1 auto; min-width: 0; max-width: 44%; overflow: hidden; text-overflow: ellipsis; display: block !important; line-height: 26px !important; }
  .board .chips .chip.meta { flex: 1 1 auto; }
}

/* Ronda 87: ninguna forma de puerta en el juego (auditoría por estilos calculados en todas las pantallas) */
.board .pk-d .win::before, .board .pk-d .win::after { display: none !important; }
.board .su-go, .board .su-bar .su-go { border-radius: 999px !important; }
@media (min-width: 1000px) { .board .su-bar .su-go { border-radius: 26px !important; } }
.board .opt, .board .play .opt { border-radius: 16px !important; }

/* Iconos de las decisiones: siempre el mismo gris neutro */
.board .opt .oi, .board .opt .oi path { fill: #b3aa9a !important; stroke: none !important; color: #b3aa9a !important; }
.board .opt .k { color: #b3aa9a !important; }

/* Marcador: el nombre bajo los años, foto más grande */
.board .sb-age .pt-name { display: block; max-width: 100%; margin-top: 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.05; color: #f3eee4; white-space: nowrap; overflow: hidden; }
.board .sb-age { min-width: 0; }
.board .sb-face, .board .sb-face svg { width: 104px !important; height: 104px !important; }
@media (max-width: 700px) {
  .board .sb-face, .board .sb-face svg { width: 92px !important; height: 92px !important; }
  .board .sb-age .pt-name { font-size: 1.35rem; }
}

/* Automático: con su nombre también en móvil */
.board.is-playing .tb #auto span { display: inline !important; }

/* Móvil: sin tira de "Tu vida"; un botón la abre */
@media (max-width: 700px) {
  .board:not(.show-tl) .play .tl .tl-body, .board:not(.show-tl) .play .tl .tl-head, .board:not(.show-tl) .play .tl .tl-leg, .board:not(.show-tl) .play .tl .tl-top h3, .board:not(.show-tl) .play .tl #tl-n { display: none !important; }
  .board:not(.show-tl) .play .tl { min-height: 0 !important; height: auto !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
  .board:not(.show-tl) .play .tl .tl-top { display: block !important; width: 100%; }
  .board:not(.show-tl) .play #tl-toggle { width: 100% !important; height: 40px !important; border-radius: 999px !important; font-size: .85rem !important; }
  /* Fichas de personaje: nombres siempre visibles */
  .board .su2 .ar .pc.ar-t .ar-n { display: grid !important; padding: 4px 5px 6px !important; }
  .board .su2 .ar .ar-n b { font-size: .74rem !important; -webkit-line-clamp: 2 !important; line-height: 1.1 !important; }
}
/* Ronda 87: foto del marcador más grande (manda sobre las reglas anteriores) */
.board #pts .sb-face, .board #pts .sb-face svg { width: auto !important; height: auto !important; }
.board #pts .sb-face .sb-fc { width: 124px !important; height: 124px !important; border-radius: 12px; }
@media (min-width: 701px) and (max-height: 820px) { .board #pts .sb-face .sb-fc { width: 104px !important; height: 104px !important; } }
@media (max-width: 700px) { .board #pts .sb-face .sb-fc { width: 96px !important; height: 96px !important; } }
/* Ronda 87: los iconos de las decisiones son de línea: gris neutro en el trazo, sin relleno */
.board .opt .oi, .board .opt .oi path { fill: none !important; stroke: #b3aa9a !important; color: #b3aa9a !important; }
.board #pts .sb-age .pt-name { max-width: 150px; }
@media (max-width: 700px) { .board #pts .sb-age .pt-name { max-width: 104px; } }
.board #pts .sb-age .pt-name.two { white-space: normal; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Ronda 88: robustez y jerarquía de la pantalla de juego */

/* Automático: el relleno que avanza se ve claro (dorado sobre el botón crema) */
.board #next .ob-prog { z-index: 0 !important; background: linear-gradient(90deg, #e8cf8f, #e0b35a) !important; transition: width .1s linear; }
.board #next > :not(.ob-prog) { position: relative; z-index: 1; }

/* "¿Quién eres?" estable al cambiar de época: la rejilla siempre arranca arriba y la ficha grande no cambia de alto */
@media (min-width: 1000px) { .board .su2 .ar-grid { align-self: start !important; } }
@media (max-width: 700px) {
  .board .ar-prev { height: 152px; min-height: 152px; max-height: 152px; }
  .board .ar-pt h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .board .su2 .ar .pc.ar-t .ar-f { aspect-ratio: 1.15 !important; }
}

/* Decisiones con un poco más de aire respecto al texto, si la altura lo permite */
@media (min-height: 760px) { .board .dec .opts { margin-top: clamp(10px, 2.2vh, 24px) !important; } }
@media (max-width: 700px) and (min-height: 760px) { .board .dec .opts { margin-top: 14px !important; } }

/* Móvil: texto explicativo de la decisión algo más pequeño */
@media (max-width: 700px) { .board .dc-txt { font-size: .9rem !important; line-height: 1.4 !important; } }

/* Nada se desborda: título de la barra, años (también "hace 42.010 años") y nombre */
.board .tb-tt { min-width: 0; overflow: hidden; }
.board .tb .tb-gt { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; max-width: 100%; }
.board #pts .sb-age { min-width: 0; max-width: 170px; }
.board #pts .sb-age small { display: block; white-space: normal !important; overflow-wrap: anywhere; line-height: 1.25; max-width: 150px; }
@media (max-width: 700px) { .board #pts .sb-age, .board #pts .sb-age small { max-width: 112px; } .board #pts .sb-age small { font-size: .6rem !important; } }
.board #pts .sb-eq { min-width: 0; }

/* Algo más de aire entre la zona de arriba y las fichas de cuna, meta y riesgo (móvil) */
@media (max-width: 700px) { .board #pts .sb-who { margin-top: 12px !important; } }

/* Móvil: "Ver tu vida" abajo del todo, gris y discreto; decidir y pasar los años mandan */
@media (max-width: 700px) {
  .board .play .side { order: 1; }
  .board .play .tl { order: 2; margin-top: 10px !important; }
  .board:not(.show-tl) .play #tl-toggle { height: 34px !important; font-size: .78rem !important; color: #8f887c !important; background: transparent !important; box-shadow: inset 0 0 0 1px rgba(243,238,228,.12) !important; border: 0 !important; }
  .board.show-tl .play #tl-toggle { color: #1d1a17 !important; background: #f3eee4 !important; }
}

/* Ronda 88: "Ver tu vida" al final en móvil; años de la prehistoria sin montar sobre las barras; ventanita de las fichas */
@media (max-width: 700px) {
  .board .play .tl { order: 9 !important; }
  .board #pts .sb-age, .board #pts .sb-age small { max-width: 86px !important; }
  .board #pts .sb-age .pt-name { max-width: 86px !important; }
}
.board #pts { position: relative; }
.board .chips .chip[data-tip] { cursor: pointer; }
.board .chip-pop { position: absolute; left: 12px; right: 12px; bottom: 8px; transform: translateY(100%); z-index: 20; padding: 12px 14px; border-radius: 14px; background: #f3eee4; color: #1d1a17; box-shadow: 0 14px 34px rgba(0,0,0,.45); animation: chip-in .18s ease-out; }
.board .chip-pop b { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.board .chip-pop p { margin: 0; font-size: .86rem; line-height: 1.4; }
@keyframes chip-in { from { opacity: 0; transform: translateY(calc(100% - 6px)); } }

/* Ronda 89: los efectos de pasar el ratón, solo donde hay ratón (en táctil no piden un segundo toque) */
@media (hover: none) { .board .pk-d:hover, .board .ar-t:hover, .board .su-era:hover { transform: none !important; } .board .pk-d.is-busy .win { box-shadow: none !important; animation: none !important; } }
.board .pick-think { display: none !important; }

/* Ronda 102: en móvil, aire bajo "¿Quién eres?" y el selector para que el botón no quede pegado al blanco de la página */
@media (max-width: 700px) {
  body.hdr-min .board.is-setup #setup, body.hdr-min .board.is-pick #setup { padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Ronda 103: decisión en móvil, el texto un pelo más apretado y más aire antes de las opciones (no en los niveles de compactado fuertes) */
@media (max-width: 700px) {
  .board .dec .dc-txt p { letter-spacing: -.008em; }
  .board .dec:not(.fit3):not(.fit4):not(.fit5):not(.fit6) .opts { margin-top: 26px !important; }
  .board .dec.fit3:not(.fit4):not(.fit5):not(.fit6) .opts { margin-top: 16px !important; }
}

/* Ronda 111: selector de idioma dentro del menú de la barra del juego (lo escribe cromo.js entre OE:LANGSW) */
.board .tb-nav .tb-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 14px 6px; border-top: 1px solid #34302b; color: var(--ink-mute, #8f887c); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.board .tb-nav .tb-lang .lang-sw { --ink: #f3eee4; --paper: #1d1a17; --line-strong: rgba(243, 238, 228, .45); height: 36px; }
.board .tb-nav .tb-lang .ls-op { padding: 0 9px; border-radius: 0; color: var(--ink); font-size: .78rem; letter-spacing: .06em; }
.board .tb-nav .tb-lang a.ls-op:hover, .board .tb-nav .tb-lang a.ls-op:focus-visible { background: #2a2622; }
.board .tb-nav .tb-lang .ls-op.is-on { background: var(--ink); color: var(--paper); }
