/* Catálogo estilo revista. Colores y letra vienen del diseño (variables en <html>, ver src/theme.js);
   cada estilo ([data-style], al final) cambia la composición. Mobile-first; sin JavaScript se lee como páginas apiladas. */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --sold: #b0283f;
  --sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --btn-radius: 6px;
  --ease: cubic-bezier(.35, .05, .25, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper-2); color: var(--ink); font: 18px/1.5 var(--sans); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }

/* Barra superior */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--dark); color: var(--on-dark); }
.masthead { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; }
.masthead span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.masthead .logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.search-open { display: none; flex: none; padding: 9px 18px; border: 1px solid var(--gold-on-dark); border-radius: 999px; background: transparent; color: var(--on-dark); font-weight: 600; }
.js .search-open { display: block; }

/* Páginas */
.page { position: relative; min-height: calc(100svh - 58px); padding: 26px 22px 64px; background: var(--paper); border-bottom: 1px solid var(--line); }
.issue { margin: 0 0 8px; color: var(--gold); font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* Portada */
.cover { display: flex; align-items: flex-end; padding: 0; overflow: hidden; background: var(--dark); color: #fff; }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .8)); }
.cover-text { position: relative; z-index: 1; width: 100%; padding: 28px 24px 40px; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.cover .issue, .back-cover .issue, .lines strong { color: var(--gold-on-dark); }
/* El tamaño sigue al ancho de la página (cqw), no al de la pantalla: en computadora cada página es angosta. */
.cover h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); font-size: clamp(1.8rem, 11cqw, 4.6rem); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; }
.kicker { margin: 6px 0 18px; font-family: var(--display); font-style: italic; font-size: 1.25rem; }
.lines { margin: 0; font-size: 1.1rem; }
.lines strong { font-family: var(--display); font-size: 1.6rem; }
.brands { margin: 8px 0 0; font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; }
.hint { margin: 22px 0 0; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* Índice */
.contents h2 { font-size: 2.8rem; margin-bottom: 22px; }
.contents ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contents a { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; color: inherit; text-decoration: none; font-size: 1.2rem; }
.contents a span { font-family: var(--display); }
.contents small { display: block; color: var(--muted); font: .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.contents a i { flex: 1; border-bottom: 1px dotted var(--muted); }
.contents a b { font-family: var(--display); color: var(--gold); }
.contents .note { margin-top: 26px; color: var(--muted); font-size: 1rem; }

/* Página de producto */
.product { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; }
.photos { position: relative; display: flex; flex-direction: column; gap: 10px; }
/* Marco: muestra la miniatura borrosa hasta que llega la foto. */
.frame { position: relative; display: flex; overflow: hidden; background: #fff center / cover no-repeat; border: 1px solid var(--line); cursor: zoom-in; }
.frame::before { content: ''; position: absolute; inset: -12px; background: inherit; filter: blur(12px); }
/* height:auto: el atributo height de la <img> no debe estirarla; la foto deja espacio al texto. */
.photos .main { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 38svh; object-fit: contain; background: #fff; }
.frame[style] .main { background: transparent; }
html:not(.js) .main[data-src] { display: none; } /* sin JavaScript se usa la foto de <noscript> */
.js .main, .js .cover-photo, .viewer img { opacity: 0; transition: opacity .6s ease; }
.js .main.loaded, .js .cover-photo.loaded, .viewer img.loaded { opacity: 1; }
.zoom { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(28, 26, 24, .55); color: #fff; font-size: 1.1rem; pointer-events: none; }
.no-photo { display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; font-size: 4rem; opacity: .4; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; background: #fff; transition: border-color .2s; }
.thumbs button.on { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.copy { display: flex; flex-direction: column; gap: 4px; }
.brand { margin: 0; color: var(--gold); font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.copy h2 { font-size: 1.75rem; }
.price { margin: 2px 0 0; font-family: var(--display); font-size: 1.5rem; }
.cat { margin: 0; color: var(--muted); font-style: italic; }
.desc { margin: 6px 0 0; color: var(--muted); }
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-top: 10px; padding: 12px 20px; border-radius: var(--btn-radius); background: var(--wa); color: var(--on-wa); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.wa:hover, .wa-float:hover { filter: brightness(1.1); }
/* El folio va dentro del flujo (al fondo de la página): ningún texto puede quedar debajo de él. */
.actions { display: contents; }
.more { display: none; }
.folio { display: flex; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.folio span { font-family: var(--display); color: var(--ink); }

/* Agotadas: se ven, pero claramente no disponibles */
.sold .main { filter: grayscale(1); }
.sold .main.loaded { opacity: .55; }
.sold .price { color: var(--muted); text-decoration: line-through; }
.stamp { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); padding: 8px 22px; border: 4px double var(--sold); background: rgba(247, 243, 238, .92); color: var(--sold); font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: .12em; pointer-events: none; }
.sold-note { margin: 14px 0 0; color: var(--sold); font-weight: 600; }

/* Contraportada */
.back-cover { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; background: var(--dark); color: var(--on-dark); }
.back-cover h2 { font-size: 2.4rem; font-style: italic; }
.back-cover .wa { width: min(360px, 100%); }
.updated { margin-top: 24px; opacity: .7; font-size: .9rem; }

/* WhatsApp siempre a la mano */
.wa-float { position: fixed; right: 16px; bottom: calc(84px + var(--safe-bottom)); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--wa); color: var(--on-wa); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); animation: float-in .6s .8s both; }
html:not(.js) .wa-float { bottom: calc(16px + var(--safe-bottom)); }

/* ——— Modo revista (con JavaScript) ——— */
html.js { overflow: hidden; } /* la revista cerrada se desplaza; que no aparezca barra lateral */
.js body { display: flex; flex-direction: column; height: 100svh; overflow: hidden; }
.js .book { position: relative; flex: 1; min-height: 0; width: 100%; max-width: 560px; margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.js .book.two { max-width: min(1280px, calc((100svh - 150px) * 1.5)); }
.instant .leaf, .instant .spread, .instant .face { transition: none !important; }
/* Las hojas son capas planas apiladas por z-index, cada una con su propio 3D:
   así Safari (iPhone) respeta qué hoja va encima mientras gira. */
.spread { position: absolute; inset: 12px 0; perspective: 1500px; transition: transform .9s var(--ease); }
.two .spread { perspective: 2600px; }
.two.at-start .spread { transform: translateX(-25%); }
.two.at-end .spread { transform: translateX(25%); }
/* Celular: la hoja gira hasta el lomo (90°), así todo el giro se ve en pantalla. Computadora: pasa al otro lado. */
.leaf { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.45, .05, .55, .95); will-change: transform; }
.leaf.turned { transform: rotateY(-90deg); }
.two .leaf { left: 50%; width: 50%; transition-duration: .9s; transition-timing-function: var(--ease); }
.two .leaf.turned { transform: rotateY(-180deg); }
.leaf.fast { transition-duration: .25s; }
.leaf.dragging { transition: none; }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--paper); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
/* Safari sigue recibiendo toques en la cara de espaldas (aunque no se vea): así tapaba los links del índice en iPhone. */
.leaf.turned > .front, .leaf:not(.turned) > .back { pointer-events: none; }
/* Revista abierta: a medio giro se apaga la cara que ya no se ve (Safari a veces la deja ver a través de la hoja). */
.two .face { transition: visibility 0s .3s; }
.two .leaf.turned > .front, .two .leaf:not(.turned) > .back { visibility: hidden; }
.two .leaf.fast > .face { transition-delay: .09s; }
.leaf.dragging > .face { visibility: visible; transition: none; }
.face.back { transform: rotateY(180deg); }
.face.paper { background: linear-gradient(90deg, var(--paper-2), var(--paper) 30%); }
.face-scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; container: hoja / size; }
.face-scroll > .page { min-height: 100%; border: 0; }
/* Sombra que recorre la hoja mientras gira (sigue al dedo en --shade). */
.face::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--shade, 0); background: linear-gradient(to left, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 70%); }
.face.back::after { background: linear-gradient(to right, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 70%); }
.leaf.moving:not(.dragging) .face::after { animation: shade .9s ease-in-out; }
.leaf.fast .face::after { animation-duration: .25s; }
/* Sombra del lomo en la revista abierta */
.two .face.front { box-shadow: inset 18px 0 24px -18px rgba(0, 0, 0, .35), 0 6px 24px rgba(0, 0, 0, .18); }
.two .face.back { box-shadow: inset -18px 0 24px -18px rgba(0, 0, 0, .35), 0 6px 24px rgba(0, 0, 0, .18); }
/* En la revista, la foto ocupa el espacio que dejan el texto y el botón (que siempre se ven). */
.face-scroll > .product { height: 100%; }
.face .photos { flex: 1 1 0; min-height: 140px; }
.face .frame { flex: 1 1 0; min-height: 0; }
.face .photos .main { max-height: none; aspect-ratio: auto; height: 100%; }
.face .desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Poco espacio (página baja o angosta): la bolsa se resume y "Ver detalles" abre todo. */
@container hoja (height < 660px) or (width < 360px) {
  .product { gap: 8px; }
  .thumbs, .cat, .face .desc, .sold-note, .long { display: none; }
  .copy h2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.35rem; }
  .price { font-size: 1.3rem; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
  .more { display: block; min-height: 48px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: var(--btn-radius); background: transparent; color: var(--ink); font-weight: 600; }
  .more:only-child { grid-column: 1 / -1; }
  .wa { min-height: 48px; margin-top: 0; padding: 8px 10px; font-size: 1rem; }
}
@container hoja (height < 460px) { .cover .hint, .cover .brands { display: none; } }

/* Detalle de la bolsa: toda su información (fotos, categoría, descripción completa y WhatsApp). */
.detail { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(28, 26, 24, .55); }
.detail[hidden] { display: none; }
.detail-box { position: relative; display: flex; width: min(960px, 100%); max-height: 100%; border-radius: 10px; background: var(--paper); }
.detail-body { display: grid; gap: 16px; align-content: start; width: 100%; padding: 60px 18px 20px; overflow-y: auto; }
.detail-close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.2rem; }
.detail .photos .main { max-height: 50svh; }
.detail .copy { gap: 6px; }

/* Al llegar a una página, su contenido entra con suavidad (mientras la hoja anterior termina de girar). */
.page.enter .copy > *, .page.enter .cover-text > *, .page.enter.contents li, .page.enter.back-cover > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) calc(.3s + var(--d, 0s)) both; }
.copy > :nth-child(2), .cover-text > :nth-child(2), .contents li:nth-child(2), .back-cover > :nth-child(2) { --d: .08s; }
.copy > :nth-child(3), .cover-text > :nth-child(3), .contents li:nth-child(3), .back-cover > :nth-child(3) { --d: .16s; }
.copy > :nth-child(n+4), .cover-text > :nth-child(n+4), .contents li:nth-child(n+4), .back-cover > :nth-child(n+4) { --d: .24s; }
.js .cover-photo.loaded { animation: kenburns 16s ease-out both; }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 16px calc(12px + var(--safe-bottom)); }
.pager[hidden] { display: none; }
.pager button { flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.8rem; line-height: 1; }
.pager button:disabled { opacity: .25; cursor: default; }
.where { min-width: 130px; white-space: nowrap; text-align: center; color: var(--muted); font-size: 1rem; }

/* Foto ampliada */
.viewer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(10, 9, 8, .95); touch-action: pinch-zoom; }
.viewer[hidden] { display: none; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .4s ease, transform .35s ease; cursor: zoom-in; }
.viewer img.zoomed { transform: scale(2.2); cursor: zoom-out; }
.viewer button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.6rem; }
.viewer-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }
.viewer.single .viewer-prev, .viewer.single .viewer-next { display: none; }
.viewer-count { position: absolute; bottom: calc(18px + var(--safe-bottom)); margin: 0; color: #fff; letter-spacing: .12em; }

/* Buscador */
.search { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 16px; background: rgba(28, 26, 24, .55); }
.search[hidden] { display: none; }
.search-box { width: min(560px, 100%); max-height: 100%; overflow-y: auto; display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 10px; background: var(--paper); }
.search-head { display: flex; gap: 10px; }
.search input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: #1c1a18; }
.search-close { flex: none; width: 50px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range label { display: grid; gap: 4px; color: var(--muted); font-size: .95rem; }
.count { margin: 0; color: var(--muted); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.results button { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); text-align: left; }
.results img, .results .none-img { width: 64px; height: 64px; object-fit: cover; background: var(--paper); }
.results small { display: block; color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }
.results b { font-family: var(--display); font-weight: 600; }
.results em { color: var(--muted); font-style: normal; font-size: .9rem; }
.results .sold-row { opacity: .6; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes shade { 50% { opacity: .55; } }
@keyframes kenburns { from { transform: scale(1.12); } }
@keyframes float-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }

/* ——— Estilos (los elige el administrador; "editorial" es el de arriba) ——— */
[data-style="minimal"], [data-style="moderno"] { --btn-radius: 0; }
[data-style="glam"], [data-style="boutique"] { --btn-radius: 999px; }

/* Minimalista: aire, letra ligera, todo centrado */
[data-style="minimal"] h1, [data-style="minimal"] h2 { font-weight: 300; }
[data-style="minimal"] .copy, [data-style="minimal"] .cover-text { align-items: center; text-align: center; }
[data-style="minimal"] .cover { align-items: center; }
[data-style="minimal"] .cover::after { background: rgba(0, 0, 0, .4); }
[data-style="minimal"] .cover h1 { font-size: clamp(2.2rem, 9vw, 4rem); font-size: clamp(1.6rem, 8.5cqw, 4rem); font-weight: 200; letter-spacing: .16em; }
[data-style="minimal"] .frame { border: 0; }
[data-style="minimal"] .folio { border-top: 0; justify-content: center; gap: 12px; }

/* Glam: marcos dorados, cursivas y adornos */
[data-style="glam"] .page::before { content: ''; position: absolute; inset: 8px; z-index: 2; border: 1px solid var(--gold); opacity: .5; pointer-events: none; }
[data-style="glam"] .copy, [data-style="glam"] .cover-text { align-items: center; text-align: center; }
[data-style="glam"] h1, [data-style="glam"] h2 { font-style: italic; text-transform: none; }
[data-style="glam"] .brand::before, [data-style="glam"] .brand::after { content: ' ✦ '; font-size: .7em; }
[data-style="glam"] .frame { border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -7px; }

/* Moderno: foto de orilla a orilla, letra fuerte en mayúsculas */
[data-style="moderno"] h1, [data-style="moderno"] h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
[data-style="moderno"] .cover h1 { font-size: clamp(3rem, 15vw, 6rem); font-size: clamp(2rem, 12cqw, 6rem); line-height: .92; }
[data-style="moderno"] .product { padding-top: 0; padding-inline: 0; }
[data-style="moderno"] .product .copy, [data-style="moderno"] .thumbs { padding-inline: 22px; }
[data-style="moderno"] .folio { margin-inline: 22px; }
[data-style="moderno"] .frame { border: 0; }
[data-style="moderno"] .brand { align-self: flex-start; padding: 3px 10px; background: var(--ink); color: var(--paper); }
[data-style="moderno"] .price { font-weight: 800; }
[data-style="moderno"] .wa { text-transform: uppercase; letter-spacing: .1em; }

/* Boutique: esquinas suaves y tarjetas */
[data-style="boutique"] .frame { border: 0; border-radius: 20px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
[data-style="boutique"] .copy { padding: 14px 18px 18px; border-radius: 20px; background: var(--paper-2); }
[data-style="boutique"] .thumbs button { border-radius: 12px; overflow: hidden; }
[data-style="boutique"] .cover-text { width: auto; margin: 16px; padding: 22px; border-radius: 22px; background: rgba(0, 0, 0, .45); }
[data-style="boutique"] .cover h1 { font-size: clamp(2.2rem, 9vw, 4.2rem); font-size: clamp(1.6rem, 9cqw, 4.6rem); }
[data-style="boutique"] .contents a { padding-inline: 14px; border-radius: 14px; }
[data-style="boutique"] .contents li:nth-child(odd) a { background: var(--paper-2); }

/* Poco espacio, ajustes que deben ganarle a cada estilo (por eso van después de ellos). */
@container hoja (height < 660px) or (width < 360px) { [data-style="boutique"] .copy { padding: 10px 14px 12px; } }
@container hoja (height < 480px) {
  .product { padding: 14px 16px 10px; gap: 6px; }
  .face .photos { min-height: 96px; }
  .copy h2 { font-size: 1.15rem; -webkit-line-clamp: 1; }
  .folio { padding-top: 4px; font-size: .7rem; }
  [data-style="boutique"] .copy { padding: 8px 12px 10px; }
}

/* Celular: el WhatsApp flotante vive al final de la barra de páginas (no tapa nada). */
@media (max-width: 899px) {
  .js .pager { padding-right: 76px; gap: 12px; }
  .js .where { min-width: 0; }
  .js .wa-float { right: 14px; bottom: calc(8px + var(--safe-bottom)); justify-content: center; width: 54px; height: 54px; padding: 0; }
  .js .wa-float span { display: none; }
  .js .wa-float svg { width: 28px; height: 28px; }
}

@media (min-width: 900px) {
  .page { padding: 34px 38px 70px; }
  .product { padding-bottom: 22px; }
  .photos .main { max-height: 40svh; }
  .detail-body { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
  .wa-float { bottom: 24px; right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
