/* Slash ma Fondue ! : ressources locales, aucune dépendance distante. */
:root {
    color-scheme: light;
    --cream: #fff8e8;
    --paper: #fffdf5;
    --ink: #38271c;
    --muted: #71513a;
    --red: #a32d24;
    --gold: #e8b548;
    --line: #dfcba4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; font-size: 17px; line-height: 1.75; }
a { color: var(--red); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(1024px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 10px 16px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.game-brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.game-brand img { width: 56px; height: 56px; border-radius: 13px; }
.game-brand strong { display: block; font-size: 20px; font-weight: 800; }
.game-brand small { display: block; color: var(--muted); margin-top: 5px; font-size: 13px; }
.publisher-link { font-size: 14px; font-weight: bold; white-space: nowrap; }
.publisher-short { display: none; }
.presentation { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.banner { display: block; width: 100%; height: auto; }
.game-intro { padding: 24px 32px; border-top: 5px solid var(--gold); }
.game-intro > p:last-child { margin: 8px 0 0; max-width: 85ch; }
.eyebrow, .section-number { margin: 0; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.policy-heading { padding-block: 60px 48px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; }
h1 { margin: 14px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.035em; }
h1 span { display: block; color: var(--red); }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.summary { background: #f9eccb; border-left: 5px solid var(--red); border-radius: 0 12px 12px 0; padding: 24px 28px; }
.summary p { margin: 0 0 12px; }
.summary-title { font-size: 21px; font-weight: 800; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; margin: 18px 0 0; padding: 0; }
.facts li { padding: 4px 12px; border: 1px solid #c9ad71; border-radius: 5px; font-size: 13px; font-weight: bold; background: var(--paper); }
.policy-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.contents { position: sticky; top: 24px; border-top: 3px solid var(--gold); padding-top: 20px; font-size: 14px; }
.contents ol { padding: 0; margin: 16px 0 24px; list-style: none; counter-reset: toc; }
.contents li { counter-increment: toc; }
.contents a { display: flex; gap: 12px; padding-block: 8px; text-decoration: none; color: var(--ink); line-height: 1.5; }
.contents a::before { content: "0" counter(toc); color: var(--red); font-size: 12px; padding-top: 2px; }
.contents a:hover { color: var(--red); text-decoration: underline; }
.scope { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.policy-body section { border-top: 1px solid var(--line); padding-block: 30px 32px; scroll-margin-top: 16px; }
.policy-body section:first-child { border-top: 3px solid var(--gold); padding-top: 20px; }
h2 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; letter-spacing: -.02em; }
h3 { font-size: 17px; margin: 0 0 10px; }
.policy-body p { margin: 0 0 16px; }
.policy-body .section-number { margin: 0; }
.policy-body section > :last-child { margin-bottom: 0; }
.policy-body ul { padding-left: 22px; margin-block: 16px 20px; }
.policy-body li { padding-left: 6px; margin-block: 6px; }
.policy-body li::marker { color: var(--red); }
.policy-body a, code { overflow-wrap: anywhere; }
.package { font-size: 14px; color: var(--muted); }
code { font-size: .94em; }
.deletion-option { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin-block: 24px; }
.deletion-option p:last-child { margin-bottom: 0; }
.policy-body .contact-section { background: #f9eccb; border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin-block: 4px 32px; }
.contact-link { display: inline-block; font-weight: bold; margin-bottom: 20px; }
.page-footer { display: flex; gap: 24px; justify-content: space-between; align-items: start; padding-block: 28px 36px; border-top: 2px solid var(--red); font-size: 13px; }
.page-footer p { margin: 0; }
.page-footer span { color: var(--muted); }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: end; }
@media (max-width: 760px) {
    .wrap { width: calc(100% - 36px); }
    .masthead { padding-block: 18px; gap: 14px; }
    .game-brand { gap: 10px; }
    .game-brand strong { font-size: 16px; white-space: nowrap; }
    .game-brand img { width: 48px; height: 48px; }
    .publisher-link { font-size: 12px; text-align: right; }
    .publisher-full { display: none; }
    .publisher-short { display: inline; }
    .presentation { border-radius: 12px; }
    .game-intro { padding: 20px; }
    .game-intro .eyebrow { font-size: 10px; }
    .policy-heading { padding-block: 36px 30px; }
    .summary { padding: 20px; }
    .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .contents { position: static; }
    .contents ol { columns: 2; column-gap: 18px; margin-bottom: 16px; }
    .contents li { break-inside: avoid; }
    .contents a { font-size: 13px; gap: 8px; min-height: 44px; }
    .scope { margin: 0; padding-block: 12px 0; }
    .scope br { display: none; }
    .scope strong { margin-inline: 6px; }
    h2 { font-size: 27px; }
    .policy-body .contact-section { padding: 22px; }
    .page-footer { flex-direction: column; gap: 16px; }
    .page-footer nav { justify-content: start; }
}
@media (max-width: 360px) {
    body { font-size: 16px; }
    .game-brand strong { font-size: 15px; }
    .game-brand small { font-size: 11px; }
    .game-brand img { width: 40px; height: 40px; }
    .contents ol { columns: 1; }
}
@media print {
    body { background: white; color: black; font-size: 11pt; }
    .wrap { width: 100%; }
    .masthead, .presentation, .contents, .page-footer, .skip-link { display: none; }
    .policy-layout { display: block; }
    .policy-heading { padding-block: 0 20px; }
    h1 { font-size: 28pt; }
    h2 { break-after: avoid; }
    .policy-body section { padding-block: 16px; }
}
