:root{--ink:#244c3d;--paper:#fcf7eb;--sun:#f2ca63;--orange:#bd5736;--muted:#566657;--line:#d9ddcb;--white:#fffdf7;font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:17px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.58}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ad4c2b;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.04em;line-height:1.08}h1{font-size:clamp(2.6rem,5.5vw,4.7rem)}h2{font-size:clamp(1.9rem,3.7vw,2.8rem)}h3{font-size:1.2rem;line-height:1.25}p{line-height:1.6}small{font-size:.82rem}strong{font-weight:800}[hidden]{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{display:block;padding:1rem}.kids-header{max-width:1240px;margin:auto;display:flex;align-items:center;gap:24px;padding:24px 30px;border-bottom:1px solid var(--line)}.kids-brand{display:flex;gap:10px;text-decoration:none;align-items:center;letter-spacing:.04em;font-size:1.2rem}.kids-brand>span:first-child{font-size:2.3rem;color:var(--orange)}.kids-brand small{display:block;font-size:.68rem;letter-spacing:.03em;margin-top:4px}.kids-header nav{display:flex;gap:6px;margin:auto}.kids-header button{background:transparent;padding:12px 20px;border-radius:30px;font-weight:800;min-height:48px}.kids-header button.is-current{background:var(--ink);color:var(--paper)}.site-return{font-size:.82rem;text-decoration:none}.kids-footer{max-width:1180px;margin:40px auto 0;border-top:1px solid var(--line);padding:28px 24px;display:flex;gap:22px;align-items:center;font-size:.77rem;color:var(--muted)}.kids-footer span{margin-right:auto}.kids-footer button{background:transparent;text-decoration:underline;min-height:44px}.mobile-nav{display:none}main{max-width:1180px;margin:auto;padding:38px 28px;min-height:65vh;outline:none}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;margin-bottom:36px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:800;font-size:.68rem;color:var(--orange);margin-bottom:17px}.hero h1 em{color:var(--orange);font-weight:400}.hero .intro{margin:20px 0 24px;max-width:500px;color:var(--muted);font-size:1rem}.hero-art{position:relative}.hero-art img{display:block;width:100%;transform:rotate(1.5deg);border:7px solid #fffdf7;border-radius:35px;box-shadow:0 12px 25px #294c3e12}.map-note{position:absolute;bottom:-13px;left:18px;background:var(--sun);padding:13px 20px;border-radius:8px;transform:rotate(-3deg);font-weight:800;font-size:.78rem;box-shadow:0 4px 6px #244c3d12}.button{min-height:50px;padding:14px 23px;border:1px solid transparent;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:800;text-decoration:none;line-height:1.25;background:var(--ink);color:var(--white)}.button.sun{background:var(--sun);color:var(--ink)}.button.secondary{background:transparent;border-color:#afbaa7;color:var(--ink)}.button.text{background:transparent;color:var(--ink);text-decoration:underline;padding:10px}.button.small{min-height:44px;padding:11px 15px;font-size:.88rem}.hero-buttons,.actions{display:flex;gap:12px;flex-wrap:wrap}.journey-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:18px;background:#f0f1e5;padding:19px 24px;margin:25px 0 34px}.journey-progress{display:flex;align-items:center;gap:16px}.journey-progress p{font-size:.82rem}.journey-progress strong{display:block;font-size:1rem}.progress-ring{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:var(--white);border:3px solid var(--ink);font-size:.8rem;font-weight:800;white-space:nowrap}.levels{display:flex;border-radius:12px;background:#e0e6d6;padding:4px;gap:3px}.levels button{padding:10px 13px;border-radius:9px;min-height:44px;background:transparent;font-size:.8rem;font-weight:800}.levels button[aria-pressed=true]{background:var(--white);box-shadow:0 2px 4px #244c3d15}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.section-heading p{color:var(--muted);font-size:.88rem}.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.mission{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--white);display:flex;flex-direction:column;text-align:left;transition:transform .15s,box-shadow .15s;padding:0;position:relative}.mission:hover{transform:translateY(-4px);box-shadow:0 10px 22px #244c3d13}.mission-art{height:130px;display:flex;align-items:center;justify-content:center;position:relative;width:100%;overflow:hidden;background:var(--tint,#e7eacd)}.mission-symbol{font-size:4.2rem;line-height:1;filter:drop-shadow(0 4px 0 #244c3d0a);transform:rotate(-5deg)}.mission-art:before,.mission-art:after{content:'✦';position:absolute;color:#ffffffb0;left:18%;top:22%;font-size:22px}.mission-art:after{left:auto;right:18%;top:52%;font-size:15px}.mission-number{position:absolute;top:14px;left:15px;display:grid;place-items:center;background:#fffdf7db;border-radius:50%;width:30px;height:30px;font-size:.8rem;font-weight:800}.mission-done{position:absolute;top:14px;right:13px;background:var(--ink);color:#fff;padding:5px 9px;border-radius:20px;font-size:.7rem}.mission-body{padding:20px;width:100%;flex:1}.mission-place{text-transform:uppercase;font-size:.62rem;letter-spacing:.13em;color:var(--muted);font-weight:800;display:block;margin-bottom:8px}.mission-desc{font-size:.83rem;color:var(--muted);display:block;line-height:1.55;margin:10px 0 18px}.mission-action{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px;font-weight:800;font-size:.82rem}.mission-action span:last-child{font-size:1.2rem}.note{font-size:.85rem;color:var(--muted);margin:18px 0}.preview-banner{background:#f2ca63;text-align:center;padding:12px;font-size:.82rem}.empty,.loading{padding:50px 20px;text-align:center}.empty p{margin:18px auto;max-width:650px}.play-wrap{max-width:840px;margin:0 auto}.play-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.back{background:transparent;min-height:44px;font-size:.9rem}.step-dots{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.step-dots span{width:11px;height:11px;background:#d5ddc9;border-radius:100%}.step-dots span.done{background:var(--ink)}.step-dots small{margin-left:8px}.play-card{border:1px solid var(--line);background:var(--white);padding:clamp(23px,5vw,42px);border-radius:25px;box-shadow:0 8px 24px #244c3d08}.play-heading{display:flex;gap:20px;align-items:start;margin:14px 0 25px}.play-heading h1{font-size:clamp(1.8rem,4.5vw,2.65rem);line-height:1.2;flex:1}.listen{border:1px solid var(--line);background:#f1f1e7;border-radius:13px;min-height:46px;min-width:46px;padding:10px;font-size:.8rem;white-space:nowrap}.game-instruction{font-size:.86rem;color:var(--muted);margin-bottom:18px}.options{display:grid;gap:12px}.option{display:flex;align-items:center;text-align:left;gap:14px;width:100%;padding:17px 18px;border-radius:14px;background:var(--white);border:2px solid var(--line);min-height:67px;line-height:1.45;font-weight:700}.option:hover{border-color:#718b64}.option.selected{background:#ecf0dc;border-color:var(--ink)}.choice-mark{height:25px;width:25px;min-width:25px;display:grid;place-items:center;border:2px solid #a5b29a;border-radius:50%;font-size:15px}.multi .choice-mark{border-radius:6px}.selected .choice-mark{background:var(--ink);color:white;border-color:var(--ink)}.order-list{display:grid;gap:12px;list-style:none;padding:0;margin:0}.order-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f2f2e5;border:1px solid var(--line);border-radius:14px}.order-item>span{flex:1;line-height:1.4}.order-item b{background:var(--white);height:30px;min-width:30px;border-radius:50%;display:grid;place-items:center;font-size:.8rem}.order-controls{display:flex;gap:5px}.order-controls button{border:1px solid #b8c4ad;background:var(--white);width:44px;height:44px;border-radius:10px}.match-row{display:grid;grid-template-columns:1fr 1.3fr;gap:14px;align-items:center;background:#f2f2e5;border:1px solid var(--line);border-radius:13px;padding:16px;margin-bottom:12px}.match-row span{font-weight:700}.match-row select,.profile-select{width:100%;border:1px solid #9aa98e;background:var(--white);border-radius:10px;padding:12px;color:var(--ink);min-height:48px;max-width:100%}.feedback{padding:20px;border-radius:15px;margin:22px 0;background:#edf1df;border:1px solid #bdcfa7}.feedback.try{background:#fff3d7;border-color:#e9cb84}.feedback h2{font-family:inherit;font-size:1.1rem;letter-spacing:0;margin-bottom:8px}.feedback p{font-size:.95rem}.hint{border-left:3px solid var(--sun);padding:8px 16px;margin:18px 0;color:var(--muted)}.play-actions{margin-top:23px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.finish{text-align:center}.stamp-large{font-size:4.4rem;line-height:1.2;margin:18px auto}.finish h1{font-size:2.7rem}.finish p{max-width:590px;margin:17px auto}.challenge{background:#f7ebd0;text-align:left;padding:24px;border-radius:18px;margin:28px 0;border:1px dashed #c8a761}.challenge h2{font:800 1.05rem inherit;letter-spacing:0}.finish .actions{justify-content:center}.stamps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:28px 0}.stamp{border:2px dashed #becab1;background:#f3f3e8;border-radius:20px;padding:24px 15px;text-align:center}.stamp .symbol{display:block;filter:grayscale(1);opacity:.35;font-size:2.8rem;margin-bottom:13px}.stamp.earned{border:2px solid var(--ink);background:#f7e8bb;transform:rotate(-1deg)}.stamp.earned .symbol{filter:none;opacity:1}.stamp strong{display:block;font-size:.88rem}.stamp small{display:block;margin-top:7px;color:var(--muted)}.page-intro{max-width:730px;margin-bottom:30px}.page-intro p{margin:15px 0;color:var(--muted)}.panel{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:25px;margin:20px 0}.panel h2{font-size:1.6rem;margin-bottom:14px}.panel p{margin:12px 0}.avatars{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.avatar{background:#f1f0df;min-width:80px;padding:12px;border-radius:13px;border:2px solid transparent;font-size:.8rem}.avatar span{font-size:2rem;display:block;margin-bottom:6px}.avatar[aria-pressed=true]{border-color:var(--ink);background:#e6eccf}.status{font-size:.86rem;line-height:1.5;padding:14px 18px;border-radius:12px;background:#eef0e1;margin:16px 0}.status.error{background:#fff0cf}.install-steps{line-height:1.7;padding-left:24px}.install-steps li{padding-left:8px;margin-bottom:10px}.profile-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-row label{flex:1;min-width:180px}.certificate{border:4px double var(--ink);padding:35px;background:#fff7df;text-align:center;border-radius:22px;margin:25px 0}.certificate h2{margin:15px}.certificate p{margin:10px}.print-only{display:none}@media(max-width:900px){.hero{gap:27px}.mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:3.5rem}.journey-bar{padding:18px;align-items:start}.journey-progress{gap:10px}.levels{flex-direction:column}.kids-header{padding:18px 24px;gap:15px}.kids-header nav{margin-left:auto;margin-right:0}.site-return{display:none}}@media(max-width:600px){:root{font-size:16px}.kids-header{padding:15px 18px;gap:8px}.kids-brand{font-size:1.03rem}.kids-brand>span:first-child{font-size:1.8rem}.kids-header nav button{padding:10px 12px;font-size:.78rem}.kids-header nav button[data-go=carte]{display:none}main{padding:27px 18px 30px}.hero{grid-template-columns:1fr;gap:26px;margin-bottom:30px}.hero h1{font-size:3.15rem;max-width:330px}.hero .intro{margin:15px 0 20px}.hero-art{max-width:430px;margin:0 auto;width:100%}.hero-art img{max-height:280px;object-fit:cover}.map-note{font-size:.75rem;padding:10px 16px}.eyebrow{margin-bottom:12px}.journey-bar{flex-direction:column;gap:15px;margin:30px 0}.levels{flex-direction:row;width:100%}.levels button{flex:1}.section-heading{display:block}.section-heading p{margin-top:10px}.mission-grid{gap:15px;grid-template-columns:1fr}.mission{display:grid;grid-template-columns:95px 1fr}.mission-art{height:100%;min-height:170px}.mission-symbol{font-size:3rem}.mission-art:before,.mission-art:after{display:none}.mission-number{left:10px;top:10px;width:25px;height:25px}.mission-done{top:auto;bottom:12px;right:7px;font-size:.6rem}.mission-body{padding:17px}.mission-desc{font-size:.82rem;margin:7px 0 12px}.mission-place{font-size:.6rem}.mission h3{font-size:1.15rem}.kids-footer{display:block;padding:22px 18px 105px;margin-top:10px;font-size:.75rem}.kids-footer span{display:block;margin-bottom:12px}.kids-footer button{margin-right:17px;padding:0}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffdf7f5;border-top:1px solid var(--line);padding:9px 16px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;backdrop-filter:blur(8px)}.mobile-nav button{background:transparent;min-height:46px;min-width:80px;border-radius:12px;font-size:1.3rem}.mobile-nav span{font-size:.68rem;display:block;font-weight:800;margin-top:1px}.mobile-nav .is-current{background:#e5ead9}.play-top{align-items:start}.play-heading{display:block}.play-heading h1{font-size:1.95rem}.listen{margin-top:14px}.play-card{padding:23px 18px}.play-wrap .eyebrow{font-size:.62rem}.option{padding:15px 12px;gap:11px;font-size:.96rem}.play-actions .button{flex:1}.match-row{grid-template-columns:1fr;gap:10px}.order-item{gap:8px;padding:10px}.order-item>span{font-size:.9rem}.order-controls{flex-direction:column}.order-controls button{width:42px;height:40px}.stamps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stamp{padding:19px 10px}.finish h1{font-size:2.25rem}.panel{padding:20px}.certificate{padding:25px 15px}.profile-row{display:block}.profile-row button{margin-top:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body{background:white}.kids-header,.kids-footer,.mobile-nav,.actions,.panel,.levels,.journey-bar,.preview-banner,.note,.page-intro,.stamps{display:none!important}main{padding:0;max-width:100%}.certificate{border-radius:0}.print-only{display:block}.certificate p{color:#244c3d}}

/* Accès au carnet familial, visible avant les missions. */
.family-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:0 0 32px;background:#f3ead2;border:1px solid #d6bc80;border-radius:18px}.family-entry>div{min-width:0}.family-entry h2{font-family:inherit;font-size:1.15rem;letter-spacing:0;line-height:1.35;overflow-wrap:anywhere}.family-entry p{font-size:.85rem;margin-top:6px}.family-entry .button{flex-shrink:0}.family-panel{border:2px solid #c9aa62;background:#fff9e8}.profile-row label{font-weight:800}.profile-select{display:block;margin-top:9px}.profile-row{align-items:end}
@media(max-width:600px){.family-entry{align-items:stretch;flex-direction:column;gap:14px;padding:18px}.family-entry .button{width:100%}.kids-header{flex-wrap:wrap}.kids-header nav{gap:0}.kids-header nav button{padding:10px}.family-panel .button{max-width:100%;white-space:normal}}
@media print{.family-entry{display:none!important}}

/* Deux façons de jouer, expliquées avant les missions. */
.mode-controls{margin:26px 0;color:var(--ink);break-inside:avoid}
.mode-current{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:1px solid #c4d0b5;border-radius:16px;background:#edf1e3;scroll-margin-top:20px}
.mode-current p{display:flex;align-items:center;gap:13px;font-size:.9rem;line-height:1.45}
.mode-current strong{display:block;font-size:1.05rem}
.mode-symbol{font-size:1.65rem;flex-shrink:0}
.mode-current .button{flex-shrink:0;background:var(--white)}
/* Le focus programmatique reste utile, sans cadre au clic de souris. */
.mode-current:focus,.mode-choices:focus{outline:none}
.mode-current:focus-visible,.mode-choices:focus-visible,.mode-controls button:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.mode-choices{padding:26px 0 6px;scroll-margin-top:20px}
.mode-choices h2{font-size:clamp(1.65rem,3.4vw,2.3rem);max-width:730px;margin:0 0 22px;line-height:1.16}
.mode-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.mode-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0;text-align:left;padding:24px;border:2px solid #bacaab;border-radius:22px;background:#f0f3e6;transition:border-color .18s,box-shadow .18s}
.mode-card.mode-exploration{background:#fff1ce;border-color:#ddc78b}
.mode-card[aria-pressed=true]{border-color:var(--ink);box-shadow:0 4px 0 #244c3d18}
.mode-card:hover{border-color:var(--ink);box-shadow:0 5px 14px #244c3d12}
.mode-card-icon{font-size:2.1rem;line-height:1.15}
.mode-card-name{font-family:Georgia,'Times New Roman',serif;font-size:1.8rem;font-weight:700;letter-spacing:-.035em;line-height:1.1}
.mode-card-description{font-size:1rem;line-height:1.5;max-width:33em}
.mode-card-action{margin-top:auto;padding-top:10px;font-size:.88rem;font-weight:800}
#mode-choice-note{margin:18px 0 0;font-size:.9rem;line-height:1.55;color:var(--muted)}
#mode-choice-note strong{color:var(--ink)}
.stamps-heading{font-size:clamp(1.45rem,3vw,2rem);margin:32px 0 18px;line-height:1.2}
.play-wrap .mode-controls{margin:0 0 24px}
.play-wrap .mode-choices{padding-bottom:20px}
@media(max-width:600px){.mode-cards{grid-template-columns:1fr;gap:15px}.mode-card{padding:22px;gap:9px}.mode-current{padding:15px;gap:12px;flex-wrap:wrap}.mode-current p{flex:1;min-width:min(200px,100%)}.mode-card-name{font-size:1.7rem}.mode-current .button{min-height:44px}.mode-choices h2{font-size:1.85rem}.mode-controls{margin:24px 0}}
@media print{.mode-controls,.stamps-heading{display:none!important}}
/* Les petits coups de pouce et le retour de colo */
.hub-links{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:45px 0 25px}.hub-link{display:flex;align-items:center;gap:18px;padding:24px;text-align:left;border:1px solid #b7c9a5;border-radius:22px;background:#e9efd9;color:#244c3d;font:inherit;cursor:pointer;transition:transform .15s,box-shadow .15s}.hub-link.after{background:#f5e7c4;border-color:#dac699}.hub-link>span:first-child{font-size:2.3rem}.hub-link>span:nth-child(2){flex:1}.hub-link strong{display:block;font:700 1.35rem Georgia,serif}.hub-link small{display:block;margin-top:8px;line-height:1.5;font-size:.95rem}.hub-link:hover,.tip-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #244c3d12}.tips-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0}.tip-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;background:#fffdf5;border:1px solid #c9d2bb;border-radius:25px;padding:28px;color:#244c3d;font:inherit;cursor:pointer;transition:transform .15s,box-shadow .15s}.tip-card:nth-child(3n+2){background:#f9edce}.tip-card:nth-child(3n){background:#e8efd9}.tip-card h2{font-size:1.5rem;line-height:1.25;margin:16px 0 10px}.tip-card p{line-height:1.6;flex:1;margin:0 0 22px}.tip-symbol{font-size:2.7rem;line-height:1.3;display:block}.tip-action{font-weight:750;font-size:.95rem}.tip-detail h1{margin-top:12px}.tip-advice{list-style:none;padding:0;margin:30px 0;counter-reset:tip}.tip-advice li{counter-increment:tip;position:relative;padding:18px 0 18px 54px;border-bottom:1px solid #d8dfca;line-height:1.65}.tip-advice li:before{content:counter(tip);position:absolute;left:0;top:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e5edcf;font-weight:750}.survey-invitation{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:18px 0;border-top:1px solid #d8dfca}.survey-invitation h3{font-size:1.25rem;flex:1}.survey-step{font-weight:750;color:#6b633d}.survey-text{width:100%;font:inherit;line-height:1.7;border:2px solid #b0c09e;border-radius:17px;padding:18px;background:#fffef9;color:#244c3d;resize:vertical}.survey-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.survey-options .option{min-height:65px;justify-content:center;font-size:1.05rem}.survey-review dt{font-weight:750;margin-top:24px;line-height:1.5}.survey-review dd{margin:8px 0 20px;padding:14px;background:#f0f2e5;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.survey-review dd button{display:block;margin-top:5px}.survey-card #survey-status:not(:empty){background:#f9edce;padding:12px 16px;border-radius:10px}.submitted-surveys{list-style:none;padding:0}.submitted-surveys li{padding:14px 0;border-bottom:1px solid #d8dfca}.submitted-surveys strong{font-size:.85rem;display:block;margin-top:6px}.after-thanks{border:2px solid #9fb97e;background:#eff4dc}.after-thanks>span{font-size:2.5rem}.kids-header nav{flex-wrap:wrap}.kids-header nav button{white-space:nowrap}.tip-card:focus-visible,.hub-link:focus-visible,.survey-text:focus-visible{outline:3px solid #9a5e20;outline-offset:4px}
@media(max-width:1000px){.tips-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-link{padding:20px;gap:12px}.kids-header{gap:12px}.kids-header nav{gap:4px}}
@media(max-width:700px){.hub-links,.tips-grid{grid-template-columns:1fr;gap:16px}.hub-links{margin-top:28px}.tip-card{padding:24px}.survey-options{grid-template-columns:1fr}.survey-invitation{display:block}.survey-invitation button{width:100%}.tip-advice li{padding-left:45px}.mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-nav button{min-width:0;font-size:1.15rem}.mobile-nav span{font-size:.7rem}.survey-card .play-actions{flex-wrap:wrap}.survey-card .play-actions .button{flex:1;min-width:130px}.hub-link strong{font-size:1.25rem}}
@media(prefers-reduced-motion:reduce){.hub-link,.tip-card{transition:none}}
@media print{.hub-links{display:none}}

/* Copyright commun à toutes les rubriques de l’espace enfant. */
.kids-footer{flex-wrap:wrap}.kids-copyright{flex-basis:100%;margin:0;font-size:.75rem;line-height:1.65}
/* Souvenirs à garder, activités à vivre hors écran. */
.hub-link.memories{background:#f4e0d9;border-color:#d6b9ac}.hub-link.home{background:#e2ebdf;border-color:#b6c9b0}.home-filters{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 30px}.home-filters [aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:30px}.home-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #d0cbae;border-radius:24px;background:#fbefd0;padding:28px;font:inherit;color:var(--ink);transition:transform .15s,box-shadow .15s}.home-card.home-cuisine{background:#f5e0d0;border-color:#dbc2a9}.home-card.home-nature{background:#e7eddb;border-color:#c4cfb4}.home-card.home-ensemble{background:#e1ece7;border-color:#b6cfc4}.home-card-icon{font-size:2.7rem;line-height:1.5;margin-bottom:15px}.home-card .eyebrow{font-size:.65rem;letter-spacing:.09em}.home-card h2{font-size:1.55rem;margin:12px 0;line-height:1.18}.home-card p{font-size:.96rem;flex:1;margin-bottom:20px}.home-card-meta{display:block;font-size:.82rem;line-height:1.5;margin-bottom:18px}.home-card:hover,.memory-tile:hover{transform:translateY(-4px);box-shadow:0 10px 26px #244c3d14}.home-card:focus-visible,.memory-tile:focus-visible,.memory-prompt:focus-visible{outline:3px solid #a96227;outline-offset:5px}.home-sheet h1{margin:18px 0}.home-sheet h2{font-size:1.7rem;margin-bottom:12px}.home-meta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.home-meta span{border-radius:20px;background:#f6e4b6;padding:8px 14px;font-size:.9rem;font-weight:700}.home-before{background:#e9eddd;border-left:4px solid #9aaa80;border-radius:0 16px 16px 0;padding:20px;margin:25px 0}.home-before p{line-height:1.65}.home-materials{margin:28px 0}.home-materials ul{padding-left:24px;line-height:1.9}.home-steps{list-style:none;padding:0;counter-reset:step}.home-steps li{position:relative;counter-increment:step;line-height:1.75;padding:14px 0 20px 52px;break-inside:avoid}.home-steps li:before{content:counter(step);position:absolute;left:0;top:14px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f6de99;font-weight:800}.memory-box-art{display:block;font-size:3.2rem;margin-bottom:16px;letter-spacing:8px}.memory-intro .actions{margin-top:25px}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:12px 0 30px}.memory-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff7d9;color:var(--ink);border:1px solid #dfd1a2;border-radius:5px 5px 20px 5px;box-shadow:3px 5px 0 #daceb245;padding:30px 25px 24px;font:inherit;transform:rotate(-.7deg);transition:transform .15s,box-shadow .15s;overflow-wrap:anywhere}.memory-tile:nth-child(3n+2){background:#f5e4df;border-color:#d9beb4;transform:rotate(.8deg)}.memory-tile:nth-child(3n){background:#e6edde;border-color:#bccdad}.memory-pin{position:absolute;top:-8px;left:45%;width:42px;height:20px;background:#d9c7a1c9;transform:rotate(-5deg)}.memory-symbol{display:block;font-size:2.5rem;margin-bottom:16px}.memory-tile h3{font:700 1.3rem Georgia,serif;line-height:1.35;margin-bottom:14px}.memory-tile p{font-size:.96rem;line-height:1.7;flex:1;margin-bottom:20px;white-space:pre-wrap}.memory-tile small{font-size:.77rem;margin-bottom:18px;color:#526153}.memory-empty{border:2px dashed #d7c69e;border-radius:25px;padding:36px 25px;background:#faf0d9;text-align:center;margin:20px 0}.memory-empty>span{font-size:2.2rem;color:#bf8230}.memory-empty h3{font:700 1.5rem Georgia,serif;margin:10px}.memory-empty p{max-width:520px;margin:auto}.memory-inspirations{margin:38px 0}.memory-inspirations h2{font-size:1.8rem;line-height:1.25}.memory-inspirations>p{margin:12px 0 22px}.memory-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.memory-prompt{display:grid;grid-template-columns:42px 1fr;text-align:left;align-content:start;gap:8px 15px;padding:22px;border:1px solid #d3d7c4;border-radius:18px;background:#fffdf5;color:var(--ink);font:inherit}.memory-prompt>span{grid-row:1 / 4;font-size:1.7rem}.memory-prompt strong{font-size:1rem;line-height:1.4}.memory-prompt small{font-size:.9rem;line-height:1.6}.memory-prompt b{font-size:.85rem;margin-top:5px}.memory-editor h1{margin:15px 0 20px}.memory-editor form{margin-top:28px}.memory-editor label{display:block;font-weight:750;line-height:1.5;margin:22px 0 10px}.memory-editor input,.memory-editor textarea{display:block;width:100%;margin-top:8px;padding:14px 16px;font:inherit;font-weight:400;line-height:1.6;background:#fffef8;border:1px solid #b8c5ab;border-radius:12px;color:var(--ink);resize:vertical}.memory-editor input:focus-visible,.memory-editor textarea:focus-visible{outline:3px solid #9a5e20;outline-offset:3px}.memory-editor fieldset{border:0;padding:0;margin:25px 0}.memory-editor legend{font-weight:750;margin-bottom:12px}.memory-icon-choices{display:flex;flex-wrap:wrap;gap:10px}.memory-icon-choices button{display:grid;place-items:center;width:54px;height:54px;border:2px solid transparent;background:#f1eddd;border-radius:15px;font-size:1.7rem}.memory-icon-choices button[aria-pressed=true]{border-color:var(--ink);background:#f7dfa0}.memory-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.memory-status:not(:empty){padding:14px 18px;background:#f8e7b8;border-radius:12px;margin:16px 0}.memory-caption{font-size:.95rem;color:var(--muted);margin:20px 0}.memory-sheet{background:#fffaf0;border-color:#d8c8a4}.memory-sheet h1{font-size:clamp(2.2rem,5vw,3.4rem);overflow-wrap:anywhere}.memory-story{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.1rem;line-height:1.95;margin:26px 0 35px}.memory-signature{border-top:1px solid #ded6bf;padding-top:20px;color:var(--muted);font:italic .95rem Georgia,serif;margin-bottom:25px}.memory-load{margin:30px 0}.memory-pagination{margin:10px 0}
@media(max-width:1000px){.home-grid,.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-grid{gap:24px}.home-card{padding:24px}}
@media(max-width:650px){.home-grid,.memory-grid,.memory-prompts,.memory-fields{grid-template-columns:1fr}.memory-grid{gap:25px;padding:15px 4px 25px}.home-filters{gap:8px}.home-filters .button{padding:10px 13px;font-size:.83rem}.memory-prompt{padding:18px;gap:8px 10px}.memory-intro .actions{align-items:stretch}.memory-box-art{font-size:2.5rem}.memory-editor input,.memory-editor textarea{font-size:16px}.memory-fields{gap:0}.home-before{padding:17px}.home-steps li{padding-left:45px}.memory-sheet .actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.home-card,.memory-tile{transition:none;transform:none!important}}
@media print{.no-paper,.back,.memory-editor,.home-filters,.home-grid,.memory-prompts,.memory-pagination{display:none!important}.home-sheet,.memory-sheet{border:0;border-radius:0;box-shadow:none;padding:12px;background:white;color:#182f25}.memory-story{font-size:12pt;line-height:1.7}.home-sheet h1,.memory-sheet h1{font-size:26pt}.home-sheet h2{font-size:17pt;break-after:avoid}.home-sheet section,.home-steps li{break-inside:avoid}.memory-signature{font-size:10pt}.home-meta span,.home-before{background:#f3f3ec}.home-card,.memory-tile{box-shadow:none;transform:none}}
.home-card,.home-sheet,.memory-prompt{min-width:0;overflow-wrap:anywhere}
/* La cabane des jeux : de grandes cibles, des choix lisibles et du temps pour essayer. */
.hub-link.games{background:#f5dea0}.free-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:25px 0 40px}.free-tile{position:relative;text-align:left;color:var(--ink);font:inherit;background:#e8eddc;border:1px solid #c4ceb7;border-radius:28px;padding:28px;cursor:pointer;box-shadow:0 6px 0 #294c3e0c;transition:transform .15s,box-shadow .15s}.free-tile:hover{transform:translateY(-4px);box-shadow:0 10px 0 #294c3e0c}.free-color-1{background:#e1edef}.free-color-2{background:#fae3b2}.free-color-3{background:#f5e3d9}.free-tile .eyebrow{display:block;font-size:.75rem;margin:18px 0 8px}.free-tile h2{font-size:1.65rem;line-height:1.16;margin:0 0 12px}.free-tile p{font-size:1rem;line-height:1.5}.free-tile strong{display:block;margin-top:24px}.free-symbol{display:block;font-size:3rem}.free-game{max-width:1050px;margin:auto}.free-play h1{font-size:clamp(2rem,5vw,3.7rem)}.free-prompt{font-size:1.5rem!important;line-height:1.35;margin-top:30px}.free-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.free-choice{display:flex;align-items:center;gap:12px;background:#fffdf7;border:2px solid #c5cfb7;border-radius:18px;padding:18px;cursor:pointer;line-height:1.3}.free-choice:has(input:checked){background:#fff0c6;border-color:#315845}.free-choice input{width:22px;height:22px;flex-shrink:0;accent-color:#285b45}.free-object{font-size:2rem}.free-feedback:not(:empty){margin:20px 0;padding:20px;border-left:4px solid #b78c32;background:#fff0ce;border-radius:0 16px 16px 0;line-height:1.65}.free-matches{display:grid;gap:16px;margin:25px 0}.free-match{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center;border:1px solid #c6ceb9;border-radius:18px;padding:18px;background:#fffdf7}.free-match select{width:100%;min-height:48px;border:1px solid #96aa8b;border-radius:10px;padding:10px;background:white;color:var(--ink);font:inherit}.free-match small{grid-column:1/-1;line-height:1.5}.free-ending{background:#edf1e2;border-radius:24px;padding:28px;margin:24px 0}.free-story,.free-script{padding:22px;border-radius:18px;background:#fff2d4;line-height:1.65}.free-scene{position:relative;aspect-ratio:900/470;overflow:hidden;border:2px solid #a6be9a;border-radius:26px;margin:25px 0}.free-scene svg{display:block;width:100%;height:100%}.free-hotspot{position:absolute;transform:translate(-50%,-50%);font:inherit;border:2px solid transparent;border-radius:16px;background:#fffdf7e8;color:#214e3e;cursor:pointer;padding:6px 10px;min-width:48px;max-width:30%}.free-hotspot span{display:block;font-size:clamp(1.5rem,4vw,2.6rem)}.free-hotspot small{display:block;font-size:.7rem;line-height:1.2}.free-hotspot.found{border-color:#285b45;background:#f7e59f}.free-hotspot.found::after{content:'✓';position:absolute;right:-5px;top:-9px;background:#285b45;color:white;border-radius:50%;width:24px;height:24px}.free-listen{text-align:center;font-size:5rem;background:#e5eddf;border-radius:25px;padding:10px}.free-clue{background:#fff0ce;padding:20px;border-radius:18px}.free-play [hidden]{display:none!important}.free-play button:focus-visible,.free-tile:focus-visible,.free-choice:focus-within,.free-match select:focus-visible{outline:3px solid #315845;outline-offset:4px}
@media(max-width:950px){.free-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.free-grid,.free-options{grid-template-columns:1fr}.free-tile{padding:22px}.free-match{grid-template-columns:1fr}.free-scene{aspect-ratio:1.15}.free-scene svg{position:absolute;object-fit:cover}.free-hotspot small{font-size:.65rem}.free-hotspot{padding:5px;max-width:32%}.free-ending{padding:18px}}
@media(prefers-reduced-motion:reduce){.free-tile{transition:none}.free-tile:hover{transform:none}}
@media print{.free-game>.back,.free-game>.mode-controls,.free-game .actions,.free-game .note,.free-game .mode-current,.free-game .mode-choices{display:none!important}.free-game,.free-play{max-width:none;box-shadow:none;border:0}.free-ending{background:white}.free-script{break-inside:avoid}}

.free-tile,.free-choice,.free-match,.free-feedback,.free-hotspot{overflow-wrap:anywhere}
