.mc-ov { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 16px; background: var(--mc-bg, rgba(20, 10, 30, .72)); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity .3s; }
.mc-ov.open { opacity: 1; visibility: visible; }
.mc-card { position: relative; width: min(420px, 100%); max-height: 94vh; overflow: auto; text-align: center; padding: 18px 14px 20px; border-radius: 22px; background: var(--mc-paper, #fff7ea); color: var(--mc-ink, #5a3b2a); box-shadow: 0 0 0 5px var(--mc-edge, rgba(255, 255, 255, .5)), 0 24px 50px rgba(0, 0, 0, .4); animation: mcIn .5s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes mcIn { from { transform: scale(.7) rotate(-4deg); opacity: 0; } }
.mc-card h3 { font: 600 18px var(--hand, inherit); margin: 4px 0 12px; }
.mc-row { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.mc-pol { width: 78%; margin: 0; background: #fff; padding: 3% 3% 12%; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transform: rotate(var(--r, 0deg)); cursor: zoom-in; animation: mcPol .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes mcPol { from { opacity: 0; transform: translateY(60px) scale(.5) rotate(20deg); } }
.mc-ph { aspect-ratio: 4 / 3; background: #e8dcc8 center / cover no-repeat; }
.mc-pol figcaption { position: absolute; left: 4%; right: 4%; bottom: 3%; font-size: 14px; color: #5b4636; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-x { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .08); font-size: 22px; color: inherit; cursor: pointer; }
.mc-ok { margin-top: 16px; appearance: none; border: 0; border-radius: 999px; padding: 11px 28px; font: 600 15px var(--hand, inherit); color: #fff; background: var(--mc-accent, #e8788c); cursor: pointer; }
@media (min-width: 760px) { .mc-card { width: 600px; } .mc-row { flex-direction: row; justify-content: center; } .mc-pol { width: 46%; } }
