/* ==========================================================================
   Makita LATAM - Micrositio Autenticidad de Baterías
   Prefijo .mk-auth- para no chocar con cordless.css / ope.css.
   Valores tomados de custom.min.css, ope.css y site.css (ver brand.json).
   ========================================================================== */
.mk-auth {
  --mk-teal: #008290;
  --mk-teal-btn: #00909e;
  --mk-teal-dark: #074f57;
  --mk-teal-hover: #67b2b1;
  --mk-ink: #152a2c;
  --mk-black: #000;
  --mk-dark: #222;
  --mk-gray: #939598;
  --mk-bg: #f5f5f5;
  --mk-bg2: #e6e6e6;
  --mk-text: #333;
  --mk-red: #eb1c24;
  --mk-ok: #2e9e4f;
  --mk-head: "Helvetica Neue LT W01_95 Black", Arial, Helvetica, sans-serif;
  --mk-body: "Helvetica Neue LT W01_55 Roman", Arial, Helvetica, sans-serif;
  font-family: var(--mk-body);
  color: var(--mk-text);
  background: var(--mk-bg);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip; /* clip (no hidden) para no romper position:sticky */
}
.mk-auth *, .mk-auth *::before, .mk-auth *::after { box-sizing: border-box; }
.mk-auth h1, .mk-auth h2, .mk-auth h3 { font-family: var(--mk-head); text-transform: uppercase; line-height: 1.1; margin: 0; font-weight: normal; }
.mk-auth img { max-width: 100%; height: auto; display: block; }
.mk-auth a { text-decoration: none; }
.mk-auth section { padding: 56px 20px; }
.mk-auth :where(section) > h2 { color: inherit; padding: 0; font-size: 30px; text-align: center; max-width: 900px; margin: 0 auto 14px; }
.mk-auth-lead { max-width: 760px; margin: 0 auto 32px; text-align: center; font-size: 17px; }

/* Botones (misma regla que .btn-primary de LATAM: sin radio, mayúsculas, 12x22) */
.mk-auth-btn { display: inline-block; background: var(--mk-teal-btn); color: #fff !important; border: 0; border-radius: 0; text-transform: uppercase; padding: 12px 22px; font-family: var(--mk-head); font-size: 15px; cursor: pointer; transition: background .2s; }
.mk-auth-btn:hover, .mk-auth-btn:focus-visible { background: var(--mk-teal-hover); }
.mk-auth-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.mk-auth-btn--ghost:hover { background: rgba(255,255,255,.18); }
.mk-auth-btn--white { background: #fff; color: var(--mk-ink) !important; }
.mk-auth-btn--white:hover { background: var(--mk-bg2); }
.mk-auth :focus-visible { outline: 3px solid var(--mk-teal-hover); outline-offset: 2px; }

/* Volver */
.mk-auth-back { background: var(--mk-ink); padding: 0 20px; height: 40px; display: flex; align-items: center; }
.mk-auth-back a { color: #fff; font-family: var(--mk-head); font-size: 13px; text-transform: uppercase; }
.mk-auth-back i { margin-right: 6px; font-size: 1.2rem; vertical-align: middle; }

/* Hero (div, no <header>: el CSS del sitio fija los <header>) */
.mk-auth-hero { position: relative; background: var(--mk-black) linear-gradient(90deg, #000 0%, #000 45%, var(--mk-teal-dark) 100%); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 56px max(20px, calc((100% - 1200px) / 2)); }
.mk-auth .mk-auth-kicker { font-family: var(--mk-head); color: var(--mk-teal-hover); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.2; letter-spacing: .08em; margin: 0 0 14px; }
.mk-auth .mk-auth-hero__title { font-size: clamp(34px, 5vw, 60px); color: #fff; }
.mk-auth-hero__title span { color: var(--mk-teal-hover); display: block; }
.mk-auth-hero__p { font-size: 18px; max-width: 560px; margin: 20px 0 28px; color: #ddd; }
.mk-auth-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; }
.mk-auth-hero__video { position: relative; border: 0; padding: 0; background: none; cursor: pointer; justify-self: center; width: min(100%, 320px); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mk-auth-hero__video img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.mk-auth-play { position: absolute; inset: auto 14px 14px auto; margin: 0; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,130,144,.8); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 4px 12px rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; font-size: 22px; padding-left: 4px; transition: transform .2s; }
.mk-auth-hero__video:hover .mk-auth-play { transform: scale(1.1); }

/* Riesgos */
.mk-auth-risks h2, .mk-auth-video h2 { color: #fff; }
.mk-auth-end h2 { color: #fff; }
.mk-auth-risks { background: var(--mk-teal); color: #fff; text-align: center; }
.mk-auth-risks__grid { list-style: none; margin: 32px auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mk-auth-risks__grid li { background: rgba(0,0,0,.22); border-radius: 8px; padding: 26px 14px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--mk-head); font-size: 16px; box-shadow: 0 4px 15px rgba(0,0,0,.3); }
.mk-auth-risks__grid i { font-size: 38px; width: 78px; height: 78px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.mk-auth-risks__note { font-family: var(--mk-head); font-size: 20px; margin: 0; }

/* Verificación */
.mk-auth-verify { background: #fff; }
.mk-auth-verify > h2 { color: var(--mk-ink); }
.mk-auth-points { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mk-auth-point { background: var(--mk-bg); border-radius: 8px; padding: 18px; box-shadow: 0 4px 10px rgba(0,0,0,.05); }
.mk-auth-point__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mk-auth-point h3 { font-size: 20px; color: var(--mk-ink); }
.mk-auth-num { flex: none; margin-right: 6px; color: var(--mk-teal); font-family: var(--mk-head); font-weight: bold; font-size: 30px; line-height: 1; }

/* Comparador */
.mk-auth-cmp { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #000; touch-action: pan-y; user-select: none; }
.mk-auth-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-auth-cmp__top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.mk-auth-cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 6px rgba(0,0,0,.6); pointer-events: none; }
.mk-auth-cmp__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--mk-teal); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.mk-auth-cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.mk-auth-cmp:focus-within { outline: 3px solid var(--mk-teal-hover); }
.mk-auth-tag { position: absolute; top: 10px; padding: 3px 9px; font-family: var(--mk-head); font-size: 12px; color: #fff; border-radius: 3px; pointer-events: none; }
.mk-auth-tag--ok { left: 10px; background: var(--mk-ok); }
.mk-auth-tag--no { right: 10px; background: var(--mk-red); }
.mk-auth-diff { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.mk-auth-diff li { display: flex; gap: 10px; align-items: flex-start; }
.mk-auth-diff i { margin-top: 3px; font-size: 18px; }
.mk-auth-diff .ok i { color: var(--mk-ok); }
.mk-auth-diff .no i { color: var(--mk-red); }
.mk-auth-diff b { font-family: var(--mk-head); font-weight: normal; font-size: 13px; }

/* Checklist */
.mk-auth-check { background: var(--mk-dark); color: #fff; }
.mk-auth-check > h2 { color: var(--mk-teal-hover); }
.mk-auth-check__list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.mk-auth-check__list label { display: flex; gap: 14px; align-items: center; background: #111; padding: 16px 18px; border-radius: 4px; cursor: pointer; font-size: 17px; }
.mk-auth-check__list input { width: 24px; height: 24px; accent-color: var(--mk-teal-btn); flex: none; }
.mk-auth-check__result { max-width: 720px; margin: 22px auto 0; padding: 14px 18px; text-align: center; background: var(--mk-teal-dark); font-family: var(--mk-head); font-size: 15px; }
.mk-auth-check__result.is-done { background: var(--mk-teal); }

/* Video y redes */
.mk-auth-video { background: var(--mk-teal); color: #fff; text-align: center; }
.mk-auth-social { background: #fff; }
.mk-auth-social > h2 { color: var(--mk-ink); }
.mk-auth-gallery { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mk-auth-gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.mk-auth-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .25s; }
.mk-auth-gallery button:hover img { transform: scale(1.04); }

/* Cierre */
.mk-auth-end { background: var(--mk-teal); color: #fff; text-align: center; }
.mk-auth-end .mk-auth-hero__cta { justify-content: center; }

/* Diálogos */
.mk-auth-dialog { margin: auto; border: 0; padding: 0; background: #000; max-width: min(92vw, 420px); width: 100%; border-radius: 8px; overflow: visible; }
.mk-auth-dialog::backdrop { background: rgba(0,0,0,.8); }
.mk-auth-dialog video, .mk-auth-dialog img { width: 100%; max-height: 86vh; display: block; border-radius: 8px; }
.mk-auth-dialog--img { max-width: min(92vw, 560px); }
.mk-auth-dialog__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }

/* Responsive */
@media (max-width: 992px) {
  .mk-auth-hero { grid-template-columns: 1fr; text-align: center; }
  .mk-auth-hero__p { margin-left: auto; margin-right: auto; }
  .mk-auth-hero__cta { justify-content: center; }
  .mk-auth-hero__video { width: 80%; max-width: 420px; }
  .mk-auth-hero__video img { aspect-ratio: 1 / 1; object-position: center 47%; }
  .mk-auth-risks__grid { grid-template-columns: repeat(2, 1fr); }
  .mk-auth-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .mk-auth section { padding: 40px 16px; }
  .mk-auth :where(section) > h2 { font-size: 22px; }
  .mk-auth-points { grid-template-columns: 1fr; }
  .mk-auth-gallery { grid-template-columns: repeat(2, 1fr); }
  .mk-auth-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mk-auth * { transition: none !important; } }

/* ==========================================================================
   v2: visor único de comparativas (reemplaza la grilla de 8 tarjetas)
   ========================================================================== */
.mk-auth-viewer { max-width: 760px; margin: 0 auto; }
.mk-auth-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mk-auth-track::-webkit-scrollbar { display: none; }
.mk-auth-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.mk-auth-cmp input[type=range] { touch-action: pan-y; }
/* paginador tradicional: ‹ 1 2 3 4 5 6 7 8 › */
.mk-auth-pager { margin-top: 20px; --cs: max(24px, min(40px, calc((100vw - 144px) / 8))); display: flex; align-items: center; justify-content: center; gap: 4px; -webkit-tap-highlight-color: transparent; }
.mk-auth-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mk-teal); color: #fff; font-size: 26px; line-height: 1; padding: 0 0 3px; cursor: pointer; }
.mk-auth-arrow:hover:not(:disabled) { background: var(--mk-teal-btn); }
.mk-auth-arrow:disabled { opacity: .3; cursor: default; }
.mk-auth-chips { flex: none; display: flex; gap: 4px; }
.mk-auth-chip { flex: none; width: var(--cs); height: var(--cs); padding: 0; border: 0; border-radius: 50%; background: var(--mk-bg2); color: var(--mk-ink); font-family: var(--mk-head); font-size: 14px; line-height: 1; cursor: pointer; }
.mk-auth-chip:hover { background: #d3d3d3; }
.mk-auth-chip.is-active { background: var(--mk-teal); color: #fff; }
@media (min-width: 600px) {
  .mk-auth-pager { --cs: 44px; gap: 8px; }
  .mk-auth-chips { gap: 8px; }
  .mk-auth-arrow { width: 44px; height: 44px; font-size: 30px; }
  .mk-auth-chip { font-size: 18px; }
}

/* Íconos grandes falsa (izq.) / original (der.) y lupa */
.mk-auth-badge { position: absolute; bottom: 10px; display: flex; align-items: center; gap: 8px; pointer-events: none; z-index: 2; }
.mk-auth-badge svg { width: clamp(40px, 9vw, 60px); height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.mk-auth-badge b { font-family: var(--mk-head); font-size: clamp(11px, 2.6vw, 14px); color: #fff; padding: 4px 9px; border-radius: 3px; text-shadow: none; }
.mk-auth-badge--no { left: 10px; } .mk-auth-badge--no b { background: var(--mk-red); }
.mk-auth-badge--ok { right: 10px; } .mk-auth-badge--ok b { background: var(--mk-ok); }
.mk-auth-zoom { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.mk-auth-zoom:hover, .mk-auth-zoom:focus-visible { background: var(--mk-teal); }
.mk-auth-zoom svg { width: 22px; height: 22px; }
.mk-auth-dialog--zoom { max-width: none; width: min(96vw, calc(88vh * 4 / 3), 1100px); background: transparent; }
.mk-auth-dialog--zoom .mk-auth-cmp { border-radius: 8px; }
.mk-auth-dialog--zoom .mk-auth-cmp img { max-width: none; max-height: none; height: 100%; border-radius: 0; }
.mk-auth-dialog { --mk-ink: #152a2c; --mk-teal-btn: #00909e; --mk-teal-dark: #074f57; --mk-teal: #008290; --mk-red: #eb1c24; --mk-ok: #2e9e4f; --mk-head: "Helvetica Neue LT W01_95 Black", Arial, Helvetica, sans-serif; }
.mk-auth-dialog--zoom { overflow: visible; }

/* ==========================================================================
   v2: franja de anatomía (fondo #1d1d1b + 3 pares de detalles falsa / original)
   ========================================================================== */
.mk-auth-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mk-auth-anat { --mk-anat-grow: 1.2; background: #1d1d1b; color: #fff; }
.mk-auth-anat__stage { position: relative; max-width: 2000px; margin: 0 auto; aspect-ratio: 2000 / 860; overflow: hidden; }
.mk-auth .mk-auth-anat__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mk-auth-anat__col { position: absolute; top: 3%; height: 94%; width: 12%; display: flex; flex-direction: column; justify-content: space-between; }
.mk-auth-anat__col--no { left: 10%; }
.mk-auth-anat__col--yes { right: 10%; }
.mk-auth-anat__item { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: transform .25s ease, opacity .25s ease; }
.mk-auth-anat__item img { width: 100%; height: 100%; max-width: none; border-radius: 50%; }
.mk-auth-anat__item:focus-visible { outline: 3px solid var(--mk-teal-hover); outline-offset: 4px; }
.mk-auth-anat__item.is-on { transform: scale(var(--mk-anat-grow)); z-index: 3; }
.mk-auth-anat__stage[data-on] .mk-auth-anat__item:not(.is-on) { opacity: .5; }
.mk-auth-badge-ico { position: absolute; top: 2%; width: 36%; height: auto; opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .25s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); pointer-events: none; }
.mk-auth-anat__col--no .mk-auth-badge-ico { right: -6%; }
.mk-auth-anat__col--yes .mk-auth-badge-ico { left: -6%; }
.mk-auth-anat__item.is-on .mk-auth-badge-ico { opacity: 1; transform: scale(1); }
.mk-auth-anat__hint { margin: 0; padding: 4px 16px 18px; text-align: center; font-size: 14px; color: var(--mk-gray); }
@media (max-width: 1000px) {
  /* alto continuo: 250 px a 360 de ancho y 430 px a 1000 (imagen completa); imagen siempre centrada y destacados más chicos en pantallas angostas */
  .mk-auth-anat__stage { --h: calc(28.1vw + 149px); aspect-ratio: auto; height: var(--h); }
  .mk-auth .mk-auth-anat__bg { inset: 0 auto 0 50%; width: auto; height: 100%; transform: translateX(-50%); }
  .mk-auth-anat__col { width: calc(var(--h) * .24 + 3vw - 10.8px); }
  .mk-auth-anat__col--no { left: 10px; }
  .mk-auth-anat__col--yes { right: 10px; }
}
/* popup de cada par */
.mk-auth-dialog--pair { max-width: min(92vw, 640px); background: rgba(255,255,255,.95); color: var(--mk-ink); padding: 24px 22px 20px; font-family: "Helvetica Neue LT W01_55 Roman", Arial, Helvetica, sans-serif; line-height: 1.4; }
.mk-auth-dialog--pair h3 { margin: 0 0 16px; padding-right: 20px; font-family: var(--mk-head); font-weight: normal; font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.mk-auth-pair[hidden] { display: none; }
.mk-auth-pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mk-auth-pair figure { margin: 0; }
.mk-auth-pair__img { position: relative; width: min(100%, 220px); margin: 0 auto 10px; }
.mk-auth-pair__img img { width: 100%; max-height: none; height: auto; border-radius: 50%; }
.mk-auth-pair__img .mk-auth-badge-ico { opacity: 1; transform: none; top: 0; right: -4%; width: 32%; }
.mk-auth-pair figcaption { font-size: 16px; line-height: 1.4; }
.mk-auth-pair figcaption b { font-family: var(--mk-head); font-weight: normal; text-transform: uppercase; }
.mk-auth-pair__no b { color: var(--mk-red); } .mk-auth-pair__ok b { color: var(--mk-ok); }
.mk-auth-pair__link { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; }
.mk-auth-pill { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--mk-teal-btn); color: #fff; font-family: var(--mk-head); font-size: 14px; line-height: 1.1; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.mk-auth-pill:hover, .mk-auth-pill:focus-visible { background: var(--mk-teal-dark); color: #fff; text-decoration: none; }
.mk-auth-pill svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 480px) { .mk-auth-pair__grid { gap: 12px; } .mk-auth-dialog--pair h3 { font-size: 17px; } .mk-auth-pair figcaption { font-size: 15px; } }

/* cartel de título sobre las baterías (hover / foco) y pistas según dispositivo */
.mk-auth-anat__tip { position: absolute; left: 50%; top: 50%; z-index: 4; width: max-content; max-width: 40%; transform: translate(-50%, -50%); pointer-events: none; }
.mk-auth-anat__tip > div { display: none; padding: 14px 22px; text-align: center; background: rgba(0,0,0,.55); color: #fff; border-radius: 6px; }
.mk-auth-anat__tip b { display: block; font-family: var(--mk-head); font-weight: normal; font-size: clamp(14px, 1.9vw, 26px); line-height: 1.15; text-transform: uppercase; }
.mk-auth-anat__tip span { display: block; margin-top: 6px; font-size: clamp(11px, 1.1vw, 15px); color: #d9d9d9; }
.mk-auth-anat__stage[data-on="1"] [data-mk-tip="1"], .mk-auth-anat__stage[data-on="2"] [data-mk-tip="2"], .mk-auth-anat__stage[data-on="3"] [data-mk-tip="3"] { display: block; }
.mk-auth-hint-t, .mk-auth-anat__tip span.mk-auth-hint-t { display: none; }
@media (hover: none), (max-width: 1000px) { .mk-auth-hint-m, .mk-auth-anat__tip span.mk-auth-hint-m { display: none; } .mk-auth-anat__hint .mk-auth-hint-t { display: inline; } .mk-auth-anat__tip span.mk-auth-hint-t { display: block; } }
@media (max-width: 1000px) { .mk-auth-anat__tip { max-width: 60%; } .mk-auth-anat__tip > div { padding: 10px 14px; } .mk-auth-anat__tip b { font-size: 14px; } .mk-auth-anat__tip span { font-size: 11px; } }
@media (max-width: 480px) { .mk-auth-pill { width: 100%; justify-content: space-between; padding: 13px 20px; } }
@media (max-width: 359px) { .mk-auth-arrow { width: 30px; height: 30px; font-size: 22px; } .mk-auth-pager { --cs: max(22px, calc((100vw - 132px) / 8)); } }

/* franja de la batería en llamas: foto completa sobre fondo oscuro entre dos bandas verdes (título e íconos); el verde se funde hacia el oscuro arriba y abajo */

/* Riesgos: título (verde) / foto con bordes angulares / íconos (verde). Dos "puertas" verdes con el borde
   angular (borde-superior / borde-inferior.webp, estirados al ancho) cubren la foto y se abren con el scroll.
   El bloque mide siempre lo mismo (no hay espacio vacío). Sin JS o con "reducir movimiento" queda abierto (--e:1).
   El JS solo cambia --e (0 cerrado, 1 abierto). Alto de la foto: --R; los bordes miden 13,4 % de --R como en el diseño original. */
.mk-auth-reveal { --R: calc(clamp(300px, min(32vw, 54vh), 520px) * 1.1); --edge: calc(var(--R) * .122); --e: 1; position: relative; background: #0e1214; }
.mk-auth-reveal .mk-auth-reveal__title, .mk-auth-reveal .mk-auth-reveal__icons { text-align: center; color: #fff; }
.mk-auth-reveal .mk-auth-reveal__title { padding: 30px 20px 18px; }
.mk-auth-reveal .mk-auth-reveal__icons { padding: 22px 20px 40px; }
.mk-auth .mk-auth-reveal__title > h2 { font-size: 28px; max-width: 900px; margin: 0 auto; }
.mk-auth-reveal__icons .mk-auth-risks__grid { margin: 0 auto 22px; }
.mk-auth-reveal__photo { position: relative; height: var(--R); overflow: hidden; background: #0e1214; }
.mk-auth .mk-auth-reveal__photo > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; transform: scale(calc(1.364 + .1 * (1 - var(--e)))); /* 1.364 x alto de la franja (--R incluye +10 %) = tamaño final de la batería; +.1 = zoom out al abrirse */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mk-auth .mk-auth-reveal__edge, .mk-auth .mk-auth-reveal__door img { position: absolute; left: 0; width: 100%; max-width: none; height: var(--edge); }
.mk-auth .mk-auth-reveal__edge--top { top: 0; }
.mk-auth .mk-auth-reveal__edge--bot { bottom: 0; }
.mk-auth-reveal__door { position: absolute; left: 0; right: 0; z-index: 2; height: calc(50% + var(--edge) * .55); will-change: transform; filter: drop-shadow(0 0 8px rgba(0,0,0,.45)); }
.mk-auth-reveal__door::before { content: ""; position: absolute; left: 0; right: 0; background: var(--mk-teal); }
.mk-auth-reveal__door--top { top: 0; z-index: 3; transform: translateY(calc(var(--e) * -118%)); }
.mk-auth-reveal__door--top::before { top: 0; bottom: calc(var(--edge) - 1px); }
.mk-auth .mk-auth-reveal__door--top img { bottom: 0; }
.mk-auth-reveal__door--bot { bottom: 0; transform: translateY(calc(var(--e) * 118%)); }
.mk-auth-reveal__door--bot::before { top: calc(var(--edge) - 1px); bottom: 0; }
.mk-auth .mk-auth-reveal__door--bot img { top: 0; }
@media (max-width: 768px) {
  .mk-auth-reveal { --R: 396px; }
  .mk-auth-reveal .mk-auth-reveal__title { padding: 26px 16px 14px; }
  .mk-auth-reveal .mk-auth-reveal__icons { padding: 18px 16px 36px; }
  .mk-auth .mk-auth-reveal__title > h2 { font-size: 22px; }
  .mk-auth .mk-auth-reveal__photo > img:first-child { object-fit: cover; transform: scale(calc(1 + .1 * (1 - var(--e)))); } /* mobile: la foto ya llena el ancho, zoom menor */
}

/* El sitio (cordless.css) pone * { margin: 0 }, que anula el centrado nativo de <dialog>. */
dialog.mk-auth-dialog[open] { position: fixed; inset: 0; margin: auto; }
