.hms-trigger.hms-trigger { border: 1px solid #cda66a; color: #f3dfba; background: rgba(12,25,44,.7); font-family: inherit; font-size: inherit; cursor: pointer; }
.hms-trigger.hms-trigger:hover { background: rgba(205,166,106,.13); border-color: #f0cd94; box-shadow: 0 8px 24px rgba(205,166,106,.13); }
.hms-trigger:focus-visible,.hms-dialog button:focus-visible,.hms-dialog a:focus-visible { outline: 2px solid #f0cd94; outline-offset: 4px; }
.hms-dialog { width: min(620px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #42526a; border-radius: 20px; background: #18283d; color: #f5f7fb; font-family: inherit; box-shadow: 0 32px 100px rgba(0,0,0,.55); overflow-y: auto; }
.hms-dialog[open] { animation: hms-appear .22s ease-out; }
.hms-dialog::backdrop { background: rgba(2,7,15,.75); backdrop-filter: blur(4px); }
.hms-panel { padding: 22px 28px 26px; text-align: center; }
.hms-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #dfb675; font-size: 12px; }
.hms-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #cad4e2; font: 28px/1 inherit; font-size: 28px; cursor: pointer; border-radius: 6px; }
.hms-close:hover { background: rgba(255,255,255,.08); }
.hms-dialog h2 { margin: 18px 0; font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.hms-dialog p { font-size: 16px; line-height: 1.65; margin: 0; }
.hms-paypal { margin-top: 22px; padding: 22px 18px 8px; background: #0c1829; border-radius: 8px; }
.hms-paypal h3 { margin: 0 0 16px; color: #dfb675; font-size: 18px; }
.hms-email { display: inline-block; font-size: 18px; font-weight: 600; color: #f5f7fb; overflow-wrap: anywhere; }
.hms-email:hover { text-decoration: underline; }
.hms-copy { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 46px; margin-top: 20px; padding: 10px 12px; background: rgba(205,166,106,.12); border: 1px solid rgba(205,166,106,.55); border-radius: 8px; color: #f3dfba; font: inherit; font-weight: 600; cursor: pointer; transition: background .18s; }
.hms-copy:hover { background: rgba(205,166,106,.24); }
.hms-copy:disabled { cursor: wait; }
.hms-dialog .hms-status { min-height: 28px; margin-top: 8px; font-size: 13px; color: #dfb675; }
.hms-dialog .hms-thanks { margin-top: 22px; }
.hms-dialog .hms-signature { margin-top: 12px; color: #dfb675; font-style: italic; font-size: 20px; }
@keyframes hms-appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:480px) { .hms-panel { padding: 16px 18px 22px; } .hms-dialog h2 { font-size: 23px; } .hms-dialog p { font-size: 15px; } .hms-email { font-size: 16px; } }
@media(prefers-reduced-motion:reduce) { .hms-dialog[open] { animation: none; } .hms-copy { transition: none; } }
