/* oficina-de-ofertas.css */
.wid__app--ofr { background: linear-gradient(180deg, var(--acido-400), var(--acido-600)); color: #111; }
.pd-app--ofertas .pd-app__cuerpo { min-height: 0; }
.ofr-oficina { flex: 1; min-height: 0; width: 100%; align-self: stretch; color: #fff; }
.ofr-rotulo { font-size: 11.5px; font-weight: 800; letter-spacing: var(--tracking-label, 0.08em); text-transform: uppercase; color: rgb(255 255 255 / 0.62); }
.ofr-vacia { margin: auto; color: rgb(255 255 255 / 0.7); }
.ofr-escudo, .ofr-eq__esc, .ofr-otras__esc { object-fit: contain; flex: none; filter: var(--halo-filtro, ) drop-shadow(0 3px 8px rgb(0 0 0 / 0.55)); }
.ofr-correo { display: inline-flex; align-items: center; gap: 6px; color: rgb(255 255 255 / 0.72); font-size: var(--fs-sm); text-decoration: none; }
.ofr-correo:hover { color: #fff; text-decoration: underline; }

.ofr--entrada { display: flex; flex-direction: column; padding: 4px 10px 0; }
.ofr-titulo h2 { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(22px, 3.4vh, 32px); font-stretch: 78%; font-weight: 800; line-height: 1.1; color: #fff; }
.ofr-titulo h2 em { font-style: normal; color: var(--accent); }
.ofr-titulo p { margin: 3px 0 0; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.78); }
.ofr-ruta { position: relative; flex: none; height: clamp(104px, 19vh, 176px); --linea: 46%; }
.ofr-ruta__lineas { position: absolute; left: 0; right: 0; top: var(--linea); bottom: 0; width: 100%; height: calc(100% - var(--linea)); overflow: visible; }
.ofr-ruta__lineas path { fill: none; stroke-width: 3; stroke-linecap: round; }
.ofr-ruta__pasado { stroke: rgb(255 255 255 / 0.45); }
.ofr-ruta__quedar { stroke: rgb(255 255 255 / 0.55); stroke-dasharray: 6 7; }
.ofr-ruta__oferta { stroke-width: 4 !important; }
.ofr-hitos { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.ofr-hito { position: absolute; top: var(--linea); left: calc(var(--x) + 12px); width: calc((50% - 40px) / var(--n, 1)); }
.ofr-hito__punto { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #2a3140; border: 3px solid rgb(255 255 255 / 0.6); box-sizing: border-box; }
.ofr-hito__tx { position: absolute; left: -11px; bottom: 16px; display: grid; width: calc(100% - 4px); }
.ofr-hito__tx b { font-size: var(--fs-sm); font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / 0.7); line-height: 1.25; }
.ofr-hito__tx small { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.75); }
.ofr-hito--titulo .ofr-hito__punto { background: #f7bc45; border-color: #ffe2a0; }
.ofr-hito--oro .ofr-hito__punto { box-shadow: 0 0 0 5px rgb(247 188 69 / 0.3); }
.ofr-hito--hoy { left: var(--x); width: 0; }
.ofr-hito--hoy .ofr-hito__punto { background: var(--accent); border-color: #fff; box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 28%, transparent); }
.ofr-hito--hoy .ofr-hito__tx { left: 20px; bottom: auto; top: -11px; width: max-content; line-height: 1.2; }
.ofr-ramas { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--ramas, 2), minmax(0, 1fr)); gap: 18px; }
.ofr-rama { min-height: 0; display: flex; flex-direction: column; gap: clamp(4px, 0.9vh, 8px); padding: clamp(10px, 1.6vh, 14px) 18px; border-radius: 20px; overflow: hidden;
  background: rgb(18 21 27 / 0.76); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 10px 30px rgb(0 0 0 / 0.3); }
.ofr-rama--oferta { box-shadow: inset 0 3px 0 var(--club), inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 10px 30px rgb(0 0 0 / 0.3); }
.ofr-rama--quedar { background: rgb(18 21 27 / 0.5); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.22); }
.ofr-rama__cab { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ofr-rama__cab .ofr-escudo { width: clamp(40px, 6.5vh, 58px); height: clamp(40px, 6.5vh, 58px); }
.ofr-rama__cab div { display: grid; min-width: 0; }
.ofr-rama__cab b { font-size: clamp(18px, 2.6vh, 23px); font-stretch: 82%; font-weight: 800; line-height: 1.1; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ofr-rama__cab span { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ofr-rama__sueldo { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.ofr-rama__sueldo b { font-size: clamp(26px, 4.4vh, 40px); font-stretch: 78%; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.ofr-rama__sueldo span { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.7); }
.ofr-rama__dat { margin: 0; display: flex; gap: 22px; }
.ofr-rama__dat div { display: grid; }
.ofr-rama__dat dt { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.ofr-rama__dat dd { margin: 0; font-size: var(--fs-md); font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.ofr-rama__lis { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.ofr-rama__lis li { display: flex; justify-content: space-between; gap: 10px; padding: clamp(2px, 0.45vh, 4px) 0; border-top: 1px solid rgb(255 255 255 / 0.08); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.ofr-rama__lis li span { color: rgb(255 255 255 / 0.66); font-weight: 500; }
.ofr-rama__pista { margin: auto 0 0; font-size: var(--fs-xs); color: rgb(255 255 255 / 0.78); line-height: 1.35; }
.ofr-rama__pista b { color: #fff; font-variant-numeric: tabular-nums; }
.ofr-rama__ir { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 16px; border-radius: 18px; background: var(--accent); color: #111; font-weight: 800; font-size: var(--fs-sm); text-decoration: none; }
.ofr-rama__ir:hover { background: var(--accent-strong); }
.ofr-rama__ir:focus-visible, .ofr-op:focus-visible, .ofr-volver:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ofr-pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 2px 2px; font-size: var(--fs-sm); color: rgb(255 255 255 / 0.72); }


.ofr--cara { display: flex; align-items: center; justify-content: center; min-height: 0; }
.ofr-cara { position: relative; width: 100%; max-width: 1040px; max-height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(12px, 1.8vh, 18px) 0 clamp(10px, 1.4vh, 14px); border-radius: 24px;
  background: rgb(14 17 23 / 0.8); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 20px 50px rgb(0 0 0 / 0.35); }
.ofr-cara__cuerpo { width: 100%; flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent;
  display: flex; flex-direction: column; align-items: center; padding: 0 30px 4px; }
.ofr-cara__nav { width: 100%; min-height: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.ofr-volver { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 700; color: rgb(255 255 255 / 0.75); text-decoration: none; }
.ofr-volver:hover { color: #fff; }
.ofr-otras { display: inline-flex; gap: 3px; padding: 3px; border-radius: 14px; background: rgb(0 0 0 / 0.32); }
.ofr-otras a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 11px; font-size: var(--fs-xs); font-weight: 700; color: rgb(255 255 255 / 0.75); text-decoration: none; }
.ofr-otras a[aria-current] { background: rgb(255 255 255 / 0.16); color: #fff; }
.ofr-otras__esc { width: 18px; height: 18px; }

.ofr-frente { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 230px) minmax(0, 1fr); column-gap: 28px; align-items: start; }
.ofr-eq { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.ofr-eq__esc { width: clamp(48px, 6.5vh, 64px); height: clamp(48px, 6.5vh, 64px); }
.ofr-eq b { font-size: clamp(19px, 2.7vh, 24px); font-stretch: 80%; font-weight: 800; line-height: 1.05; color: #fff; }
.ofr-eq span { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.62); }
.ofr-veredicto { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ofr-marcador { font-size: clamp(38px, 6vh, 54px); font-stretch: 76%; font-weight: 800; line-height: 0.95; font-variant-numeric: tabular-nums; color: #fff; }
.ofr-marcador i { font-style: normal; color: rgb(255 255 255 / 0.3); margin: 0 10px; }
.ofr-veredicto p { margin: 0; font-size: var(--fs-xs); line-height: 1.35; color: rgb(255 255 255 / 0.75); max-width: 230px; }
.ofr-nota { margin: 14px 0 0; padding: 5px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); font-size: var(--fs-sm); color: #fff; }

.ofr-graficos { width: 100%; margin-top: clamp(10px, 1.6vh, 16px); display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.ofr-caja { padding: 12px 16px 10px; border-radius: 18px; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.ofr-plata { width: 100%; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 16px; align-items: center; }
.ofr-plata__total { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ofr-plata__total b { font-size: clamp(30px, 5vh, 42px); font-stretch: 76%; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.ofr-plata__total b.ofr-gana-ac { color: var(--accent); }
.ofr-plata__total s { text-decoration: none; font-size: var(--fs-sm); font-weight: 700; color: rgb(255 255 255 / 0.7); }
.ofr-plata__total small { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.6); max-width: 170px; line-height: 1.3; }
.ofr-g { display: block; overflow: visible; height: clamp(84px, 11vh, 116px); }
.ofr-g-piso { stroke: rgb(255 255 255 / 0.2); }
.ofr-g-barra--mio { fill: rgb(255 255 255 / 0.3); }
.ofr-g-barra--suyo { fill: var(--accent); }
.ofr-g-prima { fill: color-mix(in srgb, var(--accent) 25%, transparent); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; }
.ofr-g-val { font: 800 12.5px var(--font-ui, system-ui); fill: #fff; font-variant-numeric: tabular-nums; }
.ofr-g-val--suyo { fill: var(--accent); }
.ofr-g-anio { font: 700 12px var(--font-ui, system-ui); fill: rgb(255 255 255 / 0.75); }
.ofr-g-nada { font: 700 12px var(--font-ui, system-ui); fill: rgb(255 255 255 / 0.35); }
.ofr-ley { display: flex; justify-content: center; gap: 14px; font-size: var(--fs-xs); color: rgb(255 255 255 / 0.72); }
.ofr-ley i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ofr-ley--mio { background: rgb(255 255 255 / 0.35); } .ofr-ley--suyo { background: var(--accent); }
.ofr-pistas { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.ofr-pista-fila { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; text-align: left; }
.ofr-pista__esc { width: 28px; height: 28px; }
.ofr-pista-fila b { font-size: var(--fs-sm); color: #fff; } .ofr-pista-fila small { display: block; font-size: var(--fs-xs); color: rgb(255 255 255 / 0.62); }
.ofr-pista { position: relative; height: 8px; margin: 7px 8px 0; border-radius: 4px; background: rgb(255 255 255 / 0.14); }
.ofr-pista__punto { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #0e1117; }
.ofr-pista__marcas { position: relative; height: 14px; margin: 3px 8px 0; font-size: 10.5px; color: rgb(255 255 255 / 0.5); }
.ofr-pista__marcas span { position: absolute; transform: translateX(-50%); }

.ofr-eq__tx { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.ofr-eq--con .ofr-eq__tx > span { display: none; }
.ofr-eq > .ofr-balanza__lado { width: 100%; max-width: 300px; margin-top: 4px; padding: 8px 12px 9px; border-radius: 12px; text-align: left;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.ofr-balanza { display: none; }
.ofr-balanza__arq { align-self: center; margin-bottom: 4px; padding: 3px 10px; border-radius: 11px; font-size: var(--fs-2xs, 10.5px); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #111; background: var(--accent); white-space: nowrap; }
.ofr-balanza__lado ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.ofr-balanza__lado li { position: relative; padding-left: 14px; font-size: var(--fs-xs); line-height: 1.3; color: rgb(255 255 255 / 0.88); }
.ofr-balanza__lado li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.ofr-balanza--gana .ofr-rotulo, .ofr-balanza--gana li::before { color: var(--verde-400, #3eda7f); }
.ofr-balanza--deja .ofr-rotulo, .ofr-balanza--deja li::before { color: #e2614c; }
.ofr-balanza--gana li::before { content: '+'; }
.ofr-balanza--deja li::before { content: '−'; }

.ofr-cartas { width: 100%; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ofr-carta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 12px 10px; border-radius: 18px;
  background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); --tono: rgb(255 255 255 / 0.5); }
.ofr-carta::before { content: ''; position: absolute; left: 50%; top: 0; width: 56px; height: 3px; border-radius: 0 0 3px 3px; transform: translateX(-50%); background: var(--tono); }
.ofr-carta--bien { --tono: var(--verde-400, #3eda7f); } .ofr-carta--mal { --tono: #e2614c; }
.ofr-carta { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 10px; row-gap: 3px; }
.ofr-carta > .ofr-rotulo, .ofr-carta__dato { flex-basis: 100%; }
.ofr-carta__dato { font-size: clamp(24px, 3.8vh, 32px); font-stretch: 76%; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ofr-carta__dato small { display: block; margin-top: 3px; font-size: var(--fs-sm); font-weight: 700; font-stretch: 100%; color: rgb(255 255 255 / 0.8); }
.ofr-carta__hoy { font-size: var(--fs-xs); color: rgb(255 255 255 / 0.58); }
.ofr-carta__hoy b { color: rgb(255 255 255 / 0.85); }
.ofr-carta__dif { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 11px; border-radius: 12px; font-size: var(--fs-xs); font-weight: 800; color: var(--tono);
  background: color-mix(in srgb, var(--tono) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tono) 45%, transparent); }
.ofr-carta__dif::before { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.ofr-carta--bien .ofr-carta__dif::before { border-bottom: 7px solid currentColor; }
.ofr-carta--mal .ofr-carta__dif::before { border-top: 7px solid currentColor; }

.ofr-consejo { width: 100%; max-width: 760px; margin-top: 14px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-align: left;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 10%, rgb(14 17 23 / 0.6)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 80%, transparent); }
.ofr-repre__sil { width: 44px; height: 44px; fill: #6b7790; }
.ofr-repre__sil rect { fill: #2a3346; }
.ofr-repre__corbata { fill: var(--accent); }
.ofr-consejo .ofr-rotulo { color: var(--accent); }
.ofr-consejo p { margin: 2px 0 0; font-size: clamp(13px, 1.8vh, 14.5px); line-height: 1.4; color: rgb(255 255 255 / 0.9); }
.ofr-consejo b { color: #fff; }

.ofr-cara__decision { flex: none; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 12px 30px 0; border-top: 1px solid rgb(255 255 255 / 0.08); }
.ofr-cara__decision .ofr-consejo { margin-top: 0; }
.ofr-decide { flex: none; width: 100%; margin: 0; padding: 20px 0 2px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 10px; }
.ofr-cara__cuerpo { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); padding-bottom: 18px; }
.ofr-op { all: unset; touch-action: manipulation; box-sizing: border-box; cursor: pointer; position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 20px;
  font-size: var(--fs-sm); font-weight: 800; color: #fff; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3); white-space: nowrap; }
.ofr-op:hover { background: rgb(255 255 255 / 0.1); }
.ofr-op--firmar { background: var(--accent); color: #111; box-shadow: none; }
.ofr-op--firmar:hover { background: var(--accent-strong); }
.ofr-op--no { color: var(--clay-300, #eb8d7a); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--danger, #dc5d47) 70%, transparent); }
.ofr-op--callada { color: rgb(255 255 255 / 0.85); }
.ofr-op--aconseja, .ofr-op--firmar.ofr-op--aconseja { box-shadow: 0 0 0 3px #0e1117, 0 0 0 5px var(--accent); }
.ofr-op__marca { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 6px; background: var(--accent); color: #111;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; line-height: 1.6; }
.ofr-op:focus-visible, .ofr-volver:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ofr-pie-cara { width: 100%; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 6px 22px; font-size: var(--fs-xs); color: rgb(255 255 255 / 0.62); }
.ofr-fino summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; }
.ofr-fino summary::before { content: '▸'; }
.ofr-fino[open] summary::before { content: '▾'; }
.ofr-fino table { margin: 6px auto 0; border-collapse: collapse; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.ofr-fino th, .ofr-fino td { padding: 3px 12px; text-align: right; } .ofr-fino tbody th { text-align: left; font-weight: 600; }
.ofr-fino td { color: #fff; font-weight: 700; }
.ofr-cara .ofr-correo { font-size: var(--fs-xs); }
.ofr-cara .ofr-fino[open] ~ .ofr-correo { display: none; }

@keyframes ofr-barra-sube { from { transform: scaleY(0); } to { transform: none; } }
.ofr-entra .ofr-g-barra { transform-box: fill-box; transform-origin: 50% 100%; animation: ofr-barra-sube 520ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) both; animation-delay: 440ms; }
.ofr-entra .ofr-g-barra--suyo, .ofr-entra .ofr-g-prima { animation-delay: 560ms; }
.ofr-entra .ofr-pista { transform-origin: left center; animation: barra-crece 520ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) both; animation-delay: 520ms; }
@media (prefers-reduced-motion: reduce) { .ofr-entra .ofr-g-barra, .ofr-entra .ofr-pista { animation: none; } }

.ofr-al-espacio { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--accent); color: #111 !important; font-weight: 800; text-decoration: none; }

@media (max-height: 820px) and (min-width: 1101px) {
  .ofr-cara { padding-top: 10px; padding-bottom: 8px; }
  .ofr-eq__esc { width: 44px; height: 44px; }
  .ofr-eq { gap: 4px; }
  .ofr-marcador { font-size: 36px; }
  .ofr-nota { margin-top: 10px; }
  .ofr-graficos { margin-top: 10px; } .ofr-caja { padding: 8px 14px 6px; gap: 3px; }
  .ofr-g { height: 92px; }
  .ofr-pistas { gap: 4px; } .ofr-pista-fila small { display: none; }
  .ofr-cartas { margin-top: 10px; } .ofr-carta { padding: 7px 10px 7px; gap: 2px; }
  .ofr-carta__hoy { display: none; }
  .ofr-consejo { padding: 6px 14px 6px 8px; grid-template-columns: 34px 1fr; } .ofr-repre__sil { width: 34px; height: 34px; }
  .ofr-cara__decision { padding-top: 8px; }
  .ofr-decide { padding-top: 18px; }
  .ofr-pie-cara { margin-top: 8px; }
  .ofr-rama__lis li:nth-child(n + 4) { display: none; }
  .ofr-ruta { height: 100px; --linea: 62%; }
  .ofr-titulo h2 { font-size: 21px; }
  .ofr-titulo p { margin-top: 0; }
  .ofr-hito__tx b { font-size: var(--fs-xs); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .ofr-hito--hoy .ofr-hito__tx b { display: block; }
  .ofr-rama__dat dd { font-size: var(--fs-sm); }
  .ofr-hito__tx small { display: none; }
}

@media (max-width: 1100px) {
  .ofr--entrada { padding: 0; }
  .ofr-ramas { grid-template-columns: minmax(0, 1fr); }
  .ofr-ruta { height: auto; padding: 4px 0 2px; }
  .ofr-ruta__lineas { display: none; }
  .ofr-hitos { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .ofr-hito, .ofr-hito--hoy { position: static; width: auto; display: flex; align-items: center; gap: 6px; }
  .ofr-hito__punto { position: static; width: 12px; height: 12px; border-width: 2px; flex: none; }
  .ofr-hito--hoy .ofr-hito__punto { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); }
  .ofr-hito__tx, .ofr-hito--hoy .ofr-hito__tx { position: static; transform: none; text-align: left; max-width: none; }
  .ofr-hito__tx b { font-size: var(--fs-xs); }
  .ofr-hito__tx small { display: none; }
  .ofr-pie { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 6px; }
  .ofr--cara { align-items: flex-start; }
  .ofr-cara { padding: 10px 12px 136px; border-radius: 18px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(14 17 23 / 0.9); max-height: none; }
  .ofr-cara__cuerpo { overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .ofr-cara__decision { padding: 0; border-top: 0; }
  .ofr-cara__decision .ofr-consejo { margin-top: 8px; }
  .ofr-cara__nav { flex-wrap: wrap; gap: 6px; }
  .ofr-frente { grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); column-gap: 8px; }
  .ofr-eq__esc { width: 48px; height: 48px; }
  .ofr-eq b { font-size: 16px; }
  .ofr-eq span { display: none; }
  .ofr-marcador { font-size: 38px; }
  .ofr-veredicto p { font-size: 11.5px; }
  .ofr-graficos { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
  .ofr-plata { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ofr-plata__total { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; }
  .ofr-plata__total b { font-size: 28px; }
  .ofr-plata__total small { max-width: none; flex-basis: 100%; }
  .ofr-cartas { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
  .ofr-eq > .ofr-balanza__lado, .ofr-balanza > .ofr-balanza__arq { display: none; }
  .ofr-balanza { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; margin-top: 8px; text-align: left; }
  .ofr-consejo { grid-template-columns: 36px 1fr; gap: 10px; margin-top: 8px; }
  .ofr-repre__sil { width: 36px; height: 36px; }
  .ofr-decide { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 8px; border-top: 0;
    padding: 16px 14px calc(30px + env(safe-area-inset-bottom)); background: #0c0e12; box-shadow: 0 -1px 0 rgb(255 255 255 / 0.12), 0 -12px 30px rgb(0 0 0 / 0.5); }
  .ofr-op { height: 40px; padding: 0 8px; white-space: normal; text-align: center; line-height: 1.1; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ofr-rama { animation: none; } }

.portal-despa .ipad__pantalla:has(.pd-app--ofertas) {
  background: linear-gradient(180deg, rgb(6 8 12 / 0.62), rgb(6 8 12 / 0.8)), var(--fondo) center 40% / cover;
}
.ofr-titulo { align-self: flex-start; max-width: 100%; padding: 8px 16px 9px; border-radius: 16px; background: rgb(12 14 19 / 0.86);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.ofr-hito__tx { padding: 4px 9px 5px; border-radius: 9px; background: rgb(12 14 19 / 0.86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.ofr-hito__tx b { text-shadow: none; }
.ofr-hito--hoy .ofr-hito__tx { bottom: auto; }
.ofr-pie { padding: 4px 12px; margin-top: 4px; border-radius: 12px; background: rgb(12 14 19 / 0.86); }
.ofr-pie .ofr-correo { color: rgb(255 255 255 / 0.8); }
@media (max-width: 1100px) {
  .ofr-hitos { padding: 6px 10px; border-radius: 12px; background: rgb(12 14 19 / 0.86); }
  .ofr-hito__tx { padding: 0; background: none; box-shadow: none; }
}

/* mapa-de-calor.css */

.ets-pizarra--calor { background: radial-gradient(120% 90% at 50% 50%, color-mix(in srgb, var(--verde-400) 16%, #0b1410), #070c0a); }
.ets-pizarra--calor .ets-cal { stroke: rgb(255 255 255 / 0.55); stroke-width: 0.32; }
.ets-pizarra--calor .ets-flecha { stroke: rgb(255 255 255 / 0.6); }
.ets-calor-capa { opacity: 0; transition: opacity 420ms cubic-bezier(.2,.7,.2,1); }
.ets-pizarra--calor[data-quien="nos"] .ets-calor-capa[data-calor="nos"],
.ets-pizarra--calor[data-quien="riv"] .ets-calor-capa[data-calor="riv"] { opacity: 1; }
.ets-calor-respira > g { transform-box: fill-box; transform-origin: center; animation: ets-calor-entra 700ms cubic-bezier(.16,1,.3,1) both; }
@keyframes ets-calor-entra { from { opacity: 0; transform: scale(0.94); } }
.ets-casilla { fill: transparent; stroke: none; display: none; }
.ets-pizarra--calor[data-quien="nos"] .ets-casilla[data-calor="nos"],
.ets-pizarra--calor[data-quien="riv"] .ets-casilla[data-calor="riv"] { display: inline; }
.ets-casilla:hover { fill: rgb(255 255 255 / 0.07); stroke: rgb(255 255 255 / 0.35); stroke-width: 0.25; stroke-dasharray: 1 0.8; }
.ets-pie[data-quien] span { display: none; }
.ets-pie[data-quien="nos"] span[data-calor="nos"], .ets-pie[data-quien="riv"] span[data-calor="riv"] { display: inline; animation: ets-calor-texto 300ms ease both; }
@keyframes ets-calor-texto { from { opacity: 0; } }

.ets-calor-pie { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); }
.ets-calor-escala { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); font-size: var(--fs-2xs); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.ets-calor-escala i { width: min(220px, 40%); height: 8px; border-radius: 99px; background: linear-gradient(90deg, rgb(56 99 235 / .5), rgb(34 197 94 / .8), rgb(234 200 8 / .9), rgb(249 115 22), rgb(239 48 56)); }
.ets-calor-res { display: none; gap: var(--sp-2); }
.ets-calor-pie[data-quien="nos"] .ets-calor-res[data-calor="nos"], .ets-calor-pie[data-quien="riv"] .ets-calor-res[data-calor="riv"] { display: grid; animation: ets-calor-texto 300ms ease both; }
.ets-calor-fila { display: grid; grid-template-columns: 5.5rem repeat(3, minmax(0, 1fr)); align-items: center; gap: var(--sp-2); }
.ets-calor-fila .label { color: var(--text-muted); }
.ets-calor-fila > div { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 6px var(--sp-2); border-radius: 12px; background: color-mix(in srgb, var(--bg-raised) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line-hairline); }
.ets-calor-fila b { font-size: var(--fs-md); font-weight: 800; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ets-calor-fila small { font-size: var(--fs-2xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-label); }
@media (max-width: 640px) {
  .ets-calor-fila { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ets-calor-fila .label { grid-column: 1 / -1; text-align: center; }
  .ets-calor-fila > div { flex-direction: column; align-items: center; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .ets-calor-capa, .ets-calor-respira > g { transition: none; animation: none; } }

.ets-calor-respira { transform-box: fill-box; transform-origin: center; animation: ets-calor-respira 2.8s ease-in-out 700ms infinite; }
@keyframes ets-calor-respira { 0%, 100% { opacity: 0.86; transform: scale(1); } 50% { opacity: 1; transform: scale(1.012); } }
.ets-calor-pulso circle { fill: none; stroke: rgb(255 214 120 / 0.9); stroke-width: 0.35; transform-box: fill-box; transform-origin: center; animation: ets-calor-anillo 2.8s cubic-bezier(.2,.6,.3,1) 700ms infinite; opacity: 0; }
.ets-calor-pulso circle:nth-child(2) { animation-delay: 2.1s; }
.ets-calor-pulso .ets-calor-nucleo { fill: rgb(255 236 190); stroke: none; opacity: 0.9; animation: ets-calor-nucleo 1.4s ease-in-out infinite; }
@keyframes ets-calor-anillo { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes ets-calor-nucleo { 0%, 100% { opacity: 0.55; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .ets-calor-respira, .ets-calor-pulso circle { animation: none; } .ets-calor-pulso circle:not(.ets-calor-nucleo) { display: none; } }

.ets-ataque-carril { fill: var(--accent); opacity: var(--a); }
.ets-ataque[data-calor="riv"] .ets-ataque-carril { fill: var(--clay-400); }
.ets-ataque-flecha { fill: var(--accent); opacity: var(--a); }
.ets-ataque[data-calor="riv"] .ets-ataque-flecha { fill: var(--clay-400); }
.ets-ataque-txt { font-weight: 800; text-anchor: middle; fill: #fff; paint-order: stroke; stroke: rgb(0 0 0 / 0.55); stroke-width: 0.7px; font-variant-numeric: tabular-nums; }
.ets-ataque { display: none; animation: ets-calor-texto 300ms ease both; }
.ets-pizarra--calor[data-quien="nos"] .ets-ataque[data-calor="nos"],
.ets-pizarra--calor[data-quien="riv"] .ets-ataque[data-calor="riv"] { display: inline; }

.pitch__impetu[data-pcf] { justify-content: flex-start; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); }
.pitch__impetu[data-pcf] > :not(.pcf-barra, .pcf-vista) { display: none; }
.pitch:has(.pitch__impetu[data-pcf]:not([hidden])) .pitch__entera { display: none; }
.pcf-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-2); }
.pcf-vistas, .pcf-quien { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgb(11 20 36 / 0.82); box-shadow: inset 0 0 0 1px var(--line-hairline); }
.pcf-barra button { padding: 6px var(--sp-3); border: 0; border-radius: 99px; background: none; color: var(--text-muted); font: inherit; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; cursor: pointer; }
.pcf-barra button[aria-selected="true"], .pcf-barra button[aria-pressed="true"] { background: var(--accent); color: var(--text-on-accent); }
.pcf-barra button:not([aria-selected="true"], [aria-pressed="true"]):hover { color: var(--text-primary); }
.pcf-barra .pcf-otra { display: inline-flex; align-items: center; gap: 6px; padding: 9px var(--sp-3); background: rgb(11 20 36 / 0.82); box-shadow: inset 0 0 0 1px var(--line-hairline); color: var(--text-primary); }
.pcf-otra .i { flex: none; width: 11px; height: 11px; color: var(--accent); }
.pcf-vista { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.pcf-lienzo { flex: 1 1 auto; min-height: 0; container-type: size; display: grid; place-items: center; }
.pcf-marco { position: relative; width: min(100cqw, calc(100cqh * 105 / 68)); aspect-ratio: 105 / 68; }
.pcf-pizarra { display: block; width: 100%; height: auto; aspect-ratio: 105 / 68; border-radius: var(--r-sm); }

.pcf-reloj { position: absolute; top: 6px; left: 6px; padding: 2px 9px; border-radius: 99px; background: rgb(0 0 0 / 0.6); color: #fff; font-size: var(--fs-xs); font-weight: 800; font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; transition: opacity 400ms ease; }
.pcf-marco:has(.pcf-pizarra[data-corre]) .pcf-reloj { opacity: 1; }
.pitch__impetu[data-pcf="ataque"] .pcf-reloj { display: none; }
.pcf-pizarra[data-corre] .ets-calor-pulso { display: none; }
.pcf-pizarra .ets-ataque-flecha { transform-box: fill-box; transform-origin: left center; animation: pcf-crece 900ms cubic-bezier(.16,1,.3,1) both; }
.pcf-pizarra .ets-ataque[data-calor="riv"] .ets-ataque-flecha { transform-origin: right center; }
.pcf-pizarra .ets-ataque-txt { animation: ets-calor-texto 400ms ease 700ms both; }
.pcf-pizarra .ets-ataque > g:nth-of-type(2) { animation-delay: 150ms; }
.pcf-pizarra .ets-ataque > g:nth-of-type(3) { animation-delay: 300ms; }
.pcf-pizarra .ets-ataque > text:nth-of-type(2) { animation-delay: 850ms; }
.pcf-pizarra .ets-ataque > text:nth-of-type(3) { animation-delay: 1000ms; }
@keyframes pcf-crece { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .pcf-pizarra .ets-ataque-flecha, .pcf-pizarra .ets-ataque-txt { animation: none; }
  .pcf-reloj { transition: none; }
}
.pcf-pie .ets-pie { margin: 0; }
.pcf-texto span { display: none; }
.pitch__impetu[data-pcf="calor"][data-quien="nos"] .pcf-texto span[data-calor="nos"][data-pcf-que="calor"],
.pitch__impetu[data-pcf="calor"][data-quien="riv"] .pcf-texto span[data-calor="riv"][data-pcf-que="calor"],
.pitch__impetu[data-pcf="ataque"][data-quien="nos"] .pcf-texto span[data-calor="nos"][data-pcf-que="ataque"],
.pitch__impetu[data-pcf="ataque"][data-quien="riv"] .pcf-texto span[data-calor="riv"][data-pcf-que="ataque"] { display: inline; animation: ets-calor-texto 300ms ease both; }
.pitch__impetu[data-pcf="ataque"] .pcf-capa-calor,
.pitch__impetu[data-pcf="calor"] .pcf-capa-ataque,
.pitch__impetu[data-pcf="ataque"] .pcf-cifras { display: none; }
.pcf-cifras { margin-top: 0; }
@media (max-width: 640px) {
  .pitch__impetu[data-pcf] { padding: var(--sp-2); gap: var(--sp-2); }
  .pcf-barra button { padding: 5px var(--sp-2); }
  .pcf-barra { flex-wrap: nowrap; gap: 4px; }
  .pcf-barra button { padding: 5px 9px; }
  .pcf-barra .pcf-otra { flex: none; padding: 7px 8px; }
  .pcf-otra__txt { display: none; }
  .pcf-cifras .ets-calor-fila { gap: 4px; }
  .pcf-cifras .ets-calor-fila > div { padding: 3px 4px; }
}

.msg__calor { margin: 0 0 var(--sp-4); display: grid; gap: var(--sp-2); }
.msg__calor svg { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 105 / 68; border-radius: var(--r-sm);
  background: radial-gradient(120% 90% at 50% 50%, color-mix(in srgb, var(--verde-400) 16%, #0b1410), #070c0a); }
.msg__calor .ets-cal { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 0.32; }
.msg__calor .ets-flecha { fill: none; stroke: rgb(255 255 255 / 0.6); stroke-width: 0.35; }
.msg__calor .ets-calor-capa { opacity: 1; }
.msg__calor p { margin: 0; font-size: var(--fs-xs); color: var(--text-muted); }
.pcf-sigla { display: none; }
@media (max-width: 640px) {
  .pcf-largo { display: none; }
  .pcf-sigla { display: inline; }
}

/* despido.css */

dialog.despido {
  --d-fondo: #1d1e20;
  --d-tinta: #e4e4e4;
  --d-tenue: #a3a4a7;
  --d-raya: #3a3b3e;
  --d-papel: #26272a;
  box-sizing: border-box;
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--d-raya);
  border-radius: 14px;
  background: var(--d-fondo);
  color: var(--d-tinta);
  font-family: var(--font-ui);
  overflow: hidden;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.65);
  opacity: 0;
  transition: opacity 900ms ease, overlay 900ms allow-discrete, display 900ms allow-discrete;
}
dialog.despido[open] {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  opacity: 1;
}
@starting-style { dialog.despido[open] { opacity: 0; } }
dialog.despido::backdrop {
  background: rgb(10 10 12 / 0.72);
  backdrop-filter: grayscale(1) blur(3px);
  -webkit-backdrop-filter: grayscale(1) blur(3px);
}

.despido__escena {
  position: relative;
  overflow: hidden;
  background: #151517;
  display: grid;
  place-items: center;
}
.despido__foto {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.45) contrast(0.9);
  opacity: 0;
  transition: opacity 2400ms ease;
}
.despido__foto--on { opacity: 1; }
.despido__escena::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(20 20 22 / 0.2), rgb(20 20 22 / 0.75));
}
.despido__escudo {
  position: relative;
  z-index: 1;
  width: min(150px, 60%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: grayscale(1) brightness(1.1);
  opacity: 0.32;
  animation: despido-apaga 2600ms ease-out both;
}
@keyframes despido-apaga { from { opacity: 0.85; filter: grayscale(0.2); } to { opacity: 0.32; filter: grayscale(1) brightness(1.1); } }

.despido__cuerpo {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.6vh, 16px);
  padding: clamp(18px, 3vh, 32px) clamp(18px, 3vw, 36px);
  min-width: 0;
}
.despido__cuerpo > * {
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  animation: despido-entra 950ms ease-out forwards;
  animation-delay: calc(500ms + var(--i, 0) * 260ms);
}
@keyframes despido-entra { to { opacity: 1; transform: none; } }

.despido__fecha {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-tenue);
}
.despido__titulo {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--d-tinta);
  text-wrap: balance;
}
.despido__nota {
  padding: clamp(10px, 1.6vh, 16px) 16px;
  border-left: 2px solid var(--d-raya);
  background: var(--d-papel);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cfcfd1;
}
.despido__nota p { margin: 0; }
.despido__firma {
  margin-top: 8px !important;
  font-style: italic;
  color: var(--d-tinta);
}
.despido__firma small { display: block; font-style: normal; font-size: 0.75rem; color: var(--d-tenue); }
.despido__motivo { font-size: 0.92rem; line-height: 1.5; color: var(--d-tinta); }
.despido__motivo p { margin: 0; }
.despido__lista { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; font-size: 0.85rem; color: var(--d-tenue); }
.despido__lista li { display: flex; justify-content: space-between; gap: 12px; }
.despido__lista b { color: var(--d-tinta); font-weight: 600; }

.despido__numeros {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--d-raya);
  border-bottom: 1px solid var(--d-raya);
  padding: clamp(6px, 1.2vh, 12px) 0;
}
.despido__numeros div { text-align: center; min-width: 0; }
.despido__numeros dt { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--d-tenue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.despido__numeros dd { margin: 2px 0 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--d-tinta); }

.despido__prensa { margin: 0; }
.despido__prensa blockquote { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; line-height: 1.35; color: var(--d-tinta); }
.despido__prensa figcaption { margin-top: 3px; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--d-tenue); }
.despido__prensa figcaption::before { content: '— '; }
.despido__vestuario { font-size: 0.88rem; line-height: 1.45; color: var(--d-tenue); }

.despido__pie { display: flex; justify-content: flex-end; padding-top: 4px; }
.despido__boton.action {
  background: #d9d9db;
  color: #18181a;
  border-color: #d9d9db;
  box-shadow: none;
}
.despido__boton.action:hover { background: #ececee; border-color: #ececee; }
.despido__boton.action:focus-visible { outline: 2px solid #ececee; outline-offset: 3px; }

@media (max-width: 760px) {
  dialog.despido { width: calc(100vw - 24px); }
  dialog.despido[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .despido__escena { height: clamp(64px, 11vh, 110px); }
  .despido__escudo { width: 64px; height: 64px; }
  .despido__cuerpo { padding: 14px 16px 16px; gap: clamp(6px, 1.2vh, 12px); }
  .despido__titulo { font-size: 1.25rem; }
  .despido__nota, .despido__motivo { font-size: 0.84rem; line-height: 1.42; }
  .despido__nota { padding: 9px 12px; }
  .despido__numeros dt { font-size: 0.62rem; letter-spacing: 0.02em; }
  .despido__numeros dd { font-size: 1.1rem; }
  .despido__prensa blockquote { font-size: 0.92rem; }
  .despido__vestuario { font-size: 0.8rem; }
  .despido__pie .action { width: 100%; justify-content: center; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .despido__escena { height: 52px; }
  .despido__escudo { width: 40px; height: 40px; }
  .despido__fecha { font-size: 0.7rem; }
  .despido__nota, .despido__motivo { font-size: 0.78rem; line-height: 1.36; }
  .despido__vestuario, .despido__prensa blockquote { font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  dialog.despido { transition: none; }
  .despido__cuerpo > *, .despido__escudo { animation: none; opacity: 1; transform: none; }
  .despido__escudo { opacity: 0.32; }
}


.despido-velo {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
  backdrop-filter: grayscale(1) brightness(0.92);
  -webkit-backdrop-filter: grayscale(1) brightness(0.92);
  animation: despido-velo 1600ms ease both;
}
@keyframes despido-velo { from { opacity: 0; } to { opacity: 1; } }
html.despedido--vacio main > :not(.despido-oficina) { opacity: 0.42; pointer-events: none; user-select: none; }
html.despedido--vacio .chrome__salto,
html.despedido--vacio .history,
html.despedido--vacio [data-f="crest-club"] { opacity: 0.4; }
html.despedido--vacio .nav-primary__item[href^="previa"],
html.despedido--vacio .nav-primary__item[href^="contratacion"],
html.despedido--vacio .nav-sub__item { opacity: 0.4; }

html.despedido--vacio main.home > .portal-despa { display: none !important; }
html.despedido--vacio main.home > .despido-oficina { display: grid !important; opacity: 1; pointer-events: auto; }
html.despedido--vacio main.home { display: block; }
main.home > .despido-oficina { max-width: 920px; margin: clamp(24px, 8vh, 96px) auto 24px; }

.despido-oficina {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: center;
  margin: 0 0 var(--sp-4, 16px);
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid #3a3b3e;
  border-radius: 14px;
  background: #1f2022;
  color: #e4e4e4;
  animation: despido-entra 900ms ease-out both;
}
.despido-oficina__escudo { width: clamp(64px, 9vw, 120px); aspect-ratio: 1; object-fit: contain; filter: grayscale(1); opacity: 0.3; }
.despido-oficina__texto { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.despido-oficina__texto > * { margin: 0; }
.despido-oficina .label { color: #a3a4a7; }
.despido-oficina h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; font-weight: 600; color: #ececee; text-wrap: balance; }
.despido-oficina p { font-size: 0.95rem; line-height: 1.5; color: #cfcfd1; max-width: 62ch; }
.despido-oficina__numeros { display: grid; grid-template-columns: repeat(5, minmax(0, 6rem)); gap: 4px; padding: 8px 0; border-top: 1px solid #3a3b3e; border-bottom: 1px solid #3a3b3e; }
.despido-oficina__numeros div { min-width: 0; }
.despido-oficina__numeros dt { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #a3a4a7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.despido-oficina__numeros dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.despido-oficina__interino { font-size: 0.85rem !important; color: #a3a4a7 !important; font-style: italic; }
.despido-oficina__acc { display: flex; flex-wrap: wrap; gap: 10px; }
.despido-oficina__acc .action:first-child { background: #d9d9db; color: #18181a; border-color: #d9d9db; box-shadow: none; }
.despido-oficina--chico { grid-template-columns: auto minmax(0, 1fr); padding: 14px 18px; }
.despido-oficina--chico .despido-oficina__escudo { width: 48px; }
.despido-oficina--chico h2 { font-size: 1.1rem; }
@media (max-width: 600px) {
  .despido-oficina { grid-template-columns: minmax(0, 1fr); }
  .despido-oficina__escudo { width: 56px; }
  .despido-oficina--chico { grid-template-columns: auto minmax(0, 1fr); }
  .despido-oficina__numeros { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .despido-oficina__numeros dt { font-size: 0.6rem; letter-spacing: 0.02em; }
  .despido-oficina__acc .action { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .despido-oficina { animation: none; } }

