/* ==========================================================================
   Gold Ticket — feuille de style publique
   Identité : bleu encre + or, ticket à talon détachable comme élément signature.
   Typo : Barlow Condensed (montants, titres, numéros) + Source Sans 3 (texte).
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("../vendor/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../vendor/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../vendor/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../vendor/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../vendor/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("../vendor/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --gt-ink: #12306B;
  --gt-ink-deep: #0C2252;
  --gt-ink-soft: #E7ECF6;
  --gt-gold: #E3A72F;
  --gt-gold-deep: #C78A14;
  --gt-gold-soft: #FBF1DA;
  --gt-red: #C7362B;
  --gt-green: #1E7B4E;
  --gt-surface: #F2F4F8;
  --gt-paper: #FFFFFF;
  --gt-text: #172033;
  --gt-muted: #5B6478;
  --gt-line: #DCE1EA;

  --gt-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gt-sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gt-r-sm: 6px;
  --gt-r: 10px;
  --gt-r-lg: 16px;

  --bs-body-font-family: var(--gt-sans);
  --bs-body-color: var(--gt-text);
  --bs-body-bg: var(--gt-surface);
  --bs-link-color-rgb: 18, 48, 107;
  --bs-border-color: var(--gt-line);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-family: var(--gt-sans); font-size: 1.0625rem; line-height: 1.55; background: var(--gt-surface); color: var(--gt-text); }
:focus-visible { outline: 3px solid var(--gt-gold); outline-offset: 2px; }
a { color: var(--gt-ink); }

.gt-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .gt-container { padding: 0 28px; } }
.gt-narrow { max-width: 760px; }
.gt-section { padding: 48px 0; }
.gt-section--tight { padding: 28px 0 56px; }
.gt-section--paper { background: var(--gt-paper); border-top: 1px solid var(--gt-line); border-bottom: 1px solid var(--gt-line); }
.gt-mt { margin-top: 48px; }
.gt-muted { color: var(--gt-muted); }
.gt-small { font-size: .9rem; }
.gt-warn-text { color: var(--gt-red); }
.gt-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.gt-code { font-family: var(--gt-display); font-weight: 600; letter-spacing: .02em; font-size: 1.08em; white-space: nowrap; }
.gt-hash { font-size: .82rem; word-break: break-all; color: var(--gt-ink); background: var(--gt-ink-soft); padding: 2px 6px; border-radius: 4px; }

/* ---------- Typographie ---------- */
.gt-display, .gt-h1, .gt-h2, .gt-h3, .gt-h4 { font-family: var(--gt-display); font-weight: 700; line-height: 1.05; color: var(--gt-ink); letter-spacing: -.005em; }
.gt-display { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0 0 16px; }
.gt-h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin-bottom: 16px; }
.gt-h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 16px; }
.gt-h3 { font-size: 1.45rem; margin: 28px 0 12px; }
.gt-h4 { font-size: 1.2rem; margin: 20px 0 10px; }
.gt-lead { font-size: 1.18rem; color: var(--gt-muted); max-width: 62ch; }
.gt-crumbs { font-size: .92rem; color: var(--gt-muted); margin-bottom: 16px; }
.gt-crumbs a { color: var(--gt-muted); }
.gt-prose { max-width: 760px; }
.gt-prose h2 { font-family: var(--gt-display); font-weight: 700; color: var(--gt-ink); font-size: 1.55rem; margin: 32px 0 10px; }
.gt-prose ul { padding-left: 1.2rem; }
.gt-prose li { margin-bottom: 6px; }

/* ---------- Boutons ---------- */
.gt-btn { font-weight: 700; border-radius: var(--gt-r-sm); padding: .62rem 1.1rem; border: 2px solid transparent; line-height: 1.2; }
.gt-btn--gold { background: var(--gt-gold); color: var(--gt-ink-deep); border-color: var(--gt-gold); }
.gt-btn--gold:hover, .gt-btn--gold:focus { background: var(--gt-gold-deep); border-color: var(--gt-gold-deep); color: #fff; }
.gt-btn--ink { background: var(--gt-ink); color: #fff; border-color: var(--gt-ink); }
.gt-btn--ink:hover, .gt-btn--ink:focus { background: var(--gt-ink-deep); color: #fff; }
.gt-btn--ghost { background: transparent; color: var(--gt-ink); border-color: var(--gt-ink); }
.gt-btn--ghost:hover { background: var(--gt-ink); color: #fff; }
.gt-btn--ghost-light { background: transparent; color: var(--gt-ink-deep); border-color: var(--gt-ink-deep); }
.gt-btn--danger { background: var(--gt-red); color: #fff; border-color: var(--gt-red); }
.gt-btn--danger:hover { background: #a42a20; color: #fff; }
.gt-btn--block { display: block; width: 100%; }
.gt-btn--lg { padding: .85rem 1.2rem; font-size: 1.1rem; }
.gt-link { color: var(--gt-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gt-link:hover { text-decoration-thickness: 2px; }
.gt-link-quiet { background: none; border: 0; padding: 0; color: var(--gt-muted); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- En-tête ---------- */
.gt-demo-bar { background: var(--gt-gold-soft); color: #6a4a07; text-align: center; font-size: .9rem; padding: 6px 16px; border-bottom: 1px solid #efd9a6; }
.gt-header { background: var(--gt-paper); border-bottom: 1px solid var(--gt-line); position: sticky; top: 0; z-index: 30; }
.gt-header .navbar { padding-top: 10px; padding-bottom: 10px; }
.gt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gt-ink); }
.gt-logo__mark { width: 42px; height: 28px; flex: none; }
.gt-logo__word { font-family: var(--gt-display); font-weight: 700; font-size: 1.55rem; letter-spacing: .01em; }
.gt-logo--light { color: #fff; }
.gt-nav { margin-left: 24px; gap: 2px; }
.gt-nav .nav-link, .gt-logo, .gt-header__tools a, .gt-header__tools .btn { white-space: nowrap; }
.gt-nav .nav-link { color: var(--gt-text); font-weight: 600; padding: 8px 10px !important; border-radius: var(--gt-r-sm); }
.gt-nav .nav-link:hover { background: var(--gt-surface); }
.gt-nav .nav-link.is-active { color: var(--gt-ink); box-shadow: inset 0 -3px 0 var(--gt-gold); border-radius: 0; }
.gt-header__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.gt-lang select { width: auto; border-color: var(--gt-line); font-weight: 600; }
.gt-burger { border: 0; padding: 10px 6px; display: flex; flex-direction: column; gap: 5px; }
.gt-burger span { display: block; width: 24px; height: 2px; background: var(--gt-ink); }
.gt-burger:focus { box-shadow: none; }
@media (max-width: 1199.98px) {
  .gt-nav { margin: 12px 0 8px; }
  .gt-nav .nav-link.is-active { box-shadow: inset 3px 0 0 var(--gt-gold); }
  .gt-header__tools { flex-wrap: wrap; padding: 8px 0 12px; border-top: 1px solid var(--gt-line); }
}
.gt-skip { position: absolute; left: 12px; top: 8px; z-index: 50; background: var(--gt-gold); padding: 8px 12px; }
.gt-flash { padding-top: 16px; }

/* ---------- Alertes ---------- */
.gt-alert { border-radius: var(--gt-r-sm); padding: 12px 16px; margin-bottom: 16px; border-left: 4px solid; background: var(--gt-paper); }
.gt-alert--success { border-color: var(--gt-green); background: #EAF5EF; }
.gt-alert--danger { border-color: var(--gt-red); background: #FBECEA; }
.gt-alert--warning { border-color: var(--gt-gold); background: var(--gt-gold-soft); }
.gt-alert--info { border-color: var(--gt-ink); background: var(--gt-ink-soft); }

/* ---------- Statuts ---------- */
.gt-status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--gt-ink-soft); color: var(--gt-ink); white-space: nowrap; }
.gt-status--open, .gt-status--confirmed, .gt-status--active, .gt-status--paid, .gt-status--processed { background: #E2F2E9; color: var(--gt-green); }
.gt-status--winner { background: var(--gt-gold); color: var(--gt-ink-deep); }
.gt-status--pending, .gt-status--processing, .gt-status--requested, .gt-status--approved, .gt-status--scheduled { background: var(--gt-gold-soft); color: #7a5508; }
.gt-status--suspended, .gt-status--failed, .gt-status--expired, .gt-status--rejected { background: #FBE4E1; color: var(--gt-red); }
.gt-status--closed, .gt-status--drawn, .gt-status--archived, .gt-status--loser, .gt-status--cancelled, .gt-status--refunded, .gt-status--draft { background: #ECEEF2; color: var(--gt-muted); }

/* ---------- Hero ---------- */
.gt-hero { background: var(--gt-ink); color: #fff; padding: 40px 0 56px; position: relative; overflow: hidden; }
.gt-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--gt-gold) 0 18px, transparent 18px 28px); opacity: .9; }
.gt-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .gt-hero__grid { grid-template-columns: 5fr 7fr; gap: 48px; } .gt-hero { padding: 64px 0 80px; } }
.gt-hero .gt-display { color: #fff; }
.gt-hero .gt-lead { color: #C9D3EA; }
.gt-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.gt-facts li { padding-left: 28px; position: relative; color: #E6EBF6; }
.gt-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 10px; border-left: 3px solid var(--gt-gold); border-bottom: 3px solid var(--gt-gold); transform: rotate(-45deg); }

/* ---------- Ticket à talon (élément signature) ---------- */
.gt-stub { --notch: 14px; display: grid; grid-template-columns: 1fr; background: var(--gt-paper); color: var(--gt-text); border-radius: var(--gt-r-lg); position: relative; filter: drop-shadow(0 18px 30px rgba(8, 20, 50, .28)); }
.gt-stub__main { padding: 22px 22px 18px; }
.gt-stub__side { background: var(--gt-gold); color: var(--gt-ink-deep); padding: 20px 22px 24px; border-radius: 0 0 var(--gt-r-lg) var(--gt-r-lg); display: flex; flex-direction: column; gap: 10px; }
.gt-stub__tear { height: 0; border-top: 2px dashed #C3CBDA; margin: 0 var(--notch); position: relative; }
.gt-stub__tear::before, .gt-stub__tear::after { content: ""; position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--gt-ink); }
.gt-stub__tear::before { left: calc(var(--notch) * -2); }
.gt-stub__tear::after { right: calc(var(--notch) * -2); }
.gt-stack .gt-stub__tear::before, .gt-stack .gt-stub__tear::after, .gt-section .gt-stub__tear::before, .gt-section .gt-stub__tear::after { background: var(--gt-surface); }
.gt-hero .gt-stub__tear::before, .gt-hero .gt-stub__tear::after { background: var(--gt-ink); }
@media (min-width: 720px) {
  .gt-stub { grid-template-columns: 1fr auto 230px; }
  .gt-stub__side { border-radius: 0 var(--gt-r-lg) var(--gt-r-lg) 0; justify-content: center; }
  .gt-stub__tear { height: auto; width: 0; border-top: 0; border-left: 2px dashed #C3CBDA; margin: var(--notch) 0; }
  .gt-stub__tear::before, .gt-stub__tear::after { left: calc(var(--notch) * -1 - 1px); right: auto; }
  .gt-stub__tear::before { top: calc(var(--notch) * -2); }
  .gt-stub__tear::after { top: auto; bottom: calc(var(--notch) * -2); }
}
.gt-stub__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gt-stub__code { font-family: var(--gt-display); font-weight: 600; color: var(--gt-muted); letter-spacing: .06em; }
.gt-stub__name { font-family: var(--gt-display); font-weight: 700; font-size: 1.6rem; color: var(--gt-ink); margin: 6px 0 12px; line-height: 1.05; }
.gt-stub__label { font-size: .88rem; font-weight: 600; margin: 0; opacity: .8; }
.gt-stub__prize { font-family: var(--gt-display); font-weight: 700; color: var(--gt-ink); font-size: clamp(3rem, 11vw, 4.6rem); line-height: .95; margin: 2px 0 16px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.gt-stub__prize { white-space: nowrap; }
.gt-stub__prize .gt-stub__cur { font-size: .34em; letter-spacing: .04em; color: var(--gt-gold-deep); margin-left: .2em; }
.gt-stub--large .gt-stub__prize { font-size: clamp(3rem, 13vw, 5.4rem); }
.gt-stub__price { font-family: var(--gt-display); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: 0 0 6px; }
.gt-stub__price span { font-size: 1rem; margin-left: 4px; }
.gt-stub__state { font-weight: 700; }
.gt-stub__proof { font-size: .78rem; margin: 6px 0 0; opacity: .85; }
.gt-stub__proof code { color: var(--gt-ink-deep); background: rgba(255, 255, 255, .45); padding: 1px 4px; border-radius: 3px; }
.gt-stub .gt-btn--gold { background: var(--gt-ink); border-color: var(--gt-ink); color: #fff; }
.gt-stub .gt-btn--gold:hover { background: var(--gt-ink-deep); }
.gt-stack { display: grid; gap: 28px; }

.gt-countdown__label { font-size: .88rem; font-weight: 600; color: var(--gt-muted); margin: 0 0 6px; }
.gt-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 360px; }
.gt-countdown__grid span { background: var(--gt-ink-soft); border-radius: var(--gt-r-sm); padding: 6px 4px 4px; text-align: center; font-size: .75rem; color: var(--gt-muted); }
.gt-countdown__grid b { display: block; font-family: var(--gt-display); font-size: 1.85rem; line-height: 1; color: var(--gt-ink); font-variant-numeric: tabular-nums; }
.gt-countdown__date { font-size: .85rem; color: var(--gt-muted); margin: 6px 0 0; }
.gt-countdown.is-urgent .gt-countdown__grid span { background: #FBE4E1; }
.gt-countdown.is-urgent b { color: var(--gt-red); }
.gt-meter { margin-top: 16px; }
.gt-meter__bar { height: 8px; background: var(--gt-ink-soft); border-radius: 99px; overflow: hidden; }
.gt-meter__bar span { display: block; height: 100%; width: 0; background: var(--gt-ink); border-radius: 99px; transition: width .6s ease; }
.gt-meter__text { font-size: .88rem; color: var(--gt-muted); margin: 6px 0 0; }
.gt-meter__text b { color: var(--gt-text); font-variant-numeric: tabular-nums; }

/* ---------- Étapes (vraie séquence) ---------- */
.gt-steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 20px; display: grid; gap: 0; }
@media (min-width: 768px) { .gt-steps { grid-template-columns: repeat(4, 1fr); } }
.gt-steps li { counter-increment: s; padding: 18px 20px 18px 0; border-top: 3px solid var(--gt-ink); position: relative; }
@media (min-width: 768px) { .gt-steps li + li { padding-left: 20px; border-left: 1px solid var(--gt-line); } }
.gt-steps li::before { content: counter(s); font-family: var(--gt-display); font-weight: 700; font-size: 2.4rem; color: var(--gt-gold-deep); line-height: 1; display: block; margin-bottom: 6px; }
.gt-steps h3 { font-family: var(--gt-display); font-weight: 700; color: var(--gt-ink); font-size: 1.3rem; margin: 0 0 6px; }
.gt-steps p { margin: 0; color: var(--gt-muted); }

/* ---------- Listes ---------- */
.gt-split { display: grid; gap: 40px; }
@media (min-width: 992px) { .gt-split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.gt-winners { list-style: none; padding: 0; margin: 0 0 16px; }
.gt-winners li a { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--gt-line); text-decoration: none; color: var(--gt-text); }
.gt-winners__amount { font-family: var(--gt-display); font-weight: 700; font-size: 1.5rem; color: var(--gt-ink); grid-row: span 2; align-self: center; min-width: 140px; }
.gt-winners__who { font-weight: 700; }
.gt-winners__meta { font-size: .88rem; color: var(--gt-muted); }
.gt-winners li a:hover .gt-winners__who { text-decoration: underline; }
.gt-rows { list-style: none; padding: 0; margin: 0 0 24px; }
.gt-rows a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gt-line); text-decoration: none; color: var(--gt-text); }
.gt-rows small { display: block; color: var(--gt-muted); font-size: .88rem; }
.gt-rows__end { text-align: right; }
.gt-rows__end b { font-family: var(--gt-display); font-size: 1.3rem; color: var(--gt-ink); }
.gt-verify-mini { background: var(--gt-surface); border-radius: var(--gt-r); padding: 16px 18px 20px; }
.gt-verify-mini .gt-h4 { margin-top: 0; }
.gt-inline-form { display: flex; gap: 8px; }
.gt-inline-form .form-control { min-width: 0; }
.gt-inline-form--lg { margin: 24px 0; }
.gt-code-input { font-family: var(--gt-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.gt-empty { background: var(--gt-paper); border: 1px dashed #C3CBDA; border-radius: var(--gt-r); padding: 28px; text-align: center; color: var(--gt-muted); }
.gt-empty--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ---------- Tableaux ---------- */
.gt-table { --bs-table-bg: var(--gt-paper); margin-bottom: 0; vertical-align: middle; }
.gt-table thead th { font-size: .82rem; font-weight: 700; color: var(--gt-muted); border-bottom-width: 2px; white-space: nowrap; background: var(--gt-paper); }
.gt-table td { border-color: var(--gt-line); }
.table-responsive { border-radius: var(--gt-r); border: 1px solid var(--gt-line); background: var(--gt-paper); }
.gt-pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.gt-pager__item { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: var(--gt-r-sm); border: 1px solid var(--gt-line); background: var(--gt-paper); text-decoration: none; color: var(--gt-ink); font-weight: 600; }
.gt-pager__item.is-current { background: var(--gt-ink); color: #fff; border-color: var(--gt-ink); }

/* ---------- Page jackpot ---------- */
.gt-detail { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 992px) { .gt-detail { grid-template-columns: 1fr 360px; gap: 48px; } .gt-detail__aside .gt-panel { position: sticky; top: 90px; } }
.gt-panel { background: var(--gt-paper); border: 1px solid var(--gt-line); border-radius: var(--gt-r); padding: 20px; }
.gt-panel .gt-h3 { margin-top: 0; }
.gt-panel .btn + .btn { margin-top: 8px; }
.gt-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gt-line); border: 1px solid var(--gt-line); border-radius: var(--gt-r); overflow: hidden; margin: 0 0 8px; }
@media (min-width: 768px) { .gt-figures { grid-template-columns: repeat(3, 1fr); } .gt-figures--4 { grid-template-columns: repeat(4, 1fr); } .gt-figures--2 { grid-template-columns: repeat(2, 1fr); } }
.gt-figures div { background: var(--gt-paper); padding: 12px 14px; }
.gt-figures dt { font-size: .82rem; font-weight: 600; color: var(--gt-muted); }
.gt-figures dd { margin: 2px 0 0; font-family: var(--gt-display); font-weight: 700; font-size: 1.35rem; color: var(--gt-ink); font-variant-numeric: tabular-nums; }
.gt-list { padding-left: 1.2rem; }
.gt-list li { margin-bottom: 6px; }
.gt-proof { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 12px 0 0; }
@media (min-width: 768px) { .gt-proof { grid-template-columns: 220px 1fr; } }
.gt-proof dt { font-weight: 600; font-size: .9rem; color: var(--gt-muted); padding-top: 8px; }
.gt-proof dd { margin: 0; padding: 6px 0 8px; border-bottom: 1px solid var(--gt-line); }
.gt-buy .gt-qty { display: grid; grid-template-columns: 52px 1fr 52px; border: 2px solid var(--gt-ink); border-radius: var(--gt-r-sm); overflow: hidden; }
.gt-qty input { border: 0; text-align: center; font-family: var(--gt-display); font-weight: 700; font-size: 1.8rem; color: var(--gt-ink); -moz-appearance: textfield; width: 100%; }
.gt-qty input::-webkit-inner-spin-button, .gt-qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.gt-qty__btn { border: 0; background: var(--gt-ink-soft); font-size: 1.6rem; font-weight: 700; color: var(--gt-ink); }
.gt-qty__btn:active { background: var(--gt-line); }
.gt-buy__total { margin: 14px 0; display: flex; justify-content: space-between; align-items: baseline; }
.gt-buy__total b { font-family: var(--gt-display); font-size: 1.7rem; color: var(--gt-ink); }

/* ---------- Résultat ---------- */
.gt-result { display: grid; gap: 24px; }
@media (min-width: 992px) { .gt-result { grid-template-columns: 380px 1fr; align-items: start; } }
.gt-result__ticket { background: var(--gt-ink); color: #fff; border-radius: var(--gt-r-lg); padding: 24px; border-bottom: 6px solid var(--gt-gold); }
.gt-result__ticket .gt-stub__label { color: #C9D3EA; }
.gt-result__code { font-family: var(--gt-display); font-weight: 700; font-size: 2.6rem; letter-spacing: .03em; margin: 4px 0 6px; color: var(--gt-gold); }
.gt-result__prize { font-family: var(--gt-display); font-weight: 700; font-size: 2rem; margin: 0; }
.gt-result__who { color: #C9D3EA; margin: 6px 0 0; }
.gt-verifier { margin-top: 28px; }
.gt-checks { list-style: none; padding: 0; margin: 16px 0; }
.gt-checks li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--gt-line); color: var(--gt-muted); }
.gt-checks li::before { content: "…"; position: absolute; left: 4px; font-weight: 700; }
.gt-checks li.is-ok { color: var(--gt-green); }
.gt-checks li.is-ok::before { content: "✓"; }
.gt-checks li.is-bad { color: var(--gt-red); }
.gt-checks li.is-bad::before { content: "✕"; }
.gt-algo { margin-top: 24px; }
.gt-algo summary { font-weight: 700; cursor: pointer; color: var(--gt-ink); }
.gt-algo pre { background: var(--gt-ink-deep); color: #E6EBF6; padding: 16px; border-radius: var(--gt-r); font-size: .82rem; margin-top: 10px; white-space: pre-wrap; }

/* ---------- Vérification ---------- */
.gt-verdict { border-radius: var(--gt-r); padding: 20px; margin-top: 16px; border: 1px solid; }
.gt-verdict h2 { font-family: var(--gt-display); font-weight: 700; font-size: 1.7rem; margin: 0 0 12px; }
.gt-verdict--ok { background: #EAF5EF; border-color: #BFE0CD; }
.gt-verdict--ok h2 { color: var(--gt-green); }
.gt-verdict--bad { background: #FBECEA; border-color: #F0C5C0; }
.gt-verdict--bad h2 { color: var(--gt-red); }

/* ---------- Authentification ---------- */
.gt-auth { max-width: 460px; }
.gt-auth--wide { max-width: 760px; }
.gt-form { background: var(--gt-paper); border: 1px solid var(--gt-line); border-radius: var(--gt-r); padding: 24px; }
.gt-auth__alt { margin-top: 16px; }
.form-label { font-weight: 600; font-size: .95rem; }
.form-control, .form-select { border-color: #C7CEDC; }
.form-control:focus, .form-select:focus { border-color: var(--gt-ink); box-shadow: 0 0 0 3px rgba(227, 167, 47, .35); }
.form-check-input:checked { background-color: var(--gt-ink); border-color: var(--gt-ink); }

/* ---------- Espace joueur ---------- */
.gt-account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.gt-account-head__hello { font-family: var(--gt-display); font-weight: 700; font-size: 1.9rem; color: var(--gt-ink); margin: 0; }
.gt-account-head__id { margin: 0; color: var(--gt-muted); font-size: .92rem; }
.gt-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--gt-line); margin-bottom: 24px; scrollbar-width: none; }
.gt-tabs::-webkit-scrollbar { display: none; }
.gt-tabs__item { padding: 10px 14px; text-decoration: none; color: var(--gt-muted); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.gt-tabs__item.is-active { color: var(--gt-ink); border-color: var(--gt-gold); }
.gt-dot { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--gt-red); color: #fff; font-size: .75rem; text-align: center; }
.gt-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--gt-gold-soft); border: 1px solid #efd9a6; border-radius: var(--gt-r); padding: 14px 18px; margin-bottom: 16px; }
.gt-callout p { margin: 0; color: #6a4a07; font-size: .95rem; }
.gt-mini-tickets { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.gt-mini-tickets a { display: flex; gap: 14px; align-items: center; padding: 10px 14px; background: var(--gt-paper); border: 1px solid var(--gt-line); border-left: 6px solid var(--gt-gold); border-radius: var(--gt-r-sm); text-decoration: none; color: var(--gt-text); }
.gt-mini-tickets small { display: block; color: var(--gt-muted); font-size: .82rem; }
.gt-notifs { list-style: none; padding: 0; margin: 0; }
.gt-notifs li { padding: 12px 0 12px 14px; border-bottom: 1px solid var(--gt-line); border-left: 3px solid transparent; }
.gt-notifs li.is-unread { border-left-color: var(--gt-gold); background: var(--gt-paper); }
.gt-notifs p { margin: 2px 0; }
.gt-notifs small { color: var(--gt-muted); }
.gt-win { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; background: var(--gt-paper); border: 1px solid var(--gt-line); border-left: 6px solid var(--gt-gold); border-radius: var(--gt-r); padding: 16px 20px; margin-bottom: 12px; }
.gt-win__amount { font-family: var(--gt-display); font-weight: 700; font-size: 2rem; color: var(--gt-ink); margin: 0; }
.gt-win p { margin: 0; }
.gt-win__state { text-align: right; }
.gt-win__state small { display: block; color: var(--gt-muted); }
.gt-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gt-filter .form-label { margin: 0; }
.gt-filter .form-select { width: auto; }

/* ---------- Paiement ---------- */
.gt-pay__grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .gt-pay__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.gt-pay__summary { background: var(--gt-paper); border: 1px solid var(--gt-line); border-radius: var(--gt-r); padding: 18px 20px; }
.gt-pay__total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 0; padding-top: 12px; border-top: 2px solid var(--gt-ink); }
.gt-pay__total b { font-family: var(--gt-display); font-size: 2rem; color: var(--gt-ink); }
.gt-pay__timer { margin: 8px 0 0; color: var(--gt-muted); }
.gt-pay__timer b { color: var(--gt-red); font-variant-numeric: tabular-nums; }
.gt-methods { display: grid; gap: 12px; }
.gt-method { background: var(--gt-paper); border: 1px solid var(--gt-line); border-radius: var(--gt-r); padding: 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.gt-method small { display: block; color: var(--gt-muted); font-size: .88rem; }
.gt-method--moncash { border-left: 6px solid #E3262E; }
.gt-method--natcash { border-left: 6px solid #F28C00; }
.gt-method--manual { display: block; border-left: 6px solid var(--gt-ink); }
.gt-method--manual summary { cursor: pointer; list-style: none; }
.gt-method--manual summary::-webkit-details-marker { display: none; }
.gt-manual-steps { margin: 12px 0; padding-left: 1.2rem; }
.gt-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gt-chip { font-family: var(--gt-display); font-weight: 600; padding: 4px 10px; border-radius: var(--gt-r-sm); background: var(--gt-ink-soft); color: var(--gt-ink); border: 1px dashed #AEB9D2; }
.gt-chip--confirmed, .gt-chip--winner { background: var(--gt-gold-soft); border: 1px solid var(--gt-gold); }
.gt-chip--cancelled, .gt-chip--refunded { text-decoration: line-through; opacity: .6; }
.gt-receipt__rows { margin: 0; }
.gt-receipt__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted var(--gt-line); }
.gt-receipt__rows dt { font-weight: 400; color: var(--gt-muted); }
.gt-receipt__rows dd { margin: 0; text-align: right; font-weight: 600; }
.gt-sim { background: var(--gt-paper); border: 2px dashed var(--gt-gold); border-radius: var(--gt-r); padding: 24px; }
.gt-sim__tag { font-size: .85rem; color: #7a5508; background: var(--gt-gold-soft); display: inline-block; padding: 4px 8px; border-radius: 4px; }

/* ---------- Erreurs ---------- */
.gt-error { text-align: left; max-width: 640px; }
.gt-error__code { font-family: var(--gt-display); font-weight: 700; font-size: 6rem; line-height: 1; color: var(--gt-gold-deep); margin: 0; }

/* ---------- Pied de page ---------- */
.gt-footer { background: var(--gt-ink-deep); color: #C9D3EA; padding: 48px 0 20px; margin-top: 0; }
.gt-footer__grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .gt-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.gt-footer__title { font-family: var(--gt-display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.gt-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.gt-footer a { color: #E6EBF6; text-decoration: none; }
.gt-footer a:hover { text-decoration: underline; }
.gt-footer__note { font-size: .92rem; margin: 10px 0 0; max-width: 36ch; }
.gt-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }

/* ---------- Deux jeux : Gold Lotto + Cagnotte ---------- */
.gt-stub__carry { font-size: .85rem; color: var(--gt-gold-deep); font-weight: 600; margin: -10px 0 12px; }
.gt-stub__second { margin: -4px 0 14px; padding: 8px 12px; background: var(--gt-gold-soft); border-radius: var(--gt-r-sm); font-size: .95rem; }
.gt-stub__second b { font-family: var(--gt-display); font-size: 1.35rem; color: var(--gt-ink); margin: 0 4px; }
.gt-stub__second small { color: var(--gt-muted); display: block; font-size: .8rem; }
.gt-stub__prices { margin: 0; display: grid; gap: 6px; }
.gt-stub__prices div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed rgba(12, 34, 82, .3); padding-bottom: 4px; }
.gt-stub__prices dt { font-weight: 600; font-size: .92rem; }
.gt-stub__prices dd { margin: 0; font-family: var(--gt-display); font-weight: 700; font-size: 1.5rem; }
.gt-stub__rule { font-size: .85rem; margin: 0; }

.gt-balls { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; padding: 0; list-style: none; }
.gt-ball { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--gt-display); font-weight: 700; font-size: 1.35rem;
  background: radial-gradient(circle at 32% 28%, #FCE7B0 0, var(--gt-gold) 55%, var(--gt-gold-deep) 100%); color: var(--gt-ink-deep); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.gt-balls--sm .gt-ball { width: 30px; height: 30px; font-size: .95rem; }
.gt-ball--miss { background: var(--gt-ink-soft); color: var(--gt-muted); box-shadow: none; }
.gt-result__ticket .gt-ball { box-shadow: none; }
.gt-games { display: grid; gap: 16px; }
@media (min-width: 768px) { .gt-games { grid-template-columns: 1fr 1fr; } }
.gt-game { background: var(--gt-paper); border: 1px solid var(--gt-line); border-radius: var(--gt-r); padding: 18px 20px; border-top: 4px solid var(--gt-ink); }
.gt-game--cagnotte { border-top-color: var(--gt-gold); }
.gt-game h3 { font-family: var(--gt-display); font-weight: 700; color: var(--gt-ink); font-size: 1.4rem; margin: 0 0 4px; }
.gt-game__amount { font-family: var(--gt-display); font-weight: 700; font-size: 2.4rem; color: var(--gt-ink); line-height: 1; margin: 6px 0 10px; }
.gt-game ul { padding-left: 1.1rem; margin: 0; font-size: .95rem; }
.gt-game li { margin-bottom: 4px; }

.gt-modes { display: grid; gap: 8px; margin-bottom: 14px; }
.gt-mode { display: flex; align-items: center; gap: 10px; border: 2px solid var(--gt-line); border-radius: var(--gt-r-sm); padding: 10px 12px; cursor: pointer; }
.gt-mode input { accent-color: var(--gt-ink); width: 18px; height: 18px; }
.gt-mode b { flex: 1; }
.gt-mode span { font-family: var(--gt-display); font-weight: 700; font-size: 1.2rem; color: var(--gt-ink); }
.gt-mode:has(input:checked) { border-color: var(--gt-ink); background: var(--gt-ink-soft); }
.gt-grids { display: grid; gap: 12px; margin: 14px 0; }
.gt-grid { border: 1px solid var(--gt-line); border-radius: var(--gt-r-sm); padding: 10px; }
.gt-grid__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .9rem; }
.gt-grid__head b { font-family: var(--gt-display); font-size: 1.1rem; color: var(--gt-ink); }
.gt-grid__flash { border: 0; background: none; color: var(--gt-ink); font-weight: 700; text-decoration: underline; padding: 0; }
.gt-grid__nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 5px; }
.gt-grid__nums button { aspect-ratio: 1; border: 1px solid #C7CEDC; background: #fff; border-radius: 50%; font-weight: 700; font-size: .9rem; color: var(--gt-ink); padding: 0; }
.gt-grid__nums button[aria-pressed="true"] { background: var(--gt-gold); border-color: var(--gt-gold-deep); color: var(--gt-ink-deep); }
.gt-grid__nums button:disabled { opacity: .35; }
.gt-grid input[type=text] { margin-top: 8px; }
.gt-js .gt-grid input[type=text] { display: none; }
.gt-ticket-games { font-size: .8rem; color: var(--gt-muted); display: block; }
.gt-mt-sm { margin-top: 20px; }
.gt-result__code--ink { color: var(--gt-ink); font-size: 2rem; font-family: var(--gt-display); font-weight: 700; margin: 2px 0 6px; }
.gt-table .gt-balls { margin: 0 0 4px; }

/* ---------- Jeux séparés ---------- */
.gt-game-hero { padding: 40px 0 28px; border-bottom: 6px solid var(--gt-gold); }
.gt-game-hero--lotto { background: var(--gt-ink); color: #fff; }
.gt-game-hero--lotto .gt-display { color: #fff; }
.gt-game-hero--lotto .gt-lead { color: #C9D3EA; }
.gt-game-hero--cagnotte { background: var(--gt-gold); color: var(--gt-ink-deep); border-bottom-color: var(--gt-ink); }
.gt-game-hero--cagnotte .gt-lead { color: var(--gt-ink-deep); }
.gt-game-hero__kicker { font-weight: 700; margin: 0 0 4px; opacity: .85; }
.gt-game-hero .gt-display { margin-bottom: 8px; }
.gt-hero__game { color: #C9D3EA; font-weight: 600; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 12px; }
.gt-hero__game a { color: var(--gt-gold); }
.gt-section--cagnotte { background: var(--gt-gold-soft); border-bottom: 1px solid #efd9a6; }
.gt-section--cagnotte .gt-h1 { margin-bottom: 8px; }
.gt-section--cagnotte .gt-stub__tear::before, .gt-section--cagnotte .gt-stub__tear::after { background: var(--gt-gold-soft); }
.gt-howto { padding-left: 1.3rem; margin: 0 0 12px; }
.gt-howto li { margin-bottom: 8px; padding-left: 4px; }
.gt-howto li::marker { font-family: var(--gt-display); font-weight: 700; color: var(--gt-gold-deep); }
.gt-tabs--sub { margin-bottom: 16px; }
.gt-mini-tickets--cagnotte a { border-left-color: var(--gt-ink); }
.gt-rows .gt-balls { margin: 6px 0 2px; }
.gt-games--single { grid-template-columns: 1fr !important; }
.gt-games--single .gt-game ul { columns: 2 320px; column-gap: 32px; }
.gt-games--single .gt-game li { break-inside: avoid; }
