/*
 * Piezas compartidas de Navidad y Reyes: capa de decoración fija, nieve o estrellas,
 * botón y diálogo del buzón, carta, impresión, y la franja del juego en la portada
 * (calendario de Adviento, roscón).
 * Cada temporada pone sus colores en --sr-fondo, --sr-tinta, --sr-suave, --sr-acento y --sr-acento-tinta
 * (buzón) y en --sr-franja-* (franja del juego).
 */

/* ---------- Capa fija: se queda quieta al hacer scroll ---------- */
.sr-decor { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.sr-oculto .sr-decor, .sr-oculto .sr-escondido { display: none; }

/* Nieve: copos que caen con un poco de deriva */
[data-sr-cielo="nieve"] span { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(120 150 170 / 0.35); opacity: 0.9; animation: sr-nevar linear infinite; }
@keyframes sr-nevar { to { transform: translate(var(--deriva), 125vh); } }

/* Estrellas: puntos que titilan */
[data-sr-cielo="estrellas"] span { position: absolute; border-radius: 50%; background: var(--sr-acento); opacity: 0.35; animation: sr-titilar ease-in-out infinite alternate; }
@keyframes sr-titilar { to { opacity: 0.95; transform: scale(1.4); } }

/* ---------- Botón del buzón ---------- */
.sr-buzon-boton {
	position: fixed; right: clamp(10px, 2vw, 28px); bottom: clamp(10px, 2vw, 24px); z-index: 60;
	display: inline-flex; align-items: center; gap: 0.5rem; min-height: 56px; padding: 0.375rem 1.125rem 0.375rem 0.5rem;
	border: 2px solid var(--sr-acento); border-radius: 999px; background: var(--sr-fondo); color: var(--sr-tinta);
	font: 700 var(--wp--preset--font-size--small) / 1.2 var(--wp--preset--font-family--texto); cursor: pointer;
}
.sr-buzon-boton:focus-visible { outline: 3px solid var(--sr-acento); outline-offset: 3px; }
.sr-buzon-boton svg { flex: 0 0 auto; }

/* ---------- Diálogo y carta ---------- */
.sr-buzon { width: min(32rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 1.75rem 1.5rem 1.25rem; border: 0; border-radius: 14px; background: var(--sr-fondo); color: var(--sr-tinta); }
.sr-buzon::backdrop { background: rgb(15 20 25 / 0.6); }
.sr-buzon h2 { margin: 0 0 0.25rem; color: var(--sr-tinta); font-size: var(--wp--preset--font-size--x-large); }
.sr-buzon p { margin: 0 0 1rem; }
.sr-buzon a { color: var(--sr-acento); }
.sr-buzon :focus-visible { outline: 3px solid var(--sr-acento); outline-offset: 2px; }
.sr-buzon__intro { color: var(--sr-suave); }
.sr-buzon__cerrar { position: absolute; top: 0.5rem; right: 0.5rem; margin: 0; }
.sr-buzon__cerrar button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--sr-tinta); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.sr-buzon__cabecera { display: flex; gap: 1rem; align-items: flex-start; }
.sr-buzon__dibujo { flex: 0 0 auto; }

.sr-para { margin: 0 0 1rem; padding: 0; border: 0; }
.sr-para legend { margin-bottom: 0.375rem; font-weight: 700; }
.sr-para label { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 44px; margin-right: 1rem; cursor: pointer; }
.sr-para input { width: 1.125rem; height: 1.125rem; accent-color: var(--sr-acento); }

.sr-carta { margin-bottom: 0.75rem; padding: 1rem 1.125rem; border-radius: 10px; background: #FBF8F1; color: #1E2A2F; }
.sr-carta__saludo { margin: 0 0 0.5rem !important; font-family: var(--wp--preset--font-family--titulares); font-size: var(--wp--preset--font-size--large); font-weight: 600; }
.sr-carta label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-carta textarea { display: block; width: 100%; min-height: 8.5rem; padding: 0.5rem 0; border: 0; background: repeating-linear-gradient(transparent 0 1.85rem, #D9D2C3 1.85rem calc(1.85rem + 1px)); color: inherit; font: inherit; line-height: 1.85rem; resize: vertical; }
.sr-carta textarea:focus-visible { outline: 3px solid var(--sr-acento); outline-offset: 4px; }
.sr-carta textarea[aria-invalid="true"] { outline: 3px solid #B42318; outline-offset: 4px; }
.sr-firma { margin-bottom: 0.75rem !important; }
.sr-firma label { display: block; margin-bottom: 0.25rem; font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.sr-firma input { width: 100%; max-width: 20rem; min-height: 44px; padding: 0 0.75rem; border: 0; border-radius: 6px; background: #FBF8F1; color: #1E2A2F; font: inherit; }
.sr-firma input:focus-visible { outline: 3px solid var(--sr-acento); outline-offset: 2px; }
.sr-aviso-privado { color: var(--sr-suave); font-size: var(--wp--preset--font-size--small); }

.sr-estado:not(:empty) { margin-bottom: 1rem; padding: 0.875rem 1rem; border-radius: 10px; background: rgb(255 255 255 / 0.1); }
.sr-estado strong { display: block; margin-bottom: 0.125rem; color: var(--sr-acento); font-family: var(--wp--preset--font-family--titulares); font-size: var(--wp--preset--font-size--large); }

.sr-acciones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sr-acciones button { min-height: 48px; padding: 0 1.125rem; border-radius: 6px; font-weight: 700; cursor: pointer; }
.sr-echar { border: 0; background: var(--sr-acento); color: var(--sr-acento-tinta); }
.sr-imprimir { border: 2px solid var(--sr-tinta); background: transparent; color: var(--sr-tinta); }
.sr-quitar { margin: 0 !important; }
.sr-quitar button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--sr-tinta); text-decoration: underline; cursor: pointer; font-size: var(--wp--preset--font-size--small); }

/* La carta entra por la ranura del buzón */
.sr-buzon__sobre { transform-box: fill-box; transform-origin: center; opacity: 0; }
.sr-buzon__dibujo--echar .sr-buzon__sobre { animation: sr-echar 1.1s ease-in forwards; }
@keyframes sr-echar { 0% { opacity: 1; transform: translate(0, -34px) rotate(-12deg); } 60% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(0, 10px) scaleY(0.2); } }
.sr-buzon__dibujo--echar .sr-buzon__bandera { animation: sr-bandera 0.6s 1s ease-out forwards; transform-box: fill-box; transform-origin: bottom left; }
@keyframes sr-bandera { to { transform: rotate(-80deg); } }

/* ---------- Franja del juego en la portada (juego.html, debajo de la bienvenida) ---------- */
/* Cada temporada pone sus colores en --sr-franja-fondo, --sr-franja-tinta, --sr-franja-titulo y --sr-franja-acento. */
.sr-juego { padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem); background: var(--sr-franja-fondo); color: var(--sr-franja-tinta); }
.sr-juego__dentro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "texto figura" "resultado figura"; align-items: center; column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: 0.5rem; }
.sr-juego__texto { grid-area: texto; }
.sr-juego__figura { grid-area: figura; }
.sr-juego__resultado { grid-area: resultado; }
.sr-juego .antetitulo { color: var(--sr-franja-acento); }
.sr-juego h2 { margin: 0.5rem 0 0.75rem; color: var(--sr-franja-titulo); font-size: clamp(1.75rem, 3vw, 2.375rem); }
.sr-juego p { margin: 0 0 0.75rem; }
.sr-juego__estado { font-weight: 600; color: var(--sr-franja-titulo); }
.sr-juego__estado:empty { display: none; }

/* ---------- Calendario de Adviento ---------- */
.sr-adviento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.625rem; }
.sr-puerta { position: relative; aspect-ratio: 1; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: #A3242B; color: #fff; font: 700 clamp(1.25rem, 2.2vw, 1.75rem) / 1 var(--wp--preset--font-family--titulares); cursor: pointer; box-shadow: inset 0 0 0 3px rgb(255 255 255 / 0.22), inset 4px 4px 0 rgb(0 0 0 / 0.1); transition: transform 0.15s; }
.sr-puerta::before { content: ""; position: absolute; right: 11%; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: rgb(255 255 255 / 0.55); } /* el pomo */
.sr-puerta:hover { transform: translateY(-2px); }
.sr-puerta:nth-child(3n) { background: #1E6B48; }
.sr-puerta:nth-child(5n+2) { background: #B8862B; color: #1E2A2F; }
.sr-puerta:nth-child(5n+2)::before { background: rgb(0 0 0 / 0.3); }
.sr-puerta--abierta { background: #FBF8F1 !important; color: #8A4A0E !important; box-shadow: inset 0 0 0 3px #C99A2E; }
.sr-puerta--abierta::before, .sr-puerta--bloqueada::before { display: none; }
.sr-puerta--abierta::after { content: "\2605"; position: absolute; right: 6px; top: 4px; font-size: 0.8rem; color: #C99A2E; }
.sr-puerta--bloqueada { background: #D3DCE1 !important; color: #4A5357 !important; box-shadow: none; cursor: not-allowed; }
.sr-puerta--bloqueada::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 12px; height: 12px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 0 1 12 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h8V8a4 4 0 0 0-8 0z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 0 1 12 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h8V8a4 4 0 0 0-8 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sr-puerta--pasada { background: #D3DCE1 !important; color: #4A5357 !important; box-shadow: none; cursor: not-allowed; }
.sr-puerta--pasada::before { display: none; }
.sr-puerta--pasada::after { content: "\00d7"; position: absolute; right: 7px; bottom: 3px; font: 700 1rem / 1 var(--wp--preset--font-family--texto); } /* era de un día que ya pasó */
.sr-puerta--hoy { outline: 3px solid var(--sr-franja-acento); outline-offset: 3px; }

/* Mini rollos de la plaza y el título */
.sr-rollos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.625rem; margin: 0 0 0.75rem !important; }
.sr-rollo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #FBF8F1; box-shadow: inset 0 0 0 2px #C9C2B6; }
.sr-rollo svg { width: 46px; height: 46px; }
.sr-rollo--vacio { background: transparent; box-shadow: none; border: 2px dashed #9FB0B9; }
.sr-rollos__cuenta { flex-basis: 100%; font-weight: 600; font-size: var(--wp--preset--font-size--small); }
@media (min-width: 1100px) { .sr-rollos__cuenta { flex-basis: auto; margin-left: 0.25rem; } }
.sr-titulo { display: flex; align-items: center; gap: 1rem; margin: 0 0 0.75rem; padding: 1rem 1.125rem; border: 2px solid #C99A2E; border-radius: 10px; background: #FBF8F1; }
.sr-titulo svg { flex: 0 0 auto; width: 68px; height: 68px; }
.sr-titulo p { margin: 0 !important; }
.sr-titulo__rotulo { display: block; font-size: var(--wp--preset--font-size--x-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7A5A12; }
.sr-titulo strong { display: block; margin: 0.125rem 0; font-family: var(--wp--preset--font-family--titulares); font-size: var(--wp--preset--font-size--large); line-height: 1.2; color: var(--sr-franja-titulo); }
.sr-ventana__rollo { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1rem; padding: 0.75rem 0.875rem; border: 2px solid #C99A2E; border-radius: 10px; background: #FFFDF7; }
.sr-ventana__rollo svg { flex: 0 0 auto; width: 56px; height: 56px; }
.sr-ventana__rollo p { margin: 0 !important; }
.sr-ventana__rollo strong { display: block; color: #7A5A12; }

/* Las figuritas coleccionadas (roscón) */
.sr-figuras__titulo { margin: 0 0 0.375rem !important; font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.sr-figuras { display: flex; flex-wrap: wrap; gap: 0.5rem 0.25rem; list-style: none; margin: 0 0 0.75rem; padding: 0; }
.sr-figuras li { display: flex; flex-direction: column; align-items: center; gap: 0.125rem; width: 72px; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; line-height: 1.15; text-align: center; color: #4A5357; }
.sr-figuras svg { width: 54px; height: 54px; }
.sr-puerta:focus-visible { outline: 3px solid var(--sr-franja-tinta); outline-offset: 3px; }
.sr-puerta--abriendo { animation: sr-abrir 0.32s ease-in; transform-origin: left center; }
@keyframes sr-abrir { 60% { transform: perspective(500px) rotateY(-75deg); } }
.sr-puerta--no { animation: sr-no 0.35s; }
@keyframes sr-no { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* La ventanita con la sorpresa */
.sr-ventana { width: min(28rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 14px; background: #FBF8F1; color: #1E2A2F; box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); }
.sr-ventana::backdrop { background: rgb(15 20 25 / 0.6); }
.sr-ventana__dentro { padding: 1.75rem 1.75rem 1.5rem; outline: none; }
.sr-ventana__cerrar { position: absolute; top: 0.5rem; right: 0.5rem; margin: 0; }
.sr-ventana__cerrar button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #1E2A2F; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.sr-ventana__dia { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.875rem; font-size: var(--wp--preset--font-size--x-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7A5A12; }
.sr-ventana__numero { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: var(--sr-franja-acento, #A3242B); color: #fff; font: 700 1.5rem / 1 var(--wp--preset--font-family--titulares); letter-spacing: 0; }
.sr-ventana__tipo { display: inline-flex; align-items: center; gap: 0.375rem; margin: 0 0 0.5rem; padding: 0.25rem 0.625rem; border-radius: 999px; background: #EDE7D8; color: #5B4A1E; font-size: var(--wp--preset--font-size--x-small); font-weight: 700; }
.sr-ventana__tipo svg { width: 16px; height: 16px; }
.sr-ventana h3 { margin: 0 0 0.5rem; color: var(--sr-franja-titulo, #14372C); font-size: var(--wp--preset--font-size--x-large); }
.sr-ventana p { margin: 0 0 0.75rem; }
.sr-ventana a { color: #A3242B; }
.sr-ventana form { margin: 0; }
.sr-ventana__boton { min-height: 44px; padding: 0 1.125rem; border: 2px solid #1E2A2F; border-radius: 6px; background: transparent; color: #1E2A2F; font-weight: 700; cursor: pointer; }
.sr-ventana :focus-visible { outline: 3px solid #A3242B; outline-offset: 2px; }

/* ---------- El roscón ---------- */
.sr-roscon { position: relative; width: 320px; height: 320px; margin: 0 auto; border-radius: 50%; background: #FFFDF7; box-shadow: 0 0 0 8px #EFE3C9; } /* el plato */
.sr-roscon::before { content: ""; position: absolute; inset: 28px; border-radius: 50%; border: 70px solid #D99A3E; box-shadow: inset 0 0 0 3px #B87A2A, 0 6px 0 #B87A2A; }
.sr-roscon__centro { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 100px; text-align: center; font-size: var(--wp--preset--font-size--x-small); font-weight: 700; line-height: 1.2; color: #5B6B64; }
.sr-porcion { position: absolute; top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transform: rotate(calc(var(--i) * 45deg)) translate(112px) rotate(calc(var(--i) * -45deg)); transition: transform 0.2s; }
.sr-porcion svg { display: block; width: 100%; height: 100%; }
.sr-porcion:hover:not(:disabled) { transform: rotate(calc(var(--i) * 45deg)) translate(112px) rotate(calc(var(--i) * -45deg)) scale(1.12); }
.sr-porcion:focus-visible { outline: 3px solid var(--sr-franja-titulo); outline-offset: 3px; }
.sr-porcion:disabled { cursor: default; }
.sr-porcion--elegida { transform: rotate(calc(var(--i) * 45deg)) translate(112px) rotate(calc(var(--i) * -45deg)) scale(1.25) !important; z-index: 1; }
.sr-porcion--apagada { opacity: 0.45; }
.sr-roscon__resultado:not(:empty) { margin-bottom: 0.75rem; padding: 1rem 1.125rem; border: 1px solid #E6D9BC; border-radius: 10px; background: #FFFDF7; }
.sr-roscon__resultado strong { display: block; margin-bottom: 0.125rem; color: var(--sr-franja-titulo); font-family: var(--wp--preset--font-family--titulares); font-size: var(--wp--preset--font-size--large); }
.sr-roscon__otro { border: 2px solid var(--sr-franja-titulo); background: transparent; color: var(--sr-franja-titulo); }
.sr-roscon__otro:hover { background: var(--sr-franja-titulo); color: #fff; }
.sr-rey .sr-buzon-boton::after { content: ""; position: absolute; top: -14px; left: 4px; width: 30px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M3 22l-2-16 8 7 7-12 7 12 8-7-2 16z' fill='%23E8C15A'/%3E%3Crect x='3' y='21' width='26' height='3' fill='%23C99A2E'/%3E%3Ccircle cx='16' cy='15' r='2.5' fill='%23A3242B'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-12deg); }

@media (max-width: 781px) {
	.sr-juego__dentro { grid-template-columns: 1fr; grid-template-areas: "texto" "figura" "resultado"; row-gap: 1.25rem; }
	.sr-adviento { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
	.sr-puerta { font-size: 1.375rem; }
}
@media (max-width: 480px) {
	.sr-roscon { width: 272px; height: 272px; }
	.sr-roscon::before { inset: 24px; border-width: 60px; }
	.sr-roscon__centro { width: 88px; }
	.sr-porcion { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
	.sr-porcion, .sr-porcion:hover:not(:disabled), .sr-porcion--elegida { transform: rotate(calc(var(--i) * 45deg)) translate(94px) rotate(calc(var(--i) * -45deg)); }
	.sr-porcion--elegida { transform: rotate(calc(var(--i) * 45deg)) translate(94px) rotate(calc(var(--i) * -45deg)) scale(1.2) !important; }
}

.sr-anuncio { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- El folio de la carta (A4), para imprimir o guardar en PDF ---------- */
.sr-hoja { display: none; }
.sr-folio {
	--folio-tinta: #1E2A2F;
	position: relative; box-sizing: border-box; width: 210mm; height: 296mm; overflow: hidden;
	padding: 62mm 24mm 22mm; background: var(--folio-papel, #FFFDF7); color: var(--folio-tinta);
	font-family: var(--wp--preset--font-family--titulares); print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.sr-folio__marco { position: absolute; inset: 8mm; border: 1.2mm solid var(--folio-marco); border-radius: 4mm; }
.sr-folio__marco::after { content: ""; position: absolute; inset: 2mm; border: 0.4mm solid var(--folio-marco); border-radius: 2.5mm; }
.sr-folio__arte { position: absolute; top: 11.5mm; left: 11.5mm; right: 11.5mm; height: 48mm; overflow: hidden; border-radius: 2mm 2mm 0 0; }
.sr-folio__arte svg { display: block; width: 100%; height: 100%; }
.sr-folio__titulo { position: relative; margin: 0 0 1mm; font-size: 23pt; font-weight: 700; line-height: 1.1; text-align: center; color: var(--folio-titulo); }
.sr-folio__subtitulo { margin: 0 0 7mm; font-family: var(--wp--preset--font-family--texto); font-size: 9.5pt; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; color: var(--folio-suave); }
.sr-folio__saludo { margin: 0 0 3mm; font-size: 17pt; font-weight: 600; }
.sr-folio__texto {
	min-height: 118mm; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere;
	font-size: 14.5pt; font-style: italic; line-height: 9.5mm;
	background: repeating-linear-gradient(transparent 0 9.1mm, var(--folio-renglon) 9.1mm 9.5mm);
}
.sr-hoja--larga .sr-folio__texto { min-height: 104mm; font-size: 12pt; line-height: 7.6mm; background: repeating-linear-gradient(transparent 0 7.2mm, var(--folio-renglon) 7.2mm 7.6mm); }
.sr-hoja--muy-larga .sr-folio__texto { font-size: 10.5pt; line-height: 6.4mm; background: repeating-linear-gradient(transparent 0 6mm, var(--folio-renglon) 6mm 6.4mm); }
.sr-folio__firma { margin: 6mm 0 0 auto; width: 70mm; text-align: center; font-size: 13pt; }
.sr-folio__firma span { display: block; min-height: 9mm; border-bottom: 0.4mm solid var(--folio-suave); font-style: italic; font-size: 16pt; }
.sr-folio__firma small { display: block; margin-top: 1.5mm; font-family: var(--wp--preset--font-family--texto); font-size: 8.5pt; color: var(--folio-suave); }
.sr-hoja--sin-firma .sr-folio__firma span { min-height: 12mm; }
.sr-folio__pie { position: absolute; left: 24mm; right: 24mm; bottom: 15mm; display: flex; align-items: center; justify-content: space-between; gap: 6mm; font-family: var(--wp--preset--font-family--texto); font-size: 9pt; color: var(--folio-suave); }
.sr-folio__sello { flex: 0 0 auto; width: 26mm; height: 26mm; }

@page { size: A4; margin: 0; }
@media print {
	.sr-imprimiendo body > *:not(.sr-hoja) { display: none !important; }
	.sr-imprimiendo, .sr-imprimiendo body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
	.sr-imprimiendo .sr-hoja { display: block; }
}

@media (max-width: 781px) {
	.sr-buzon-boton { width: 60px; height: 60px; padding: 0; justify-content: center; }
	.sr-buzon-boton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.sr-buzon__dibujo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.sr-decor *, .sr-buzon *, .sr-juego *, .sr-ventana * { animation: none !important; transition: none !important; }
	[data-sr-cielo] span { display: none; } /* sin copos ni estrellas en movimiento */
}

/* Participación del pueblo en la franja del juego */
.sr-juego__participacion { margin: 0.5rem 0 0; padding: 0.5rem 0.75rem; border-left: 4px solid var(--sr-franja-acento, #A3242B); background: rgba(255, 255, 255, 0.6); border-radius: 0 8px 8px 0; font-weight: 600; color: var(--sr-franja-tinta, #1E2A2F); }
