/* The launch giveaway on My Zeltrix (scripts/giveaways/lib/render-account.mjs myZeltrixBlock, src/assets/launch-join.js).
   On the page only while that giveaway is published and open. Mobile first; app-like at 400px: full-width buttons,
   48px tap targets, nothing wider than the screen. */
.my-section.gl-box, html.zx-shell .my-section.gl-box { border: 2px solid var(--lime); border-radius: var(--radius); padding: 16px; }
@media (min-width: 720px) { .my-section.gl-box, html.zx-shell .my-section.gl-box { padding: 20px 24px; } }
.gl-box h2 { margin: 0 0 6px; }
.gl-prizes { margin: 0 0 12px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.gl-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.gl-actions, .gl-share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.gl-actions .button, .gl-share-buttons .button { min-height: 48px; flex: 1 1 140px; justify-content: center; }
.gl-form { display: grid; gap: 12px; margin: 0 0 12px; }
.gl-form .member-form-actions .button { width: 100%; min-height: 48px; }
.gl-entered { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-bg, #e8f7d4); color: var(--ok-text, #1d4d07); font-size: 17px; }
.gl-entered:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.gl-check { font-weight: 900; }
.gl-share { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); }
.gl-share h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.gl-share p { margin: 0 0 8px; line-height: 1.5; }
.gl-link input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; font-size: 15px; color: var(--ink); background: var(--zx-d-field, #fff); }
.gl-handles { display: grid; gap: 12px; margin: 8px 0; }
.gl-handles input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; font-size: 16px; color: var(--ink); background: var(--surface, #fff); }
.gl-handles .gl-actions { margin: 0; }
.gl-handles .subscribe-field input { text-transform: none; } /* names keep their own case (subscribe.css capitalizes postal codes) */
.gl-handles .account-status { margin: 0; }
.gl-handles .account-status:empty { min-height: 0; }
.gl-handles .button { min-height: 48px; width: 100%; justify-content: center; }
@media (min-width: 640px) { .gl-handles .button { width: auto; } }
.gl-leave { margin: 4px 0 8px; }
.gl-leave summary { cursor: pointer; color: var(--muted); font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.gl-leave p { margin: 4px 0 8px; font-size: 14px; }
.gl-short { font-size: 13px; line-height: 1.5; }
@media (min-width: 640px) { .gl-form .member-form-actions .button { width: auto; } .gl-actions .button, .gl-share-buttons .button { flex: 0 0 auto; } }
.gl-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 8px; }
.gl-art { width: 96px; height: 80px; }
.gl-head .gl-prizes { margin: 0 0 8px; }
.gl-names { margin: 0 0 12px; color: var(--text); line-height: 1.5; }
/* The optional "Get an email when the next giveaway opens" box (giveaways.nextGiveawayOptIn): set apart from the entry box. */
.gl-optin { margin: 4px 0 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.gl-optin legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
.gl-optin legend + * { clear: both; }
.gl-optin .subscribe-hint { display: block; margin: 0 0 8px; }
.gl-optin .subscribe-note { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.gl-optin-status { margin: 0 0 12px; line-height: 1.5; }
/* The entry box alone (marketing review 2026-11-14): /my-zeltrix/#enter, where the sign-up in giveaway mode lands. The
   page header and every other part of My Zeltrix step aside, so the box opens on "Enter the giveaway: step 2 of 2" and
   the form. :has(#enter:target) does it from the first paint; launch-join.js adds html.gl-focus for older browsers. */
.gl-step-title, .gl-focus-out { display: none; }
html.gl-focus .my-page > .page-header, .my-page:has(#enter:target) > .page-header { display: none; }
html.gl-focus #my-zeltrix > :not(.gl-box), .my-page:has(#enter:target) #my-zeltrix > :not(.gl-box) { display: none !important; }
html.gl-focus .gl-box > .gl-head, html.gl-focus .gl-box > .gl-names, .gl-box:has(#enter:target) > .gl-head, .gl-box:has(#enter:target) > .gl-names { display: none; }
html.gl-focus .gl-box > .gl-step-title, .gl-box:has(#enter:target) > .gl-step-title { display: block; }
html.gl-focus .gl-box.is-entered > .gl-step-title, .gl-box.is-entered:has(#enter:target) > .gl-step-title { display: none; }
html.gl-focus .gl-focus-out, .gl-box:has(#enter:target) .gl-focus-out { display: block; margin: 8px 0 0; }
html.gl-focus .my-page #my-zeltrix, .my-page:has(#enter:target) #my-zeltrix { padding-top: 16px; }
.gl-step-title { margin: 0 0 14px; font-size: 26px; line-height: 1.15; color: var(--ink); }
.gl-step-title span { color: var(--muted); font-weight: 700; }
.gl-age { margin: -4px 0 0; }
.gl-legal { margin: 0; }
/* "You're in": one big ask, the link, Share / Copy, the ready-to-send message; then one next step. */
.gl-share-main { border: 2px solid var(--lime); background: rgba(198, 244, 50, .08); padding: 16px; }
.gl-share-main .gl-share-title { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.gl-share-why { font-size: 15px; }
.gl-msg-box { margin: 8px 0 0; }
.gl-msg-box label { display: block; margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.gl-msg-box textarea { display: block; width: 100%; min-height: 128px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--zx-d-field, #fff); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.gl-msg-box textarea:focus-visible, .gl-link input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.gl-share-nets { font-size: 14px; color: var(--muted); }
.gl-next { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); }
.gl-next .gw-kick { margin: 0; }
.gl-next .gl-actions { margin: 4px 0 0; }
details.gl-social > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--ink); }
details.gl-social[open] > summary { margin-bottom: 6px; }
/* The app's sticky header must not cover the line the page scrolls to (#enter on load, "You're in" after entering). */
.gl-step-title, .gl-entered { scroll-margin-top: 84px; }
