/* Statera · En vivo · Claude 28/09/2026
 * Tablero (mosaico estable, una tarjeta por ruleta) y una ruleta (número héroe, grilla de 200, lentes, mejores acá).
 * Sobre tokens-v2.css + marco.css. Texto >= 13 px (12 solo en marcas de ejes). Un solo scroll. Fichas con su color real.
 * Cromo de gráficos: el mismo de Estrategias (ATLAS demos/atlas-charts.css, ac-*).
 */
.ev { --ch-r: var(--chip-red); --ch-b: var(--chip-black); --ch-bb: var(--chip-black-border); --ch-z: var(--chip-green);
  --k1: #4a70cc; --k2: #8e62bc; --k3: #5f7389; --kp: #8e62bc; --ki: #5f7389; --kb: #4a70cc; --ka: #8e62bc; --ch-bb2: #8a909a;
  /* lentes: índigo, violeta y pizarra (lejos del rojo, del verde, del negro y del ámbar). El verde queda para el cero y el ámbar para «fuera» y lo negativo */ }
.ev h1, .ev h2, .ev h3, .ev p { margin: 0; }
.ev :where(.mk-main, .mk-rail) :where(button, input) { font: inherit; color: inherit; }
.ev .num { font-variant-numeric: tabular-nums; }
.ev .muted { color: var(--text-2); }
.ev .gain { color: var(--gain); } .ev .loss { color: var(--loss); }

/* ---------- esqueleto de carga ---------- */
.sk { display: block; border-radius: 6px; background: var(--surface-2); }
.sk-rail { display: grid; gap: 10px; }
.skel .sk-bar { display: flex; gap: 16px; align-items: center; height: 56px; }
.sk-tile { height: 124px; }
@media (prefers-reduced-motion: no-preference) { .sk { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 45%, var(--surface-2) 90%) 0 0 / 300% 100%; animation: ev-shimmer 1.3s linear infinite; } }
@keyframes ev-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- fichas de ruleta: color real ---------- */
.ch { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 6px; font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -.01em; }
.ch.r { background: var(--ch-r); }
.ch.b { background: var(--ch-b); box-shadow: inset 0 0 0 1px var(--ch-bb); }
.ch.z { background: var(--ch-z); }
.ch.s30 { width: 30px; height: 30px; font-size: 14px; }
.ch.s32 { width: 32px; height: 32px; font-size: 15px; }
.ch.s40 { width: 40px; height: 40px; font-size: 19px; border-radius: 7px; }
.ch.s112 { width: 112px; height: 112px; font-size: 56px; border-radius: 8px; letter-spacing: -.03em; }
.ch.last { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--text); }
.ch.b.last { box-shadow: inset 0 0 0 1px var(--ch-bb), 0 0 0 2px var(--card), 0 0 0 4px var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .ch.is-new { animation: ev-in .5s var(--ease); }
  .ch.is-new.last::after { content: ""; }
}
@keyframes ev-in { from { transform: scale(.82); opacity: .2; } to { transform: none; opacity: 1; } }

/* ---------- estado (siempre con texto) ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: var(--fs-cap); font-weight: 600; white-space: nowrap; border: 1px solid var(--line-hover); color: var(--text-2); background: var(--card); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.vivo { color: var(--text); border-color: color-mix(in srgb, var(--accent-mark) 55%, transparent); }
.pill.vivo i { background: var(--accent-mark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-mark) 22%, transparent); }
.pill.quieta, .pill.caida { color: var(--loss); }
.pill.quieta i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.pill.caida i { border-radius: 1px; transform: rotate(45deg); }
.pill.arranca i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (prefers-reduced-motion: no-preference) { .pill.vivo i { animation: ev-pulse 2.4s ease-in-out infinite; } }
@keyframes ev-pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-mark) 6%, transparent); } }

/* ---------- riel ---------- */
.mk-rail h2 { margin: 0 0 6px; font-size: var(--fs-cap); font-weight: 600; color: var(--text-2); }
.mk-rail section { padding: 10px 0; border-top: 1px solid var(--line); }
.mk-rail section:first-of-type, .mk-sheet-head + section { border-top: 0; padding-top: 0; }
.search { position: relative; display: block; }
.search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); font-size: var(--fs-row); color: var(--text); }
.search input::placeholder { color: var(--text-2); opacity: 1; }
.search svg { position: absolute; left: 11px; top: 12px; width: 16px; height: 16px; color: var(--text-2); }
.sw { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer; font-size: var(--fs-sec); font-weight: 500; color: var(--text); text-align: left; }
.sw .trk { width: 32px; height: 18px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); position: relative; flex: none; transition: background .2s var(--ease); }
.sw .trk::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-2); transition: transform .2s var(--ease); }
.sw[aria-checked="true"] .trk { background: var(--ink); border-color: var(--ink); }
.sw[aria-checked="true"] .trk::after { transform: translateX(14px); background: var(--ink-text); }
.sw .lab { flex: 1; min-width: 0; }
.sw .n { color: var(--text-2); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg); font-size: var(--fs-cap); font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap; }
.chip .n { color: var(--text-2); font-weight: 600; }
.chip:hover:not([aria-pressed="true"]) { background: var(--surface); border-color: var(--text-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: var(--ink-text); opacity: .8; }
.chip[disabled] { opacity: .45; cursor: default; }
.rail-note { font-size: var(--fs-cap); color: var(--text-2); line-height: 1.4; }
.linkbtn { border: 0; background: none; padding: 0; cursor: pointer; font-size: var(--fs-cap); font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: var(--fs-sec); font-weight: 600; color: var(--text); text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }
.back svg { width: 16px; height: 16px; }
.facts { margin: 0; display: grid; gap: 6px; }
.facts div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.facts dt { font-size: var(--fs-cap); color: var(--text-2); }
.facts dd { margin: 0; font-size: var(--fs-sec); line-height: 1.35; }
.otras { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.otras a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; padding: 2px 6px; margin: 0 -6px; border-radius: 6px; text-decoration: none; color: var(--text); font-size: var(--fs-sec); }
.otras a:hover { background: var(--surface); }
.otras a[aria-current="page"] { background: var(--selected); font-weight: 600; }
.otras .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otras .ch { width: 26px; height: 26px; font-size: 13px; border-radius: 5px; }
.otras .none { font-size: var(--fs-cap); color: var(--text-2); }

/* ---------- barra de la pantalla (pegada bajo la barra del marco) ---------- */
.ev-toolbar { position: sticky; top: var(--bar-h); z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 56px; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--canvas); border-bottom: 1px solid var(--line); } /* fondo sólido de la paleta (regla 8: sin variantes transparentes) */
.ev-toolbar h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tb-title { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; min-width: 0; }
.tb-count { font-size: var(--fs-sec); color: var(--text-2); }
.tb-count b { color: var(--text); font-weight: 700; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.stamp { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-cap); color: var(--text-2); white-space: nowrap; }
.stamp b { color: var(--text); font-weight: 600; }
.stamp .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-mark); flex: none; }
.stamp.rec .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--accent-mark); }
.stamp.err { color: var(--loss); } .stamp.err .dot { background: var(--loss); border-radius: 1px; }
.filtersbtn { display: none; height: 40px; gap: 8px; }
.filtersbtn svg { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 0; }
.active-filters .chip { height: 28px; }
.active-filters .chip svg { width: 12px; height: 12px; }

/* ---------- tablero: mosaico estable ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; padding: 14px 0 0; }
.tile { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "last head" "last meta" "strip strip" "foot foot"; column-gap: 12px; row-gap: 3px; min-width: 0; padding: 12px 14px 11px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); color: var(--text); text-decoration: none; box-shadow: var(--shadow-card); }
.tile:hover { border-color: var(--line-hover); box-shadow: var(--shadow-lift); }
.tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.t-last { grid-area: last; display: flex; align-items: center; }
.t-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.t-name { font-size: var(--fs-row); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.t-meta { grid-area: meta; font-size: var(--fs-cap); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-meta b { color: var(--text); font-weight: 600; }
.t-strip { grid-area: strip; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; height: 28px; overflow: hidden; min-width: 0; margin-top: 7px; }
.t-strip .gap { display: block; width: 2px; height: 22px; margin: 0 2px; border-radius: 1px; background: repeating-linear-gradient(180deg, var(--text-2) 0 3px, transparent 3px 6px); }
.t-strip .why { font-size: var(--fs-cap); color: var(--text-2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.t-strip .t-load { display: flex; gap: 4px; }
.t-strip .t-load .sk { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.t-last .sk.s40 { width: 40px; height: 40px; border-radius: 7px; }
.t-foot { grid-area: foot; margin-top: 3px; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; font-size: var(--fs-cap); color: var(--text-2); min-height: 18px; }
.t-foot .sep { opacity: .6; }
.t-foot .mult { margin-left: auto; white-space: nowrap; }
.tile.is-off .t-last, .tile.is-off .t-strip { opacity: .55; }
.tiles-empty { grid-column: 1 / -1; padding: 40px 16px; text-align: center; border: 1px dashed var(--line-hover); border-radius: var(--radius-lg); color: var(--text-2); }
.tiles-empty b { display: block; margin-bottom: 6px; color: var(--text); font-size: var(--fs-row); }
@media (prefers-reduced-motion: no-preference) {
  .tile { transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
  .tile:hover { transform: translateY(-2px); }
  .tile.is-new { animation: ev-ring 1s var(--ease); }
}
@keyframes ev-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-mark) 45%, transparent); } 100% { box-shadow: 0 0 0 6px transparent; } }

/* ---------- una ruleta ---------- */
.rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 0 12px; }
.rhead h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.rhead .rmeta { flex-basis: 100%; font-size: var(--fs-sec); color: var(--text-2); }
.rhead .rmeta b { color: var(--text); font-weight: 600; }
.rhead .stamps { margin-left: auto; display: flex; gap: 6px 16px; flex-wrap: wrap; }
.rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; padding-bottom: 8px; }
.rleft { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rhead h1:focus { outline: none; }
@media (min-width: 1600px) { .rgrid { grid-template-columns: minmax(0, 1fr) 390px; } }
.panel { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px 16px; }
.ph { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ph h2 { font-size: var(--fs-row); font-weight: 700; letter-spacing: -.01em; }
.ph .sub { font-size: var(--fs-cap); color: var(--text-2); }

/* héroe + mosaicos */
.p-hero { display: grid; grid-template-columns: auto minmax(180px, 1fr) minmax(0, 2.2fr); gap: 16px; align-items: stretch; }
.hero-n { display: flex; align-items: center; }
.hero-t { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.hero-t .cap { font-size: var(--fs-cap); color: var(--text-2); }
.hero-t .attrs { font-size: var(--fs-row); font-weight: 600; line-height: 1.35; }
.hero-t .when { font-size: var(--fs-sec); color: var(--text-2); }
.hero-t .when span, .hero-t .when b { white-space: nowrap; }
.hero-t .when b { color: var(--text); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { position: relative; min-width: 0; min-height: 115px; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kpi .k { font-size: var(--fs-cap); color: var(--text-2); }
.kpi .v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: var(--fs-cap); font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.kpi .d { font-size: var(--fs-cap); color: var(--text-2); line-height: 1.35; }
.kpi .spark { height: 26px; margin-top: auto; }

/* grilla de números */
.ntools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.ntools h2 { font-size: var(--fs-row); font-weight: 700; margin-right: 4px; }
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.seg button { height: 32px; padding: 0 11px; border: 0; background: transparent; font-size: var(--fs-cap); font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--border-strong); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); }
.seg button:hover:not([aria-pressed="true"]) { background: var(--surface); color: var(--text); }
.hl { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-cap); color: var(--text-2); }
.hl input { width: 64px; height: 32px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); font-size: var(--fs-sec); color: var(--text); font-variant-numeric: tabular-nums; }
.hl-res { font-size: var(--fs-cap); color: var(--text-2); }
.hl-res b { color: var(--text); }
.ngrid { display: grid; gap: 4px; }
.gl { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 6px; }
.gt { font: 500 13px/1 var(--mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.gc { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; max-width: 900px; }
.gc .ch { width: 100%; height: auto; aspect-ratio: 1; min-width: 0; font-size: 14px; cursor: default; }
@media (min-width: 1600px) { .gc .ch { font-size: 16px; border-radius: 7px; } }
.gc .ch.k1 { background: var(--k1); box-shadow: none; } .gc .ch.k2 { background: var(--k2); box-shadow: none; } .gc .ch.k3 { background: var(--k3); box-shadow: none; }
.gc .ch.kp { background: var(--kp); box-shadow: none; } .gc .ch.ki { background: var(--ki); box-shadow: none; } .gc .ch.kb { background: var(--kb); box-shadow: none; } .gc .ch.ka { background: var(--ka); box-shadow: none; }
.gc .ch.nuevo { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent-mark); }
.gc .ch.dim { opacity: .22; }
.gc .ch.on { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--text); }
.gc .ch.rec { outline: 1px dashed var(--text-2); outline-offset: 1px; }
.hueco { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 22px; }
.hueco span { display: flex; align-items: center; gap: 8px; font-size: var(--fs-cap); color: var(--text-2); }
.hueco span::before, .hueco span::after { content: ""; flex: 1; height: 0; border-top: 1px dashed var(--line-hover); }
.hueco span::before { max-width: 14px; }
.nmore .vers { display: inline-flex; gap: 8px; }
.nmore { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; font-size: var(--fs-cap); color: var(--text-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); font-size: var(--fs-sec); font-weight: 600; color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface); border-color: var(--text-2); }
.btn.primary { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn svg { width: 16px; height: 16px; }
.lens-key { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: var(--fs-cap); color: var(--text-2); margin: -4px 0 10px; }
.lens-key span { display: inline-flex; align-items: center; gap: 6px; }
.lens-key .ch { width: 22px; height: 22px; font-size: 13px; border-radius: 5px; }

/* composición de la lente */
.p-comp { container-type: inline-size; }
.comp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 20px; align-items: start; }
@container (max-width: 860px) { .comp { grid-template-columns: minmax(0, 1fr); } }
.comp-chart { min-height: 150px; }
.comp-verdict { font-size: var(--fs-sec); line-height: 1.4; margin-bottom: 8px; }
.comp-verdict b { font-weight: 700; }
.ctable { width: 100%; border-collapse: collapse; font-size: var(--fs-sec); font-variant-numeric: tabular-nums; }
.ctable th { font-size: var(--fs-cap); font-weight: 600; color: var(--text-2); text-align: right; padding: 0 6px 6px; white-space: nowrap; }
.ctable th:first-child, .ctable td:first-child { text-align: left; padding-left: 0; }
.ctable td { text-align: right; padding: 5px 6px; border-top: 1px solid var(--line); white-space: nowrap; }
.ctable td .ch { width: 22px; height: 22px; font-size: 13px; border-radius: 5px; margin-right: 6px; vertical-align: -6px; }
.ctable .out { font-weight: 700; }
.ctable small { color: var(--text-2); font-size: var(--fs-cap); }
.comp-note { margin-top: 8px; font-size: var(--fs-cap); color: var(--text-2); }

/* todas las lentes de un vistazo */
.rres { display: grid; gap: 2px; margin: 0 -8px; }
.rrow { display: grid; grid-template-columns: 104px minmax(0, 1fr) 200px; align-items: center; gap: 12px; min-height: 40px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; text-align: left; color: var(--text); }
.rrow:hover { background: var(--surface); }
.rrow[aria-pressed="true"] { background: var(--selected); border-color: color-mix(in srgb, var(--accent-mark) 40%, transparent); }
.rrow .rl { font-size: var(--fs-sec); font-weight: 600; }
.rrow .rbar { height: 26px; }
.rrow .rv { font-size: var(--fs-cap); color: var(--text-2); }
.rrow .rv.out { color: var(--text); font-weight: 600; }
.rseg.blk { stroke: var(--ch-bb); stroke-width: 1; }
.rseg-t { fill: #fff; font: 700 13px var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }
.rexp { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 2 2; }

/* mejores estrategias acá */
.p-mej { display: flex; flex-direction: column; gap: 12px; }
.p-mej .ph { margin-bottom: 0; }
.mlist { list-style: none; margin: 0 -8px; padding: 0; display: grid; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; text-align: left; background: none; width: 100%; color: var(--text); }
.mrow:hover { background: var(--surface); }
.mrow[aria-pressed="true"] { background: var(--selected); border-color: color-mix(in srgb, var(--accent-mark) 40%, transparent); }
.mrow .mn { font-size: var(--fs-sec); font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrow .mv { font-size: var(--fs-cap); color: var(--text-2); font-weight: 500; }
.mrow .ms { font-size: 17px; font-weight: 700; letter-spacing: -.02em; text-align: right; align-self: start; font-variant-numeric: tabular-nums; }
.mrow .md { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: var(--fs-cap); color: var(--text-2); }
.mrow .md b { color: var(--text); font-weight: 600; }
.mrow .md .q { color: var(--loss); font-weight: 600; }
.mrow + li .mrow, li + li .mrow { }
.mlist li + li { border-top: 1px solid var(--line); }
.msel { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.msel h3 { font-size: var(--fs-sec); font-weight: 700; }
.msel .sub { font-size: var(--fs-cap); color: var(--text-2); }
.mchart { position: relative; min-height: 110px; }
.mchart.curve { min-height: 150px; }
.mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.mempty { font-size: var(--fs-sec); color: var(--text-2); line-height: 1.45; }
.mempty b { color: var(--text); }
.leg { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: var(--fs-cap); color: var(--text-2); }
.leg span { display: inline-flex; align-items: center; gap: 6px; }
.leg i { width: 14px; height: 2px; border-radius: 2px; display: inline-block; }
.leg i.bx { width: 10px; height: 10px; border-radius: 2px; }

/* ---------- cromo de gráficos (igual que Estrategias · ATLAS atlas-charts.css) ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.ac-grid line { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.ac-baseline { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.ac-axis text, .ac-tick { fill: var(--text-2); font: 500 12px var(--mono); font-variant-numeric: tabular-nums; }
.ac-label { fill: var(--text-2); font: 500 12px var(--font); }
.ac-annot line { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 2 3; }
.ac-annot circle { fill: var(--card); stroke: var(--dd); stroke-width: 1.75; }
.ac-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ac-dot { stroke: var(--card); stroke-width: 2; }
.ac-crosshair { stroke: var(--text-2); stroke-width: 1; opacity: .55; shape-rendering: crispEdges; pointer-events: none; }
.ac-hit { fill: transparent; cursor: crosshair; }
.ac-hit:focus { outline: none; }
.ac-plot:focus-visible { outline: 2px solid var(--accent-mark); outline-offset: 4px; }
.ac-mark { transition: opacity .18s ease, filter .18s ease; cursor: default; }
.is-dim .ac-mark:not(.is-on) { opacity: .45; }
.ac-mark.is-on { filter: brightness(1.2); }
:root[data-theme="light"] .ac-mark.is-on { filter: brightness(.88); }
.ac-mark:focus-visible { outline: 2px solid var(--accent-mark); }
.dd-area { fill: var(--dd-wash); }
.sal-area { fill: var(--accent-mark); opacity: .07; }
.sal-area.n { opacity: .05; }
.capline { stroke: var(--text-2); stroke-width: 1; stroke-dasharray: 4 4; }
.bar.p { fill: var(--gain-bar); } .bar.n { fill: var(--loss-bar); } .bar.here { stroke: var(--text); stroke-width: 1.5; fill: var(--accent-mark); }
.cbar.blk { stroke: var(--ch-bb); stroke-width: 1; }
.cbar.out { stroke: var(--text); stroke-width: 2; }
.clab { font-size: 12px; } .clab.out { fill: var(--text); font-weight: 700; }
.cband { fill: var(--accent-mark); opacity: .10; }
.cexp { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ac-tip { position: fixed; z-index: 70; pointer-events: none; min-width: 168px; max-width: 300px; background: var(--surface-2); border-radius: 10px; box-shadow: var(--shadow-pop); padding: 10px 12px; font-size: var(--fs-cap); line-height: 1.4; color: var(--text); opacity: 0; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease; }
.ac-tip.is-on { opacity: 1; transform: none; }
.ac-tip-title { font: 600 12px var(--mono); letter-spacing: .03em; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; }
.ac-tip-row { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; padding: 2px 0; }
.ac-tip-row.no-key { grid-template-columns: 1fr auto; }
.ac-tip-key { width: 12px; height: 2px; border-radius: 2px; }
.ac-tip-key.rect { height: 8px; width: 8px; border-radius: 2px; margin-left: 2px; }
.ac-tip-label { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-tip-val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ac-tip-note { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); color: var(--text-2); }

/* ---------- error / aviso ---------- */
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line-hover); border-radius: var(--radius); background: var(--card); font-size: var(--fs-sec); line-height: 1.45; }
.notice b { display: block; }
.notice .btn { margin-left: auto; }

/* ---------- tamaños intermedios ---------- */
@media (max-width: 1439px) { .p-hero { grid-template-columns: auto minmax(150px, 1fr) minmax(0, 1.9fr); } .kpi .v { font-size: 18px; } }
@media (max-width: 1279px) {
  .rgrid { grid-template-columns: minmax(0, 1fr); }
  .p-mej { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .p-mej > .ph, .p-mej > .mfoot { grid-column: 1 / -1; }
  .p-mej .msel { border-top: 0; padding-top: 0; }
}
@media (max-width: 1100px) { .p-hero { grid-template-columns: auto minmax(0, 1fr); } .p-hero .kpis { grid-column: 1 / -1; } }
@media (max-width: 1023px) {
  .filtersbtn { display: inline-flex; }
  .ev-toolbar { top: var(--bar-h); }
}

/* ---------- celular ---------- */
@media (max-width: 767px) {
  .ev-toolbar { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .ev-toolbar h1 { font-size: 22px; }
  .stamp { display: block; white-space: normal; }
  .stamp .dot { display: inline-block; margin-right: 6px; }
  .stamp .dot { transform: translateY(1px); }
  .tb-right { width: 100%; margin-left: 0; justify-content: space-between; }
  .filtersbtn { height: 44px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 12px; }
  .tile { padding: 12px 12px; }
  .rhead { padding-top: 12px; }
  .rhead h1 { font-size: 24px; }
  .rhead .stamps { margin-left: 0; flex-basis: 100%; }
  .panel { padding: 12px 12px 14px; border-radius: var(--radius); }
  .p-hero { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .ch.s112 { width: 80px; height: 80px; font-size: 40px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ntools { gap: 8px; }
  .ntools .seg { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ntools .seg.lens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ntools .seg.lens button:nth-child(n+4) { border-top: 1px solid var(--border-strong); }
  .ntools .seg.lens button:nth-child(4) { border-left: 0; }
  .seg button { height: 44px; }
  .hl input { height: 44px; width: 72px; }
  .btn { height: 44px; }
  .gl, .hueco { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gt { padding-top: 4px; }
  .gc { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
  .gc .ch { font-size: 15px; }
  .p-mej { display: flex; }
  .mrow { padding: 10px 8px; }
  .rrow { grid-template-columns: 86px minmax(0, 1fr); row-gap: 2px; min-height: 48px; }
  .rrow .rv { grid-column: 2; }
  .mk-rail .chip { height: 44px; padding: 0 14px; }
  .sw { min-height: 44px; }
  .otras a { min-height: 44px; }
  .back { min-height: 44px; }
  .linkbtn { min-height: 44px; }
}
@media (max-width: 374px) { .gc { gap: 2px; } .gc .ch { font-size: 13px; } }
.ev [hidden] { display: none !important; }

/* contra el azar: resumen arriba, detalle abajo */
.p-comp .rres { margin-bottom: 14px; }
.cdet { border-top: 1px solid var(--line); padding-top: 12px; }
.cdh { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cdh h3 { font-size: var(--fs-row); font-weight: 700; }
.cdh .sub { font-size: var(--fs-cap); color: var(--text-2); }
.back.mob { display: none; }
@media (max-width: 1023px) { .back.mob { display: inline-flex; margin-top: 8px; min-height: 44px; } .rhead { padding-top: 4px; } }
@media (max-width: 767px) { .active-filters .chip { height: 44px; } }

/* celular: la tabla de la lente deja solo lo esencial (lo demás está en el globo de cada barra) */
@media (max-width: 600px) { .ctable .c-run, .ctable .c-abs { display: none; } }
@media (max-width: 767px) { .rhead .stamps, .ev-toolbar .tb-right .stamp { min-height: 38px; } }
@media (max-width: 767px) { .kpis .kpi:last-child:nth-child(odd) { min-height: 86px; } }

/* ---------- r2: tarjeta compacta (críticos r1) ---------- */
.tiles { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.tile { grid-template-areas: "last head" "last meta" "strip strip"; row-gap: 2px; padding: 11px 12px 11px; }
.t-head { gap: 8px; }
.t-st { flex: none; display: inline-flex; }
.t-age { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-cap); color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-age i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-mark); flex: none; }
.t-age.dem { color: var(--loss); } .t-age.dem i { background: var(--loss); }
.t-age.vieja { color: var(--loss); font-weight: 600; } .t-age.vieja i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--loss); }
.t-strip { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) { .t-age.ok i { animation: ev-pulse 2.4s ease-in-out infinite; } }
@media (max-width: 767px) { .tile { padding: 10px 12px; } }
/* héroe compacto */
.p-hero { grid-template-columns: auto minmax(170px, 1fr) minmax(0, 1.6fr); gap: 14px; padding: 12px 14px; }
.ch.s112 { width: 96px; height: 96px; font-size: 48px; }
.kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.kpi { min-height: 96px; }
.kpi .spark { height: 30px; margin-top: 4px; }
.k-dh { margin: 0; display: grid; gap: 8px; align-content: center; }
.k-dh div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.k-dh dt { font-size: var(--fs-cap); color: var(--text-2); }
.k-dh dd { margin: 0; font-size: var(--fs-sec); line-height: 1.35; color: var(--text-2); }
.k-dh dd b { color: var(--text); font-size: var(--fs-row); }
.rdot { fill: var(--text-2); } .rdot.last { fill: var(--accent-mark); }
@media (max-width: 1100px) { .p-hero { grid-template-columns: auto minmax(0, 1fr); } }
@media (max-width: 767px) { .ch.s112 { width: 80px; height: 80px; font-size: 40px; } .kpis { grid-template-columns: minmax(0, 1fr); } .kpis .kpi:last-child:nth-child(odd) { min-height: 0; } .kpi { min-height: 0; } }
/* grilla */
.gdir { margin: -4px 0 8px; font-size: var(--fs-cap); color: var(--text-2); }
.gmore { margin-top: 10px; width: 100%; }
/* contra el azar */
.rband { fill: var(--text); opacity: .55; }
.rz-t { fill: var(--text-2); font: 600 13px var(--font); font-variant-numeric: tabular-nums; }
.rrow .rv.ok { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.rrow .rv.ok i { font-style: normal; font-weight: 700; }
.rrow .rv.out { color: var(--loss); font-weight: 700; }
.ctable .c-bul { width: 34%; min-width: 120px; }
.ctable td.c-bul { padding-top: 3px; padding-bottom: 3px; }
.bul { display: block; height: 22px; }
/* mejores */
.mrow { grid-template-columns: minmax(0, 1fr) auto; }
.mrow .evo-box.mini { grid-column: 2; grid-row: 2; width: 84px; height: 24px; min-height: 24px; position: relative; justify-self: end; }
.mrow .md { grid-row: 3; }
.evo-box { position: relative; }
.evo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.evo-area { fill: var(--accent-mark); opacity: .10; }
.evo-area.n { opacity: .06; }
.evo-line { fill: none; stroke: var(--accent-mark); stroke-width: 1.5; stroke-linejoin: round; }
.evo-line.p { stroke: var(--gain); } .evo-line.n { stroke: var(--loss); }
.evo-dd { fill: none; stroke: var(--dd); stroke-width: 1.1; opacity: .9; }
.evo-zero { stroke: var(--axis); stroke-width: 1; }
.evo-end { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 2px var(--card); pointer-events: none; }
.evo-end.n { background: var(--loss); }
.evo-x, .evo-dot { display: none; }
.p-mej .ac-tick { font-size: 13px; }
.here-lab { fill: var(--text); font-weight: 700; }
.bar.here { fill: var(--accent-mark); stroke: var(--text); stroke-width: 1; }
#mOtras .bar.p, #mOtras .bar.n { fill: var(--bar-neutral); opacity: .75; }
.mejor-movil { display: none; }
@media (max-width: 767px) {
  .mejor-movil:not([hidden]) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); text-decoration: none; }
  .mejor-movil .k { font-size: var(--fs-cap); color: var(--text-2); }
  .mejor-movil .nm { font-size: var(--fs-sec); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mejor-movil svg { width: 16px; height: 16px; color: var(--text-2); }
}

/* ---------- r3 (críticos r2) ---------- */
.tile .t-head { min-width: 0; }
.t-meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; overflow: visible; }
.t-cas { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-meta .t-st { flex: none; margin-left: auto; }
.t-meta .pill { height: 22px; }
.rconcl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; font-size: var(--fs-sec); }
.rconcl .okc { color: var(--text-2); font-weight: 700; }
.rconcl .zc { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: var(--fs-cap); color: var(--text-2); }
.rconcl .zc .ch { width: 20px; height: 20px; font-size: 13px; border-radius: 4px; }
.rband { fill: var(--border-strong); opacity: .55; }
.rrow { grid-template-columns: 104px minmax(0, 1fr) 150px; }
.rrow .rv.ok { justify-content: flex-start; }
.here-tick { stroke: var(--text); stroke-width: 1; }
#mOtras .bar.here, .bar.here { fill: var(--accent-mark); stroke: none; }
.gap-key { display: inline-block; width: 2px; height: 14px; margin: 0 8px -2px 2px; background: repeating-linear-gradient(180deg, var(--text-2) 0 3px, transparent 3px 6px); }
.mrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: start; gap: 2px 12px; padding: 8px; }
.mrow .mt { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; }
.mrow .mr { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mrow .evo-box.mini { grid-column: auto; grid-row: auto; width: 88px; height: 26px; min-height: 26px; }
.mrow .md { grid-column: 1; grid-row: 2; }
.nmore .vers { display: inline-flex; align-items: center; gap: 8px; }
.nmore .vers .lbl { font-size: var(--fs-cap); color: var(--text-2); }
.nmore .seg button { height: 36px; min-width: 56px; }
.rdot { fill: var(--text-2); } .rdot.last { fill: var(--accent-mark); }
.gc .ch.nuevo { box-shadow: none; }
@media (max-width: 767px) {
  .nmore { flex-direction: column; align-items: stretch; }
  .nmore .vers { justify-content: space-between; }
  .nmore .seg { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nmore .seg button { height: 44px; min-width: 0; }
  .rrow { grid-template-columns: 86px minmax(0, 1fr) 24px; }
  .rrow .rv.out { grid-column: 2 / -1; }
  .ctable th:nth-child(4), .ctable td:nth-child(4), .ctable th:last-child, .ctable td:last-child { display: none; }
  .rconcl .zc { margin-left: 0; }
  .kpis { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .kpis .kpi { border: 0; background: none; }
  .kpis .k-dh { border-top: 1px solid var(--line); border-radius: 0; }
}

/* ---------- r4 (críticos r3) ---------- */
:root[data-theme="light"] .ev { --ch-bb2: transparent; }
.cbar.blk, .rseg.blk { stroke: var(--ch-bb2); stroke-width: 1.25; }
.rbrk { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.rmed { stroke: var(--text-2); stroke-width: 1.25; stroke-dasharray: 4 3; }
.rdot { fill: var(--text-2); opacity: .9; } .rdot.last { fill: var(--accent-mark); opacity: 1; }
.bar.otra { fill: var(--bar-neutral); }
#mOtras .bar.here, .bar.here { fill: var(--accent-mark); stroke: none; }
.t-strip { justify-content: space-between; column-gap: 3px; }
.rconcl b { font-weight: 700; }
.lens-sel { display: none; }
.lens-sel select { height: 44px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 600 var(--fs-sec) var(--font); }
@media (max-width: 767px) {
  .ntools .seg.lens { display: none; }
  .lens-sel { display: inline-flex; flex: 1; }
  .lens-sel select { width: 100%; }
  .ntools { flex-wrap: wrap; }
  .ntools h2 { width: 100%; }
  .rrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "rl rv" "rb rb"; }
  .rrow .rl { grid-area: rl; } .rrow .rbar { grid-area: rb; } .rrow .rv, .rrow .rv.out { grid-area: rv; grid-column: auto; }
}

/* ---------- r4b ---------- */
.hero-sk { width: 96px; height: 96px; border-radius: 8px; }
@media (max-width: 767px) { .hero-sk { width: 80px; height: 80px; } }
.kpis { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.lens-sel select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; border-radius: 999px; }

/* ---------- r5 ---------- */
.t-meta { display: flex; align-items: baseline; gap: 8px; }
.t-meta .t-st { margin-left: auto; flex: none; }
@media (max-width: 767px) {
  .k-dh { grid-template-columns: 1fr 1fr; display: grid; gap: 4px 12px; padding: 8px 12px; min-height: 0; }
  .k-dh div { grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
  .kpi.k-ritmo { min-height: 0; padding-bottom: 6px; }
  .p-hero { gap: 10px; }
}

/* ---------- r5b: héroe con más ancho para el ritmo ---------- */
.p-hero { grid-template-columns: auto minmax(150px, .8fr) minmax(0, 2.2fr); }
.kpis { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.k-dh dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-dh div { grid-template-columns: 62px minmax(0, 1fr); }
@media (max-width: 1100px) { .p-hero { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- r5c: ritmo como rango ---------- */
.rtrack { stroke: var(--line-hover); stroke-width: 2; stroke-linecap: round; }
.rq { fill: var(--text-2); opacity: .45; }
.rmed2 { stroke: var(--text); stroke-width: 2; }
.p-hero { grid-template-columns: auto minmax(210px, 1fr) minmax(0, 1.6fr); }
.kpis { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .p-hero { grid-template-columns: auto minmax(0, 1fr); } }
@media (max-width: 767px) { .kpis { grid-template-columns: minmax(0, 1fr); } .k-dh { grid-template-columns: 1fr 1fr; } }

/* ---------- r5d: ritmo, demora y huecos en una sola tarjeta (todas las medidas) ---------- */
.kpis { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); align-self: stretch; }
.kpis .kpi { border: 0; background: none; min-height: 0; padding: 8px 12px; }
.kpis .kpi.k-ritmo { padding-bottom: 4px; }
.kpis .k-dh { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid var(--line); border-radius: 0; padding: 7px 12px; }
.kpis .k-dh div { display: inline-flex; gap: 6px; align-items: baseline; }
.kpis .k-dh dd { white-space: nowrap; }
.kpi .spark { height: 34px; margin-top: 2px; }
.p-hero { grid-template-columns: auto minmax(200px, 1fr) minmax(260px, 1.3fr); align-items: center; }
@media (max-width: 1100px) { .p-hero { grid-template-columns: auto minmax(0, 1fr); } }

.kpis .k-dh { flex-direction: row; justify-content: flex-start; align-items: baseline; }
.kpi .spark { height: 20px; }
.kpis .kpi.k-ritmo { gap: 1px; }

.tile { container-type: inline-size; }
.t-cas .cas1 { display: none; }
@container (max-width: 345px) { .t-cas .cas2 { display: none; } .t-cas .cas1 { display: inline; } }

.gc .ch-sk { width: 100%; aspect-ratio: 1; height: auto; border-radius: 6px; }
.sk-more { min-height: 38px; }
@media (max-width: 767px) { .sk-more { min-height: 96px; } }

/* «Ver su historial» (Biblioteca), al lado de «De esta ruleta hay N números capturados» */
.nmore .hist-link { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-mark); }
.nmore .hist-link:hover { text-decoration-thickness: 2px; }
