.emblem-popup{position:fixed;inset:0;z-index:10001;box-sizing:border-box;width:calc(100% - 28px);max-width:360px;max-height:calc(100% - 28px);margin:auto;padding:22px;border:1px solid #a88439;border-radius:20px;background:#172033;color:#f9f4e7;text-align:center;overflow:auto}
.emblem-popup:not([open]){display:none}
.emblem-popup::backdrop{background:rgba(5,9,18,.75)}
.emblem-popup.fallback{top:50%;bottom:auto;transform:translateY(-50%);box-shadow:0 0 0 100vmax rgba(5,9,18,.75)}
.emblem-popup-badge{font-size:58px}
.emblem-popup-badge img,.emblem-popup-badge svg{width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 3px 15px #ffd45255)}
.emblem-popup h2{margin:8px 0;color:#f5cb6a;font-size:clamp(25px,8vw,34px)}
.emblem-popup p{margin:0 0 18px;font-weight:700}
.emblem-popup button{min-height:44px;padding:0 18px;border:0;border-radius:12px;background:#f5cb6a;color:#172033;font:inherit;font-weight:800;cursor:pointer}
.emblem-popup button:focus-visible{outline:2px solid #fff;outline-offset:3px}
