body.modal-open { overflow: hidden; }

.vote-modal[hidden] { display: none; }
.vote-modal { inset: 0; position: fixed; z-index: 20; }
.vote-modal__backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(11px); inset: 0; position: absolute; }
.vote-modal__panel { background: #101312; border: 1px solid rgba(218, 240, 0, .52); border-radius: 24px; box-shadow: 0 24px 80px rgba(0, 0, 0, .62); height: min(88vh, 880px); inset: 50% auto auto 50%; overflow: hidden; position: absolute; transform: translate(-50%, -50%); width: min(1100px, calc(100vw - 40px)); }
.vote-modal__header { align-items: center; background: linear-gradient(90deg, #151a16, #090b0a); border-bottom: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-between; min-height: 78px; padding: 13px 22px 13px 27px; }
.vote-modal__header p { color: #d9f000; font-size: 12px; font-weight: 700; letter-spacing: 1.7px; margin: 0 0 2px; }
.vote-modal__header h2 { font-size: 22px; letter-spacing: 1px; margin: 0; }
.vote-modal__close { background: transparent; border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; color: #fff; cursor: pointer; font-size: 31px; height: 42px; line-height: 34px; width: 42px; }
.vote-modal iframe { background: #050606; border: 0; display: block; height: calc(100% - 78px); width: 100%; }

@media (max-width: 620px) {
  .vote-modal__panel { border-radius: 18px; height: calc(100vh - 24px); height: calc(100dvh - 24px); width: calc(100vw - 24px); }
  .vote-modal__header { min-height: 66px; padding: 10px 13px 10px 17px; }
  .vote-modal__header h2 { font-size: 18px; }
  .vote-modal iframe { height: calc(100% - 66px); }
}
