.bp-memory{max-width:1120px;margin:0 auto;padding:42px 20px 64px}.bp-memory__cabecera{text-align:center;max-width:780px;margin:0 auto 28px}.bp-memory__cabecera h1{color:var(--mt-ink,#2e1836);font-size:clamp(2rem,5vw,3.7rem)}.bp-memory__cabecera p{font-size:1.06rem;color:var(--mt-muted,#6f6273)}.bp-memory__barra{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:14px 18px;border:1px solid #dac5dd;border-radius:18px;background:#fff}.bp-memory__barra a,.bp-juego-boton{display:inline-flex;align-items:center;justify-content:center;border:1px solid #6b3475;border-radius:999px;padding:10px 18px;background:#fff;color:#55265e;text-decoration:none;font-weight:700}.bp-memory__barra a:hover,.bp-juego-boton:hover{background:#6b3475;color:#fff}.bp-memory__estadisticas{display:flex;gap:22px;color:#6b3475;font-weight:700}.bp-memory__tablero{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:20px;border-radius:24px;background:linear-gradient(135deg,#4d245c,#784c85 58%,#c6a55b);box-shadow:0 24px 54px rgba(51,25,60,.22)}.bp-memory__carta{position:relative;aspect-ratio:1;border:0;border-radius:15px;padding:0;background:transparent;cursor:pointer;perspective:700px}.bp-memory__cara{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;border-radius:15px;backface-visibility:hidden;transition:transform .22s ease-out;box-shadow:0 4px 12px rgba(25,12,28,.22);pointer-events:none}.bp-memory__frente{background:linear-gradient(145deg,#fff,#f0e6f1);border:2px solid rgba(198,165,91,.7)}.bp-memory__frente img{width:54%;height:54%;object-fit:contain}.bp-memory__dorso{transform:rotateY(180deg);background:#fff}.bp-memory__dorso img{width:100%;height:100%;object-fit:contain}.bp-memory__carta.is-visible .bp-memory__frente{transform:rotateY(180deg)}.bp-memory__carta.is-visible .bp-memory__dorso{transform:rotateY(0)}.bp-memory__carta.is-matched{cursor:default}.bp-memory__carta.is-matched .bp-memory__dorso{box-shadow:0 0 0 3px #c6a55b,0 5px 14px rgba(25,12,28,.25)}.bp-memory__resultado{margin-top:22px;padding:24px;text-align:center;border:1px solid #d7bf90;border-radius:20px;background:#fffaf0;color:#45214d;font-size:1.12rem}.bp-memory__texto{max-width:880px;margin:38px auto 0}.bp-memory__texto h2{color:#55265e}.bp-memory__filtros{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 24px}.bp-memory__filtros select{max-width:280px;border:1px solid #cbb7cf;border-radius:999px;padding:9px 36px 9px 14px;background:#fff;color:#45214d}[data-tema=noche] .bp-memory__barra,[data-tema=noche] .bp-memory__resultado,[data-tema=noche] .bp-memory__filtros select{background:#251b2b;color:#f6edf7;border-color:#5b4561}[data-tema=noche] .bp-memory__cabecera h1,[data-tema=noche] .bp-memory__texto h2{color:#f2dfad}@media(max-width:700px){.bp-memory{padding-inline:14px}.bp-memory__tablero{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.bp-memory__barra{align-items:flex-start;flex-direction:column}.bp-memory__estadisticas{width:100%;justify-content:space-between}}
