/* Zeltrix giveaways (/giveaways/…). Loaded after styles.css; uses the site tokens. Mobile first.
   Copied into dist/assets only while a campaign is published (scripts/sections/giveaways.mjs). */
.gw-preview-banner { background: var(--warn-bg); color: var(--warn-text); border-bottom: 2px solid #e0a63a; padding: 12px 16px; font-size: 15px; line-height: 1.5; text-align: center; }
.gw-header .kicker { color: var(--cyan); }
.gw-countdown { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 15px; }
.gw-countdown.is-open { background: var(--lime); color: var(--navy); }
.gw-countdown.is-closed { background: var(--pending-bg); color: var(--pending-text); }
.gw-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding-bottom: 12px; }
.gw-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gw-card { background: var(--zx-d-surface, #fff); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px; }
.gw-card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--ink); }
.gw-card p, .gw-card li { font-size: 16px; line-height: 1.65; color: var(--text); }
.gw-prize { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.gw-prize:first-of-type { border-top: 0; padding-top: 0; }
.gw-prize-img { width: 100%; height: auto; max-width: 320px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.gw-prize h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.gw-prize-value { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.gw-prize-value span { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.gw-shortrules { background: var(--bg-alt); border-left: 4px solid var(--lime); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px !important; }
.gw-steps { padding-left: 22px; margin: 0; }
.gw-steps li { margin: 0 0 8px; }
.gw-facts h2 { font-size: 19px; }
.gw-facts-list { margin: 0; display: grid; gap: 10px; }
.gw-facts-list div { display: grid; gap: 2px; }
.gw-facts-list dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.gw-facts-list dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.gw-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; }
.gw-independent { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 8px 0 32px; max-width: 900px; }
/* Form */
.gw-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.gw-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gw-form legend, .gw-field > label { font-weight: 700; color: var(--ink); font-size: 15px; margin: 0 0 6px; padding: 0; }
.gw-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gw-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gw-req, .gw-opt { font-weight: 500; font-size: 13px; color: var(--muted); }
.gw-hint { margin: 2px 0 0; font-size: 13px !important; line-height: 1.5 !important; color: var(--muted) !important; }
.gw-form input[type=text], .gw-form input[type=email], .gw-form select { width: 100%; min-height: 48px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--zx-d-field, #fff); padding: 10px 12px; font: inherit; font-size: 16px; color: var(--ink); }
.gw-form input:focus-visible, .gw-form select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.gw-form [aria-invalid="true"] { border-color: var(--error-text) !important; }
.gw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; background: var(--zx-d-field, #fff); }
.gw-chip input { width: 18px; height: 18px; accent-color: var(--navy); }
.gw-chip:has(input:checked) { border-color: var(--ink); background: var(--bg-tint); }
.gw-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text); flex-wrap: wrap; }
.gw-check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy); flex: 0 0 auto; }
.gw-check span { flex: 1 1 0; min-width: 0; }
.gw-check a { color: var(--blue); text-decoration: underline; }
.gw-marketing { border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--bg-alt); }
.gw-optional-title { margin: 0 0 8px; font-size: 13px !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) !important; }
.gw-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.gw-submit { display: flex; flex-direction: column; gap: 10px; }
.gw-submit .button { align-self: stretch; }
.gw-status { margin: 0; font-size: 15px; line-height: 1.5; min-height: 1.5em; }
.gw-status.is-ok { color: var(--ok-text); background: var(--ok-bg); border-radius: var(--radius-sm); padding: 10px 12px; }
.gw-status.is-error { color: var(--error-text); background: var(--error-bg); border-radius: var(--radius-sm); padding: 10px 12px; }
.gw-error { margin: 4px 0 0; color: var(--error-text); font-size: 13px; font-weight: 600; flex-basis: 100%; }
.gw-noscript { background: var(--warn-bg); color: var(--warn-text); padding: 10px 12px; border-radius: var(--radius-sm); }
/* Rules */
.gw-rules h2 { font-size: 19px; margin: 24px 0 8px; }
.gw-rules h2:first-child { margin-top: 0; }
.gw-rules h3 { font-size: 17px; margin: 18px 0 6px; }
.gw-rules ul, .gw-rules ol { padding-left: 22px; }
.gw-rules a { color: var(--blue); text-decoration: underline; }
.gw-table-wrap { overflow-x: auto; }
.gw-rules table { border-collapse: collapse; width: 100%; font-size: 15px; }
.gw-rules th, .gw-rules td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.gw-rules th { background: var(--bg-alt); }
.gw-teasers { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.gw-teaser h2 a { color: var(--ink); text-decoration: none; }
.gw-confirm { max-width: 640px; margin-bottom: 32px; }
.gw-confirm .button { margin: 6px 0 10px; }
@media (min-width: 720px) {
  .gw-card { padding: 26px 28px; }
  .gw-grid { grid-template-columns: 1fr 1fr; }
  .gw-prize { grid-template-columns: 220px 1fr; align-items: start; }
  .gw-submit { flex-direction: row; align-items: center; }
  .gw-submit .button { align-self: auto; }
  .gw-teasers { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .gw-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .gw-aside { position: sticky; top: 20px; }
}
.gw-outbox { white-space: pre-wrap; word-break: break-word; font-size: 13px; background: var(--bg-alt); padding: 10px; border-radius: var(--radius-sm); }
/* Account-entry giveaways (render-account.mjs): the hero with both prizes, "How it works", prize cards. */
.gw-hero { overflow: hidden; }
.gw-hero-inner { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; }
.gw-hero h1 { margin: 4px 0 6px; font-size: clamp(28px, 7.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
/* The second prize, on the line under the H1 (marketing review 2026-11-14). */
.gw-hero-also { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.gw-hero-sub { margin: 0; font-weight: 600; }
.gw-where { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
/* The monthly giveaway's page header is dark (no hero): the same line in a light colour, for contrast. */
.gw-header:not(.gw-hero) .gw-where { color: rgba(255, 255, 255, .86); }
.gw-hero-art { order: -1; width: min(380px, 100%); height: 210px; margin: 0 auto; }
.gw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 4px; }
.gw-cta .button { min-height: 48px; padding-inline: 28px; }
.gw-head-cta .gw-cd { flex-basis: 100%; width: fit-content; flex-grow: 0; max-width: max-content; }
@media (min-width: 860px) {
  .gw-hero-inner { grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; }
  .gw-hero-art { order: 0; width: 440px; height: 320px; }
}
.gw-steps-icons { display: grid; gap: 12px; margin: 0 0 4px; padding: 0; list-style: none; }
.gw-steps-icons li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
.gw-step-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(95, 211, 255, .12); border: 1px solid rgba(95, 211, 255, .35); color: var(--ink); }
.gw-step-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gw-step-n { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: #0b1430; font-size: 12px; font-weight: 900; }
.gw-step-text { display: grid; gap: 2px; padding-top: 2px; }
.gw-step-text strong { color: var(--ink); font-size: 17px; }
.gw-step-text span { color: var(--text); font-size: 15px; line-height: 1.5; }
.gw-fine { font-size: 13px !important; line-height: 1.55 !important; color: var(--muted) !important; }
.gw-mail { margin: 12px 0 0; }
.gw-mail summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.gw-prize-grid { display: grid; gap: 16px; }
.gw-pcard { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(160deg, rgba(198, 244, 50, .06), transparent 45%), var(--zx-d-surface, #fff); }
.gw-ribbon { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: #0b1430; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.gw-pcard:nth-child(2) .gw-ribbon { background: var(--cyan); }
.gw-pcard-img { display: grid; place-items: center; padding: 18px 8px 4px; border-radius: 12px; background: radial-gradient(closest-side, rgba(95, 211, 255, .16), transparent); }
.gw-pcard-img img { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; object-fit: contain; }
.gw-pcard h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.gw-pcard-value { margin: 0 0 6px !important; font-weight: 800; color: var(--ink) !important; }
.gw-pcard-sum { margin: 0 !important; }
.gw-pcard-more summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; font-weight: 700; color: var(--ink); font-size: 14px; }
.gw-pcard-more p { margin: 0 !important; font-size: 14px !important; }
@media (min-width: 720px) { .gw-pcard { grid-template-columns: 200px minmax(0, 1fr); align-items: center; } }
.gw-page-account .gw-facts-list { gap: 8px; }
.page-header .gw-cd { color: #fff; }
/* The comment bonus: like and comment on the official giveaway post (rules 5.3). */
.gw-social { margin: 16px 0 4px; padding: 14px 16px; border: 1px solid rgba(95, 211, 255, .35); border-radius: 14px; background: rgba(95, 211, 255, .06); }
.gw-social h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.gw-social p { margin: 0 0 8px; }
.gw-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-social-links .button { min-height: 44px; }
/* "N people entered so far" (giveaway-count.js; giveaways.showEntryCount): one quiet line under the button. */
.gw-count { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
