@font-face{font-family:Afacad;src:url('../fonts/afacad-latin.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
.pg-dialog{box-sizing:border-box;border:1px solid #45415a;border-radius:24px;background:#131a2d;color:#fff;width:min(620px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:32px;font-family:Afacad,sans-serif;font-size:20px;box-shadow:0 24px 80px #0008}.pg-dialog::backdrop{background:#050717bb;backdrop-filter:blur(5px)}.pg-dialog h2{font-size:34px;margin:0 32px 24px 0}.pg-dialog p{margin:12px 0;line-height:1.45}.pg-dialog a{color:#c5a9ff;text-decoration:underline}.pg-dialog form{display:grid;gap:16px}.pg-dialog label{display:grid;gap:6px}.pg-dialog input:not([type=checkbox]),.pg-dialog select,.pg-points-input{box-sizing:border-box;max-width:100%;width:100%;min-width:0;background:#292d3a;color:#fff;border:1px solid #65657c;border-radius:12px;padding:12px;font:inherit}.pg-dialog select option{background:#202634;color:#fff}.pg-dialog .pg-check{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;font-size:17px}.pg-dialog .pg-check input{flex:none;width:20px;height:20px;margin:4px 0 0;accent-color:#8738fa}.pg-dialog .pg-check span{flex:1;min-width:180px}.pg-dialog .btn{justify-content:center;min-height:48px;cursor:pointer}.pg-dialog button:disabled,[aria-disabled=true]{opacity:.5;cursor:not-allowed}.pg-close{position:absolute;right:16px;top:12px;color:white;background:none;border:0;font-size:32px;cursor:pointer}.pg-link{padding:8px 0;background:none;border:0;color:#c5a9ff;text-decoration:underline;font:inherit;cursor:pointer}.pg-help{font-size:16px;color:#c8c8d4}.pg-message{color:#ffb7b7;overflow-wrap:anywhere}.pg-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pg-cookie-actions{display:flex;flex-wrap:wrap;gap:12px}.pg-cookie-button{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;background:#7c3aed;color:white;border:1px solid #c3a5ff;font-size:30px;z-index:90;cursor:pointer}.pg-cookie-options[hidden],[data-delete-confirm][hidden]{display:none}.pg-cookie-options{padding:16px 0}.pg-delete{border-top:1px solid #424356;margin-top:32px;padding-top:24px}.pg-delete p{margin:16px 0}.pg-delete input{padding:12px}.wrapper-packages .package{order:1}.wrapper-packages .best-value{order:2}.wrapper-packages .custom-package{order:3}.pg-points-input{margin-top:12px}.pg-privacy{margin-top:16px;font-size:16px}.account-profile-menu{position:relative}.account-profile-menu[open]>div{position:absolute;right:0;z-index:80;min-width:220px;padding:20px;background:#1b2035;border:1px solid #5b5370;border-radius:12px}.account-profile-menu a{display:block;padding:8px}.pg-buy-points{display:block;width:max-content;margin-top:16px}.pg-dialog :focus-visible{outline:2px solid #bb96ff;outline-offset:3px}@media(max-width:560px){.pg-dialog{padding:24px 18px}.pg-grid{grid-template-columns:1fr}.pg-cookie-actions{display:grid;grid-template-columns:1fr}.pg-cookie-button{right:12px;bottom:12px}}

.pg-dialog{margin:auto;inset:0}.pg-dialog .pg-close[hidden]{display:none!important}.pg-dialog form>label{margin:0}.pg-dialog .pg-check{flex-wrap:nowrap;line-height:1.45}.pg-dialog .pg-check span{min-width:0}.pg-dialog .pg-check a{display:inline}.pg-dialog .pg-link{margin:0}.pg-latin-note{color:#ffb7b7;font-size:16px}

/* Cookie preference screens */
.pg-cookie-button[hidden]{display:none}.pg-cookie-button{right:24px;bottom:24px;display:grid;place-items:center;border-radius:12px}.pg-cookie-dialog{width:min(600px,calc(100% - 32px));padding:32px;max-height:calc(100dvh - 32px)}.pg-cookie-dialog h2{line-height:1.1;font-size:32px}.pg-cookie-dialog .pg-cookie-actions{display:flex;gap:12px;margin-top:24px}.pg-cookie-dialog .pg-cookie-actions .btn{flex:1;min-width:0;padding:10px 18px;font:inherit;min-height:48px}.pg-cookie-category{padding:18px 0;border-bottom:1px solid #45415a}.pg-cookie-category strong{display:flex;justify-content:space-between}.pg-cookie-category strong span{font-size:16px;color:#c8c8d4}.pg-cookie-dialog .pg-cookie-toggle{display:flex;align-items:center;justify-content:space-between}.pg-cookie-toggle input{width:24px;height:24px;accent-color:#8738fa}.pg-consent-record{overflow-wrap:anywhere}.pg-consent-record p{margin:14px 0}.pg-consent-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.pg-consent-links button{min-height:44px}.pg-cookie-table{overflow-x:auto;margin:20px 0}.pg-cookie-table table{border-collapse:collapse;width:100%;font-size:18px}.pg-cookie-table td,.pg-cookie-table th{border:1px solid #45415a;padding:12px;text-align:left;overflow-wrap:anywhere}.pg-cookie-table th{font-weight:600}@media(max-width:560px){.pg-cookie-button{right:16px;bottom:16px}.pg-cookie-dialog{padding:24px 20px}.pg-cookie-dialog .pg-cookie-actions{display:flex;flex-direction:column}.pg-cookie-actions [data-allow]{order:-2}.pg-cookie-actions [data-customize]{order:-1}.pg-cookie-dialog .pg-cookie-actions .btn{width:100%}.pg-cookie-dialog h2{font-size:28px}}

/* Keep the hero decoration behind interactive content. */
.main-section .wrapper-main{position:relative;z-index:1}
.main-section .stone-bg{z-index:0;pointer-events:none}
/* The fill is shared by slider movement and the numeric points field. */
.custom-package input[type="range"]{--pg-range-fill:0%;appearance:none;-webkit-appearance:none;width:100%;height:9px;border-radius:5px;background:linear-gradient(to right,#7c3aed 0%,#7c3aed var(--pg-range-fill),rgba(255,255,255,.1) var(--pg-range-fill),rgba(255,255,255,.1) 100%);cursor:pointer;transition:none}
.custom-package input[type="range"]::-webkit-slider-runnable-track{height:9px;border-radius:5px;background:transparent}
.custom-package input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-6.5px;border-radius:50%;border:3px solid #332269;background:#fff}
.custom-package input[type="range"]::-moz-range-track{height:9px;border-radius:5px;background:transparent}
.custom-package input[type="range"]::-moz-range-progress{height:9px;border-radius:5px;background:transparent}
.custom-package input[type="range"]::-moz-range-thumb{box-sizing:border-box;width:22px;height:22px;border-radius:50%;border:3px solid #332269;background:#fff}
.custom-package input[type="range"]:focus-visible{outline:2px solid #c5a9ff;outline-offset:6px}
footer a[href="mailto:support@post-gen.pro"],footer a[href="mailto:support@post-gen.pro"]:visited{color:#c5a9ff;text-decoration:underline;text-underline-offset:3px}
footer a[href="mailto:support@post-gen.pro"]:hover,footer a[href="mailto:support@post-gen.pro"]:focus-visible{color:#fff}

/* Keep account controls in place when the profile menu opens. */
.header-acc .flex-btns{align-items:center}
.postgen-account-menu{position:relative;flex:0 0 42px;width:42px;height:42px;min-width:0}
.postgen-account-menu>summary{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;list-style:none;cursor:pointer;border-radius:12px}
.postgen-account-menu>summary::marker{content:''}
.postgen-account-menu>summary::-webkit-details-marker{display:none}
.postgen-account-menu>summary img{display:block;width:42px;height:42px;object-fit:cover;border-radius:12px}
.postgen-account-menu>summary:focus-visible{outline:2px solid #c5a9ff;outline-offset:4px}
.postgen-account-menu[open]>div{position:absolute;top:calc(100% + 12px);right:0;z-index:160;box-sizing:border-box;width:min(280px,calc(100vw - 32px));padding:16px;background:#1b2035;border:1px solid #5b5370;border-radius:14px;box-shadow:0 16px 40px #0006;color:#fff;text-align:left;white-space:normal}
.postgen-account-menu[open]>div>p{margin:0 0 10px;padding:0 2px 12px;border-bottom:1px solid #ffffff17;font-size:16px;line-height:1.35;color:#bfc0d2;overflow-wrap:anywhere}
.postgen-account-menu[open]>div>a{display:block;padding:9px 10px;border-radius:8px;color:#d8c6ff;font-size:17px;line-height:1.3;text-decoration:none}
.postgen-account-menu[open]>div>a:hover,.postgen-account-menu[open]>div>a:focus-visible{background:#7c3aed24;color:#fff}

/* Account deletion confirmation matches the password fields. */
.pg-delete-confirm{margin-top:20px;gap:16px}.pg-delete-confirm .settings-field{display:flex;flex-direction:column;align-items:stretch;gap:8px}.pg-delete-confirm input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;font:inherit}.pg-delete-confirm .settings-actions{grid-column:1/-1;margin-top:0}.main-block-form button,.form-test-works button{font:inherit;cursor:pointer}
