@font-face{font-family:"Gloock";font-style:normal;font-weight:400;font-display:swap;src:url(/type/gloock-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url(/type/source-serif-4-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(/type/source-serif-4-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url(/type/source-serif-4-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:700;font-display:swap;src:url(/type/source-serif-4-latin-700-normal.woff2) format("woff2")}
/* Watermark — casinobonusesuk.co.uk. Monde : impression fiduciaire britannique (papier de sécurité, encre d'intaille
   prune, guilloches, micro-lettrage). Le monde tient le cadre (en-tête, bandeau, ouvertures de section, plaques,
   tableaux, pied) ; la colonne de lecture reste calme : encre sur papier, 66 caractères. */
:root {
  --paper: #F2F0E8;
  --paper-deep: #E8E4D7;
  --ink: #211A36;
  --ink-soft: #4A4062;
  --plum: #5A3D8A;
  --plum-deep: #33215A;
  --rule: #C7BFD5;
  --within: #1D5C43;
  --breaks: #9E231B;
  --verify: #6F5212;
  --night-text: #EDE8F6;
  --night-soft: #C9BFDF;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Gloock", "Source Serif 4", Georgia, serif;
  --measure: 66ch;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  color-scheme: light;
  scrollbar-color: var(--plum) var(--paper-deep);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--serif);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  caret-color: var(--plum);
}
::selection { background: #D9CDF0; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }
.skip:hover { color: var(--paper); }
main:focus { outline: none; }

/* Petites capitales du micro-lettrage (étiquettes, fil d'Ariane, date) */
.dateline, .crumbs, .contents-title, .answer-title, .ledger figcaption, .check-word, .brand-line, .microline strong {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
}

/* ---- En-tête : bande guillochée, filigrane, sceau ---- */
.masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    url(/art/band.svg) repeat-x left top / 96px 40px,
    var(--paper);
  padding-top: 40px;
}
.masthead::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -40px;
  width: 340px;
  height: 340px;
  background: url(/art/rosette.svg) center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.masthead-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.1rem var(--gutter) 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 2rem;
}
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-seal { grid-row: span 2; width: 2.75rem; height: 2.75rem; }
.brand-name { font: 400 1.85rem/1 var(--display); letter-spacing: -0.005em; }
.brand-line { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.3; }
.sections ul { list-style: none; margin: 0; padding: 0 0 0.35rem; display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; }
.sections a { display: inline-block; padding: 0.55rem 0; color: var(--ink); font-weight: 600; font-size: 0.96rem; text-decoration: none; border-bottom: 3px double transparent; }
.sections a:hover { border-bottom-color: var(--rule); }
.sections a[aria-current="page"] { border-bottom-color: var(--plum); }

/* ---- Micro-ligne : âge, nature du site, aide ---- */
.microline { background: var(--paper-deep); border-bottom: 1px solid var(--rule); }
.microline p { max-width: 72rem; margin: 0 auto; padding: 0.45rem var(--gutter); font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }
.microline strong { color: var(--ink); font-size: 1.05rem; margin-right: 0.35rem; }
.microline-help { white-space: nowrap; }
.microline a { font-weight: 600; }

/* ---- Page ---- */
.page { max-width: 72rem; margin: 0 auto; padding: 1.6rem var(--gutter) 4.5rem; }
.crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.92rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--rule); }
.page-head { max-width: 50rem; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.45rem); line-height: 1.07; letter-spacing: -0.012em; margin: 0 0 1rem; }
.lede { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.32rem); line-height: 1.5; color: var(--ink-soft); margin: 0 0 1rem; max-width: 62ch; }
.dateline { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---- Plaque du plafond (accueil) : chiffre de billet dans sa rosette ---- */
.plate {
  margin: 2.2rem 0 0;
  max-width: 50rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem 2rem;
  padding: 1.4rem 1.6rem;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
}
.plate-seal { position: relative; width: 10.5rem; height: 10.5rem; }
.plate-seal img { width: 100%; height: 100%; animation: seal-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
/* Chiffre dans son cartouche clair, comme la valeur d'un billet posée sur la guilloche */
.plate-figure { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.plate-figure b { display: inline-flex; align-items: center; justify-content: center; width: 46%; aspect-ratio: 1; padding-top: 0.08em; border-radius: 50%; background: var(--paper-deep); box-shadow: 0 0 0 1px var(--rule), 0 0 0 5px var(--paper-deep), 0 0 0 6px var(--rule); font: 400 2.9rem/1 var(--display); color: var(--plum-deep); letter-spacing: -0.03em; }
.plate-figure span { font: 600 0.46em/1 var(--serif); color: var(--plum); align-self: flex-start; margin: 0.72em 0 0 0.06em; }
.plate figcaption { font-size: 1.05rem; line-height: 1.55; }
.plate figcaption strong { font-weight: 700; }
@keyframes seal-in { from { transform: rotate(-14deg) scale(0.96); } to { transform: none; } }

/* ---- Réponse courte ---- */
.answer {
  margin: 2rem 0 0;
  max-width: 50rem;
  padding: 1.1rem 1.4rem 1.2rem;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 5px;
  background: var(--paper);
}
.answer-title { font: 600 0.95rem/1.3 var(--serif); color: var(--plum); margin: 0 0 0.35rem; }
.answer p { margin: 0; font-size: 1.12rem; }

/* ---- Corps : sommaire et colonne ---- */
.page-body { margin-top: 2.6rem; }
.page-body.has-contents { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 64rem) {
  .page-body.has-contents { grid-template-columns: 14.5rem minmax(0, var(--measure)); gap: 3.5rem; align-items: start; }
  .contents { position: sticky; top: 1.5rem; }
}
.contents { border-top: 3px double var(--plum); padding-top: 0.7rem; font-size: 0.95rem; }
.contents-title { margin: 0 0 0.5rem; font-weight: 600; color: var(--plum); font-size: 0.95rem; }
.contents ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }
.contents a { color: var(--ink); text-decoration-color: var(--rule); }
.column { max-width: var(--measure); min-width: 0; }
.column > :first-child { margin-top: 0; }
.column p, .column ul, .column ol { margin: 0 0 1.05rem; }
.column li { margin-bottom: 0.4rem; }
.column h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 1.95rem); line-height: 1.18; margin: 3rem 0 0.9rem; padding-top: 1.35rem; position: relative; }
.column h2::before { content: ""; position: absolute; left: 0; top: 0; width: 6rem; height: 12px; background: url(/art/band.svg) repeat-x left center / 48px 20px; }
.column h3 { font: 600 1.2rem/1.3 var(--serif); margin: 2rem 0 0.5rem; }
.column strong { font-weight: 700; }
.column blockquote { margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.2rem; border-left: 1px solid var(--plum); color: var(--ink-soft); font-style: italic; }
.column hr { border: 0; height: 12px; background: url(/art/band.svg) repeat-x center / 48px 20px; margin: 2.5rem 0; }

/* Tableaux : registre à filets, chiffres tabulaires */
.ledger { margin: 1.5rem 0 1.8rem; }
.ledger figcaption { font-weight: 600; color: var(--plum); font-size: 0.95rem; margin-bottom: 0.45rem; }
.ledger-well { overflow-x: auto; border-top: 3px double var(--plum); border-bottom: 1px solid var(--plum); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums lining-nums; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.ledger thead th { font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.ledger tbody th { font-weight: 600; }
.ledger tr:last-child > * { border-bottom: 0; }

/* Contrôles : marque dessinée + mot, jamais la couleur seule */
.column ul:has(> .check) { list-style: none; padding: 0; }
.check { display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.check:first-child { border-top: 1px solid var(--rule); }
.check-mark { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.check-mark svg { width: 1.35rem; height: 1.35rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.check-within .check-mark { color: var(--within); }
.check-breaks .check-mark { color: var(--breaks); }
.check-verify .check-mark { color: var(--verify); }
@media (min-width: 40rem) { .check { grid-template-columns: 11.5rem 1fr; gap: 1rem; } }

/* Sources : provenance datée */
#sources + ul { font-size: 0.98rem; color: var(--ink-soft); padding-left: 1.1rem; }

/* ---- Pied : nuit d'intaille ---- */
.colophon { background: url(/art/band-light.svg) repeat-x left top / 96px 40px, var(--plum-deep); color: var(--night-text); padding-top: 40px; }
.colophon-inner { max-width: 72rem; margin: 0 auto; padding: 2rem var(--gutter) 2.6rem; display: grid; gap: 1.4rem; }
.colophon a { color: #FFFFFF; }
.colophon a:hover { color: var(--night-soft); }
.colophon-brand { display: flex; align-items: center; gap: 0.8rem; margin: 0; font: 400 1.7rem/1 var(--display); }
.colophon-brand img { width: 3.5rem; height: 3.5rem; }
.colophon-help p { margin: 0; max-width: 62ch; font-size: 1.05rem; }
.colophon-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.colophon-nav a { display: inline-block; padding: 0.5rem 0; }
.colophon-note { margin: 0; font-size: 0.92rem; color: var(--night-soft); max-width: 70ch; }
.colophon :focus-visible { outline-color: #FFFFFF; }

/* ---- Petits écrans ---- */
@media (max-width: 40rem) {
  .plate { grid-template-columns: 1fr; justify-items: center; padding: 1.4rem 1.2rem; }
  .plate figcaption { justify-self: stretch; }
  .plate-seal { width: 9.5rem; height: 9.5rem; }
  .plate-figure b { font-size: 2.6rem; }
  .sections { width: 100%; }
  .sections ul { flex-wrap: nowrap; overflow-x: auto; gap: 1rem; scrollbar-width: thin; padding-right: 2rem; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
  .sections ul:focus-within { -webkit-mask-image: none; mask-image: none; }
  .sections li { flex: none; }
  .masthead::after { width: 220px; height: 220px; right: -70px; top: -10px; }
  .microline-help { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .plate-seal img { animation: none; } }
@media print { .masthead, .microline, .colophon-nav, .contents { display: none; } body { background: #FFFFFF; } }

/* ---- Bandeau de mesure d'audience : deux boutons de même poids (refuser aussi simple qu'accepter) ---- */
.measure { position: fixed; z-index: 30; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; box-sizing: border-box; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: 4px; padding: 1rem 1.2rem; box-shadow: 0 0.75rem 2rem rgb(33 26 54 / 0.18); font-size: 0.98rem; line-height: 1.5; }
html:not(.js) .measure, .measure-set .measure { display: none; }
.measure p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.measure strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 0.2rem; }
.measure-act { display: flex; gap: 0.6rem; }
.measure-btn { flex: 1; min-height: 2.75rem; border: 1px solid var(--plum); background: var(--paper); color: var(--plum-deep); font: 600 0.98rem/1 var(--serif); cursor: pointer; }
.measure-btn:hover { background: var(--paper-deep); }
.measure-open { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; border: 0; background: none; color: #FFFFFF; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.measure-open:hover { color: var(--night-soft); }
html:not(.js) .measure-open { display: none; }
@media (max-width: 40rem) { .measure { left: 0.75rem; right: 0.75rem; width: auto; } }
@media print { .measure, .measure-open { display: none !important; } }
