/* STS Store Grail hunts: the request dialog. Scoped to .sts-gh (Global CSS prints after plugin CSS). */
html.sts-gh-open { overflow: hidden; }
dialog.sts-gh { padding: 0; margin: auto; border: 0; background: transparent; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); color: var(--sts-white, #fff); overflow: visible; }
dialog.sts-gh::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
dialog.sts-gh[open] { display: block; animation: sts-gh-in .32s var(--sts-settle, ease) both; }
@keyframes sts-gh-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sts-gh .sts-gh__card { position: relative; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--sts-r-tile, 28px); background: var(--sts-panel, #141414); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sts-gh .sts-gh__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.sts-gh .sts-gh__x:hover { border-color: var(--sts-blue, #00BFFF); }
.sts-gh .sts-gh__eye { margin: 0 0 10px; font: 700 13px/1.3 var(--sts-f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--sts-blue, #00BFFF); }
.sts-gh .sts-gh__h { margin: 0 56px 12px 0; font: 400 clamp(28px, 3vw, 44px)/1 var(--sts-f-display); text-transform: uppercase; letter-spacing: 0; color: #fff; outline: none; }
.sts-gh .sts-gh__p { margin: 0 0 24px; font: 400 16px/1.55 var(--sts-f-body); color: var(--sts-text-muted, #9A9A9A); max-width: 56ch; }
.sts-gh .sts-gh__step:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.sts-gh .sts-gh__step > :not(.sts-gh__f), .sts-gh .sts-gh__f--full { grid-column: 1 / -1; }
.sts-gh .sts-gh__f { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.sts-gh .sts-gh__f > span:first-child { font: 700 12px/1.3 var(--sts-f-label); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.sts-gh .sts-gh__f b { color: var(--sts-blue, #00BFFF); font-weight: 700; }
.sts-gh .sts-gh__f input, .sts-gh .sts-gh__f select, .sts-gh .sts-gh__f textarea { width: 100%; min-height: 52px; margin: 0; padding: 14px 20px; border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 26px; background: #1C1C1C; color: #fff; font: 400 16px/1.4 var(--sts-f-body); box-shadow: none; appearance: none; -webkit-appearance: none; }
.sts-gh .sts-gh__f textarea { resize: vertical; min-height: 84px; border-radius: 20px; }
.sts-gh .sts-gh__f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.sts-gh .sts-gh__f input::placeholder, .sts-gh .sts-gh__f textarea::placeholder { color: rgba(255, 255, 255, .38); }
.sts-gh .sts-gh__f input:focus, .sts-gh .sts-gh__f select:focus, .sts-gh .sts-gh__f textarea:focus { outline: none; border-color: var(--sts-blue, #00BFFF); box-shadow: 0 0 0 3px rgba(0, 191, 255, .2); }
.sts-gh .sts-gh__pair { display: flex; gap: 10px; }
.sts-gh .sts-gh__pair > input { flex: 1 1 auto; }
.sts-gh .sts-gh__file { position: relative; flex: 0 0 auto; display: block; }
.sts-gh .sts-gh__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; padding: 0; }
.sts-gh .sts-gh__filebtn { display: flex; align-items: center; height: 100%; min-height: 52px; padding: 0 20px; border-radius: 26px; border: 1.5px dashed rgba(255, 255, 255, .3); font: 700 13px/1 var(--sts-f-label); letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.sts-gh .sts-gh__file:focus-within .sts-gh__filebtn { border-color: var(--sts-blue, #00BFFF); }
.sts-gh .sts-gh__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sts-gh .sts-gh__msg { margin: 0; min-height: 0; font: 600 14px/1.4 var(--sts-f-body); color: var(--sts-red, #FF3B5C); }
.sts-gh .sts-gh__msg:empty { display: none; }
.sts-gh .sts-gh__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.sts-gh .sts-gh__wa { font: 600 15px/1.3 var(--sts-f-body); color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sts-gh .sts-gh__wa:hover { color: var(--sts-blue, #00BFFF); }
.sts-gh .sts-gh__small { margin: 0; font: 400 13px/1.5 var(--sts-f-body); color: var(--sts-text-muted, #9A9A9A); }
.sts-gh .sts-gh__small a { color: inherit; text-decoration: underline; }
.sts-gh .is-loading .sts-gh__go { opacity: .6; pointer-events: none; }
.sts-gh .sts-gh__done .sts-gh__h { color: var(--sts-blue, #00BFFF); }
@media (max-width: 600px) {
	.sts-gh .sts-gh__step:not([hidden]) { grid-template-columns: 1fr; }
	.sts-gh .sts-gh__pair { flex-direction: column; }
	.sts-gh .sts-gh__filebtn { max-width: none; justify-content: center; }
	.sts-gh .sts-gh__row .sts-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { dialog.sts-gh[open] { animation: none; } }
